@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.
Files changed (537) hide show
  1. package/1-CArqgiQa.js +1 -0
  2. package/1-Df9CGZha.mjs +4 -0
  3. package/APIReferenceSection-BWjvmObc.mjs +142 -0
  4. package/APIReferenceSection-BYpmlTa1.js +1 -0
  5. package/ActiveLinkSection-QE4rt7E7.mjs +120 -0
  6. package/ActiveLinkSection-koQfqiWT.js +22 -0
  7. package/AdvancedColorSystemSection-BMjT0GS3.js +17 -0
  8. package/AdvancedColorSystemSection-Cm3q7pci.mjs +194 -0
  9. package/AdvancedFeaturesSection-BvQzMRC_.js +1 -0
  10. package/AdvancedFeaturesSection-CsHt-5rZ.mjs +100 -0
  11. package/AdvancedFeaturesSection-UC1uVDPQ.js +1 -0
  12. package/AdvancedFeaturesSection-o4D1pf9b.mjs +82 -0
  13. package/AlertSection-DPxTJhXM.mjs +143 -0
  14. package/AlertSection-Di1Vmdlp.js +25 -0
  15. package/AnchorLinkSection-Ce1TtPg5.mjs +94 -0
  16. package/AnchorLinkSection-dexXCWm0.js +19 -0
  17. package/ArchitecturalPatternsComparisonSection-BGoc7LRz.mjs +325 -0
  18. package/ArchitecturalPatternsComparisonSection-bFhTZY--.js +31 -0
  19. package/ArchitectureOverviewSection-0kw6rJQn.mjs +88 -0
  20. package/ArchitectureOverviewSection-DI3j5QrY.js +1 -0
  21. package/AuthorCardSection-C9nyTm-Y.js +17 -0
  22. package/AuthorCardSection-CdrGEAlv.mjs +110 -0
  23. package/AvatarSection-DurCy8Tv.js +18 -0
  24. package/AvatarSection-w5aVByxo.mjs +137 -0
  25. package/BadgeSection-BBrQIp_J.mjs +238 -0
  26. package/BadgeSection-C18_hgvN.js +48 -0
  27. package/BasicTableSection-CRoBEEqA.js +35 -0
  28. package/BasicTableSection-CV_O4PiF.mjs +169 -0
  29. package/BasicUsageSection-BNMeKpps.js +45 -0
  30. package/BasicUsageSection-uA18k0GU.mjs +103 -0
  31. package/BestPracticesSection-B-JPz0Dc.js +1 -0
  32. package/BestPracticesSection-B9z8NSkq.mjs +57 -0
  33. package/BestPracticesSection-BATlfVaQ.mjs +49 -0
  34. package/BestPracticesSection-BDukov7c.mjs +83 -0
  35. package/BestPracticesSection-BWkl5DsH.mjs +41 -0
  36. package/BestPracticesSection-BbhipFte.mjs +43 -0
  37. package/BestPracticesSection-Bp-_tC8C.js +1 -0
  38. package/BestPracticesSection-CEu4bNZE.js +1 -0
  39. package/BestPracticesSection-CYtEiufQ.js +1 -0
  40. package/BestPracticesSection-CaE-0BTV.js +1 -0
  41. package/BestPracticesSection-CdY0wZsv.js +1 -0
  42. package/BestPracticesSection-CoE_Xgj2.mjs +84 -0
  43. package/BestPracticesSection-DN9K2d3_.js +1 -0
  44. package/BestPracticesSection-n_GJKuXp.mjs +83 -0
  45. package/BorderRadiusSection-BqRzkDYG.js +1 -0
  46. package/BorderRadiusSection-CvnMLFCh.mjs +63 -0
  47. package/ButtonDripSection-BLa_mdeq.mjs +99 -0
  48. package/ButtonDripSection-D62t7cNU.js +12 -0
  49. package/ButtonLoaderSection-BAEAsnOQ.js +30 -0
  50. package/ButtonLoaderSection-dY9Ctlyf.mjs +127 -0
  51. package/CHANGELOG.md +253 -0
  52. package/CardContainerSection-Cso5x1TX.mjs +99 -0
  53. package/CardContainerSection-_OZaMbIu.js +21 -0
  54. package/CardTitleSection-BNmdH8MJ.mjs +113 -0
  55. package/CardTitleSection-CGnIM20t.js +19 -0
  56. package/CarouselCardsSection-CqwkiKuv.js +37 -0
  57. package/CarouselCardsSection-DJUza5iT.mjs +207 -0
  58. package/CarouselImageSection-CoNZlkZS.mjs +218 -0
  59. package/CarouselImageSection-sUP78k0h.js +38 -0
  60. package/CarouselSection-CLso38c7.mjs +159 -0
  61. package/CarouselSection-DrLjfsDL.js +24 -0
  62. package/CheckboxSection-B1Thom62.mjs +221 -0
  63. package/CheckboxSection-ClRdRrG3.js +26 -0
  64. package/CodeExamplesSection-DGdE5jIe.mjs +137 -0
  65. package/CodeExamplesSection-raO1hI2K.js +28 -0
  66. package/CoinCardSection-BMWMx77E.js +13 -0
  67. package/CoinCardSection-CcmSvFrb.mjs +174 -0
  68. package/CoinInfoCardSection-BXKoUx90.mjs +174 -0
  69. package/CoinInfoCardSection-Cg7mcq06.js +12 -0
  70. package/CoinListBoxSection-CUGweWcL.mjs +219 -0
  71. package/CoinListBoxSection-DlBbVyVM.js +24 -0
  72. package/CollapseSection-98dxj6hh.mjs +126 -0
  73. package/CollapseSection-kmcNxPMt.js +27 -0
  74. package/CollectionCardSection-BECI5Bd7.js +17 -0
  75. package/CollectionCardSection-kQBMh56J.mjs +103 -0
  76. package/CollectionSelectListSection-DF33zicH.mjs +102 -0
  77. package/CollectionSelectListSection-Db5SV44f.js +14 -0
  78. package/ColorCustomizationSection-Bb6emsjF.mjs +117 -0
  79. package/ColorCustomizationSection-CoATCcOw.js +1 -0
  80. package/ColorSystemSection-BMcNOrJZ.js +1 -0
  81. package/ColorSystemSection-Cb3ON86x.mjs +149 -0
  82. package/CommonErrorsSection-CP45i0KI.mjs +54 -0
  83. package/CommonErrorsSection-Q2gLNsG4.js +1 -0
  84. package/ComponentAnatomySection-Bbig6v0L.mjs +72 -0
  85. package/ComponentAnatomySection-Bq47Shzj.js +1 -0
  86. package/ComponentStatusSection-2PqavyCq.js +1 -0
  87. package/ComponentStatusSection-DJCpIv1y.mjs +84 -0
  88. package/CurrencySwapIconsSection-CycYbE0J.js +7 -0
  89. package/CurrencySwapIconsSection-JqjAN8xl.mjs +92 -0
  90. package/CustomColorPaletteSection-CfXiJg17.mjs +54 -0
  91. package/CustomColorPaletteSection-CzjNz2Lg.js +19 -0
  92. package/CustomIconsSection-0cWmXojJ.js +3 -0
  93. package/CustomIconsSection-DJMbKrH3.mjs +162 -0
  94. package/DefiAppLogoSection-D7jgArKN.mjs +120 -0
  95. package/DefiAppLogoSection-alsK3oh9.js +36 -0
  96. package/DesignPrinciplesSection-CbLaXe_T.mjs +81 -0
  97. package/DesignPrinciplesSection-DHN9U0MX.js +1 -0
  98. package/DrawerSection-C2gb1jbq.js +41 -0
  99. package/DrawerSection-CxC9PQJU.mjs +188 -0
  100. package/DynamicRoutesSection-C0hcJyEO.mjs +100 -0
  101. package/DynamicRoutesSection-DTEL6uSr.js +42 -0
  102. package/FileInputSection-BuwiaCIE.mjs +277 -0
  103. package/FileInputSection-qzkjHIPs.js +65 -0
  104. package/FileStructureSection-COelsTGH.js +26 -0
  105. package/FileStructureSection-DGFd5OvW.mjs +87 -0
  106. package/FormComponentsSection-Dz4NJWIU.mjs +116 -0
  107. package/FormComponentsSection-jDaUkbDC.js +1 -0
  108. package/FormMethodsSection-BYQ_foZq.js +55 -0
  109. package/FormMethodsSection-vLlj8oqq.mjs +119 -0
  110. package/HamburgerSection-DCyFcRlT.mjs +108 -0
  111. package/HamburgerSection-jpcdZ_hA.js +18 -0
  112. package/HookCategoriesSection-CxOrlkB5.mjs +97 -0
  113. package/HookCategoriesSection-DyOM1Dtj.js +1 -0
  114. package/HookDocumentationSection-CkH1P0yQ.mjs +272 -0
  115. package/HookDocumentationSection-b60lRPki.js +73 -0
  116. package/HookFeaturesSection-CFQ-th28.mjs +81 -0
  117. package/HookFeaturesSection-CM3rSPy7.js +1 -0
  118. package/IconArchitectureSection-B44gXgNP.mjs +108 -0
  119. package/IconArchitectureSection-DNcAfKY5.js +1 -0
  120. package/IconSizingGuideSection-CIOX5rAk.mjs +69 -0
  121. package/IconSizingGuideSection-u_m129SM.js +1 -0
  122. package/IconSystemAPISection-BTFd0SEj.js +1 -0
  123. package/IconSystemAPISection-C5oHKJSa.mjs +61 -0
  124. package/IconSystemBenefitsSection-4vjBgOcL.js +1 -0
  125. package/IconSystemBenefitsSection-DzNHxfsx.mjs +41 -0
  126. package/ImageSection-B4Egz61c.mjs +612 -0
  127. package/ImageSection-KRwcaC7i.js +80 -0
  128. package/ImplementationExamplesSection-B0Iyb8pc.mjs +284 -0
  129. package/ImplementationExamplesSection-D3GzoJHk.js +178 -0
  130. package/ImplementationGuidelinesSection-B986S98s.mjs +52 -0
  131. package/ImplementationGuidelinesSection-Di6FUATm.js +1 -0
  132. package/ImplementationStatusSection-CqAnYtcw.js +1 -0
  133. package/ImplementationStatusSection-zClYTFYV.mjs +23 -0
  134. package/ImplementedFeaturesSection-BzhXFsJc.js +1 -0
  135. package/ImplementedFeaturesSection-bsALbW35.mjs +116 -0
  136. package/InputSearcherSection-DQcFOSI_.js +32 -0
  137. package/InputSearcherSection-uyHUHUxD.mjs +258 -0
  138. package/InputSection-BhZmA0wW.js +37 -0
  139. package/InputSection-BnRWQKM5.mjs +265 -0
  140. package/KeyboardNavigationSection-BVRBWrR_.mjs +69 -0
  141. package/KeyboardNavigationSection-DkV3cH4w.js +1 -0
  142. package/LayoutPrinciplesSection-DTVK1_Ht.mjs +106 -0
  143. package/LayoutPrinciplesSection-wdSSdypw.js +1 -0
  144. package/LayoutTypesSection-BTUS9xIl.js +1 -0
  145. package/LayoutTypesSection-D4eq7w9u.mjs +239 -0
  146. package/ListContainerSection-CMukx5sM.js +38 -0
  147. package/ListContainerSection-Lq00hl5g.mjs +191 -0
  148. package/ListItemSection-CEpCtoxu.mjs +191 -0
  149. package/ListItemSection-D3CkNixV.js +36 -0
  150. package/LiveDemoSection-DQDdyS8_.js +1 -0
  151. package/LiveDemoSection-Duz-z9Az.mjs +16 -0
  152. package/LiveDemonstrationsSection-7OJufZVy.js +4 -0
  153. package/LiveDemonstrationsSection-DFRqLVsW.mjs +445 -0
  154. package/LivePriceFeedSection-BwQbsy1e.js +20 -0
  155. package/LivePriceFeedSection-CVUYaDLi.mjs +187 -0
  156. package/LoaderSection-DkC3hHKp.js +22 -0
  157. package/LoaderSection-DsDLwNrN.mjs +143 -0
  158. package/LogoSection-B_ll9gcD.js +100 -0
  159. package/LogoSection-BwE_ImN2.mjs +319 -0
  160. package/LucideIconsSection-BQH5Dipy.mjs +128 -0
  161. package/LucideIconsSection-DYNzZsEN.js +1 -0
  162. package/MFESupportSection-C1rBEqCL.js +122 -0
  163. package/MFESupportSection-CMTM8pC1.mjs +354 -0
  164. package/MenuItemsGuideSection-CFz7XSzU.mjs +325 -0
  165. package/MenuItemsGuideSection-uxlCicIJ.js +126 -0
  166. package/ModalSection-C27D58m_.mjs +158 -0
  167. package/ModalSection-DkdV4fA3.js +29 -0
  168. package/NFTGridSection-BtE3eC62.js +11 -0
  169. package/NFTGridSection-DLjDwzgW.mjs +122 -0
  170. package/NestedRoutesSection-D-oKOn0R.js +36 -0
  171. package/NestedRoutesSection-DeQN7AC9.mjs +88 -0
  172. package/NotificationCardSection-CDjX06Tt.js +28 -0
  173. package/NotificationCardSection-Ct2oUuXB.mjs +153 -0
  174. package/PanelActionCardSection-BgWaRFVD.mjs +138 -0
  175. package/PanelActionCardSection-Dpkzx-FH.js +28 -0
  176. package/PanelCardSection-DtwFeOlW.js +15 -0
  177. package/PanelCardSection-g8jYQ2i1.mjs +96 -0
  178. package/ParamTabSection-DEcMYPi2.mjs +561 -0
  179. package/ParamTabSection-fAirqQfE.js +92 -0
  180. package/PinCodeSection-BTtSu9RK.mjs +263 -0
  181. package/PinCodeSection-HOx7RS53.js +22 -0
  182. package/ProgressbarSection-C_ipN0ko.mjs +195 -0
  183. package/ProgressbarSection-Cb4de9hD.js +21 -0
  184. package/README.md +355 -113
  185. package/RadioGroupSection-BIMkY1F0.js +27 -0
  186. package/RadioGroupSection-CLbIvqN6.mjs +288 -0
  187. package/RadioSection-DZD5W976.js +23 -0
  188. package/RadioSection-LW7GeXAA.mjs +208 -0
  189. package/RevealContentSection-PGiR5VJY.mjs +111 -0
  190. package/RevealContentSection-kDLDHOGV.js +21 -0
  191. package/RouteConfigurationSection-BmwVvMMw.mjs +81 -0
  192. package/RouteConfigurationSection-DR7u1n3x.js +40 -0
  193. package/ScrollToTopSection-BWEgLKlr.js +36 -0
  194. package/ScrollToTopSection-CXx2x8gR.mjs +193 -0
  195. package/ScrollbarSection-DsoKO-RW.js +29 -0
  196. package/ScrollbarSection-Dubf9f65.mjs +146 -0
  197. package/SelectSection-Btr390sY.mjs +275 -0
  198. package/SelectSection-D85H1YXr.js +20 -0
  199. package/SettingsPanelSection-BCjJfaLV.mjs +126 -0
  200. package/SettingsPanelSection-CySxJ7Tt.js +1 -0
  201. package/ShadowsSection-D0X4gGde.js +1 -0
  202. package/ShadowsSection-sQXQR0iT.mjs +90 -0
  203. package/SidebarMenuSection-CLhinak1.mjs +140 -0
  204. package/SidebarMenuSection-D9_kKfNh.js +46 -0
  205. package/SidebarSection-BgHwGWPt.js +25 -0
  206. package/SidebarSection-DUgnUh5w.mjs +122 -0
  207. package/SizingSection-B89FO3ff.mjs +86 -0
  208. package/SizingSection-Z0pVTNKq.js +1 -0
  209. package/SkeletonSection-BdhX4Xfv.mjs +259 -0
  210. package/SkeletonSection-sriDQIKQ.js +52 -0
  211. package/SpacingSystemSection-B9JXurvm.js +1 -0
  212. package/SpacingSystemSection-BPW-n6rL.mjs +82 -0
  213. package/SpinnerSection-CUdRcW4b.mjs +107 -0
  214. package/SpinnerSection-D1xuIeR2.js +17 -0
  215. package/StandaloneAppSection-BF1C6FEF.mjs +244 -0
  216. package/StandaloneAppSection-fhZ8XHQq.js +69 -0
  217. package/SwitchSection-BENFMw9r.mjs +230 -0
  218. package/SwitchSection-wuPSVKvN.js +20 -0
  219. package/SystemOverviewSection-DS9SHn0L.mjs +93 -0
  220. package/SystemOverviewSection-HRr9gFGM.js +1 -0
  221. package/TabSection-Cb3Fykn2.js +84 -0
  222. package/TabSection-aOHyWLGr.mjs +331 -0
  223. package/TabSelectSection-CaGKQfWS.js +100 -0
  224. package/TabSelectSection-M0E_Atxn.mjs +418 -0
  225. package/TailwindConfigSection-BreVbZy8.js +19 -0
  226. package/TailwindConfigSection-C-PDB_22.mjs +152 -0
  227. package/TestingSection-BW3pNxaB.js +12 -0
  228. package/TestingSection-BwmJOUpE.mjs +48 -0
  229. package/TextareaSection-BfNhLRBw.js +21 -0
  230. package/TextareaSection-kn20lUc6.mjs +220 -0
  231. package/ThemeArchitectureSection-C7b32fMB.mjs +86 -0
  232. package/ThemeArchitectureSection-C8pBxgU3.js +1 -0
  233. package/ThemeConfigurationSection-HI8FyfUk.js +1 -0
  234. package/ThemeConfigurationSection-dExOlKvV.mjs +132 -0
  235. package/ThemeHooksSection-00QYTX0m.js +1 -0
  236. package/ThemeHooksSection-lG4XldVs.mjs +119 -0
  237. package/ThemeProviderIntegrationSection-ByuwG8qJ.mjs +108 -0
  238. package/ThemeProviderIntegrationSection-rB1ZigMz.js +61 -0
  239. package/ThemeProviderRequiredSection-B1-gtNbe.mjs +95 -0
  240. package/ThemeProviderRequiredSection-v10DfTl0.js +1 -0
  241. package/ThemeProviderSection-BFOZTXGP.mjs +128 -0
  242. package/ThemeProviderSection-BsMcUESl.js +1 -0
  243. package/ToastSection-5qocQ7cH.mjs +170 -0
  244. package/ToastSection-BKsJOkbs.js +37 -0
  245. package/ToggleBarSection-Cx7gCx2L.js +37 -0
  246. package/ToggleBarSection-KeVNyc_h.mjs +187 -0
  247. package/TopupButtonSection-BkGsoYjc.js +24 -0
  248. package/TopupButtonSection-DFl6wlGA.mjs +145 -0
  249. package/TransactionInfoSection-2IX3m2mI.js +16 -0
  250. package/TransactionInfoSection-DQfuXrqZ.mjs +113 -0
  251. package/TucuUiLogoSection-BHibuIVc.js +26 -0
  252. package/TucuUiLogoSection-D5VLGORL.mjs +121 -0
  253. package/TypographySection-CkBNo8uk.js +1 -0
  254. package/TypographySection-DszlzyIX.mjs +129 -0
  255. package/TypographySection-Dv7RJSzI.js +24 -0
  256. package/TypographySection-fYLxICoM.mjs +214 -0
  257. package/UsageExamplesSection-Bs8jQesE.mjs +147 -0
  258. package/UsageExamplesSection-DlCIZC7Y.js +83 -0
  259. package/UsingThemeSystemSection-BKh8A4-r.mjs +176 -0
  260. package/UsingThemeSystemSection-Dk5n1wP3.js +140 -0
  261. package/ValidationSystemSection-9-Sh0rkM.mjs +197 -0
  262. package/ValidationSystemSection-BrpnhJ2J.js +54 -0
  263. package/WCAGPrinciplesSection-W_P3HWdG.js +1 -0
  264. package/WCAGPrinciplesSection-nFfogbYI.mjs +116 -0
  265. package/collection-1-BIsLOX9N.js +1 -0
  266. package/collection-1-NeFANkbk.mjs +4 -0
  267. package/components/common/badge.d.ts +16 -6
  268. package/components/common/skeleton.d.ts +36 -3
  269. package/components/icons/chevron-left.d.ts +1 -1
  270. package/components/index.d.ts +6 -3
  271. package/components/inputs/{uploader-two.d.ts → file-input.d.ts} +13 -13
  272. package/components/inputs/index.d.ts +1 -2
  273. package/components/inputs/input.d.ts +2 -0
  274. package/components/layouts/index.d.ts +13 -0
  275. package/components/layouts/menus/menu-item.d.ts +3 -2
  276. package/components/list/index.d.ts +2 -0
  277. package/components/list/list-Item.d.ts +13 -0
  278. package/components/list/list-container.d.ts +17 -0
  279. package/components/logos/defi-app-logo.d.ts +1 -0
  280. package/components/logos/full-logo.d.ts +1 -0
  281. package/components/logos/index.d.ts +2 -5
  282. package/components/logos/logo.d.ts +1 -2
  283. package/components/logos/tucu-ui-logo.d.ts +8 -0
  284. package/components/notifications/alert.d.ts +2 -1
  285. package/components/table/basic-table.d.ts +25 -0
  286. package/components/table/index.d.ts +1 -0
  287. package/components/tabs/param-tab.d.ts +7 -1
  288. package/components/tabs/tab.d.ts +18 -6
  289. package/components/utils/image.d.ts +17 -8
  290. package/components/utils/index.d.ts +0 -1
  291. package/components/utils/scroll-to-top.d.ts +38 -1
  292. package/demo/components/hero-card.d.ts +1 -0
  293. package/demo/components/index.d.ts +4 -0
  294. package/demo/components/lazy-component-section.d.ts +11 -0
  295. package/demo/components/nav-options.d.ts +2 -0
  296. package/demo/components/playground-button.d.ts +1 -0
  297. package/demo/components/table-of-contents.d.ts +16 -0
  298. package/demo/index.d.ts +1 -0
  299. package/demo/pages/blockchain/BlockchainComponents.d.ts +1 -0
  300. package/demo/pages/blockchain/blockchain-components-sections/CoinCardSection.d.ts +3 -0
  301. package/demo/pages/blockchain/blockchain-components-sections/CoinInfoCardSection.d.ts +3 -0
  302. package/demo/pages/blockchain/blockchain-components-sections/CoinListBoxSection.d.ts +3 -0
  303. package/demo/pages/blockchain/blockchain-components-sections/CollectionCardSection.d.ts +3 -0
  304. package/demo/pages/blockchain/blockchain-components-sections/CollectionSelectListSection.d.ts +3 -0
  305. package/demo/pages/blockchain/blockchain-components-sections/CurrencySwapIconsSection.d.ts +3 -0
  306. package/demo/pages/blockchain/blockchain-components-sections/LivePriceFeedSection.d.ts +3 -0
  307. package/demo/pages/blockchain/blockchain-components-sections/NFTGridSection.d.ts +3 -0
  308. package/demo/pages/blockchain/blockchain-components-sections/TransactionInfoSection.d.ts +3 -0
  309. package/demo/pages/blockchain/blockchain-components-sections/index.d.ts +9 -0
  310. package/demo/pages/components/ComponentsIntroduction.d.ts +1 -0
  311. package/demo/pages/components/InputsComponents.d.ts +2 -0
  312. package/demo/pages/components/UiComponents.d.ts +1 -0
  313. package/demo/pages/components/input-components-sections/CheckboxSection.d.ts +3 -0
  314. package/demo/pages/components/input-components-sections/FileInputSection.d.ts +3 -0
  315. package/demo/pages/components/input-components-sections/InputSearcherSection.d.ts +3 -0
  316. package/demo/pages/components/input-components-sections/InputSection.d.ts +3 -0
  317. package/demo/pages/components/input-components-sections/PinCodeSection.d.ts +3 -0
  318. package/demo/pages/components/input-components-sections/RadioGroupSection.d.ts +3 -0
  319. package/demo/pages/components/input-components-sections/RadioSection.d.ts +3 -0
  320. package/demo/pages/components/input-components-sections/SelectSection.d.ts +3 -0
  321. package/demo/pages/components/input-components-sections/SwitchSection.d.ts +3 -0
  322. package/demo/pages/components/input-components-sections/TextareaSection.d.ts +3 -0
  323. package/demo/pages/components/input-components-sections/ToggleBarSection.d.ts +3 -0
  324. package/demo/pages/components/input-components-sections/index.d.ts +11 -0
  325. package/demo/pages/components/ui-components-sections/ActiveLinkSection.d.ts +3 -0
  326. package/demo/pages/components/ui-components-sections/AlertSection.d.ts +3 -0
  327. package/demo/pages/components/ui-components-sections/AnchorLinkSection.d.ts +3 -0
  328. package/demo/pages/components/ui-components-sections/AuthorCardSection.d.ts +3 -0
  329. package/demo/pages/components/ui-components-sections/AvatarSection.d.ts +3 -0
  330. package/demo/pages/components/ui-components-sections/BadgeSection.d.ts +3 -0
  331. package/demo/pages/components/ui-components-sections/BasicTableSection.d.ts +3 -0
  332. package/demo/pages/components/ui-components-sections/ButtonDripSection.d.ts +3 -0
  333. package/demo/pages/components/ui-components-sections/ButtonLoaderSection.d.ts +3 -0
  334. package/demo/pages/components/ui-components-sections/CardContainerSection.d.ts +3 -0
  335. package/demo/pages/components/ui-components-sections/CardTitleSection.d.ts +3 -0
  336. package/demo/pages/components/ui-components-sections/CarouselCardsSection.d.ts +3 -0
  337. package/demo/pages/components/ui-components-sections/CarouselImageSection.d.ts +3 -0
  338. package/demo/pages/components/ui-components-sections/CarouselSection.d.ts +3 -0
  339. package/demo/pages/components/ui-components-sections/CollapseSection.d.ts +3 -0
  340. package/demo/pages/components/ui-components-sections/DefiAppLogoSection.d.ts +3 -0
  341. package/demo/pages/components/ui-components-sections/DrawerSection.d.ts +3 -0
  342. package/demo/pages/components/ui-components-sections/HamburgerSection.d.ts +3 -0
  343. package/demo/pages/components/ui-components-sections/ImageSection.d.ts +3 -0
  344. package/demo/pages/components/ui-components-sections/ListContainerSection.d.ts +3 -0
  345. package/demo/pages/components/ui-components-sections/ListItemSection.d.ts +3 -0
  346. package/demo/pages/components/ui-components-sections/LoaderSection.d.ts +3 -0
  347. package/demo/pages/components/ui-components-sections/LogoSection.d.ts +3 -0
  348. package/demo/pages/components/ui-components-sections/ModalSection.d.ts +3 -0
  349. package/demo/pages/components/ui-components-sections/NotificationCardSection.d.ts +3 -0
  350. package/demo/pages/components/ui-components-sections/PanelActionCardSection.d.ts +3 -0
  351. package/demo/pages/components/ui-components-sections/PanelCardSection.d.ts +3 -0
  352. package/demo/pages/components/ui-components-sections/ParamTabSection.d.ts +3 -0
  353. package/demo/pages/components/ui-components-sections/ProgressbarSection.d.ts +3 -0
  354. package/demo/pages/components/ui-components-sections/RevealContentSection.d.ts +3 -0
  355. package/demo/pages/components/ui-components-sections/ScrollToTopSection.d.ts +3 -0
  356. package/demo/pages/components/ui-components-sections/ScrollbarSection.d.ts +3 -0
  357. package/demo/pages/components/ui-components-sections/SidebarMenuSection.d.ts +3 -0
  358. package/demo/pages/components/ui-components-sections/SidebarSection.d.ts +3 -0
  359. package/demo/pages/components/ui-components-sections/SkeletonSection.d.ts +3 -0
  360. package/demo/pages/components/ui-components-sections/SpinnerSection.d.ts +3 -0
  361. package/demo/pages/components/ui-components-sections/TabSection.d.ts +3 -0
  362. package/demo/pages/components/ui-components-sections/TabSelectSection.d.ts +3 -0
  363. package/demo/pages/components/ui-components-sections/ToastSection.d.ts +3 -0
  364. package/demo/pages/components/ui-components-sections/TopupButtonSection.d.ts +3 -0
  365. package/demo/pages/components/ui-components-sections/TucuUiLogoSection.d.ts +3 -0
  366. package/demo/pages/components/ui-components-sections/TypographySection.d.ts +3 -0
  367. package/demo/pages/components/ui-components-sections/index.d.ts +40 -0
  368. package/demo/pages/design-system/DesignSystem.d.ts +2 -0
  369. package/demo/pages/design-system/LayoutSystem.d.ts +2 -0
  370. package/demo/pages/design-system/ThemingGuide.d.ts +2 -0
  371. package/demo/pages/design-system/design-system-sections/BorderRadiusSection.d.ts +3 -0
  372. package/demo/pages/design-system/design-system-sections/ColorSystemSection.d.ts +3 -0
  373. package/demo/pages/design-system/design-system-sections/ComponentAnatomySection.d.ts +3 -0
  374. package/demo/pages/design-system/design-system-sections/DesignPrinciplesSection.d.ts +3 -0
  375. package/demo/pages/design-system/design-system-sections/ImplementationGuidelinesSection.d.ts +3 -0
  376. package/demo/pages/design-system/design-system-sections/LayoutPrinciplesSection.d.ts +3 -0
  377. package/demo/pages/design-system/design-system-sections/ShadowsSection.d.ts +3 -0
  378. package/demo/pages/design-system/design-system-sections/SizingSection.d.ts +3 -0
  379. package/demo/pages/design-system/design-system-sections/SpacingSystemSection.d.ts +3 -0
  380. package/demo/pages/design-system/design-system-sections/TypographySection.d.ts +3 -0
  381. package/demo/pages/design-system/layout-system-sections/BestPracticesSection.d.ts +3 -0
  382. package/demo/pages/design-system/layout-system-sections/CommonErrorsSection.d.ts +3 -0
  383. package/demo/pages/design-system/layout-system-sections/ImplementationExamplesSection.d.ts +3 -0
  384. package/demo/pages/design-system/layout-system-sections/LayoutTypesSection.d.ts +3 -0
  385. package/demo/pages/design-system/layout-system-sections/MenuItemsGuideSection.d.ts +3 -0
  386. package/demo/pages/design-system/layout-system-sections/ThemeProviderRequiredSection.d.ts +3 -0
  387. package/demo/pages/design-system/legacy/DesignSystemIntroduction.d.ts +2 -0
  388. package/demo/pages/design-system/legacy/ThemingGuideIntroduction.d.ts +2 -0
  389. package/demo/pages/design-system/theming-guide-sections/AdvancedColorSystemSection.d.ts +3 -0
  390. package/demo/pages/design-system/theming-guide-sections/AdvancedFeaturesSection.d.ts +3 -0
  391. package/demo/pages/design-system/theming-guide-sections/BestPracticesSection.d.ts +3 -0
  392. package/demo/pages/design-system/theming-guide-sections/ColorCustomizationSection.d.ts +3 -0
  393. package/demo/pages/design-system/theming-guide-sections/CustomColorPaletteSection.d.ts +3 -0
  394. package/demo/pages/design-system/theming-guide-sections/FileStructureSection.d.ts +3 -0
  395. package/demo/pages/design-system/theming-guide-sections/SettingsPanelSection.d.ts +3 -0
  396. package/demo/pages/design-system/theming-guide-sections/TailwindConfigSection.d.ts +3 -0
  397. package/demo/pages/design-system/theming-guide-sections/ThemeArchitectureSection.d.ts +3 -0
  398. package/demo/pages/design-system/theming-guide-sections/ThemeConfigurationSection.d.ts +3 -0
  399. package/demo/pages/design-system/theming-guide-sections/ThemeHooksSection.d.ts +3 -0
  400. package/demo/pages/design-system/theming-guide-sections/ThemeProviderSection.d.ts +3 -0
  401. package/demo/pages/design-system/theming-guide-sections/UsingThemeSystemSection.d.ts +3 -0
  402. package/demo/pages/features/Accessibility.d.ts +2 -0
  403. package/demo/pages/features/FeaturesIntroduction.d.ts +1 -0
  404. package/demo/pages/features/HooksUtilities.d.ts +2 -0
  405. package/demo/pages/features/IconsSystem.d.ts +2 -0
  406. package/demo/pages/features/RoutingSystem.d.ts +2 -0
  407. package/demo/pages/features/accessibility-sections/BestPracticesSection.d.ts +3 -0
  408. package/demo/pages/features/accessibility-sections/CodeExamplesSection.d.ts +3 -0
  409. package/demo/pages/features/accessibility-sections/ComponentStatusSection.d.ts +3 -0
  410. package/demo/pages/features/accessibility-sections/ImplementationStatusSection.d.ts +3 -0
  411. package/demo/pages/features/accessibility-sections/ImplementedFeaturesSection.d.ts +3 -0
  412. package/demo/pages/features/accessibility-sections/KeyboardNavigationSection.d.ts +3 -0
  413. package/demo/pages/features/accessibility-sections/TestingSection.d.ts +3 -0
  414. package/demo/pages/features/accessibility-sections/WCAGPrinciplesSection.d.ts +3 -0
  415. package/demo/pages/features/hooks-utilities-sections/BestPracticesSection.d.ts +3 -0
  416. package/demo/pages/features/hooks-utilities-sections/HookCategoriesSection.d.ts +3 -0
  417. package/demo/pages/features/hooks-utilities-sections/HookDocumentationSection.d.ts +3 -0
  418. package/demo/pages/features/hooks-utilities-sections/HookFeaturesSection.d.ts +3 -0
  419. package/demo/pages/features/hooks-utilities-sections/LiveDemonstrationsSection.d.ts +3 -0
  420. package/demo/pages/features/icon-system-sections/BestPracticesSection.d.ts +3 -0
  421. package/demo/pages/features/icon-system-sections/CustomIconsSection.d.ts +3 -0
  422. package/demo/pages/features/icon-system-sections/IconArchitectureSection.d.ts +3 -0
  423. package/demo/pages/features/icon-system-sections/IconSizingGuideSection.d.ts +3 -0
  424. package/demo/pages/features/icon-system-sections/IconSystemAPISection.d.ts +3 -0
  425. package/demo/pages/features/icon-system-sections/IconSystemBenefitsSection.d.ts +3 -0
  426. package/demo/pages/features/icon-system-sections/LucideIconsSection.d.ts +3 -0
  427. package/demo/pages/features/icon-system-sections/UsageExamplesSection.d.ts +3 -0
  428. package/demo/pages/features/routing-system-sections/APIReferenceSection.d.ts +3 -0
  429. package/demo/pages/features/routing-system-sections/ArchitecturalPatternsComparisonSection.d.ts +3 -0
  430. package/demo/pages/features/routing-system-sections/BestPracticesSection.d.ts +3 -0
  431. package/demo/pages/features/routing-system-sections/DynamicRoutesSection.d.ts +3 -0
  432. package/demo/pages/features/routing-system-sections/MFESupportSection.d.ts +3 -0
  433. package/demo/pages/features/routing-system-sections/NestedRoutesSection.d.ts +3 -0
  434. package/demo/pages/features/routing-system-sections/RouteConfigurationSection.d.ts +3 -0
  435. package/demo/pages/features/routing-system-sections/StandaloneAppSection.d.ts +3 -0
  436. package/demo/pages/features/routing-system-sections/SystemOverviewSection.d.ts +3 -0
  437. package/demo/pages/features/routing-system-sections/ThemeProviderIntegrationSection.d.ts +3 -0
  438. package/demo/pages/form-system/FormSystem.d.ts +2 -0
  439. package/demo/pages/form-system/code-example-page.d.ts +2 -0
  440. package/demo/pages/form-system/example/constants.d.ts +12 -0
  441. package/demo/pages/form-system/example/simple-form-example.d.ts +3 -0
  442. package/demo/pages/form-system/form-example-page.d.ts +2 -0
  443. package/demo/pages/form-system/form-system-sections/AdvancedFeaturesSection.d.ts +3 -0
  444. package/demo/pages/form-system/form-system-sections/ArchitectureOverviewSection.d.ts +3 -0
  445. package/demo/pages/form-system/form-system-sections/BasicUsageSection.d.ts +3 -0
  446. package/demo/pages/form-system/form-system-sections/BestPracticesSection.d.ts +3 -0
  447. package/demo/pages/form-system/form-system-sections/FormComponentsSection.d.ts +3 -0
  448. package/demo/pages/form-system/form-system-sections/FormMethodsSection.d.ts +3 -0
  449. package/demo/pages/form-system/form-system-sections/LiveDemoSection.d.ts +3 -0
  450. package/demo/pages/form-system/form-system-sections/ValidationSystemSection.d.ts +3 -0
  451. package/demo/pages/index.d.ts +36 -0
  452. package/demo/pages/introduction/BasicUsageDemo.d.ts +1 -0
  453. package/demo/pages/introduction/BasicUsageExampleCode.d.ts +1 -0
  454. package/demo/pages/introduction/BasicUsageWithCustomRouterExampleCode.d.ts +1 -0
  455. package/demo/pages/introduction/ThemeProviderExamples.d.ts +7 -0
  456. package/demo/pages/introduction/index.d.ts +1 -0
  457. package/demo/pages/tailwind/AccessibilityUtilities.d.ts +1 -0
  458. package/demo/pages/tailwind/BackgroundUtilities.d.ts +1 -0
  459. package/demo/pages/tailwind/BordersUtilities.d.ts +1 -0
  460. package/demo/pages/tailwind/Colors.d.ts +1 -0
  461. package/demo/pages/tailwind/EffectsUtilities.d.ts +1 -0
  462. package/demo/pages/tailwind/FiltersUtilities.d.ts +1 -0
  463. package/demo/pages/tailwind/FlexboxGridUtilities.d.ts +1 -0
  464. package/demo/pages/tailwind/InteractivityUtilities.d.ts +1 -0
  465. package/demo/pages/tailwind/LayoutUtilities.d.ts +1 -0
  466. package/demo/pages/tailwind/SVGUtilities.d.ts +1 -0
  467. package/demo/pages/tailwind/TablesUtilities.d.ts +1 -0
  468. package/demo/pages/tailwind/TailwindIntroduction.d.ts +1 -0
  469. package/demo/pages/tailwind/TransformsUtilities.d.ts +1 -0
  470. package/demo/pages/tailwind/TransitionsAnimations.d.ts +1 -0
  471. package/demo/pages/tailwind/TypographyUtilities.d.ts +1 -0
  472. package/hooks/index.d.ts +1 -0
  473. package/hooks/use-anchor-scroll.d.ts +1 -0
  474. package/hooks/use-window-scroll.d.ts +11 -1
  475. package/index-CjRk4ezu.js +920 -0
  476. package/index-Hq6IUBmn.mjs +53892 -0
  477. package/index.css +1 -1
  478. package/index.js +1 -179
  479. package/index.mjs +324 -45608
  480. package/package.json +2 -3
  481. package/tether-DaYvmdAU.mjs +5 -0
  482. package/tether-EofDinu3.js +1 -0
  483. package/themes/auth/components/auth-provider.d.ts +2 -0
  484. package/themes/components/theme-provider/index.d.ts +48 -6
  485. package/themes/components/theme-provider/mfe-app-theme-provider.d.ts +4 -1
  486. package/themes/components/theme-provider/standalone-app-theme-provider.d.ts +12 -0
  487. package/themes/components/theme-provider/theme-wrapper.d.ts +2 -1
  488. package/themes/config/index.d.ts +1 -1
  489. package/themes/hooks/use-theme.d.ts +0 -2
  490. package/themes/pages/access-denied.d.ts +6 -0
  491. package/themes/pages/default-error.d.ts +5 -0
  492. package/themes/pages/disabled-page.d.ts +5 -0
  493. package/themes/pages/forbidden.d.ts +5 -0
  494. package/themes/pages/index.d.ts +8 -0
  495. package/themes/pages/no-routes.d.ts +5 -0
  496. package/themes/pages/server-error.d.ts +5 -0
  497. package/themes/pages/unknown.d.ts +5 -0
  498. package/themes/pages/user-blocked.d.ts +5 -0
  499. package/themes/router/components/index.d.ts +1 -1
  500. package/themes/router/components/mfe-app-routes-provider.d.ts +2 -0
  501. package/themes/router/components/standalone-app-routes-provider.d.ts +20 -0
  502. package/themes/types/index.d.ts +2 -2
  503. package/components/inputs/uploader.d.ts +0 -2
  504. package/components/legacy/forms/checkbox.d.ts +0 -38
  505. package/components/legacy/forms/field-error-text.d.ts +0 -19
  506. package/components/legacy/forms/field-helper-text.d.ts +0 -18
  507. package/components/legacy/forms/file-input.d.ts +0 -8
  508. package/components/legacy/forms/form-system/example/error-container-example.d.ts +0 -3
  509. package/components/legacy/forms/form-system/example/form-example.d.ts +0 -3
  510. package/components/legacy/forms/form-system/example/form-methods-example.d.ts +0 -3
  511. package/components/legacy/forms/form-system/example/validations.d.ts +0 -14
  512. package/components/legacy/forms/form-system/form-field.d.ts +0 -14
  513. package/components/legacy/forms/form-system/form.d.ts +0 -13
  514. package/components/legacy/forms/form-system/hook-form.d.ts +0 -3
  515. package/components/legacy/forms/form-system/index.d.ts +0 -10
  516. package/components/legacy/forms/form-system/types/dependencies.type.d.ts +0 -11
  517. package/components/legacy/forms/form-system/types/extend-react-hook-form.type.d.ts +0 -16
  518. package/components/legacy/forms/form-system/types/index.d.ts +0 -3
  519. package/components/legacy/forms/form-system/types/validations.type.d.ts +0 -9
  520. package/components/legacy/forms/input-label.d.ts +0 -9
  521. package/components/legacy/forms/input-searcher.d.ts +0 -11
  522. package/components/legacy/forms/input-select.d.ts +0 -24
  523. package/components/legacy/forms/input-switch.d.ts +0 -13
  524. package/components/legacy/forms/input.d.ts +0 -16
  525. package/components/legacy/forms/pin-code.d.ts +0 -95
  526. package/components/legacy/forms/radio-group.d.ts +0 -56
  527. package/components/legacy/forms/radio.d.ts +0 -84
  528. package/components/legacy/forms/textarea.d.ts +0 -10
  529. package/components/logos/AppLogo.d.ts +0 -1
  530. package/components/logos/logo-dark.d.ts +0 -1
  531. package/components/logos/logo-icon.d.ts +0 -5
  532. package/components/logos/logo-iso-dark.d.ts +0 -1
  533. package/components/logos/logo-iso-light.d.ts +0 -1
  534. package/components/logos/logo-light.d.ts +0 -1
  535. package/components/utils/test-brand-classes.d.ts +0 -1
  536. package/themes/components/theme-provider/single-app-theme-provider.d.ts +0 -8
  537. package/themes/router/components/single-app-routes-provider.d.ts +0 -17
@@ -0,0 +1,325 @@
1
+ import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
+ import { C as i, a as d, T as t, a4 as m, B as p, c as r } from "./index-Hq6IUBmn.mjs";
3
+ import { GitCompare as h, Lightbulb as l, Package as u, Check as s, Circle as n, Box as g, ArrowRight as o } from "lucide-react";
4
+ import "react-router-dom";
5
+ import "react";
6
+ import "react-dom";
7
+ const C = () => /* @__PURE__ */ e("div", { className: "space-y-8", children: /* @__PURE__ */ e(i, { children: /* @__PURE__ */ e(
8
+ d,
9
+ {
10
+ title: "Architectural Patterns: Standalone vs MFE",
11
+ className: "mt-2 mb-6",
12
+ children: /* @__PURE__ */ a("div", { className: "space-y-6", children: [
13
+ /* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
14
+ /* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-indigo-500 to-purple-500 shadow-lg", children: /* @__PURE__ */ e(h, { className: "w-5 h-5 text-white filter drop-shadow-sm" }) }),
15
+ /* @__PURE__ */ e(t, { tag: "h4", className: "font-semibold", children: "Pattern Comparison & Selection Guide" })
16
+ ] }),
17
+ /* @__PURE__ */ a(t, { tag: "p", className: "text-gray-600 dark:text-gray-400", children: [
18
+ "Understanding the differences between Standalone and MFE patterns helps you choose the right architecture for your project. Both patterns use the same",
19
+ " ",
20
+ /* @__PURE__ */ e("code", { className: "px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs", children: "ThemeProvider" }),
21
+ " ",
22
+ "component, but with different configuration approaches and use cases."
23
+ ] }),
24
+ /* @__PURE__ */ e(m, { variant: "info", dismissible: !1, children: /* @__PURE__ */ a("div", { className: "flex flex-col gap-2", children: [
25
+ /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
26
+ /* @__PURE__ */ e(l, { className: "w-4 h-4" }),
27
+ /* @__PURE__ */ e(t, { tag: "span", className: "font-semibold", children: "TypeScript Safety" })
28
+ ] }),
29
+ /* @__PURE__ */ a(t, { tag: "p", className: "text-sm", children: [
30
+ "Both patterns use TypeScript discriminated unions to enforce the correct props. The",
31
+ " ",
32
+ /* @__PURE__ */ e("code", { className: "px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs", children: "architecturalPatterns" }),
33
+ " ",
34
+ "prop determines which props are available, preventing configuration errors at compile time."
35
+ ] })
36
+ ] }) }),
37
+ /* @__PURE__ */ a("div", { className: "space-y-6", children: [
38
+ /* @__PURE__ */ a("div", { className: "space-y-4", children: [
39
+ /* @__PURE__ */ e(t, { tag: "h4", className: "font-semibold text-lg", children: "Feature Comparison" }),
40
+ /* @__PURE__ */ e(
41
+ p,
42
+ {
43
+ columns: [
44
+ {
45
+ key: "feature",
46
+ label: "Feature",
47
+ render: (c) => /* @__PURE__ */ e(t, { tag: "span", className: "font-medium", children: String(c) })
48
+ },
49
+ {
50
+ key: "standalone",
51
+ label: "Standalone App"
52
+ },
53
+ {
54
+ key: "mfe",
55
+ label: "Micro Frontends (MFE)"
56
+ }
57
+ ],
58
+ data: [
59
+ {
60
+ feature: "Route Configuration",
61
+ standalone: "menuItems (automatic generation)",
62
+ mfe: "appRoutesConfig (explicit configuration)"
63
+ },
64
+ {
65
+ feature: "Base Path",
66
+ standalone: "Not required (uses root /)",
67
+ mfe: "Required (e.g., /my-app)"
68
+ },
69
+ {
70
+ feature: "Route Generation",
71
+ standalone: "Automatic from menuItems",
72
+ mfe: "Manual via appRoutesConfig"
73
+ },
74
+ {
75
+ feature: "Nested Routes",
76
+ standalone: "Supported via dropdownItems",
77
+ mfe: "Supported via nested routes in config"
78
+ },
79
+ {
80
+ feature: "Custom Routes",
81
+ standalone: "Optional customRoutes prop",
82
+ mfe: "Not available"
83
+ },
84
+ {
85
+ feature: "Authentication",
86
+ standalone: "Basic support via isPublic",
87
+ mfe: "Advanced support with isPublic per route"
88
+ },
89
+ {
90
+ feature: "Route Disabling",
91
+ standalone: "Not directly supported",
92
+ mfe: "Supported via disabled prop"
93
+ },
94
+ {
95
+ feature: "Deployment",
96
+ standalone: "Single deployment",
97
+ mfe: "Independent deployments per app"
98
+ },
99
+ {
100
+ feature: "Use Case",
101
+ standalone: "Traditional SPAs, monolithic apps",
102
+ mfe: "Distributed architectures, micro frontends"
103
+ },
104
+ {
105
+ feature: "TypeScript Safety",
106
+ standalone: "Enforced via discriminated unions",
107
+ mfe: "Enforced via discriminated unions"
108
+ }
109
+ ]
110
+ }
111
+ )
112
+ ] }),
113
+ /* @__PURE__ */ a("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-6", children: [
114
+ /* @__PURE__ */ a(i, { className: "p-4", children: [
115
+ /* @__PURE__ */ a("div", { className: "flex items-center gap-3 mb-4", children: [
116
+ /* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-blue-500 to-cyan-500 shadow-lg", children: /* @__PURE__ */ e(u, { className: "w-5 h-5 text-white filter drop-shadow-sm" }) }),
117
+ /* @__PURE__ */ e(t, { tag: "h4", className: "font-semibold", children: "Standalone App Pattern" })
118
+ ] }),
119
+ /* @__PURE__ */ a("div", { className: "space-y-3", children: [
120
+ /* @__PURE__ */ a("div", { children: [
121
+ /* @__PURE__ */ e(
122
+ t,
123
+ {
124
+ tag: "h5",
125
+ className: "font-semibold text-sm mb-2",
126
+ children: "When to Use:"
127
+ }
128
+ ),
129
+ /* @__PURE__ */ a("ul", { className: "space-y-2 text-sm text-gray-600 dark:text-gray-400", children: [
130
+ /* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
131
+ /* @__PURE__ */ e(s, { className: "w-4 h-4 text-green-500 shrink-0 mt-0.5" }),
132
+ /* @__PURE__ */ e("span", { children: "Traditional single-page applications" })
133
+ ] }),
134
+ /* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
135
+ /* @__PURE__ */ e(s, { className: "w-4 h-4 text-green-500 shrink-0 mt-0.5" }),
136
+ /* @__PURE__ */ e("span", { children: "All routes in one codebase" })
137
+ ] }),
138
+ /* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
139
+ /* @__PURE__ */ e(s, { className: "w-4 h-4 text-green-500 shrink-0 mt-0.5" }),
140
+ /* @__PURE__ */ e("span", { children: "Simple deployment model" })
141
+ ] }),
142
+ /* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
143
+ /* @__PURE__ */ e(s, { className: "w-4 h-4 text-green-500 shrink-0 mt-0.5" }),
144
+ /* @__PURE__ */ e("span", { children: "Want automatic route generation" })
145
+ ] }),
146
+ /* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
147
+ /* @__PURE__ */ e(s, { className: "w-4 h-4 text-green-500 shrink-0 mt-0.5" }),
148
+ /* @__PURE__ */ e("span", { children: "No need for route isolation" })
149
+ ] })
150
+ ] })
151
+ ] }),
152
+ /* @__PURE__ */ a("div", { children: [
153
+ /* @__PURE__ */ e(
154
+ t,
155
+ {
156
+ tag: "h5",
157
+ className: "font-semibold text-sm mb-2",
158
+ children: "Key Advantages:"
159
+ }
160
+ ),
161
+ /* @__PURE__ */ a("ul", { className: "space-y-1 text-sm text-gray-600 dark:text-gray-400", children: [
162
+ /* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
163
+ /* @__PURE__ */ e(n, { className: "w-3 h-3 mt-1 shrink-0 fill-current" }),
164
+ /* @__PURE__ */ e("span", { children: "Simple configuration with menuItems" })
165
+ ] }),
166
+ /* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
167
+ /* @__PURE__ */ e(n, { className: "w-3 h-3 mt-1 shrink-0 fill-current" }),
168
+ /* @__PURE__ */ e("span", { children: "Automatic route generation" })
169
+ ] }),
170
+ /* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
171
+ /* @__PURE__ */ e(n, { className: "w-3 h-3 mt-1 shrink-0 fill-current" }),
172
+ /* @__PURE__ */ e("span", { children: "Nested routes via dropdownItems" })
173
+ ] }),
174
+ /* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
175
+ /* @__PURE__ */ e(n, { className: "w-3 h-3 mt-1 shrink-0 fill-current" }),
176
+ /* @__PURE__ */ e("span", { children: "Optional customRoutes override" })
177
+ ] })
178
+ ] })
179
+ ] })
180
+ ] }),
181
+ /* @__PURE__ */ e("div", { className: "mt-4 p-3 bg-light-dark rounded-lg", children: /* @__PURE__ */ e(r, { language: "tsx", code: `// Use Standalone App Pattern when:
182
+ // ✅ Building a traditional single-page application
183
+ // ✅ All routes are in one codebase
184
+ // ✅ You want automatic route generation
185
+ // ✅ Simple deployment model
186
+ // ✅ No need for route isolation
187
+
188
+ function MyStandaloneApp() {
189
+ return (
190
+ <ThemeProvider
191
+ menuItems={menuItems} // Simple configuration
192
+ logo={{ name: 'My', secondName: 'App' }}
193
+ />
194
+ );
195
+ }` }) })
196
+ ] }),
197
+ /* @__PURE__ */ a(i, { className: "p-4", children: [
198
+ /* @__PURE__ */ a("div", { className: "flex items-center gap-3 mb-4", children: [
199
+ /* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-purple-500 to-indigo-500 shadow-lg", children: /* @__PURE__ */ e(g, { className: "w-5 h-5 text-white filter drop-shadow-sm" }) }),
200
+ /* @__PURE__ */ e(t, { tag: "h4", className: "font-semibold", children: "Micro Frontends (MFE) Pattern" })
201
+ ] }),
202
+ /* @__PURE__ */ a("div", { className: "space-y-3", children: [
203
+ /* @__PURE__ */ a("div", { children: [
204
+ /* @__PURE__ */ e(
205
+ t,
206
+ {
207
+ tag: "h5",
208
+ className: "font-semibold text-sm mb-2",
209
+ children: "When to Use:"
210
+ }
211
+ ),
212
+ /* @__PURE__ */ a("ul", { className: "space-y-2 text-sm text-gray-600 dark:text-gray-400", children: [
213
+ /* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
214
+ /* @__PURE__ */ e(s, { className: "w-4 h-4 text-green-500 shrink-0 mt-0.5" }),
215
+ /* @__PURE__ */ e("span", { children: "Micro frontend architecture" })
216
+ ] }),
217
+ /* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
218
+ /* @__PURE__ */ e(s, { className: "w-4 h-4 text-green-500 shrink-0 mt-0.5" }),
219
+ /* @__PURE__ */ e("span", { children: "Multiple teams working independently" })
220
+ ] }),
221
+ /* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
222
+ /* @__PURE__ */ e(s, { className: "w-4 h-4 text-green-500 shrink-0 mt-0.5" }),
223
+ /* @__PURE__ */ e("span", { children: "Need independent deployments" })
224
+ ] }),
225
+ /* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
226
+ /* @__PURE__ */ e(s, { className: "w-4 h-4 text-green-500 shrink-0 mt-0.5" }),
227
+ /* @__PURE__ */ e("span", { children: "Require route isolation" })
228
+ ] }),
229
+ /* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
230
+ /* @__PURE__ */ e(s, { className: "w-4 h-4 text-green-500 shrink-0 mt-0.5" }),
231
+ /* @__PURE__ */ e("span", { children: "Need explicit route control" })
232
+ ] })
233
+ ] })
234
+ ] }),
235
+ /* @__PURE__ */ a("div", { children: [
236
+ /* @__PURE__ */ e(
237
+ t,
238
+ {
239
+ tag: "h5",
240
+ className: "font-semibold text-sm mb-2",
241
+ children: "Key Advantages:"
242
+ }
243
+ ),
244
+ /* @__PURE__ */ a("ul", { className: "space-y-1 text-sm text-gray-600 dark:text-gray-400", children: [
245
+ /* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
246
+ /* @__PURE__ */ e(n, { className: "w-3 h-3 mt-1 shrink-0 fill-current" }),
247
+ /* @__PURE__ */ e("span", { children: "Explicit route configuration" })
248
+ ] }),
249
+ /* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
250
+ /* @__PURE__ */ e(n, { className: "w-3 h-3 mt-1 shrink-0 fill-current" }),
251
+ /* @__PURE__ */ e("span", { children: "Route isolation with basePath" })
252
+ ] }),
253
+ /* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
254
+ /* @__PURE__ */ e(n, { className: "w-3 h-3 mt-1 shrink-0 fill-current" }),
255
+ /* @__PURE__ */ e("span", { children: "Advanced authentication support" })
256
+ ] }),
257
+ /* @__PURE__ */ a("li", { className: "flex items-start gap-2", children: [
258
+ /* @__PURE__ */ e(n, { className: "w-3 h-3 mt-1 shrink-0 fill-current" }),
259
+ /* @__PURE__ */ e("span", { children: "Route disabling capability" })
260
+ ] })
261
+ ] })
262
+ ] })
263
+ ] }),
264
+ /* @__PURE__ */ e("div", { className: "mt-4 p-3 bg-light-dark rounded-lg", children: /* @__PURE__ */ e(r, { language: "tsx", code: `// Use MFE Pattern when:
265
+ // ✅ Building micro frontend architecture
266
+ // ✅ Multiple teams working independently
267
+ // ✅ Need independent deployments
268
+ // ✅ Require route isolation
269
+ // ✅ Need explicit route control
270
+
271
+ function MyMfeApp() {
272
+ return (
273
+ <ThemeProvider
274
+ architecturalPatterns="mfe"
275
+ basePath="/my-app" // Required for MFE
276
+ appRoutesConfig={appRoutesConfig} // Explicit routes
277
+ logo={{ name: 'My', secondName: 'App' }}
278
+ />
279
+ );
280
+ }` }) })
281
+ ] })
282
+ ] }),
283
+ /* @__PURE__ */ e(i, { className: "p-4", children: /* @__PURE__ */ a("div", { className: "flex items-start gap-3", children: [
284
+ /* @__PURE__ */ e(l, { className: "w-5 h-5 text-yellow-500 shrink-0 mt-0.5" }),
285
+ /* @__PURE__ */ a("div", { children: [
286
+ /* @__PURE__ */ e(t, { tag: "p", className: "text-sm font-semibold mb-2", children: "Decision Guide" }),
287
+ /* @__PURE__ */ a(
288
+ t,
289
+ {
290
+ tag: "p",
291
+ className: "text-sm text-gray-600 dark:text-gray-400 mb-3",
292
+ children: [
293
+ "Choose ",
294
+ /* @__PURE__ */ e("strong", { children: "Standalone App Pattern" }),
295
+ " if you're building a traditional SPA with all routes in one codebase. Choose ",
296
+ /* @__PURE__ */ e("strong", { children: "MFE Pattern" }),
297
+ " if you need independent deployments, route isolation, or are building a micro frontend architecture."
298
+ ]
299
+ }
300
+ ),
301
+ /* @__PURE__ */ a("div", { className: "space-y-2 text-sm", children: [
302
+ /* @__PURE__ */ a("div", { className: "flex items-start gap-2", children: [
303
+ /* @__PURE__ */ e(o, { className: "w-4 h-4 text-blue-500 shrink-0 mt-0.5" }),
304
+ /* @__PURE__ */ a("span", { children: [
305
+ /* @__PURE__ */ e("strong", { children: "Start with Standalone" }),
306
+ " if you're unsure - it's simpler and can be migrated to MFE later if needed."
307
+ ] })
308
+ ] }),
309
+ /* @__PURE__ */ a("div", { className: "flex items-start gap-2", children: [
310
+ /* @__PURE__ */ e(o, { className: "w-4 h-4 text-purple-500 shrink-0 mt-0.5" }),
311
+ /* @__PURE__ */ a("span", { children: [
312
+ /* @__PURE__ */ e("strong", { children: "Use MFE" }),
313
+ " from the start if you know you'll need independent deployments or route isolation."
314
+ ] })
315
+ ] })
316
+ ] })
317
+ ] })
318
+ ] }) })
319
+ ] })
320
+ ] })
321
+ }
322
+ ) }) });
323
+ export {
324
+ C as default
325
+ };
@@ -0,0 +1,31 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("./index-CjRk4ezu.js"),s=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const n=()=>{const t=[{key:"feature",label:"Feature",render:i=>e.jsx(a.Typography,{tag:"span",className:"font-medium",children:String(i)})},{key:"standalone",label:"Standalone App"},{key:"mfe",label:"Micro Frontends (MFE)"}],r=[{feature:"Route Configuration",standalone:"menuItems (automatic generation)",mfe:"appRoutesConfig (explicit configuration)"},{feature:"Base Path",standalone:"Not required (uses root /)",mfe:"Required (e.g., /my-app)"},{feature:"Route Generation",standalone:"Automatic from menuItems",mfe:"Manual via appRoutesConfig"},{feature:"Nested Routes",standalone:"Supported via dropdownItems",mfe:"Supported via nested routes in config"},{feature:"Custom Routes",standalone:"Optional customRoutes prop",mfe:"Not available"},{feature:"Authentication",standalone:"Basic support via isPublic",mfe:"Advanced support with isPublic per route"},{feature:"Route Disabling",standalone:"Not directly supported",mfe:"Supported via disabled prop"},{feature:"Deployment",standalone:"Single deployment",mfe:"Independent deployments per app"},{feature:"Use Case",standalone:"Traditional SPAs, monolithic apps",mfe:"Distributed architectures, micro frontends"},{feature:"TypeScript Safety",standalone:"Enforced via discriminated unions",mfe:"Enforced via discriminated unions"}];return e.jsx("div",{className:"space-y-8",children:e.jsx(a.CardContainer,{children:e.jsx(a.CardTitle,{title:"Architectural Patterns: Standalone vs MFE",className:"mt-2 mb-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-indigo-500 to-purple-500 shadow-lg",children:e.jsx(s.GitCompare,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(a.Typography,{tag:"h4",className:"font-semibold",children:"Pattern Comparison & Selection Guide"})]}),e.jsxs(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:["Understanding the differences between Standalone and MFE patterns helps you choose the right architecture for your project. Both patterns use the same"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs",children:"ThemeProvider"})," ","component, but with different configuration approaches and use cases."]}),e.jsx(a.Alert,{variant:"info",dismissible:!1,children:e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(s.Lightbulb,{className:"w-4 h-4"}),e.jsx(a.Typography,{tag:"span",className:"font-semibold",children:"TypeScript Safety"})]}),e.jsxs(a.Typography,{tag:"p",className:"text-sm",children:["Both patterns use TypeScript discriminated unions to enforce the correct props. The"," ",e.jsx("code",{className:"px-1 py-0.5 border border-gray-300 dark:border-gray-600 rounded text-xs",children:"architecturalPatterns"})," ","prop determines which props are available, preventing configuration errors at compile time."]})]})}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsx(a.Typography,{tag:"h4",className:"font-semibold text-lg",children:"Feature Comparison"}),e.jsx(a.BasicTable,{columns:t,data:r})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-blue-500 to-cyan-500 shadow-lg",children:e.jsx(s.Package,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(a.Typography,{tag:"h4",className:"font-semibold",children:"Standalone App Pattern"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"font-semibold text-sm mb-2",children:"When to Use:"}),e.jsxs("ul",{className:"space-y-2 text-sm text-gray-600 dark:text-gray-400",children:[e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx("span",{children:"Traditional single-page applications"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx("span",{children:"All routes in one codebase"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx("span",{children:"Simple deployment model"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx("span",{children:"Want automatic route generation"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx("span",{children:"No need for route isolation"})]})]})]}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"font-semibold text-sm mb-2",children:"Key Advantages:"}),e.jsxs("ul",{className:"space-y-1 text-sm text-gray-600 dark:text-gray-400",children:[e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Circle,{className:"w-3 h-3 mt-1 shrink-0 fill-current"}),e.jsx("span",{children:"Simple configuration with menuItems"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Circle,{className:"w-3 h-3 mt-1 shrink-0 fill-current"}),e.jsx("span",{children:"Automatic route generation"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Circle,{className:"w-3 h-3 mt-1 shrink-0 fill-current"}),e.jsx("span",{children:"Nested routes via dropdownItems"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Circle,{className:"w-3 h-3 mt-1 shrink-0 fill-current"}),e.jsx("span",{children:"Optional customRoutes override"})]})]})]})]}),e.jsx("div",{className:"mt-4 p-3 bg-light-dark rounded-lg",children:e.jsx(a.CodeBlock,{language:"tsx",code:`// Use Standalone App Pattern when:
2
+ // ✅ Building a traditional single-page application
3
+ // ✅ All routes are in one codebase
4
+ // ✅ You want automatic route generation
5
+ // ✅ Simple deployment model
6
+ // ✅ No need for route isolation
7
+
8
+ function MyStandaloneApp() {
9
+ return (
10
+ <ThemeProvider
11
+ menuItems={menuItems} // Simple configuration
12
+ logo={{ name: 'My', secondName: 'App' }}
13
+ />
14
+ );
15
+ }`})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-purple-500 to-indigo-500 shadow-lg",children:e.jsx(s.Box,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(a.Typography,{tag:"h4",className:"font-semibold",children:"Micro Frontends (MFE) Pattern"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"font-semibold text-sm mb-2",children:"When to Use:"}),e.jsxs("ul",{className:"space-y-2 text-sm text-gray-600 dark:text-gray-400",children:[e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx("span",{children:"Micro frontend architecture"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx("span",{children:"Multiple teams working independently"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx("span",{children:"Need independent deployments"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx("span",{children:"Require route isolation"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx("span",{children:"Need explicit route control"})]})]})]}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"font-semibold text-sm mb-2",children:"Key Advantages:"}),e.jsxs("ul",{className:"space-y-1 text-sm text-gray-600 dark:text-gray-400",children:[e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Circle,{className:"w-3 h-3 mt-1 shrink-0 fill-current"}),e.jsx("span",{children:"Explicit route configuration"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Circle,{className:"w-3 h-3 mt-1 shrink-0 fill-current"}),e.jsx("span",{children:"Route isolation with basePath"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Circle,{className:"w-3 h-3 mt-1 shrink-0 fill-current"}),e.jsx("span",{children:"Advanced authentication support"})]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.Circle,{className:"w-3 h-3 mt-1 shrink-0 fill-current"}),e.jsx("span",{children:"Route disabling capability"})]})]})]})]}),e.jsx("div",{className:"mt-4 p-3 bg-light-dark rounded-lg",children:e.jsx(a.CodeBlock,{language:"tsx",code:`// Use MFE Pattern when:
16
+ // ✅ Building micro frontend architecture
17
+ // ✅ Multiple teams working independently
18
+ // ✅ Need independent deployments
19
+ // ✅ Require route isolation
20
+ // ✅ Need explicit route control
21
+
22
+ function MyMfeApp() {
23
+ return (
24
+ <ThemeProvider
25
+ architecturalPatterns="mfe"
26
+ basePath="/my-app" // Required for MFE
27
+ appRoutesConfig={appRoutesConfig} // Explicit routes
28
+ logo={{ name: 'My', secondName: 'App' }}
29
+ />
30
+ );
31
+ }`})})]})]}),e.jsx(a.CardContainer,{className:"p-4",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(s.Lightbulb,{className:"w-5 h-5 text-yellow-500 shrink-0 mt-0.5"}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"p",className:"text-sm font-semibold mb-2",children:"Decision Guide"}),e.jsxs(a.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 mb-3",children:["Choose ",e.jsx("strong",{children:"Standalone App Pattern"})," if you're building a traditional SPA with all routes in one codebase. Choose ",e.jsx("strong",{children:"MFE Pattern"})," if you need independent deployments, route isolation, or are building a micro frontend architecture."]}),e.jsxs("div",{className:"space-y-2 text-sm",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(s.ArrowRight,{className:"w-4 h-4 text-blue-500 shrink-0 mt-0.5"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Start with Standalone"})," if you're unsure - it's simpler and can be migrated to MFE later if needed."]})]}),e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(s.ArrowRight,{className:"w-4 h-4 text-purple-500 shrink-0 mt-0.5"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Use MFE"})," from the start if you know you'll need independent deployments or route isolation."]})]})]})]})]})})]})]})})})})};exports.default=n;
@@ -0,0 +1,88 @@
1
+ import { jsxs as r, Fragment as o, jsx as e } from "react/jsx-runtime";
2
+ import { T as i, C as l } from "./index-Hq6IUBmn.mjs";
3
+ import { Box as s, Layers as n, CheckCircle as d, Zap as c } from "lucide-react";
4
+ import "react-router-dom";
5
+ import "react";
6
+ import "react-dom";
7
+ const w = () => /* @__PURE__ */ r(o, { children: [
8
+ /* @__PURE__ */ r("div", { className: "text-center", children: [
9
+ /* @__PURE__ */ e(
10
+ i,
11
+ {
12
+ tag: "h2",
13
+ className: "mb-4 text-2xl sm:text-3xl md:text-4xl font-bold",
14
+ children: "Architecture Overview"
15
+ }
16
+ ),
17
+ /* @__PURE__ */ e(
18
+ i,
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 Hook Form for performance and developer experience"
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(s, { className: "w-8 h-8 text-white filter drop-shadow-sm" }),
29
+ title: "Form Container",
30
+ description: "Main wrapper with built-in state management and submission handling",
31
+ color: "from-blue-500 via-indigo-500 to-purple-500"
32
+ },
33
+ {
34
+ icon: /* @__PURE__ */ e(n, { className: "w-8 h-8 text-white filter drop-shadow-sm" }),
35
+ title: "FormField Wrapper",
36
+ description: "Connects inputs to validation with automatic error handling",
37
+ color: "from-green-500 via-emerald-500 to-teal-500"
38
+ },
39
+ {
40
+ icon: /* @__PURE__ */ e(d, { className: "w-8 h-8 text-white filter drop-shadow-sm" }),
41
+ title: "Validation System",
42
+ description: "Built-in and custom validation rules with TypeScript support",
43
+ color: "from-orange-500 via-red-500 to-pink-500"
44
+ },
45
+ {
46
+ icon: /* @__PURE__ */ e(c, { className: "w-8 h-8 text-white filter drop-shadow-sm" }),
47
+ title: "Performance",
48
+ description: "Minimal re-renders with optimized form state management",
49
+ color: "from-purple-500 via-violet-500 to-indigo-500"
50
+ }
51
+ ].map((t, a) => /* @__PURE__ */ e(
52
+ l,
53
+ {
54
+ className: "group hover:shadow-large transition-all duration-300 hover:-translate-y-1",
55
+ children: /* @__PURE__ */ r("div", { className: "space-y-4", children: [
56
+ /* @__PURE__ */ r("div", { className: "flex items-center gap-3", children: [
57
+ /* @__PURE__ */ e(
58
+ "div",
59
+ {
60
+ className: `p-3 rounded-xl bg-linear-to-br ${t.color} group-hover:scale-110 transition-all duration-300 shadow-lg`,
61
+ children: t.icon
62
+ }
63
+ ),
64
+ /* @__PURE__ */ e(
65
+ i,
66
+ {
67
+ tag: "h3",
68
+ className: "font-semibold text-lg group-hover:text-primary transition-colors duration-300",
69
+ children: t.title
70
+ }
71
+ )
72
+ ] }),
73
+ /* @__PURE__ */ e(
74
+ i,
75
+ {
76
+ tag: "p",
77
+ className: "text-gray-600 dark:text-gray-400 leading-relaxed text-sm",
78
+ children: t.description
79
+ }
80
+ )
81
+ ] })
82
+ },
83
+ a
84
+ )) })
85
+ ] });
86
+ export {
87
+ w as default
88
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("./index-CjRk4ezu.js"),i=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center",children:[e.jsx(r.Typography,{tag:"h2",className:"mb-4 text-2xl sm:text-3xl md:text-4xl font-bold",children:"Architecture Overview"}),e.jsx(r.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 Hook Form for performance and developer experience"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:[{icon:e.jsx(i.Box,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"Form Container",description:"Main wrapper with built-in state management and submission handling",color:"from-blue-500 via-indigo-500 to-purple-500"},{icon:e.jsx(i.Layers,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"FormField Wrapper",description:"Connects inputs to validation with automatic error handling",color:"from-green-500 via-emerald-500 to-teal-500"},{icon:e.jsx(i.CheckCircle,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"Validation System",description:"Built-in and custom validation rules with TypeScript support",color:"from-orange-500 via-red-500 to-pink-500"},{icon:e.jsx(i.Zap,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"Performance",description:"Minimal re-renders with optimized form state management",color:"from-purple-500 via-violet-500 to-indigo-500"}].map((t,a)=>e.jsx(r.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-3",children:[e.jsx("div",{className:`p-3 rounded-xl bg-linear-to-br ${t.color} group-hover:scale-110 transition-all duration-300 shadow-lg`,children:t.icon}),e.jsx(r.Typography,{tag:"h3",className:"font-semibold text-lg group-hover:text-primary transition-colors duration-300",children:t.title})]}),e.jsx(r.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 leading-relaxed text-sm",children:t.description})]})},a))})]});exports.default=o;
@@ -0,0 +1,17 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("./index-CjRk4ezu.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const t=require("./1-CArqgiQa.js"),n=()=>{const l=[{key:"prop",label:"Prop",render:r=>e.jsx("code",{className:"text-xs text-brand",children:String(r)})},{key:"type",label:"Type",render:r=>e.jsx("code",{className:"text-xs",children:String(r)})},{key:"default",label:"Default",render:r=>{const s=String(r);return s==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:s})}},{key:"description",label:"Description"}],i=[{prop:"image",type:"string",default:"required",description:"URL or path to the author avatar image"},{prop:"name",type:"string",default:"-",description:"Author name"},{prop:"authorRole",type:"string",default:"-",description:"Author role or title"}];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:"AuthorCard"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A card component for displaying author information with avatar, name, and role."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"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:"With Name and Role"}),e.jsx(a.AuthorCard,{image:t.avatar1Img,name:"John Doe",authorRole:"Senior Developer"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Name Only"}),e.jsx(a.AuthorCard,{image:t.avatar1Img,name:"Jane Smith"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Avatar Only"}),e.jsx(a.AuthorCard,{image:t.avatar1Img})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.BasicTable,{columns:l,data:i})})})}),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 { AuthorCard } from '@e-burgos/tucu-ui';
2
+
3
+ // With name and role
4
+ <AuthorCard
5
+ image="/path/to/avatar.jpg"
6
+ name="John Doe"
7
+ authorRole="Senior Developer"
8
+ />
9
+
10
+ // With name only
11
+ <AuthorCard
12
+ image="/path/to/avatar.jpg"
13
+ name="Jane Smith"
14
+ />
15
+
16
+ // Avatar only
17
+ <AuthorCard image="/path/to/avatar.jpg" />`})})})})]})};exports.default=n;
@@ -0,0 +1,110 @@
1
+ import { jsxs as a, Fragment as m, jsx as e } from "react/jsx-runtime";
2
+ import { T as l, C as r, a as o, A as i, B as d, c } from "./index-Hq6IUBmn.mjs";
3
+ import "lucide-react";
4
+ import "react-router-dom";
5
+ import "react";
6
+ import "react-dom";
7
+ import { a as s } from "./1-Df9CGZha.mjs";
8
+ const b = () => /* @__PURE__ */ a(m, { children: [
9
+ /* @__PURE__ */ a("div", { className: "text-center space-y-4", children: [
10
+ /* @__PURE__ */ e(l, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "AuthorCard" }),
11
+ /* @__PURE__ */ e(
12
+ l,
13
+ {
14
+ tag: "p",
15
+ className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
16
+ children: "A card component for displaying author information with avatar, name, and role."
17
+ }
18
+ )
19
+ ] }),
20
+ /* @__PURE__ */ e(r, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { title: "Basic 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: [
21
+ /* @__PURE__ */ a(r, { className: "p-4", children: [
22
+ /* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "With Name and Role" }),
23
+ /* @__PURE__ */ e(
24
+ i,
25
+ {
26
+ image: s,
27
+ name: "John Doe",
28
+ authorRole: "Senior Developer"
29
+ }
30
+ )
31
+ ] }),
32
+ /* @__PURE__ */ a(r, { className: "p-4", children: [
33
+ /* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "With Name Only" }),
34
+ /* @__PURE__ */ e(i, { image: s, name: "Jane Smith" })
35
+ ] }),
36
+ /* @__PURE__ */ a(r, { className: "p-4", children: [
37
+ /* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Avatar Only" }),
38
+ /* @__PURE__ */ e(i, { image: s })
39
+ ] })
40
+ ] }) }) }) }),
41
+ /* @__PURE__ */ e(r, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { title: "Props", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ e(d, { columns: [
42
+ {
43
+ key: "prop",
44
+ label: "Prop",
45
+ render: (t) => /* @__PURE__ */ e("code", { className: "text-xs text-brand", children: String(t) })
46
+ },
47
+ {
48
+ key: "type",
49
+ label: "Type",
50
+ render: (t) => /* @__PURE__ */ e("code", { className: "text-xs", children: String(t) })
51
+ },
52
+ {
53
+ key: "default",
54
+ label: "Default",
55
+ render: (t) => {
56
+ const n = String(t);
57
+ return n === "required" ? /* @__PURE__ */ e("span", { className: "text-xs text-red-500", children: "required" }) : /* @__PURE__ */ e("code", { className: "text-xs", children: n });
58
+ }
59
+ },
60
+ {
61
+ key: "description",
62
+ label: "Description"
63
+ }
64
+ ], data: [
65
+ {
66
+ prop: "image",
67
+ type: "string",
68
+ default: "required",
69
+ description: "URL or path to the author avatar image"
70
+ },
71
+ {
72
+ prop: "name",
73
+ type: "string",
74
+ default: "-",
75
+ description: "Author name"
76
+ },
77
+ {
78
+ prop: "authorRole",
79
+ type: "string",
80
+ default: "-",
81
+ description: "Author role or title"
82
+ }
83
+ ] }) }) }) }),
84
+ /* @__PURE__ */ e(r, { 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(
85
+ c,
86
+ {
87
+ language: "tsx",
88
+ code: `import { AuthorCard } from '@e-burgos/tucu-ui';
89
+
90
+ // With name and role
91
+ <AuthorCard
92
+ image="/path/to/avatar.jpg"
93
+ name="John Doe"
94
+ authorRole="Senior Developer"
95
+ />
96
+
97
+ // With name only
98
+ <AuthorCard
99
+ image="/path/to/avatar.jpg"
100
+ name="Jane Smith"
101
+ />
102
+
103
+ // Avatar only
104
+ <AuthorCard image="/path/to/avatar.jpg" />`
105
+ }
106
+ ) }) }) })
107
+ ] });
108
+ export {
109
+ b as default
110
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("./index-CjRk4ezu.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const r=require("./1-CArqgiQa.js"),d=()=>{const i=[{key:"prop",label:"Prop",render:s=>e.jsx("code",{className:"text-xs text-brand",children:String(s)})},{key:"type",label:"Type",render:s=>e.jsx("code",{className:"text-xs",children:String(s)})},{key:"default",label:"Default",render:s=>{const t=String(s);return t==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:t})}},{key:"description",label:"Description"}],l=[{prop:"image",type:"string",default:"required",description:"URL or path to the avatar image"},{prop:"alt",type:"string",default:"required",description:"Alt text for the image"},{prop:"size",type:"'xl' | 'lg' | 'md' | 'sm' | 'xs'",default:"'md'",description:"Size of the avatar"},{prop:"shape",type:"'rounded' | 'circle'",default:"'circle'",description:"Shape of the avatar"},{prop:"border",type:"boolean",default:"true",description:"Whether to show border"},{prop:"className",type:"string",default:"-",description:"Additional CSS classes"}];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:"Avatar"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A versatile avatar component for displaying user profile images with multiple sizes and shapes."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"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:"Default Avatar"}),e.jsx(a.Avatar,{image:r.avatar1Img,alt:"User avatar"})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Without Border"}),e.jsx(a.Avatar,{image:r.avatar1Img,alt:"User avatar",border:!1})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Variants",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Sizes"}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(a.Avatar,{image:r.avatar1Img,alt:"XS",size:"xs"}),e.jsx(a.Avatar,{image:r.avatar1Img,alt:"SM",size:"sm"}),e.jsx(a.Avatar,{image:r.avatar1Img,alt:"MD",size:"md"}),e.jsx(a.Avatar,{image:r.avatar1Img,alt:"LG",size:"lg"}),e.jsx(a.Avatar,{image:r.avatar1Img,alt:"XL",size:"xl"})]})]}),e.jsxs("div",{children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Shapes"}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(a.Avatar,{image:r.avatar1Img,alt:"Circle",shape:"circle"}),e.jsx(a.Avatar,{image:r.avatar1Img,alt:"Rounded",shape:"rounded"})]})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.BasicTable,{columns:i,data:l})})})}),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 { Avatar } from '@e-burgos/tucu-ui';
2
+
3
+ // Basic usage
4
+ <Avatar image="/path/to/image.jpg" alt="User name" />
5
+
6
+ // Different sizes
7
+ <Avatar image={image} alt="User" size="xs" />
8
+ <Avatar image={image} alt="User" size="sm" />
9
+ <Avatar image={image} alt="User" size="md" />
10
+ <Avatar image={image} alt="User" size="lg" />
11
+ <Avatar image={image} alt="User" size="xl" />
12
+
13
+ // Different shapes
14
+ <Avatar image={image} alt="User" shape="circle" />
15
+ <Avatar image={image} alt="User" shape="rounded" />
16
+
17
+ // Without border
18
+ <Avatar image={image} alt="User" border={false} />`})})})})]})};exports.default=d;