@e-burgos/tucu-ui 2.0.8 → 2.0.10

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 (725) hide show
  1. package/CHANGELOG.md +166 -0
  2. package/README.md +27 -4
  3. package/components/cards/card-container.d.ts +1 -1
  4. package/components/cards/color-card.d.ts +20 -0
  5. package/components/cards/feature-card.d.ts +23 -0
  6. package/components/cards/index.d.ts +2 -0
  7. package/components/dialog/drawer-container.d.ts +2 -1
  8. package/components/dialog/modal.d.ts +1 -0
  9. package/components/dialog/sidebar-menu.d.ts +2 -1
  10. package/components/dialog/sidebar.d.ts +2 -1
  11. package/components/index.d.ts +1 -0
  12. package/components/inputs/file-input.d.ts +3 -0
  13. package/components/inputs/helpers/control-colors.d.ts +13 -0
  14. package/components/inputs/helpers/control-sizes.d.ts +2 -0
  15. package/components/inputs/input-searcher.d.ts +6 -2
  16. package/components/inputs/input.d.ts +6 -1
  17. package/components/inputs/pin-code.d.ts +2 -25
  18. package/components/inputs/radio-group.d.ts +1 -1
  19. package/components/inputs/radio.d.ts +3 -0
  20. package/components/inputs/select.d.ts +5 -1
  21. package/components/inputs/switch.d.ts +2 -0
  22. package/components/inputs/textarea.d.ts +4 -0
  23. package/components/inputs/toggle-bar.d.ts +3 -1
  24. package/components/layouts/index.d.ts +1 -0
  25. package/components/layouts/macos-layout/index.d.ts +21 -0
  26. package/components/layouts/macos-layout/macos-sonoma-clean-layout.d.ts +7 -0
  27. package/components/layouts/macos-layout/macos-sonoma-layout.d.ts +14 -0
  28. package/components/layouts/macos-layout/macos-tahoe-clean-layout.d.ts +7 -0
  29. package/components/layouts/macos-layout/macos-tahoe-dock-layout.d.ts +14 -0
  30. package/components/layouts/macos-layout/macos-tahoe-layout.d.ts +14 -0
  31. package/components/layouts/macos-layout/utils.d.ts +3 -0
  32. package/components/macos/index.d.ts +2 -0
  33. package/components/macos/sonoma/containers/sidebar.d.ts +22 -0
  34. package/components/macos/sonoma/containers/widget.d.ts +17 -0
  35. package/components/macos/sonoma/containers/window.d.ts +26 -0
  36. package/components/macos/sonoma/controls/search-bar.d.ts +12 -0
  37. package/components/macos/sonoma/controls/segmented-control.d.ts +16 -0
  38. package/components/macos/sonoma/controls/types.d.ts +10 -0
  39. package/components/macos/sonoma/feedback/command-palette.d.ts +20 -0
  40. package/components/macos/sonoma/feedback/macos-sonoma-toast.d.ts +2 -0
  41. package/components/macos/sonoma/feedback/notification-banner.d.ts +17 -0
  42. package/components/macos/sonoma/feedback/popover.d.ts +22 -0
  43. package/components/macos/sonoma/index.d.ts +13 -0
  44. package/components/macos/sonoma/layout/layout-content-sonoma.d.ts +15 -0
  45. package/components/macos/sonoma/layout/layout-sidebar-sonoma.d.ts +10 -0
  46. package/components/macos/sonoma/layout/toolbar-sonoma.d.ts +6 -0
  47. package/components/macos/tahoe/containers/dialog-tahoe.d.ts +21 -0
  48. package/components/macos/tahoe/containers/widget-tahoe.d.ts +15 -0
  49. package/components/macos/tahoe/containers/window-tahoe.d.ts +36 -0
  50. package/components/macos/tahoe/controls/macos-tahoe-toast.d.ts +2 -0
  51. package/components/macos/tahoe/controls/notification-banner-tahoe.d.ts +17 -0
  52. package/components/macos/tahoe/controls/progress-bar-tahoe.d.ts +10 -0
  53. package/components/macos/tahoe/controls/search-bar-tahoe.d.ts +12 -0
  54. package/components/macos/tahoe/controls/segmented-control-tahoe.d.ts +16 -0
  55. package/components/macos/tahoe/controls/types.d.ts +10 -0
  56. package/components/macos/tahoe/feedback/command-palette-tahoe.d.ts +18 -0
  57. package/components/macos/tahoe/feedback/popover-tahoe.d.ts +22 -0
  58. package/components/macos/tahoe/foundations/background.d.ts +7 -0
  59. package/components/macos/tahoe/index.d.ts +15 -0
  60. package/components/macos/tahoe/layout/dock-tahoe.d.ts +27 -0
  61. package/components/macos/tahoe/layout/layout-content-tahoe.d.ts +17 -0
  62. package/components/macos/tahoe/layout/layout-sidebar-tahoe.d.ts +13 -0
  63. package/components/macos/tahoe/layout/toolbar-tahoe.d.ts +5 -0
  64. package/components/table/basic-table.d.ts +4 -1
  65. package/demo/components/dynamic-sections-page.d.ts +2 -0
  66. package/demo/components/prop-playground.d.ts +13 -0
  67. package/demo/components/table-of-contents/index.d.ts +5 -0
  68. package/demo/components/table-of-contents/toc-default.d.ts +3 -0
  69. package/demo/components/table-of-contents/toc-sonoma.d.ts +3 -0
  70. package/demo/components/table-of-contents/toc-tahoe.d.ts +3 -0
  71. package/demo/components/{table-of-contents.d.ts → table-of-contents/types.d.ts} +1 -4
  72. package/demo/components/table-of-contents/use-toc.d.ts +26 -0
  73. package/demo/generated/props-metadata.d.ts +2 -2
  74. package/demo/pages/design-system/design-system-sections/BackgroundsSection.d.ts +3 -0
  75. package/demo/pages/index.d.ts +3 -0
  76. package/demo/pages/macos/MacOSShowcase.d.ts +2 -0
  77. package/demo/pages/macos/MacOSSonomaShowcase.d.ts +2 -0
  78. package/demo/pages/macos/MacOSTahoeShowcase.d.ts +2 -0
  79. package/demo/pages/macos/macos-sections/sonoma/MacOSCommandPaletteSection.d.ts +3 -0
  80. package/demo/pages/macos/macos-sections/sonoma/MacOSNotificationBannerSection.d.ts +3 -0
  81. package/demo/pages/macos/macos-sections/sonoma/MacOSPopoverSection.d.ts +3 -0
  82. package/demo/pages/macos/macos-sections/sonoma/MacOSSearchBarSection.d.ts +3 -0
  83. package/demo/pages/macos/macos-sections/sonoma/MacOSSegmentedControlSection.d.ts +3 -0
  84. package/demo/pages/macos/macos-sections/sonoma/MacOSSidebarSection.d.ts +3 -0
  85. package/demo/pages/macos/macos-sections/sonoma/MacOSToolbarSection.d.ts +3 -0
  86. package/demo/pages/macos/macos-sections/sonoma/MacOSWidgetSection.d.ts +3 -0
  87. package/demo/pages/macos/macos-sections/sonoma/MacOSWindowSection.d.ts +3 -0
  88. package/demo/pages/macos/macos-sections/sonoma/SonomaColorsSection.d.ts +3 -0
  89. package/demo/pages/macos/macos-sections/sonoma/SonomaLayoutContentSection.d.ts +3 -0
  90. package/demo/pages/macos/macos-sections/sonoma/SonomaLayoutSidebarSection.d.ts +3 -0
  91. package/demo/pages/macos/macos-sections/sonoma/SonomaMaterialsSection.d.ts +3 -0
  92. package/demo/pages/macos/macos-sections/sonoma/SonomaShapesSection.d.ts +3 -0
  93. package/demo/pages/macos/macos-sections/sonoma/SonomaTypographySection.d.ts +3 -0
  94. package/demo/pages/macos/macos-sections/tahoe/MacOSBackgroundsSection.d.ts +3 -0
  95. package/demo/pages/macos/macos-sections/tahoe/MacOSColorsSection.d.ts +3 -0
  96. package/demo/pages/macos/macos-sections/tahoe/MacOSMaterialsSection.d.ts +3 -0
  97. package/demo/pages/macos/macos-sections/tahoe/MacOSTahoeSection.d.ts +2 -0
  98. package/demo/pages/macos/macos-sections/tahoe/MacOSTextStylesSection.d.ts +3 -0
  99. package/demo/pages/macos/macos-sections/tahoe/TahoeCommandPaletteSection.d.ts +2 -0
  100. package/demo/pages/macos/macos-sections/tahoe/TahoeDialogSection.d.ts +3 -0
  101. package/demo/pages/macos/macos-sections/tahoe/TahoeDockSection.d.ts +3 -0
  102. package/demo/pages/macos/macos-sections/tahoe/TahoeLayoutContentSection.d.ts +3 -0
  103. package/demo/pages/macos/macos-sections/tahoe/TahoeLayoutSidebarSection.d.ts +3 -0
  104. package/demo/pages/macos/macos-sections/tahoe/TahoeNotificationBannerSection.d.ts +3 -0
  105. package/demo/pages/macos/macos-sections/tahoe/TahoePopoverSection.d.ts +3 -0
  106. package/demo/pages/macos/macos-sections/tahoe/TahoeProgressBarSection.d.ts +3 -0
  107. package/demo/pages/macos/macos-sections/tahoe/TahoeSearchBarSection.d.ts +3 -0
  108. package/demo/pages/macos/macos-sections/tahoe/TahoeSegmentedControlSection.d.ts +3 -0
  109. package/demo/pages/macos/macos-sections/tahoe/TahoeToolbarSection.d.ts +3 -0
  110. package/demo/pages/macos/macos-sections/tahoe/TahoeWidgetSection.d.ts +3 -0
  111. package/demo/pages/macos/macos-sections/tahoe/TahoeWindowSection.d.ts +3 -0
  112. package/documentation/APIReferenceSection-CD5kel2M.js +1 -0
  113. package/documentation/APIReferenceSection-DNiwamR3.js +213 -0
  114. package/documentation/ActiveLinkSection-CLeqqRJA.js +23 -0
  115. package/documentation/{ActiveLinkSection-DQHXQYml.js → ActiveLinkSection-nW2qUEkC.js} +26 -28
  116. package/documentation/AdvancedColorSystemSection-CcXCp_R4.js +181 -0
  117. package/documentation/AdvancedColorSystemSection-ClZP9L76.js +17 -0
  118. package/documentation/AdvancedFeaturesSection-DTklgMJa.js +1 -0
  119. package/documentation/AdvancedFeaturesSection-DZsIzQM1.js +70 -0
  120. package/documentation/AdvancedFeaturesSection-DeodzomR.js +32 -0
  121. package/documentation/AdvancedFeaturesSection-dp4NWt73.js +117 -0
  122. package/documentation/AlertSection-C8JxRieS.js +96 -0
  123. package/documentation/AlertSection-CqhX5i16.js +26 -0
  124. package/documentation/AnchorLinkSection-Cnh7qsTW.js +20 -0
  125. package/documentation/AnchorLinkSection-DMdLIqCp.js +65 -0
  126. package/documentation/ArchitecturalPatternsComparisonSection-Bgp9PUt7.js +34 -0
  127. package/documentation/ArchitecturalPatternsComparisonSection-vYbHlGY-.js +182 -0
  128. package/documentation/ArchitectureOverviewSection-Cw1LKmfg.js +1 -0
  129. package/documentation/ArchitectureOverviewSection-D_RmIFCA.js +210 -0
  130. package/documentation/AreaChartSection-CPJSq736.js +22 -0
  131. package/documentation/{AreaChartSection-Dbr8pnJS.js → AreaChartSection-SQjiTBmB.js} +5 -5
  132. package/documentation/AuthorCardSection-DPF5SE5r.js +18 -0
  133. package/documentation/AuthorCardSection-kk79QuNK.js +79 -0
  134. package/documentation/AvatarSection-BnRHw27e.js +19 -0
  135. package/documentation/AvatarSection-CLq51gbg.js +89 -0
  136. package/documentation/BackgroundsSection-3X9Iw31T.js +367 -0
  137. package/documentation/BackgroundsSection-Ibr9oqUO.js +6 -0
  138. package/documentation/{BadgeSection-yihyh7oT.js → BadgeSection-C9_vLylm.js} +29 -31
  139. package/documentation/BadgeSection-Dy1g7XfP.js +49 -0
  140. package/documentation/BarChartSection-BTBiEaRw.js +23 -0
  141. package/documentation/{BarChartSection-vXs_Yolq.js → BarChartSection-Do0Yq1CS.js} +13 -13
  142. package/documentation/BasicTableSection-C5yPODL4.js +36 -0
  143. package/documentation/BasicTableSection-Lylimu25.js +133 -0
  144. package/documentation/BasicUsageSection-B_tT0vDW.js +133 -0
  145. package/documentation/BasicUsageSection-wciC808E.js +45 -0
  146. package/documentation/BestPracticesSection-B9oMqKhX.js +153 -0
  147. package/documentation/BestPracticesSection-BFNYdJVh.js +1 -0
  148. package/documentation/{BestPracticesSection-D_p0GeS5.js → BestPracticesSection-BIbDXxnD.js} +18 -10
  149. package/documentation/BestPracticesSection-BYBZdfg8.js +1 -0
  150. package/documentation/BestPracticesSection-BihjJ2QU.js +1 -0
  151. package/documentation/BestPracticesSection-BrTenNsc.js +151 -0
  152. package/documentation/BestPracticesSection-Bsi45c48.js +34 -0
  153. package/documentation/BestPracticesSection-BwTc9PvE.js +1 -0
  154. package/documentation/BestPracticesSection-CdqrTgh6.js +1 -0
  155. package/documentation/BestPracticesSection-D3PLwaiL.js +61 -0
  156. package/documentation/BestPracticesSection-D9x1gLFW.js +1 -0
  157. package/documentation/BestPracticesSection-DXd2F40Q.js +151 -0
  158. package/documentation/BestPracticesSection-V_icrn3I.js +137 -0
  159. package/documentation/BestPracticesSection-WJyPTPT5.js +79 -0
  160. package/documentation/BorderRadiusSection-DnrQs0UO.js +58 -0
  161. package/documentation/BorderRadiusSection-DtqKxbF6.js +1 -0
  162. package/documentation/{ButtonDripSection-BtsL1Kt8.js → ButtonDripSection-C5biHmZq.js} +29 -32
  163. package/documentation/ButtonDripSection-DEZ07Ezd.js +21 -0
  164. package/documentation/ButtonLoaderSection-BVgZFpeK.js +153 -0
  165. package/documentation/ButtonLoaderSection-CGJBeqr-.js +31 -0
  166. package/documentation/CardContainerSection-Cs2cKwb4.js +61 -0
  167. package/documentation/CardContainerSection-yjkb4krj.js +22 -0
  168. package/documentation/{CardSection-ckUG_wKv.js → CardSection-CWikpGMD.js} +45 -34
  169. package/documentation/CardSection-FjHnUXDc.js +26 -0
  170. package/documentation/CardTitleSection-B4OARul9.js +72 -0
  171. package/documentation/CardTitleSection-BwmJtkj8.js +20 -0
  172. package/documentation/CarouselCardsSection-DETthGNT.js +38 -0
  173. package/documentation/CarouselCardsSection-DV9s2xIN.js +174 -0
  174. package/documentation/CarouselImageSection-B2VbVdOf.js +39 -0
  175. package/documentation/CarouselImageSection-BsgN88AS.js +179 -0
  176. package/documentation/CarouselSection-BuAhrfl8.js +123 -0
  177. package/documentation/CarouselSection-CBlMfgGw.js +25 -0
  178. package/documentation/CheckboxSection-D5f8a17w.js +175 -0
  179. package/documentation/CheckboxSection-DpC1rIxz.js +29 -0
  180. package/documentation/CodeExamplesSection-CzT6xoBd.js +68 -0
  181. package/documentation/CodeExamplesSection-DmnhyUyh.js +134 -0
  182. package/documentation/{CoinCardSection-_nBvI_X8.js → CoinCardSection-B6mFIGWY.js} +69 -33
  183. package/documentation/CoinCardSection-B8xYe_14.js +13 -0
  184. package/documentation/{CoinInfoCardSection-AEcJ5uK3.js → CoinInfoCardSection-B6WuOwgK.js} +62 -34
  185. package/documentation/CoinInfoCardSection-DrlLjeme.js +12 -0
  186. package/documentation/CoinListBoxSection-DkQKAYd4.js +24 -0
  187. package/documentation/CoinListBoxSection-h2EIhbc6.js +129 -0
  188. package/documentation/{CollapseSection-BgyMQlIv.js → CollapseSection-BgUzBjdQ.js} +30 -32
  189. package/documentation/CollapseSection-DjToAVsV.js +28 -0
  190. package/documentation/{CollectionCardSection-COmO7Vc5.js → CollectionCardSection-Bso5dTm0.js} +47 -29
  191. package/documentation/CollectionCardSection-CLYRjHZ3.js +17 -0
  192. package/documentation/CollectionSelectListSection-U1691doa.js +149 -0
  193. package/documentation/CollectionSelectListSection-yeCip8aj.js +15 -0
  194. package/documentation/ColorCustomizationSection-DAyuywgq.js +141 -0
  195. package/documentation/ColorCustomizationSection-Dq8eABfF.js +1 -0
  196. package/documentation/ColorSystemSection-B3tm49L7.js +1 -0
  197. package/documentation/ColorSystemSection-yh45iiHj.js +339 -0
  198. package/documentation/CommonErrorsSection-DQrjcfPF.js +77 -0
  199. package/documentation/CommonErrorsSection-Dy04oSz_.js +1 -0
  200. package/documentation/ComponentAnatomySection-CqMqeGRG.js +78 -0
  201. package/documentation/ComponentAnatomySection-J7_m5JbP.js +1 -0
  202. package/documentation/ComponentStatusSection-FFk0aqBc.js +1 -0
  203. package/documentation/ComponentStatusSection-Yo0G0loR.js +148 -0
  204. package/documentation/{ComposedChartSection-M70OxN8v.js → ComposedChartSection-hW66uHot.js} +10 -10
  205. package/documentation/ComposedChartSection-tNIAiTDy.js +21 -0
  206. package/documentation/CurrencySwapIconsSection-BBnjn3uo.js +73 -0
  207. package/documentation/CurrencySwapIconsSection-B_bHfyHa.js +7 -0
  208. package/documentation/CustomColorPaletteSection-C0QH-Gjh.js +74 -0
  209. package/documentation/CustomColorPaletteSection-DO8oEjzW.js +19 -0
  210. package/documentation/CustomIconsSection-BASoblRw.js +3 -0
  211. package/documentation/CustomIconsSection-BNBsaI1Y.js +172 -0
  212. package/documentation/DefiAppLogoSection-CJ_WaEEM.js +38 -0
  213. package/documentation/DefiAppLogoSection-bB5g79Z4.js +132 -0
  214. package/documentation/DesignPrinciplesSection-DeSp3YGO.js +68 -0
  215. package/documentation/DesignPrinciplesSection-Zl0xFCt6.js +1 -0
  216. package/documentation/{DrawerSection-D5pDeoKz.js → DrawerSection-CrMh4USZ.js} +44 -47
  217. package/documentation/DrawerSection-DsqcxtDs.js +42 -0
  218. package/documentation/DynamicRoutesSection-C9QESfkX.js +47 -0
  219. package/documentation/DynamicRoutesSection-mzGjrsjc.js +112 -0
  220. package/documentation/FileInputSection-5T-xJxsP.js +73 -0
  221. package/documentation/FileInputSection-Ct4GqFfT.js +237 -0
  222. package/documentation/{FileStructureSection-DrQtyycO.js → FileStructureSection-14xCYpSc.js} +44 -30
  223. package/documentation/FileStructureSection-9lInEOF5.js +26 -0
  224. package/documentation/FormComponentsSection-BjJY47h7.js +148 -0
  225. package/documentation/FormComponentsSection-CVdYFyUi.js +1 -0
  226. package/documentation/FormMethodsSection-DlBnV-Aj.js +194 -0
  227. package/documentation/FormMethodsSection-R2SW4g00.js +53 -0
  228. package/documentation/{HamburgerSection-Dnh6Wf78.js → HamburgerSection-BpoVoDOi.js} +27 -29
  229. package/documentation/HamburgerSection-VxfOCf7c.js +19 -0
  230. package/documentation/HookCategoriesSection-B_TOE9Dl.js +119 -0
  231. package/documentation/HookCategoriesSection-GgKNpxrq.js +1 -0
  232. package/documentation/HookDocumentationSection-CBtlj0Xo.js +467 -0
  233. package/documentation/HookDocumentationSection-DC-uDZ1A.js +100 -0
  234. package/documentation/HookFeaturesSection-C46s1I46.js +1 -0
  235. package/documentation/HookFeaturesSection-CYQq8uiT.js +70 -0
  236. package/documentation/IconArchitectureSection-DVwo8J6J.js +11 -0
  237. package/documentation/IconArchitectureSection-Dg0P4xJM.js +145 -0
  238. package/documentation/IconSizingGuideSection-4CGLUtLH.js +118 -0
  239. package/documentation/IconSizingGuideSection-DV6KbqA2.js +1 -0
  240. package/documentation/IconSystemAPISection-B4lcpmhY.js +1 -0
  241. package/documentation/IconSystemAPISection-feuWPuII.js +138 -0
  242. package/documentation/IconSystemBenefitsSection-BlEPp4PZ.js +120 -0
  243. package/documentation/IconSystemBenefitsSection-isJXtAnP.js +1 -0
  244. package/documentation/{ImageSection-D2nnAJjT.js → ImageSection-90o9mI_A.js} +19 -20
  245. package/documentation/ImageSection-lfQJq_9S.js +82 -0
  246. package/documentation/ImplementationExamplesSection-DJxSTPAz.js +761 -0
  247. package/documentation/ImplementationExamplesSection-Ds4REGcS.js +429 -0
  248. package/documentation/ImplementationGuidelinesSection-DyggNHxr.js +1 -0
  249. package/documentation/ImplementationGuidelinesSection-z14_D9y4.js +144 -0
  250. package/documentation/ImplementationStatusSection-CCTRI00N.js +1 -0
  251. package/documentation/ImplementationStatusSection-D3FnRWV-.js +62 -0
  252. package/documentation/ImplementedFeaturesSection-C-hPiVlX.js +70 -0
  253. package/documentation/ImplementedFeaturesSection-KvlP_7ja.js +1 -0
  254. package/documentation/InfoCardSection-BBd3_OzF.js +38 -0
  255. package/documentation/{InfoCardSection-BhJTN7zz.js → InfoCardSection-DHQuZzE7.js} +64 -39
  256. package/documentation/InputSearcherSection-BQ4cUC16.js +267 -0
  257. package/documentation/InputSearcherSection-DFk3eBSo.js +45 -0
  258. package/documentation/InputSection-B5ty4Onb.js +280 -0
  259. package/documentation/InputSection-DLQ6hyWl.js +50 -0
  260. package/documentation/KeyValueRowSection-BgKXD67j.js +17 -0
  261. package/documentation/KeyValueRowSection-CJWvh1z_.js +117 -0
  262. package/documentation/KeyboardNavigationSection-B38QXuO1.js +27 -0
  263. package/documentation/KeyboardNavigationSection-B8IX8HhB.js +130 -0
  264. package/documentation/LayoutPrinciplesSection-Dtv-aHj6.js +148 -0
  265. package/documentation/LayoutPrinciplesSection-TN7sNEHN.js +1 -0
  266. package/documentation/LayoutTypesSection-DtAUqzLt.js +390 -0
  267. package/documentation/LayoutTypesSection-prvabVsZ.js +1 -0
  268. package/documentation/{LineChartSection-BsupR4NA.js → LineChartSection-CzARfWf9.js} +7 -7
  269. package/documentation/LineChartSection-HJuiXWwE.js +21 -0
  270. package/documentation/ListContainerSection-Ca8Y_cJJ.js +153 -0
  271. package/documentation/ListContainerSection-CkEy8kTD.js +39 -0
  272. package/documentation/ListItemSection-C57wh8xh.js +37 -0
  273. package/documentation/{ListItemSection-Ba24GQNN.js → ListItemSection-CrUwVDa7.js} +29 -31
  274. package/documentation/LiveDemoSection-C6YvjWGX.js +1 -0
  275. package/documentation/LiveDemoSection-Di6_Ljzt.js +56 -0
  276. package/documentation/LiveDemonstrationsSection-D7NGWZ3I.js +539 -0
  277. package/documentation/LiveDemonstrationsSection-Dby6VHKw.js +28 -0
  278. package/documentation/LivePriceFeedSection-BGUKPNUb.js +20 -0
  279. package/documentation/LivePriceFeedSection-B_GgiNK8.js +143 -0
  280. package/documentation/LoaderSection-Chy1mcXx.js +96 -0
  281. package/documentation/LoaderSection-yuB9Toxf.js +23 -0
  282. package/documentation/LogoSection-BVWSaZET.js +101 -0
  283. package/documentation/{LogoSection-CfykWQ4k.js → LogoSection-iUxlu-_p.js} +17 -19
  284. package/documentation/LucideIconsSection-CX6vVBZA.js +169 -0
  285. package/documentation/LucideIconsSection-CXfT5lQb.js +1 -0
  286. package/documentation/MFESupportSection-B6RwP4pS.js +97 -0
  287. package/documentation/MFESupportSection-DamrDMWD.js +222 -0
  288. package/documentation/MacOSBackgroundsSection-Cx_1ZLMj.js +293 -0
  289. package/documentation/MacOSBackgroundsSection-ZPqiqQex.js +1 -0
  290. package/documentation/MacOSColorsSection-C3PgogP4.js +1 -0
  291. package/documentation/MacOSColorsSection-DFSpSHs_.js +305 -0
  292. package/documentation/MacOSCommandPaletteSection-BuwzwV8l.js +33 -0
  293. package/documentation/MacOSCommandPaletteSection-CNIbgVQz.js +143 -0
  294. package/documentation/MacOSMaterialsSection-B0bCcOWV.js +280 -0
  295. package/documentation/MacOSMaterialsSection-CgulMHAk.js +1 -0
  296. package/documentation/MacOSNotificationBannerSection-C9SIbT7b.js +25 -0
  297. package/documentation/MacOSNotificationBannerSection-DL_wVvSM.js +169 -0
  298. package/documentation/MacOSPopoverSection-DQkkxFZi.js +266 -0
  299. package/documentation/MacOSPopoverSection-whmFuYxn.js +33 -0
  300. package/documentation/MacOSSearchBarSection-D7I0Bvgv.js +108 -0
  301. package/documentation/MacOSSearchBarSection-NVzpmwpm.js +17 -0
  302. package/documentation/MacOSSegmentedControlSection-BZVQzIRB.js +138 -0
  303. package/documentation/MacOSSegmentedControlSection-DbdRCqFk.js +19 -0
  304. package/documentation/MacOSSidebarSection-C_9PEk_f.js +35 -0
  305. package/documentation/MacOSSidebarSection-DYZ6onyY.js +251 -0
  306. package/documentation/MacOSTahoeSection-DCwsZnWz.js +98 -0
  307. package/documentation/MacOSTahoeSection-dZq5MXs6.js +1 -0
  308. package/documentation/MacOSTextStylesSection-DGktqEPk.js +1 -0
  309. package/documentation/MacOSTextStylesSection-DZmQayrr.js +366 -0
  310. package/documentation/MacOSToolbarSection-B_bHKn8G.js +23 -0
  311. package/documentation/MacOSToolbarSection-Ci3H22eP.js +100 -0
  312. package/documentation/MacOSWidgetSection-CEJiUAXx.js +107 -0
  313. package/documentation/MacOSWidgetSection-CS6SNE1x.js +19 -0
  314. package/documentation/MacOSWindowSection-Cj5W9tOb.js +22 -0
  315. package/documentation/MacOSWindowSection-DqJp_sYV.js +237 -0
  316. package/documentation/{MenuItemsGuideSection-D8eRUuUw.js → MenuItemsGuideSection-B7BCFEzC.js} +2 -2
  317. package/documentation/{MenuItemsGuideSection-ChPa1HVx.js → MenuItemsGuideSection-DGwGu1eO.js} +54 -28
  318. package/documentation/ModalSection-BAl0KIk0.js +30 -0
  319. package/documentation/{ModalSection-Df8_-5Mu.js → ModalSection-BVVp2SX8.js} +40 -42
  320. package/documentation/NFTGridSection-BNFbcFZG.js +160 -0
  321. package/documentation/NFTGridSection-Wl711fIz.js +19 -0
  322. package/documentation/NestedRoutesSection-D8PkxU8h.js +120 -0
  323. package/documentation/NestedRoutesSection-wmlrMDJq.js +39 -0
  324. package/documentation/NotificationCardSection-CbQt_XUN.js +29 -0
  325. package/documentation/{NotificationCardSection-B5CPgG4B.js → NotificationCardSection-Dd1DGkKw.js} +25 -27
  326. package/documentation/PaginationSection-BUPepKIu.js +19 -0
  327. package/documentation/{PaginationSection-30WC5ZN7.js → PaginationSection-lSE7L18v.js} +45 -32
  328. package/documentation/PanelActionCardSection-BdiVGZct.js +29 -0
  329. package/documentation/{PanelActionCardSection-CC-DAySo.js → PanelActionCardSection-BgBQ-yk0.js} +15 -17
  330. package/documentation/{PanelCardSection-OBm47mh0.js → PanelCardSection-CxgguBdn.js} +14 -16
  331. package/documentation/PanelCardSection-DepwDiot.js +16 -0
  332. package/documentation/{ParamTabSection-TcsbnNAx.js → ParamTabSection-7WqNq93W.js} +138 -78
  333. package/documentation/ParamTabSection-CRAA5456.js +94 -0
  334. package/documentation/PieChartSection-CjOgCPaN.js +19 -0
  335. package/documentation/{PieChartSection-DuRH9AFw.js → PieChartSection-DgARlxCn.js} +14 -14
  336. package/documentation/PinCodeSection-BZ9lZb1m.js +32 -0
  337. package/documentation/PinCodeSection-v_9DV5Lk.js +235 -0
  338. package/documentation/ProgressbarSection-D3DYoI4Y.js +22 -0
  339. package/documentation/ProgressbarSection-DlUhNhf2.js +142 -0
  340. package/documentation/{RadarChartSection-CrY3D0r8.js → RadarChartSection-CUbzsVhA.js} +7 -7
  341. package/documentation/RadarChartSection-Ddb_fGPc.js +21 -0
  342. package/documentation/RadioGroupSection-5l0IDcfd.js +269 -0
  343. package/documentation/RadioGroupSection-CZQzvhOR.js +37 -0
  344. package/documentation/RadioSection-D-KPVIm_.js +183 -0
  345. package/documentation/RadioSection-D6bi4kIt.js +27 -0
  346. package/documentation/{RevealContentSection-D1NNa1Zb.js → RevealContentSection-DZhCRfDI.js} +14 -17
  347. package/documentation/RevealContentSection-xWU5mwxK.js +21 -0
  348. package/documentation/RouteConfigurationSection-BNlfPveX.js +42 -0
  349. package/documentation/RouteConfigurationSection-CGohU3dz.js +88 -0
  350. package/documentation/ScrollToTopSection-CE_chqn5.js +38 -0
  351. package/documentation/ScrollToTopSection-DTIMzJcL.js +141 -0
  352. package/documentation/ScrollbarSection-BtFed7RJ.js +30 -0
  353. package/documentation/{ScrollbarSection-DYHKnFn2.js → ScrollbarSection-UGhiUlT9.js} +25 -27
  354. package/documentation/SelectSection-B_s_pRsx.js +346 -0
  355. package/documentation/SelectSection-DQZ8bxsN.js +52 -0
  356. package/documentation/SettingsPanelSection-D2vZ81r5.js +139 -0
  357. package/documentation/SettingsPanelSection-DmeXjrx0.js +1 -0
  358. package/documentation/ShadowsSection-Br8AictP.js +1 -0
  359. package/documentation/ShadowsSection-CoUWlYA-.js +101 -0
  360. package/documentation/SidebarMenuSection-BuyjfISB.js +108 -0
  361. package/documentation/SidebarMenuSection-DL9USgCd.js +47 -0
  362. package/documentation/SidebarSection-B-rHd7VC.js +70 -0
  363. package/documentation/SidebarSection-DMPBCRIo.js +26 -0
  364. package/documentation/SizingSection--Jco3RIU.js +97 -0
  365. package/documentation/SizingSection-CUt8NIK0.js +1 -0
  366. package/documentation/{SkeletonSection-BjYOD-Ui.js → SkeletonSection-DJdKo1ja.js} +79 -81
  367. package/documentation/SkeletonSection-DqrX4Bdv.js +53 -0
  368. package/documentation/SonomaColorsSection-DJtL9gyt.js +388 -0
  369. package/documentation/SonomaColorsSection-ymNouzEh.js +1 -0
  370. package/documentation/SonomaLayoutContentSection-BUpCwKvI.js +16 -0
  371. package/documentation/SonomaLayoutContentSection-DUaqAxji.js +67 -0
  372. package/documentation/SonomaLayoutSidebarSection-5eYi4AN9.js +27 -0
  373. package/documentation/SonomaLayoutSidebarSection-pojkz3vG.js +96 -0
  374. package/documentation/SonomaMaterialsSection-C96PRKqk.js +9 -0
  375. package/documentation/SonomaMaterialsSection-DGAN4s50.js +334 -0
  376. package/documentation/SonomaShapesSection-BhLTcP3w.js +10 -0
  377. package/documentation/SonomaShapesSection-C8Pf87LY.js +482 -0
  378. package/documentation/SonomaTypographySection-COUn6t7v.js +389 -0
  379. package/documentation/SonomaTypographySection-Ds10GLYv.js +1 -0
  380. package/documentation/SpacingSystemSection-BF3PHq5h.js +1 -0
  381. package/documentation/{SpacingSystemSection-D1Z2lzGW.js → SpacingSystemSection-BqrzSpri.js} +24 -27
  382. package/documentation/SpinnerSection-Dk30YZJZ.js +18 -0
  383. package/documentation/SpinnerSection-yr2tRAM5.js +78 -0
  384. package/documentation/StandaloneAppSection-BELaa7LI.js +71 -0
  385. package/documentation/StandaloneAppSection-DCFC1XZR.js +181 -0
  386. package/documentation/StepperSection-B1XhYQK-.js +29 -0
  387. package/documentation/{StepperSection-D7wP-dU3.js → StepperSection-By_Ml_tV.js} +66 -46
  388. package/documentation/SwitchSection-BUQdc358.js +223 -0
  389. package/documentation/SwitchSection-C85IWY-t.js +28 -0
  390. package/documentation/SystemOverviewSection-C1qBmPHN.js +58 -0
  391. package/documentation/SystemOverviewSection-rljSEGcG.js +1 -0
  392. package/documentation/TabModalSection-Dv5x_sEQ.js +52 -0
  393. package/documentation/{TabModalSection-cPdxSg37.js → TabModalSection-IuUO4qiP.js} +55 -31
  394. package/documentation/{TabSection-B0K0gRVb.js → TabSection-Caok23rW.js} +71 -49
  395. package/documentation/TabSection-DDHTGSIS.js +85 -0
  396. package/documentation/{TabSelectSection-or6HVCzs.js → TabSelectSection-B4rEgVlu.js} +91 -61
  397. package/documentation/TabSelectSection-BseTPExy.js +102 -0
  398. package/documentation/TahoeCommandPaletteSection-DaORHbNv.js +21 -0
  399. package/documentation/TahoeCommandPaletteSection-v_iOPj8C.js +217 -0
  400. package/documentation/TahoeDialogSection-BoY2025y.js +22 -0
  401. package/documentation/TahoeDialogSection-CqKQ-RDj.js +228 -0
  402. package/documentation/TahoeDockSection-C7harqcu.js +29 -0
  403. package/documentation/TahoeDockSection-DhRRBnTT.js +228 -0
  404. package/documentation/TahoeLayoutContentSection-C4BE8wc4.js +68 -0
  405. package/documentation/TahoeLayoutContentSection-_mL3T_3K.js +17 -0
  406. package/documentation/TahoeLayoutSidebarSection-BUXgOJBx.js +36 -0
  407. package/documentation/TahoeLayoutSidebarSection-BmCZJ9fX.js +114 -0
  408. package/documentation/TahoeNotificationBannerSection-CSlPVrTp.js +144 -0
  409. package/documentation/TahoeNotificationBannerSection-D4E3b7uT.js +22 -0
  410. package/documentation/TahoePopoverSection-CJaeo55K.js +24 -0
  411. package/documentation/TahoePopoverSection-D3zoltMl.js +220 -0
  412. package/documentation/TahoeProgressBarSection-C_2fAhY_.js +16 -0
  413. package/documentation/TahoeProgressBarSection-DO21lvmq.js +124 -0
  414. package/documentation/TahoeSearchBarSection-2siyD6LM.js +117 -0
  415. package/documentation/TahoeSearchBarSection-DdXfb6P6.js +10 -0
  416. package/documentation/TahoeSegmentedControlSection-CGHYXp6R.js +12 -0
  417. package/documentation/TahoeSegmentedControlSection-CcSHJml_.js +178 -0
  418. package/documentation/TahoeToolbarSection-BCpyfad4.js +81 -0
  419. package/documentation/TahoeToolbarSection-C10KKCyu.js +17 -0
  420. package/documentation/TahoeWidgetSection-BUaOmNIc.js +121 -0
  421. package/documentation/TahoeWidgetSection-sxxKh9VM.js +13 -0
  422. package/documentation/TahoeWindowSection-COl0UCS1.js +289 -0
  423. package/documentation/TahoeWindowSection-KL3yHPI3.js +24 -0
  424. package/documentation/TailwindConfigSection-DPCR4e0X.js +23 -0
  425. package/documentation/TailwindConfigSection-DdJnfBeo.js +128 -0
  426. package/documentation/TestingSection-4eyjrj1_.js +36 -0
  427. package/documentation/TestingSection-laVHmYZE.js +150 -0
  428. package/documentation/TextareaSection-D_4-b9Jx.js +258 -0
  429. package/documentation/TextareaSection-Dx8UEgUG.js +34 -0
  430. package/documentation/ThemeArchitectureSection-BJt75CEU.js +27 -0
  431. package/documentation/ThemeArchitectureSection-BOTLbXFq.js +143 -0
  432. package/documentation/ThemeConfigurationSection-CGRi9uGX.js +1 -0
  433. package/documentation/ThemeConfigurationSection-sgJA0wX0.js +139 -0
  434. package/documentation/ThemeHooksSection-BU9VAEIQ.js +1 -0
  435. package/documentation/ThemeHooksSection-DN-dSaho.js +173 -0
  436. package/documentation/ThemeProviderIntegrationSection-CtckSEZ6.js +122 -0
  437. package/documentation/ThemeProviderIntegrationSection-DxWYUVNo.js +73 -0
  438. package/documentation/{ThemeProviderRequiredSection-DlOJ3rB6.js → ThemeProviderRequiredSection-BHmXKzqL.js} +36 -17
  439. package/documentation/ThemeProviderRequiredSection-DMStR6-A.js +1 -0
  440. package/documentation/ThemeProviderSection-CTTjgBhZ.js +143 -0
  441. package/documentation/ThemeProviderSection-DSllsxjP.js +1 -0
  442. package/documentation/{ToastSection-BeNEBfZU.js → ToastSection-BcMWRjYM.js} +3 -2
  443. package/documentation/{ToastSection-CY2Mbvzy.js → ToastSection-CAz8Hcgy.js} +43 -45
  444. package/documentation/ToggleBarSection-BAJRL-JL.js +45 -0
  445. package/documentation/ToggleBarSection-D0gxe4bi.js +186 -0
  446. package/documentation/TooltipSection-8BAcW1F8.js +64 -0
  447. package/documentation/{TooltipSection-CoTGjIYK.js → TooltipSection-8ft95fhM.js} +31 -32
  448. package/documentation/TopupButtonSection-BsP9qMKz.js +98 -0
  449. package/documentation/TopupButtonSection-DMX7DHtm.js +25 -0
  450. package/documentation/TransactionInfoSection-Dfyi0vTL.js +16 -0
  451. package/documentation/TransactionInfoSection-gfy4OG-G.js +86 -0
  452. package/documentation/TucuUiLogoSection-BlyXPiuE.js +26 -0
  453. package/documentation/TucuUiLogoSection-Dr4QKJE2.js +85 -0
  454. package/documentation/TypographySection-BvFi0bpr.js +276 -0
  455. package/documentation/{TypographySection-DAwRhonX.js → TypographySection-C4YFmIj_.js} +49 -51
  456. package/documentation/TypographySection-CxZfc6YL.js +1 -0
  457. package/documentation/TypographySection-bXUV6Bmt.js +33 -0
  458. package/documentation/UsageExamplesSection-BwcRgeyU.js +150 -0
  459. package/documentation/UsageExamplesSection-CRg9RYfR.js +84 -0
  460. package/documentation/UsingThemeSystemSection-DB_ErOba.js +106 -0
  461. package/documentation/UsingThemeSystemSection-DYUkPUnX.js +164 -0
  462. package/documentation/ValidationSystemSection-BEwX_nlY.js +222 -0
  463. package/documentation/ValidationSystemSection-BdPgfg9x.js +53 -0
  464. package/documentation/WCAGPrinciplesSection-CgWqrIwS.js +1 -0
  465. package/documentation/WCAGPrinciplesSection-qmAtTMZv.js +126 -0
  466. package/{index-D3gBsvbO.js → index-19KsCnyX.js} +38743 -29988
  467. package/index-DMs_SmPq.js +1178 -0
  468. package/index.css +1 -1
  469. package/index.js +1 -1
  470. package/index.mjs +373 -307
  471. package/package.json +1 -1
  472. package/themes/components/index.d.ts +1 -0
  473. package/themes/components/settings/index.d.ts +1 -0
  474. package/themes/components/settings/switch-variant.d.ts +5 -0
  475. package/themes/components/theme-background.d.ts +33 -0
  476. package/themes/components/theme-provider/mfe-app-theme-provider.d.ts +3 -3
  477. package/themes/components/theme-provider/standalone-app-theme-provider.d.ts +3 -3
  478. package/themes/components/theme-provider/theme-wrapper.d.ts +35 -3
  479. package/themes/config/index.d.ts +258 -6
  480. package/themes/hooks/use-theme-color.d.ts +13 -1
  481. package/themes/hooks/use-theme.d.ts +21 -1
  482. package/documentation/APIReferenceSection-3tw3kbSC.js +0 -142
  483. package/documentation/APIReferenceSection-Bi_II-dh.js +0 -1
  484. package/documentation/ActiveLinkSection-CbQ9Ib2C.js +0 -22
  485. package/documentation/AdvancedColorSystemSection-C037qEf7.js +0 -17
  486. package/documentation/AdvancedColorSystemSection-eBshfqfD.js +0 -173
  487. package/documentation/AdvancedFeaturesSection-BYLSytEq.js +0 -82
  488. package/documentation/AdvancedFeaturesSection-CAG7FjH1.js +0 -1
  489. package/documentation/AdvancedFeaturesSection-CEhYolpb.js +0 -1
  490. package/documentation/AdvancedFeaturesSection-WMvC_2If.js +0 -100
  491. package/documentation/AlertSection-CzmwMiuZ.js +0 -98
  492. package/documentation/AlertSection-pIvh75mZ.js +0 -25
  493. package/documentation/AnchorLinkSection-diTL_uYY.js +0 -67
  494. package/documentation/AnchorLinkSection-vCfJpTVG.js +0 -19
  495. package/documentation/ArchitecturalPatternsComparisonSection-C-eRoUaS.js +0 -325
  496. package/documentation/ArchitecturalPatternsComparisonSection-FO_wmSbl.js +0 -31
  497. package/documentation/ArchitectureOverviewSection-DGvqMSQ0.js +0 -1
  498. package/documentation/ArchitectureOverviewSection-eB86uJbU.js +0 -88
  499. package/documentation/AreaChartSection-BdHkWEIb.js +0 -22
  500. package/documentation/AuthorCardSection-Bt0zkOUD.js +0 -17
  501. package/documentation/AuthorCardSection-C9h7A21b.js +0 -81
  502. package/documentation/AvatarSection-CrG4z7NV.js +0 -18
  503. package/documentation/AvatarSection-D9lO80xk.js +0 -91
  504. package/documentation/BadgeSection-C3ZMK9x_.js +0 -48
  505. package/documentation/BarChartSection-ninE-2Gk.js +0 -23
  506. package/documentation/BasicTableSection-BebGMD_K.js +0 -103
  507. package/documentation/BasicTableSection-CAWStbqv.js +0 -35
  508. package/documentation/BasicUsageSection-DodQMzbr.js +0 -103
  509. package/documentation/BasicUsageSection-MrvJphH5.js +0 -45
  510. package/documentation/BestPracticesSection-B6LVbicQ.js +0 -49
  511. package/documentation/BestPracticesSection-BeWcRejA.js +0 -41
  512. package/documentation/BestPracticesSection-CuKCCDE_.js +0 -1
  513. package/documentation/BestPracticesSection-D9Vu3Kmk.js +0 -83
  514. package/documentation/BestPracticesSection-D9l9mXg1.js +0 -1
  515. package/documentation/BestPracticesSection-DAQNq7Uq.js +0 -1
  516. package/documentation/BestPracticesSection-DDwlvSk9.js +0 -84
  517. package/documentation/BestPracticesSection-DYjT_pUO.js +0 -43
  518. package/documentation/BestPracticesSection-DcW9m66-.js +0 -1
  519. package/documentation/BestPracticesSection-DmPn1IqW.js +0 -1
  520. package/documentation/BestPracticesSection-DpIzRMX9.js +0 -1
  521. package/documentation/BestPracticesSection-DtG4Wv2c.js +0 -1
  522. package/documentation/BestPracticesSection-OQoXjdBp.js +0 -57
  523. package/documentation/BorderRadiusSection-C62w8z9T.js +0 -72
  524. package/documentation/BorderRadiusSection-CuZ8GG_0.js +0 -1
  525. package/documentation/ButtonDripSection-CznoyKBs.js +0 -21
  526. package/documentation/ButtonLoaderSection-B3jm0Tol.js +0 -30
  527. package/documentation/ButtonLoaderSection-BDtqxrUY.js +0 -155
  528. package/documentation/CardContainerSection-B8JvSNpy.js +0 -63
  529. package/documentation/CardContainerSection-CxfdSIAS.js +0 -21
  530. package/documentation/CardSection-D66ytgEc.js +0 -25
  531. package/documentation/CardTitleSection-PbgJ_cjd.js +0 -19
  532. package/documentation/CardTitleSection-eOKcETMp.js +0 -74
  533. package/documentation/CarouselCardsSection-CBG6p7HK.js +0 -147
  534. package/documentation/CarouselCardsSection-DO3LU16T.js +0 -37
  535. package/documentation/CarouselImageSection-BWhCTLiW.js +0 -152
  536. package/documentation/CarouselImageSection-C0xXpyka.js +0 -38
  537. package/documentation/CarouselSection-BxjV5FP1.js +0 -24
  538. package/documentation/CarouselSection-CjgQuZlV.js +0 -99
  539. package/documentation/CheckboxSection-BsMbLIWZ.js +0 -26
  540. package/documentation/CheckboxSection-C7eyYPAa.js +0 -137
  541. package/documentation/CodeExamplesSection-1kUyGWeU.js +0 -137
  542. package/documentation/CodeExamplesSection-CWmj5VeF.js +0 -28
  543. package/documentation/CoinCardSection-iY8J7SEG.js +0 -13
  544. package/documentation/CoinInfoCardSection-DUtW5rPH.js +0 -12
  545. package/documentation/CoinListBoxSection-CyUNnrfp.js +0 -24
  546. package/documentation/CoinListBoxSection-WDINLmD6.js +0 -106
  547. package/documentation/CollapseSection-BF47ExQb.js +0 -27
  548. package/documentation/CollectionCardSection-D81QeoBz.js +0 -17
  549. package/documentation/CollectionSelectListSection-BBvFYU73.js +0 -15
  550. package/documentation/CollectionSelectListSection-_ChExFJE.js +0 -120
  551. package/documentation/ColorCustomizationSection-D0mDozfQ.js +0 -117
  552. package/documentation/ColorCustomizationSection-sJ2eDKR0.js +0 -1
  553. package/documentation/ColorSystemSection-CHCxVk-I.js +0 -149
  554. package/documentation/ColorSystemSection-DUCsacWs.js +0 -1
  555. package/documentation/CommonErrorsSection-BKpCa6rH.js +0 -54
  556. package/documentation/CommonErrorsSection-C3bp7oeX.js +0 -1
  557. package/documentation/ComponentAnatomySection-BbsJXnu1.js +0 -72
  558. package/documentation/ComponentAnatomySection-Bcl5DWBQ.js +0 -1
  559. package/documentation/ComponentStatusSection-CMae0800.js +0 -1
  560. package/documentation/ComponentStatusSection-lHvcoI9y.js +0 -84
  561. package/documentation/ComposedChartSection-Bngkob8v.js +0 -21
  562. package/documentation/CurrencySwapIconsSection-C8Ux6YVv.js +0 -50
  563. package/documentation/CurrencySwapIconsSection-DiR8Lm4T.js +0 -7
  564. package/documentation/CustomColorPaletteSection-7dKh6HB9.js +0 -54
  565. package/documentation/CustomColorPaletteSection-C35acsIh.js +0 -19
  566. package/documentation/CustomIconsSection-DPDDT3QV.js +0 -162
  567. package/documentation/CustomIconsSection-DtSZNlaG.js +0 -3
  568. package/documentation/DefiAppLogoSection-BkneLGwI.js +0 -120
  569. package/documentation/DefiAppLogoSection-Dytt0bXd.js +0 -36
  570. package/documentation/DesignPrinciplesSection-BOiDQmuk.js +0 -1
  571. package/documentation/DesignPrinciplesSection-GaW5AHDx.js +0 -81
  572. package/documentation/DrawerSection-Hniq0ExB.js +0 -41
  573. package/documentation/DynamicRoutesSection-B-wIQRz6.js +0 -100
  574. package/documentation/DynamicRoutesSection-EyN4-iMU.js +0 -42
  575. package/documentation/FileInputSection-BRBK7QWu.js +0 -65
  576. package/documentation/FileInputSection-CgDB4RB5.js +0 -277
  577. package/documentation/FileStructureSection-CSKmwLEr.js +0 -26
  578. package/documentation/FormComponentsSection-Ctj1Myfu.js +0 -116
  579. package/documentation/FormComponentsSection-Dc-8r3Dp.js +0 -1
  580. package/documentation/FormMethodsSection-B0CH8AFm.js +0 -119
  581. package/documentation/FormMethodsSection-BNAJnxtE.js +0 -55
  582. package/documentation/HamburgerSection-DhrGpeO0.js +0 -18
  583. package/documentation/HookCategoriesSection-DvMKFjMc.js +0 -1
  584. package/documentation/HookCategoriesSection-DxPpsCI_.js +0 -97
  585. package/documentation/HookDocumentationSection-CgZD1tOq.js +0 -272
  586. package/documentation/HookDocumentationSection-Ml6FfZD7.js +0 -73
  587. package/documentation/HookFeaturesSection-DXGn9w9N.js +0 -81
  588. package/documentation/HookFeaturesSection-DoWYjwx3.js +0 -1
  589. package/documentation/IconArchitectureSection-BAVtVvWp.js +0 -1
  590. package/documentation/IconArchitectureSection-OOghFbiq.js +0 -108
  591. package/documentation/IconSizingGuideSection-CF9itTi0.js +0 -69
  592. package/documentation/IconSizingGuideSection-vD6v4fMa.js +0 -1
  593. package/documentation/IconSystemAPISection-BSOV3etR.js +0 -1
  594. package/documentation/IconSystemAPISection-D6eLCOaG.js +0 -61
  595. package/documentation/IconSystemBenefitsSection-CLjshxlO.js +0 -1
  596. package/documentation/IconSystemBenefitsSection-Cv_9L1Kq.js +0 -41
  597. package/documentation/ImageSection-CKKC4aJN.js +0 -80
  598. package/documentation/ImplementationExamplesSection-BKfCgO3N.js +0 -178
  599. package/documentation/ImplementationExamplesSection-DXqrijp1.js +0 -284
  600. package/documentation/ImplementationGuidelinesSection-7Y4ZRzgG.js +0 -52
  601. package/documentation/ImplementationGuidelinesSection-CdbW-zbQ.js +0 -1
  602. package/documentation/ImplementationStatusSection-BFNsxVIb.js +0 -23
  603. package/documentation/ImplementationStatusSection-eRpOuc9O.js +0 -1
  604. package/documentation/ImplementedFeaturesSection-LQqKN75c.js +0 -116
  605. package/documentation/ImplementedFeaturesSection-vdhErGHI.js +0 -1
  606. package/documentation/InfoCardSection-Brt8Px1M.js +0 -37
  607. package/documentation/InputSearcherSection-BDc9Ymtf.js +0 -32
  608. package/documentation/InputSearcherSection-CNmnq7Gc.js +0 -180
  609. package/documentation/InputSection-Dd2sBkoW.js +0 -37
  610. package/documentation/InputSection-DzPq_I1Q.js +0 -159
  611. package/documentation/KeyValueRowSection-DABdzrIi.js +0 -104
  612. package/documentation/KeyValueRowSection-J2dPxoZS.js +0 -16
  613. package/documentation/KeyboardNavigationSection-AU-ysaQM.js +0 -69
  614. package/documentation/KeyboardNavigationSection-DvzCL_fF.js +0 -1
  615. package/documentation/LayoutPrinciplesSection-B1JTervM.js +0 -1
  616. package/documentation/LayoutPrinciplesSection-DOzrWMwV.js +0 -106
  617. package/documentation/LayoutTypesSection-Bf6A4n7o.js +0 -239
  618. package/documentation/LayoutTypesSection-DwAR3avS.js +0 -1
  619. package/documentation/LineChartSection-B0G_cUQK.js +0 -21
  620. package/documentation/ListContainerSection-C3uVOfda.js +0 -125
  621. package/documentation/ListContainerSection-Dnx_3dZ9.js +0 -38
  622. package/documentation/ListItemSection-DT3H_Ias.js +0 -36
  623. package/documentation/LiveDemoSection-C8RKb2J9.js +0 -1
  624. package/documentation/LiveDemoSection-DlZp0AJU.js +0 -16
  625. package/documentation/LiveDemonstrationsSection-BB_ccb5S.js +0 -4
  626. package/documentation/LiveDemonstrationsSection-DRB4N92_.js +0 -445
  627. package/documentation/LivePriceFeedSection-Dc-WTk58.js +0 -20
  628. package/documentation/LivePriceFeedSection-j_73wZas.js +0 -97
  629. package/documentation/LoaderSection-BQiBqcx7.js +0 -22
  630. package/documentation/LoaderSection-Bh-7FMwt.js +0 -98
  631. package/documentation/LogoSection-D4muoIqm.js +0 -100
  632. package/documentation/LucideIconsSection-BcZP__26.js +0 -128
  633. package/documentation/LucideIconsSection-BwABNPko.js +0 -1
  634. package/documentation/MFESupportSection-BHDOPkT0.js +0 -354
  635. package/documentation/MFESupportSection-C8JljXvo.js +0 -122
  636. package/documentation/ModalSection-CmRW0lMU.js +0 -29
  637. package/documentation/NFTGridSection-DFUFgtKg.js +0 -117
  638. package/documentation/NFTGridSection-DFudkupA.js +0 -19
  639. package/documentation/NestedRoutesSection-C8UBWGHx.js +0 -88
  640. package/documentation/NestedRoutesSection-CcrsqPxg.js +0 -36
  641. package/documentation/NotificationCardSection-YXMF3x55.js +0 -28
  642. package/documentation/PaginationSection-Bo5cGJPv.js +0 -18
  643. package/documentation/PanelActionCardSection-XHOuTUHD.js +0 -28
  644. package/documentation/PanelCardSection-BuALUip4.js +0 -15
  645. package/documentation/ParamTabSection-Do6psgA6.js +0 -92
  646. package/documentation/PieChartSection-Donq3tpM.js +0 -19
  647. package/documentation/PinCodeSection-CALXe-QN.js +0 -167
  648. package/documentation/PinCodeSection-CKZtH4xU.js +0 -22
  649. package/documentation/ProgressbarSection-BiSzB70h.js +0 -21
  650. package/documentation/ProgressbarSection-RSBVXiEx.js +0 -144
  651. package/documentation/RadarChartSection-DJHkW4Iv.js +0 -21
  652. package/documentation/RadioGroupSection-BP3Q14TK.js +0 -192
  653. package/documentation/RadioGroupSection-CoDOy57g.js +0 -27
  654. package/documentation/RadioSection-BmVNxa2g.js +0 -23
  655. package/documentation/RadioSection-DycbvkTC.js +0 -130
  656. package/documentation/RevealContentSection-DJLCAigH.js +0 -21
  657. package/documentation/RouteConfigurationSection-Drc5LJiF.js +0 -81
  658. package/documentation/RouteConfigurationSection-nhWEjPVc.js +0 -40
  659. package/documentation/ScrollToTopSection-CD0lf-YM.js +0 -142
  660. package/documentation/ScrollToTopSection-Dg1DqNQU.js +0 -36
  661. package/documentation/ScrollbarSection-DcH7wKa4.js +0 -29
  662. package/documentation/SelectSection-BsqXWvqu.js +0 -39
  663. package/documentation/SelectSection-Bw7z6boY.js +0 -242
  664. package/documentation/SettingsPanelSection-BL1MGm6Q.js +0 -126
  665. package/documentation/SettingsPanelSection-CTuxkv-A.js +0 -1
  666. package/documentation/ShadowsSection-BxIUSqgJ.js +0 -1
  667. package/documentation/ShadowsSection-DEDnh4VA.js +0 -90
  668. package/documentation/SidebarMenuSection-B566bFj0.js +0 -80
  669. package/documentation/SidebarMenuSection-C_FRWnLf.js +0 -46
  670. package/documentation/SidebarSection-BxcsWxss.js +0 -62
  671. package/documentation/SidebarSection-x6UljOok.js +0 -25
  672. package/documentation/SizingSection-Bkk50xTx.js +0 -1
  673. package/documentation/SizingSection-DmDvMmpv.js +0 -86
  674. package/documentation/SkeletonSection-CtCnpdjN.js +0 -52
  675. package/documentation/SpacingSystemSection-kZaFDYxR.js +0 -1
  676. package/documentation/SpinnerSection-Cy4RKNBM.js +0 -80
  677. package/documentation/SpinnerSection-JoJL6hKq.js +0 -17
  678. package/documentation/StandaloneAppSection-BnE09OsJ.js +0 -69
  679. package/documentation/StandaloneAppSection-Dn2EcBsk.js +0 -244
  680. package/documentation/StepperSection-dLbIrNgm.js +0 -28
  681. package/documentation/SwitchSection-D_063gA9.js +0 -20
  682. package/documentation/SwitchSection-_aCMYfZ_.js +0 -152
  683. package/documentation/SystemOverviewSection-BWie2kgj.js +0 -1
  684. package/documentation/SystemOverviewSection-zs1sgBU4.js +0 -93
  685. package/documentation/TabModalSection-DAR0pwr1.js +0 -51
  686. package/documentation/TabSection-BxVPhqk9.js +0 -84
  687. package/documentation/TabSelectSection-CQ_IXo8B.js +0 -100
  688. package/documentation/TailwindConfigSection-BcZJYWM7.js +0 -19
  689. package/documentation/TailwindConfigSection-DTJZOW6I.js +0 -152
  690. package/documentation/TestingSection-8TPddPms.js +0 -48
  691. package/documentation/TestingSection-BorSrvSC.js +0 -12
  692. package/documentation/TextareaSection-BNvWR0os.js +0 -21
  693. package/documentation/TextareaSection-Bweh8_uz.js +0 -142
  694. package/documentation/ThemeArchitectureSection-B4Gn1V7O.js +0 -86
  695. package/documentation/ThemeArchitectureSection-CJ0hFkh6.js +0 -1
  696. package/documentation/ThemeConfigurationSection-4LSUu_UO.js +0 -1
  697. package/documentation/ThemeConfigurationSection-CeifudQ5.js +0 -132
  698. package/documentation/ThemeHooksSection-CGJts7Ed.js +0 -119
  699. package/documentation/ThemeHooksSection-CPhNS-qC.js +0 -1
  700. package/documentation/ThemeProviderIntegrationSection-88jAWm2A.js +0 -61
  701. package/documentation/ThemeProviderIntegrationSection-BbKuNCBE.js +0 -108
  702. package/documentation/ThemeProviderRequiredSection-BwXR1i1V.js +0 -1
  703. package/documentation/ThemeProviderSection-Bh7hWBV8.js +0 -128
  704. package/documentation/ThemeProviderSection-D6v8Vlhs.js +0 -1
  705. package/documentation/ToggleBarSection-BCAgChf-.js +0 -127
  706. package/documentation/ToggleBarSection-Dw4ywuTP.js +0 -37
  707. package/documentation/TooltipSection-CWZ2P_XP.js +0 -62
  708. package/documentation/TopupButtonSection-CUyRtVu1.js +0 -24
  709. package/documentation/TopupButtonSection-DibjXivu.js +0 -100
  710. package/documentation/TransactionInfoSection-CP75u7WX.js +0 -16
  711. package/documentation/TransactionInfoSection-DDg2tzY8.js +0 -65
  712. package/documentation/TucuUiLogoSection-BVMLRhro.js +0 -88
  713. package/documentation/TucuUiLogoSection-DjvrfpTA.js +0 -26
  714. package/documentation/TypographySection-DrWlVZdp.js +0 -32
  715. package/documentation/TypographySection-FEhLWV6X.js +0 -214
  716. package/documentation/TypographySection-RTEBtLau.js +0 -1
  717. package/documentation/UsageExamplesSection-CQsfAsO1.js +0 -147
  718. package/documentation/UsageExamplesSection-Cika-E5i.js +0 -83
  719. package/documentation/UsingThemeSystemSection-BXzyzQVv.js +0 -176
  720. package/documentation/UsingThemeSystemSection-CDie8_J5.js +0 -140
  721. package/documentation/ValidationSystemSection-Ca9vjcW1.js +0 -54
  722. package/documentation/ValidationSystemSection-CiTBMt8_.js +0 -197
  723. package/documentation/WCAGPrinciplesSection-B9sZXPfQ.js +0 -116
  724. package/documentation/WCAGPrinciplesSection-C9SsLYli.js +0 -1
  725. package/index-VrMogvDN.js +0 -1137
@@ -0,0 +1,45 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-DMs_SmPq.js"),r=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const s=()=>e.jsxs(e.Fragment,{children:[e.jsx(a.HeroCard,{title:"Basic Usage",description:"Get started with the form system in three steps: define your types, set defaults, and compose your form with Form + FormField.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(r.Code,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(a.Typography,{tag:"h2",className:"mb-2",children:"Step by Step"}),e.jsx(a.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Three steps to create a fully typed, validated form"})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"1. Define Form Values Interface",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-4 p-4 sm:p-6",children:[e.jsx(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:"Start by defining a TypeScript interface for your form data. This enables type-safe field names and submission handlers."}),e.jsx(a.CodeBlock,{language:"tsx",code:`export interface FormValues {
2
+ name: string;
3
+ email: string;
4
+ password: string;
5
+ message: string;
6
+ acceptTerms: boolean;
7
+ age: number;
8
+ gender: string;
9
+ country: string;
10
+ }`})]})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"2. Create Default Values",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-4 p-4 sm:p-6",children:[e.jsxs(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:["Define default values matching your interface. These initialize the form and are used by"," ",e.jsx("code",{className:"px-1 py-0.5 border border-border rounded text-xs",children:"reset()"}),"."]}),e.jsx(a.CodeBlock,{language:"ts",code:`export const defaultValues: FormValues = {
11
+ name: '',
12
+ email: '',
13
+ password: '',
14
+ message: '',
15
+ acceptTerms: false,
16
+ age: 0,
17
+ gender: '',
18
+ country: 'ar',
19
+ };`})]})})}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"3. Compose the Form",className:"mt-2 mb-2",children:e.jsxs("div",{className:"w-full space-y-4 p-4 sm:p-6",children:[e.jsxs(a.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400",children:["Use"," ",e.jsx("code",{className:"px-1 py-0.5 border border-border rounded text-xs",children:"<Form>"})," ","as the container and"," ",e.jsx("code",{className:"px-1 py-0.5 border border-border rounded text-xs",children:"<FormField>"})," ","to wrap each input. FormField handles registration, error display, and labeling."]}),e.jsx(a.CodeBlock,{language:"tsx",code:`import { Form, FormField, Input, Button } from '@e-burgos/tucu-ui';
20
+
21
+ function ContactForm() {
22
+ const handleSubmit = (data: FormValues) => {
23
+ console.log('Form submitted:', data);
24
+ };
25
+
26
+ return (
27
+ <Form<FormValues>
28
+ onSubmit={handleSubmit}
29
+ useFormProps={{
30
+ defaultValues: defaultValues,
31
+ mode: 'onChange',
32
+ }}
33
+ >
34
+ <FormField<FormValues> name="name" label="Name">
35
+ <Input placeholder="Enter your name" />
36
+ </FormField>
37
+
38
+ <FormField<FormValues> name="email" label="Email">
39
+ <Input type="email" placeholder="Enter your email" />
40
+ </FormField>
41
+
42
+ <Button type="submit">Submit</Button>
43
+ </Form>
44
+ );
45
+ }`})]})})})]})]})]});exports.default=s;
@@ -0,0 +1,153 @@
1
+ import { jsxs as s, Fragment as m, jsx as e } from "react/jsx-runtime";
2
+ import { H as h, T as a, C as t, c as l } from "../index-19KsCnyX.js";
3
+ import { ShieldCheck as p, Check as i, X as n, Puzzle as u, Monitor as g } from "lucide-react";
4
+ import "react-router-dom";
5
+ import "react";
6
+ import "react-dom";
7
+ const N = () => {
8
+ const c = [
9
+ "Use useIsMounted to guard async state updates and prevent memory leaks",
10
+ "Prefer useElementSize over useMeasure for simple width/height tracking",
11
+ "Leverage generic types: useElementSize<HTMLCanvasElement>()",
12
+ "Debounce rapid state changes when using useToastStore",
13
+ "Import only needed hooks for optimal tree-shaking",
14
+ "Combine useLockBodyScroll with focus management for accessible modals",
15
+ "Use useEventListener for keyboard navigation instead of inline handlers",
16
+ "Pass proper event types to useEventListener for type safety",
17
+ "Use useClickAway with a RefObject for dropdown/popover close behavior",
18
+ "Call useAnchorScroll once at root level for smooth scroll navigation"
19
+ ], d = [
20
+ "Destructure useCopyToClipboard as [value, fn] — it returns [stateObj, fn]",
21
+ "Forget that useScrollableSlider requires react-router-dom context",
22
+ "Use useMeasure when you only need width/height — it has more overhead",
23
+ "Lock body scroll without preserving scrollbar width (useLockBodyScroll handles this)",
24
+ "Create multiple useToastStore instances — it is a singleton Zustand store",
25
+ "Ignore the noUserInteraction field in useCopyToClipboard state",
26
+ "Use useIsMounted as a function — it returns a boolean directly",
27
+ "Mix up useElementSize ref (callback ref) with useRef (RefObject)",
28
+ "Hardcode breakpoint pixel values — use useBreakpoint named values instead",
29
+ "Forget cleanup when using useEventListener with custom elements"
30
+ ];
31
+ return /* @__PURE__ */ s(m, { children: [
32
+ /* @__PURE__ */ e(
33
+ h,
34
+ {
35
+ title: "Best Practices",
36
+ description: "Guidelines for optimal hook usage, common pitfalls to avoid, and patterns that ensure performance, type safety, and accessibility.",
37
+ icon: /* @__PURE__ */ e("div", { className: "w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(p, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg" }) })
38
+ }
39
+ ),
40
+ /* @__PURE__ */ s("section", { className: "space-y-8", children: [
41
+ /* @__PURE__ */ s("div", { className: "text-center", children: [
42
+ /* @__PURE__ */ e(a, { tag: "h2", className: "mb-2", children: "Recommendations" }),
43
+ /* @__PURE__ */ e(
44
+ a,
45
+ {
46
+ tag: "p",
47
+ className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
48
+ children: "Follow these guidelines for robust hook implementations"
49
+ }
50
+ )
51
+ ] }),
52
+ /* @__PURE__ */ s("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [
53
+ /* @__PURE__ */ e(t, { children: /* @__PURE__ */ s("div", { className: "p-6 space-y-4", children: [
54
+ /* @__PURE__ */ s("div", { className: "flex items-center gap-3", children: [
55
+ /* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-green-500 to-emerald-500 shadow-lg", children: /* @__PURE__ */ e(i, { className: "w-5 h-5 text-white filter drop-shadow-sm" }) }),
56
+ /* @__PURE__ */ e(a, { tag: "h3", className: "font-semibold", children: "Do's" })
57
+ ] }),
58
+ /* @__PURE__ */ e("ul", { className: "space-y-2", children: c.map((o, r) => /* @__PURE__ */ s("li", { className: "flex items-start gap-2", children: [
59
+ /* @__PURE__ */ e(i, { className: "w-4 h-4 text-green-500 mt-0.5 shrink-0" }),
60
+ /* @__PURE__ */ e("span", { className: "text-sm", children: o })
61
+ ] }, r)) })
62
+ ] }) }),
63
+ /* @__PURE__ */ e(t, { children: /* @__PURE__ */ s("div", { className: "p-6 space-y-4", children: [
64
+ /* @__PURE__ */ s("div", { className: "flex items-center gap-3", children: [
65
+ /* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-red-500 to-rose-500 shadow-lg", children: /* @__PURE__ */ e(n, { className: "w-5 h-5 text-white filter drop-shadow-sm" }) }),
66
+ /* @__PURE__ */ e(a, { tag: "h3", className: "font-semibold", children: "Don'ts" })
67
+ ] }),
68
+ /* @__PURE__ */ e("ul", { className: "space-y-2", children: d.map((o, r) => /* @__PURE__ */ s("li", { className: "flex items-start gap-2", children: [
69
+ /* @__PURE__ */ e(n, { className: "w-4 h-4 text-red-500 mt-0.5 shrink-0" }),
70
+ /* @__PURE__ */ e("span", { className: "text-sm", children: o })
71
+ ] }, r)) })
72
+ ] }) })
73
+ ] })
74
+ ] }),
75
+ /* @__PURE__ */ s("section", { className: "space-y-8", children: [
76
+ /* @__PURE__ */ s("div", { className: "text-center", children: [
77
+ /* @__PURE__ */ e(a, { tag: "h2", className: "mb-2", children: "Common Patterns" }),
78
+ /* @__PURE__ */ e(
79
+ a,
80
+ {
81
+ tag: "p",
82
+ className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
83
+ children: "Recommended hook composition patterns"
84
+ }
85
+ )
86
+ ] }),
87
+ /* @__PURE__ */ e(t, { children: /* @__PURE__ */ s("div", { className: "p-6 space-y-6", children: [
88
+ /* @__PURE__ */ s("div", { className: "flex items-center gap-3", children: [
89
+ /* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-indigo-500 to-purple-500 shadow-lg", children: /* @__PURE__ */ e(u, { className: "w-5 h-5 text-white filter drop-shadow-sm" }) }),
90
+ /* @__PURE__ */ e(a, { tag: "h3", className: "font-semibold", children: "Accessible Modal Pattern" })
91
+ ] }),
92
+ /* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
93
+ l,
94
+ {
95
+ language: "tsx",
96
+ noExpand: !0,
97
+ code: `function Modal({ isOpen, onClose, children }) {
98
+ const modalRef = useRef<HTMLDivElement>(null);
99
+
100
+ // Lock scroll when modal opens
101
+ useLockBodyScroll(isOpen);
102
+
103
+ // Close on click outside
104
+ useClickAway(modalRef, onClose);
105
+
106
+ // Close on Escape key
107
+ useEventListener('keydown', (e) => {
108
+ if (e.key === 'Escape') onClose();
109
+ });
110
+
111
+ if (!isOpen) return null;
112
+ return <div ref={modalRef} role="dialog">{children}</div>;
113
+ }`
114
+ }
115
+ ) })
116
+ ] }) }),
117
+ /* @__PURE__ */ e(t, { children: /* @__PURE__ */ s("div", { className: "p-6 space-y-6", children: [
118
+ /* @__PURE__ */ s("div", { className: "flex items-center gap-3", children: [
119
+ /* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-blue-500 to-cyan-500 shadow-lg", children: /* @__PURE__ */ e(g, { className: "w-5 h-5 text-white filter drop-shadow-sm" }) }),
120
+ /* @__PURE__ */ e(a, { tag: "h3", className: "font-semibold", children: "Responsive Layout Pattern" })
121
+ ] }),
122
+ /* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
123
+ l,
124
+ {
125
+ language: "tsx",
126
+ noExpand: !0,
127
+ code: `function ResponsiveGrid({ children }) {
128
+ const { isMobile } = useIsMobile();
129
+ const { isGridCompact, setIsGridCompact } = useGridSwitcher();
130
+ const breakpoint = useBreakpoint();
131
+
132
+ // Auto-switch to compact on mobile
133
+ useEffect(() => {
134
+ if (isMobile && !isGridCompact) {
135
+ setIsGridCompact(true);
136
+ }
137
+ }, [isMobile]);
138
+
139
+ const cols = breakpoint === '4xl' ? 6
140
+ : breakpoint === '2xl' ? 4
141
+ : isGridCompact ? 3 : 2;
142
+
143
+ return <div className={\`grid grid-cols-\${cols}\`}>{children}</div>;
144
+ }`
145
+ }
146
+ ) })
147
+ ] }) })
148
+ ] })
149
+ ] });
150
+ };
151
+ export {
152
+ N as default
153
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DMs_SmPq.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const l=()=>{const r=["Use LucideIcons namespace for general UI icons (1500+ available)","Use custom icons for domain-specific needs (crypto, layouts, brands)","Size icons with Tailwind classes: w-4 h-4, w-5 h-5, w-6 h-6","Use currentColor via text-* classes for theme-aware coloring",'Add aria-hidden="true" on decorative icons next to text',"Add aria-label on buttons containing only an icon","Use consistent sizes within the same context (buttons, nav, etc.)","Prefer className over inline style for sizing and color"],n=["Don't import Lucide icons individually — use LucideIcons.* namespace","Don't mix sizing approaches (className vs size prop) in same project","Don't use icon-only buttons without aria-label","Don't use color alone to convey meaning (pair with text or shape)","Don't hardcode colors with fill/stroke — use Tailwind text-* classes","Don't import the entire icon set manually — rely on tree-shaking","Don't use custom Tucu icons when Lucide has an equivalent","Don't forget hover/focus states on interactive icons"],c=[{title:"Lucide is External",description:"lucide-react is not bundled inside tucu-ui — your bundler tree-shakes it. Only icons you reference are included.",icon:e.jsx(a.Package,{className:"w-5 h-5 text-green-500"})},{title:"Custom Icons Are Bundled",description:"All 96 custom icons are always included in the tucu-ui bundle. They are small SVGs (~200B each).",icon:e.jsx(a.HardDrive,{className:"w-5 h-5 text-blue-500"})},{title:"Avoid Dynamic Imports",description:"Don't lazy-load individual icons. SVGs are tiny and the network overhead outweighs the savings.",icon:e.jsx(a.Zap,{className:"w-5 h-5 text-amber-500"})},{title:"Use Namespace Pattern",description:"LucideIcons.Home is a single import. Your bundler only includes Home, not the entire library.",icon:e.jsx(a.TreeDeciduous,{className:"w-5 h-5 text-purple-500"})}];return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Best Practices",description:"Guidelines for optimal icon usage — performance, accessibility, consistency, and maintainability patterns.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(a.CheckCircle,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Do's and Don'ts"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Quick reference for icon best practices"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-6",children:[e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(a.CheckCircle,{className:"w-5 h-5 text-green-500"}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold text-green-700 dark:text-green-400",children:"Do"})]}),r.map((t,i)=>e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(a.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx(s.Typography,{tag:"span",className:"text-sm text-gray-600 dark:text-gray-400",children:t})]},i))]})}),e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(a.XCircle,{className:"w-5 h-5 text-red-500"}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold text-red-700 dark:text-red-400",children:"Don't"})]}),n.map((t,i)=>e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(a.X,{className:"w-4 h-4 text-red-500 shrink-0 mt-0.5"}),e.jsx(s.Typography,{tag:"span",className:"text-sm text-gray-600 dark:text-gray-400",children:t})]},i))]})})]})]}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Performance Tips"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"How the icon system affects bundle size"})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6",children:c.map((t,i)=>e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[t.icon,e.jsx(s.Typography,{tag:"h3",className:"font-semibold",children:t.title})]}),e.jsx(s.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 leading-relaxed",children:t.description})]})},i))})]})]})};exports.default=l;
@@ -1,17 +1,25 @@
1
1
  import { jsxs as t, Fragment as n, jsx as e } from "react/jsx-runtime";
2
- import { T as a, C as l } from "../index-D3gBsvbO.js";
3
- import { CheckCircle as m, ArrowRight as c } from "lucide-react";
2
+ import { H as l, T as a, C as m } from "../index-19KsCnyX.js";
3
+ import { Star as c, CheckCircle as d, ArrowRight as p } from "lucide-react";
4
4
  import "react-router-dom";
5
5
  import "react";
6
6
  import "react-dom";
7
- const f = () => /* @__PURE__ */ t(n, { children: [
8
- /* @__PURE__ */ t("div", { className: "text-center space-y-4", children: [
9
- /* @__PURE__ */ e(a, { tag: "h2", className: "text-3xl md:text-4xl font-bold", children: "Best Practices" }),
7
+ const x = () => /* @__PURE__ */ t(n, { children: [
8
+ /* @__PURE__ */ e(
9
+ l,
10
+ {
11
+ title: "Best Practices",
12
+ description: "Guidelines for optimal layout system implementation and common patterns.",
13
+ icon: /* @__PURE__ */ e("div", { className: "w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(c, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg" }) })
14
+ }
15
+ ),
16
+ /* @__PURE__ */ t("div", { className: "text-center", children: [
17
+ /* @__PURE__ */ e(a, { tag: "h2", className: "mb-2", children: "Best Practices" }),
10
18
  /* @__PURE__ */ e(
11
19
  a,
12
20
  {
13
21
  tag: "p",
14
- className: "text-xl text-gray-600 dark:text-gray-400 max-w-2xl mx-auto",
22
+ className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
15
23
  children: "Guidelines for optimal layout system implementation"
16
24
  }
17
25
  )
@@ -54,16 +62,16 @@ const f = () => /* @__PURE__ */ t(n, { children: [
54
62
  ]
55
63
  }
56
64
  ].map((s, i) => /* @__PURE__ */ e(
57
- l,
65
+ m,
58
66
  {
59
67
  className: "group hover:shadow-large transition-all duration-300 hover:-translate-y-1",
60
68
  children: /* @__PURE__ */ t("div", { className: "w-full space-y-4 p-4 sm:p-6", children: [
61
69
  /* @__PURE__ */ t("div", { className: "flex items-center gap-3", children: [
62
- /* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-gradient-to-br from-green-500 via-emerald-500 to-teal-500 shadow-md", children: /* @__PURE__ */ e(m, { className: "w-5 h-5 text-white filter drop-shadow-sm" }) }),
70
+ /* @__PURE__ */ e("div", { className: "p-2 rounded-lg bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 shadow-md", children: /* @__PURE__ */ e(d, { className: "w-5 h-5 text-white filter drop-shadow-sm" }) }),
63
71
  /* @__PURE__ */ e(a, { tag: "h3", className: "font-semibold text-lg", children: s.category })
64
72
  ] }),
65
73
  /* @__PURE__ */ e("ul", { className: "space-y-2", children: s.items.map((r, o) => /* @__PURE__ */ t("li", { className: "flex items-start gap-2", children: [
66
- /* @__PURE__ */ e(c, { className: "w-4 h-4 text-primary mt-0.5 shrink-0" }),
74
+ /* @__PURE__ */ e(p, { className: "w-4 h-4 text-primary mt-0.5 shrink-0" }),
67
75
  /* @__PURE__ */ e(
68
76
  a,
69
77
  {
@@ -79,5 +87,5 @@ const f = () => /* @__PURE__ */ t(n, { children: [
79
87
  )) })
80
88
  ] });
81
89
  export {
82
- f as default
90
+ x as default
83
91
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DMs_SmPq.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>{const i=["Use descriptive route names and paths","Keep route hierarchy shallow (max 2-3 levels)","Use consistent naming conventions across routes","Leverage TypeScript for type-safe route definitions","Use useMemo for dynamic route generation","Include icons for better navigation UX","Test routes with different user roles and permissions","Use basePath for MFE applications","Provide isAuthenticated and loginUrl in MFE mode","Use enableNestedRoutes when child components need internal routing"],n=["Create overly deep nesting (>3 levels)",'Use generic names like "Page" or "Component"',"Hardcode paths in components — use ReactRouter hooks","Forget to handle 404 pages with customRoutes","Mix routing logic with business logic","Skip accessibility considerations in navigation","Ignore mobile navigation UX patterns","Mix Standalone and MFE props in the same ThemeProvider","Import directly from react-router-dom — use ReactRouter namespace","Use StandaloneAppThemeProvider directly — use ThemeProvider"];return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Best Practices",description:"Guidelines for building maintainable, accessible, and type-safe routing configurations.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(a.ShieldCheck,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Recommendations"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Follow these guidelines for robust routing"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"p-6 space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-green-500 to-emerald-500 shadow-lg",children:e.jsx(a.Check,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold",children:"Do's"})]}),e.jsx("ul",{className:"space-y-2",children:i.map((t,r)=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(a.Check,{className:"w-4 h-4 text-green-500 mt-0.5 shrink-0"}),e.jsx("span",{className:"text-sm",children:t})]},r))})]})}),e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"p-6 space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-red-500 to-rose-500 shadow-lg",children:e.jsx(a.X,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold",children:"Don'ts"})]}),e.jsx("ul",{className:"space-y-2",children:n.map((t,r)=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(a.X,{className:"w-4 h-4 text-red-500 mt-0.5 shrink-0"}),e.jsx("span",{className:"text-sm",children:t})]},r))})]})})]})]})]})};exports.default=o;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DMs_SmPq.js"),t=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>{const i=["Use semantic HTML elements (button, nav, main, aside, header)","Always provide label prop on Input, Select, and Checkbox","Use helperText to give additional context to form fields","Test with keyboard-only navigation before shipping","Use aria-label when visual label is not possible","Set dismissible={true} on non-critical alerts","Use the correct variant on Alert (info/warning/error/success)","Trust built-in ARIA — components auto-wire roles and attributes"],l=["Don't use div or span for interactive elements — use Button","Don't rely on color alone to convey information","Don't suppress focus outlines (outline-none without replacement)","Don't use aria-label when a visible label exists (duplicates)","Don't auto-play animations without prefers-reduced-motion check","Don't trap focus in elements that shouldn't trap (non-modal)","Don't use placeholder as a substitute for label","Don't disable zoom on mobile viewports"],n=[{title:"Color Contrast",description:"Maintain minimum 4.5:1 ratio for normal text, 3:1 for large text. Use browser DevTools to check.",icon:e.jsx(t.Palette,{className:"w-5 h-5 text-purple-500"})},{title:"Focus Order",description:"Ensure Tab order follows visual reading order. Never use positive tabIndex values.",icon:e.jsx(t.ArrowDownUp,{className:"w-5 h-5 text-blue-500"})},{title:"Error Messages",description:"Connect errors to fields via aria-describedby. tucu-ui Input/Select/Checkbox do this automatically.",icon:e.jsx(t.AlertCircle,{className:"w-5 h-5 text-red-500"})},{title:"Live Regions",description:'Use Alert component for dynamic content — it includes role="alert" and aria-live="assertive" built-in.',icon:e.jsx(t.Bell,{className:"w-5 h-5 text-amber-500"})}];return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Best Practices",description:"Guidelines for maintaining accessibility when building with tucu-ui. Follow these patterns to ensure your application is usable by everyone.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(t.ShieldCheck,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Do's and Don'ts"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Quick reference for accessible patterns"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-6",children:[e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(t.CheckCircle,{className:"w-5 h-5 text-green-500"}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold text-green-700 dark:text-green-400",children:"Do"})]}),i.map((a,r)=>e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(t.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx(s.Typography,{tag:"span",className:"text-sm text-gray-600 dark:text-gray-400",children:a})]},r))]})}),e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(t.XCircle,{className:"w-5 h-5 text-red-500"}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold text-red-700 dark:text-red-400",children:"Don't"})]}),l.map((a,r)=>e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(t.X,{className:"w-4 h-4 text-red-500 shrink-0 mt-0.5"}),e.jsx(s.Typography,{tag:"span",className:"text-sm text-gray-600 dark:text-gray-400",children:a})]},r))]})})]})]}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Quick Tips"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Common accessibility patterns to keep in mind"})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6",children:n.map((a,r)=>e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[a.icon,e.jsx(s.Typography,{tag:"h3",className:"font-semibold",children:a.title})]}),e.jsx(s.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 leading-relaxed",children:a.description})]})},r))})]})]})};exports.default=o;
@@ -0,0 +1,151 @@
1
+ import { jsxs as s, Fragment as d, jsx as e } from "react/jsx-runtime";
2
+ import { H as m, T as t, C as i } from "../index-19KsCnyX.js";
3
+ import { CheckCircle as l, Check as h, XCircle as p, X as f, Zap as u, Timer as g, Eye as x, Layers as y } from "lucide-react";
4
+ import "react-router-dom";
5
+ import "react";
6
+ import "react-dom";
7
+ const D = () => {
8
+ const o = [
9
+ "Always define a TypeScript interface for your form values",
10
+ "Use generic types: Form<FormValues>, FormField<FormValues>",
11
+ "Prefer centralized validationSchema for consistency",
12
+ "Provide clear, user-friendly error messages",
13
+ 'Use mode: "onBlur" for large forms (fewer re-renders)',
14
+ 'Use mode: "onChange" when real-time feedback is needed',
15
+ "Always add labels for accessibility (FormField label prop)",
16
+ "Use reset() to clear forms after successful submission"
17
+ ], n = [
18
+ "Don't use uncontrolled inputs outside FormField — they won't register",
19
+ "Don't call setValue without shouldValidate: true if you need instant feedback",
20
+ "Don't put useFormContext in a component outside Form — it will crash",
21
+ "Don't mix controlled and uncontrolled patterns in the same field",
22
+ "Don't use watch() for values you only read on submit — use getValues() instead",
23
+ "Don't forget defaultValues — required for reset() and initial state",
24
+ "Don't validate on every keystroke for complex async checks — use debounce",
25
+ "Don't skip FormField for inputs that need error display"
26
+ ], c = [
27
+ {
28
+ title: "Isolated Re-renders",
29
+ description: "react-hook-form only re-renders the field that changed, not the whole form. This is automatic.",
30
+ icon: /* @__PURE__ */ e(u, { className: "w-5 h-5 text-amber-500" })
31
+ },
32
+ {
33
+ title: "Use onBlur Mode",
34
+ description: 'For forms with 10+ fields, mode: "onBlur" validates only when the user leaves a field, reducing re-renders.',
35
+ icon: /* @__PURE__ */ e(g, { className: "w-5 h-5 text-blue-500" })
36
+ },
37
+ {
38
+ title: "Avoid watch() Overuse",
39
+ description: "Each watch() call subscribes to re-renders. Use getValues() for one-time reads in handlers.",
40
+ icon: /* @__PURE__ */ e(x, { className: "w-5 h-5 text-purple-500" })
41
+ },
42
+ {
43
+ title: "Split Large Forms",
44
+ description: "For wizard/multi-step flows, split into multiple Form instances or conditional sections.",
45
+ icon: /* @__PURE__ */ e(y, { className: "w-5 h-5 text-green-500" })
46
+ }
47
+ ];
48
+ return /* @__PURE__ */ s(d, { children: [
49
+ /* @__PURE__ */ e(
50
+ m,
51
+ {
52
+ title: "Best Practices",
53
+ description: "Guidelines for building performant, accessible, and maintainable forms with the tucu-ui form system.",
54
+ icon: /* @__PURE__ */ e("div", { className: "w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(l, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg" }) })
55
+ }
56
+ ),
57
+ /* @__PURE__ */ s("section", { className: "space-y-8", children: [
58
+ /* @__PURE__ */ s("div", { className: "text-center", children: [
59
+ /* @__PURE__ */ e(t, { tag: "h2", className: "mb-2", children: "Do's and Don'ts" }),
60
+ /* @__PURE__ */ e(
61
+ t,
62
+ {
63
+ tag: "p",
64
+ className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
65
+ children: "Quick reference for form development"
66
+ }
67
+ )
68
+ ] }),
69
+ /* @__PURE__ */ s("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-6", children: [
70
+ /* @__PURE__ */ e(i, { children: /* @__PURE__ */ s("div", { className: "w-full p-4 sm:p-6 space-y-3", children: [
71
+ /* @__PURE__ */ s("div", { className: "flex items-center gap-2 mb-4", children: [
72
+ /* @__PURE__ */ e(l, { className: "w-5 h-5 text-green-500" }),
73
+ /* @__PURE__ */ e(
74
+ t,
75
+ {
76
+ tag: "h3",
77
+ className: "font-semibold text-green-700 dark:text-green-400",
78
+ children: "Do"
79
+ }
80
+ )
81
+ ] }),
82
+ o.map((a, r) => /* @__PURE__ */ s("div", { className: "flex items-start gap-2", children: [
83
+ /* @__PURE__ */ e(h, { className: "w-4 h-4 text-green-500 shrink-0 mt-0.5" }),
84
+ /* @__PURE__ */ e(
85
+ t,
86
+ {
87
+ tag: "span",
88
+ className: "text-sm text-gray-600 dark:text-gray-400",
89
+ children: a
90
+ }
91
+ )
92
+ ] }, r))
93
+ ] }) }),
94
+ /* @__PURE__ */ e(i, { children: /* @__PURE__ */ s("div", { className: "w-full p-4 sm:p-6 space-y-3", children: [
95
+ /* @__PURE__ */ s("div", { className: "flex items-center gap-2 mb-4", children: [
96
+ /* @__PURE__ */ e(p, { className: "w-5 h-5 text-red-500" }),
97
+ /* @__PURE__ */ e(
98
+ t,
99
+ {
100
+ tag: "h3",
101
+ className: "font-semibold text-red-700 dark:text-red-400",
102
+ children: "Don't"
103
+ }
104
+ )
105
+ ] }),
106
+ n.map((a, r) => /* @__PURE__ */ s("div", { className: "flex items-start gap-2", children: [
107
+ /* @__PURE__ */ e(f, { className: "w-4 h-4 text-red-500 shrink-0 mt-0.5" }),
108
+ /* @__PURE__ */ e(
109
+ t,
110
+ {
111
+ tag: "span",
112
+ className: "text-sm text-gray-600 dark:text-gray-400",
113
+ children: a
114
+ }
115
+ )
116
+ ] }, r))
117
+ ] }) })
118
+ ] })
119
+ ] }),
120
+ /* @__PURE__ */ s("section", { className: "space-y-8", children: [
121
+ /* @__PURE__ */ s("div", { className: "text-center", children: [
122
+ /* @__PURE__ */ e(t, { tag: "h2", className: "mb-2", children: "Performance Tips" }),
123
+ /* @__PURE__ */ e(
124
+ t,
125
+ {
126
+ tag: "p",
127
+ className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
128
+ children: "How to keep forms fast as they grow in complexity"
129
+ }
130
+ )
131
+ ] }),
132
+ /* @__PURE__ */ e("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6", children: c.map((a, r) => /* @__PURE__ */ e(i, { children: /* @__PURE__ */ s("div", { className: "w-full p-4 sm:p-6 space-y-2", children: [
133
+ /* @__PURE__ */ s("div", { className: "flex items-center gap-3", children: [
134
+ a.icon,
135
+ /* @__PURE__ */ e(t, { tag: "h3", className: "font-semibold", children: a.title })
136
+ ] }),
137
+ /* @__PURE__ */ e(
138
+ t,
139
+ {
140
+ tag: "p",
141
+ className: "text-sm text-gray-600 dark:text-gray-400 leading-relaxed",
142
+ children: a.description
143
+ }
144
+ )
145
+ ] }) }, r)) })
146
+ ] })
147
+ ] });
148
+ };
149
+ export {
150
+ D as default
151
+ };
@@ -0,0 +1,34 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DMs_SmPq.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const l=()=>{const o=["Use useIsMounted to guard async state updates and prevent memory leaks","Prefer useElementSize over useMeasure for simple width/height tracking","Leverage generic types: useElementSize<HTMLCanvasElement>()","Debounce rapid state changes when using useToastStore","Import only needed hooks for optimal tree-shaking","Combine useLockBodyScroll with focus management for accessible modals","Use useEventListener for keyboard navigation instead of inline handlers","Pass proper event types to useEventListener for type safety","Use useClickAway with a RefObject for dropdown/popover close behavior","Call useAnchorScroll once at root level for smooth scroll navigation"],i=["Destructure useCopyToClipboard as [value, fn] — it returns [stateObj, fn]","Forget that useScrollableSlider requires react-router-dom context","Use useMeasure when you only need width/height — it has more overhead","Lock body scroll without preserving scrollbar width (useLockBodyScroll handles this)","Create multiple useToastStore instances — it is a singleton Zustand store","Ignore the noUserInteraction field in useCopyToClipboard state","Use useIsMounted as a function — it returns a boolean directly","Mix up useElementSize ref (callback ref) with useRef (RefObject)","Hardcode breakpoint pixel values — use useBreakpoint named values instead","Forget cleanup when using useEventListener with custom elements"];return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Best Practices",description:"Guidelines for optimal hook usage, common pitfalls to avoid, and patterns that ensure performance, type safety, and accessibility.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(a.ShieldCheck,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Recommendations"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Follow these guidelines for robust hook implementations"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"p-6 space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-green-500 to-emerald-500 shadow-lg",children:e.jsx(a.Check,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold",children:"Do's"})]}),e.jsx("ul",{className:"space-y-2",children:o.map((r,t)=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(a.Check,{className:"w-4 h-4 text-green-500 mt-0.5 shrink-0"}),e.jsx("span",{className:"text-sm",children:r})]},t))})]})}),e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"p-6 space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 rounded-lg bg-linear-to-br from-red-500 to-rose-500 shadow-lg",children:e.jsx(a.X,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold",children:"Don'ts"})]}),e.jsx("ul",{className:"space-y-2",children:i.map((r,t)=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(a.X,{className:"w-4 h-4 text-red-500 mt-0.5 shrink-0"}),e.jsx("span",{className:"text-sm",children:r})]},t))})]})})]})]}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Common Patterns"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Recommended hook composition patterns"})]}),e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"p-6 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(a.Puzzle,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold",children:"Accessible Modal Pattern"})]}),e.jsx("div",{className:"bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto",children:e.jsx(s.CodeBlock,{language:"tsx",noExpand:!0,code:`function Modal({ isOpen, onClose, children }) {
2
+ const modalRef = useRef<HTMLDivElement>(null);
3
+
4
+ // Lock scroll when modal opens
5
+ useLockBodyScroll(isOpen);
6
+
7
+ // Close on click outside
8
+ useClickAway(modalRef, onClose);
9
+
10
+ // Close on Escape key
11
+ useEventListener('keydown', (e) => {
12
+ if (e.key === 'Escape') onClose();
13
+ });
14
+
15
+ if (!isOpen) return null;
16
+ return <div ref={modalRef} role="dialog">{children}</div>;
17
+ }`})})]})}),e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"p-6 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-blue-500 to-cyan-500 shadow-lg",children:e.jsx(a.Monitor,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold",children:"Responsive Layout Pattern"})]}),e.jsx("div",{className:"bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto",children:e.jsx(s.CodeBlock,{language:"tsx",noExpand:!0,code:`function ResponsiveGrid({ children }) {
18
+ const { isMobile } = useIsMobile();
19
+ const { isGridCompact, setIsGridCompact } = useGridSwitcher();
20
+ const breakpoint = useBreakpoint();
21
+
22
+ // Auto-switch to compact on mobile
23
+ useEffect(() => {
24
+ if (isMobile && !isGridCompact) {
25
+ setIsGridCompact(true);
26
+ }
27
+ }, [isMobile]);
28
+
29
+ const cols = breakpoint === '4xl' ? 6
30
+ : breakpoint === '2xl' ? 4
31
+ : isGridCompact ? 3 : 2;
32
+
33
+ return <div className={\`grid grid-cols-\${cols}\`}>{children}</div>;
34
+ }`})})]})})]})]})};exports.default=l;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DMs_SmPq.js"),r=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const l=()=>{const i=["Use the useTheme hook to access theme state","Utilize built-in color presets for consistency","Test your application in both light and dark modes","Use the settings panel for user customization","Leverage persistent storage for user preferences","Use semantic Tailwind classes (bg-brand, text-secondary)","Respect THEME_STYLE_LAYOUTS constraints when changing layouts"],n=["Directly manipulate CSS custom properties","Hardcode colors that don't adapt to themes","Override theme state without using setters","Ignore RTL support for international apps","Disable all settings without providing alternatives","Use arbitrary hex values instead of design tokens","Assign layouts incompatible with the current theme style"];return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Best Practices",description:"Recommended patterns and anti-patterns for working with the theme system effectively.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(r.ShieldCheck,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Guidelines"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Follow these patterns to keep your theming consistent and maintainable"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-6",children:[e.jsx(s.CardContainer,{children:e.jsx(s.CardTitle,{title:"Do's",children:e.jsx("ul",{className:"space-y-2",children:i.map((t,a)=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(r.Check,{className:"w-4 h-4 text-green-500 mt-0.5 shrink-0"}),e.jsx("span",{className:"text-sm",children:t})]},a))})})}),e.jsx(s.CardContainer,{children:e.jsx(s.CardTitle,{title:"Don'ts",children:e.jsx("ul",{className:"space-y-2",children:n.map((t,a)=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(r.X,{className:"w-4 h-4 text-red-500 mt-0.5 shrink-0"}),e.jsx("span",{className:"text-sm",children:t})]},a))})})})]})]})]})};exports.default=l;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-DMs_SmPq.js"),s=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const l=()=>{const i=[{category:"Layout Selection",items:["Admin: Use for complex applications with many navigation items and sidebar menus","Horizontal: Use for content-focused sites and simple applications with top navigation","Clean: Use for authentication flows, landing pages, and standalone content"]},{category:"ThemeProvider Setup",items:["Always wrap your application with ThemeProvider before using layouts","Provide menuItems prop for Admin and Horizontal layouts","Use layout prop to control which layout is rendered","Theme settings are automatically persisted to localStorage"]},{category:"Responsive Design",items:["Always test layouts on mobile devices","Use provided breakpoint system for responsive behavior","Consider touch interactions for mobile navigation","Admin layout automatically shows drawer on mobile"]},{category:"Accessibility",items:["Provide meaningful menu item names","Use semantic HTML structure","Test keyboard navigation","Ensure proper color contrast in all themes","Support RTL/LTR for international users"]}];return e.jsxs(e.Fragment,{children:[e.jsx(t.HeroCard,{title:"Best Practices",description:"Guidelines for optimal layout system implementation and common patterns.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(s.Star,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("div",{className:"text-center",children:[e.jsx(t.Typography,{tag:"h2",className:"mb-2",children:"Best Practices"}),e.jsx(t.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Guidelines for optimal layout system implementation"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-6",children:i.map((a,r)=>e.jsx(t.CardContainer,{className:"group hover:shadow-large transition-all duration-300 hover:-translate-y-1",children:e.jsxs("div",{className:"w-full space-y-4 p-4 sm:p-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-green-500 via-emerald-500 to-teal-500 shadow-md",children:e.jsx(s.CheckCircle,{className:"w-5 h-5 text-white filter drop-shadow-sm"})}),e.jsx(t.Typography,{tag:"h3",className:"font-semibold text-lg",children:a.category})]}),e.jsx("ul",{className:"space-y-2",children:a.items.map((o,n)=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(s.ArrowRight,{className:"w-4 h-4 text-primary mt-0.5 shrink-0"}),e.jsx(t.Typography,{tag:"span",className:"text-sm text-gray-600 dark:text-gray-400",children:o})]},n))})]})},r))})]})};exports.default=l;
@@ -0,0 +1,61 @@
1
+ import { jsxs as t, Fragment as c, jsx as e } from "react/jsx-runtime";
2
+ import { H as m, T as r, C as i, a as n } from "../index-19KsCnyX.js";
3
+ import { ShieldCheck as d, Check as h, X as p } from "lucide-react";
4
+ import "react-router-dom";
5
+ import "react";
6
+ import "react-dom";
7
+ const N = () => {
8
+ const l = [
9
+ "Use the useTheme hook to access theme state",
10
+ "Utilize built-in color presets for consistency",
11
+ "Test your application in both light and dark modes",
12
+ "Use the settings panel for user customization",
13
+ "Leverage persistent storage for user preferences",
14
+ "Use semantic Tailwind classes (bg-brand, text-secondary)",
15
+ "Respect THEME_STYLE_LAYOUTS constraints when changing layouts"
16
+ ], o = [
17
+ "Directly manipulate CSS custom properties",
18
+ "Hardcode colors that don't adapt to themes",
19
+ "Override theme state without using setters",
20
+ "Ignore RTL support for international apps",
21
+ "Disable all settings without providing alternatives",
22
+ "Use arbitrary hex values instead of design tokens",
23
+ "Assign layouts incompatible with the current theme style"
24
+ ];
25
+ return /* @__PURE__ */ t(c, { children: [
26
+ /* @__PURE__ */ e(
27
+ m,
28
+ {
29
+ title: "Best Practices",
30
+ description: "Recommended patterns and anti-patterns for working with the theme system effectively.",
31
+ icon: /* @__PURE__ */ e("div", { className: "w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(d, { className: "w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg" }) })
32
+ }
33
+ ),
34
+ /* @__PURE__ */ t("section", { className: "space-y-8", children: [
35
+ /* @__PURE__ */ t("div", { className: "text-center", children: [
36
+ /* @__PURE__ */ e(r, { tag: "h2", className: "mb-2", children: "Guidelines" }),
37
+ /* @__PURE__ */ e(
38
+ r,
39
+ {
40
+ tag: "p",
41
+ className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
42
+ children: "Follow these patterns to keep your theming consistent and maintainable"
43
+ }
44
+ )
45
+ ] }),
46
+ /* @__PURE__ */ t("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-6", children: [
47
+ /* @__PURE__ */ e(i, { children: /* @__PURE__ */ e(n, { title: "Do's", children: /* @__PURE__ */ e("ul", { className: "space-y-2", children: l.map((s, a) => /* @__PURE__ */ t("li", { className: "flex items-start gap-2", children: [
48
+ /* @__PURE__ */ e(h, { className: "w-4 h-4 text-green-500 mt-0.5 shrink-0" }),
49
+ /* @__PURE__ */ e("span", { className: "text-sm", children: s })
50
+ ] }, a)) }) }) }),
51
+ /* @__PURE__ */ e(i, { children: /* @__PURE__ */ e(n, { title: "Don'ts", children: /* @__PURE__ */ e("ul", { className: "space-y-2", children: o.map((s, a) => /* @__PURE__ */ t("li", { className: "flex items-start gap-2", children: [
52
+ /* @__PURE__ */ e(p, { className: "w-4 h-4 text-red-500 mt-0.5 shrink-0" }),
53
+ /* @__PURE__ */ e("span", { className: "text-sm", children: s })
54
+ ] }, a)) }) }) })
55
+ ] })
56
+ ] })
57
+ ] });
58
+ };
59
+ export {
60
+ N as default
61
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DMs_SmPq.js"),r=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>{const i=["Always define a TypeScript interface for your form values","Use generic types: Form<FormValues>, FormField<FormValues>","Prefer centralized validationSchema for consistency","Provide clear, user-friendly error messages",'Use mode: "onBlur" for large forms (fewer re-renders)','Use mode: "onChange" when real-time feedback is needed',"Always add labels for accessibility (FormField label prop)","Use reset() to clear forms after successful submission"],l=["Don't use uncontrolled inputs outside FormField — they won't register","Don't call setValue without shouldValidate: true if you need instant feedback","Don't put useFormContext in a component outside Form — it will crash","Don't mix controlled and uncontrolled patterns in the same field","Don't use watch() for values you only read on submit — use getValues() instead","Don't forget defaultValues — required for reset() and initial state","Don't validate on every keystroke for complex async checks — use debounce","Don't skip FormField for inputs that need error display"],n=[{title:"Isolated Re-renders",description:"react-hook-form only re-renders the field that changed, not the whole form. This is automatic.",icon:e.jsx(r.Zap,{className:"w-5 h-5 text-amber-500"})},{title:"Use onBlur Mode",description:'For forms with 10+ fields, mode: "onBlur" validates only when the user leaves a field, reducing re-renders.',icon:e.jsx(r.Timer,{className:"w-5 h-5 text-blue-500"})},{title:"Avoid watch() Overuse",description:"Each watch() call subscribes to re-renders. Use getValues() for one-time reads in handlers.",icon:e.jsx(r.Eye,{className:"w-5 h-5 text-purple-500"})},{title:"Split Large Forms",description:"For wizard/multi-step flows, split into multiple Form instances or conditional sections.",icon:e.jsx(r.Layers,{className:"w-5 h-5 text-green-500"})}];return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Best Practices",description:"Guidelines for building performant, accessible, and maintainable forms with the tucu-ui form system.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-green-500 via-emerald-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(r.CheckCircle,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Do's and Don'ts"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Quick reference for form development"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-6",children:[e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(r.CheckCircle,{className:"w-5 h-5 text-green-500"}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold text-green-700 dark:text-green-400",children:"Do"})]}),i.map((t,a)=>e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(r.Check,{className:"w-4 h-4 text-green-500 shrink-0 mt-0.5"}),e.jsx(s.Typography,{tag:"span",className:"text-sm text-gray-600 dark:text-gray-400",children:t})]},a))]})}),e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(r.XCircle,{className:"w-5 h-5 text-red-500"}),e.jsx(s.Typography,{tag:"h3",className:"font-semibold text-red-700 dark:text-red-400",children:"Don't"})]}),l.map((t,a)=>e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(r.X,{className:"w-4 h-4 text-red-500 shrink-0 mt-0.5"}),e.jsx(s.Typography,{tag:"span",className:"text-sm text-gray-600 dark:text-gray-400",children:t})]},a))]})})]})]}),e.jsxs("section",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(s.Typography,{tag:"h2",className:"mb-2",children:"Performance Tips"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"How to keep forms fast as they grow in complexity"})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6",children:n.map((t,a)=>e.jsx(s.CardContainer,{children:e.jsxs("div",{className:"w-full p-4 sm:p-6 space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[t.icon,e.jsx(s.Typography,{tag:"h3",className:"font-semibold",children:t.title})]}),e.jsx(s.Typography,{tag:"p",className:"text-sm text-gray-600 dark:text-gray-400 leading-relaxed",children:t.description})]})},a))})]})]})};exports.default=o;