@e-burgos/tucu-ui 2.0.7 → 2.0.9
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 +93 -0
- package/README.md +27 -4
- package/components/cards/card-container.d.ts +1 -1
- package/components/cards/color-card.d.ts +20 -0
- package/components/cards/feature-card.d.ts +23 -0
- package/components/cards/index.d.ts +2 -0
- package/components/dialog/drawer-container.d.ts +2 -1
- package/components/dialog/modal.d.ts +1 -0
- package/components/dialog/sidebar-menu.d.ts +2 -1
- package/components/dialog/sidebar.d.ts +2 -1
- package/components/index.d.ts +1 -0
- package/components/inputs/file-input.d.ts +3 -0
- package/components/inputs/helpers/control-colors.d.ts +13 -0
- package/components/inputs/helpers/control-sizes.d.ts +2 -0
- package/components/inputs/input-searcher.d.ts +6 -2
- package/components/inputs/input.d.ts +6 -1
- package/components/inputs/pin-code.d.ts +2 -25
- package/components/inputs/radio-group.d.ts +1 -1
- package/components/inputs/radio.d.ts +3 -0
- package/components/inputs/select.d.ts +5 -1
- package/components/inputs/switch.d.ts +2 -0
- package/components/inputs/textarea.d.ts +4 -0
- package/components/inputs/toggle-bar.d.ts +3 -1
- package/components/layouts/index.d.ts +1 -0
- package/components/layouts/macos-layout/index.d.ts +19 -0
- package/components/layouts/macos-layout/macos-sonoma-layout.d.ts +14 -0
- package/components/layouts/macos-layout/macos-tahoe-dock-layout.d.ts +14 -0
- package/components/layouts/macos-layout/macos-tahoe-layout.d.ts +14 -0
- package/components/layouts/macos-layout/utils.d.ts +3 -0
- package/components/macos/index.d.ts +2 -0
- package/components/macos/sonoma/containers/sidebar.d.ts +22 -0
- package/components/macos/sonoma/containers/widget.d.ts +17 -0
- package/components/macos/sonoma/containers/window.d.ts +26 -0
- package/components/macos/sonoma/controls/search-bar.d.ts +12 -0
- package/components/macos/sonoma/controls/segmented-control.d.ts +16 -0
- package/components/macos/sonoma/controls/types.d.ts +10 -0
- package/components/macos/sonoma/feedback/command-palette.d.ts +20 -0
- package/components/macos/sonoma/feedback/macos-sonoma-toast.d.ts +2 -0
- package/components/macos/sonoma/feedback/notification-banner.d.ts +17 -0
- package/components/macos/sonoma/feedback/popover.d.ts +22 -0
- package/components/macos/sonoma/index.d.ts +13 -0
- package/components/macos/sonoma/layout/layout-content-sonoma.d.ts +15 -0
- package/components/macos/sonoma/layout/layout-sidebar-sonoma.d.ts +10 -0
- package/components/macos/sonoma/layout/toolbar-sonoma.d.ts +6 -0
- package/components/macos/tahoe/containers/dialog-tahoe.d.ts +21 -0
- package/components/macos/tahoe/containers/widget-tahoe.d.ts +15 -0
- package/components/macos/tahoe/containers/window-tahoe.d.ts +36 -0
- package/components/macos/tahoe/controls/macos-tahoe-toast.d.ts +2 -0
- package/components/macos/tahoe/controls/notification-banner-tahoe.d.ts +17 -0
- package/components/macos/tahoe/controls/progress-bar-tahoe.d.ts +10 -0
- package/components/macos/tahoe/controls/search-bar-tahoe.d.ts +12 -0
- package/components/macos/tahoe/controls/segmented-control-tahoe.d.ts +16 -0
- package/components/macos/tahoe/controls/types.d.ts +10 -0
- package/components/macos/tahoe/feedback/command-palette-tahoe.d.ts +18 -0
- package/components/macos/tahoe/feedback/popover-tahoe.d.ts +22 -0
- package/components/macos/tahoe/foundations/background.d.ts +23 -0
- package/components/macos/tahoe/index.d.ts +15 -0
- package/components/macos/tahoe/layout/dock-tahoe.d.ts +27 -0
- package/components/macos/tahoe/layout/layout-content-tahoe.d.ts +17 -0
- package/components/macos/tahoe/layout/layout-sidebar-tahoe.d.ts +13 -0
- package/components/macos/tahoe/layout/toolbar-tahoe.d.ts +5 -0
- package/components/table/basic-table.d.ts +4 -1
- package/demo/components/dynamic-sections-page.d.ts +2 -0
- package/demo/components/prop-playground.d.ts +13 -0
- package/demo/components/table-of-contents/index.d.ts +5 -0
- package/demo/components/table-of-contents/toc-default.d.ts +3 -0
- package/demo/components/table-of-contents/toc-sonoma.d.ts +3 -0
- package/demo/components/table-of-contents/toc-tahoe.d.ts +3 -0
- package/demo/components/{table-of-contents.d.ts → table-of-contents/types.d.ts} +1 -4
- package/demo/components/table-of-contents/use-toc.d.ts +26 -0
- package/demo/generated/props-metadata.d.ts +2 -2
- package/demo/pages/index.d.ts +3 -0
- package/demo/pages/macos/MacOSShowcase.d.ts +2 -0
- package/demo/pages/macos/MacOSSonomaShowcase.d.ts +2 -0
- package/demo/pages/macos/MacOSTahoeShowcase.d.ts +2 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSCommandPaletteSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSNotificationBannerSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSPopoverSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSSearchBarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSSegmentedControlSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSSidebarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSToolbarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSWidgetSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/MacOSWindowSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/SonomaColorsSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/SonomaLayoutContentSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/SonomaLayoutSidebarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/SonomaMaterialsSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/SonomaShapesSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/sonoma/SonomaTypographySection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/MacOSBackgroundsSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/MacOSColorsSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/MacOSMaterialsSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/MacOSTahoeSection.d.ts +2 -0
- package/demo/pages/macos/macos-sections/tahoe/MacOSTextStylesSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeCommandPaletteSection.d.ts +2 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeDialogSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeDockSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeLayoutContentSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeLayoutSidebarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeNotificationBannerSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoePopoverSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeProgressBarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeSearchBarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeSegmentedControlSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeToolbarSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeWidgetSection.d.ts +3 -0
- package/demo/pages/macos/macos-sections/tahoe/TahoeWindowSection.d.ts +3 -0
- package/documentation/APIReferenceSection-DNlAQ8GG.js +1 -0
- package/documentation/APIReferenceSection-DQ9eEJU3.js +213 -0
- package/documentation/ActiveLinkSection-ClQ5IBOo.js +23 -0
- package/documentation/{ActiveLinkSection-DCvjUbXP.js → ActiveLinkSection-ZQgU44Mo.js} +26 -28
- package/documentation/AdvancedColorSystemSection-BT-UpUVF.js +181 -0
- package/documentation/AdvancedColorSystemSection-D-6qlD3s.js +17 -0
- package/documentation/AdvancedFeaturesSection-B5wK85Bl.js +117 -0
- package/documentation/AdvancedFeaturesSection-D2ZWLXY5.js +32 -0
- package/documentation/AdvancedFeaturesSection-mbP5hR-H.js +70 -0
- package/documentation/AdvancedFeaturesSection-mfiPnKVY.js +1 -0
- package/documentation/AlertSection-BBto0fHS.js +96 -0
- package/documentation/AlertSection-D4Gq9upX.js +26 -0
- package/documentation/AnchorLinkSection-DSCjeuS9.js +65 -0
- package/documentation/AnchorLinkSection-k40j2vM0.js +20 -0
- package/documentation/ArchitecturalPatternsComparisonSection-DesoQ7S_.js +34 -0
- package/documentation/ArchitecturalPatternsComparisonSection-Doa_MJjU.js +180 -0
- package/documentation/ArchitectureOverviewSection-Cu_PStpk.js +1 -0
- package/documentation/ArchitectureOverviewSection-DUkNwRmR.js +210 -0
- package/documentation/AreaChartSection-BDVO57jx.js +22 -0
- package/documentation/{AreaChartSection-CtMlVnBa.js → AreaChartSection-C4ruqExr.js} +5 -5
- package/documentation/AuthorCardSection-DpUU5KDU.js +18 -0
- package/documentation/AuthorCardSection-cB8Liia6.js +79 -0
- package/documentation/AvatarSection-DZCiBPX4.js +19 -0
- package/documentation/AvatarSection-DpUjg_yW.js +89 -0
- package/documentation/BadgeSection-B7mtSvQv.js +49 -0
- package/documentation/{BadgeSection-Oua60cg8.js → BadgeSection-Cteg--jV.js} +29 -31
- package/documentation/BarChartSection-Clrho1um.js +23 -0
- package/documentation/{BarChartSection-DHblj4e5.js → BarChartSection-rkETKOO2.js} +13 -13
- package/documentation/BasicTableSection-7S3mV6WL.js +133 -0
- package/documentation/BasicTableSection-Cf3FcRGV.js +36 -0
- package/documentation/BasicUsageSection-C04Vk4Xo.js +45 -0
- package/documentation/BasicUsageSection-D_OADsjB.js +147 -0
- package/documentation/{BestPracticesSection-CScYzan3.js → BestPracticesSection-41CW61J-.js} +18 -10
- package/documentation/BestPracticesSection-4oonl6Xs.js +61 -0
- package/documentation/BestPracticesSection-BJUyOw5K.js +79 -0
- package/documentation/BestPracticesSection-BiznpoaJ.js +151 -0
- package/documentation/BestPracticesSection-BklrYpDV.js +1 -0
- package/documentation/BestPracticesSection-Bnccg1L-.js +151 -0
- package/documentation/BestPracticesSection-C7p3sqSS.js +1 -0
- package/documentation/BestPracticesSection-C8R3e6wG.js +1 -0
- package/documentation/BestPracticesSection-CCTlvAEc.js +1 -0
- package/documentation/BestPracticesSection-CGBKNc2j.js +34 -0
- package/documentation/BestPracticesSection-CNwUYNOW.js +1 -0
- package/documentation/BestPracticesSection-DL24k5DX.js +153 -0
- package/documentation/BestPracticesSection-hs6vGhuu.js +137 -0
- package/documentation/BestPracticesSection-wKpFsyId.js +1 -0
- package/documentation/BorderRadiusSection-CY90awsm.js +1 -0
- package/documentation/BorderRadiusSection-CgppX9KI.js +58 -0
- package/documentation/ButtonDripSection-BQkw59yH.js +21 -0
- package/documentation/{ButtonDripSection-gvZxhX8G.js → ButtonDripSection-D8zkJ-6j.js} +29 -32
- package/documentation/ButtonLoaderSection-B5XP49FM.js +153 -0
- package/documentation/ButtonLoaderSection-CjGBMNiM.js +31 -0
- package/documentation/CardContainerSection-DcioQ7uD.js +61 -0
- package/documentation/CardContainerSection-DfKrRKR1.js +22 -0
- package/documentation/CardSection-By7KZdmx.js +26 -0
- package/documentation/{CardSection-Ck8jyp7W.js → CardSection-C6FmBvSW.js} +45 -34
- package/documentation/CardTitleSection-Cwlv3Iuv.js +72 -0
- package/documentation/CardTitleSection-JuseDFmx.js +20 -0
- package/documentation/CarouselCardsSection-HwS5Pilj.js +174 -0
- package/documentation/CarouselCardsSection-t54tXA0y.js +38 -0
- package/documentation/CarouselImageSection-DxcOoLwL.js +39 -0
- package/documentation/CarouselImageSection-yRgXBEHG.js +179 -0
- package/documentation/CarouselSection-DVkA2Zts.js +25 -0
- package/documentation/CarouselSection-Dyv4W4kt.js +123 -0
- package/documentation/CheckboxSection-CFyl2-Lg.js +175 -0
- package/documentation/CheckboxSection-Cm9sabKa.js +29 -0
- package/documentation/CodeExamplesSection-D4BjomLZ.js +68 -0
- package/documentation/CodeExamplesSection-ZevLOjfL.js +134 -0
- package/documentation/CoinCardSection-BP75BKln.js +13 -0
- package/documentation/{CoinCardSection-KLQiaGeE.js → CoinCardSection-DWe-P9aE.js} +69 -33
- package/documentation/{CoinInfoCardSection-IUrgp0GD.js → CoinInfoCardSection-CHd_B21e.js} +62 -34
- package/documentation/CoinInfoCardSection-Cp5dwucx.js +12 -0
- package/documentation/CoinListBoxSection-CFTwACjZ.js +24 -0
- package/documentation/CoinListBoxSection-CgQPCN1-.js +129 -0
- package/documentation/CollapseSection-BObnZGBa.js +28 -0
- package/documentation/{CollapseSection-TYKE7WSj.js → CollapseSection-DV4iEoTo.js} +30 -32
- package/documentation/CollectionCardSection-Cl5rgWzn.js +17 -0
- package/documentation/{CollectionCardSection-BzUVxmJq.js → CollectionCardSection-V2vYAGul.js} +47 -29
- package/documentation/CollectionSelectListSection-CW5Wwg5e.js +149 -0
- package/documentation/CollectionSelectListSection-l-apJPKq.js +15 -0
- package/documentation/ColorCustomizationSection-Cb8PEuks.js +1 -0
- package/documentation/ColorCustomizationSection-v0OWFiFx.js +129 -0
- package/documentation/ColorSystemSection-CduyyhhZ.js +263 -0
- package/documentation/ColorSystemSection-D8sZHXAT.js +1 -0
- package/documentation/CommonErrorsSection-8pIQ5P0f.js +77 -0
- package/documentation/CommonErrorsSection-CPIUNSdZ.js +1 -0
- package/documentation/ComponentAnatomySection-B_3X6zAV.js +1 -0
- package/documentation/ComponentAnatomySection-D9CJ7NKe.js +78 -0
- package/documentation/ComponentStatusSection-BPM9MaGx.js +1 -0
- package/documentation/ComponentStatusSection-DckFRSjC.js +148 -0
- package/documentation/ComposedChartSection-DgidskHN.js +21 -0
- package/documentation/{ComposedChartSection-CgHQ-PQM.js → ComposedChartSection-Dx2m0rSy.js} +10 -10
- package/documentation/CurrencySwapIconsSection-DZab3CRP.js +7 -0
- package/documentation/CurrencySwapIconsSection-u7r7QNnv.js +73 -0
- package/documentation/CustomColorPaletteSection-BgsWYeFi.js +19 -0
- package/documentation/CustomColorPaletteSection-pjhXRzh7.js +74 -0
- package/documentation/CustomIconsSection-8d02BzFW.js +172 -0
- package/documentation/CustomIconsSection-DVTQjvmK.js +3 -0
- package/documentation/DefiAppLogoSection-BloxEw2r.js +132 -0
- package/documentation/DefiAppLogoSection-DeVkbZnS.js +38 -0
- package/documentation/DesignPrinciplesSection-AGfHYdRQ.js +1 -0
- package/documentation/DesignPrinciplesSection-DnXrx_3r.js +68 -0
- package/documentation/DrawerSection-0xOnVMih.js +42 -0
- package/documentation/{DrawerSection-OBUS8hGb.js → DrawerSection-C5umOiTH.js} +44 -47
- package/documentation/DynamicRoutesSection-CplA4H_-.js +112 -0
- package/documentation/DynamicRoutesSection-D9cAVioz.js +47 -0
- package/documentation/FileInputSection-DYnf_T8n.js +237 -0
- package/documentation/FileInputSection-DiFwCplu.js +73 -0
- package/documentation/{FileStructureSection-BJ4M4SK6.js → FileStructureSection-C7CT7MLA.js} +42 -28
- package/documentation/FileStructureSection-qyFRzFR7.js +26 -0
- package/documentation/FormComponentsSection-BGNG7LT5.js +1 -0
- package/documentation/FormComponentsSection-D8FXeYch.js +148 -0
- package/documentation/FormMethodsSection-D7QrdOOf.js +53 -0
- package/documentation/FormMethodsSection-KJIlWtlf.js +194 -0
- package/documentation/HamburgerSection-1Co0vSYI.js +19 -0
- package/documentation/{HamburgerSection-BdHt6rmR.js → HamburgerSection-B4QTD7QB.js} +27 -29
- package/documentation/HookCategoriesSection-BgTUwS4d.js +119 -0
- package/documentation/HookCategoriesSection-DT7PsLf5.js +1 -0
- package/documentation/HookDocumentationSection-B7eGJAtC.js +474 -0
- package/documentation/HookDocumentationSection-Dm5vp60W.js +100 -0
- package/documentation/HookFeaturesSection-C_CfuHPq.js +70 -0
- package/documentation/HookFeaturesSection-XWh6oPJo.js +1 -0
- package/documentation/IconArchitectureSection-2pqGfRWh.js +11 -0
- package/documentation/IconArchitectureSection-Cyft-9ck.js +145 -0
- package/documentation/IconSizingGuideSection-D0WIGnpi.js +1 -0
- package/documentation/IconSizingGuideSection-DWP8TfCJ.js +118 -0
- package/documentation/IconSystemAPISection-BafhVMj8.js +138 -0
- package/documentation/IconSystemAPISection-BykSbNfn.js +1 -0
- package/documentation/IconSystemBenefitsSection-D-Z8n3yK.js +1 -0
- package/documentation/IconSystemBenefitsSection-DnPy73uB.js +120 -0
- package/documentation/{ImageSection-CioWvJ8h.js → ImageSection-BDC-XBOn.js} +17 -18
- package/documentation/ImageSection-C1nOKmH2.js +82 -0
- package/documentation/ImplementationExamplesSection-Cxl08TTf.js +305 -0
- package/documentation/{ImplementationExamplesSection-H0mF5teZ.js → ImplementationExamplesSection-mHJwxbf_.js} +9 -9
- package/documentation/ImplementationGuidelinesSection-Bmt5UnLA.js +144 -0
- package/documentation/ImplementationGuidelinesSection-C0DtOFA3.js +1 -0
- package/documentation/ImplementationStatusSection-C59DZ2XS.js +62 -0
- package/documentation/ImplementationStatusSection-gIxBd7m5.js +1 -0
- package/documentation/ImplementedFeaturesSection-1l8t4Nij.js +70 -0
- package/documentation/ImplementedFeaturesSection-BwktoGqA.js +1 -0
- package/documentation/InfoCardSection-BcXFWEjI.js +38 -0
- package/documentation/{InfoCardSection-DVeC3my3.js → InfoCardSection-DtgYtueH.js} +54 -31
- package/documentation/InputSearcherSection-DD2KwzOG.js +267 -0
- package/documentation/InputSearcherSection-DMtIqnZm.js +45 -0
- package/documentation/InputSection-DAQlSKNm.js +280 -0
- package/documentation/InputSection-WnlrF_LD.js +50 -0
- package/documentation/KeyValueRowSection-BjXEg9g3.js +117 -0
- package/documentation/KeyValueRowSection-Ctph5iO5.js +17 -0
- package/documentation/KeyboardNavigationSection-BcQUUxeW.js +130 -0
- package/documentation/KeyboardNavigationSection-BgP2RBJx.js +27 -0
- package/documentation/LayoutPrinciplesSection-CZE5j4TD.js +1 -0
- package/documentation/LayoutPrinciplesSection-DZgjhU-5.js +148 -0
- package/documentation/{LayoutTypesSection-CteLUamr.js → LayoutTypesSection-847E1FZA.js} +44 -43
- package/documentation/LayoutTypesSection-hnxHeuA2.js +1 -0
- package/documentation/LineChartSection-BFVXYiK4.js +21 -0
- package/documentation/{LineChartSection-D0_UlV1y.js → LineChartSection-CLKCstC7.js} +7 -7
- package/documentation/ListContainerSection-D5k1iNKV.js +153 -0
- package/documentation/ListContainerSection-rSWVVjfW.js +39 -0
- package/documentation/ListItemSection-Bwr8NH-L.js +37 -0
- package/documentation/{ListItemSection-CSGZ02bM.js → ListItemSection-CU785nZa.js} +29 -31
- package/documentation/LiveDemoSection-B5j1ZGtq.js +1 -0
- package/documentation/LiveDemoSection-BHq8HDj_.js +56 -0
- package/documentation/LiveDemonstrationsSection-B5iutGu_.js +539 -0
- package/documentation/LiveDemonstrationsSection-CSSKZrex.js +28 -0
- package/documentation/LivePriceFeedSection-CguTUwPn.js +143 -0
- package/documentation/LivePriceFeedSection-Ie3MtK5B.js +20 -0
- package/documentation/LoaderSection-CFIf6Cwz.js +23 -0
- package/documentation/LoaderSection-wo7VqH01.js +96 -0
- package/documentation/{LogoSection-cA1-d0HZ.js → LogoSection-D2o5z1v0.js} +17 -19
- package/documentation/LogoSection-D53DSw6e.js +101 -0
- package/documentation/LucideIconsSection-BGhOfZ2S.js +169 -0
- package/documentation/LucideIconsSection-BmFnUvOo.js +1 -0
- package/documentation/MFESupportSection-BfZN1ruk.js +218 -0
- package/documentation/MFESupportSection-BsWrFr8n.js +97 -0
- package/documentation/MacOSBackgroundsSection-5FwRmwSt.js +290 -0
- package/documentation/MacOSBackgroundsSection-c6o8Zwj8.js +1 -0
- package/documentation/MacOSColorsSection-VDHMUov0.js +1 -0
- package/documentation/MacOSColorsSection-YEtkXtT9.js +305 -0
- package/documentation/MacOSCommandPaletteSection-BNpF6qM7.js +33 -0
- package/documentation/MacOSCommandPaletteSection-WanBDypB.js +143 -0
- package/documentation/MacOSMaterialsSection-CL8WKiWl.js +280 -0
- package/documentation/MacOSMaterialsSection-DEKSWeUb.js +1 -0
- package/documentation/MacOSNotificationBannerSection-CccD5Lyx.js +169 -0
- package/documentation/MacOSNotificationBannerSection-DCtVh4mP.js +25 -0
- package/documentation/MacOSPopoverSection-4bHoomAo.js +33 -0
- package/documentation/MacOSPopoverSection-Ct-lBd1V.js +171 -0
- package/documentation/MacOSSearchBarSection-DNHmkSQF.js +17 -0
- package/documentation/MacOSSearchBarSection-DruORVTc.js +108 -0
- package/documentation/MacOSSegmentedControlSection-BFuSzzal.js +138 -0
- package/documentation/MacOSSegmentedControlSection-D5ZpMdGL.js +19 -0
- package/documentation/MacOSSidebarSection-D0DT2x5w.js +177 -0
- package/documentation/MacOSSidebarSection-DDGdU_Wr.js +35 -0
- package/documentation/MacOSTahoeSection-DKtgrult.js +98 -0
- package/documentation/MacOSTahoeSection-ErqFjWX4.js +1 -0
- package/documentation/MacOSTextStylesSection-B4xYNfLo.js +362 -0
- package/documentation/MacOSTextStylesSection-DL6rw2CK.js +1 -0
- package/documentation/MacOSToolbarSection-BUSdw1-N.js +100 -0
- package/documentation/MacOSToolbarSection-GwXI_HM0.js +23 -0
- package/documentation/MacOSWidgetSection-B2c5Jiqb.js +107 -0
- package/documentation/MacOSWidgetSection-BEuuPDcI.js +19 -0
- package/documentation/MacOSWindowSection-CJSekAJj.js +237 -0
- package/documentation/MacOSWindowSection-ChLGxWkJ.js +22 -0
- package/documentation/{MenuItemsGuideSection-BEfxqfd9.js → MenuItemsGuideSection-3rCQXRbI.js} +54 -28
- package/documentation/{MenuItemsGuideSection-CfznmIHZ.js → MenuItemsGuideSection-CW7znzf9.js} +2 -2
- package/documentation/ModalSection-B4Ay5tMm.js +30 -0
- package/documentation/{ModalSection-BVcg_G6k.js → ModalSection-Bm2c0cZ3.js} +40 -42
- package/documentation/NFTGridSection-C167-_5t.js +160 -0
- package/documentation/NFTGridSection-DjfH-Wb_.js +19 -0
- package/documentation/NestedRoutesSection-BQBIMv26.js +39 -0
- package/documentation/NestedRoutesSection-BTIFUyu3.js +120 -0
- package/documentation/{NotificationCardSection-CWTEHVFj.js → NotificationCardSection-Dc9k9m0z.js} +25 -27
- package/documentation/NotificationCardSection-fW5poNpt.js +29 -0
- package/documentation/PaginationSection-Chxlsiar.js +19 -0
- package/documentation/{PaginationSection-CXoO7Tqy.js → PaginationSection-Dkozx1NR.js} +45 -32
- package/documentation/{PanelActionCardSection-DUUgo6Og.js → PanelActionCardSection-CrHET2qr.js} +15 -17
- package/documentation/PanelActionCardSection-DH2lDA1v.js +29 -0
- package/documentation/PanelCardSection-4huN71a_.js +16 -0
- package/documentation/{PanelCardSection-DIHreAsZ.js → PanelCardSection-Cxgvd7E9.js} +14 -16
- package/documentation/{ParamTabSection-CsAlq-vR.js → ParamTabSection-CnjtpMbJ.js} +59 -36
- package/documentation/ParamTabSection-hI9LkIIz.js +94 -0
- package/documentation/{PieChartSection-D6mEMs7Q.js → PieChartSection-CE8jY8sm.js} +14 -14
- package/documentation/PieChartSection-pR0IxyX_.js +19 -0
- package/documentation/PinCodeSection-LjDbYnRA.js +32 -0
- package/documentation/PinCodeSection-oizvSnHW.js +235 -0
- package/documentation/ProgressbarSection-BMNMHb6k.js +22 -0
- package/documentation/ProgressbarSection-DLvuQRqH.js +142 -0
- package/documentation/RadarChartSection-DHx5xzix.js +21 -0
- package/documentation/{RadarChartSection-it0GwAMZ.js → RadarChartSection-GP1TRYs5.js} +7 -7
- package/documentation/RadioGroupSection-C0qbZCEy.js +269 -0
- package/documentation/RadioGroupSection-Dnu2rhAj.js +37 -0
- package/documentation/RadioSection-DWy0dsvZ.js +27 -0
- package/documentation/RadioSection-rHrHsIha.js +183 -0
- package/documentation/{RevealContentSection-Bts-6Rko.js → RevealContentSection-B7d6jZ3X.js} +14 -17
- package/documentation/RevealContentSection-DFeDG75P.js +21 -0
- package/documentation/RouteConfigurationSection-DdJ4tMwr.js +88 -0
- package/documentation/RouteConfigurationSection-Dj3ufwLr.js +42 -0
- package/documentation/ScrollToTopSection-BzOG4wgw.js +38 -0
- package/documentation/ScrollToTopSection-JmnQvioT.js +141 -0
- package/documentation/ScrollbarSection-C0IIJ90W.js +30 -0
- package/documentation/{ScrollbarSection-BpAYMy71.js → ScrollbarSection-DNOAHiAh.js} +25 -27
- package/documentation/SelectSection-CYx0EZJX.js +346 -0
- package/documentation/SelectSection-DupPSBKF.js +52 -0
- package/documentation/SettingsPanelSection-GhZ66ZdG.js +139 -0
- package/documentation/SettingsPanelSection-legHUhoT.js +1 -0
- package/documentation/ShadowsSection-kJV-ttft.js +101 -0
- package/documentation/ShadowsSection-qjRGL4vP.js +1 -0
- package/documentation/SidebarMenuSection-CQunF-oM.js +47 -0
- package/documentation/SidebarMenuSection-Co9XzZgf.js +108 -0
- package/documentation/SidebarSection-BTlba2fa.js +70 -0
- package/documentation/SidebarSection-CpNHqxdM.js +26 -0
- package/documentation/SizingSection-D9czoO1Z.js +1 -0
- package/documentation/SizingSection-DZRyEWJJ.js +97 -0
- package/documentation/{SkeletonSection-C9aIHnTu.js → SkeletonSection-BQKerqPH.js} +79 -81
- package/documentation/SkeletonSection-DbSYqbHd.js +53 -0
- package/documentation/SonomaColorsSection-B7L_UMjk.js +1 -0
- package/documentation/SonomaColorsSection-BqkMh28_.js +388 -0
- package/documentation/SonomaLayoutContentSection-BaASk6kp.js +16 -0
- package/documentation/SonomaLayoutContentSection-DFQgh479.js +67 -0
- package/documentation/SonomaLayoutSidebarSection-CZ5rM-MM.js +96 -0
- package/documentation/SonomaLayoutSidebarSection-DeT7y6e9.js +27 -0
- package/documentation/SonomaMaterialsSection-B7ttrkPV.js +9 -0
- package/documentation/SonomaMaterialsSection-BYnpWwWt.js +334 -0
- package/documentation/SonomaShapesSection-C17AoE2N.js +10 -0
- package/documentation/SonomaShapesSection-OlLezJRJ.js +482 -0
- package/documentation/SonomaTypographySection-BXzAkRPA.js +388 -0
- package/documentation/SonomaTypographySection-C7bSKgHl.js +1 -0
- package/documentation/SpacingSystemSection-RdnzjpSK.js +1 -0
- package/documentation/{SpacingSystemSection-BKr7Htp3.js → SpacingSystemSection-rDylj_Un.js} +23 -26
- package/documentation/SpinnerSection-BTEupT8d.js +78 -0
- package/documentation/SpinnerSection-C2SLIBWN.js +18 -0
- package/documentation/StandaloneAppSection-BVoGM1bD.js +71 -0
- package/documentation/StandaloneAppSection-uFMN1K6i.js +178 -0
- package/documentation/StepperSection-BWUQ_trS.js +29 -0
- package/documentation/{StepperSection-BDCZY0X7.js → StepperSection-BgQQn9Q3.js} +66 -46
- package/documentation/SwitchSection-CQo06YWs.js +223 -0
- package/documentation/SwitchSection-D-6X3w3o.js +28 -0
- package/documentation/SystemOverviewSection-BNhzrT6U.js +1 -0
- package/documentation/SystemOverviewSection-Bc602IQG.js +58 -0
- package/documentation/TabModalSection-D7XCTFKs.js +52 -0
- package/documentation/{TabModalSection-RfCWr-Nn.js → TabModalSection-dg7LGi0f.js} +55 -31
- package/documentation/TabSection-DPBrpBDN.js +85 -0
- package/documentation/{TabSection-dsMwz13E.js → TabSection-DnD_Te-M.js} +71 -49
- package/documentation/{TabSelectSection-Bvb7eunu.js → TabSelectSection-Cs-fzdRm.js} +90 -60
- package/documentation/TabSelectSection-jn_HenZM.js +102 -0
- package/documentation/TahoeCommandPaletteSection-Bs1enphA.js +21 -0
- package/documentation/TahoeCommandPaletteSection-ClvMCVUp.js +217 -0
- package/documentation/TahoeDialogSection-Bzn59FfH.js +228 -0
- package/documentation/TahoeDialogSection-LvFsaPNL.js +22 -0
- package/documentation/TahoeDockSection-CE4XVjge.js +29 -0
- package/documentation/TahoeDockSection-g1Jh1rVL.js +228 -0
- package/documentation/TahoeLayoutContentSection-B1bj_svL.js +17 -0
- package/documentation/TahoeLayoutContentSection-DGwHsEUK.js +68 -0
- package/documentation/TahoeLayoutSidebarSection-Cxx0NWOi.js +36 -0
- package/documentation/TahoeLayoutSidebarSection-pdzlnLJM.js +114 -0
- package/documentation/TahoeNotificationBannerSection-CHvq-2oK.js +22 -0
- package/documentation/TahoeNotificationBannerSection-DhskVUvC.js +144 -0
- package/documentation/TahoePopoverSection-C8iVtmgr.js +24 -0
- package/documentation/TahoePopoverSection-DF-k50xc.js +220 -0
- package/documentation/TahoeProgressBarSection-BSjAa0mD.js +124 -0
- package/documentation/TahoeProgressBarSection-Clt50U44.js +16 -0
- package/documentation/TahoeSearchBarSection-6TwJoFIv.js +10 -0
- package/documentation/TahoeSearchBarSection-BGwmcq39.js +117 -0
- package/documentation/TahoeSegmentedControlSection-C2tTySf8.js +178 -0
- package/documentation/TahoeSegmentedControlSection-gNZlSqSs.js +12 -0
- package/documentation/TahoeToolbarSection-B_mWA-L_.js +17 -0
- package/documentation/TahoeToolbarSection-CndSLUyc.js +81 -0
- package/documentation/TahoeWidgetSection-CxG_Uvly.js +13 -0
- package/documentation/TahoeWidgetSection-DvFhIsO1.js +121 -0
- package/documentation/TahoeWindowSection-CA5hMRQS.js +289 -0
- package/documentation/TahoeWindowSection-Dlt40eFZ.js +24 -0
- package/documentation/TailwindConfigSection-BOdIg9p4.js +23 -0
- package/documentation/TailwindConfigSection-DTEVHxfY.js +128 -0
- package/documentation/TestingSection-p_a3TLFg.js +150 -0
- package/documentation/TestingSection-sjNf_YR6.js +36 -0
- package/documentation/TextareaSection-B7E_PE99.js +34 -0
- package/documentation/TextareaSection-CD-kZuGl.js +258 -0
- package/documentation/ThemeArchitectureSection-CJLVZw1o.js +141 -0
- package/documentation/ThemeArchitectureSection-DTZZ9DW8.js +25 -0
- package/documentation/ThemeConfigurationSection-66D5XJGb.js +1 -0
- package/documentation/ThemeConfigurationSection-DKcO1n8f.js +139 -0
- package/documentation/ThemeHooksSection-D5hs4bKp.js +154 -0
- package/documentation/ThemeHooksSection-nIFp-F0q.js +1 -0
- package/documentation/ThemeProviderIntegrationSection-T1FvNpOT.js +122 -0
- package/documentation/ThemeProviderIntegrationSection-hBvjgSG1.js +73 -0
- package/documentation/{ThemeProviderRequiredSection-DqP08VHV.js → ThemeProviderRequiredSection-03ZYoeWQ.js} +34 -15
- package/documentation/ThemeProviderRequiredSection-MqNAwToF.js +1 -0
- package/documentation/ThemeProviderSection-FaRMSgB9.js +1 -0
- package/documentation/ThemeProviderSection-nIdNlZjq.js +143 -0
- package/documentation/{ToastSection-DKMWIbdY.js → ToastSection-C3RQpSox.js} +43 -45
- package/documentation/{ToastSection-CHIsWCMb.js → ToastSection-DF3L8jxW.js} +3 -2
- package/documentation/ToggleBarSection-CJmXFlZa.js +45 -0
- package/documentation/ToggleBarSection-D26Mzrf4.js +186 -0
- package/documentation/{TooltipSection-BEHBbMa3.js → TooltipSection-DhfdMLxD.js} +31 -32
- package/documentation/TooltipSection-DugfAWzs.js +64 -0
- package/documentation/TopupButtonSection-6THSaEvz.js +98 -0
- package/documentation/TopupButtonSection-DO2sCxIV.js +25 -0
- package/documentation/TransactionInfoSection-7ZWdfrbf.js +16 -0
- package/documentation/TransactionInfoSection-BL23o6Ao.js +86 -0
- package/documentation/TucuUiLogoSection-BsYhhz9J.js +85 -0
- package/documentation/TucuUiLogoSection-Dyfblzs7.js +26 -0
- package/documentation/{TypographySection-CS29TD-z.js → TypographySection-BPidPkKl.js} +49 -51
- package/documentation/TypographySection-BVa4hd_u.js +33 -0
- package/documentation/TypographySection-Co79YcZL.js +1 -0
- package/documentation/{TypographySection-BYKjiWVg.js → TypographySection-Ct3zNnpW.js} +101 -39
- package/documentation/UsageExamplesSection-BWDg6OSi.js +84 -0
- package/documentation/UsageExamplesSection-D-ai2y1j.js +150 -0
- package/documentation/UsingThemeSystemSection-D7Wbw8sv.js +164 -0
- package/documentation/UsingThemeSystemSection-Db0Hs67Q.js +106 -0
- package/documentation/ValidationSystemSection-Bqszchd7.js +222 -0
- package/documentation/ValidationSystemSection-CcHCIL8A.js +53 -0
- package/documentation/WCAGPrinciplesSection-BYNqkBJt.js +1 -0
- package/documentation/WCAGPrinciplesSection-DHmT6YQy.js +126 -0
- package/index-BaGqriuz.js +1178 -0
- package/{index-B919yoKU.js → index-lfg6LZ1p.js} +35916 -27770
- package/index.css +1 -1
- package/index.js +1 -1
- package/index.mjs +360 -309
- package/package.json +1 -1
- package/themes/components/settings/index.d.ts +1 -0
- package/themes/components/settings/switch-variant.d.ts +5 -0
- package/themes/components/theme-provider/mfe-app-theme-provider.d.ts +3 -3
- package/themes/components/theme-provider/standalone-app-theme-provider.d.ts +3 -3
- package/themes/components/theme-provider/theme-wrapper.d.ts +21 -3
- package/themes/config/index.d.ts +204 -6
- package/themes/hooks/use-theme.d.ts +8 -1
- package/documentation/APIReferenceSection-DbOW061V.js +0 -1
- package/documentation/APIReferenceSection-Du0MZCoJ.js +0 -142
- package/documentation/ActiveLinkSection-BGpGlMTH.js +0 -22
- package/documentation/AdvancedColorSystemSection-1eETjbou.js +0 -173
- package/documentation/AdvancedColorSystemSection-C_eqsBNI.js +0 -17
- package/documentation/AdvancedFeaturesSection-7lV7C31c.js +0 -1
- package/documentation/AdvancedFeaturesSection-D-Ffzpz3.js +0 -82
- package/documentation/AdvancedFeaturesSection-RfxchAOl.js +0 -1
- package/documentation/AdvancedFeaturesSection-WW45iO-b.js +0 -100
- package/documentation/AlertSection-BOFVhA1g.js +0 -25
- package/documentation/AlertSection-CGWU5jll.js +0 -98
- package/documentation/AnchorLinkSection-BtvgojmR.js +0 -19
- package/documentation/AnchorLinkSection-CuaUyMqx.js +0 -67
- package/documentation/ArchitecturalPatternsComparisonSection-Bya3HmHR.js +0 -325
- package/documentation/ArchitecturalPatternsComparisonSection-Cct4N7m-.js +0 -31
- package/documentation/ArchitectureOverviewSection-CUOtV6ls.js +0 -1
- package/documentation/ArchitectureOverviewSection-DpWx_2Bf.js +0 -88
- package/documentation/AreaChartSection-BiOx_GTY.js +0 -22
- package/documentation/AuthorCardSection-DX0cKXK5.js +0 -81
- package/documentation/AuthorCardSection-oZJrBne3.js +0 -17
- package/documentation/AvatarSection-BF8AHso5.js +0 -91
- package/documentation/AvatarSection-DFZRExPm.js +0 -18
- package/documentation/BadgeSection-Eubi1tsh.js +0 -48
- package/documentation/BarChartSection-FEYjU4KU.js +0 -23
- package/documentation/BasicTableSection-B9bKnLi-.js +0 -103
- package/documentation/BasicTableSection-CusSzdcT.js +0 -35
- package/documentation/BasicUsageSection-BG4Pc9k4.js +0 -103
- package/documentation/BasicUsageSection-DH6UNtI5.js +0 -45
- package/documentation/BestPracticesSection-62DacEXN.js +0 -57
- package/documentation/BestPracticesSection-BKjhJ7SP.js +0 -1
- package/documentation/BestPracticesSection-BPJ8cXNQ.js +0 -49
- package/documentation/BestPracticesSection-BV98CcXZ.js +0 -1
- package/documentation/BestPracticesSection-B_tSX3Jz.js +0 -43
- package/documentation/BestPracticesSection-BgqLgEsR.js +0 -41
- package/documentation/BestPracticesSection-CJxGoR3b.js +0 -1
- package/documentation/BestPracticesSection-CNxmULJM.js +0 -1
- package/documentation/BestPracticesSection-CYQxggWQ.js +0 -1
- package/documentation/BestPracticesSection-CufdR26r.js +0 -1
- package/documentation/BestPracticesSection-DUw_zF3Z.js +0 -83
- package/documentation/BestPracticesSection-Ds5tgGhx.js +0 -84
- package/documentation/BestPracticesSection-pnOXAOcz.js +0 -1
- package/documentation/BorderRadiusSection-B-xRRmpt.js +0 -72
- package/documentation/BorderRadiusSection-D3_hite-.js +0 -1
- package/documentation/ButtonDripSection-Bq2trgi9.js +0 -21
- package/documentation/ButtonLoaderSection-BkZR40rr.js +0 -155
- package/documentation/ButtonLoaderSection-TA9F06jI.js +0 -30
- package/documentation/CardContainerSection-C9HSknEx.js +0 -21
- package/documentation/CardContainerSection-DIfOTJYu.js +0 -63
- package/documentation/CardSection-mS-Ch_Wa.js +0 -25
- package/documentation/CardTitleSection-DYrnGbKk.js +0 -74
- package/documentation/CardTitleSection-FCO91j-A.js +0 -19
- package/documentation/CarouselCardsSection-BOmdJ8sA.js +0 -37
- package/documentation/CarouselCardsSection-BkW9fRDK.js +0 -147
- package/documentation/CarouselImageSection-BU0aNnY2.js +0 -38
- package/documentation/CarouselImageSection-DFkfrzFr.js +0 -152
- package/documentation/CarouselSection-BHZ8M5xZ.js +0 -24
- package/documentation/CarouselSection-MvNa-xnX.js +0 -99
- package/documentation/CheckboxSection-B0Gt7gad.js +0 -137
- package/documentation/CheckboxSection-DSFkIiq4.js +0 -26
- package/documentation/CodeExamplesSection-BNK9u1ps.js +0 -137
- package/documentation/CodeExamplesSection-BVuFSksS.js +0 -28
- package/documentation/CoinCardSection-BcxUp5vJ.js +0 -13
- package/documentation/CoinInfoCardSection-CBpYuVSH.js +0 -12
- package/documentation/CoinListBoxSection-CVxxDv6M.js +0 -24
- package/documentation/CoinListBoxSection-ZeZtAY1w.js +0 -106
- package/documentation/CollapseSection-ZiHdVuyN.js +0 -27
- package/documentation/CollectionCardSection-C0EeHF2p.js +0 -17
- package/documentation/CollectionSelectListSection-CTUcrZ-y.js +0 -120
- package/documentation/CollectionSelectListSection-Co60q-dc.js +0 -15
- package/documentation/ColorCustomizationSection-BNqRFB4h.js +0 -117
- package/documentation/ColorCustomizationSection-DWy4OcKJ.js +0 -1
- package/documentation/ColorSystemSection-D-93TJO5.js +0 -149
- package/documentation/ColorSystemSection-sxcz5x0_.js +0 -1
- package/documentation/CommonErrorsSection-C64GnPLp.js +0 -1
- package/documentation/CommonErrorsSection-CRAmyfbU.js +0 -54
- package/documentation/ComponentAnatomySection-BBTeLqvK.js +0 -1
- package/documentation/ComponentAnatomySection-i5nESJy-.js +0 -72
- package/documentation/ComponentStatusSection-BoQ6pWPk.js +0 -1
- package/documentation/ComponentStatusSection-L3WhGtvd.js +0 -84
- package/documentation/ComposedChartSection-C2fLNqlN.js +0 -21
- package/documentation/CurrencySwapIconsSection-DIsl8XfS.js +0 -50
- package/documentation/CurrencySwapIconsSection-DZdwXbtX.js +0 -7
- package/documentation/CustomColorPaletteSection-BbyEWvys.js +0 -19
- package/documentation/CustomColorPaletteSection-CoZp4nDP.js +0 -54
- package/documentation/CustomIconsSection-CyIwxujL.js +0 -3
- package/documentation/CustomIconsSection-JyFWzdlQ.js +0 -162
- package/documentation/DefiAppLogoSection-WHr3s0Ad.js +0 -120
- package/documentation/DefiAppLogoSection-YKNWdKJ9.js +0 -36
- package/documentation/DesignPrinciplesSection-B_GCf-TN.js +0 -1
- package/documentation/DesignPrinciplesSection-Bu6GQUnw.js +0 -81
- package/documentation/DrawerSection-DM456jmL.js +0 -41
- package/documentation/DynamicRoutesSection-CHGWzNV9.js +0 -42
- package/documentation/DynamicRoutesSection-CpYydeHL.js +0 -100
- package/documentation/FileInputSection-4dc8Q1Wt.js +0 -65
- package/documentation/FileInputSection-DoWfjcaF.js +0 -277
- package/documentation/FileStructureSection-Bzez9Hd6.js +0 -26
- package/documentation/FormComponentsSection-DHM6T8pl.js +0 -1
- package/documentation/FormComponentsSection-DsBtR_gO.js +0 -116
- package/documentation/FormMethodsSection-BgXiWvMF.js +0 -55
- package/documentation/FormMethodsSection-XH36D1LE.js +0 -119
- package/documentation/HamburgerSection-V1hhJqa1.js +0 -18
- package/documentation/HookCategoriesSection-BaBYyUdi.js +0 -97
- package/documentation/HookCategoriesSection-DHxPCrfX.js +0 -1
- package/documentation/HookDocumentationSection-_NXvN1pT.js +0 -272
- package/documentation/HookDocumentationSection-bApnr3Aw.js +0 -73
- package/documentation/HookFeaturesSection-Brl18YzK.js +0 -1
- package/documentation/HookFeaturesSection-DXVmzuOk.js +0 -81
- package/documentation/IconArchitectureSection-CUwumPZY.js +0 -108
- package/documentation/IconArchitectureSection-D5_IkMHf.js +0 -1
- package/documentation/IconSizingGuideSection-BzrzVCbT.js +0 -69
- package/documentation/IconSizingGuideSection-C7Fh243F.js +0 -1
- package/documentation/IconSystemAPISection-C0nEVDsJ.js +0 -61
- package/documentation/IconSystemAPISection-CHqujHDv.js +0 -1
- package/documentation/IconSystemBenefitsSection-C0jGyq77.js +0 -41
- package/documentation/IconSystemBenefitsSection-DU5K42op.js +0 -1
- package/documentation/ImageSection-BBZf4uXm.js +0 -80
- package/documentation/ImplementationExamplesSection-BnU40rmH.js +0 -284
- package/documentation/ImplementationGuidelinesSection-C0Ei_kUp.js +0 -52
- package/documentation/ImplementationGuidelinesSection-Cn-2qyE2.js +0 -1
- package/documentation/ImplementationStatusSection-Bm5EzhII.js +0 -23
- package/documentation/ImplementationStatusSection-C_FgS9kQ.js +0 -1
- package/documentation/ImplementedFeaturesSection-BKqzwhRm.js +0 -1
- package/documentation/ImplementedFeaturesSection-CfV8XwSL.js +0 -116
- package/documentation/InfoCardSection-DW7X3XYu.js +0 -37
- package/documentation/InputSearcherSection-BgRzReMB.js +0 -32
- package/documentation/InputSearcherSection-D0bHIaIm.js +0 -180
- package/documentation/InputSection-C7NfZGdN.js +0 -159
- package/documentation/InputSection-CVEft8nN.js +0 -37
- package/documentation/KeyValueRowSection-DwtRLFEk.js +0 -16
- package/documentation/KeyValueRowSection-rlozAJgf.js +0 -104
- package/documentation/KeyboardNavigationSection-3b87RzQ7.js +0 -1
- package/documentation/KeyboardNavigationSection-dPPkpoVf.js +0 -69
- package/documentation/LayoutPrinciplesSection-BtsZKX-5.js +0 -106
- package/documentation/LayoutPrinciplesSection-Dixe4kuu.js +0 -1
- package/documentation/LayoutTypesSection-C6SnGIzG.js +0 -1
- package/documentation/LineChartSection-C1BoxgOz.js +0 -21
- package/documentation/ListContainerSection-BY8fuQ0N.js +0 -38
- package/documentation/ListContainerSection-jQ8VpdPb.js +0 -125
- package/documentation/ListItemSection-bqNbFxdu.js +0 -36
- package/documentation/LiveDemoSection-CnIo8dCa.js +0 -1
- package/documentation/LiveDemoSection-DuWpxEHf.js +0 -16
- package/documentation/LiveDemonstrationsSection-BvR1Bz8e.js +0 -4
- package/documentation/LiveDemonstrationsSection-UzXnub3E.js +0 -445
- package/documentation/LivePriceFeedSection-BuexUW6S.js +0 -20
- package/documentation/LivePriceFeedSection-ub8T1WoB.js +0 -97
- package/documentation/LoaderSection-CHjzNBqH.js +0 -22
- package/documentation/LoaderSection-DbwOjMpC.js +0 -98
- package/documentation/LogoSection-BUh5lmBE.js +0 -100
- package/documentation/LucideIconsSection-B1IMM2KE.js +0 -128
- package/documentation/LucideIconsSection-Co1s4hKe.js +0 -1
- package/documentation/MFESupportSection-Dr7eg8uq.js +0 -354
- package/documentation/MFESupportSection-DzZl0CIg.js +0 -122
- package/documentation/ModalSection-BmNkZvIh.js +0 -29
- package/documentation/NFTGridSection-Cz_FGqV1.js +0 -117
- package/documentation/NFTGridSection-DonGXR6D.js +0 -19
- package/documentation/NestedRoutesSection-CGDh3mVk.js +0 -36
- package/documentation/NestedRoutesSection-CbNTjSyW.js +0 -88
- package/documentation/NotificationCardSection-D-RuM0y9.js +0 -28
- package/documentation/PaginationSection-9zPPhyeb.js +0 -18
- package/documentation/PanelActionCardSection-CsKsEYu0.js +0 -28
- package/documentation/PanelCardSection-CI4XrWyM.js +0 -15
- package/documentation/ParamTabSection-B-zD0RYM.js +0 -92
- package/documentation/PieChartSection-PGxAtJ72.js +0 -19
- package/documentation/PinCodeSection-BCdJ0lzv.js +0 -22
- package/documentation/PinCodeSection-DM13ihMi.js +0 -167
- package/documentation/ProgressbarSection-C-EdDZov.js +0 -21
- package/documentation/ProgressbarSection-OK-cEcMg.js +0 -144
- package/documentation/RadarChartSection-84HPI4Rp.js +0 -21
- package/documentation/RadioGroupSection-CJtcGRyu.js +0 -192
- package/documentation/RadioGroupSection-DhLvpocf.js +0 -27
- package/documentation/RadioSection-BUsz7AT5.js +0 -130
- package/documentation/RadioSection-uSJ3ocsA.js +0 -23
- package/documentation/RevealContentSection-CYG67QMT.js +0 -21
- package/documentation/RouteConfigurationSection-BZ9jyZ80.js +0 -40
- package/documentation/RouteConfigurationSection-Ba2pGQvU.js +0 -81
- package/documentation/ScrollToTopSection-bZKLFCb7.js +0 -142
- package/documentation/ScrollToTopSection-s0EgBP4c.js +0 -36
- package/documentation/ScrollbarSection-Dfr5kanP.js +0 -29
- package/documentation/SelectSection-CAJsrAt1.js +0 -242
- package/documentation/SelectSection-Ck9kof0T.js +0 -39
- package/documentation/SettingsPanelSection-C_VSlU40.js +0 -126
- package/documentation/SettingsPanelSection-DcI36bvi.js +0 -1
- package/documentation/ShadowsSection-BGOHvc7s.js +0 -1
- package/documentation/ShadowsSection-WKoyApzY.js +0 -90
- package/documentation/SidebarMenuSection-B1YTDAvp.js +0 -80
- package/documentation/SidebarMenuSection-CL_DUahR.js +0 -46
- package/documentation/SidebarSection-DAKVjdKW.js +0 -25
- package/documentation/SidebarSection-yUTI2f67.js +0 -62
- package/documentation/SizingSection-B0hZc0Tv.js +0 -86
- package/documentation/SizingSection-BkzlMAgi.js +0 -1
- package/documentation/SkeletonSection-CPXc0Imd.js +0 -52
- package/documentation/SpacingSystemSection-CTYSoQtS.js +0 -1
- package/documentation/SpinnerSection-BvppjgYE.js +0 -80
- package/documentation/SpinnerSection-Dye2VsDO.js +0 -17
- package/documentation/StandaloneAppSection-BkFjxSm_.js +0 -244
- package/documentation/StandaloneAppSection-Bnd5ch-2.js +0 -69
- package/documentation/StepperSection-Dw3QuSWb.js +0 -28
- package/documentation/SwitchSection-DZ9sij1G.js +0 -152
- package/documentation/SwitchSection-DsRz6B1J.js +0 -20
- package/documentation/SystemOverviewSection-BaNo0I2y.js +0 -1
- package/documentation/SystemOverviewSection-BigtfVY7.js +0 -93
- package/documentation/TabModalSection-BkJ1YqWc.js +0 -51
- package/documentation/TabSection-Di0SYL7X.js +0 -84
- package/documentation/TabSelectSection-BpbqlP7n.js +0 -100
- package/documentation/TailwindConfigSection-B_csna96.js +0 -19
- package/documentation/TailwindConfigSection-BlZrFbRo.js +0 -152
- package/documentation/TestingSection-CTGhtMbC.js +0 -48
- package/documentation/TestingSection-gDlp2c6i.js +0 -12
- package/documentation/TextareaSection-BUb28uf9.js +0 -142
- package/documentation/TextareaSection-DVI2FN0w.js +0 -21
- package/documentation/ThemeArchitectureSection-OAEQSwXw.js +0 -86
- package/documentation/ThemeArchitectureSection-R7ukBzZf.js +0 -1
- package/documentation/ThemeConfigurationSection-B2HuLkPF.js +0 -132
- package/documentation/ThemeConfigurationSection-Go4dxqfS.js +0 -1
- package/documentation/ThemeHooksSection-C33tvQEw.js +0 -119
- package/documentation/ThemeHooksSection-kZu-s-uU.js +0 -1
- package/documentation/ThemeProviderIntegrationSection-Cj9xrgmY.js +0 -61
- package/documentation/ThemeProviderIntegrationSection-DvgYf8Rt.js +0 -108
- package/documentation/ThemeProviderRequiredSection-ScLygoBY.js +0 -1
- package/documentation/ThemeProviderSection-6LHY1gR6.js +0 -1
- package/documentation/ThemeProviderSection-D43ZRcch.js +0 -128
- package/documentation/ToggleBarSection-ByVhbSBC.js +0 -37
- package/documentation/ToggleBarSection-DbkIzwZP.js +0 -127
- package/documentation/TooltipSection-DTGXs9vT.js +0 -62
- package/documentation/TopupButtonSection-ClbM3sSZ.js +0 -100
- package/documentation/TopupButtonSection-DDZwSfM6.js +0 -24
- package/documentation/TransactionInfoSection-CO5s67_e.js +0 -16
- package/documentation/TransactionInfoSection-ZFQbN2wP.js +0 -65
- package/documentation/TucuUiLogoSection-BB5Zr58k.js +0 -26
- package/documentation/TucuUiLogoSection-CcGnK1Ai.js +0 -88
- package/documentation/TypographySection-CgEGnQ1Q.js +0 -1
- package/documentation/TypographySection-DGjPTW0m.js +0 -32
- package/documentation/UsageExamplesSection-BNrxVQj2.js +0 -83
- package/documentation/UsageExamplesSection-BiZ1MahQ.js +0 -147
- package/documentation/UsingThemeSystemSection-CS0WVYk1.js +0 -140
- package/documentation/UsingThemeSystemSection-vyxb3z51.js +0 -176
- package/documentation/ValidationSystemSection-BH4fYDTN.js +0 -197
- package/documentation/ValidationSystemSection-BOIkiXR1.js +0 -54
- package/documentation/WCAGPrinciplesSection-BQWhdatC.js +0 -116
- package/documentation/WCAGPrinciplesSection-BoHN-ga-.js +0 -1
- package/index-COj1N7FC.js +0 -1137
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../index-COj1N7FC.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const t=()=>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:"NFTGrid"}),e.jsx(r.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Grid card component for displaying NFT items with author information, image, collection, and price."})]}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.CardTitle,{title:"Grid 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 sm:grid-cols-2 lg:grid-cols-3 gap-5",children:[e.jsx(r.NFTGrid,{author:"CryptoPunk",authorImage:"https://i.pravatar.cc/80?img=1",image:"https://picsum.photos/seed/nft1/400/300",name:"CryptoPunk #1234",collection:"Crypto Punks",price:"45 ETH"}),e.jsx(r.NFTGrid,{author:"BoredApe",authorImage:"https://i.pravatar.cc/80?img=12",image:"https://picsum.photos/seed/nft2/400/300",name:"Bored Ape #8821",collection:"BAYC",price:"72 ETH"}),e.jsx(r.NFTGrid,{author:"Azuki",authorImage:"https://i.pravatar.cc/80?img=25",image:"https://picsum.photos/seed/nft3/400/300",name:"Azuki #5501",collection:"Azuki",price:"18.5 ETH"}),e.jsx(r.NFTGrid,{author:"Doodles",authorImage:"https://i.pravatar.cc/80?img=33",image:"https://picsum.photos/seed/nft4/400/300",name:"Doodle #3120",collection:"Doodles",price:"8.2 ETH"}),e.jsx(r.NFTGrid,{author:"CloneX",authorImage:"https://i.pravatar.cc/80?img=44",image:"https://picsum.photos/seed/nft5/400/300",name:"CloneX #12882",collection:"CloneX",price:"5.8 ETH"}),e.jsx(r.NFTGrid,{author:"Moonbird",authorImage:"https://i.pravatar.cc/80?img=56",image:"https://picsum.photos/seed/nft6/400/300",name:"Moonbird #7744",collection:"Moonbirds",price:"12 ETH",profilePath:"/profile/moonbird"})]})})})}),e.jsx(r.AutoPropsTable,{componentName:"NFTGrid"}),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 { NFTGrid } from '@e-burgos/tucu-ui';
|
|
2
|
-
|
|
3
|
-
// Single card
|
|
4
|
-
<NFTGrid
|
|
5
|
-
author="CryptoPunk"
|
|
6
|
-
authorImage="/avatars/cryptopunk.jpg"
|
|
7
|
-
image="/nfts/punk-1234.jpg"
|
|
8
|
-
name="CryptoPunk #1234"
|
|
9
|
-
collection="Crypto Punks"
|
|
10
|
-
price="45 ETH"
|
|
11
|
-
profilePath="/profile/cryptopunk"
|
|
12
|
-
/>
|
|
13
|
-
|
|
14
|
-
// Grid layout
|
|
15
|
-
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5">
|
|
16
|
-
<NFTGrid {...nft1} />
|
|
17
|
-
<NFTGrid {...nft2} />
|
|
18
|
-
<NFTGrid {...nft3} />
|
|
19
|
-
</div>`})})})})]});exports.default=t;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-COj1N7FC.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const t=()=>e.jsx("div",{className:"space-y-8",children:e.jsx(s.CardContainer,{children:e.jsx(s.CardTitle,{title:"Nested Routes & Dropdown Menus",className:"mt-2 mb-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Create hierarchical navigation with unlimited nesting levels. Each menu item can have dropdown sub-items that appear in the sidebar navigation."}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsx(s.Typography,{tag:"h4",className:"font-semibold",children:"Nested Routes Example"}),e.jsx(s.CodeBlock,{language:"tsx",code:`const menuItems = [
|
|
2
|
-
{
|
|
3
|
-
name: 'Components',
|
|
4
|
-
path: '/components',
|
|
5
|
-
icon: <LucideIcons.Component />,
|
|
6
|
-
component: <ComponentsPage />,
|
|
7
|
-
dropdownItems: [
|
|
8
|
-
{
|
|
9
|
-
name: 'Buttons',
|
|
10
|
-
path: '/components/buttons',
|
|
11
|
-
icon: <LucideIcons.MousePointerClick />,
|
|
12
|
-
component: <ButtonsPage />,
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
name: 'Forms',
|
|
16
|
-
path: '/components/forms',
|
|
17
|
-
icon: <LucideIcons.FileText />,
|
|
18
|
-
component: <FormsPage />,
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
name: 'Utilities',
|
|
24
|
-
path: '/utilities',
|
|
25
|
-
icon: <LucideIcons.Wrench />,
|
|
26
|
-
component: <UtilitiesPage />,
|
|
27
|
-
dropdownItems: [
|
|
28
|
-
{
|
|
29
|
-
name: 'Hooks',
|
|
30
|
-
path: '/utilities/hooks',
|
|
31
|
-
icon: <LucideIcons.Hook />,
|
|
32
|
-
component: <HooksPage />,
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
},
|
|
36
|
-
];`})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx(s.Typography,{tag:"h4",className:"font-semibold",children:"Navigation Structure"}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"p-3 bg-light-dark rounded-lg",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx("div",{className:"p-1.5 rounded bg-linear-to-br from-blue-500 to-cyan-500 shadow-lg",children:e.jsx(a.Component,{className:"w-3 h-3 text-white filter drop-shadow-sm"})}),e.jsx("span",{className:"font-medium",children:"Components"})]}),e.jsxs("div",{className:"ml-6 space-y-1",children:[e.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600 dark:text-gray-400",children:[e.jsx(a.MousePointerClick,{className:"w-3 h-3"}),"Buttons"]}),e.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600 dark:text-gray-400",children:[e.jsx(a.FileText,{className:"w-3 h-3"}),"Forms"]})]})]}),e.jsxs("div",{className:"p-3 bg-light-dark rounded-lg",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx("div",{className:"p-1.5 rounded bg-linear-to-br from-purple-500 to-indigo-500 shadow-lg",children:e.jsx(a.Wrench,{className:"w-3 h-3 text-white filter drop-shadow-sm"})}),e.jsx("span",{className:"font-medium",children:"Utilities"})]}),e.jsx("div",{className:"ml-6 space-y-1",children:e.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600 dark:text-gray-400",children:[e.jsx(a.Zap,{className:"w-3 h-3"}),"Hooks"]})})]})]})]})]}),e.jsx(s.Alert,{variant:"info",dismissible:!1,children:e.jsxs(s.Typography,{tag:"p",className:"text-sm ",children:[e.jsx(a.Info,{className:"w-4 h-4 inline mr-2"}),"Nested routes are automatically converted to dropdown menus in the sidebar navigation. The parent route serves as the main landing page, while dropdown items provide access to sub-sections."]})})]})})})});exports.default=t;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as s } from "react/jsx-runtime";
|
|
2
|
-
import { C as t, a as i, T as a, c as n, ag as o } from "../index-B919yoKU.js";
|
|
3
|
-
import { Component as c, MousePointerClick as r, FileText as l, Wrench as d, Zap as m, Info as p } from "lucide-react";
|
|
4
|
-
import "react-router-dom";
|
|
5
|
-
import "react";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
const w = () => /* @__PURE__ */ e("div", { className: "space-y-8", children: /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e(i, { title: "Nested Routes & Dropdown Menus", className: "mt-2 mb-6", children: /* @__PURE__ */ s("div", { className: "space-y-6", children: [
|
|
8
|
-
/* @__PURE__ */ e(a, { tag: "p", className: "text-gray-600 dark:text-gray-400", children: "Create hierarchical navigation with unlimited nesting levels. Each menu item can have dropdown sub-items that appear in the sidebar navigation." }),
|
|
9
|
-
/* @__PURE__ */ s("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-6", children: [
|
|
10
|
-
/* @__PURE__ */ s("div", { className: "space-y-4", children: [
|
|
11
|
-
/* @__PURE__ */ e(a, { tag: "h4", className: "font-semibold", children: "Nested Routes Example" }),
|
|
12
|
-
/* @__PURE__ */ e(n, { language: "tsx", code: `const menuItems = [
|
|
13
|
-
{
|
|
14
|
-
name: 'Components',
|
|
15
|
-
path: '/components',
|
|
16
|
-
icon: <LucideIcons.Component />,
|
|
17
|
-
component: <ComponentsPage />,
|
|
18
|
-
dropdownItems: [
|
|
19
|
-
{
|
|
20
|
-
name: 'Buttons',
|
|
21
|
-
path: '/components/buttons',
|
|
22
|
-
icon: <LucideIcons.MousePointerClick />,
|
|
23
|
-
component: <ButtonsPage />,
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
name: 'Forms',
|
|
27
|
-
path: '/components/forms',
|
|
28
|
-
icon: <LucideIcons.FileText />,
|
|
29
|
-
component: <FormsPage />,
|
|
30
|
-
},
|
|
31
|
-
],
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
name: 'Utilities',
|
|
35
|
-
path: '/utilities',
|
|
36
|
-
icon: <LucideIcons.Wrench />,
|
|
37
|
-
component: <UtilitiesPage />,
|
|
38
|
-
dropdownItems: [
|
|
39
|
-
{
|
|
40
|
-
name: 'Hooks',
|
|
41
|
-
path: '/utilities/hooks',
|
|
42
|
-
icon: <LucideIcons.Hook />,
|
|
43
|
-
component: <HooksPage />,
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
},
|
|
47
|
-
];` })
|
|
48
|
-
] }),
|
|
49
|
-
/* @__PURE__ */ s("div", { className: "space-y-4", children: [
|
|
50
|
-
/* @__PURE__ */ e(a, { tag: "h4", className: "font-semibold", children: "Navigation Structure" }),
|
|
51
|
-
/* @__PURE__ */ s("div", { className: "space-y-3", children: [
|
|
52
|
-
/* @__PURE__ */ s("div", { className: "p-3 bg-light-dark rounded-lg", children: [
|
|
53
|
-
/* @__PURE__ */ s("div", { className: "flex items-center gap-2 mb-2", children: [
|
|
54
|
-
/* @__PURE__ */ e("div", { className: "p-1.5 rounded bg-linear-to-br from-blue-500 to-cyan-500 shadow-lg", children: /* @__PURE__ */ e(c, { className: "w-3 h-3 text-white filter drop-shadow-sm" }) }),
|
|
55
|
-
/* @__PURE__ */ e("span", { className: "font-medium", children: "Components" })
|
|
56
|
-
] }),
|
|
57
|
-
/* @__PURE__ */ s("div", { className: "ml-6 space-y-1", children: [
|
|
58
|
-
/* @__PURE__ */ s("div", { className: "flex items-center gap-2 text-sm text-gray-600 dark:text-gray-400", children: [
|
|
59
|
-
/* @__PURE__ */ e(r, { className: "w-3 h-3" }),
|
|
60
|
-
"Buttons"
|
|
61
|
-
] }),
|
|
62
|
-
/* @__PURE__ */ s("div", { className: "flex items-center gap-2 text-sm text-gray-600 dark:text-gray-400", children: [
|
|
63
|
-
/* @__PURE__ */ e(l, { className: "w-3 h-3" }),
|
|
64
|
-
"Forms"
|
|
65
|
-
] })
|
|
66
|
-
] })
|
|
67
|
-
] }),
|
|
68
|
-
/* @__PURE__ */ s("div", { className: "p-3 bg-light-dark rounded-lg", children: [
|
|
69
|
-
/* @__PURE__ */ s("div", { className: "flex items-center gap-2 mb-2", children: [
|
|
70
|
-
/* @__PURE__ */ e("div", { className: "p-1.5 rounded bg-linear-to-br from-purple-500 to-indigo-500 shadow-lg", children: /* @__PURE__ */ e(d, { className: "w-3 h-3 text-white filter drop-shadow-sm" }) }),
|
|
71
|
-
/* @__PURE__ */ e("span", { className: "font-medium", children: "Utilities" })
|
|
72
|
-
] }),
|
|
73
|
-
/* @__PURE__ */ e("div", { className: "ml-6 space-y-1", children: /* @__PURE__ */ s("div", { className: "flex items-center gap-2 text-sm text-gray-600 dark:text-gray-400", children: [
|
|
74
|
-
/* @__PURE__ */ e(m, { className: "w-3 h-3" }),
|
|
75
|
-
"Hooks"
|
|
76
|
-
] }) })
|
|
77
|
-
] })
|
|
78
|
-
] })
|
|
79
|
-
] })
|
|
80
|
-
] }),
|
|
81
|
-
/* @__PURE__ */ e(o, { variant: "info", dismissible: !1, children: /* @__PURE__ */ s(a, { tag: "p", className: "text-sm ", children: [
|
|
82
|
-
/* @__PURE__ */ e(p, { className: "w-4 h-4 inline mr-2" }),
|
|
83
|
-
"Nested routes are automatically converted to dropdown menus in the sidebar navigation. The parent route serves as the main landing page, while dropdown items provide access to sub-sections."
|
|
84
|
-
] }) })
|
|
85
|
-
] }) }) }) });
|
|
86
|
-
export {
|
|
87
|
-
w as default
|
|
88
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),t=require("../index-COj1N7FC.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const e=require("../1-CArqgiQa.js"),o=()=>a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"text-center space-y-4",children:[a.jsx(t.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"NotificationCard"}),a.jsx(t.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A notification card component for displaying user activity notifications with avatar, action type, and timestamp."})]}),a.jsx(t.CardContainer,{className:"overflow-hidden",children:a.jsx(t.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"space-y-4",children:[a.jsxs(t.CardContainer,{className:"p-4",children:[a.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"Followed Notification"}),a.jsx(t.NotificationCard,{type:"followed",actor:{name:"john_doe",avatar:e.avatar1Img},time:"2 hours ago",url:"/profile/john_doe",notifier:"you"})]}),a.jsxs(t.CardContainer,{className:"p-4",children:[a.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"Liked Notification"}),a.jsx(t.NotificationCard,{type:"liked",actor:{name:"jane_smith",avatar:e.avatar1Img},time:"5 minutes ago",url:"/post/123",notifier:"your post"})]}),a.jsxs(t.CardContainer,{className:"p-4",children:[a.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"Purchased Notification"}),a.jsx(t.NotificationCard,{type:"purchased",actor:{name:"alice_wonder",avatar:e.avatar1Img},time:"1 day ago",url:"/item/456",notifier:"your item"})]})]})})})}),a.jsx(t.PropPlayground,{componentName:"NotificationCard",defaultValues:{notifier:"CryptoKing",type:"liked",time:"2 hours ago",url:"#"},excludeProps:["actor"],children:i=>a.jsx(t.NotificationCard,{...i,actor:{name:"John Doe",avatar:"https://randomuser.me/api/portraits/men/1.jpg"}})}),a.jsx(t.AutoPropsTable,{componentName:"NotificationCard"}),a.jsx(t.CardContainer,{className:"overflow-hidden",children:a.jsx(t.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsx(t.CodeBlock,{language:"tsx",code:`import { NotificationCard } from '@e-burgos/tucu-ui';
|
|
2
|
-
|
|
3
|
-
// Followed notification
|
|
4
|
-
<NotificationCard
|
|
5
|
-
type="followed"
|
|
6
|
-
actor={{ name: 'john_doe', avatar: '/path/to/avatar.jpg' }}
|
|
7
|
-
time="2 hours ago"
|
|
8
|
-
url="/profile/john_doe"
|
|
9
|
-
notifier="you"
|
|
10
|
-
/>
|
|
11
|
-
|
|
12
|
-
// Liked notification
|
|
13
|
-
<NotificationCard
|
|
14
|
-
type="liked"
|
|
15
|
-
actor={{ name: 'jane_smith', avatar: '/path/to/avatar.jpg' }}
|
|
16
|
-
time="5 minutes ago"
|
|
17
|
-
url="/post/123"
|
|
18
|
-
notifier="your post"
|
|
19
|
-
/>
|
|
20
|
-
|
|
21
|
-
// Purchased notification
|
|
22
|
-
<NotificationCard
|
|
23
|
-
type="purchased"
|
|
24
|
-
actor={{ name: 'alice_wonder', avatar: '/path/to/avatar.jpg' }}
|
|
25
|
-
time="1 day ago"
|
|
26
|
-
url="/item/456"
|
|
27
|
-
notifier="your item"
|
|
28
|
-
/>`})})})})]});exports.default=o;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("react"),a=require("../index-COj1N7FC.js");require("lucide-react");require("react-router-dom");require("react-dom");const l=()=>{const[s,i]=t.useState(1),[r,o]=t.useState(5),[n,g]=t.useState(1);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:"Pagination"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A pagination component with page number buttons, ellipsis for large ranges, and previous/next navigation."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Examples",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-8",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Few Pages"}),e.jsxs(a.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:["Page ",s," of 5"]}),e.jsx(a.Pagination,{currentPage:s,totalPages:5,onPageChange:i})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Many Pages (with ellipsis)"}),e.jsxs(a.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:["Page ",r," of 20"]}),e.jsx(a.Pagination,{currentPage:r,totalPages:20,onPageChange:o})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Custom Window Size"}),e.jsxs(a.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400 mb-4",children:["Page ",n," of 50 (windowSize=3)"]}),e.jsx(a.Pagination,{currentPage:n,totalPages:50,onPageChange:g,windowSize:3})]})]})})}),e.jsx(a.AutoPropsTable,{componentName:"Pagination"}),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 { Pagination } from '@e-burgos/tucu-ui';
|
|
2
|
-
import { useState } from 'react';
|
|
3
|
-
|
|
4
|
-
const [currentPage, setCurrentPage] = useState(1);
|
|
5
|
-
|
|
6
|
-
<Pagination
|
|
7
|
-
currentPage={currentPage}
|
|
8
|
-
totalPages={20}
|
|
9
|
-
onPageChange={setCurrentPage}
|
|
10
|
-
/>
|
|
11
|
-
|
|
12
|
-
// With custom window size (more visible page numbers)
|
|
13
|
-
<Pagination
|
|
14
|
-
currentPage={currentPage}
|
|
15
|
-
totalPages={50}
|
|
16
|
-
onPageChange={setCurrentPage}
|
|
17
|
-
windowSize={3}
|
|
18
|
-
/>`})})})})]})};exports.default=l;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-COj1N7FC.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const t=()=>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:"PanelActionCard"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A panel card component with a scrollable content area and action buttons at the bottom."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(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:"space-y-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic Panel with Actions"}),e.jsx(a.PanelActionCard,{title:"Panel Title",actions:[{label:"Cancel",variant:"ghost",onClick:()=>console.log("Cancel")},{label:"Save",variant:"solid",color:"primary",onClick:()=>console.log("Save")}],children:e.jsxs("div",{className:"space-y-2",children:[e.jsx(a.Typography,{tag:"p",children:"Content line 1"}),e.jsx(a.Typography,{tag:"p",children:"Content line 2"}),e.jsx(a.Typography,{tag:"p",children:"Content line 3"})]})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Without Actions"}),e.jsx(a.PanelActionCard,{title:"Panel Without Actions",children:e.jsx("div",{className:"space-y-2",children:e.jsx(a.Typography,{tag:"p",children:"This panel has no action buttons."})})})]})]})})})}),e.jsx(a.PropPlayground,{componentName:"PanelActionCard",defaultValues:{title:"Panel Title"},excludeProps:["actions"],children:n=>e.jsx(a.PanelActionCard,{...n,actions:[{label:"Action",onClick:()=>{}}]})}),e.jsx(a.AutoPropsTable,{componentName:"PanelActionCard"}),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 { PanelActionCard, Typography } from '@e-burgos/tucu-ui';
|
|
2
|
-
|
|
3
|
-
// With actions
|
|
4
|
-
<PanelActionCard
|
|
5
|
-
title="Panel Title"
|
|
6
|
-
actions={[
|
|
7
|
-
{
|
|
8
|
-
label: 'Cancel',
|
|
9
|
-
variant: 'ghost',
|
|
10
|
-
onClick: () => handleCancel(),
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
label: 'Save',
|
|
14
|
-
variant: 'solid',
|
|
15
|
-
color: 'primary',
|
|
16
|
-
onClick: () => handleSave(),
|
|
17
|
-
},
|
|
18
|
-
]}
|
|
19
|
-
>
|
|
20
|
-
<div className="space-y-2">
|
|
21
|
-
<Typography tag="p">Content here</Typography>
|
|
22
|
-
</div>
|
|
23
|
-
</PanelActionCard>
|
|
24
|
-
|
|
25
|
-
// Without actions
|
|
26
|
-
<PanelActionCard title="Panel Title">
|
|
27
|
-
<Typography tag="p">Content without actions</Typography>
|
|
28
|
-
</PanelActionCard>`})})})})]});exports.default=t;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-COj1N7FC.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const t=()=>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:"PanelCard"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A simple panel card component with a title header and scrollable content area."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.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(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic Panel Card"}),e.jsx(a.PanelCard,{title:"Panel Title",children:e.jsxs("div",{className:"space-y-2",children:[e.jsx(a.Typography,{tag:"p",children:"Content line 1"}),e.jsx(a.Typography,{tag:"p",children:"Content line 2"}),e.jsx(a.Typography,{tag:"p",children:"Content line 3"}),e.jsx(a.Typography,{tag:"p",children:"Content line 4"}),e.jsx(a.Typography,{tag:"p",children:"Content line 5"})]})})]})})})})}),e.jsx(a.PropPlayground,{componentName:"PanelCard",defaultValues:{title:"Panel Card"},children:l=>e.jsx(a.PanelCard,{...l,children:e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Panel content goes here"})})}),e.jsx(a.AutoPropsTable,{componentName:"PanelCard"}),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 { PanelCard, Typography } from '@e-burgos/tucu-ui';
|
|
2
|
-
|
|
3
|
-
// Basic usage
|
|
4
|
-
<PanelCard title="Panel Title">
|
|
5
|
-
<div className="space-y-2">
|
|
6
|
-
<Typography tag="p">Content line 1</Typography>
|
|
7
|
-
<Typography tag="p">Content line 2</Typography>
|
|
8
|
-
<Typography tag="p">Content line 3</Typography>
|
|
9
|
-
</div>
|
|
10
|
-
</PanelCard>
|
|
11
|
-
|
|
12
|
-
// With custom className
|
|
13
|
-
<PanelCard title="Custom Panel" className="max-w-md">
|
|
14
|
-
<Typography tag="p">Custom styled panel</Typography>
|
|
15
|
-
</PanelCard>`})})})})]});exports.default=t;
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-COj1N7FC.js"),t=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const c=()=>{const r=[{title:"Overview",path:"overview"},{title:"Details",path:"details"},{title:"Settings",path:"settings"}],i=[{title:"Dashboard",path:"dashboard",icon:e.jsx(t.Home,{size:16})},{title:"Analytics",path:"analytics",icon:e.jsx(t.BarChart,{size:16})},{title:"Reports",path:"reports",icon:e.jsx(t.FileText,{size:16})},{title:"Settings",path:"settings",icon:e.jsx(t.Settings,{size:16})}],n=[{title:"Profile",path:"profile",icon:e.jsx(t.User,{size:16})},{title:"Notifications",path:"notifications",icon:e.jsx(t.Bell,{size:16})},{title:"Settings",path:"settings",icon:e.jsx(t.Settings,{size:16})}],l=[{prop:"title",type:"React.ReactNode",default:"required",description:"Tab label (can be text, JSX, or components)"},{prop:"path",type:"string",default:"required",description:'Unique path for URL parameter (e.g., "overview")'},{prop:"icon",type:"React.ReactNode",default:"-",description:"Optional icon to display before tab label"}];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:"ParamTab"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A powerful tab component that automatically syncs with URL query parameters and switches to a dropdown selector on mobile devices for optimal responsive behavior."})]}),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:"space-y-8",children:[e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Underline Variant (Default)"}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-4",children:"Classic underline style with animated indicator. URL syncs with ?view=overview, ?view=details, etc."}),e.jsxs(a.ParamTab,{tabMenu:r,variant:"underline",children:[e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsx(a.Typography,{tag:"h3",className:"text-xl font-semibold mb-2",children:"Overview Dashboard"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Main dashboard content with key metrics and overview information. The URL parameter updates to ?view=overview when this tab is active."})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsx(a.Typography,{tag:"h3",className:"text-xl font-semibold mb-2",children:"Detailed Information"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Comprehensive details and in-depth analysis. URL parameter: ?view=details"})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsx(a.Typography,{tag:"h3",className:"text-xl font-semibold mb-2",children:"Configuration Settings"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Manage your preferences and application settings. URL parameter: ?view=settings"})]})})]})]}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Pills Variant with Icons"}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-4",children:"Modern rounded pills with icon support for enhanced visual clarity."}),e.jsxs(a.ParamTab,{tabMenu:i,variant:"pills",size:"medium",children:[e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx(t.Home,{className:"text-brand",size:24}),e.jsx(a.Typography,{tag:"h3",className:"text-xl font-semibold",children:"Dashboard Home"})]}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Welcome to your dashboard! Here you'll find a summary of your most important information."})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx(t.BarChart,{className:"text-brand",size:24}),e.jsx(a.Typography,{tag:"h3",className:"text-xl font-semibold",children:"Analytics Overview"})]}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Track your performance with detailed analytics and insights."})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx(t.FileText,{className:"text-brand",size:24}),e.jsx(a.Typography,{tag:"h3",className:"text-xl font-semibold",children:"Reports Center"})]}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Generate and view comprehensive reports for your data."})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx(t.Settings,{className:"text-brand",size:24}),e.jsx(a.Typography,{tag:"h3",className:"text-xl font-semibold",children:"Application Settings"})]}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Customize your application preferences and configuration."})]})})]})]}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Bordered Variant"}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-4",children:"Distinct bordered style with highlighted selection state."}),e.jsxs(a.ParamTab,{tabMenu:n,variant:"bordered",children:[e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsx(a.Typography,{tag:"h3",className:"text-xl font-semibold mb-2",children:"User Profile"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Manage your personal information and profile settings."})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsx(a.Typography,{tag:"h3",className:"text-xl font-semibold mb-2",children:"Notifications"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Configure how and when you receive notifications."})]})}),e.jsx(a.TabPanel,{children:e.jsxs(a.CardContainer,{className:"p-6",children:[e.jsx(a.Typography,{tag:"h3",className:"text-xl font-semibold mb-2",children:"Account Settings"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Manage your account security and privacy settings."})]})})]})]}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Solid Variant (Small Size)"}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-4",children:"Compact solid background style perfect for space-constrained layouts."}),e.jsxs(a.ParamTab,{tabMenu:r,variant:"solid",size:"small",children:[e.jsx(a.TabPanel,{children:e.jsx(a.CardContainer,{className:"p-6",children:e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Compact overview content with small tab size."})})}),e.jsx(a.TabPanel,{children:e.jsx(a.CardContainer,{className:"p-6",children:e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Detailed information in a compact format."})})}),e.jsx(a.TabPanel,{children:e.jsx(a.CardContainer,{className:"p-6",children:e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Settings panel with space-efficient design."})})})]})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Key Features",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.jsxs(a.Typography,{tag:"h5",className:"mb-2",children:[e.jsx("span",{role:"img","aria-label":"link",children:"🔗"})," ","URL Synchronization"]}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-3",children:"Automatically syncs tab state with URL query parameters (e.g., ?view=overview). This enables:"}),e.jsxs("ul",{className:"list-disc list-inside text-sm text-gray-600 dark:text-gray-400 space-y-1 ml-4",children:[e.jsx("li",{children:"Deep linking to specific tabs"}),e.jsx("li",{children:"Browser back/forward navigation"}),e.jsx("li",{children:"Shareable URLs with selected tab state"}),e.jsx("li",{children:"Bookmark support for specific views"})]})]}),e.jsxs("div",{children:[e.jsxs(a.Typography,{tag:"h5",className:"mb-2",children:[e.jsx("span",{role:"img","aria-label":"mobile",children:"📱"})," ","Responsive Mobile Adaptation"]}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-3",children:"Automatically switches to TabSelect dropdown on mobile devices (xs, sm breakpoints) for optimal space usage and better UX."}),e.jsx(a.CardContainer,{className:"p-4 bg-blue-50 dark:bg-blue-900/20",children:e.jsxs(a.Typography,{tag:"p",className:"text-sm",children:[e.jsx("span",{role:"img","aria-label":"tip",children:"💡"})," ",e.jsx("span",{className:"font-semibold",children:"Tip:"})," Resize your browser window to see the automatic switch between tab bar and dropdown selector!"]})})]}),e.jsxs("div",{children:[e.jsxs(a.Typography,{tag:"h5",className:"mb-2",children:[e.jsx("span",{role:"img","aria-label":"styles",children:"🎨"})," ","Multiple Style Variants"]}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"Choose from 4 distinct visual styles (underline, pills, bordered, solid) and 3 sizes (small, medium, large) to match your design system."})]}),e.jsxs("div",{children:[e.jsxs(a.Typography,{tag:"h5",className:"mb-2",children:[e.jsx("span",{role:"img","aria-label":"icons",children:"✨"})," ","Icon Support"]}),e.jsx(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:"Add icons to tabs for better visual communication and improved scannability. Works seamlessly with Lucide Icons."})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"TabMenuItem Interface",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("table",{className:"w-full text-sm text-left",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"border-b border-gray-200 dark:border-gray-700",children:[e.jsx("th",{className:"px-3 py-2 font-semibold",children:"Prop"}),e.jsx("th",{className:"px-3 py-2 font-semibold",children:"Type"}),e.jsx("th",{className:"px-3 py-2 font-semibold",children:"Default"}),e.jsx("th",{className:"px-3 py-2 font-semibold",children:"Description"})]})}),e.jsx("tbody",{children:l.map(s=>e.jsxs("tr",{className:"border-b border-gray-100 dark:border-gray-800",children:[e.jsx("td",{className:"px-3 py-2",children:e.jsx("code",{className:"text-xs text-brand",children:s.prop})}),e.jsx("td",{className:"px-3 py-2",children:e.jsx("code",{className:"text-xs",children:s.type})}),e.jsx("td",{className:"px-3 py-2",children:s.default==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:s.default})}),e.jsx("td",{className:"px-3 py-2 text-gray-600 dark:text-gray-400",children:s.description})]},s.prop))})]})})})}),e.jsx(a.AutoPropsTable,{componentName:"ParamTab"}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Examples",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 { ParamTab, TabPanel } from '@e-burgos/tucu-ui';
|
|
2
|
-
import { Home, Settings, User } from 'lucide-react';
|
|
3
|
-
|
|
4
|
-
// Basic usage with URL sync
|
|
5
|
-
function BasicExample() {
|
|
6
|
-
const tabMenu = [
|
|
7
|
-
{ title: 'Overview', path: 'overview' },
|
|
8
|
-
{ title: 'Details', path: 'details' },
|
|
9
|
-
{ title: 'Settings', path: 'settings' },
|
|
10
|
-
];
|
|
11
|
-
|
|
12
|
-
return (
|
|
13
|
-
<ParamTab tabMenu={tabMenu}>
|
|
14
|
-
<TabPanel>
|
|
15
|
-
<div>Overview content</div>
|
|
16
|
-
</TabPanel>
|
|
17
|
-
<TabPanel>
|
|
18
|
-
<div>Details content</div>
|
|
19
|
-
</TabPanel>
|
|
20
|
-
<TabPanel>
|
|
21
|
-
<div>Settings content</div>
|
|
22
|
-
</TabPanel>
|
|
23
|
-
</ParamTab>
|
|
24
|
-
);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// Pills variant with icons
|
|
28
|
-
function PillsWithIcons() {
|
|
29
|
-
const tabMenu = [
|
|
30
|
-
{
|
|
31
|
-
title: 'Dashboard',
|
|
32
|
-
path: 'dashboard',
|
|
33
|
-
icon: <Home size={16} />,
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
title: 'Profile',
|
|
37
|
-
path: 'profile',
|
|
38
|
-
icon: <User size={16} />,
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
title: 'Settings',
|
|
42
|
-
path: 'settings',
|
|
43
|
-
icon: <Settings size={16} />,
|
|
44
|
-
},
|
|
45
|
-
];
|
|
46
|
-
|
|
47
|
-
return (
|
|
48
|
-
<ParamTab tabMenu={tabMenu} variant="pills" size="medium">
|
|
49
|
-
<TabPanel>Dashboard content</TabPanel>
|
|
50
|
-
<TabPanel>Profile content</TabPanel>
|
|
51
|
-
<TabPanel>Settings content</TabPanel>
|
|
52
|
-
</ParamTab>
|
|
53
|
-
);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
// Bordered variant
|
|
57
|
-
function BorderedExample() {
|
|
58
|
-
const tabMenu = [
|
|
59
|
-
{ title: 'Tab 1', path: 'tab1' },
|
|
60
|
-
{ title: 'Tab 2', path: 'tab2' },
|
|
61
|
-
];
|
|
62
|
-
|
|
63
|
-
return (
|
|
64
|
-
<ParamTab tabMenu={tabMenu} variant="bordered">
|
|
65
|
-
<TabPanel>Content 1</TabPanel>
|
|
66
|
-
<TabPanel>Content 2</TabPanel>
|
|
67
|
-
</ParamTab>
|
|
68
|
-
);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
// Solid variant with small size
|
|
72
|
-
function CompactExample() {
|
|
73
|
-
const tabMenu = [
|
|
74
|
-
{ title: 'View 1', path: 'view1' },
|
|
75
|
-
{ title: 'View 2', path: 'view2' },
|
|
76
|
-
];
|
|
77
|
-
|
|
78
|
-
return (
|
|
79
|
-
<ParamTab tabMenu={tabMenu} variant="solid" size="small">
|
|
80
|
-
<TabPanel>Compact content 1</TabPanel>
|
|
81
|
-
<TabPanel>Compact content 2</TabPanel>
|
|
82
|
-
</ParamTab>
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
// How it works:
|
|
87
|
-
// 1. Component reads current URL parameter (?view=overview)
|
|
88
|
-
// 2. Matches it with tabMenu path to set active tab
|
|
89
|
-
// 3. When user clicks tab, URL updates automatically
|
|
90
|
-
// 4. On mobile (xs, sm), shows TabSelect dropdown
|
|
91
|
-
// 5. On desktop, shows regular tab bar
|
|
92
|
-
// 6. Browser back/forward buttons work seamlessly`})})})})]})};exports.default=c;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-COj1N7FC.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const t=[{name:"Chrome",value:62},{name:"Safari",value:19},{name:"Firefox",value:10},{name:"Edge",value:6},{name:"Other",value:3}],r=()=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(a.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"PieChart"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Pie and donut chart component for displaying proportions and distributions with labels and inner content support."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Basic Pie Chart",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.PieChart,{data:t,height:300})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Donut Chart",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.PieChart,{data:t,donut:!0,height:300})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Donut with Inner Content",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.PieChart,{data:t,donut:!0,height:300,innerContent:e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-2xl font-bold",children:"100%"}),e.jsx("p",{className:"text-sm text-gray-500",children:"Total"})]})})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Without Labels",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.PieChart,{data:t,showLabels:!1,height:300})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Usage",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{code:`import { PieChart } from '@e-burgos/tucu-ui';
|
|
2
|
-
|
|
3
|
-
const data = [
|
|
4
|
-
{ name: 'Chrome', value: 62 },
|
|
5
|
-
{ name: 'Safari', value: 19 },
|
|
6
|
-
{ name: 'Firefox', value: 10 },
|
|
7
|
-
{ name: 'Edge', value: 6 },
|
|
8
|
-
{ name: 'Other', value: 3 },
|
|
9
|
-
];
|
|
10
|
-
|
|
11
|
-
<PieChart
|
|
12
|
-
data={data}
|
|
13
|
-
height={300}
|
|
14
|
-
donut
|
|
15
|
-
showLabels
|
|
16
|
-
showTooltip
|
|
17
|
-
showLegend
|
|
18
|
-
innerContent={<p>Center</p>}
|
|
19
|
-
/>`,language:"tsx"})})})}),e.jsx(a.PropPlayground,{componentName:"PieChart",defaultValues:{height:300,donut:!1,showLabels:!0,showTooltip:!0,showLegend:!0,animate:!0},excludeProps:["data","colors","className","innerContent","emptyMessage"],children:s=>e.jsx(a.PieChart,{data:t,...s})}),e.jsx(a.AutoPropsTable,{componentName:"PieChart"})]});exports.default=r;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("react"),s=require("../index-COj1N7FC.js");require("lucide-react");require("react-router-dom");require("react-dom");const l=()=>{const[a,i]=n.useState("");return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(s.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"PinCode"}),e.jsx(s.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A pin code input component for entering numeric codes digit by digit."})]}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"4 Digit PinCode"}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-2",children:"Pin Code"}),e.jsx(s.PinCode,{length:4,value:a,onChange:i})]})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"6 Digit PinCode"}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-2",children:"Verification Code"}),e.jsx(s.PinCode,{length:6,value:a,onChange:i})]})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"With Helper Text"}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-2",children:"Security Code"}),e.jsx(s.PinCode,{length:4,helperText:"Enter the 4-digit code",value:a,onChange:i})]})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"With Error"}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-2",children:"Pin Code"}),e.jsx(s.PinCode,{length:4,error:"Invalid pin code",value:a,onChange:i})]})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Disabled"}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-2",children:"Pin Code"}),e.jsx(s.PinCode,{length:4,disabled:!0})]})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Variants",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-2",children:"Ghost (default)"}),e.jsx(s.PinCode,{length:4,variant:"ghost"})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-2",children:"Solid"}),e.jsx(s.PinCode,{length:4,variant:"solid"})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-2",children:"Transparent"}),e.jsx(s.PinCode,{length:4,variant:"transparent"})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Colors & Sizes",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-2",children:"Different Colors"}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-1 text-xs",children:"Primary"}),e.jsx(s.PinCode,{length:4,color:"primary"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-1 text-xs",children:"Danger"}),e.jsx(s.PinCode,{length:4,color:"danger"})]})]})]}),e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-2",children:"Different Sizes"}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-1 text-xs",children:"Small"}),e.jsx(s.PinCode,{length:4,size:"sm"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-1 text-xs",children:"Medium"}),e.jsx(s.PinCode,{length:4,size:"md"})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"mb-1 text-xs",children:"Large"}),e.jsx(s.PinCode,{length:4,size:"lg"})]})]})]})]})})})}),e.jsx(s.AutoPropsTable,{componentName:"PinCode"}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(s.CodeBlock,{language:"tsx",code:`import { PinCode } from '@e-burgos/tucu-ui';
|
|
2
|
-
|
|
3
|
-
<PinCode
|
|
4
|
-
length={4}
|
|
5
|
-
value={value}
|
|
6
|
-
onChange={setValue}
|
|
7
|
-
/>
|
|
8
|
-
|
|
9
|
-
// Variants
|
|
10
|
-
<PinCode length={4} variant="ghost" />
|
|
11
|
-
<PinCode length={4} variant="solid" />
|
|
12
|
-
<PinCode length={4} variant="transparent" />
|
|
13
|
-
|
|
14
|
-
// Colors
|
|
15
|
-
<PinCode length={4} color="primary" />
|
|
16
|
-
<PinCode length={4} color="danger" />
|
|
17
|
-
<PinCode length={4} color="success" />
|
|
18
|
-
|
|
19
|
-
// Sizes
|
|
20
|
-
<PinCode length={4} size="sm" />
|
|
21
|
-
<PinCode length={4} size="md" />
|
|
22
|
-
<PinCode length={4} size="lg" />`})})})})]})};exports.default=l;
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
import { jsxs as a, Fragment as c, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useState as t } from "react";
|
|
3
|
-
import { T as l, C as i, a as r, s, A as h, c as m } from "../index-B919yoKU.js";
|
|
4
|
-
import "lucide-react";
|
|
5
|
-
import "react-router-dom";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
const b = () => {
|
|
8
|
-
const [n, d] = t("");
|
|
9
|
-
return /* @__PURE__ */ a(c, { children: [
|
|
10
|
-
/* @__PURE__ */ a("div", { className: "text-center space-y-4", children: [
|
|
11
|
-
/* @__PURE__ */ e(l, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "PinCode" }),
|
|
12
|
-
/* @__PURE__ */ e(
|
|
13
|
-
l,
|
|
14
|
-
{
|
|
15
|
-
tag: "p",
|
|
16
|
-
className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
|
|
17
|
-
children: "A pin code input component for entering numeric codes digit by digit."
|
|
18
|
-
}
|
|
19
|
-
)
|
|
20
|
-
] }),
|
|
21
|
-
/* @__PURE__ */ e(i, { className: "overflow-hidden", children: /* @__PURE__ */ e(r, { 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: [
|
|
22
|
-
/* @__PURE__ */ a(i, { className: "p-4", children: [
|
|
23
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "4 Digit PinCode" }),
|
|
24
|
-
/* @__PURE__ */ a("div", { children: [
|
|
25
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-2", children: "Pin Code" }),
|
|
26
|
-
/* @__PURE__ */ e(
|
|
27
|
-
s,
|
|
28
|
-
{
|
|
29
|
-
length: 4,
|
|
30
|
-
value: n,
|
|
31
|
-
onChange: d
|
|
32
|
-
}
|
|
33
|
-
)
|
|
34
|
-
] })
|
|
35
|
-
] }),
|
|
36
|
-
/* @__PURE__ */ a(i, { className: "p-4", children: [
|
|
37
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "6 Digit PinCode" }),
|
|
38
|
-
/* @__PURE__ */ a("div", { children: [
|
|
39
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-2", children: "Verification Code" }),
|
|
40
|
-
/* @__PURE__ */ e(
|
|
41
|
-
s,
|
|
42
|
-
{
|
|
43
|
-
length: 6,
|
|
44
|
-
value: n,
|
|
45
|
-
onChange: d
|
|
46
|
-
}
|
|
47
|
-
)
|
|
48
|
-
] })
|
|
49
|
-
] }),
|
|
50
|
-
/* @__PURE__ */ a(i, { className: "p-4", children: [
|
|
51
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "With Helper Text" }),
|
|
52
|
-
/* @__PURE__ */ a("div", { children: [
|
|
53
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-2", children: "Security Code" }),
|
|
54
|
-
/* @__PURE__ */ e(
|
|
55
|
-
s,
|
|
56
|
-
{
|
|
57
|
-
length: 4,
|
|
58
|
-
helperText: "Enter the 4-digit code",
|
|
59
|
-
value: n,
|
|
60
|
-
onChange: d
|
|
61
|
-
}
|
|
62
|
-
)
|
|
63
|
-
] })
|
|
64
|
-
] }),
|
|
65
|
-
/* @__PURE__ */ a(i, { className: "p-4", children: [
|
|
66
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "With Error" }),
|
|
67
|
-
/* @__PURE__ */ a("div", { children: [
|
|
68
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-2", children: "Pin Code" }),
|
|
69
|
-
/* @__PURE__ */ e(
|
|
70
|
-
s,
|
|
71
|
-
{
|
|
72
|
-
length: 4,
|
|
73
|
-
error: "Invalid pin code",
|
|
74
|
-
value: n,
|
|
75
|
-
onChange: d
|
|
76
|
-
}
|
|
77
|
-
)
|
|
78
|
-
] })
|
|
79
|
-
] }),
|
|
80
|
-
/* @__PURE__ */ a(i, { className: "p-4", children: [
|
|
81
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Disabled" }),
|
|
82
|
-
/* @__PURE__ */ a("div", { children: [
|
|
83
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-2", children: "Pin Code" }),
|
|
84
|
-
/* @__PURE__ */ e(s, { length: 4, disabled: !0 })
|
|
85
|
-
] })
|
|
86
|
-
] })
|
|
87
|
-
] }) }) }) }),
|
|
88
|
-
/* @__PURE__ */ e(i, { className: "overflow-hidden", children: /* @__PURE__ */ e(r, { 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: [
|
|
89
|
-
/* @__PURE__ */ a(i, { className: "p-4", children: [
|
|
90
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-2", children: "Ghost (default)" }),
|
|
91
|
-
/* @__PURE__ */ e(s, { length: 4, variant: "ghost" })
|
|
92
|
-
] }),
|
|
93
|
-
/* @__PURE__ */ a(i, { className: "p-4", children: [
|
|
94
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-2", children: "Solid" }),
|
|
95
|
-
/* @__PURE__ */ e(s, { length: 4, variant: "solid" })
|
|
96
|
-
] }),
|
|
97
|
-
/* @__PURE__ */ a(i, { className: "p-4", children: [
|
|
98
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-2", children: "Transparent" }),
|
|
99
|
-
/* @__PURE__ */ e(s, { length: 4, variant: "transparent" })
|
|
100
|
-
] })
|
|
101
|
-
] }) }) }) }),
|
|
102
|
-
/* @__PURE__ */ e(i, { className: "overflow-hidden", children: /* @__PURE__ */ e(r, { title: "Colors & Sizes", 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: [
|
|
103
|
-
/* @__PURE__ */ a(i, { className: "p-4", children: [
|
|
104
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-2", children: "Different Colors" }),
|
|
105
|
-
/* @__PURE__ */ a("div", { className: "space-y-4", children: [
|
|
106
|
-
/* @__PURE__ */ a("div", { children: [
|
|
107
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-1 text-xs", children: "Primary" }),
|
|
108
|
-
/* @__PURE__ */ e(s, { length: 4, color: "primary" })
|
|
109
|
-
] }),
|
|
110
|
-
/* @__PURE__ */ a("div", { children: [
|
|
111
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-1 text-xs", children: "Danger" }),
|
|
112
|
-
/* @__PURE__ */ e(s, { length: 4, color: "danger" })
|
|
113
|
-
] })
|
|
114
|
-
] })
|
|
115
|
-
] }),
|
|
116
|
-
/* @__PURE__ */ a(i, { className: "p-4", children: [
|
|
117
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-2", children: "Different Sizes" }),
|
|
118
|
-
/* @__PURE__ */ a("div", { className: "space-y-4", children: [
|
|
119
|
-
/* @__PURE__ */ a("div", { children: [
|
|
120
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-1 text-xs", children: "Small" }),
|
|
121
|
-
/* @__PURE__ */ e(s, { length: 4, size: "sm" })
|
|
122
|
-
] }),
|
|
123
|
-
/* @__PURE__ */ a("div", { children: [
|
|
124
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-1 text-xs", children: "Medium" }),
|
|
125
|
-
/* @__PURE__ */ e(s, { length: 4, size: "md" })
|
|
126
|
-
] }),
|
|
127
|
-
/* @__PURE__ */ a("div", { children: [
|
|
128
|
-
/* @__PURE__ */ e(l, { tag: "h5", className: "mb-1 text-xs", children: "Large" }),
|
|
129
|
-
/* @__PURE__ */ e(s, { length: 4, size: "lg" })
|
|
130
|
-
] })
|
|
131
|
-
] })
|
|
132
|
-
] })
|
|
133
|
-
] }) }) }) }),
|
|
134
|
-
/* @__PURE__ */ e(h, { componentName: "PinCode" }),
|
|
135
|
-
/* @__PURE__ */ e(i, { className: "overflow-hidden", children: /* @__PURE__ */ e(r, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
136
|
-
m,
|
|
137
|
-
{
|
|
138
|
-
language: "tsx",
|
|
139
|
-
code: `import { PinCode } from '@e-burgos/tucu-ui';
|
|
140
|
-
|
|
141
|
-
<PinCode
|
|
142
|
-
length={4}
|
|
143
|
-
value={value}
|
|
144
|
-
onChange={setValue}
|
|
145
|
-
/>
|
|
146
|
-
|
|
147
|
-
// Variants
|
|
148
|
-
<PinCode length={4} variant="ghost" />
|
|
149
|
-
<PinCode length={4} variant="solid" />
|
|
150
|
-
<PinCode length={4} variant="transparent" />
|
|
151
|
-
|
|
152
|
-
// Colors
|
|
153
|
-
<PinCode length={4} color="primary" />
|
|
154
|
-
<PinCode length={4} color="danger" />
|
|
155
|
-
<PinCode length={4} color="success" />
|
|
156
|
-
|
|
157
|
-
// Sizes
|
|
158
|
-
<PinCode length={4} size="sm" />
|
|
159
|
-
<PinCode length={4} size="md" />
|
|
160
|
-
<PinCode length={4} size="lg" />`
|
|
161
|
-
}
|
|
162
|
-
) }) }) })
|
|
163
|
-
] });
|
|
164
|
-
};
|
|
165
|
-
export {
|
|
166
|
-
b as default
|
|
167
|
-
};
|