@e-burgos/tucu-ui 1.1.1 → 1.5.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-CHFWh_o7.mjs +142 -0
  4. package/APIReferenceSection-DluVuy7j.js +1 -0
  5. package/ActiveLinkSection-6ybcGGt2.mjs +120 -0
  6. package/ActiveLinkSection-eR2Tdsul.js +22 -0
  7. package/AdvancedColorSystemSection-B_8HoiQ3.mjs +194 -0
  8. package/AdvancedColorSystemSection-DKMWh-a_.js +17 -0
  9. package/AdvancedFeaturesSection-DbPXJd4H.js +1 -0
  10. package/AdvancedFeaturesSection-DpTDCRTm.js +1 -0
  11. package/AdvancedFeaturesSection-q8VXmitJ.mjs +100 -0
  12. package/AdvancedFeaturesSection-sL-_vRo2.mjs +82 -0
  13. package/AlertSection-Bqcg-w-7.js +25 -0
  14. package/AlertSection-Dn6NjQDr.mjs +143 -0
  15. package/AnchorLinkSection-3cpqAe_7.js +19 -0
  16. package/AnchorLinkSection-B5z9BGZb.mjs +94 -0
  17. package/ArchitecturalPatternsComparisonSection-D1lgF9Qq.js +31 -0
  18. package/ArchitecturalPatternsComparisonSection-D7aRdQjp.mjs +325 -0
  19. package/ArchitectureOverviewSection-CI-HqKmP.js +1 -0
  20. package/ArchitectureOverviewSection-N-DTRCmA.mjs +88 -0
  21. package/AuthorCardSection-ejoMkFT6.mjs +110 -0
  22. package/AuthorCardSection-q-e7Fvih.js +17 -0
  23. package/AvatarSection-CYIhQCW7.js +18 -0
  24. package/AvatarSection-CxQ9I8LE.mjs +137 -0
  25. package/BadgeSection-BYDufusc.mjs +238 -0
  26. package/BadgeSection-kYu8t7T2.js +48 -0
  27. package/BasicTableSection-B3eoFQgO.mjs +169 -0
  28. package/BasicTableSection-QXvy76bx.js +35 -0
  29. package/BasicUsageSection-Dk9S31nn.js +45 -0
  30. package/BasicUsageSection-gHN131UX.mjs +103 -0
  31. package/BestPracticesSection-B-5IaVUl.mjs +43 -0
  32. package/BestPracticesSection-B-x2dv0_.js +1 -0
  33. package/BestPracticesSection-C-4JCVk8.mjs +57 -0
  34. package/BestPracticesSection-CHiBf9j4.js +1 -0
  35. package/BestPracticesSection-CYYODLWD.mjs +84 -0
  36. package/BestPracticesSection-CgYDQZ08.js +1 -0
  37. package/BestPracticesSection-Csw9FmwN.mjs +83 -0
  38. package/BestPracticesSection-DTvZOXjW.js +1 -0
  39. package/BestPracticesSection-DgzVoetG.js +1 -0
  40. package/BestPracticesSection-NnTfU37k.mjs +41 -0
  41. package/BestPracticesSection-Rin8bHTr.js +1 -0
  42. package/BestPracticesSection-WJpORyLr.mjs +83 -0
  43. package/BestPracticesSection-bLuG1Luj.js +1 -0
  44. package/BestPracticesSection-vTl1Ddip.mjs +49 -0
  45. package/BorderRadiusSection-Bqpjgp5K.js +1 -0
  46. package/BorderRadiusSection-CYOGG5iZ.mjs +63 -0
  47. package/ButtonDripSection-BzblNRvl.mjs +99 -0
  48. package/ButtonDripSection-DRspv1Jd.js +12 -0
  49. package/ButtonLoaderSection-Blhaeqm7.js +30 -0
  50. package/ButtonLoaderSection-D9La-WQM.mjs +127 -0
  51. package/CHANGELOG.md +253 -0
  52. package/CardContainerSection-Cu1AzOCt.js +21 -0
  53. package/CardContainerSection-DS5PU6Wb.mjs +99 -0
  54. package/CardTitleSection-Wh6g54mJ.js +19 -0
  55. package/CardTitleSection-ju9F8Tyy.mjs +113 -0
  56. package/CarouselCardsSection-BVs6FbIw.js +37 -0
  57. package/CarouselCardsSection-BjTszCQ3.mjs +207 -0
  58. package/CarouselImageSection-B_H8sVnv.js +38 -0
  59. package/CarouselImageSection-CrvNktF1.mjs +218 -0
  60. package/CarouselSection-QmSC4Fer.mjs +159 -0
  61. package/CarouselSection-uwwpdSwJ.js +24 -0
  62. package/CheckboxSection-Dwy_YlRw.js +26 -0
  63. package/CheckboxSection-hX15QRdY.mjs +221 -0
  64. package/CodeExamplesSection-BNqHspuA.js +28 -0
  65. package/CodeExamplesSection-BUH5OyaH.mjs +137 -0
  66. package/CoinCardSection-BTdqO4no.mjs +174 -0
  67. package/CoinCardSection-DFEAiQGO.js +13 -0
  68. package/CoinInfoCardSection-3FTitkuN.mjs +174 -0
  69. package/CoinInfoCardSection-B7Oz1TWD.js +12 -0
  70. package/CoinListBoxSection-BaH4hZWa.js +24 -0
  71. package/CoinListBoxSection-_TubrBNV.mjs +219 -0
  72. package/CollapseSection-CRjrWcRJ.mjs +126 -0
  73. package/CollapseSection-DqNvLafS.js +27 -0
  74. package/CollectionCardSection-BGZ1mE8u.mjs +103 -0
  75. package/CollectionCardSection-DhyQKxxm.js +17 -0
  76. package/CollectionSelectListSection-CK1VQ7I0.mjs +102 -0
  77. package/CollectionSelectListSection-CKpKD67J.js +14 -0
  78. package/ColorCustomizationSection-CE36WYNY.js +1 -0
  79. package/ColorCustomizationSection-aKl6PI7A.mjs +117 -0
  80. package/ColorSystemSection-7uC0hJqW.mjs +149 -0
  81. package/ColorSystemSection-Bvcs1dxh.js +1 -0
  82. package/CommonErrorsSection-CFR64ylt.mjs +54 -0
  83. package/CommonErrorsSection-D4_FTfVZ.js +1 -0
  84. package/ComponentAnatomySection-CPYdBCO6.mjs +72 -0
  85. package/ComponentAnatomySection-T1qWJOin.js +1 -0
  86. package/ComponentStatusSection-CRoITF3h.mjs +84 -0
  87. package/ComponentStatusSection-DrPj3CJM.js +1 -0
  88. package/CurrencySwapIconsSection-BH3LQuBS.mjs +92 -0
  89. package/CurrencySwapIconsSection-CxKdhIow.js +7 -0
  90. package/CustomColorPaletteSection-B3CsPSOE.mjs +54 -0
  91. package/CustomColorPaletteSection-BtxfPGfC.js +19 -0
  92. package/CustomIconsSection-BgV-WAPJ.mjs +162 -0
  93. package/CustomIconsSection-DGEzlSMX.js +3 -0
  94. package/DefiAppLogoSection-Dho5mLuT.mjs +120 -0
  95. package/DefiAppLogoSection-PywyZ7Ds.js +36 -0
  96. package/DesignPrinciplesSection-BgaeCDku.mjs +81 -0
  97. package/DesignPrinciplesSection-DnOaJYVE.js +1 -0
  98. package/DrawerSection-BFrAtmLv.mjs +188 -0
  99. package/DrawerSection-BrAQSdGk.js +41 -0
  100. package/DynamicRoutesSection-BF1XqRl-.js +42 -0
  101. package/DynamicRoutesSection-BN90cnDy.mjs +100 -0
  102. package/FileInputSection-BV0_j5aJ.mjs +277 -0
  103. package/FileInputSection-CIFSCnZT.js +65 -0
  104. package/FileStructureSection-Bd08VEZK.mjs +87 -0
  105. package/FileStructureSection-DQQA-vIe.js +26 -0
  106. package/FormComponentsSection-C5NZO7yV.mjs +116 -0
  107. package/FormComponentsSection-CwJntEmg.js +1 -0
  108. package/FormMethodsSection-B98UkHBv.js +55 -0
  109. package/FormMethodsSection-D58xvtsL.mjs +119 -0
  110. package/HamburgerSection-BUji63CO.mjs +108 -0
  111. package/HamburgerSection-n_xmP-wn.js +18 -0
  112. package/HookCategoriesSection-DhGSTU0B.js +1 -0
  113. package/HookCategoriesSection-GYU7Iei5.mjs +97 -0
  114. package/HookDocumentationSection-CKJJ-w_i.js +73 -0
  115. package/HookDocumentationSection-DnqLYSGK.mjs +272 -0
  116. package/HookFeaturesSection-Bqg-CA71.mjs +81 -0
  117. package/HookFeaturesSection-Csey5UTc.js +1 -0
  118. package/IconArchitectureSection-Wv-G2b6a.js +1 -0
  119. package/IconArchitectureSection-hhRBUg-V.mjs +108 -0
  120. package/IconSizingGuideSection-Dx8mN7PX.mjs +69 -0
  121. package/IconSizingGuideSection-YB-CGtnr.js +1 -0
  122. package/IconSystemAPISection-QJWhdfpo.js +1 -0
  123. package/IconSystemAPISection-bXrudU06.mjs +61 -0
  124. package/IconSystemBenefitsSection-BwanyP3c.js +1 -0
  125. package/IconSystemBenefitsSection-DKLtXb24.mjs +41 -0
  126. package/ImageSection-CSmiHV0L.mjs +612 -0
  127. package/ImageSection-sHVjMCnz.js +80 -0
  128. package/ImplementationExamplesSection-DfHKYrzv.mjs +284 -0
  129. package/ImplementationExamplesSection-DwH6OVfU.js +178 -0
  130. package/ImplementationGuidelinesSection-Bj4DFmdL.mjs +52 -0
  131. package/ImplementationGuidelinesSection-DP_I_Hi1.js +1 -0
  132. package/ImplementationStatusSection-CRYiKU5h.mjs +23 -0
  133. package/ImplementationStatusSection-VVEoRERd.js +1 -0
  134. package/ImplementedFeaturesSection-BMT9e9nX.mjs +116 -0
  135. package/ImplementedFeaturesSection-DdDpTz2-.js +1 -0
  136. package/InputSearcherSection-CY1pJ7_p.js +32 -0
  137. package/InputSearcherSection-DBshLx3e.mjs +258 -0
  138. package/InputSection-BsdqucRI.js +37 -0
  139. package/InputSection-Ho687ul0.mjs +265 -0
  140. package/KeyboardNavigationSection-4iRK0ZQA.js +1 -0
  141. package/KeyboardNavigationSection-PpDOGCby.mjs +69 -0
  142. package/LayoutPrinciplesSection-D-vccfVu.mjs +106 -0
  143. package/LayoutPrinciplesSection-D9_fFAF_.js +1 -0
  144. package/LayoutTypesSection-BkcFBXXg.js +1 -0
  145. package/LayoutTypesSection-usXYbbCR.mjs +239 -0
  146. package/ListContainerSection-PLAbcoL1.mjs +191 -0
  147. package/ListContainerSection-yeYEWBZY.js +38 -0
  148. package/ListItemSection-Cf0jmpas.mjs +191 -0
  149. package/ListItemSection-sb6shrQt.js +36 -0
  150. package/LiveDemoSection-DEQKbTQk.mjs +16 -0
  151. package/LiveDemoSection-cPIxcIuZ.js +1 -0
  152. package/LiveDemonstrationsSection-0qjqbzL8.mjs +445 -0
  153. package/LiveDemonstrationsSection-DLwejyei.js +4 -0
  154. package/LivePriceFeedSection-DEhOelW8.js +20 -0
  155. package/LivePriceFeedSection-DyMixQjB.mjs +187 -0
  156. package/LoaderSection-HsHhN1fT.mjs +143 -0
  157. package/LoaderSection-Zl3r1AHf.js +22 -0
  158. package/LogoSection-BjaE8rJp.mjs +319 -0
  159. package/LogoSection-DrzsqfB_.js +100 -0
  160. package/LucideIconsSection-BfQQfNnw.mjs +128 -0
  161. package/LucideIconsSection-CFioLWY9.js +1 -0
  162. package/MFESupportSection-CfqZiAlG.mjs +354 -0
  163. package/MFESupportSection-aHAWy-oc.js +122 -0
  164. package/MenuItemsGuideSection-CfkMoYWs.js +126 -0
  165. package/MenuItemsGuideSection-DtqEz3te.mjs +325 -0
  166. package/ModalSection-DoA3JVZO.mjs +158 -0
  167. package/ModalSection-vV4oaIXq.js +29 -0
  168. package/NFTGridSection-BiqoU8o6.mjs +122 -0
  169. package/NFTGridSection-DmpbDmFp.js +11 -0
  170. package/NestedRoutesSection-BjrHulvK.mjs +88 -0
  171. package/NestedRoutesSection-CwHxcPIB.js +36 -0
  172. package/NotificationCardSection-BTvGBUp5.js +28 -0
  173. package/NotificationCardSection-yrGz8e61.mjs +153 -0
  174. package/PanelActionCardSection-De_RT7Xx.js +28 -0
  175. package/PanelActionCardSection-DtKYzJRz.mjs +138 -0
  176. package/PanelCardSection-BhHyd_RU.mjs +96 -0
  177. package/PanelCardSection-BwdNRgHL.js +15 -0
  178. package/ParamTabSection-D-64gIJ0.js +92 -0
  179. package/ParamTabSection-DW95bROn.mjs +561 -0
  180. package/PinCodeSection-DLxT1qlT.js +22 -0
  181. package/PinCodeSection-DRvKUePb.mjs +263 -0
  182. package/ProgressbarSection-CKbkhmQS.mjs +195 -0
  183. package/ProgressbarSection-CRCYjRpw.js +21 -0
  184. package/README.md +297 -83
  185. package/RadioGroupSection-BPp-Tp9a.mjs +288 -0
  186. package/RadioGroupSection-BUWSW6uI.js +27 -0
  187. package/RadioSection-CSn_sr4P.mjs +208 -0
  188. package/RadioSection-Cl2T68su.js +23 -0
  189. package/RevealContentSection-B4yEXfQY.mjs +111 -0
  190. package/RevealContentSection-DMZRYCm2.js +21 -0
  191. package/RouteConfigurationSection-CoQn38dJ.js +40 -0
  192. package/RouteConfigurationSection-DqLJ2vbf.mjs +81 -0
  193. package/ScrollToTopSection-DY_WQiIp.js +36 -0
  194. package/ScrollToTopSection-bsPO6VoN.mjs +193 -0
  195. package/ScrollbarSection-BQLoKdfQ.mjs +146 -0
  196. package/ScrollbarSection-f9m-PsRb.js +29 -0
  197. package/SelectSection-BN9qlOW6.mjs +275 -0
  198. package/SelectSection-BSY-VzxD.js +20 -0
  199. package/SettingsPanelSection-Beigs8Mz.js +1 -0
  200. package/SettingsPanelSection-C87nsYr6.mjs +126 -0
  201. package/ShadowsSection-Bc7fTEaF.js +1 -0
  202. package/ShadowsSection-swFi7rcU.mjs +90 -0
  203. package/SidebarMenuSection-CrXxweh8.js +46 -0
  204. package/SidebarMenuSection-Ok5nM-Gb.mjs +140 -0
  205. package/SidebarSection-DBreiJzV.js +25 -0
  206. package/SidebarSection-eGUICII0.mjs +122 -0
  207. package/SizingSection-B79GMG1e.js +1 -0
  208. package/SizingSection-BZ6K7FDU.mjs +86 -0
  209. package/SkeletonSection-CCNrjbhN.js +52 -0
  210. package/SkeletonSection-D3-GHpIx.mjs +259 -0
  211. package/SpacingSystemSection-00FcQc6s.js +1 -0
  212. package/SpacingSystemSection-CPC_ueHg.mjs +82 -0
  213. package/SpinnerSection-BKxNrkZS.mjs +107 -0
  214. package/SpinnerSection-CeTSWqKn.js +17 -0
  215. package/StandaloneAppSection-CL7q2RAc.mjs +244 -0
  216. package/StandaloneAppSection-xt8l3Kox.js +69 -0
  217. package/SwitchSection-CPHMvmxe.js +20 -0
  218. package/SwitchSection-KW_y9F1U.mjs +230 -0
  219. package/SystemOverviewSection-9jmtz2sd.mjs +93 -0
  220. package/SystemOverviewSection-QYqitAxQ.js +1 -0
  221. package/TabSection-Cytn9Eg_.js +84 -0
  222. package/TabSection-Dt7NHmRD.mjs +331 -0
  223. package/TabSelectSection-C3qtM1sO.js +100 -0
  224. package/TabSelectSection-CIkC-gNn.mjs +418 -0
  225. package/TailwindConfigSection-B3u_7Uj3.mjs +152 -0
  226. package/TailwindConfigSection-Beh2sEXt.js +19 -0
  227. package/TestingSection-DqUsgS3A.mjs +48 -0
  228. package/TestingSection-jzeFF7T4.js +12 -0
  229. package/TextareaSection-BC5OuD6Y.mjs +220 -0
  230. package/TextareaSection-DdF73vjR.js +21 -0
  231. package/ThemeArchitectureSection-CRMTbUjE.js +1 -0
  232. package/ThemeArchitectureSection-hVs57qtQ.mjs +86 -0
  233. package/ThemeConfigurationSection-ByKwC4NV.mjs +132 -0
  234. package/ThemeConfigurationSection-V9NL4B6w.js +1 -0
  235. package/ThemeHooksSection-BqMaxz3M.mjs +119 -0
  236. package/ThemeHooksSection-Cq7naa3J.js +1 -0
  237. package/ThemeProviderIntegrationSection-BdyKt0OG.js +61 -0
  238. package/ThemeProviderIntegrationSection-Dd4ey6yw.mjs +108 -0
  239. package/ThemeProviderRequiredSection-BC0SE1oX.mjs +95 -0
  240. package/ThemeProviderRequiredSection-C38NrwgR.js +1 -0
  241. package/ThemeProviderSection-DH9EOiSK.mjs +128 -0
  242. package/ThemeProviderSection-IP9yGtu9.js +1 -0
  243. package/ToastSection--5jtANA4.js +37 -0
  244. package/ToastSection-DMKHXDUt.mjs +170 -0
  245. package/ToggleBarSection-DFyy46ps.mjs +187 -0
  246. package/ToggleBarSection-sLrIdWGE.js +37 -0
  247. package/TopupButtonSection-D4UKj_4e.js +24 -0
  248. package/TopupButtonSection-MWCr2HgN.mjs +145 -0
  249. package/TransactionInfoSection-BDjeyKVu.mjs +113 -0
  250. package/TransactionInfoSection-Dow-BcLX.js +16 -0
  251. package/TucuUiLogoSection-B98FqIGR.mjs +121 -0
  252. package/TucuUiLogoSection-D33WplqP.js +26 -0
  253. package/TypographySection-BhLYx-Kc.mjs +129 -0
  254. package/TypographySection-C5qZROOc.mjs +214 -0
  255. package/TypographySection-CGqn0YKc.js +24 -0
  256. package/TypographySection-D833eiFZ.js +1 -0
  257. package/UsageExamplesSection-BYqtf6E5.mjs +147 -0
  258. package/UsageExamplesSection-B_3VW7eX.js +83 -0
  259. package/UsingThemeSystemSection-DnfcjVLJ.js +140 -0
  260. package/UsingThemeSystemSection-F28_AtB_.mjs +176 -0
  261. package/ValidationSystemSection-Ci83T7Q5.mjs +197 -0
  262. package/ValidationSystemSection-Dsoz_A_r.js +54 -0
  263. package/WCAGPrinciplesSection-DCjENTGT.js +1 -0
  264. package/WCAGPrinciplesSection-zEOESp2h.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-BoEJRnmP.js +906 -0
  476. package/index-DCf83AyI.mjs +53778 -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,29 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("./index-BoEJRnmP.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const i=()=>{const t=[{key:"prop",label:"Prop",render:l=>e.jsx("code",{className:"text-xs text-brand",children:String(l)})},{key:"type",label:"Type",render:l=>e.jsx("code",{className:"text-xs",children:String(l)})},{key:"default",label:"Default",render:l=>{const a=String(l);return a==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:a})}},{key:"description",label:"Description"}],c=[{prop:"children",type:"React.ReactNode",default:"required",description:"Content to display inside the scrollbar"},{prop:"autoHide",type:"'never' | 'scroll' | 'leave' | 'move'",default:"'scroll'",description:"When to hide the scrollbar"},{prop:"direction",type:"'horizontal' | 'vertical' | 'both'",default:"'vertical'",description:"Scroll direction"},{prop:"className",type:"string",default:"-",description:"Additional CSS classes"},{prop:"scrollbarStyle",type:"{ track?: CSSProperties; thumb?: CSSProperties }",default:"-",description:"Custom styles for scrollbar track and thumb"}],s=Array.from({length:20},(l,a)=>e.jsx("div",{className:"p-4 border-b",children:e.jsxs(r.Typography,{tag:"p",children:["Content item ",a+1]})},a));return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(r.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Scrollbar"}),e.jsx(r.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A customizable scrollbar component with auto-hide functionality and custom styling options."})]}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Vertical Scrollbar"}),e.jsx(r.Scrollbar,{className:"h-48",children:e.jsx("div",{children:s.slice(0,10)})})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Auto Hide on Leave"}),e.jsx(r.Scrollbar,{className:"h-48",autoHide:"leave",children:e.jsx("div",{children:s.slice(0,10)})})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Never Hide"}),e.jsx(r.Scrollbar,{className:"h-48",autoHide:"never",children:e.jsx("div",{children:s.slice(0,10)})})]}),e.jsxs(r.CardContainer,{className:"p-4",children:[e.jsx(r.Typography,{tag:"h5",className:"mb-3",children:"Custom Styled"}),e.jsx(r.Scrollbar,{className:"h-48",scrollbarStyle:{track:{backgroundColor:"transparent"},thumb:{borderRadius:"8px",width:"8px"}},children:e.jsx("div",{children:s.slice(0,10)})})]})]})})})}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(r.BasicTable,{columns:t,data:c})})})}),e.jsx(r.CardContainer,{className:"overflow-hidden",children:e.jsx(r.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(r.CodeBlock,{language:"tsx",code:`import { Scrollbar } from '@e-burgos/tucu-ui';
2
+
3
+ // Basic usage
4
+ <Scrollbar className="h-48">
5
+ <div>
6
+ {/* Your content here */}
7
+ </div>
8
+ </Scrollbar>
9
+
10
+ // Auto hide on leave
11
+ <Scrollbar className="h-48" autoHide="leave">
12
+ <div>{content}</div>
13
+ </Scrollbar>
14
+
15
+ // Never hide
16
+ <Scrollbar className="h-48" autoHide="never">
17
+ <div>{content}</div>
18
+ </Scrollbar>
19
+
20
+ // Custom styled
21
+ <Scrollbar
22
+ className="h-48"
23
+ scrollbarStyle={{
24
+ track: { backgroundColor: 'transparent' },
25
+ thumb: { borderRadius: '8px', width: '8px' },
26
+ }}
27
+ >
28
+ <div>{content}</div>
29
+ </Scrollbar>`})})})})]})};exports.default=i;
@@ -0,0 +1,275 @@
1
+ import { jsxs as a, Fragment as d, jsx as e } from "react/jsx-runtime";
2
+ import { useState as m } from "react";
3
+ import { T as l, C as t, a as o, S as r, B as h, c as u } from "./index-DCf83AyI.mjs";
4
+ import "lucide-react";
5
+ import "react-router-dom";
6
+ import "react-dom";
7
+ const C = () => {
8
+ const [c, p] = m(void 0), i = [
9
+ { name: "Argentina", value: "ar" },
10
+ { name: "Brasil", value: "br" },
11
+ { name: "Chile", value: "cl" },
12
+ { name: "Colombia", value: "co" },
13
+ { name: "México", value: "mx" }
14
+ ];
15
+ return /* @__PURE__ */ a(d, { children: [
16
+ /* @__PURE__ */ a("div", { className: "text-center space-y-4", children: [
17
+ /* @__PURE__ */ e(l, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "Select" }),
18
+ /* @__PURE__ */ e(
19
+ l,
20
+ {
21
+ tag: "p",
22
+ className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
23
+ children: "A dropdown select component for choosing from a list of options."
24
+ }
25
+ )
26
+ ] }),
27
+ /* @__PURE__ */ e(t, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { title: "Examples", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
28
+ /* @__PURE__ */ a(t, { className: "p-4", children: [
29
+ /* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Basic Select" }),
30
+ /* @__PURE__ */ e(
31
+ r,
32
+ {
33
+ label: "Country",
34
+ placeholder: "Select a country",
35
+ options: i,
36
+ selectedOption: c,
37
+ onChange: p
38
+ }
39
+ )
40
+ ] }),
41
+ /* @__PURE__ */ a(t, { className: "p-4", children: [
42
+ /* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "With Helper Text" }),
43
+ /* @__PURE__ */ e(
44
+ r,
45
+ {
46
+ label: "Language",
47
+ placeholder: "Select a language",
48
+ helperText: "Choose your preferred language",
49
+ options: [
50
+ { name: "English", value: "en" },
51
+ { name: "Spanish", value: "es" },
52
+ { name: "French", value: "fr" }
53
+ ]
54
+ }
55
+ )
56
+ ] }),
57
+ /* @__PURE__ */ a(t, { className: "p-4", children: [
58
+ /* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "With Error" }),
59
+ /* @__PURE__ */ e(
60
+ r,
61
+ {
62
+ label: "Category",
63
+ placeholder: "Select a category",
64
+ errorMessage: "Category is required",
65
+ options: [
66
+ { name: "Option 1", value: "opt1" },
67
+ { name: "Option 2", value: "opt2" }
68
+ ]
69
+ }
70
+ )
71
+ ] }),
72
+ /* @__PURE__ */ a(t, { className: "p-4", children: [
73
+ /* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Disabled" }),
74
+ /* @__PURE__ */ e(
75
+ r,
76
+ {
77
+ label: "Status",
78
+ placeholder: "Select status",
79
+ disabled: !0,
80
+ options: [
81
+ { name: "Active", value: "active" },
82
+ { name: "Inactive", value: "inactive" }
83
+ ]
84
+ }
85
+ )
86
+ ] }),
87
+ /* @__PURE__ */ a(t, { className: "p-4", children: [
88
+ /* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Required Field" }),
89
+ /* @__PURE__ */ e(
90
+ r,
91
+ {
92
+ label: "Priority",
93
+ placeholder: "Select priority",
94
+ required: !0,
95
+ options: [
96
+ { name: "Low", value: "low" },
97
+ { name: "Medium", value: "medium" },
98
+ { name: "High", value: "high" }
99
+ ]
100
+ }
101
+ )
102
+ ] })
103
+ ] }) }) }) }),
104
+ /* @__PURE__ */ e(t, { className: "overflow-hidden", children: /* @__PURE__ */ e(o, { title: "Variants", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ a("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-4", children: [
105
+ /* @__PURE__ */ a(t, { className: "p-4", children: [
106
+ /* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Ghost (default)" }),
107
+ /* @__PURE__ */ e(
108
+ r,
109
+ {
110
+ label: "Ghost Variant",
111
+ placeholder: "Select option",
112
+ variant: "ghost",
113
+ options: i
114
+ }
115
+ )
116
+ ] }),
117
+ /* @__PURE__ */ a(t, { className: "p-4", children: [
118
+ /* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Solid" }),
119
+ /* @__PURE__ */ e(
120
+ r,
121
+ {
122
+ label: "Solid Variant",
123
+ placeholder: "Select option",
124
+ variant: "solid",
125
+ options: i
126
+ }
127
+ )
128
+ ] }),
129
+ /* @__PURE__ */ a(t, { className: "p-4", children: [
130
+ /* @__PURE__ */ e(l, { tag: "h5", className: "mb-3", children: "Transparent" }),
131
+ /* @__PURE__ */ e(
132
+ r,
133
+ {
134
+ label: "Transparent Variant",
135
+ placeholder: "Select option",
136
+ variant: "transparent",
137
+ options: i
138
+ }
139
+ )
140
+ ] })
141
+ ] }) }) }) }),
142
+ /* @__PURE__ */ e(t, { 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(h, { columns: [
143
+ {
144
+ key: "prop",
145
+ label: "Prop",
146
+ render: (s) => /* @__PURE__ */ e("code", { className: "text-xs text-brand", children: String(s) })
147
+ },
148
+ {
149
+ key: "type",
150
+ label: "Type",
151
+ render: (s) => /* @__PURE__ */ e("code", { className: "text-xs", children: String(s) })
152
+ },
153
+ {
154
+ key: "default",
155
+ label: "Default",
156
+ render: (s) => {
157
+ const n = String(s);
158
+ return n === "required" ? /* @__PURE__ */ e("span", { className: "text-xs text-red-500", children: "required" }) : /* @__PURE__ */ e("code", { className: "text-xs", children: n });
159
+ }
160
+ },
161
+ {
162
+ key: "description",
163
+ label: "Description"
164
+ }
165
+ ], data: [
166
+ {
167
+ prop: "options",
168
+ type: "SelectOption[]",
169
+ default: "required",
170
+ description: "Array of select options"
171
+ },
172
+ {
173
+ prop: "selectedOption",
174
+ type: "SelectOption",
175
+ default: "-",
176
+ description: "Currently selected option"
177
+ },
178
+ {
179
+ prop: "onChange",
180
+ type: "(option: SelectOption) => void",
181
+ default: "-",
182
+ description: "Callback when selection changes"
183
+ },
184
+ {
185
+ prop: "onSelect",
186
+ type: "(value: string) => void",
187
+ default: "-",
188
+ description: "Callback with selected value string"
189
+ },
190
+ {
191
+ prop: "variant",
192
+ type: "'ghost' | 'solid' | 'transparent'",
193
+ default: "'ghost'",
194
+ description: "Visual variant of the select"
195
+ },
196
+ {
197
+ prop: "label",
198
+ type: "string",
199
+ default: "-",
200
+ description: "Field label text"
201
+ },
202
+ {
203
+ prop: "placeholder",
204
+ type: "string",
205
+ default: "-",
206
+ description: "Placeholder text"
207
+ },
208
+ {
209
+ prop: "disabled",
210
+ type: "boolean",
211
+ default: "false",
212
+ description: "Disables the select field"
213
+ },
214
+ {
215
+ prop: "required",
216
+ type: "boolean",
217
+ default: "false",
218
+ description: "Marks the field as required"
219
+ },
220
+ {
221
+ prop: "errorMessage",
222
+ type: "string",
223
+ default: "-",
224
+ description: "Error message to display"
225
+ },
226
+ {
227
+ prop: "helperText",
228
+ type: "string",
229
+ default: "-",
230
+ description: "Helper text displayed below the select"
231
+ },
232
+ {
233
+ prop: "value",
234
+ type: "string",
235
+ default: "-",
236
+ description: "String value for react-hook-form integration"
237
+ },
238
+ {
239
+ prop: "name",
240
+ type: "string",
241
+ default: "-",
242
+ description: "Name attribute for form submission"
243
+ }
244
+ ] }) }) }) }),
245
+ /* @__PURE__ */ e(t, { 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(
246
+ u,
247
+ {
248
+ language: "tsx",
249
+ code: `import { Select } from '@e-burgos/tucu-ui';
250
+
251
+ const options = [
252
+ { name: 'Argentina', value: 'ar' },
253
+ { name: 'Brasil', value: 'br' },
254
+ { name: 'Chile', value: 'cl' },
255
+ ];
256
+
257
+ <Select
258
+ label="Country"
259
+ placeholder="Select a country"
260
+ options={options}
261
+ selectedOption={selectedOption}
262
+ onChange={setSelectedOption}
263
+ />
264
+
265
+ // Variants
266
+ <Select label="Ghost" variant="ghost" options={options} />
267
+ <Select label="Solid" variant="solid" options={options} />
268
+ <Select label="Transparent" variant="transparent" options={options} />`
269
+ }
270
+ ) }) }) })
271
+ ] });
272
+ };
273
+ export {
274
+ C as default
275
+ };
@@ -0,0 +1,20 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),a=require("./index-BoEJRnmP.js");require("lucide-react");require("react-router-dom");require("react-dom");const d=()=>{const[r,i]=c.useState(void 0),l=[{name:"Argentina",value:"ar"},{name:"Brasil",value:"br"},{name:"Chile",value:"cl"},{name:"Colombia",value:"co"},{name:"México",value:"mx"}],n=[{key:"prop",label:"Prop",render:t=>e.jsx("code",{className:"text-xs text-brand",children:String(t)})},{key:"type",label:"Type",render:t=>e.jsx("code",{className:"text-xs",children:String(t)})},{key:"default",label:"Default",render:t=>{const s=String(t);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"}],o=[{prop:"options",type:"SelectOption[]",default:"required",description:"Array of select options"},{prop:"selectedOption",type:"SelectOption",default:"-",description:"Currently selected option"},{prop:"onChange",type:"(option: SelectOption) => void",default:"-",description:"Callback when selection changes"},{prop:"onSelect",type:"(value: string) => void",default:"-",description:"Callback with selected value string"},{prop:"variant",type:"'ghost' | 'solid' | 'transparent'",default:"'ghost'",description:"Visual variant of the select"},{prop:"label",type:"string",default:"-",description:"Field label text"},{prop:"placeholder",type:"string",default:"-",description:"Placeholder text"},{prop:"disabled",type:"boolean",default:"false",description:"Disables the select field"},{prop:"required",type:"boolean",default:"false",description:"Marks the field as required"},{prop:"errorMessage",type:"string",default:"-",description:"Error message to display"},{prop:"helperText",type:"string",default:"-",description:"Helper text displayed below the select"},{prop:"value",type:"string",default:"-",description:"String value for react-hook-form integration"},{prop:"name",type:"string",default:"-",description:"Name attribute for form submission"}];return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(a.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Select"}),e.jsx(a.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A dropdown select component for choosing from a list of options."})]}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic Select"}),e.jsx(a.Select,{label:"Country",placeholder:"Select a country",options:l,selectedOption:r,onChange:i})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Helper Text"}),e.jsx(a.Select,{label:"Language",placeholder:"Select a language",helperText:"Choose your preferred language",options:[{name:"English",value:"en"},{name:"Spanish",value:"es"},{name:"French",value:"fr"}]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Error"}),e.jsx(a.Select,{label:"Category",placeholder:"Select a category",errorMessage:"Category is required",options:[{name:"Option 1",value:"opt1"},{name:"Option 2",value:"opt2"}]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Disabled"}),e.jsx(a.Select,{label:"Status",placeholder:"Select status",disabled:!0,options:[{name:"Active",value:"active"},{name:"Inactive",value:"inactive"}]})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Required Field"}),e.jsx(a.Select,{label:"Priority",placeholder:"Select priority",required:!0,options:[{name:"Low",value:"low"},{name:"Medium",value:"medium"},{name:"High",value:"high"}]})]})]})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Variants",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Ghost (default)"}),e.jsx(a.Select,{label:"Ghost Variant",placeholder:"Select option",variant:"ghost",options:l})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Solid"}),e.jsx(a.Select,{label:"Solid Variant",placeholder:"Select option",variant:"solid",options:l})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Transparent"}),e.jsx(a.Select,{label:"Transparent Variant",placeholder:"Select option",variant:"transparent",options:l})]})]})})})}),e.jsx(a.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:n,data:o})})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { Select } from '@e-burgos/tucu-ui';
2
+
3
+ const options = [
4
+ { name: 'Argentina', value: 'ar' },
5
+ { name: 'Brasil', value: 'br' },
6
+ { name: 'Chile', value: 'cl' },
7
+ ];
8
+
9
+ <Select
10
+ label="Country"
11
+ placeholder="Select a country"
12
+ options={options}
13
+ selectedOption={selectedOption}
14
+ onChange={setSelectedOption}
15
+ />
16
+
17
+ // Variants
18
+ <Select label="Ghost" variant="ghost" options={options} />
19
+ <Select label="Solid" variant="solid" options={options} />
20
+ <Select label="Transparent" variant="transparent" options={options} />`})})})})]})};exports.default=d;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("./index-BoEJRnmP.js"),i=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const h=()=>{const{mode:a,layout:n,primaryPreset:d,secondaryPreset:c,accentPreset:m,direction:o,setMode:g,setIsSettingsOpen:x,isSettingsOpen:r}=s.useTheme();return e.jsx(s.CardContainer,{children:e.jsx(s.CardTitle,{title:"Settings Panel",className:"mt-2 mb-6",children:e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-gradient-to-br from-orange-500 to-red-500 rounded-lg shadow-lg",children:e.jsx(i.Settings,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h4",className:"font-semibold",children:"Built-in Settings UI"})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"The theme system includes a built-in settings panel that allows users to:"}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-2",children:"Core Settings"}),e.jsx("ul",{className:"space-y-1",children:["Toggle between light and dark modes","Switch between LTR and RTL text direction","Choose between Clean, Admin, and Horizontal layouts"].map((t,l)=>e.jsxs("li",{className:"flex items-center gap-2",children:[e.jsx(i.Check,{className:"w-3 h-3 text-green-500"}),e.jsx("span",{className:"text-xs",children:t})]},l))})]}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-2",children:"Color Management"}),e.jsx("ul",{className:"space-y-1",children:["Select from 34 predefined color presets","Configure primary, secondary, and accent colors","Customize dark and light theme colors","Manage muted colors and background variants"].map((t,l)=>e.jsxs("li",{className:"flex items-center gap-2",children:[e.jsx(i.Check,{className:"w-3 h-3 text-green-500"}),e.jsx("span",{className:"text-xs",children:t})]},l))})]})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium",children:"Current Settings"}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[e.jsxs("div",{className:"flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg",children:[e.jsx("span",{className:"text-sm font-medium",children:"Mode"}),e.jsx(s.Badge,{variant:"outline",className:"text-xs",children:a})]}),e.jsxs("div",{className:"flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg",children:[e.jsx("span",{className:"text-sm font-medium",children:"Layout"}),e.jsxs(s.Badge,{variant:"outline",className:"text-xs",children:[n==="horizontal"?"Horizontal":n==="clean"?"Clean":"Admin"," "]})]}),e.jsxs("div",{className:"flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg",children:[e.jsx("span",{className:"text-sm font-medium",children:"Primary"}),e.jsx(s.Badge,{variant:"outline",className:"text-xs",children:d?.label||"DEFAULT_PRIMARY"})]}),e.jsxs("div",{className:"flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg",children:[e.jsx("span",{className:"text-sm font-medium",children:"Secondary"}),e.jsx(s.Badge,{variant:"outline",className:"text-xs",children:c?.label||"DEFAULT_SECONDARY"})]}),e.jsxs("div",{className:"flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg",children:[e.jsx("span",{className:"text-sm font-medium",children:"Accent"}),e.jsx(s.Badge,{variant:"outline",className:"text-xs",children:m?.label||"DEFAULT_ACCENT"})]}),e.jsxs("div",{className:"flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg",children:[e.jsx("span",{className:"text-sm font-medium",children:"Direction"}),e.jsx(s.Badge,{variant:"outline",className:"text-xs",children:o||"LTR"})]})]}),e.jsxs("div",{className:"flex gap-2 w-full mt-4",children:[e.jsxs(s.Button,{size:"small",onClick:()=>g(a==="dark"?"light":"dark"),className:"flex-1",children:["Toggle ",a==="dark"?"Light":"Dark"]}),e.jsxs(s.Button,{size:"small",variant:"ghost",onClick:()=>x(!r),className:"flex-1",children:[r?"Close":"Open"," Settings"]})]})]})]})]})]})})})};exports.default=h;
@@ -0,0 +1,126 @@
1
+ import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
+ import { ah as x, C as f, a as y, T as t, D as s, s as c } from "./index-DCf83AyI.mjs";
3
+ import { Settings as b, Check as m } from "lucide-react";
4
+ import "react-router-dom";
5
+ import "react";
6
+ import "react-dom";
7
+ const A = () => {
8
+ const {
9
+ mode: l,
10
+ layout: r,
11
+ primaryPreset: o,
12
+ secondaryPreset: g,
13
+ accentPreset: h,
14
+ direction: p,
15
+ setMode: u,
16
+ setIsSettingsOpen: N,
17
+ isSettingsOpen: d
18
+ } = x();
19
+ return /* @__PURE__ */ e(f, { children: /* @__PURE__ */ e(y, { title: "Settings Panel", className: "mt-2 mb-6", children: /* @__PURE__ */ a("div", { className: "space-y-6", children: [
20
+ /* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
21
+ /* @__PURE__ */ e("div", { className: "p-2 bg-gradient-to-br from-orange-500 to-red-500 rounded-lg shadow-lg", children: /* @__PURE__ */ e(b, { className: "w-5 h-5 text-white filter drop-shadow-sm" }) }),
22
+ /* @__PURE__ */ e(t, { tag: "h4", className: "font-semibold", children: "Built-in Settings UI" })
23
+ ] }),
24
+ /* @__PURE__ */ a("div", { className: "grid grid-cols-1 gap-6", children: [
25
+ /* @__PURE__ */ a("div", { className: "space-y-4", children: [
26
+ /* @__PURE__ */ e(
27
+ t,
28
+ {
29
+ tag: "p",
30
+ className: "text-gray-600 dark:text-gray-400",
31
+ children: "The theme system includes a built-in settings panel that allows users to:"
32
+ }
33
+ ),
34
+ /* @__PURE__ */ a("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
35
+ /* @__PURE__ */ a("div", { children: [
36
+ /* @__PURE__ */ e(t, { tag: "h5", className: "font-medium mb-2", children: "Core Settings" }),
37
+ /* @__PURE__ */ e("ul", { className: "space-y-1", children: [
38
+ "Toggle between light and dark modes",
39
+ "Switch between LTR and RTL text direction",
40
+ "Choose between Clean, Admin, and Horizontal layouts"
41
+ ].map((i, n) => /* @__PURE__ */ a("li", { className: "flex items-center gap-2", children: [
42
+ /* @__PURE__ */ e(m, { className: "w-3 h-3 text-green-500" }),
43
+ /* @__PURE__ */ e("span", { className: "text-xs", children: i })
44
+ ] }, n)) })
45
+ ] }),
46
+ /* @__PURE__ */ a("div", { children: [
47
+ /* @__PURE__ */ e(t, { tag: "h5", className: "font-medium mb-2", children: "Color Management" }),
48
+ /* @__PURE__ */ e("ul", { className: "space-y-1", children: [
49
+ "Select from 34 predefined color presets",
50
+ "Configure primary, secondary, and accent colors",
51
+ "Customize dark and light theme colors",
52
+ "Manage muted colors and background variants"
53
+ ].map((i, n) => /* @__PURE__ */ a("li", { className: "flex items-center gap-2", children: [
54
+ /* @__PURE__ */ e(m, { className: "w-3 h-3 text-green-500" }),
55
+ /* @__PURE__ */ e("span", { className: "text-xs", children: i })
56
+ ] }, n)) })
57
+ ] })
58
+ ] })
59
+ ] }),
60
+ /* @__PURE__ */ a("div", { className: "space-y-4", children: [
61
+ /* @__PURE__ */ e(t, { tag: "h5", className: "font-medium", children: "Current Settings" }),
62
+ /* @__PURE__ */ a("div", { className: "space-y-3", children: [
63
+ /* @__PURE__ */ a("div", { className: "grid grid-cols-2 gap-3", children: [
64
+ /* @__PURE__ */ a("div", { className: "flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg", children: [
65
+ /* @__PURE__ */ e("span", { className: "text-sm font-medium", children: "Mode" }),
66
+ /* @__PURE__ */ e(s, { variant: "outline", className: "text-xs", children: l })
67
+ ] }),
68
+ /* @__PURE__ */ a("div", { className: "flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg", children: [
69
+ /* @__PURE__ */ e("span", { className: "text-sm font-medium", children: "Layout" }),
70
+ /* @__PURE__ */ a(s, { variant: "outline", className: "text-xs", children: [
71
+ r === "horizontal" ? "Horizontal" : r === "clean" ? "Clean" : "Admin",
72
+ " "
73
+ ] })
74
+ ] }),
75
+ /* @__PURE__ */ a("div", { className: "flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg", children: [
76
+ /* @__PURE__ */ e("span", { className: "text-sm font-medium", children: "Primary" }),
77
+ /* @__PURE__ */ e(s, { variant: "outline", className: "text-xs", children: o?.label || "DEFAULT_PRIMARY" })
78
+ ] }),
79
+ /* @__PURE__ */ a("div", { className: "flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg", children: [
80
+ /* @__PURE__ */ e("span", { className: "text-sm font-medium", children: "Secondary" }),
81
+ /* @__PURE__ */ e(s, { variant: "outline", className: "text-xs", children: g?.label || "DEFAULT_SECONDARY" })
82
+ ] }),
83
+ /* @__PURE__ */ a("div", { className: "flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg", children: [
84
+ /* @__PURE__ */ e("span", { className: "text-sm font-medium", children: "Accent" }),
85
+ /* @__PURE__ */ e(s, { variant: "outline", className: "text-xs", children: h?.label || "DEFAULT_ACCENT" })
86
+ ] }),
87
+ /* @__PURE__ */ a("div", { className: "flex justify-between items-center p-3 bg-gray-200 dark:bg-gray-800 rounded-lg", children: [
88
+ /* @__PURE__ */ e("span", { className: "text-sm font-medium", children: "Direction" }),
89
+ /* @__PURE__ */ e(s, { variant: "outline", className: "text-xs", children: p || "LTR" })
90
+ ] })
91
+ ] }),
92
+ /* @__PURE__ */ a("div", { className: "flex gap-2 w-full mt-4", children: [
93
+ /* @__PURE__ */ a(
94
+ c,
95
+ {
96
+ size: "small",
97
+ onClick: () => u(l === "dark" ? "light" : "dark"),
98
+ className: "flex-1",
99
+ children: [
100
+ "Toggle ",
101
+ l === "dark" ? "Light" : "Dark"
102
+ ]
103
+ }
104
+ ),
105
+ /* @__PURE__ */ a(
106
+ c,
107
+ {
108
+ size: "small",
109
+ variant: "ghost",
110
+ onClick: () => N(!d),
111
+ className: "flex-1",
112
+ children: [
113
+ d ? "Close" : "Open",
114
+ " Settings"
115
+ ]
116
+ }
117
+ )
118
+ ] })
119
+ ] })
120
+ ] })
121
+ ] })
122
+ ] }) }) });
123
+ };
124
+ export {
125
+ A as default
126
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./index-BoEJRnmP.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const s=a=>{if(typeof window>"u")return"";const r=document.documentElement;return getComputedStyle(r).getPropertyValue(a).trim()||""},n=()=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(t.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"Shadows"}),e.jsx(t.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"Shadow tokens from Tucu UI Design System for depth and elevation"})]}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Shadow Tokens",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full space-y-8 p-4 sm:p-6",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[{name:"Main",varName:"--shadow-main",description:"Primary shadow for cards and elevated elements"},{name:"Light",varName:"--shadow-light",description:"Subtle shadow for minimal elevation"},{name:"Large",varName:"--shadow-large",description:"Prominent shadow for modals and overlays"},{name:"Card",varName:"--shadow-card",description:"Standard shadow for card components"},{name:"Transaction",varName:"--shadow-transaction",description:"Shadow for transaction lists and tables"},{name:"Expand",varName:"--shadow-expand",description:"Strong shadow for expanded elements"},{name:"Button",varName:"--shadow-button",description:"Shadow for button components"},{name:"Drop Shadow Main",varName:"--drop-shadow-main",description:"Drop shadow for images and graphics"}].map(a=>{const r=s(a.varName);return e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx(t.Typography,{tag:"h3",className:"font-semibold",children:a.name}),e.jsx(t.Typography,{tag:"p",className:"text-sm text-muted",children:a.description})]}),e.jsx("div",{className:"h-32 bg-white dark:bg-gray-800 rounded-lg p-4 flex items-center justify-center",style:{boxShadow:r||`var(${a.varName})`},children:e.jsx(t.Typography,{tag:"h4",className:"text-center",children:a.name})}),e.jsxs("div",{className:"space-y-1",children:[e.jsx(t.Typography,{tag:"h4",className:"text-muted text-xs break-all font-mono",children:a.varName}),r&&e.jsx(t.Typography,{tag:"h4",className:"text-muted text-[10px] break-all",children:r})]})]},a.name)})})})})})]});exports.default=n;
@@ -0,0 +1,90 @@
1
+ import { jsxs as n, Fragment as o, jsx as e } from "react/jsx-runtime";
2
+ import { T as t, C as s, a as d } from "./index-DCf83AyI.mjs";
3
+ import "lucide-react";
4
+ import "react-router-dom";
5
+ import "react";
6
+ import "react-dom";
7
+ const i = (a) => {
8
+ if (typeof window > "u") return "";
9
+ const r = document.documentElement;
10
+ return getComputedStyle(r).getPropertyValue(a).trim() || "";
11
+ }, N = () => /* @__PURE__ */ n(o, { children: [
12
+ /* @__PURE__ */ n("div", { className: "text-center space-y-4", children: [
13
+ /* @__PURE__ */ e(t, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "Shadows" }),
14
+ /* @__PURE__ */ e(
15
+ t,
16
+ {
17
+ tag: "p",
18
+ className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
19
+ children: "Shadow tokens from Tucu UI Design System for depth and elevation"
20
+ }
21
+ )
22
+ ] }),
23
+ /* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(d, { title: "Shadow Tokens", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full space-y-8 p-4 sm:p-6", children: /* @__PURE__ */ e("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [
24
+ {
25
+ name: "Main",
26
+ varName: "--shadow-main",
27
+ description: "Primary shadow for cards and elevated elements"
28
+ },
29
+ {
30
+ name: "Light",
31
+ varName: "--shadow-light",
32
+ description: "Subtle shadow for minimal elevation"
33
+ },
34
+ {
35
+ name: "Large",
36
+ varName: "--shadow-large",
37
+ description: "Prominent shadow for modals and overlays"
38
+ },
39
+ {
40
+ name: "Card",
41
+ varName: "--shadow-card",
42
+ description: "Standard shadow for card components"
43
+ },
44
+ {
45
+ name: "Transaction",
46
+ varName: "--shadow-transaction",
47
+ description: "Shadow for transaction lists and tables"
48
+ },
49
+ {
50
+ name: "Expand",
51
+ varName: "--shadow-expand",
52
+ description: "Strong shadow for expanded elements"
53
+ },
54
+ {
55
+ name: "Button",
56
+ varName: "--shadow-button",
57
+ description: "Shadow for button components"
58
+ },
59
+ {
60
+ name: "Drop Shadow Main",
61
+ varName: "--drop-shadow-main",
62
+ description: "Drop shadow for images and graphics"
63
+ }
64
+ ].map((a) => {
65
+ const r = i(a.varName);
66
+ return /* @__PURE__ */ n("div", { className: "space-y-3", children: [
67
+ /* @__PURE__ */ n("div", { className: "space-y-1", children: [
68
+ /* @__PURE__ */ e(t, { tag: "h3", className: "font-semibold", children: a.name }),
69
+ /* @__PURE__ */ e(t, { tag: "p", className: "text-sm text-muted", children: a.description })
70
+ ] }),
71
+ /* @__PURE__ */ e(
72
+ "div",
73
+ {
74
+ className: "h-32 bg-white dark:bg-gray-800 rounded-lg p-4 flex items-center justify-center",
75
+ style: {
76
+ boxShadow: r || `var(${a.varName})`
77
+ },
78
+ children: /* @__PURE__ */ e(t, { tag: "h4", className: "text-center", children: a.name })
79
+ }
80
+ ),
81
+ /* @__PURE__ */ n("div", { className: "space-y-1", children: [
82
+ /* @__PURE__ */ e(t, { tag: "h4", className: "text-muted text-xs break-all font-mono", children: a.varName }),
83
+ r && /* @__PURE__ */ e(t, { tag: "h4", className: "text-muted text-[10px] break-all", children: r })
84
+ ] })
85
+ ] }, a.name);
86
+ }) }) }) }) })
87
+ ] });
88
+ export {
89
+ N as default
90
+ };
@@ -0,0 +1,46 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./index-BoEJRnmP.js");require("lucide-react");require("react-router-dom");require("react");require("react-dom");const i=()=>{const n=[{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 a=String(s);return a==="required"?e.jsx("span",{className:"text-xs text-red-500",children:"required"}):e.jsx("code",{className:"text-xs",children:a})}},{key:"description",label:"Description"}],r=[{prop:"menuItems",type:"IMenuItem[]",default:"required",description:"Array of menu items to display"},{prop:"children",type:"React.ReactNode",default:"-",description:"Additional content to display"},{prop:"title",type:"string",default:"-",description:"Title for the sidebar menu"},{prop:"logo",type:"LogoPropTypes",default:"-",description:"Logo configuration"},{prop:"actionContent",type:"React.ReactNode",default:"-",description:"Action buttons at the bottom"},{prop:"onClose",type:"() => void",default:"required",description:"Callback when sidebar closes"}];return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx(t.Typography,{tag:"h2",className:"text-3xl md:text-4xl font-bold",children:"SidebarMenu"}),e.jsx(t.Typography,{tag:"p",className:"text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",children:"A sidebar component with built-in menu navigation, supporting icons, paths, and dropdown items."})]}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx("div",{className:"space-y-4",children:e.jsxs(t.CardContainer,{className:"p-4",children:[e.jsx(t.Typography,{tag:"h5",className:"mb-3",children:"Basic Sidebar Menu"}),e.jsx(t.Typography,{tag:"p",className:"mb-4 text-sm text-gray-600",children:"Note: SidebarMenu is typically used within a Drawer component. This example shows the structure."}),e.jsx(t.Typography,{tag:"p",className:"text-sm",children:"The SidebarMenu component provides a navigation menu with icons and links, perfect for mobile navigation drawers."})]})})})})}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Props",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(t.BasicTable,{columns:n,data:r})})})}),e.jsx(t.CardContainer,{className:"overflow-hidden",children:e.jsx(t.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(t.CodeBlock,{language:"tsx",code:`import { SidebarMenu, LucideIcons } from '@e-burgos/tucu-ui';
2
+
3
+ const menuItems = [
4
+ {
5
+ name: 'Home',
6
+ icon: <LucideIcons.Home className="w-5 h-5" />,
7
+ path: '/home',
8
+ },
9
+ {
10
+ name: 'Settings',
11
+ icon: <LucideIcons.Settings className="w-5 h-5" />,
12
+ path: '/settings',
13
+ },
14
+ ];
15
+
16
+ // Basic usage (typically within Drawer)
17
+ <SidebarMenu
18
+ menuItems={menuItems}
19
+ onClose={() => setIsOpen(false)}
20
+ />
21
+
22
+ // With title
23
+ <SidebarMenu
24
+ menuItems={menuItems}
25
+ title="Navigation"
26
+ onClose={() => setIsOpen(false)}
27
+ />
28
+
29
+ // With logo
30
+ <SidebarMenu
31
+ menuItems={menuItems}
32
+ logo={{ name: 'MyApp' }}
33
+ onClose={() => setIsOpen(false)}
34
+ />
35
+
36
+ // With dropdown items
37
+ const menuItemsWithDropdown = [
38
+ {
39
+ name: 'Products',
40
+ path: '/products',
41
+ dropdownItems: [
42
+ { name: 'All Products', path: '/products/all' },
43
+ { name: 'Featured', path: '/products/featured' },
44
+ ],
45
+ },
46
+ ];`})})})})]})};exports.default=i;