@e-burgos/tucu-ui 1.1.1 → 2.0.0
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/1-CArqgiQa.js +1 -0
- package/1-Df9CGZha.mjs +4 -0
- package/APIReferenceSection-BWjvmObc.mjs +142 -0
- package/APIReferenceSection-BYpmlTa1.js +1 -0
- package/ActiveLinkSection-QE4rt7E7.mjs +120 -0
- package/ActiveLinkSection-koQfqiWT.js +22 -0
- package/AdvancedColorSystemSection-BMjT0GS3.js +17 -0
- package/AdvancedColorSystemSection-Cm3q7pci.mjs +194 -0
- package/AdvancedFeaturesSection-BvQzMRC_.js +1 -0
- package/AdvancedFeaturesSection-CsHt-5rZ.mjs +100 -0
- package/AdvancedFeaturesSection-UC1uVDPQ.js +1 -0
- package/AdvancedFeaturesSection-o4D1pf9b.mjs +82 -0
- package/AlertSection-DPxTJhXM.mjs +143 -0
- package/AlertSection-Di1Vmdlp.js +25 -0
- package/AnchorLinkSection-Ce1TtPg5.mjs +94 -0
- package/AnchorLinkSection-dexXCWm0.js +19 -0
- package/ArchitecturalPatternsComparisonSection-BGoc7LRz.mjs +325 -0
- package/ArchitecturalPatternsComparisonSection-bFhTZY--.js +31 -0
- package/ArchitectureOverviewSection-0kw6rJQn.mjs +88 -0
- package/ArchitectureOverviewSection-DI3j5QrY.js +1 -0
- package/AuthorCardSection-C9nyTm-Y.js +17 -0
- package/AuthorCardSection-CdrGEAlv.mjs +110 -0
- package/AvatarSection-DurCy8Tv.js +18 -0
- package/AvatarSection-w5aVByxo.mjs +137 -0
- package/BadgeSection-BBrQIp_J.mjs +238 -0
- package/BadgeSection-C18_hgvN.js +48 -0
- package/BasicTableSection-CRoBEEqA.js +35 -0
- package/BasicTableSection-CV_O4PiF.mjs +169 -0
- package/BasicUsageSection-BNMeKpps.js +45 -0
- package/BasicUsageSection-uA18k0GU.mjs +103 -0
- package/BestPracticesSection-B-JPz0Dc.js +1 -0
- package/BestPracticesSection-B9z8NSkq.mjs +57 -0
- package/BestPracticesSection-BATlfVaQ.mjs +49 -0
- package/BestPracticesSection-BDukov7c.mjs +83 -0
- package/BestPracticesSection-BWkl5DsH.mjs +41 -0
- package/BestPracticesSection-BbhipFte.mjs +43 -0
- package/BestPracticesSection-Bp-_tC8C.js +1 -0
- package/BestPracticesSection-CEu4bNZE.js +1 -0
- package/BestPracticesSection-CYtEiufQ.js +1 -0
- package/BestPracticesSection-CaE-0BTV.js +1 -0
- package/BestPracticesSection-CdY0wZsv.js +1 -0
- package/BestPracticesSection-CoE_Xgj2.mjs +84 -0
- package/BestPracticesSection-DN9K2d3_.js +1 -0
- package/BestPracticesSection-n_GJKuXp.mjs +83 -0
- package/BorderRadiusSection-BqRzkDYG.js +1 -0
- package/BorderRadiusSection-CvnMLFCh.mjs +63 -0
- package/ButtonDripSection-BLa_mdeq.mjs +99 -0
- package/ButtonDripSection-D62t7cNU.js +12 -0
- package/ButtonLoaderSection-BAEAsnOQ.js +30 -0
- package/ButtonLoaderSection-dY9Ctlyf.mjs +127 -0
- package/CHANGELOG.md +253 -0
- package/CardContainerSection-Cso5x1TX.mjs +99 -0
- package/CardContainerSection-_OZaMbIu.js +21 -0
- package/CardTitleSection-BNmdH8MJ.mjs +113 -0
- package/CardTitleSection-CGnIM20t.js +19 -0
- package/CarouselCardsSection-CqwkiKuv.js +37 -0
- package/CarouselCardsSection-DJUza5iT.mjs +207 -0
- package/CarouselImageSection-CoNZlkZS.mjs +218 -0
- package/CarouselImageSection-sUP78k0h.js +38 -0
- package/CarouselSection-CLso38c7.mjs +159 -0
- package/CarouselSection-DrLjfsDL.js +24 -0
- package/CheckboxSection-B1Thom62.mjs +221 -0
- package/CheckboxSection-ClRdRrG3.js +26 -0
- package/CodeExamplesSection-DGdE5jIe.mjs +137 -0
- package/CodeExamplesSection-raO1hI2K.js +28 -0
- package/CoinCardSection-BMWMx77E.js +13 -0
- package/CoinCardSection-CcmSvFrb.mjs +174 -0
- package/CoinInfoCardSection-BXKoUx90.mjs +174 -0
- package/CoinInfoCardSection-Cg7mcq06.js +12 -0
- package/CoinListBoxSection-CUGweWcL.mjs +219 -0
- package/CoinListBoxSection-DlBbVyVM.js +24 -0
- package/CollapseSection-98dxj6hh.mjs +126 -0
- package/CollapseSection-kmcNxPMt.js +27 -0
- package/CollectionCardSection-BECI5Bd7.js +17 -0
- package/CollectionCardSection-kQBMh56J.mjs +103 -0
- package/CollectionSelectListSection-DF33zicH.mjs +102 -0
- package/CollectionSelectListSection-Db5SV44f.js +14 -0
- package/ColorCustomizationSection-Bb6emsjF.mjs +117 -0
- package/ColorCustomizationSection-CoATCcOw.js +1 -0
- package/ColorSystemSection-BMcNOrJZ.js +1 -0
- package/ColorSystemSection-Cb3ON86x.mjs +149 -0
- package/CommonErrorsSection-CP45i0KI.mjs +54 -0
- package/CommonErrorsSection-Q2gLNsG4.js +1 -0
- package/ComponentAnatomySection-Bbig6v0L.mjs +72 -0
- package/ComponentAnatomySection-Bq47Shzj.js +1 -0
- package/ComponentStatusSection-2PqavyCq.js +1 -0
- package/ComponentStatusSection-DJCpIv1y.mjs +84 -0
- package/CurrencySwapIconsSection-CycYbE0J.js +7 -0
- package/CurrencySwapIconsSection-JqjAN8xl.mjs +92 -0
- package/CustomColorPaletteSection-CfXiJg17.mjs +54 -0
- package/CustomColorPaletteSection-CzjNz2Lg.js +19 -0
- package/CustomIconsSection-0cWmXojJ.js +3 -0
- package/CustomIconsSection-DJMbKrH3.mjs +162 -0
- package/DefiAppLogoSection-D7jgArKN.mjs +120 -0
- package/DefiAppLogoSection-alsK3oh9.js +36 -0
- package/DesignPrinciplesSection-CbLaXe_T.mjs +81 -0
- package/DesignPrinciplesSection-DHN9U0MX.js +1 -0
- package/DrawerSection-C2gb1jbq.js +41 -0
- package/DrawerSection-CxC9PQJU.mjs +188 -0
- package/DynamicRoutesSection-C0hcJyEO.mjs +100 -0
- package/DynamicRoutesSection-DTEL6uSr.js +42 -0
- package/FileInputSection-BuwiaCIE.mjs +277 -0
- package/FileInputSection-qzkjHIPs.js +65 -0
- package/FileStructureSection-COelsTGH.js +26 -0
- package/FileStructureSection-DGFd5OvW.mjs +87 -0
- package/FormComponentsSection-Dz4NJWIU.mjs +116 -0
- package/FormComponentsSection-jDaUkbDC.js +1 -0
- package/FormMethodsSection-BYQ_foZq.js +55 -0
- package/FormMethodsSection-vLlj8oqq.mjs +119 -0
- package/HamburgerSection-DCyFcRlT.mjs +108 -0
- package/HamburgerSection-jpcdZ_hA.js +18 -0
- package/HookCategoriesSection-CxOrlkB5.mjs +97 -0
- package/HookCategoriesSection-DyOM1Dtj.js +1 -0
- package/HookDocumentationSection-CkH1P0yQ.mjs +272 -0
- package/HookDocumentationSection-b60lRPki.js +73 -0
- package/HookFeaturesSection-CFQ-th28.mjs +81 -0
- package/HookFeaturesSection-CM3rSPy7.js +1 -0
- package/IconArchitectureSection-B44gXgNP.mjs +108 -0
- package/IconArchitectureSection-DNcAfKY5.js +1 -0
- package/IconSizingGuideSection-CIOX5rAk.mjs +69 -0
- package/IconSizingGuideSection-u_m129SM.js +1 -0
- package/IconSystemAPISection-BTFd0SEj.js +1 -0
- package/IconSystemAPISection-C5oHKJSa.mjs +61 -0
- package/IconSystemBenefitsSection-4vjBgOcL.js +1 -0
- package/IconSystemBenefitsSection-DzNHxfsx.mjs +41 -0
- package/ImageSection-B4Egz61c.mjs +612 -0
- package/ImageSection-KRwcaC7i.js +80 -0
- package/ImplementationExamplesSection-B0Iyb8pc.mjs +284 -0
- package/ImplementationExamplesSection-D3GzoJHk.js +178 -0
- package/ImplementationGuidelinesSection-B986S98s.mjs +52 -0
- package/ImplementationGuidelinesSection-Di6FUATm.js +1 -0
- package/ImplementationStatusSection-CqAnYtcw.js +1 -0
- package/ImplementationStatusSection-zClYTFYV.mjs +23 -0
- package/ImplementedFeaturesSection-BzhXFsJc.js +1 -0
- package/ImplementedFeaturesSection-bsALbW35.mjs +116 -0
- package/InputSearcherSection-DQcFOSI_.js +32 -0
- package/InputSearcherSection-uyHUHUxD.mjs +258 -0
- package/InputSection-BhZmA0wW.js +37 -0
- package/InputSection-BnRWQKM5.mjs +265 -0
- package/KeyboardNavigationSection-BVRBWrR_.mjs +69 -0
- package/KeyboardNavigationSection-DkV3cH4w.js +1 -0
- package/LayoutPrinciplesSection-DTVK1_Ht.mjs +106 -0
- package/LayoutPrinciplesSection-wdSSdypw.js +1 -0
- package/LayoutTypesSection-BTUS9xIl.js +1 -0
- package/LayoutTypesSection-D4eq7w9u.mjs +239 -0
- package/ListContainerSection-CMukx5sM.js +38 -0
- package/ListContainerSection-Lq00hl5g.mjs +191 -0
- package/ListItemSection-CEpCtoxu.mjs +191 -0
- package/ListItemSection-D3CkNixV.js +36 -0
- package/LiveDemoSection-DQDdyS8_.js +1 -0
- package/LiveDemoSection-Duz-z9Az.mjs +16 -0
- package/LiveDemonstrationsSection-7OJufZVy.js +4 -0
- package/LiveDemonstrationsSection-DFRqLVsW.mjs +445 -0
- package/LivePriceFeedSection-BwQbsy1e.js +20 -0
- package/LivePriceFeedSection-CVUYaDLi.mjs +187 -0
- package/LoaderSection-DkC3hHKp.js +22 -0
- package/LoaderSection-DsDLwNrN.mjs +143 -0
- package/LogoSection-B_ll9gcD.js +100 -0
- package/LogoSection-BwE_ImN2.mjs +319 -0
- package/LucideIconsSection-BQH5Dipy.mjs +128 -0
- package/LucideIconsSection-DYNzZsEN.js +1 -0
- package/MFESupportSection-C1rBEqCL.js +122 -0
- package/MFESupportSection-CMTM8pC1.mjs +354 -0
- package/MenuItemsGuideSection-CFz7XSzU.mjs +325 -0
- package/MenuItemsGuideSection-uxlCicIJ.js +126 -0
- package/ModalSection-C27D58m_.mjs +158 -0
- package/ModalSection-DkdV4fA3.js +29 -0
- package/NFTGridSection-BtE3eC62.js +11 -0
- package/NFTGridSection-DLjDwzgW.mjs +122 -0
- package/NestedRoutesSection-D-oKOn0R.js +36 -0
- package/NestedRoutesSection-DeQN7AC9.mjs +88 -0
- package/NotificationCardSection-CDjX06Tt.js +28 -0
- package/NotificationCardSection-Ct2oUuXB.mjs +153 -0
- package/PanelActionCardSection-BgWaRFVD.mjs +138 -0
- package/PanelActionCardSection-Dpkzx-FH.js +28 -0
- package/PanelCardSection-DtwFeOlW.js +15 -0
- package/PanelCardSection-g8jYQ2i1.mjs +96 -0
- package/ParamTabSection-DEcMYPi2.mjs +561 -0
- package/ParamTabSection-fAirqQfE.js +92 -0
- package/PinCodeSection-BTtSu9RK.mjs +263 -0
- package/PinCodeSection-HOx7RS53.js +22 -0
- package/ProgressbarSection-C_ipN0ko.mjs +195 -0
- package/ProgressbarSection-Cb4de9hD.js +21 -0
- package/README.md +355 -113
- package/RadioGroupSection-BIMkY1F0.js +27 -0
- package/RadioGroupSection-CLbIvqN6.mjs +288 -0
- package/RadioSection-DZD5W976.js +23 -0
- package/RadioSection-LW7GeXAA.mjs +208 -0
- package/RevealContentSection-PGiR5VJY.mjs +111 -0
- package/RevealContentSection-kDLDHOGV.js +21 -0
- package/RouteConfigurationSection-BmwVvMMw.mjs +81 -0
- package/RouteConfigurationSection-DR7u1n3x.js +40 -0
- package/ScrollToTopSection-BWEgLKlr.js +36 -0
- package/ScrollToTopSection-CXx2x8gR.mjs +193 -0
- package/ScrollbarSection-DsoKO-RW.js +29 -0
- package/ScrollbarSection-Dubf9f65.mjs +146 -0
- package/SelectSection-Btr390sY.mjs +275 -0
- package/SelectSection-D85H1YXr.js +20 -0
- package/SettingsPanelSection-BCjJfaLV.mjs +126 -0
- package/SettingsPanelSection-CySxJ7Tt.js +1 -0
- package/ShadowsSection-D0X4gGde.js +1 -0
- package/ShadowsSection-sQXQR0iT.mjs +90 -0
- package/SidebarMenuSection-CLhinak1.mjs +140 -0
- package/SidebarMenuSection-D9_kKfNh.js +46 -0
- package/SidebarSection-BgHwGWPt.js +25 -0
- package/SidebarSection-DUgnUh5w.mjs +122 -0
- package/SizingSection-B89FO3ff.mjs +86 -0
- package/SizingSection-Z0pVTNKq.js +1 -0
- package/SkeletonSection-BdhX4Xfv.mjs +259 -0
- package/SkeletonSection-sriDQIKQ.js +52 -0
- package/SpacingSystemSection-B9JXurvm.js +1 -0
- package/SpacingSystemSection-BPW-n6rL.mjs +82 -0
- package/SpinnerSection-CUdRcW4b.mjs +107 -0
- package/SpinnerSection-D1xuIeR2.js +17 -0
- package/StandaloneAppSection-BF1C6FEF.mjs +244 -0
- package/StandaloneAppSection-fhZ8XHQq.js +69 -0
- package/SwitchSection-BENFMw9r.mjs +230 -0
- package/SwitchSection-wuPSVKvN.js +20 -0
- package/SystemOverviewSection-DS9SHn0L.mjs +93 -0
- package/SystemOverviewSection-HRr9gFGM.js +1 -0
- package/TabSection-Cb3Fykn2.js +84 -0
- package/TabSection-aOHyWLGr.mjs +331 -0
- package/TabSelectSection-CaGKQfWS.js +100 -0
- package/TabSelectSection-M0E_Atxn.mjs +418 -0
- package/TailwindConfigSection-BreVbZy8.js +19 -0
- package/TailwindConfigSection-C-PDB_22.mjs +152 -0
- package/TestingSection-BW3pNxaB.js +12 -0
- package/TestingSection-BwmJOUpE.mjs +48 -0
- package/TextareaSection-BfNhLRBw.js +21 -0
- package/TextareaSection-kn20lUc6.mjs +220 -0
- package/ThemeArchitectureSection-C7b32fMB.mjs +86 -0
- package/ThemeArchitectureSection-C8pBxgU3.js +1 -0
- package/ThemeConfigurationSection-HI8FyfUk.js +1 -0
- package/ThemeConfigurationSection-dExOlKvV.mjs +132 -0
- package/ThemeHooksSection-00QYTX0m.js +1 -0
- package/ThemeHooksSection-lG4XldVs.mjs +119 -0
- package/ThemeProviderIntegrationSection-ByuwG8qJ.mjs +108 -0
- package/ThemeProviderIntegrationSection-rB1ZigMz.js +61 -0
- package/ThemeProviderRequiredSection-B1-gtNbe.mjs +95 -0
- package/ThemeProviderRequiredSection-v10DfTl0.js +1 -0
- package/ThemeProviderSection-BFOZTXGP.mjs +128 -0
- package/ThemeProviderSection-BsMcUESl.js +1 -0
- package/ToastSection-5qocQ7cH.mjs +170 -0
- package/ToastSection-BKsJOkbs.js +37 -0
- package/ToggleBarSection-Cx7gCx2L.js +37 -0
- package/ToggleBarSection-KeVNyc_h.mjs +187 -0
- package/TopupButtonSection-BkGsoYjc.js +24 -0
- package/TopupButtonSection-DFl6wlGA.mjs +145 -0
- package/TransactionInfoSection-2IX3m2mI.js +16 -0
- package/TransactionInfoSection-DQfuXrqZ.mjs +113 -0
- package/TucuUiLogoSection-BHibuIVc.js +26 -0
- package/TucuUiLogoSection-D5VLGORL.mjs +121 -0
- package/TypographySection-CkBNo8uk.js +1 -0
- package/TypographySection-DszlzyIX.mjs +129 -0
- package/TypographySection-Dv7RJSzI.js +24 -0
- package/TypographySection-fYLxICoM.mjs +214 -0
- package/UsageExamplesSection-Bs8jQesE.mjs +147 -0
- package/UsageExamplesSection-DlCIZC7Y.js +83 -0
- package/UsingThemeSystemSection-BKh8A4-r.mjs +176 -0
- package/UsingThemeSystemSection-Dk5n1wP3.js +140 -0
- package/ValidationSystemSection-9-Sh0rkM.mjs +197 -0
- package/ValidationSystemSection-BrpnhJ2J.js +54 -0
- package/WCAGPrinciplesSection-W_P3HWdG.js +1 -0
- package/WCAGPrinciplesSection-nFfogbYI.mjs +116 -0
- package/collection-1-BIsLOX9N.js +1 -0
- package/collection-1-NeFANkbk.mjs +4 -0
- package/components/common/badge.d.ts +16 -6
- package/components/common/skeleton.d.ts +36 -3
- package/components/icons/chevron-left.d.ts +1 -1
- package/components/index.d.ts +6 -3
- package/components/inputs/{uploader-two.d.ts → file-input.d.ts} +13 -13
- package/components/inputs/index.d.ts +1 -2
- package/components/inputs/input.d.ts +2 -0
- package/components/layouts/index.d.ts +13 -0
- package/components/layouts/menus/menu-item.d.ts +3 -2
- package/components/list/index.d.ts +2 -0
- package/components/list/list-Item.d.ts +13 -0
- package/components/list/list-container.d.ts +17 -0
- package/components/logos/defi-app-logo.d.ts +1 -0
- package/components/logos/full-logo.d.ts +1 -0
- package/components/logos/index.d.ts +2 -5
- package/components/logos/logo.d.ts +1 -2
- package/components/logos/tucu-ui-logo.d.ts +8 -0
- package/components/notifications/alert.d.ts +2 -1
- package/components/table/basic-table.d.ts +25 -0
- package/components/table/index.d.ts +1 -0
- package/components/tabs/param-tab.d.ts +7 -1
- package/components/tabs/tab.d.ts +18 -6
- package/components/utils/image.d.ts +17 -8
- package/components/utils/index.d.ts +0 -1
- package/components/utils/scroll-to-top.d.ts +38 -1
- package/demo/components/hero-card.d.ts +1 -0
- package/demo/components/index.d.ts +4 -0
- package/demo/components/lazy-component-section.d.ts +11 -0
- package/demo/components/nav-options.d.ts +2 -0
- package/demo/components/playground-button.d.ts +1 -0
- package/demo/components/table-of-contents.d.ts +16 -0
- package/demo/index.d.ts +1 -0
- package/demo/pages/blockchain/BlockchainComponents.d.ts +1 -0
- package/demo/pages/blockchain/blockchain-components-sections/CoinCardSection.d.ts +3 -0
- package/demo/pages/blockchain/blockchain-components-sections/CoinInfoCardSection.d.ts +3 -0
- package/demo/pages/blockchain/blockchain-components-sections/CoinListBoxSection.d.ts +3 -0
- package/demo/pages/blockchain/blockchain-components-sections/CollectionCardSection.d.ts +3 -0
- package/demo/pages/blockchain/blockchain-components-sections/CollectionSelectListSection.d.ts +3 -0
- package/demo/pages/blockchain/blockchain-components-sections/CurrencySwapIconsSection.d.ts +3 -0
- package/demo/pages/blockchain/blockchain-components-sections/LivePriceFeedSection.d.ts +3 -0
- package/demo/pages/blockchain/blockchain-components-sections/NFTGridSection.d.ts +3 -0
- package/demo/pages/blockchain/blockchain-components-sections/TransactionInfoSection.d.ts +3 -0
- package/demo/pages/blockchain/blockchain-components-sections/index.d.ts +9 -0
- package/demo/pages/components/ComponentsIntroduction.d.ts +1 -0
- package/demo/pages/components/InputsComponents.d.ts +2 -0
- package/demo/pages/components/UiComponents.d.ts +1 -0
- package/demo/pages/components/input-components-sections/CheckboxSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/FileInputSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/InputSearcherSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/InputSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/PinCodeSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/RadioGroupSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/RadioSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/SelectSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/SwitchSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/TextareaSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/ToggleBarSection.d.ts +3 -0
- package/demo/pages/components/input-components-sections/index.d.ts +11 -0
- package/demo/pages/components/ui-components-sections/ActiveLinkSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/AlertSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/AnchorLinkSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/AuthorCardSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/AvatarSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/BadgeSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/BasicTableSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ButtonDripSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ButtonLoaderSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/CardContainerSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/CardTitleSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/CarouselCardsSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/CarouselImageSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/CarouselSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/CollapseSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/DefiAppLogoSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/DrawerSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/HamburgerSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ImageSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ListContainerSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ListItemSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/LoaderSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/LogoSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ModalSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/NotificationCardSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/PanelActionCardSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/PanelCardSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ParamTabSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ProgressbarSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/RevealContentSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ScrollToTopSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ScrollbarSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/SidebarMenuSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/SidebarSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/SkeletonSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/SpinnerSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/TabSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/TabSelectSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/ToastSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/TopupButtonSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/TucuUiLogoSection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/TypographySection.d.ts +3 -0
- package/demo/pages/components/ui-components-sections/index.d.ts +40 -0
- package/demo/pages/design-system/DesignSystem.d.ts +2 -0
- package/demo/pages/design-system/LayoutSystem.d.ts +2 -0
- package/demo/pages/design-system/ThemingGuide.d.ts +2 -0
- package/demo/pages/design-system/design-system-sections/BorderRadiusSection.d.ts +3 -0
- package/demo/pages/design-system/design-system-sections/ColorSystemSection.d.ts +3 -0
- package/demo/pages/design-system/design-system-sections/ComponentAnatomySection.d.ts +3 -0
- package/demo/pages/design-system/design-system-sections/DesignPrinciplesSection.d.ts +3 -0
- package/demo/pages/design-system/design-system-sections/ImplementationGuidelinesSection.d.ts +3 -0
- package/demo/pages/design-system/design-system-sections/LayoutPrinciplesSection.d.ts +3 -0
- package/demo/pages/design-system/design-system-sections/ShadowsSection.d.ts +3 -0
- package/demo/pages/design-system/design-system-sections/SizingSection.d.ts +3 -0
- package/demo/pages/design-system/design-system-sections/SpacingSystemSection.d.ts +3 -0
- package/demo/pages/design-system/design-system-sections/TypographySection.d.ts +3 -0
- package/demo/pages/design-system/layout-system-sections/BestPracticesSection.d.ts +3 -0
- package/demo/pages/design-system/layout-system-sections/CommonErrorsSection.d.ts +3 -0
- package/demo/pages/design-system/layout-system-sections/ImplementationExamplesSection.d.ts +3 -0
- package/demo/pages/design-system/layout-system-sections/LayoutTypesSection.d.ts +3 -0
- package/demo/pages/design-system/layout-system-sections/MenuItemsGuideSection.d.ts +3 -0
- package/demo/pages/design-system/layout-system-sections/ThemeProviderRequiredSection.d.ts +3 -0
- package/demo/pages/design-system/legacy/DesignSystemIntroduction.d.ts +2 -0
- package/demo/pages/design-system/legacy/ThemingGuideIntroduction.d.ts +2 -0
- package/demo/pages/design-system/theming-guide-sections/AdvancedColorSystemSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/AdvancedFeaturesSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/BestPracticesSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/ColorCustomizationSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/CustomColorPaletteSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/FileStructureSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/SettingsPanelSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/TailwindConfigSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/ThemeArchitectureSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/ThemeConfigurationSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/ThemeHooksSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/ThemeProviderSection.d.ts +3 -0
- package/demo/pages/design-system/theming-guide-sections/UsingThemeSystemSection.d.ts +3 -0
- package/demo/pages/features/Accessibility.d.ts +2 -0
- package/demo/pages/features/FeaturesIntroduction.d.ts +1 -0
- package/demo/pages/features/HooksUtilities.d.ts +2 -0
- package/demo/pages/features/IconsSystem.d.ts +2 -0
- package/demo/pages/features/RoutingSystem.d.ts +2 -0
- package/demo/pages/features/accessibility-sections/BestPracticesSection.d.ts +3 -0
- package/demo/pages/features/accessibility-sections/CodeExamplesSection.d.ts +3 -0
- package/demo/pages/features/accessibility-sections/ComponentStatusSection.d.ts +3 -0
- package/demo/pages/features/accessibility-sections/ImplementationStatusSection.d.ts +3 -0
- package/demo/pages/features/accessibility-sections/ImplementedFeaturesSection.d.ts +3 -0
- package/demo/pages/features/accessibility-sections/KeyboardNavigationSection.d.ts +3 -0
- package/demo/pages/features/accessibility-sections/TestingSection.d.ts +3 -0
- package/demo/pages/features/accessibility-sections/WCAGPrinciplesSection.d.ts +3 -0
- package/demo/pages/features/hooks-utilities-sections/BestPracticesSection.d.ts +3 -0
- package/demo/pages/features/hooks-utilities-sections/HookCategoriesSection.d.ts +3 -0
- package/demo/pages/features/hooks-utilities-sections/HookDocumentationSection.d.ts +3 -0
- package/demo/pages/features/hooks-utilities-sections/HookFeaturesSection.d.ts +3 -0
- package/demo/pages/features/hooks-utilities-sections/LiveDemonstrationsSection.d.ts +3 -0
- package/demo/pages/features/icon-system-sections/BestPracticesSection.d.ts +3 -0
- package/demo/pages/features/icon-system-sections/CustomIconsSection.d.ts +3 -0
- package/demo/pages/features/icon-system-sections/IconArchitectureSection.d.ts +3 -0
- package/demo/pages/features/icon-system-sections/IconSizingGuideSection.d.ts +3 -0
- package/demo/pages/features/icon-system-sections/IconSystemAPISection.d.ts +3 -0
- package/demo/pages/features/icon-system-sections/IconSystemBenefitsSection.d.ts +3 -0
- package/demo/pages/features/icon-system-sections/LucideIconsSection.d.ts +3 -0
- package/demo/pages/features/icon-system-sections/UsageExamplesSection.d.ts +3 -0
- package/demo/pages/features/routing-system-sections/APIReferenceSection.d.ts +3 -0
- package/demo/pages/features/routing-system-sections/ArchitecturalPatternsComparisonSection.d.ts +3 -0
- package/demo/pages/features/routing-system-sections/BestPracticesSection.d.ts +3 -0
- package/demo/pages/features/routing-system-sections/DynamicRoutesSection.d.ts +3 -0
- package/demo/pages/features/routing-system-sections/MFESupportSection.d.ts +3 -0
- package/demo/pages/features/routing-system-sections/NestedRoutesSection.d.ts +3 -0
- package/demo/pages/features/routing-system-sections/RouteConfigurationSection.d.ts +3 -0
- package/demo/pages/features/routing-system-sections/StandaloneAppSection.d.ts +3 -0
- package/demo/pages/features/routing-system-sections/SystemOverviewSection.d.ts +3 -0
- package/demo/pages/features/routing-system-sections/ThemeProviderIntegrationSection.d.ts +3 -0
- package/demo/pages/form-system/FormSystem.d.ts +2 -0
- package/demo/pages/form-system/code-example-page.d.ts +2 -0
- package/demo/pages/form-system/example/constants.d.ts +12 -0
- package/demo/pages/form-system/example/simple-form-example.d.ts +3 -0
- package/demo/pages/form-system/form-example-page.d.ts +2 -0
- package/demo/pages/form-system/form-system-sections/AdvancedFeaturesSection.d.ts +3 -0
- package/demo/pages/form-system/form-system-sections/ArchitectureOverviewSection.d.ts +3 -0
- package/demo/pages/form-system/form-system-sections/BasicUsageSection.d.ts +3 -0
- package/demo/pages/form-system/form-system-sections/BestPracticesSection.d.ts +3 -0
- package/demo/pages/form-system/form-system-sections/FormComponentsSection.d.ts +3 -0
- package/demo/pages/form-system/form-system-sections/FormMethodsSection.d.ts +3 -0
- package/demo/pages/form-system/form-system-sections/LiveDemoSection.d.ts +3 -0
- package/demo/pages/form-system/form-system-sections/ValidationSystemSection.d.ts +3 -0
- package/demo/pages/index.d.ts +36 -0
- package/demo/pages/introduction/BasicUsageDemo.d.ts +1 -0
- package/demo/pages/introduction/BasicUsageExampleCode.d.ts +1 -0
- package/demo/pages/introduction/BasicUsageWithCustomRouterExampleCode.d.ts +1 -0
- package/demo/pages/introduction/ThemeProviderExamples.d.ts +7 -0
- package/demo/pages/introduction/index.d.ts +1 -0
- package/demo/pages/tailwind/AccessibilityUtilities.d.ts +1 -0
- package/demo/pages/tailwind/BackgroundUtilities.d.ts +1 -0
- package/demo/pages/tailwind/BordersUtilities.d.ts +1 -0
- package/demo/pages/tailwind/Colors.d.ts +1 -0
- package/demo/pages/tailwind/EffectsUtilities.d.ts +1 -0
- package/demo/pages/tailwind/FiltersUtilities.d.ts +1 -0
- package/demo/pages/tailwind/FlexboxGridUtilities.d.ts +1 -0
- package/demo/pages/tailwind/InteractivityUtilities.d.ts +1 -0
- package/demo/pages/tailwind/LayoutUtilities.d.ts +1 -0
- package/demo/pages/tailwind/SVGUtilities.d.ts +1 -0
- package/demo/pages/tailwind/TablesUtilities.d.ts +1 -0
- package/demo/pages/tailwind/TailwindIntroduction.d.ts +1 -0
- package/demo/pages/tailwind/TransformsUtilities.d.ts +1 -0
- package/demo/pages/tailwind/TransitionsAnimations.d.ts +1 -0
- package/demo/pages/tailwind/TypographyUtilities.d.ts +1 -0
- package/hooks/index.d.ts +1 -0
- package/hooks/use-anchor-scroll.d.ts +1 -0
- package/hooks/use-window-scroll.d.ts +11 -1
- package/index-CjRk4ezu.js +920 -0
- package/index-Hq6IUBmn.mjs +53892 -0
- package/index.css +1 -1
- package/index.js +1 -179
- package/index.mjs +324 -45608
- package/package.json +2 -3
- package/tether-DaYvmdAU.mjs +5 -0
- package/tether-EofDinu3.js +1 -0
- package/themes/auth/components/auth-provider.d.ts +2 -0
- package/themes/components/theme-provider/index.d.ts +48 -6
- package/themes/components/theme-provider/mfe-app-theme-provider.d.ts +4 -1
- package/themes/components/theme-provider/standalone-app-theme-provider.d.ts +12 -0
- package/themes/components/theme-provider/theme-wrapper.d.ts +2 -1
- package/themes/config/index.d.ts +1 -1
- package/themes/hooks/use-theme.d.ts +0 -2
- package/themes/pages/access-denied.d.ts +6 -0
- package/themes/pages/default-error.d.ts +5 -0
- package/themes/pages/disabled-page.d.ts +5 -0
- package/themes/pages/forbidden.d.ts +5 -0
- package/themes/pages/index.d.ts +8 -0
- package/themes/pages/no-routes.d.ts +5 -0
- package/themes/pages/server-error.d.ts +5 -0
- package/themes/pages/unknown.d.ts +5 -0
- package/themes/pages/user-blocked.d.ts +5 -0
- package/themes/router/components/index.d.ts +1 -1
- package/themes/router/components/mfe-app-routes-provider.d.ts +2 -0
- package/themes/router/components/standalone-app-routes-provider.d.ts +20 -0
- package/themes/types/index.d.ts +2 -2
- package/components/inputs/uploader.d.ts +0 -2
- package/components/legacy/forms/checkbox.d.ts +0 -38
- package/components/legacy/forms/field-error-text.d.ts +0 -19
- package/components/legacy/forms/field-helper-text.d.ts +0 -18
- package/components/legacy/forms/file-input.d.ts +0 -8
- package/components/legacy/forms/form-system/example/error-container-example.d.ts +0 -3
- package/components/legacy/forms/form-system/example/form-example.d.ts +0 -3
- package/components/legacy/forms/form-system/example/form-methods-example.d.ts +0 -3
- package/components/legacy/forms/form-system/example/validations.d.ts +0 -14
- package/components/legacy/forms/form-system/form-field.d.ts +0 -14
- package/components/legacy/forms/form-system/form.d.ts +0 -13
- package/components/legacy/forms/form-system/hook-form.d.ts +0 -3
- package/components/legacy/forms/form-system/index.d.ts +0 -10
- package/components/legacy/forms/form-system/types/dependencies.type.d.ts +0 -11
- package/components/legacy/forms/form-system/types/extend-react-hook-form.type.d.ts +0 -16
- package/components/legacy/forms/form-system/types/index.d.ts +0 -3
- package/components/legacy/forms/form-system/types/validations.type.d.ts +0 -9
- package/components/legacy/forms/input-label.d.ts +0 -9
- package/components/legacy/forms/input-searcher.d.ts +0 -11
- package/components/legacy/forms/input-select.d.ts +0 -24
- package/components/legacy/forms/input-switch.d.ts +0 -13
- package/components/legacy/forms/input.d.ts +0 -16
- package/components/legacy/forms/pin-code.d.ts +0 -95
- package/components/legacy/forms/radio-group.d.ts +0 -56
- package/components/legacy/forms/radio.d.ts +0 -84
- package/components/legacy/forms/textarea.d.ts +0 -10
- package/components/logos/AppLogo.d.ts +0 -1
- package/components/logos/logo-dark.d.ts +0 -1
- package/components/logos/logo-icon.d.ts +0 -5
- package/components/logos/logo-iso-dark.d.ts +0 -1
- package/components/logos/logo-iso-light.d.ts +0 -1
- package/components/logos/logo-light.d.ts +0 -1
- package/components/utils/test-brand-classes.d.ts +0 -1
- package/themes/components/theme-provider/single-app-theme-provider.d.ts +0 -8
- package/themes/router/components/single-app-routes-provider.d.ts +0 -17
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { T as r, C as n, D as l } from "./index-Hq6IUBmn.mjs";
|
|
3
|
+
import { Router as d, Menu as c, Layers3 as m, Box as u } from "lucide-react";
|
|
4
|
+
import "react-router-dom";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const v = () => /* @__PURE__ */ a("div", { className: "space-y-8", children: [
|
|
8
|
+
/* @__PURE__ */ a("div", { className: "text-center", children: [
|
|
9
|
+
/* @__PURE__ */ e(
|
|
10
|
+
r,
|
|
11
|
+
{
|
|
12
|
+
tag: "h2",
|
|
13
|
+
className: "mb-4 text-2xl sm:text-3xl md:text-4xl font-bold",
|
|
14
|
+
children: "System Overview"
|
|
15
|
+
}
|
|
16
|
+
),
|
|
17
|
+
/* @__PURE__ */ e(
|
|
18
|
+
r,
|
|
19
|
+
{
|
|
20
|
+
tag: "p",
|
|
21
|
+
className: "text-base sm:text-lg text-gray-600 dark:text-gray-300 max-w-2xl mx-auto",
|
|
22
|
+
children: "Built on React Router with automatic menu generation and nested route support. Supports both Standalone and Micro Frontend (MFE) architectural patterns."
|
|
23
|
+
}
|
|
24
|
+
)
|
|
25
|
+
] }),
|
|
26
|
+
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6", children: [
|
|
27
|
+
{
|
|
28
|
+
icon: /* @__PURE__ */ e(d, { className: "w-6 h-6 text-white filter drop-shadow-sm" }),
|
|
29
|
+
title: "React Router Integration",
|
|
30
|
+
description: "Built on React Router v6 with full compatibility and modern routing features",
|
|
31
|
+
features: ["Browser History", "Nested Routes", "Route Guards"],
|
|
32
|
+
color: "from-blue-500 to-cyan-500"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
icon: /* @__PURE__ */ e(c, { className: "w-6 h-6 text-white filter drop-shadow-sm" }),
|
|
36
|
+
title: "Automatic Navigation",
|
|
37
|
+
description: "Generate navigation menus automatically from route configuration",
|
|
38
|
+
features: ["Auto Sidebar", "Breadcrumb Support", "Active States"],
|
|
39
|
+
color: "from-green-500 to-emerald-500"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
icon: /* @__PURE__ */ e(m, { className: "w-6 h-6 text-white filter drop-shadow-sm" }),
|
|
43
|
+
title: "Nested Route Support",
|
|
44
|
+
description: "Support for unlimited nesting levels with dropdown menus and sub-navigation",
|
|
45
|
+
features: ["Multi-level", "Dropdown Menus", "Hierarchical"],
|
|
46
|
+
color: "from-purple-500 to-indigo-500"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
icon: /* @__PURE__ */ e(u, { className: "w-6 h-6 text-white filter drop-shadow-sm" }),
|
|
50
|
+
title: "Architectural Patterns",
|
|
51
|
+
description: "Support for both Standalone and Micro Frontend (MFE) patterns with type-safe configuration",
|
|
52
|
+
features: ["Standalone", "MFE", "Type-Safe"],
|
|
53
|
+
color: "from-orange-500 to-amber-500"
|
|
54
|
+
}
|
|
55
|
+
].map((t, o) => /* @__PURE__ */ e(
|
|
56
|
+
n,
|
|
57
|
+
{
|
|
58
|
+
className: "group hover:shadow-large transition-all duration-300 hover:-translate-y-1",
|
|
59
|
+
children: /* @__PURE__ */ a("div", { className: "space-y-4", children: [
|
|
60
|
+
/* @__PURE__ */ a("div", { className: "flex items-center gap-4", children: [
|
|
61
|
+
/* @__PURE__ */ e(
|
|
62
|
+
"div",
|
|
63
|
+
{
|
|
64
|
+
className: `p-3 rounded-xl bg-linear-to-br ${t.color} text-white shadow-lg group-hover:scale-110 transition-all duration-300`,
|
|
65
|
+
children: t.icon
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
/* @__PURE__ */ e(
|
|
69
|
+
r,
|
|
70
|
+
{
|
|
71
|
+
tag: "h3",
|
|
72
|
+
className: "font-semibold text-lg group-hover:text-primary transition-colors duration-300",
|
|
73
|
+
children: t.title
|
|
74
|
+
}
|
|
75
|
+
)
|
|
76
|
+
] }),
|
|
77
|
+
/* @__PURE__ */ e(
|
|
78
|
+
r,
|
|
79
|
+
{
|
|
80
|
+
tag: "p",
|
|
81
|
+
className: "text-gray-600 dark:text-gray-400 leading-relaxed",
|
|
82
|
+
children: t.description
|
|
83
|
+
}
|
|
84
|
+
),
|
|
85
|
+
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-2", children: t.features.map((i, s) => /* @__PURE__ */ e(l, { variant: "outline", className: "text-xs", children: i }, s)) })
|
|
86
|
+
] })
|
|
87
|
+
},
|
|
88
|
+
o
|
|
89
|
+
)) })
|
|
90
|
+
] });
|
|
91
|
+
export {
|
|
92
|
+
v as default
|
|
93
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./index-CjRk4ezu.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const n=()=>e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(t.Typography,{tag:"h2",className:"mb-4 text-2xl sm:text-3xl md:text-4xl font-bold",children:"System Overview"}),e.jsx(t.Typography,{tag:"p",className:"text-base sm:text-lg text-gray-600 dark:text-gray-300 max-w-2xl mx-auto",children:"Built on React Router with automatic menu generation and nested route support. Supports both Standalone and Micro Frontend (MFE) architectural patterns."})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:[{icon:e.jsx(a.Router,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"React Router Integration",description:"Built on React Router v6 with full compatibility and modern routing features",features:["Browser History","Nested Routes","Route Guards"],color:"from-blue-500 to-cyan-500"},{icon:e.jsx(a.Menu,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"Automatic Navigation",description:"Generate navigation menus automatically from route configuration",features:["Auto Sidebar","Breadcrumb Support","Active States"],color:"from-green-500 to-emerald-500"},{icon:e.jsx(a.Layers3,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"Nested Route Support",description:"Support for unlimited nesting levels with dropdown menus and sub-navigation",features:["Multi-level","Dropdown Menus","Hierarchical"],color:"from-purple-500 to-indigo-500"},{icon:e.jsx(a.Box,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"Architectural Patterns",description:"Support for both Standalone and Micro Frontend (MFE) patterns with type-safe configuration",features:["Standalone","MFE","Type-Safe"],color:"from-orange-500 to-amber-500"}].map((r,o)=>e.jsx(t.CardContainer,{className:"group hover:shadow-large transition-all duration-300 hover:-translate-y-1",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:`p-3 rounded-xl bg-linear-to-br ${r.color} text-white shadow-lg group-hover:scale-110 transition-all duration-300`,children:r.icon}),e.jsx(t.Typography,{tag:"h3",className:"font-semibold text-lg group-hover:text-primary transition-colors duration-300",children:r.title})]}),e.jsx(t.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 leading-relaxed",children:r.description}),e.jsx("div",{className:"flex flex-wrap gap-2",children:r.features.map((s,i)=>e.jsx(t.Badge,{variant:"outline",className:"text-xs",children:s},i))})]})},o))})]});exports.default=n;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),e=require("./index-CjRk4ezu.js"),n=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const t=()=>{const r=[{key:"prop",label:"Prop",render:s=>a.jsx("code",{className:"text-xs text-brand",children:String(s)})},{key:"type",label:"Type",render:s=>a.jsx("code",{className:"text-xs",children:String(s)})},{key:"default",label:"Default",render:s=>{const i=String(s);return i==="required"?a.jsx("span",{className:"text-xs text-red-500",children:"required"}):a.jsx("code",{className:"text-xs",children:i})}},{key:"description",label:"Description"}],l=[{prop:"variant",type:"'underline' | 'pills' | 'bordered' | 'solid'",default:"'underline'",description:"Visual style variant of the tabs"},{prop:"size",type:"'small' | 'medium' | 'large'",default:"'medium'",description:"Size of the tab items"},{prop:"color",type:"'primary' | 'secondary' | 'success' | 'danger'",default:"-",description:"Color theme for unselected tabs"},{prop:"icon",type:"React.ReactNode",default:"-",description:"Icon to display before tab label"},{prop:"disabled",type:"boolean",default:"false",description:"Whether the tab is disabled"},{prop:"showMobileIndicator",type:"boolean",default:"true",description:"Show indicator on mobile devices"}];return a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"text-center space-y-4",children:[a.jsx(e.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Tabs"}),a.jsx(e.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A flexible tab component system with multiple variants, smooth animations, and mobile-responsive design built on Headless UI."})]}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Variants",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"space-y-8",children:[a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Underline Variant (Default)"}),a.jsxs(e.TabGroup,{variant:"underline",children:[a.jsxs(e.TabList,{variant:"underline",children:[a.jsx(e.TabItem,{variant:"underline",children:"Overview"}),a.jsx(e.TabItem,{variant:"underline",children:"Details"}),a.jsx(e.TabItem,{variant:"underline",children:"Settings"})]}),a.jsxs(e.TabPanels,{children:[a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Overview content with clean underline design."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Detailed information with professional styling."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Settings panel with modern appearance."})})})]})]})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Pills Variant"}),a.jsxs(e.TabGroup,{variant:"pills",children:[a.jsxs(e.TabList,{variant:"pills",children:[a.jsx(e.TabItem,{variant:"pills",children:"Dashboard"}),a.jsx(e.TabItem,{variant:"pills",children:"Analytics"}),a.jsx(e.TabItem,{variant:"pills",children:"Reports"})]}),a.jsxs(e.TabPanels,{children:[a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Dashboard with rounded pill tabs for a modern look."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Analytics data with smooth transitions."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Reports section with clean design."})})})]})]})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Bordered Variant"}),a.jsxs(e.TabGroup,{variant:"bordered",children:[a.jsxs(e.TabList,{variant:"bordered",children:[a.jsx(e.TabItem,{variant:"bordered",children:"Account"}),a.jsx(e.TabItem,{variant:"bordered",children:"Security"}),a.jsx(e.TabItem,{variant:"bordered",children:"Billing"})]}),a.jsxs(e.TabPanels,{children:[a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Account settings with bordered tab style."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Security options with clear visual distinction."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Billing information with professional appearance."})})})]})]})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Solid Variant"}),a.jsxs(e.TabGroup,{variant:"solid",children:[a.jsxs(e.TabList,{variant:"solid",children:[a.jsx(e.TabItem,{variant:"solid",children:"Profile"}),a.jsx(e.TabItem,{variant:"solid",children:"Notifications"}),a.jsx(e.TabItem,{variant:"solid",children:"Privacy"})]}),a.jsxs(e.TabPanels,{children:[a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Profile section with solid background tabs."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Notifications center with modern design."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Privacy settings with clean interface."})})})]})]})]})]})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"With Icons",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Pills with Icons"}),a.jsxs(e.TabGroup,{variant:"pills",children:[a.jsxs(e.TabList,{variant:"pills",children:[a.jsx(e.TabItem,{variant:"pills",icon:a.jsx(n.Home,{size:16}),children:"Home"}),a.jsx(e.TabItem,{variant:"pills",icon:a.jsx(n.User,{size:16}),children:"Profile"}),a.jsx(e.TabItem,{variant:"pills",icon:a.jsx(n.Settings,{size:16}),children:"Settings"})]}),a.jsxs(e.TabPanels,{children:[a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Home dashboard content."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"User profile information."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Application settings."})})})]})]})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Bordered with Icons"}),a.jsxs(e.TabGroup,{variant:"bordered",children:[a.jsxs(e.TabList,{variant:"bordered",children:[a.jsx(e.TabItem,{variant:"bordered",icon:a.jsx(n.Mail,{size:16}),children:"Messages"}),a.jsx(e.TabItem,{variant:"bordered",icon:a.jsx(n.Bell,{size:16}),children:"Alerts"}),a.jsx(e.TabItem,{variant:"bordered",icon:a.jsx(n.Calendar,{size:16}),children:"Schedule"})]}),a.jsxs(e.TabPanels,{children:[a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Your messages and conversations."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"System alerts and notifications."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Calendar and scheduled events."})})})]})]})]})]})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Sizes",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Small Size"}),a.jsxs(e.TabGroup,{variant:"pills",children:[a.jsxs(e.TabList,{variant:"pills",children:[a.jsx(e.TabItem,{variant:"pills",size:"small",children:"Tab 1"}),a.jsx(e.TabItem,{variant:"pills",size:"small",children:"Tab 2"}),a.jsx(e.TabItem,{variant:"pills",size:"small",children:"Tab 3"})]}),a.jsxs(e.TabPanels,{children:[a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Small size tabs content."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Compact design for space-constrained layouts."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Perfect for dense information displays."})})})]})]})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Large Size"}),a.jsxs(e.TabGroup,{variant:"pills",children:[a.jsxs(e.TabList,{variant:"pills",children:[a.jsx(e.TabItem,{variant:"pills",size:"large",children:"Tab 1"}),a.jsx(e.TabItem,{variant:"pills",size:"large",children:"Tab 2"}),a.jsx(e.TabItem,{variant:"pills",size:"large",children:"Tab 3"})]}),a.jsxs(e.TabPanels,{children:[a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Large size tabs content."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Prominent design for main navigation."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Great for primary interface elements."})})})]})]})]})]})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"States",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"With Disabled Tab"}),a.jsxs(e.TabGroup,{variant:"pills",children:[a.jsxs(e.TabList,{variant:"pills",children:[a.jsx(e.TabItem,{variant:"pills",children:"Active"}),a.jsx(e.TabItem,{variant:"pills",disabled:!0,children:"Disabled"}),a.jsx(e.TabItem,{variant:"pills",children:"Available"})]}),a.jsxs(e.TabPanels,{children:[a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Active tab content."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"This tab is disabled."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Available tab content."})})})]})]})]}),a.jsxs("div",{children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Color Variants"}),a.jsxs(e.TabGroup,{variant:"underline",children:[a.jsxs(e.TabList,{variant:"underline",children:[a.jsx(e.TabItem,{variant:"underline",color:"primary",children:"Primary"}),a.jsx(e.TabItem,{variant:"underline",color:"success",children:"Success"}),a.jsx(e.TabItem,{variant:"underline",color:"danger",children:"Danger"})]}),a.jsxs(e.TabPanels,{children:[a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Primary color theme."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Success color theme."})})}),a.jsx(e.TabPanel,{children:a.jsx(e.CardContainer,{className:"p-4",children:a.jsx(e.Typography,{tag:"p",children:"Danger color theme."})})})]})]})]})]})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Props",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsx(e.BasicTable,{columns:r,data:l})})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Code Examples",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsx(e.CodeBlock,{language:"tsx",code:`import {
|
|
2
|
+
TabGroup,
|
|
3
|
+
TabList,
|
|
4
|
+
TabItem,
|
|
5
|
+
TabPanels,
|
|
6
|
+
TabPanel,
|
|
7
|
+
} from '@e-burgos/tucu-ui';
|
|
8
|
+
import { Home, User, Settings } from 'lucide-react';
|
|
9
|
+
|
|
10
|
+
// Basic underline tabs
|
|
11
|
+
<TabGroup variant="underline">
|
|
12
|
+
<TabList variant="underline">
|
|
13
|
+
<TabItem variant="underline">Tab 1</TabItem>
|
|
14
|
+
<TabItem variant="underline">Tab 2</TabItem>
|
|
15
|
+
<TabItem variant="underline">Tab 3</TabItem>
|
|
16
|
+
</TabList>
|
|
17
|
+
<TabPanels>
|
|
18
|
+
<TabPanel>Content 1</TabPanel>
|
|
19
|
+
<TabPanel>Content 2</TabPanel>
|
|
20
|
+
<TabPanel>Content 3</TabPanel>
|
|
21
|
+
</TabPanels>
|
|
22
|
+
</TabGroup>
|
|
23
|
+
|
|
24
|
+
// Pills variant with icons
|
|
25
|
+
<TabGroup variant="pills">
|
|
26
|
+
<TabList variant="pills">
|
|
27
|
+
<TabItem variant="pills" icon={<Home size={16} />}>
|
|
28
|
+
Home
|
|
29
|
+
</TabItem>
|
|
30
|
+
<TabItem variant="pills" icon={<User size={16} />}>
|
|
31
|
+
Profile
|
|
32
|
+
</TabItem>
|
|
33
|
+
<TabItem variant="pills" icon={<Settings size={16} />}>
|
|
34
|
+
Settings
|
|
35
|
+
</TabItem>
|
|
36
|
+
</TabList>
|
|
37
|
+
<TabPanels>
|
|
38
|
+
<TabPanel>Home content</TabPanel>
|
|
39
|
+
<TabPanel>Profile content</TabPanel>
|
|
40
|
+
<TabPanel>Settings content</TabPanel>
|
|
41
|
+
</TabPanels>
|
|
42
|
+
</TabGroup>
|
|
43
|
+
|
|
44
|
+
// Bordered variant with sizes
|
|
45
|
+
<TabGroup variant="bordered">
|
|
46
|
+
<TabList variant="bordered">
|
|
47
|
+
<TabItem variant="bordered" size="small">Small</TabItem>
|
|
48
|
+
<TabItem variant="bordered" size="medium">Medium</TabItem>
|
|
49
|
+
<TabItem variant="bordered" size="large">Large</TabItem>
|
|
50
|
+
</TabList>
|
|
51
|
+
<TabPanels>
|
|
52
|
+
<TabPanel>Small content</TabPanel>
|
|
53
|
+
<TabPanel>Medium content</TabPanel>
|
|
54
|
+
<TabPanel>Large content</TabPanel>
|
|
55
|
+
</TabPanels>
|
|
56
|
+
</TabGroup>
|
|
57
|
+
|
|
58
|
+
// Solid variant with disabled tab
|
|
59
|
+
<TabGroup variant="solid">
|
|
60
|
+
<TabList variant="solid">
|
|
61
|
+
<TabItem variant="solid">Active</TabItem>
|
|
62
|
+
<TabItem variant="solid" disabled>Disabled</TabItem>
|
|
63
|
+
<TabItem variant="solid">Available</TabItem>
|
|
64
|
+
</TabList>
|
|
65
|
+
<TabPanels>
|
|
66
|
+
<TabPanel>Active content</TabPanel>
|
|
67
|
+
<TabPanel>Disabled content</TabPanel>
|
|
68
|
+
<TabPanel>Available content</TabPanel>
|
|
69
|
+
</TabPanels>
|
|
70
|
+
</TabGroup>
|
|
71
|
+
|
|
72
|
+
// With color variants
|
|
73
|
+
<TabGroup variant="underline">
|
|
74
|
+
<TabList variant="underline">
|
|
75
|
+
<TabItem variant="underline" color="primary">Primary</TabItem>
|
|
76
|
+
<TabItem variant="underline" color="success">Success</TabItem>
|
|
77
|
+
<TabItem variant="underline" color="danger">Danger</TabItem>
|
|
78
|
+
</TabList>
|
|
79
|
+
<TabPanels>
|
|
80
|
+
<TabPanel>Primary content</TabPanel>
|
|
81
|
+
<TabPanel>Success content</TabPanel>
|
|
82
|
+
<TabPanel>Danger content</TabPanel>
|
|
83
|
+
</TabPanels>
|
|
84
|
+
</TabGroup>`})})})})]})};exports.default=t;
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
import { jsxs as a, Fragment as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { T as i, C as l, a as c, a8 as t, a9 as s, aa as n, ab as d, ac as r, B as b, c as p } from "./index-Hq6IUBmn.mjs";
|
|
3
|
+
import { Home as v, User as T, Settings as u, Mail as g, Bell as N, Calendar as P } from "lucide-react";
|
|
4
|
+
import "react-router-dom";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const C = () => /* @__PURE__ */ a(m, { children: [
|
|
8
|
+
/* @__PURE__ */ a("div", { className: "text-center space-y-4", children: [
|
|
9
|
+
/* @__PURE__ */ e(i, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "Tabs" }),
|
|
10
|
+
/* @__PURE__ */ e(
|
|
11
|
+
i,
|
|
12
|
+
{
|
|
13
|
+
tag: "p",
|
|
14
|
+
className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
|
|
15
|
+
children: "A flexible tab component system with multiple variants, smooth animations, and mobile-responsive design built on Headless UI."
|
|
16
|
+
}
|
|
17
|
+
)
|
|
18
|
+
] }),
|
|
19
|
+
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(c, { title: "Variants", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a("div", { className: "space-y-8", children: [
|
|
20
|
+
/* @__PURE__ */ a("div", { children: [
|
|
21
|
+
/* @__PURE__ */ e(i, { tag: "h5", className: "mb-3", children: "Underline Variant (Default)" }),
|
|
22
|
+
/* @__PURE__ */ a(t, { variant: "underline", children: [
|
|
23
|
+
/* @__PURE__ */ a(s, { variant: "underline", children: [
|
|
24
|
+
/* @__PURE__ */ e(n, { variant: "underline", children: "Overview" }),
|
|
25
|
+
/* @__PURE__ */ e(n, { variant: "underline", children: "Details" }),
|
|
26
|
+
/* @__PURE__ */ e(n, { variant: "underline", children: "Settings" })
|
|
27
|
+
] }),
|
|
28
|
+
/* @__PURE__ */ a(d, { children: [
|
|
29
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Overview content with clean underline design." }) }) }),
|
|
30
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Detailed information with professional styling." }) }) }),
|
|
31
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Settings panel with modern appearance." }) }) })
|
|
32
|
+
] })
|
|
33
|
+
] })
|
|
34
|
+
] }),
|
|
35
|
+
/* @__PURE__ */ a("div", { children: [
|
|
36
|
+
/* @__PURE__ */ e(i, { tag: "h5", className: "mb-3", children: "Pills Variant" }),
|
|
37
|
+
/* @__PURE__ */ a(t, { variant: "pills", children: [
|
|
38
|
+
/* @__PURE__ */ a(s, { variant: "pills", children: [
|
|
39
|
+
/* @__PURE__ */ e(n, { variant: "pills", children: "Dashboard" }),
|
|
40
|
+
/* @__PURE__ */ e(n, { variant: "pills", children: "Analytics" }),
|
|
41
|
+
/* @__PURE__ */ e(n, { variant: "pills", children: "Reports" })
|
|
42
|
+
] }),
|
|
43
|
+
/* @__PURE__ */ a(d, { children: [
|
|
44
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Dashboard with rounded pill tabs for a modern look." }) }) }),
|
|
45
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Analytics data with smooth transitions." }) }) }),
|
|
46
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Reports section with clean design." }) }) })
|
|
47
|
+
] })
|
|
48
|
+
] })
|
|
49
|
+
] }),
|
|
50
|
+
/* @__PURE__ */ a("div", { children: [
|
|
51
|
+
/* @__PURE__ */ e(i, { tag: "h5", className: "mb-3", children: "Bordered Variant" }),
|
|
52
|
+
/* @__PURE__ */ a(t, { variant: "bordered", children: [
|
|
53
|
+
/* @__PURE__ */ a(s, { variant: "bordered", children: [
|
|
54
|
+
/* @__PURE__ */ e(n, { variant: "bordered", children: "Account" }),
|
|
55
|
+
/* @__PURE__ */ e(n, { variant: "bordered", children: "Security" }),
|
|
56
|
+
/* @__PURE__ */ e(n, { variant: "bordered", children: "Billing" })
|
|
57
|
+
] }),
|
|
58
|
+
/* @__PURE__ */ a(d, { children: [
|
|
59
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Account settings with bordered tab style." }) }) }),
|
|
60
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Security options with clear visual distinction." }) }) }),
|
|
61
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Billing information with professional appearance." }) }) })
|
|
62
|
+
] })
|
|
63
|
+
] })
|
|
64
|
+
] }),
|
|
65
|
+
/* @__PURE__ */ a("div", { children: [
|
|
66
|
+
/* @__PURE__ */ e(i, { tag: "h5", className: "mb-3", children: "Solid Variant" }),
|
|
67
|
+
/* @__PURE__ */ a(t, { variant: "solid", children: [
|
|
68
|
+
/* @__PURE__ */ a(s, { variant: "solid", children: [
|
|
69
|
+
/* @__PURE__ */ e(n, { variant: "solid", children: "Profile" }),
|
|
70
|
+
/* @__PURE__ */ e(n, { variant: "solid", children: "Notifications" }),
|
|
71
|
+
/* @__PURE__ */ e(n, { variant: "solid", children: "Privacy" })
|
|
72
|
+
] }),
|
|
73
|
+
/* @__PURE__ */ a(d, { children: [
|
|
74
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Profile section with solid background tabs." }) }) }),
|
|
75
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Notifications center with modern design." }) }) }),
|
|
76
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Privacy settings with clean interface." }) }) })
|
|
77
|
+
] })
|
|
78
|
+
] })
|
|
79
|
+
] })
|
|
80
|
+
] }) }) }) }),
|
|
81
|
+
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(c, { title: "With Icons", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a("div", { className: "space-y-6", children: [
|
|
82
|
+
/* @__PURE__ */ a("div", { children: [
|
|
83
|
+
/* @__PURE__ */ e(i, { tag: "h5", className: "mb-3", children: "Pills with Icons" }),
|
|
84
|
+
/* @__PURE__ */ a(t, { variant: "pills", children: [
|
|
85
|
+
/* @__PURE__ */ a(s, { variant: "pills", children: [
|
|
86
|
+
/* @__PURE__ */ e(n, { variant: "pills", icon: /* @__PURE__ */ e(v, { size: 16 }), children: "Home" }),
|
|
87
|
+
/* @__PURE__ */ e(n, { variant: "pills", icon: /* @__PURE__ */ e(T, { size: 16 }), children: "Profile" }),
|
|
88
|
+
/* @__PURE__ */ e(n, { variant: "pills", icon: /* @__PURE__ */ e(u, { size: 16 }), children: "Settings" })
|
|
89
|
+
] }),
|
|
90
|
+
/* @__PURE__ */ a(d, { children: [
|
|
91
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Home dashboard content." }) }) }),
|
|
92
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "User profile information." }) }) }),
|
|
93
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Application settings." }) }) })
|
|
94
|
+
] })
|
|
95
|
+
] })
|
|
96
|
+
] }),
|
|
97
|
+
/* @__PURE__ */ a("div", { children: [
|
|
98
|
+
/* @__PURE__ */ e(i, { tag: "h5", className: "mb-3", children: "Bordered with Icons" }),
|
|
99
|
+
/* @__PURE__ */ a(t, { variant: "bordered", children: [
|
|
100
|
+
/* @__PURE__ */ a(s, { variant: "bordered", children: [
|
|
101
|
+
/* @__PURE__ */ e(n, { variant: "bordered", icon: /* @__PURE__ */ e(g, { size: 16 }), children: "Messages" }),
|
|
102
|
+
/* @__PURE__ */ e(n, { variant: "bordered", icon: /* @__PURE__ */ e(N, { size: 16 }), children: "Alerts" }),
|
|
103
|
+
/* @__PURE__ */ e(n, { variant: "bordered", icon: /* @__PURE__ */ e(P, { size: 16 }), children: "Schedule" })
|
|
104
|
+
] }),
|
|
105
|
+
/* @__PURE__ */ a(d, { children: [
|
|
106
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Your messages and conversations." }) }) }),
|
|
107
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "System alerts and notifications." }) }) }),
|
|
108
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Calendar and scheduled events." }) }) })
|
|
109
|
+
] })
|
|
110
|
+
] })
|
|
111
|
+
] })
|
|
112
|
+
] }) }) }) }),
|
|
113
|
+
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(c, { title: "Sizes", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a("div", { className: "space-y-6", children: [
|
|
114
|
+
/* @__PURE__ */ a("div", { children: [
|
|
115
|
+
/* @__PURE__ */ e(i, { tag: "h5", className: "mb-3", children: "Small Size" }),
|
|
116
|
+
/* @__PURE__ */ a(t, { variant: "pills", children: [
|
|
117
|
+
/* @__PURE__ */ a(s, { variant: "pills", children: [
|
|
118
|
+
/* @__PURE__ */ e(n, { variant: "pills", size: "small", children: "Tab 1" }),
|
|
119
|
+
/* @__PURE__ */ e(n, { variant: "pills", size: "small", children: "Tab 2" }),
|
|
120
|
+
/* @__PURE__ */ e(n, { variant: "pills", size: "small", children: "Tab 3" })
|
|
121
|
+
] }),
|
|
122
|
+
/* @__PURE__ */ a(d, { children: [
|
|
123
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Small size tabs content." }) }) }),
|
|
124
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Compact design for space-constrained layouts." }) }) }),
|
|
125
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Perfect for dense information displays." }) }) })
|
|
126
|
+
] })
|
|
127
|
+
] })
|
|
128
|
+
] }),
|
|
129
|
+
/* @__PURE__ */ a("div", { children: [
|
|
130
|
+
/* @__PURE__ */ e(i, { tag: "h5", className: "mb-3", children: "Large Size" }),
|
|
131
|
+
/* @__PURE__ */ a(t, { variant: "pills", children: [
|
|
132
|
+
/* @__PURE__ */ a(s, { variant: "pills", children: [
|
|
133
|
+
/* @__PURE__ */ e(n, { variant: "pills", size: "large", children: "Tab 1" }),
|
|
134
|
+
/* @__PURE__ */ e(n, { variant: "pills", size: "large", children: "Tab 2" }),
|
|
135
|
+
/* @__PURE__ */ e(n, { variant: "pills", size: "large", children: "Tab 3" })
|
|
136
|
+
] }),
|
|
137
|
+
/* @__PURE__ */ a(d, { children: [
|
|
138
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Large size tabs content." }) }) }),
|
|
139
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Prominent design for main navigation." }) }) }),
|
|
140
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Great for primary interface elements." }) }) })
|
|
141
|
+
] })
|
|
142
|
+
] })
|
|
143
|
+
] })
|
|
144
|
+
] }) }) }) }),
|
|
145
|
+
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(c, { title: "States", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a("div", { className: "space-y-6", children: [
|
|
146
|
+
/* @__PURE__ */ a("div", { children: [
|
|
147
|
+
/* @__PURE__ */ e(i, { tag: "h5", className: "mb-3", children: "With Disabled Tab" }),
|
|
148
|
+
/* @__PURE__ */ a(t, { variant: "pills", children: [
|
|
149
|
+
/* @__PURE__ */ a(s, { variant: "pills", children: [
|
|
150
|
+
/* @__PURE__ */ e(n, { variant: "pills", children: "Active" }),
|
|
151
|
+
/* @__PURE__ */ e(n, { variant: "pills", disabled: !0, children: "Disabled" }),
|
|
152
|
+
/* @__PURE__ */ e(n, { variant: "pills", children: "Available" })
|
|
153
|
+
] }),
|
|
154
|
+
/* @__PURE__ */ a(d, { children: [
|
|
155
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Active tab content." }) }) }),
|
|
156
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "This tab is disabled." }) }) }),
|
|
157
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Available tab content." }) }) })
|
|
158
|
+
] })
|
|
159
|
+
] })
|
|
160
|
+
] }),
|
|
161
|
+
/* @__PURE__ */ a("div", { children: [
|
|
162
|
+
/* @__PURE__ */ e(i, { tag: "h5", className: "mb-3", children: "Color Variants" }),
|
|
163
|
+
/* @__PURE__ */ a(t, { variant: "underline", children: [
|
|
164
|
+
/* @__PURE__ */ a(s, { variant: "underline", children: [
|
|
165
|
+
/* @__PURE__ */ e(n, { variant: "underline", color: "primary", children: "Primary" }),
|
|
166
|
+
/* @__PURE__ */ e(n, { variant: "underline", color: "success", children: "Success" }),
|
|
167
|
+
/* @__PURE__ */ e(n, { variant: "underline", color: "danger", children: "Danger" })
|
|
168
|
+
] }),
|
|
169
|
+
/* @__PURE__ */ a(d, { children: [
|
|
170
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Primary color theme." }) }) }),
|
|
171
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Success color theme." }) }) }),
|
|
172
|
+
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(l, { className: "p-4", children: /* @__PURE__ */ e(i, { tag: "p", children: "Danger color theme." }) }) })
|
|
173
|
+
] })
|
|
174
|
+
] })
|
|
175
|
+
] })
|
|
176
|
+
] }) }) }) }),
|
|
177
|
+
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(c, { title: "Props", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(b, { columns: [
|
|
178
|
+
{
|
|
179
|
+
key: "prop",
|
|
180
|
+
label: "Prop",
|
|
181
|
+
render: (o) => /* @__PURE__ */ e("code", { className: "text-xs text-brand", children: String(o) })
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
key: "type",
|
|
185
|
+
label: "Type",
|
|
186
|
+
render: (o) => /* @__PURE__ */ e("code", { className: "text-xs", children: String(o) })
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
key: "default",
|
|
190
|
+
label: "Default",
|
|
191
|
+
render: (o) => {
|
|
192
|
+
const h = String(o);
|
|
193
|
+
return h === "required" ? /* @__PURE__ */ e("span", { className: "text-xs text-red-500", children: "required" }) : /* @__PURE__ */ e("code", { className: "text-xs", children: h });
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
key: "description",
|
|
198
|
+
label: "Description"
|
|
199
|
+
}
|
|
200
|
+
], data: [
|
|
201
|
+
{
|
|
202
|
+
prop: "variant",
|
|
203
|
+
type: "'underline' | 'pills' | 'bordered' | 'solid'",
|
|
204
|
+
default: "'underline'",
|
|
205
|
+
description: "Visual style variant of the tabs"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
prop: "size",
|
|
209
|
+
type: "'small' | 'medium' | 'large'",
|
|
210
|
+
default: "'medium'",
|
|
211
|
+
description: "Size of the tab items"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
prop: "color",
|
|
215
|
+
type: "'primary' | 'secondary' | 'success' | 'danger'",
|
|
216
|
+
default: "-",
|
|
217
|
+
description: "Color theme for unselected tabs"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
prop: "icon",
|
|
221
|
+
type: "React.ReactNode",
|
|
222
|
+
default: "-",
|
|
223
|
+
description: "Icon to display before tab label"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
prop: "disabled",
|
|
227
|
+
type: "boolean",
|
|
228
|
+
default: "false",
|
|
229
|
+
description: "Whether the tab is disabled"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
prop: "showMobileIndicator",
|
|
233
|
+
type: "boolean",
|
|
234
|
+
default: "true",
|
|
235
|
+
description: "Show indicator on mobile devices"
|
|
236
|
+
}
|
|
237
|
+
] }) }) }) }),
|
|
238
|
+
/* @__PURE__ */ e(l, { className: "overflow-hidden", children: /* @__PURE__ */ e(c, { title: "Code Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(
|
|
239
|
+
p,
|
|
240
|
+
{
|
|
241
|
+
language: "tsx",
|
|
242
|
+
code: `import {
|
|
243
|
+
TabGroup,
|
|
244
|
+
TabList,
|
|
245
|
+
TabItem,
|
|
246
|
+
TabPanels,
|
|
247
|
+
TabPanel,
|
|
248
|
+
} from '@e-burgos/tucu-ui';
|
|
249
|
+
import { Home, User, Settings } from 'lucide-react';
|
|
250
|
+
|
|
251
|
+
// Basic underline tabs
|
|
252
|
+
<TabGroup variant="underline">
|
|
253
|
+
<TabList variant="underline">
|
|
254
|
+
<TabItem variant="underline">Tab 1</TabItem>
|
|
255
|
+
<TabItem variant="underline">Tab 2</TabItem>
|
|
256
|
+
<TabItem variant="underline">Tab 3</TabItem>
|
|
257
|
+
</TabList>
|
|
258
|
+
<TabPanels>
|
|
259
|
+
<TabPanel>Content 1</TabPanel>
|
|
260
|
+
<TabPanel>Content 2</TabPanel>
|
|
261
|
+
<TabPanel>Content 3</TabPanel>
|
|
262
|
+
</TabPanels>
|
|
263
|
+
</TabGroup>
|
|
264
|
+
|
|
265
|
+
// Pills variant with icons
|
|
266
|
+
<TabGroup variant="pills">
|
|
267
|
+
<TabList variant="pills">
|
|
268
|
+
<TabItem variant="pills" icon={<Home size={16} />}>
|
|
269
|
+
Home
|
|
270
|
+
</TabItem>
|
|
271
|
+
<TabItem variant="pills" icon={<User size={16} />}>
|
|
272
|
+
Profile
|
|
273
|
+
</TabItem>
|
|
274
|
+
<TabItem variant="pills" icon={<Settings size={16} />}>
|
|
275
|
+
Settings
|
|
276
|
+
</TabItem>
|
|
277
|
+
</TabList>
|
|
278
|
+
<TabPanels>
|
|
279
|
+
<TabPanel>Home content</TabPanel>
|
|
280
|
+
<TabPanel>Profile content</TabPanel>
|
|
281
|
+
<TabPanel>Settings content</TabPanel>
|
|
282
|
+
</TabPanels>
|
|
283
|
+
</TabGroup>
|
|
284
|
+
|
|
285
|
+
// Bordered variant with sizes
|
|
286
|
+
<TabGroup variant="bordered">
|
|
287
|
+
<TabList variant="bordered">
|
|
288
|
+
<TabItem variant="bordered" size="small">Small</TabItem>
|
|
289
|
+
<TabItem variant="bordered" size="medium">Medium</TabItem>
|
|
290
|
+
<TabItem variant="bordered" size="large">Large</TabItem>
|
|
291
|
+
</TabList>
|
|
292
|
+
<TabPanels>
|
|
293
|
+
<TabPanel>Small content</TabPanel>
|
|
294
|
+
<TabPanel>Medium content</TabPanel>
|
|
295
|
+
<TabPanel>Large content</TabPanel>
|
|
296
|
+
</TabPanels>
|
|
297
|
+
</TabGroup>
|
|
298
|
+
|
|
299
|
+
// Solid variant with disabled tab
|
|
300
|
+
<TabGroup variant="solid">
|
|
301
|
+
<TabList variant="solid">
|
|
302
|
+
<TabItem variant="solid">Active</TabItem>
|
|
303
|
+
<TabItem variant="solid" disabled>Disabled</TabItem>
|
|
304
|
+
<TabItem variant="solid">Available</TabItem>
|
|
305
|
+
</TabList>
|
|
306
|
+
<TabPanels>
|
|
307
|
+
<TabPanel>Active content</TabPanel>
|
|
308
|
+
<TabPanel>Disabled content</TabPanel>
|
|
309
|
+
<TabPanel>Available content</TabPanel>
|
|
310
|
+
</TabPanels>
|
|
311
|
+
</TabGroup>
|
|
312
|
+
|
|
313
|
+
// With color variants
|
|
314
|
+
<TabGroup variant="underline">
|
|
315
|
+
<TabList variant="underline">
|
|
316
|
+
<TabItem variant="underline" color="primary">Primary</TabItem>
|
|
317
|
+
<TabItem variant="underline" color="success">Success</TabItem>
|
|
318
|
+
<TabItem variant="underline" color="danger">Danger</TabItem>
|
|
319
|
+
</TabList>
|
|
320
|
+
<TabPanels>
|
|
321
|
+
<TabPanel>Primary content</TabPanel>
|
|
322
|
+
<TabPanel>Success content</TabPanel>
|
|
323
|
+
<TabPanel>Danger content</TabPanel>
|
|
324
|
+
</TabPanels>
|
|
325
|
+
</TabGroup>`
|
|
326
|
+
}
|
|
327
|
+
) }) }) })
|
|
328
|
+
] });
|
|
329
|
+
export {
|
|
330
|
+
C as default
|
|
331
|
+
};
|