@e-burgos/tucu-ui 2.0.8 → 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-DQHXQYml.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-Dbr8pnJS.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-yihyh7oT.js → BadgeSection-Cteg--jV.js} +29 -31
- package/documentation/BarChartSection-Clrho1um.js +23 -0
- package/documentation/{BarChartSection-vXs_Yolq.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-D_p0GeS5.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-BtsL1Kt8.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-ckUG_wKv.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-_nBvI_X8.js → CoinCardSection-DWe-P9aE.js} +69 -33
- package/documentation/{CoinInfoCardSection-AEcJ5uK3.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-BgyMQlIv.js → CollapseSection-DV4iEoTo.js} +30 -32
- package/documentation/CollectionCardSection-Cl5rgWzn.js +17 -0
- package/documentation/{CollectionCardSection-COmO7Vc5.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-M70OxN8v.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-D5pDeoKz.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-DrQtyycO.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-Dnh6Wf78.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-D2nnAJjT.js → ImageSection-BDC-XBOn.js} +17 -18
- package/documentation/ImageSection-C1nOKmH2.js +82 -0
- package/documentation/ImplementationExamplesSection-Cxl08TTf.js +305 -0
- package/documentation/{ImplementationExamplesSection-BKfCgO3N.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-BhJTN7zz.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-Bf6A4n7o.js → LayoutTypesSection-847E1FZA.js} +44 -43
- package/documentation/LayoutTypesSection-hnxHeuA2.js +1 -0
- package/documentation/LineChartSection-BFVXYiK4.js +21 -0
- package/documentation/{LineChartSection-BsupR4NA.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-Ba24GQNN.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-CfykWQ4k.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-ChPa1HVx.js → MenuItemsGuideSection-3rCQXRbI.js} +54 -28
- package/documentation/{MenuItemsGuideSection-D8eRUuUw.js → MenuItemsGuideSection-CW7znzf9.js} +2 -2
- package/documentation/ModalSection-B4Ay5tMm.js +30 -0
- package/documentation/{ModalSection-Df8_-5Mu.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-B5CPgG4B.js → NotificationCardSection-Dc9k9m0z.js} +25 -27
- package/documentation/NotificationCardSection-fW5poNpt.js +29 -0
- package/documentation/PaginationSection-Chxlsiar.js +19 -0
- package/documentation/{PaginationSection-30WC5ZN7.js → PaginationSection-Dkozx1NR.js} +45 -32
- package/documentation/{PanelActionCardSection-CC-DAySo.js → PanelActionCardSection-CrHET2qr.js} +15 -17
- package/documentation/PanelActionCardSection-DH2lDA1v.js +29 -0
- package/documentation/PanelCardSection-4huN71a_.js +16 -0
- package/documentation/{PanelCardSection-OBm47mh0.js → PanelCardSection-Cxgvd7E9.js} +14 -16
- package/documentation/{ParamTabSection-TcsbnNAx.js → ParamTabSection-CnjtpMbJ.js} +59 -36
- package/documentation/ParamTabSection-hI9LkIIz.js +94 -0
- package/documentation/{PieChartSection-DuRH9AFw.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-CrY3D0r8.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-D1NNa1Zb.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-DYHKnFn2.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-BjYOD-Ui.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-D1Z2lzGW.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-D7wP-dU3.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-cPdxSg37.js → TabModalSection-dg7LGi0f.js} +55 -31
- package/documentation/TabSection-DPBrpBDN.js +85 -0
- package/documentation/{TabSection-B0K0gRVb.js → TabSection-DnD_Te-M.js} +71 -49
- package/documentation/{TabSelectSection-or6HVCzs.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-DlOJ3rB6.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-CY2Mbvzy.js → ToastSection-C3RQpSox.js} +43 -45
- package/documentation/{ToastSection-BeNEBfZU.js → ToastSection-DF3L8jxW.js} +3 -2
- package/documentation/ToggleBarSection-CJmXFlZa.js +45 -0
- package/documentation/ToggleBarSection-D26Mzrf4.js +186 -0
- package/documentation/{TooltipSection-CoTGjIYK.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-DAwRhonX.js → TypographySection-BPidPkKl.js} +49 -51
- package/documentation/TypographySection-BVa4hd_u.js +33 -0
- package/documentation/TypographySection-Co79YcZL.js +1 -0
- package/documentation/{TypographySection-FEhLWV6X.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-D3gBsvbO.js → index-lfg6LZ1p.js} +35911 -27765
- 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-3tw3kbSC.js +0 -142
- package/documentation/APIReferenceSection-Bi_II-dh.js +0 -1
- package/documentation/ActiveLinkSection-CbQ9Ib2C.js +0 -22
- package/documentation/AdvancedColorSystemSection-C037qEf7.js +0 -17
- package/documentation/AdvancedColorSystemSection-eBshfqfD.js +0 -173
- package/documentation/AdvancedFeaturesSection-BYLSytEq.js +0 -82
- package/documentation/AdvancedFeaturesSection-CAG7FjH1.js +0 -1
- package/documentation/AdvancedFeaturesSection-CEhYolpb.js +0 -1
- package/documentation/AdvancedFeaturesSection-WMvC_2If.js +0 -100
- package/documentation/AlertSection-CzmwMiuZ.js +0 -98
- package/documentation/AlertSection-pIvh75mZ.js +0 -25
- package/documentation/AnchorLinkSection-diTL_uYY.js +0 -67
- package/documentation/AnchorLinkSection-vCfJpTVG.js +0 -19
- package/documentation/ArchitecturalPatternsComparisonSection-C-eRoUaS.js +0 -325
- package/documentation/ArchitecturalPatternsComparisonSection-FO_wmSbl.js +0 -31
- package/documentation/ArchitectureOverviewSection-DGvqMSQ0.js +0 -1
- package/documentation/ArchitectureOverviewSection-eB86uJbU.js +0 -88
- package/documentation/AreaChartSection-BdHkWEIb.js +0 -22
- package/documentation/AuthorCardSection-Bt0zkOUD.js +0 -17
- package/documentation/AuthorCardSection-C9h7A21b.js +0 -81
- package/documentation/AvatarSection-CrG4z7NV.js +0 -18
- package/documentation/AvatarSection-D9lO80xk.js +0 -91
- package/documentation/BadgeSection-C3ZMK9x_.js +0 -48
- package/documentation/BarChartSection-ninE-2Gk.js +0 -23
- package/documentation/BasicTableSection-BebGMD_K.js +0 -103
- package/documentation/BasicTableSection-CAWStbqv.js +0 -35
- package/documentation/BasicUsageSection-DodQMzbr.js +0 -103
- package/documentation/BasicUsageSection-MrvJphH5.js +0 -45
- package/documentation/BestPracticesSection-B6LVbicQ.js +0 -49
- package/documentation/BestPracticesSection-BeWcRejA.js +0 -41
- package/documentation/BestPracticesSection-CuKCCDE_.js +0 -1
- package/documentation/BestPracticesSection-D9Vu3Kmk.js +0 -83
- package/documentation/BestPracticesSection-D9l9mXg1.js +0 -1
- package/documentation/BestPracticesSection-DAQNq7Uq.js +0 -1
- package/documentation/BestPracticesSection-DDwlvSk9.js +0 -84
- package/documentation/BestPracticesSection-DYjT_pUO.js +0 -43
- package/documentation/BestPracticesSection-DcW9m66-.js +0 -1
- package/documentation/BestPracticesSection-DmPn1IqW.js +0 -1
- package/documentation/BestPracticesSection-DpIzRMX9.js +0 -1
- package/documentation/BestPracticesSection-DtG4Wv2c.js +0 -1
- package/documentation/BestPracticesSection-OQoXjdBp.js +0 -57
- package/documentation/BorderRadiusSection-C62w8z9T.js +0 -72
- package/documentation/BorderRadiusSection-CuZ8GG_0.js +0 -1
- package/documentation/ButtonDripSection-CznoyKBs.js +0 -21
- package/documentation/ButtonLoaderSection-B3jm0Tol.js +0 -30
- package/documentation/ButtonLoaderSection-BDtqxrUY.js +0 -155
- package/documentation/CardContainerSection-B8JvSNpy.js +0 -63
- package/documentation/CardContainerSection-CxfdSIAS.js +0 -21
- package/documentation/CardSection-D66ytgEc.js +0 -25
- package/documentation/CardTitleSection-PbgJ_cjd.js +0 -19
- package/documentation/CardTitleSection-eOKcETMp.js +0 -74
- package/documentation/CarouselCardsSection-CBG6p7HK.js +0 -147
- package/documentation/CarouselCardsSection-DO3LU16T.js +0 -37
- package/documentation/CarouselImageSection-BWhCTLiW.js +0 -152
- package/documentation/CarouselImageSection-C0xXpyka.js +0 -38
- package/documentation/CarouselSection-BxjV5FP1.js +0 -24
- package/documentation/CarouselSection-CjgQuZlV.js +0 -99
- package/documentation/CheckboxSection-BsMbLIWZ.js +0 -26
- package/documentation/CheckboxSection-C7eyYPAa.js +0 -137
- package/documentation/CodeExamplesSection-1kUyGWeU.js +0 -137
- package/documentation/CodeExamplesSection-CWmj5VeF.js +0 -28
- package/documentation/CoinCardSection-iY8J7SEG.js +0 -13
- package/documentation/CoinInfoCardSection-DUtW5rPH.js +0 -12
- package/documentation/CoinListBoxSection-CyUNnrfp.js +0 -24
- package/documentation/CoinListBoxSection-WDINLmD6.js +0 -106
- package/documentation/CollapseSection-BF47ExQb.js +0 -27
- package/documentation/CollectionCardSection-D81QeoBz.js +0 -17
- package/documentation/CollectionSelectListSection-BBvFYU73.js +0 -15
- package/documentation/CollectionSelectListSection-_ChExFJE.js +0 -120
- package/documentation/ColorCustomizationSection-D0mDozfQ.js +0 -117
- package/documentation/ColorCustomizationSection-sJ2eDKR0.js +0 -1
- package/documentation/ColorSystemSection-CHCxVk-I.js +0 -149
- package/documentation/ColorSystemSection-DUCsacWs.js +0 -1
- package/documentation/CommonErrorsSection-BKpCa6rH.js +0 -54
- package/documentation/CommonErrorsSection-C3bp7oeX.js +0 -1
- package/documentation/ComponentAnatomySection-BbsJXnu1.js +0 -72
- package/documentation/ComponentAnatomySection-Bcl5DWBQ.js +0 -1
- package/documentation/ComponentStatusSection-CMae0800.js +0 -1
- package/documentation/ComponentStatusSection-lHvcoI9y.js +0 -84
- package/documentation/ComposedChartSection-Bngkob8v.js +0 -21
- package/documentation/CurrencySwapIconsSection-C8Ux6YVv.js +0 -50
- package/documentation/CurrencySwapIconsSection-DiR8Lm4T.js +0 -7
- package/documentation/CustomColorPaletteSection-7dKh6HB9.js +0 -54
- package/documentation/CustomColorPaletteSection-C35acsIh.js +0 -19
- package/documentation/CustomIconsSection-DPDDT3QV.js +0 -162
- package/documentation/CustomIconsSection-DtSZNlaG.js +0 -3
- package/documentation/DefiAppLogoSection-BkneLGwI.js +0 -120
- package/documentation/DefiAppLogoSection-Dytt0bXd.js +0 -36
- package/documentation/DesignPrinciplesSection-BOiDQmuk.js +0 -1
- package/documentation/DesignPrinciplesSection-GaW5AHDx.js +0 -81
- package/documentation/DrawerSection-Hniq0ExB.js +0 -41
- package/documentation/DynamicRoutesSection-B-wIQRz6.js +0 -100
- package/documentation/DynamicRoutesSection-EyN4-iMU.js +0 -42
- package/documentation/FileInputSection-BRBK7QWu.js +0 -65
- package/documentation/FileInputSection-CgDB4RB5.js +0 -277
- package/documentation/FileStructureSection-CSKmwLEr.js +0 -26
- package/documentation/FormComponentsSection-Ctj1Myfu.js +0 -116
- package/documentation/FormComponentsSection-Dc-8r3Dp.js +0 -1
- package/documentation/FormMethodsSection-B0CH8AFm.js +0 -119
- package/documentation/FormMethodsSection-BNAJnxtE.js +0 -55
- package/documentation/HamburgerSection-DhrGpeO0.js +0 -18
- package/documentation/HookCategoriesSection-DvMKFjMc.js +0 -1
- package/documentation/HookCategoriesSection-DxPpsCI_.js +0 -97
- package/documentation/HookDocumentationSection-CgZD1tOq.js +0 -272
- package/documentation/HookDocumentationSection-Ml6FfZD7.js +0 -73
- package/documentation/HookFeaturesSection-DXGn9w9N.js +0 -81
- package/documentation/HookFeaturesSection-DoWYjwx3.js +0 -1
- package/documentation/IconArchitectureSection-BAVtVvWp.js +0 -1
- package/documentation/IconArchitectureSection-OOghFbiq.js +0 -108
- package/documentation/IconSizingGuideSection-CF9itTi0.js +0 -69
- package/documentation/IconSizingGuideSection-vD6v4fMa.js +0 -1
- package/documentation/IconSystemAPISection-BSOV3etR.js +0 -1
- package/documentation/IconSystemAPISection-D6eLCOaG.js +0 -61
- package/documentation/IconSystemBenefitsSection-CLjshxlO.js +0 -1
- package/documentation/IconSystemBenefitsSection-Cv_9L1Kq.js +0 -41
- package/documentation/ImageSection-CKKC4aJN.js +0 -80
- package/documentation/ImplementationExamplesSection-DXqrijp1.js +0 -284
- package/documentation/ImplementationGuidelinesSection-7Y4ZRzgG.js +0 -52
- package/documentation/ImplementationGuidelinesSection-CdbW-zbQ.js +0 -1
- package/documentation/ImplementationStatusSection-BFNsxVIb.js +0 -23
- package/documentation/ImplementationStatusSection-eRpOuc9O.js +0 -1
- package/documentation/ImplementedFeaturesSection-LQqKN75c.js +0 -116
- package/documentation/ImplementedFeaturesSection-vdhErGHI.js +0 -1
- package/documentation/InfoCardSection-Brt8Px1M.js +0 -37
- package/documentation/InputSearcherSection-BDc9Ymtf.js +0 -32
- package/documentation/InputSearcherSection-CNmnq7Gc.js +0 -180
- package/documentation/InputSection-Dd2sBkoW.js +0 -37
- package/documentation/InputSection-DzPq_I1Q.js +0 -159
- package/documentation/KeyValueRowSection-DABdzrIi.js +0 -104
- package/documentation/KeyValueRowSection-J2dPxoZS.js +0 -16
- package/documentation/KeyboardNavigationSection-AU-ysaQM.js +0 -69
- package/documentation/KeyboardNavigationSection-DvzCL_fF.js +0 -1
- package/documentation/LayoutPrinciplesSection-B1JTervM.js +0 -1
- package/documentation/LayoutPrinciplesSection-DOzrWMwV.js +0 -106
- package/documentation/LayoutTypesSection-DwAR3avS.js +0 -1
- package/documentation/LineChartSection-B0G_cUQK.js +0 -21
- package/documentation/ListContainerSection-C3uVOfda.js +0 -125
- package/documentation/ListContainerSection-Dnx_3dZ9.js +0 -38
- package/documentation/ListItemSection-DT3H_Ias.js +0 -36
- package/documentation/LiveDemoSection-C8RKb2J9.js +0 -1
- package/documentation/LiveDemoSection-DlZp0AJU.js +0 -16
- package/documentation/LiveDemonstrationsSection-BB_ccb5S.js +0 -4
- package/documentation/LiveDemonstrationsSection-DRB4N92_.js +0 -445
- package/documentation/LivePriceFeedSection-Dc-WTk58.js +0 -20
- package/documentation/LivePriceFeedSection-j_73wZas.js +0 -97
- package/documentation/LoaderSection-BQiBqcx7.js +0 -22
- package/documentation/LoaderSection-Bh-7FMwt.js +0 -98
- package/documentation/LogoSection-D4muoIqm.js +0 -100
- package/documentation/LucideIconsSection-BcZP__26.js +0 -128
- package/documentation/LucideIconsSection-BwABNPko.js +0 -1
- package/documentation/MFESupportSection-BHDOPkT0.js +0 -354
- package/documentation/MFESupportSection-C8JljXvo.js +0 -122
- package/documentation/ModalSection-CmRW0lMU.js +0 -29
- package/documentation/NFTGridSection-DFUFgtKg.js +0 -117
- package/documentation/NFTGridSection-DFudkupA.js +0 -19
- package/documentation/NestedRoutesSection-C8UBWGHx.js +0 -88
- package/documentation/NestedRoutesSection-CcrsqPxg.js +0 -36
- package/documentation/NotificationCardSection-YXMF3x55.js +0 -28
- package/documentation/PaginationSection-Bo5cGJPv.js +0 -18
- package/documentation/PanelActionCardSection-XHOuTUHD.js +0 -28
- package/documentation/PanelCardSection-BuALUip4.js +0 -15
- package/documentation/ParamTabSection-Do6psgA6.js +0 -92
- package/documentation/PieChartSection-Donq3tpM.js +0 -19
- package/documentation/PinCodeSection-CALXe-QN.js +0 -167
- package/documentation/PinCodeSection-CKZtH4xU.js +0 -22
- package/documentation/ProgressbarSection-BiSzB70h.js +0 -21
- package/documentation/ProgressbarSection-RSBVXiEx.js +0 -144
- package/documentation/RadarChartSection-DJHkW4Iv.js +0 -21
- package/documentation/RadioGroupSection-BP3Q14TK.js +0 -192
- package/documentation/RadioGroupSection-CoDOy57g.js +0 -27
- package/documentation/RadioSection-BmVNxa2g.js +0 -23
- package/documentation/RadioSection-DycbvkTC.js +0 -130
- package/documentation/RevealContentSection-DJLCAigH.js +0 -21
- package/documentation/RouteConfigurationSection-Drc5LJiF.js +0 -81
- package/documentation/RouteConfigurationSection-nhWEjPVc.js +0 -40
- package/documentation/ScrollToTopSection-CD0lf-YM.js +0 -142
- package/documentation/ScrollToTopSection-Dg1DqNQU.js +0 -36
- package/documentation/ScrollbarSection-DcH7wKa4.js +0 -29
- package/documentation/SelectSection-BsqXWvqu.js +0 -39
- package/documentation/SelectSection-Bw7z6boY.js +0 -242
- package/documentation/SettingsPanelSection-BL1MGm6Q.js +0 -126
- package/documentation/SettingsPanelSection-CTuxkv-A.js +0 -1
- package/documentation/ShadowsSection-BxIUSqgJ.js +0 -1
- package/documentation/ShadowsSection-DEDnh4VA.js +0 -90
- package/documentation/SidebarMenuSection-B566bFj0.js +0 -80
- package/documentation/SidebarMenuSection-C_FRWnLf.js +0 -46
- package/documentation/SidebarSection-BxcsWxss.js +0 -62
- package/documentation/SidebarSection-x6UljOok.js +0 -25
- package/documentation/SizingSection-Bkk50xTx.js +0 -1
- package/documentation/SizingSection-DmDvMmpv.js +0 -86
- package/documentation/SkeletonSection-CtCnpdjN.js +0 -52
- package/documentation/SpacingSystemSection-kZaFDYxR.js +0 -1
- package/documentation/SpinnerSection-Cy4RKNBM.js +0 -80
- package/documentation/SpinnerSection-JoJL6hKq.js +0 -17
- package/documentation/StandaloneAppSection-BnE09OsJ.js +0 -69
- package/documentation/StandaloneAppSection-Dn2EcBsk.js +0 -244
- package/documentation/StepperSection-dLbIrNgm.js +0 -28
- package/documentation/SwitchSection-D_063gA9.js +0 -20
- package/documentation/SwitchSection-_aCMYfZ_.js +0 -152
- package/documentation/SystemOverviewSection-BWie2kgj.js +0 -1
- package/documentation/SystemOverviewSection-zs1sgBU4.js +0 -93
- package/documentation/TabModalSection-DAR0pwr1.js +0 -51
- package/documentation/TabSection-BxVPhqk9.js +0 -84
- package/documentation/TabSelectSection-CQ_IXo8B.js +0 -100
- package/documentation/TailwindConfigSection-BcZJYWM7.js +0 -19
- package/documentation/TailwindConfigSection-DTJZOW6I.js +0 -152
- package/documentation/TestingSection-8TPddPms.js +0 -48
- package/documentation/TestingSection-BorSrvSC.js +0 -12
- package/documentation/TextareaSection-BNvWR0os.js +0 -21
- package/documentation/TextareaSection-Bweh8_uz.js +0 -142
- package/documentation/ThemeArchitectureSection-B4Gn1V7O.js +0 -86
- package/documentation/ThemeArchitectureSection-CJ0hFkh6.js +0 -1
- package/documentation/ThemeConfigurationSection-4LSUu_UO.js +0 -1
- package/documentation/ThemeConfigurationSection-CeifudQ5.js +0 -132
- package/documentation/ThemeHooksSection-CGJts7Ed.js +0 -119
- package/documentation/ThemeHooksSection-CPhNS-qC.js +0 -1
- package/documentation/ThemeProviderIntegrationSection-88jAWm2A.js +0 -61
- package/documentation/ThemeProviderIntegrationSection-BbKuNCBE.js +0 -108
- package/documentation/ThemeProviderRequiredSection-BwXR1i1V.js +0 -1
- package/documentation/ThemeProviderSection-Bh7hWBV8.js +0 -128
- package/documentation/ThemeProviderSection-D6v8Vlhs.js +0 -1
- package/documentation/ToggleBarSection-BCAgChf-.js +0 -127
- package/documentation/ToggleBarSection-Dw4ywuTP.js +0 -37
- package/documentation/TooltipSection-CWZ2P_XP.js +0 -62
- package/documentation/TopupButtonSection-CUyRtVu1.js +0 -24
- package/documentation/TopupButtonSection-DibjXivu.js +0 -100
- package/documentation/TransactionInfoSection-CP75u7WX.js +0 -16
- package/documentation/TransactionInfoSection-DDg2tzY8.js +0 -65
- package/documentation/TucuUiLogoSection-BVMLRhro.js +0 -88
- package/documentation/TucuUiLogoSection-DjvrfpTA.js +0 -26
- package/documentation/TypographySection-DrWlVZdp.js +0 -32
- package/documentation/TypographySection-RTEBtLau.js +0 -1
- package/documentation/UsageExamplesSection-CQsfAsO1.js +0 -147
- package/documentation/UsageExamplesSection-Cika-E5i.js +0 -83
- package/documentation/UsingThemeSystemSection-BXzyzQVv.js +0 -176
- package/documentation/UsingThemeSystemSection-CDie8_J5.js +0 -140
- package/documentation/ValidationSystemSection-Ca9vjcW1.js +0 -54
- package/documentation/ValidationSystemSection-CiTBMt8_.js +0 -197
- package/documentation/WCAGPrinciplesSection-B9sZXPfQ.js +0 -116
- package/documentation/WCAGPrinciplesSection-C9SsLYli.js +0 -1
- package/index-VrMogvDN.js +0 -1137
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
-
import { C as a, a as r, T as n, c as o } from "../index-D3gBsvbO.js";
|
|
3
|
-
import { Settings as i, Play as s } from "lucide-react";
|
|
4
|
-
import "react-router-dom";
|
|
5
|
-
import "react";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
const f = () => /* @__PURE__ */ e("div", { className: "space-y-8", children: /* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(r, { title: "Route Configuration", className: "mt-2 mb-6", children: /* @__PURE__ */ t("div", { className: "space-y-8", children: [
|
|
8
|
-
/* @__PURE__ */ t("div", { className: "space-y-4", children: [
|
|
9
|
-
/* @__PURE__ */ t("div", { className: "flex items-center gap-3", children: [
|
|
10
|
-
/* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-blue-500 to-cyan-500 shadow-lg", children: /* @__PURE__ */ e(i, { className: "w-5 h-5 text-white filter drop-shadow-sm" }) }),
|
|
11
|
-
/* @__PURE__ */ e(n, { tag: "h4", className: "font-semibold", children: "StandaloneAppRoutesMenuItem Interface" })
|
|
12
|
-
] }),
|
|
13
|
-
/* @__PURE__ */ t(
|
|
14
|
-
n,
|
|
15
|
-
{
|
|
16
|
-
tag: "p",
|
|
17
|
-
className: "text-sm text-gray-600 dark:text-gray-400",
|
|
18
|
-
children: [
|
|
19
|
-
"For single applications, routes are defined using the",
|
|
20
|
-
" ",
|
|
21
|
-
/* @__PURE__ */ e("code", { className: "px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs", children: "StandaloneAppRoutesMenuItem" }),
|
|
22
|
-
" ",
|
|
23
|
-
"interface which extends",
|
|
24
|
-
" ",
|
|
25
|
-
/* @__PURE__ */ e("code", { className: "px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs", children: "IMenuItem" }),
|
|
26
|
-
"."
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
),
|
|
30
|
-
/* @__PURE__ */ e(o, { language: "typescript", code: `interface StandaloneAppRoutesMenuItem extends Omit<IMenuItem, 'dropdownItems'> {
|
|
31
|
-
component: JSX.Element; // The component to render
|
|
32
|
-
dropdownItems?: StandaloneAppRoutesMenuItem[]; // Optional sub-routes
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
interface IMenuItem {
|
|
36
|
-
name: string; // Display name for the menu item
|
|
37
|
-
path: string; // URL path for the route
|
|
38
|
-
icon?: React.ReactNode; // Optional icon component
|
|
39
|
-
href?: string; // Optional external URL
|
|
40
|
-
hide?: boolean; // Hide from navigation
|
|
41
|
-
isActive?: boolean; // Force active state
|
|
42
|
-
onClick?: () => void; // Optional click handler
|
|
43
|
-
}` })
|
|
44
|
-
] }),
|
|
45
|
-
/* @__PURE__ */ t("div", { className: "space-y-4", children: [
|
|
46
|
-
/* @__PURE__ */ t("div", { className: "flex items-center gap-3", children: [
|
|
47
|
-
/* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-green-500 to-emerald-500 shadow-lg", children: /* @__PURE__ */ e(s, { className: "w-5 h-5 text-white filter drop-shadow-sm" }) }),
|
|
48
|
-
/* @__PURE__ */ e(n, { tag: "h4", className: "font-semibold", children: "Basic Usage" })
|
|
49
|
-
] }),
|
|
50
|
-
/* @__PURE__ */ e(o, { language: "tsx", code: `import { StandaloneAppThemeProvider } from '@e-burgos/tucu-ui';
|
|
51
|
-
import { Introduction } from './pages/Introduction';
|
|
52
|
-
import { ThemingGuide } from './pages/ThemingGuide';
|
|
53
|
-
|
|
54
|
-
const menuItems = [
|
|
55
|
-
{
|
|
56
|
-
name: 'Introduction',
|
|
57
|
-
path: '/',
|
|
58
|
-
icon: <LucideIcons.Home />,
|
|
59
|
-
component: <Introduction />,
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
name: 'Theming',
|
|
63
|
-
path: '/theming-guide',
|
|
64
|
-
icon: <LucideIcons.Paintbrush />,
|
|
65
|
-
component: <ThemingGuide />,
|
|
66
|
-
},
|
|
67
|
-
];
|
|
68
|
-
|
|
69
|
-
function App() {
|
|
70
|
-
return (
|
|
71
|
-
<StandaloneAppThemeProvider
|
|
72
|
-
menuItems={menuItems}
|
|
73
|
-
logo={{ name: 'My', secondName: 'App' }}
|
|
74
|
-
/>
|
|
75
|
-
);
|
|
76
|
-
}` })
|
|
77
|
-
] })
|
|
78
|
-
] }) }) }) });
|
|
79
|
-
export {
|
|
80
|
-
f as default
|
|
81
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-VrMogvDN.js"),n=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>e.jsx("div",{className:"space-y-8",children:e.jsx(t.CardContainer,{children:e.jsx(t.CardTitle,{title:"Route Configuration",className:"mt-2 mb-6",children:e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-blue-500 to-cyan-500 shadow-lg",children:e.jsx(n.Settings,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(t.Typography,{tag:"h4",className:"font-semibold",children:"StandaloneAppRoutesMenuItem Interface"})]}),e.jsxs(t.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400",children:["For single applications, routes are defined using the"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs",children:"StandaloneAppRoutesMenuItem"})," ","interface which extends"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs",children:"IMenuItem"}),"."]}),e.jsx(t.CodeBlock,{language:"typescript",code:`interface StandaloneAppRoutesMenuItem extends Omit<IMenuItem, 'dropdownItems'> {
|
|
2
|
-
component: JSX.Element; // The component to render
|
|
3
|
-
dropdownItems?: StandaloneAppRoutesMenuItem[]; // Optional sub-routes
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
interface IMenuItem {
|
|
7
|
-
name: string; // Display name for the menu item
|
|
8
|
-
path: string; // URL path for the route
|
|
9
|
-
icon?: React.ReactNode; // Optional icon component
|
|
10
|
-
href?: string; // Optional external URL
|
|
11
|
-
hide?: boolean; // Hide from navigation
|
|
12
|
-
isActive?: boolean; // Force active state
|
|
13
|
-
onClick?: () => void; // Optional click handler
|
|
14
|
-
}`})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-green-500 to-emerald-500 shadow-lg",children:e.jsx(n.Play,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(t.Typography,{tag:"h4",className:"font-semibold",children:"Basic Usage"})]}),e.jsx(t.CodeBlock,{language:"tsx",code:`import { StandaloneAppThemeProvider } from '@e-burgos/tucu-ui';
|
|
15
|
-
import { Introduction } from './pages/Introduction';
|
|
16
|
-
import { ThemingGuide } from './pages/ThemingGuide';
|
|
17
|
-
|
|
18
|
-
const menuItems = [
|
|
19
|
-
{
|
|
20
|
-
name: 'Introduction',
|
|
21
|
-
path: '/',
|
|
22
|
-
icon: <LucideIcons.Home />,
|
|
23
|
-
component: <Introduction />,
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
name: 'Theming',
|
|
27
|
-
path: '/theming-guide',
|
|
28
|
-
icon: <LucideIcons.Paintbrush />,
|
|
29
|
-
component: <ThemingGuide />,
|
|
30
|
-
},
|
|
31
|
-
];
|
|
32
|
-
|
|
33
|
-
function App() {
|
|
34
|
-
return (
|
|
35
|
-
<StandaloneAppThemeProvider
|
|
36
|
-
menuItems={menuItems}
|
|
37
|
-
logo={{ name: 'My', secondName: 'App' }}
|
|
38
|
-
/>
|
|
39
|
-
);
|
|
40
|
-
}`})]})]})})})});exports.default=o;
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { jsxs as t, Fragment as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { T as o, C as l, a, P as c, as as n, A as i, c as d } from "../index-D3gBsvbO.js";
|
|
3
|
-
import "lucide-react";
|
|
4
|
-
import "react-router-dom";
|
|
5
|
-
import "react";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
const T = () => /* @__PURE__ */ t(s, { children: [
|
|
8
|
-
/* @__PURE__ */ t("div", { className: "text-center space-y-4", children: [
|
|
9
|
-
/* @__PURE__ */ e(o, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "ScrollToTop" }),
|
|
10
|
-
/* @__PURE__ */ e(
|
|
11
|
-
o,
|
|
12
|
-
{
|
|
13
|
-
tag: "p",
|
|
14
|
-
className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
|
|
15
|
-
children: "A utility component that displays a floating button to scroll back to the top of the page. It automatically scrolls to top when the route changes and shows a button when the user scrolls down."
|
|
16
|
-
}
|
|
17
|
-
)
|
|
18
|
-
] }),
|
|
19
|
-
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(a, { title: "Basic Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ t("div", { className: "space-y-4", children: [
|
|
20
|
-
/* @__PURE__ */ t(l, { className: "p-4", children: [
|
|
21
|
-
/* @__PURE__ */ e(o, { tag: "h5", className: "mb-3", children: "Default Usage" }),
|
|
22
|
-
/* @__PURE__ */ e(o, { tag: "p", className: "mb-4", children: "Add this component to your router or app component. By default, it displays a button in the bottom-right corner (24px from edges) that appears when you scroll down more than 400px." }),
|
|
23
|
-
/* @__PURE__ */ e(
|
|
24
|
-
o,
|
|
25
|
-
{
|
|
26
|
-
tag: "p",
|
|
27
|
-
className: "text-sm text-gray-600 dark:text-gray-400 mb-4",
|
|
28
|
-
children: "The button automatically scrolls to the top when clicked and also scrolls to top whenever the route changes."
|
|
29
|
-
}
|
|
30
|
-
),
|
|
31
|
-
/* @__PURE__ */ e("div", { className: "bg-gray-100 dark:bg-gray-800 p-4 rounded-lg", children: /* @__PURE__ */ e(o, { tag: "p", className: "text-sm", children: "Scroll down on this page to see the button appear in the bottom-right corner." }) })
|
|
32
|
-
] }),
|
|
33
|
-
/* @__PURE__ */ t(l, { className: "p-4", children: [
|
|
34
|
-
/* @__PURE__ */ e(o, { tag: "h5", className: "mb-3", children: "Custom Position" }),
|
|
35
|
-
/* @__PURE__ */ e(o, { tag: "p", className: "mb-4", children: "You can customize the button position using the position props." }),
|
|
36
|
-
/* @__PURE__ */ t("div", { className: "space-y-2 text-sm", children: [
|
|
37
|
-
/* @__PURE__ */ t(o, { tag: "p", children: [
|
|
38
|
-
/* @__PURE__ */ e("code", { className: "text-brand", children: "top-left:" }),
|
|
39
|
-
" ",
|
|
40
|
-
/* @__PURE__ */ e("code", { children: "<ScrollToTop top={20} left={20} />" })
|
|
41
|
-
] }),
|
|
42
|
-
/* @__PURE__ */ t(o, { tag: "p", children: [
|
|
43
|
-
/* @__PURE__ */ e("code", { className: "text-brand", children: "top-right:" }),
|
|
44
|
-
" ",
|
|
45
|
-
/* @__PURE__ */ e("code", { children: "<ScrollToTop top={20} right={20} />" })
|
|
46
|
-
] }),
|
|
47
|
-
/* @__PURE__ */ t(o, { tag: "p", children: [
|
|
48
|
-
/* @__PURE__ */ e("code", { className: "text-brand", children: "bottom-left:" }),
|
|
49
|
-
" ",
|
|
50
|
-
/* @__PURE__ */ e("code", { children: "<ScrollToTop bottom={20} left={20} />" })
|
|
51
|
-
] }),
|
|
52
|
-
/* @__PURE__ */ t(o, { tag: "p", children: [
|
|
53
|
-
/* @__PURE__ */ e("code", { className: "text-brand", children: "bottom-right:" }),
|
|
54
|
-
" ",
|
|
55
|
-
/* @__PURE__ */ e("code", { children: "<ScrollToTop bottom={20} right={20} />" })
|
|
56
|
-
] })
|
|
57
|
-
] })
|
|
58
|
-
] }),
|
|
59
|
-
/* @__PURE__ */ t(l, { className: "p-4", children: [
|
|
60
|
-
/* @__PURE__ */ e(o, { tag: "h5", className: "mb-3", children: "Custom Size and Threshold" }),
|
|
61
|
-
/* @__PURE__ */ e(o, { tag: "p", className: "mb-4", children: "Control when the button appears and its size." }),
|
|
62
|
-
/* @__PURE__ */ t("div", { className: "space-y-2 text-sm", children: [
|
|
63
|
-
/* @__PURE__ */ t(o, { tag: "p", children: [
|
|
64
|
-
/* @__PURE__ */ e("code", { className: "text-brand", children: "Small button:" }),
|
|
65
|
-
" ",
|
|
66
|
-
/* @__PURE__ */ e("code", { children: '<ScrollToTop size="small" />' })
|
|
67
|
-
] }),
|
|
68
|
-
/* @__PURE__ */ t(o, { tag: "p", children: [
|
|
69
|
-
/* @__PURE__ */ e("code", { className: "text-brand", children: "Large button:" }),
|
|
70
|
-
" ",
|
|
71
|
-
/* @__PURE__ */ e("code", { children: '<ScrollToTop size="large" />' })
|
|
72
|
-
] }),
|
|
73
|
-
/* @__PURE__ */ t(o, { tag: "p", children: [
|
|
74
|
-
/* @__PURE__ */ e("code", { className: "text-brand", children: "Show after 200px:" }),
|
|
75
|
-
" ",
|
|
76
|
-
/* @__PURE__ */ e("code", { children: "<ScrollToTop showAfter={200} />" })
|
|
77
|
-
] })
|
|
78
|
-
] })
|
|
79
|
-
] })
|
|
80
|
-
] }) }) }) }),
|
|
81
|
-
/* @__PURE__ */ e(
|
|
82
|
-
c,
|
|
83
|
-
{
|
|
84
|
-
componentName: "ScrollToTop",
|
|
85
|
-
defaultValues: {
|
|
86
|
-
size: "large",
|
|
87
|
-
showAfter: 400,
|
|
88
|
-
bottom: "45%",
|
|
89
|
-
right: 50,
|
|
90
|
-
behavior: "smooth"
|
|
91
|
-
},
|
|
92
|
-
excludeProps: ["scrollContainer"],
|
|
93
|
-
children: (r) => /* @__PURE__ */ e(n, { ...r })
|
|
94
|
-
}
|
|
95
|
-
),
|
|
96
|
-
/* @__PURE__ */ e(i, { componentName: "ScrollToTop" }),
|
|
97
|
-
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(a, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
98
|
-
d,
|
|
99
|
-
{
|
|
100
|
-
language: "tsx",
|
|
101
|
-
code: `import { ScrollToTop } from '@e-burgos/tucu-ui';
|
|
102
|
-
import { BrowserRouter } from 'react-router-dom';
|
|
103
|
-
|
|
104
|
-
function App() {
|
|
105
|
-
return (
|
|
106
|
-
<BrowserRouter>
|
|
107
|
-
{/* Default: bottom-right, 24px from edges */}
|
|
108
|
-
<ScrollToTop />
|
|
109
|
-
|
|
110
|
-
{/* Custom position: top-left */}
|
|
111
|
-
<ScrollToTop top={20} left={20} />
|
|
112
|
-
|
|
113
|
-
{/* Custom size and threshold */}
|
|
114
|
-
<ScrollToTop size="large" showAfter={200} />
|
|
115
|
-
|
|
116
|
-
{/* Custom position with all props */}
|
|
117
|
-
<ScrollToTop
|
|
118
|
-
bottom={32}
|
|
119
|
-
right={32}
|
|
120
|
-
size="small"
|
|
121
|
-
showAfter={300}
|
|
122
|
-
className="custom-class"
|
|
123
|
-
/>
|
|
124
|
-
|
|
125
|
-
{/* Your routes */}
|
|
126
|
-
</BrowserRouter>
|
|
127
|
-
);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
// The component:
|
|
131
|
-
// - Displays a floating button when user scrolls down
|
|
132
|
-
// - Automatically scrolls to top when route changes
|
|
133
|
-
// - Uses smooth scrolling behavior
|
|
134
|
-
// - Works with React Router
|
|
135
|
-
// - Button appears after scrolling showAfter pixels (default: 400px)
|
|
136
|
-
// - Position is fixed, customizable via props`
|
|
137
|
-
}
|
|
138
|
-
) }) }) })
|
|
139
|
-
] });
|
|
140
|
-
export {
|
|
141
|
-
T as default
|
|
142
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("../index-VrMogvDN.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const s=()=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(o.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"ScrollToTop"}),e.jsx(o.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A utility component that displays a floating button to scroll back to the top of the page. It automatically scrolls to top when the route changes and shows a button when the user scrolls down."})]}),e.jsx(o.CardContainer,{className:"overflow-hidden",children:e.jsx(o.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs(o.CardContainer,{className:"p-4",children:[e.jsx(o.Typography,{tag:"h5",className:"mb-3",children:"Default Usage"}),e.jsx(o.Typography,{tag:"p",className:"mb-4",children:"Add this component to your router or app component. By default, it displays a button in the bottom-right corner (24px from edges) that appears when you scroll down more than 400px."}),e.jsx(o.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-4",children:"The button automatically scrolls to the top when clicked and also scrolls to top whenever the route changes."}),e.jsx("div",{className:"bg-gray-100 dark:bg-gray-800 p-4 rounded-lg",children:e.jsx(o.Typography,{tag:"p",className:"text-sm",children:"Scroll down on this page to see the button appear in the bottom-right corner."})})]}),e.jsxs(o.CardContainer,{className:"p-4",children:[e.jsx(o.Typography,{tag:"h5",className:"mb-3",children:"Custom Position"}),e.jsx(o.Typography,{tag:"p",className:"mb-4",children:"You can customize the button position using the position props."}),e.jsxs("div",{className:"space-y-2 text-sm",children:[e.jsxs(o.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"top-left:"})," ",e.jsx("code",{children:"<ScrollToTop top={20} left={20} />"})]}),e.jsxs(o.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"top-right:"})," ",e.jsx("code",{children:"<ScrollToTop top={20} right={20} />"})]}),e.jsxs(o.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"bottom-left:"})," ",e.jsx("code",{children:"<ScrollToTop bottom={20} left={20} />"})]}),e.jsxs(o.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"bottom-right:"})," ",e.jsx("code",{children:"<ScrollToTop bottom={20} right={20} />"})]})]})]}),e.jsxs(o.CardContainer,{className:"p-4",children:[e.jsx(o.Typography,{tag:"h5",className:"mb-3",children:"Custom Size and Threshold"}),e.jsx(o.Typography,{tag:"p",className:"mb-4",children:"Control when the button appears and its size."}),e.jsxs("div",{className:"space-y-2 text-sm",children:[e.jsxs(o.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"Small button:"})," ",e.jsx("code",{children:'<ScrollToTop size="small" />'})]}),e.jsxs(o.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"Large button:"})," ",e.jsx("code",{children:'<ScrollToTop size="large" />'})]}),e.jsxs(o.Typography,{tag:"p",children:[e.jsx("code",{className:"text-brand",children:"Show after 200px:"})," ",e.jsx("code",{children:"<ScrollToTop showAfter={200} />"})]})]})]})]})})})}),e.jsx(o.PropPlayground,{componentName:"ScrollToTop",defaultValues:{size:"large",showAfter:400,bottom:"45%",right:50,behavior:"smooth"},excludeProps:["scrollContainer"],children:t=>e.jsx(o.ScrollToTop,{...t})}),e.jsx(o.AutoPropsTable,{componentName:"ScrollToTop"}),e.jsx(o.CardContainer,{className:"overflow-hidden",children:e.jsx(o.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(o.CodeBlock,{language:"tsx",code:`import { ScrollToTop } from '@e-burgos/tucu-ui';
|
|
2
|
-
import { BrowserRouter } from 'react-router-dom';
|
|
3
|
-
|
|
4
|
-
function App() {
|
|
5
|
-
return (
|
|
6
|
-
<BrowserRouter>
|
|
7
|
-
{/* Default: bottom-right, 24px from edges */}
|
|
8
|
-
<ScrollToTop />
|
|
9
|
-
|
|
10
|
-
{/* Custom position: top-left */}
|
|
11
|
-
<ScrollToTop top={20} left={20} />
|
|
12
|
-
|
|
13
|
-
{/* Custom size and threshold */}
|
|
14
|
-
<ScrollToTop size="large" showAfter={200} />
|
|
15
|
-
|
|
16
|
-
{/* Custom position with all props */}
|
|
17
|
-
<ScrollToTop
|
|
18
|
-
bottom={32}
|
|
19
|
-
right={32}
|
|
20
|
-
size="small"
|
|
21
|
-
showAfter={300}
|
|
22
|
-
className="custom-class"
|
|
23
|
-
/>
|
|
24
|
-
|
|
25
|
-
{/* Your routes */}
|
|
26
|
-
</BrowserRouter>
|
|
27
|
-
);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
// The component:
|
|
31
|
-
// - Displays a floating button when user scrolls down
|
|
32
|
-
// - Automatically scrolls to top when route changes
|
|
33
|
-
// - Uses smooth scrolling behavior
|
|
34
|
-
// - Works with React Router
|
|
35
|
-
// - Button appears after scrolling showAfter pixels (default: 400px)
|
|
36
|
-
// - Position is fixed, customizable via props`})})})})]});exports.default=s;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../index-VrMogvDN.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const c=()=>{const l=Array.from({length:20},(a,s)=>e.jsx("div",{className:"p-4 border-b",children:e.jsxs(r.Typography,{tag:"p",children:["Content item ",s+1]})},s));return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(r.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Scrollbar"}),e.jsx(r.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A customizable scrollbar component with auto-hide functionality and custom styling options."})]}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Vertical Scrollbar"}),e.jsx(r.Scrollbar,{className:"h-48",children:e.jsx("div",{children:l.slice(0,10)})})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Auto Hide on Leave"}),e.jsx(r.Scrollbar,{className:"h-48",autoHide:"leave",children:e.jsx("div",{children:l.slice(0,10)})})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Never Hide"}),e.jsx(r.Scrollbar,{className:"h-48",autoHide:"never",children:e.jsx("div",{children:l.slice(0,10)})})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Custom Styled"}),e.jsx(r.Scrollbar,{className:"h-48",scrollbarStyle:{track:{backgroundColor:"transparent"},thumb:{borderRadius:"8px",width:"8px"}},children:e.jsx("div",{children:l.slice(0,10)})})]})]})})})}),e.jsx(r.PropPlayground,{componentName:"Scrollbar",defaultValues:{autoHide:"scroll",direction:"vertical"},excludeProps:["scrollbarStyle","style"],children:a=>e.jsx(r.Scrollbar,{...a,style:{height:200},children:e.jsxs("div",{style:{height:600,padding:16},children:[e.jsx("p",{children:"Scroll down to see more content..."}),e.jsx("p",{style:{marginTop:200},children:"Middle content"}),e.jsx("p",{style:{marginTop:200},children:"End of content"})]})})}),e.jsx(r.AutoPropsTable,{componentName:"Scrollbar"}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(r.CodeBlock,{language:"tsx",code:`import { Scrollbar } from '@e-burgos/tucu-ui';
|
|
2
|
-
|
|
3
|
-
// Basic usage
|
|
4
|
-
<Scrollbar className="h-48">
|
|
5
|
-
<div>
|
|
6
|
-
{/* Your content here */}
|
|
7
|
-
</div>
|
|
8
|
-
</Scrollbar>
|
|
9
|
-
|
|
10
|
-
// Auto hide on leave
|
|
11
|
-
<Scrollbar className="h-48" autoHide="leave">
|
|
12
|
-
<div>{content}</div>
|
|
13
|
-
</Scrollbar>
|
|
14
|
-
|
|
15
|
-
// Never hide
|
|
16
|
-
<Scrollbar className="h-48" autoHide="never">
|
|
17
|
-
<div>{content}</div>
|
|
18
|
-
</Scrollbar>
|
|
19
|
-
|
|
20
|
-
// Custom styled
|
|
21
|
-
<Scrollbar
|
|
22
|
-
className="h-48"
|
|
23
|
-
scrollbarStyle={{
|
|
24
|
-
track: { backgroundColor: 'transparent' },
|
|
25
|
-
thumb: { borderRadius: '8px', width: '8px' },
|
|
26
|
-
}}
|
|
27
|
-
>
|
|
28
|
-
<div>{content}</div>
|
|
29
|
-
</Scrollbar>`})})})})]})};exports.default=c;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("react"),a=require("../index-VrMogvDN.js"),s=require("lucide-react");require("react-router-dom");require("react-dom");const c=()=>{const[t,r]=o.useState(void 0),l=[{name:"Argentina",value:"ar"},{name:"Brasil",value:"br"},{name:"Chile",value:"cl"},{name:"Colombia",value:"co"},{name:"México",value:"mx"},{name:"Perú",value:"pe"},{name:"Uruguay",value:"uy"},{name:"Venezuela",value:"ve"}],n=[{name:"Free",value:"free",description:"Basic features, 1 user",icon:e.jsx(s.Star,{className:"h-4 w-4 text-gray-400"})},{name:"Pro",value:"pro",description:"Advanced features, 5 users",icon:e.jsx(s.Zap,{className:"h-4 w-4 text-brand"})},{name:"Enterprise",value:"enterprise",description:"Custom features, unlimited",icon:e.jsx(s.Shield,{className:"h-4 w-4 text-green-500"})},{name:"Legacy",value:"legacy",description:"No longer available",disabled:!0}];return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(a.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Select"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A dropdown select component with search, descriptions, disabled options, and check indicators."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic Select"}),e.jsx(a.Select,{label:"Country",placeholder:"Select a country",options:l,selectedOption:t,onChange:r})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Searchable"}),e.jsx(a.Select,{label:"Country",placeholder:"Search and select...",options:l,searchable:!0,searchPlaceholder:"Type to filter...",showCheck:!0})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Descriptions & Icons"}),e.jsx(a.Select,{label:"Plan",placeholder:"Choose a plan",options:n,showCheck:!0})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Helper Text"}),e.jsx(a.Select,{label:"Language",placeholder:"Select a language",helperText:"Choose your preferred language",options:[{name:"English",value:"en",icon:e.jsx(s.Globe,{className:"h-4 w-4"})},{name:"Spanish",value:"es",icon:e.jsx(s.Globe,{className:"h-4 w-4"})},{name:"French",value:"fr",icon:e.jsx(s.Globe,{className:"h-4 w-4"})}]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Error"}),e.jsx(a.Select,{label:"Category",placeholder:"Select a category",errorMessage:"Category is required",options:[{name:"Option 1",value:"opt1"},{name:"Option 2",value:"opt2"}]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Disabled"}),e.jsx(a.Select,{label:"Status",placeholder:"Select status",disabled:!0,options:[{name:"Active",value:"active"},{name:"Inactive",value:"inactive"}]})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Variants",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Ghost (default)"}),e.jsx(a.Select,{label:"Ghost Variant",placeholder:"Select option",variant:"ghost",options:l})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Solid"}),e.jsx(a.Select,{label:"Solid Variant",placeholder:"Select option",variant:"solid",options:l})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Transparent"}),e.jsx(a.Select,{label:"Transparent Variant",placeholder:"Select option",variant:"transparent",options:l})]})]})})})}),e.jsx(a.AutoPropsTable,{componentName:"Select"}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { Select } from '@e-burgos/tucu-ui';
|
|
2
|
-
|
|
3
|
-
const options = [
|
|
4
|
-
{ name: 'Argentina', value: 'ar' },
|
|
5
|
-
{ name: 'Brasil', value: 'br' },
|
|
6
|
-
{ name: 'Chile', value: 'cl' },
|
|
7
|
-
];
|
|
8
|
-
|
|
9
|
-
// Basic
|
|
10
|
-
<Select
|
|
11
|
-
label="Country"
|
|
12
|
-
placeholder="Select a country"
|
|
13
|
-
options={options}
|
|
14
|
-
selectedOption={selectedOption}
|
|
15
|
-
onChange={setSelectedOption}
|
|
16
|
-
/>
|
|
17
|
-
|
|
18
|
-
// Searchable with check
|
|
19
|
-
<Select
|
|
20
|
-
label="Country"
|
|
21
|
-
placeholder="Search..."
|
|
22
|
-
options={options}
|
|
23
|
-
searchable
|
|
24
|
-
searchPlaceholder="Type to filter..."
|
|
25
|
-
showCheck
|
|
26
|
-
/>
|
|
27
|
-
|
|
28
|
-
// With descriptions, icons, and disabled options
|
|
29
|
-
const plans = [
|
|
30
|
-
{ name: 'Free', value: 'free', description: 'Basic features' },
|
|
31
|
-
{ name: 'Pro', value: 'pro', description: 'Advanced', icon: <Zap /> },
|
|
32
|
-
{ name: 'Legacy', value: 'legacy', disabled: true },
|
|
33
|
-
];
|
|
34
|
-
<Select label="Plan" options={plans} showCheck />
|
|
35
|
-
|
|
36
|
-
// Variants
|
|
37
|
-
<Select variant="ghost" options={options} />
|
|
38
|
-
<Select variant="solid" options={options} />
|
|
39
|
-
<Select variant="transparent" options={options} />`})})})})]})};exports.default=c;
|
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
import { jsxs as a, Fragment as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useState as p } from "react";
|
|
3
|
-
import { T as t, C as l, a as o, S as s, A as m, c as h } from "../index-D3gBsvbO.js";
|
|
4
|
-
import { Globe as c, Star as u, Zap as g, Shield as v } from "lucide-react";
|
|
5
|
-
import "react-router-dom";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
const w = () => {
|
|
8
|
-
const [r, i] = p(void 0), n = [
|
|
9
|
-
{ name: "Argentina", value: "ar" },
|
|
10
|
-
{ name: "Brasil", value: "br" },
|
|
11
|
-
{ name: "Chile", value: "cl" },
|
|
12
|
-
{ name: "Colombia", value: "co" },
|
|
13
|
-
{ name: "México", value: "mx" },
|
|
14
|
-
{ name: "Perú", value: "pe" },
|
|
15
|
-
{ name: "Uruguay", value: "uy" },
|
|
16
|
-
{ name: "Venezuela", value: "ve" }
|
|
17
|
-
];
|
|
18
|
-
return /* @__PURE__ */ a(d, { children: [
|
|
19
|
-
/* @__PURE__ */ a("div", { className: "text-center space-y-4", children: [
|
|
20
|
-
/* @__PURE__ */ e(t, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "Select" }),
|
|
21
|
-
/* @__PURE__ */ e(
|
|
22
|
-
t,
|
|
23
|
-
{
|
|
24
|
-
tag: "p",
|
|
25
|
-
className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
|
|
26
|
-
children: "A dropdown select component with search, descriptions, disabled options, and check indicators."
|
|
27
|
-
}
|
|
28
|
-
)
|
|
29
|
-
] }),
|
|
30
|
-
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { title: "Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
|
|
31
|
-
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
32
|
-
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "Basic Select" }),
|
|
33
|
-
/* @__PURE__ */ e(
|
|
34
|
-
s,
|
|
35
|
-
{
|
|
36
|
-
label: "Country",
|
|
37
|
-
placeholder: "Select a country",
|
|
38
|
-
options: n,
|
|
39
|
-
selectedOption: r,
|
|
40
|
-
onChange: i
|
|
41
|
-
}
|
|
42
|
-
)
|
|
43
|
-
] }),
|
|
44
|
-
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
45
|
-
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "Searchable" }),
|
|
46
|
-
/* @__PURE__ */ e(
|
|
47
|
-
s,
|
|
48
|
-
{
|
|
49
|
-
label: "Country",
|
|
50
|
-
placeholder: "Search and select...",
|
|
51
|
-
options: n,
|
|
52
|
-
searchable: !0,
|
|
53
|
-
searchPlaceholder: "Type to filter...",
|
|
54
|
-
showCheck: !0
|
|
55
|
-
}
|
|
56
|
-
)
|
|
57
|
-
] }),
|
|
58
|
-
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
59
|
-
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "With Descriptions & Icons" }),
|
|
60
|
-
/* @__PURE__ */ e(
|
|
61
|
-
s,
|
|
62
|
-
{
|
|
63
|
-
label: "Plan",
|
|
64
|
-
placeholder: "Choose a plan",
|
|
65
|
-
options: [
|
|
66
|
-
{
|
|
67
|
-
name: "Free",
|
|
68
|
-
value: "free",
|
|
69
|
-
description: "Basic features, 1 user",
|
|
70
|
-
icon: /* @__PURE__ */ e(u, { className: "h-4 w-4 text-gray-400" })
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
name: "Pro",
|
|
74
|
-
value: "pro",
|
|
75
|
-
description: "Advanced features, 5 users",
|
|
76
|
-
icon: /* @__PURE__ */ e(g, { className: "h-4 w-4 text-brand" })
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
name: "Enterprise",
|
|
80
|
-
value: "enterprise",
|
|
81
|
-
description: "Custom features, unlimited",
|
|
82
|
-
icon: /* @__PURE__ */ e(v, { className: "h-4 w-4 text-green-500" })
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: "Legacy",
|
|
86
|
-
value: "legacy",
|
|
87
|
-
description: "No longer available",
|
|
88
|
-
disabled: !0
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
|
-
showCheck: !0
|
|
92
|
-
}
|
|
93
|
-
)
|
|
94
|
-
] }),
|
|
95
|
-
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
96
|
-
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "With Helper Text" }),
|
|
97
|
-
/* @__PURE__ */ e(
|
|
98
|
-
s,
|
|
99
|
-
{
|
|
100
|
-
label: "Language",
|
|
101
|
-
placeholder: "Select a language",
|
|
102
|
-
helperText: "Choose your preferred language",
|
|
103
|
-
options: [
|
|
104
|
-
{
|
|
105
|
-
name: "English",
|
|
106
|
-
value: "en",
|
|
107
|
-
icon: /* @__PURE__ */ e(c, { className: "h-4 w-4" })
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
name: "Spanish",
|
|
111
|
-
value: "es",
|
|
112
|
-
icon: /* @__PURE__ */ e(c, { className: "h-4 w-4" })
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
name: "French",
|
|
116
|
-
value: "fr",
|
|
117
|
-
icon: /* @__PURE__ */ e(c, { className: "h-4 w-4" })
|
|
118
|
-
}
|
|
119
|
-
]
|
|
120
|
-
}
|
|
121
|
-
)
|
|
122
|
-
] }),
|
|
123
|
-
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
124
|
-
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "With Error" }),
|
|
125
|
-
/* @__PURE__ */ e(
|
|
126
|
-
s,
|
|
127
|
-
{
|
|
128
|
-
label: "Category",
|
|
129
|
-
placeholder: "Select a category",
|
|
130
|
-
errorMessage: "Category is required",
|
|
131
|
-
options: [
|
|
132
|
-
{ name: "Option 1", value: "opt1" },
|
|
133
|
-
{ name: "Option 2", value: "opt2" }
|
|
134
|
-
]
|
|
135
|
-
}
|
|
136
|
-
)
|
|
137
|
-
] }),
|
|
138
|
-
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
139
|
-
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "Disabled" }),
|
|
140
|
-
/* @__PURE__ */ e(
|
|
141
|
-
s,
|
|
142
|
-
{
|
|
143
|
-
label: "Status",
|
|
144
|
-
placeholder: "Select status",
|
|
145
|
-
disabled: !0,
|
|
146
|
-
options: [
|
|
147
|
-
{ name: "Active", value: "active" },
|
|
148
|
-
{ name: "Inactive", value: "inactive" }
|
|
149
|
-
]
|
|
150
|
-
}
|
|
151
|
-
)
|
|
152
|
-
] })
|
|
153
|
-
] }) }) }) }),
|
|
154
|
-
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { title: "Variants", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-4", children: [
|
|
155
|
-
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
156
|
-
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "Ghost (default)" }),
|
|
157
|
-
/* @__PURE__ */ e(
|
|
158
|
-
s,
|
|
159
|
-
{
|
|
160
|
-
label: "Ghost Variant",
|
|
161
|
-
placeholder: "Select option",
|
|
162
|
-
variant: "ghost",
|
|
163
|
-
options: n
|
|
164
|
-
}
|
|
165
|
-
)
|
|
166
|
-
] }),
|
|
167
|
-
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
168
|
-
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "Solid" }),
|
|
169
|
-
/* @__PURE__ */ e(
|
|
170
|
-
s,
|
|
171
|
-
{
|
|
172
|
-
label: "Solid Variant",
|
|
173
|
-
placeholder: "Select option",
|
|
174
|
-
variant: "solid",
|
|
175
|
-
options: n
|
|
176
|
-
}
|
|
177
|
-
)
|
|
178
|
-
] }),
|
|
179
|
-
/* @__PURE__ */ a(l, { className: "p-4", children: [
|
|
180
|
-
/* @__PURE__ */ e(t, { tag: "h5", className: "mb-3", children: "Transparent" }),
|
|
181
|
-
/* @__PURE__ */ e(
|
|
182
|
-
s,
|
|
183
|
-
{
|
|
184
|
-
label: "Transparent Variant",
|
|
185
|
-
placeholder: "Select option",
|
|
186
|
-
variant: "transparent",
|
|
187
|
-
options: n
|
|
188
|
-
}
|
|
189
|
-
)
|
|
190
|
-
] })
|
|
191
|
-
] }) }) }) }),
|
|
192
|
-
/* @__PURE__ */ e(m, { componentName: "Select" }),
|
|
193
|
-
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { title: "Code Example", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
194
|
-
h,
|
|
195
|
-
{
|
|
196
|
-
language: "tsx",
|
|
197
|
-
code: `import { Select } from '@e-burgos/tucu-ui';
|
|
198
|
-
|
|
199
|
-
const options = [
|
|
200
|
-
{ name: 'Argentina', value: 'ar' },
|
|
201
|
-
{ name: 'Brasil', value: 'br' },
|
|
202
|
-
{ name: 'Chile', value: 'cl' },
|
|
203
|
-
];
|
|
204
|
-
|
|
205
|
-
// Basic
|
|
206
|
-
<Select
|
|
207
|
-
label="Country"
|
|
208
|
-
placeholder="Select a country"
|
|
209
|
-
options={options}
|
|
210
|
-
selectedOption={selectedOption}
|
|
211
|
-
onChange={setSelectedOption}
|
|
212
|
-
/>
|
|
213
|
-
|
|
214
|
-
// Searchable with check
|
|
215
|
-
<Select
|
|
216
|
-
label="Country"
|
|
217
|
-
placeholder="Search..."
|
|
218
|
-
options={options}
|
|
219
|
-
searchable
|
|
220
|
-
searchPlaceholder="Type to filter..."
|
|
221
|
-
showCheck
|
|
222
|
-
/>
|
|
223
|
-
|
|
224
|
-
// With descriptions, icons, and disabled options
|
|
225
|
-
const plans = [
|
|
226
|
-
{ name: 'Free', value: 'free', description: 'Basic features' },
|
|
227
|
-
{ name: 'Pro', value: 'pro', description: 'Advanced', icon: <Zap /> },
|
|
228
|
-
{ name: 'Legacy', value: 'legacy', disabled: true },
|
|
229
|
-
];
|
|
230
|
-
<Select label="Plan" options={plans} showCheck />
|
|
231
|
-
|
|
232
|
-
// Variants
|
|
233
|
-
<Select variant="ghost" options={options} />
|
|
234
|
-
<Select variant="solid" options={options} />
|
|
235
|
-
<Select variant="transparent" options={options} />`
|
|
236
|
-
}
|
|
237
|
-
) }) }) })
|
|
238
|
-
] });
|
|
239
|
-
};
|
|
240
|
-
export {
|
|
241
|
-
w as default
|
|
242
|
-
};
|