@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 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DMs_SmPq.js"),o=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const l=()=>{const r=[{icon:e.jsx(o.Monitor,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"Responsive & Layout",description:"Screen size detection and element measurement hooks",color:"from-blue-500 via-cyan-500 to-teal-500",hooks:[{name:"useBreakpoint",desc:"Returns current breakpoint (xs–4xl)"},{name:"useIsMobile",desc:"Returns { isMobile: boolean }"},{name:"useElementSize",desc:"Tracks element width/height via ResizeObserver"},{name:"useMeasure",desc:"Full bounds (x, y, width, height, top, right, bottom, left)"},{name:"useWindowScroll",desc:"Returns { x, y } scroll position"}]},{icon:e.jsx(o.MousePointer,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"User Interaction",description:"Click detection, clipboard, and event handling",color:"from-purple-500 via-violet-500 to-indigo-500",hooks:[{name:"useClickAway",desc:"Detects clicks outside a ref element"},{name:"useCopyToClipboard",desc:"Clipboard copy with state tracking"},{name:"useEventListener",desc:"Type-safe event listener with auto-cleanup"}]},{icon:e.jsx(o.Layout,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"UI State Management",description:"Global Zustand-based state for UI behavior",color:"from-green-500 via-emerald-500 to-teal-500",hooks:[{name:"useGridSwitcher",desc:"Toggle compact/normal grid layout"},{name:"useLockBodyScroll",desc:"Lock body scroll (preserves scrollbar)"},{name:"useToastStore",desc:"Global toast notifications (Zustand)"},{name:"useScrollableSlider",desc:"Horizontal slider with prev/next controls"}]},{icon:e.jsx(o.Wrench,{className:"w-8 h-8 text-white filter drop-shadow-sm"}),title:"Utilities",description:"Lifecycle and navigation helpers",color:"from-orange-500 via-amber-500 to-yellow-500",hooks:[{name:"useIsMounted",desc:"Returns boolean for component mount state"},{name:"useAnchorScroll",desc:"Smooth scroll to anchor links automatically"}]}];return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Hook Categories",description:"14 hooks organized into 4 categories: Responsive & Layout, User Interaction, UI State Management, and Utilities.",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-purple-500 via-violet-500 to-indigo-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(o.FolderTree,{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:"Organized Collection"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Each hook category addresses a different development need"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-6",children:r.map((t,i)=>e.jsx(s.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-4",children:[e.jsx("div",{className:`p-3 rounded-xl bg-linear-to-br ${t.color} group-hover:scale-110 transition-all duration-300 shadow-lg`,children:t.icon}),e.jsxs("div",{children:[e.jsx(s.Typography,{tag:"h3",className:"font-semibold text-lg group-hover:text-primary transition-colors duration-300",children:t.title}),e.jsx(s.Typography,{tag:"p",className:"text-sm text-gray-500 dark:text-gray-400",children:t.description})]})]}),e.jsx("div",{className:"space-y-2",children:t.hooks.map((a,n)=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(s.Badge,{className:"text-dark dark:text-white shrink-0",children:a.name}),e.jsx("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:a.desc})]},n))})]})},i))})]})]})};exports.default=l;
@@ -0,0 +1,467 @@
1
+ import { jsxs as r, Fragment as o, jsx as e } from "react/jsx-runtime";
2
+ import { H as d, T as a, C as s, a as l, c as t } from "../index-19KsCnyX.js";
3
+ import { BookOpen as n } from "lucide-react";
4
+ import "react-router-dom";
5
+ import "react";
6
+ import "react-dom";
7
+ const p = () => /* @__PURE__ */ r(o, { children: [
8
+ /* @__PURE__ */ e(
9
+ d,
10
+ {
11
+ title: "Hook Documentation",
12
+ description: "Complete API reference for all 14 hooks with signatures, parameters, return types, and usage examples.",
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-indigo-500 via-blue-500 to-cyan-500 rounded-full flex items-center justify-center shadow-lg", children: /* @__PURE__ */ e(n, { 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__ */ r("section", { className: "space-y-8", children: [
17
+ /* @__PURE__ */ r("div", { className: "text-center", children: [
18
+ /* @__PURE__ */ e(a, { tag: "h2", className: "mb-2", children: "Responsive & Layout Hooks" }),
19
+ /* @__PURE__ */ e(
20
+ a,
21
+ {
22
+ tag: "p",
23
+ className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
24
+ children: "Screen size detection and element measurement"
25
+ }
26
+ )
27
+ ] }),
28
+ /* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(l, { title: "useBreakpoint & useIsMobile", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full space-y-6 p-4 sm:p-6", children: /* @__PURE__ */ r("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-6", children: [
29
+ /* @__PURE__ */ r("div", { className: "p-6 border rounded-lg", children: [
30
+ /* @__PURE__ */ e(a, { tag: "h5", className: "font-medium mb-3", children: "useBreakpoint()" }),
31
+ /* @__PURE__ */ e(
32
+ a,
33
+ {
34
+ tag: "p",
35
+ className: "text-gray-600 dark:text-gray-400 mb-4",
36
+ children: "Returns the current screen breakpoint name. Built on createBreakpoint from react-use."
37
+ }
38
+ ),
39
+ /* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
40
+ t,
41
+ {
42
+ language: "tsx",
43
+ noExpand: !0,
44
+ code: `const breakpoint = useBreakpoint();
45
+ // Returns: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl'
46
+
47
+ // Breakpoint sizes:
48
+ // xs: 480px, sm: 640px, md: 768px, lg: 1024px
49
+ // xl: 1280px, 2xl: 1440px, 3xl: 1780px, 4xl: 2160px`
50
+ }
51
+ ) })
52
+ ] }),
53
+ /* @__PURE__ */ r("div", { className: "p-6 border rounded-lg", children: [
54
+ /* @__PURE__ */ e(a, { tag: "h5", className: "font-medium mb-3", children: "useIsMobile()" }),
55
+ /* @__PURE__ */ e(
56
+ a,
57
+ {
58
+ tag: "p",
59
+ className: "text-gray-600 dark:text-gray-400 mb-4",
60
+ children: "Returns an object with isMobile boolean. True for xs, sm, md breakpoints (≤768px)."
61
+ }
62
+ ),
63
+ /* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
64
+ t,
65
+ {
66
+ language: "tsx",
67
+ noExpand: !0,
68
+ code: `const { isMobile } = useIsMobile();
69
+ // Returns: { isMobile: boolean }
70
+
71
+ // Usage
72
+ if (isMobile) {
73
+ return <MobileLayout />;
74
+ }
75
+ return <DesktopLayout />;`
76
+ }
77
+ ) })
78
+ ] })
79
+ ] }) }) }) }),
80
+ /* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(l, { title: "useElementSize & useMeasure", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full space-y-6 p-4 sm:p-6", children: /* @__PURE__ */ r("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-6", children: [
81
+ /* @__PURE__ */ r("div", { className: "p-6 border rounded-lg", children: [
82
+ /* @__PURE__ */ e(a, { tag: "h5", className: "font-medium mb-3", children: "useElementSize<T>()" }),
83
+ /* @__PURE__ */ e(
84
+ a,
85
+ {
86
+ tag: "p",
87
+ className: "text-gray-600 dark:text-gray-400 mb-4",
88
+ children: "Tracks element dimensions. Returns a callback ref setter (not a RefObject) and size object."
89
+ }
90
+ ),
91
+ /* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
92
+ t,
93
+ {
94
+ language: "tsx",
95
+ noExpand: !0,
96
+ code: `const [ref, { width, height }] = useElementSize<HTMLDivElement>();
97
+ // ref: (node: T | null) => void — callback ref
98
+ // Returns: [callbackRef, { width: number; height: number }]
99
+
100
+ return (
101
+ <div ref={ref} className="resizable">
102
+ Size: {width} × {height}px
103
+ </div>
104
+ );`
105
+ }
106
+ ) })
107
+ ] }),
108
+ /* @__PURE__ */ r("div", { className: "p-6 border rounded-lg", children: [
109
+ /* @__PURE__ */ e(a, { tag: "h5", className: "font-medium mb-3", children: "useMeasure<T>()" }),
110
+ /* @__PURE__ */ e(
111
+ a,
112
+ {
113
+ tag: "p",
114
+ className: "text-gray-600 dark:text-gray-400 mb-4",
115
+ children: "Advanced measurement with full bounds. Uses ResizeObserver internally (from react-use)."
116
+ }
117
+ ),
118
+ /* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
119
+ t,
120
+ {
121
+ language: "tsx",
122
+ noExpand: !0,
123
+ code: `const [ref, bounds] = useMeasure<HTMLDivElement>();
124
+ // bounds: { x, y, width, height, top, right, bottom, left }
125
+
126
+ return (
127
+ <div ref={ref}>
128
+ Position: ({bounds.x}, {bounds.y})
129
+ Size: {bounds.width} × {bounds.height}
130
+ </div>
131
+ );`
132
+ }
133
+ ) })
134
+ ] })
135
+ ] }) }) }) }),
136
+ /* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(l, { title: "useWindowScroll", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full space-y-6 p-4 sm:p-6", children: /* @__PURE__ */ r("div", { className: "p-6 border rounded-lg", children: [
137
+ /* @__PURE__ */ e(a, { tag: "h5", className: "font-medium mb-3", children: "useWindowScroll()" }),
138
+ /* @__PURE__ */ e(
139
+ a,
140
+ {
141
+ tag: "p",
142
+ className: "text-gray-600 dark:text-gray-400 mb-4",
143
+ children: "Returns current scroll position. Custom implementation that detects scroll on window, document, and overflow containers."
144
+ }
145
+ ),
146
+ /* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
147
+ t,
148
+ {
149
+ language: "tsx",
150
+ noExpand: !0,
151
+ code: `const { x, y } = useWindowScroll();
152
+ // Returns: { x: number; y: number }
153
+
154
+ // Tracks scroll from window, document, and containers with overflow`
155
+ }
156
+ ) })
157
+ ] }) }) }) })
158
+ ] }),
159
+ /* @__PURE__ */ r("section", { className: "space-y-8", children: [
160
+ /* @__PURE__ */ r("div", { className: "text-center", children: [
161
+ /* @__PURE__ */ e(a, { tag: "h2", className: "mb-2", children: "User Interaction Hooks" }),
162
+ /* @__PURE__ */ e(
163
+ a,
164
+ {
165
+ tag: "p",
166
+ className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
167
+ children: "Click detection, clipboard, and event handling"
168
+ }
169
+ )
170
+ ] }),
171
+ /* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(
172
+ l,
173
+ {
174
+ title: "useClickAway & useCopyToClipboard",
175
+ className: "mt-2 mb-2",
176
+ children: /* @__PURE__ */ e("div", { className: "w-full space-y-6 p-4 sm:p-6", children: /* @__PURE__ */ r("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-6", children: [
177
+ /* @__PURE__ */ r("div", { className: "p-6 border rounded-lg", children: [
178
+ /* @__PURE__ */ e(a, { tag: "h5", className: "font-medium mb-3", children: "useClickAway(ref, handler, events?)" }),
179
+ /* @__PURE__ */ e(
180
+ a,
181
+ {
182
+ tag: "p",
183
+ className: "text-gray-600 dark:text-gray-400 mb-4",
184
+ children: "Detects clicks outside a ref element. Re-exported from react-use. Defaults to mousedown + touchstart."
185
+ }
186
+ ),
187
+ /* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
188
+ t,
189
+ {
190
+ language: "tsx",
191
+ noExpand: !0,
192
+ code: `const ref = useRef<HTMLDivElement>(null);
193
+ useClickAway(ref, () => {
194
+ setIsOpen(false);
195
+ });
196
+ // Optional 3rd param: event names array
197
+ // Default: ['mousedown', 'touchstart']`
198
+ }
199
+ ) })
200
+ ] }),
201
+ /* @__PURE__ */ r("div", { className: "p-6 border rounded-lg", children: [
202
+ /* @__PURE__ */ e(a, { tag: "h5", className: "font-medium mb-3", children: "useCopyToClipboard()" }),
203
+ /* @__PURE__ */ e(
204
+ a,
205
+ {
206
+ tag: "p",
207
+ className: "text-gray-600 dark:text-gray-400 mb-4",
208
+ children: "Clipboard functionality with state tracking. Re-exported from react-use."
209
+ }
210
+ ),
211
+ /* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
212
+ t,
213
+ {
214
+ language: "tsx",
215
+ noExpand: !0,
216
+ code: `const [state, copyToClipboard] = useCopyToClipboard();
217
+ // state: { value?: string; error?: Error; noUserInteraction: boolean }
218
+
219
+ copyToClipboard('Text to copy');
220
+
221
+ // Check result:
222
+ if (state.value) console.log('Copied:', state.value);
223
+ if (state.error) console.error('Failed:', state.error);`
224
+ }
225
+ ) })
226
+ ] })
227
+ ] }) })
228
+ }
229
+ ) }),
230
+ /* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(l, { title: "useEventListener", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full space-y-6 p-4 sm:p-6", children: /* @__PURE__ */ r("div", { className: "p-6 border rounded-lg", children: [
231
+ /* @__PURE__ */ e(a, { tag: "h5", className: "font-medium mb-3", children: "useEventListener(eventName, handler, element?, options?)" }),
232
+ /* @__PURE__ */ e(
233
+ a,
234
+ {
235
+ tag: "p",
236
+ className: "text-gray-600 dark:text-gray-400 mb-4",
237
+ children: "Type-safe event listener with automatic cleanup. Custom implementation with overloads for window, document, HTMLElement, and MediaQueryList."
238
+ }
239
+ ),
240
+ /* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
241
+ t,
242
+ {
243
+ language: "tsx",
244
+ noExpand: !0,
245
+ code: `// On window (default target)
246
+ useEventListener('keydown', (event) => {
247
+ console.log(event.key);
248
+ });
249
+
250
+ // On a specific element
251
+ const ref = useRef<HTMLDivElement>(null);
252
+ useEventListener('click', (event) => {
253
+ console.log('Clicked!', event.clientX);
254
+ }, ref);
255
+
256
+ // Also exports useIsomorphicLayoutEffect`
257
+ }
258
+ ) })
259
+ ] }) }) }) })
260
+ ] }),
261
+ /* @__PURE__ */ r("section", { className: "space-y-8", children: [
262
+ /* @__PURE__ */ r("div", { className: "text-center", children: [
263
+ /* @__PURE__ */ e(a, { tag: "h2", className: "mb-2", children: "UI State Management Hooks" }),
264
+ /* @__PURE__ */ e(
265
+ a,
266
+ {
267
+ tag: "p",
268
+ className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
269
+ children: "Zustand-powered global state for UI behaviors"
270
+ }
271
+ )
272
+ ] }),
273
+ /* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(l, { title: "useToastStore", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full space-y-6 p-4 sm:p-6", children: /* @__PURE__ */ r("div", { className: "p-6 border rounded-lg", children: [
274
+ /* @__PURE__ */ e(a, { tag: "h5", className: "font-medium mb-3", children: "useToastStore()" }),
275
+ /* @__PURE__ */ e(
276
+ a,
277
+ {
278
+ tag: "p",
279
+ className: "text-gray-600 dark:text-gray-400 mb-4",
280
+ children: "Zustand-based global toast notification system with 5 variants and auto-dismiss."
281
+ }
282
+ ),
283
+ /* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
284
+ t,
285
+ {
286
+ language: "tsx",
287
+ noExpand: !0,
288
+ code: `const { addToast, dismissToast, toasts, setToasts } = useToastStore();
289
+
290
+ addToast({
291
+ id: 'unique-id', // required
292
+ message: 'Text', // required
293
+ title: 'Title', // optional
294
+ variant: 'success', // 'default' | 'destructive' | 'success' | 'warning' | 'info'
295
+ timeout: 3000, // optional, default 3000ms
296
+ });
297
+
298
+ dismissToast('unique-id'); // dismiss by id
299
+ dismissToast(); // dismiss all`
300
+ }
301
+ ) })
302
+ ] }) }) }) }),
303
+ /* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(
304
+ l,
305
+ {
306
+ title: "useGridSwitcher & useLockBodyScroll",
307
+ className: "mt-2 mb-2",
308
+ children: /* @__PURE__ */ e("div", { className: "w-full space-y-6 p-4 sm:p-6", children: /* @__PURE__ */ r("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-6", children: [
309
+ /* @__PURE__ */ r("div", { className: "p-6 border rounded-lg", children: [
310
+ /* @__PURE__ */ e(a, { tag: "h5", className: "font-medium mb-3", children: "useGridSwitcher()" }),
311
+ /* @__PURE__ */ e(
312
+ a,
313
+ {
314
+ tag: "p",
315
+ className: "text-gray-600 dark:text-gray-400 mb-4",
316
+ children: "Zustand store for global grid layout switching. Persists state across components."
317
+ }
318
+ ),
319
+ /* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
320
+ t,
321
+ {
322
+ language: "tsx",
323
+ noExpand: !0,
324
+ code: `const { isGridCompact, setIsGridCompact } = useGridSwitcher();
325
+ // isGridCompact: boolean (default: false)
326
+
327
+ const toggleLayout = () => setIsGridCompact(!isGridCompact);`
328
+ }
329
+ ) })
330
+ ] }),
331
+ /* @__PURE__ */ r("div", { className: "p-6 border rounded-lg", children: [
332
+ /* @__PURE__ */ e(a, { tag: "h5", className: "font-medium mb-3", children: "useLockBodyScroll(isLocked)" }),
333
+ /* @__PURE__ */ e(
334
+ a,
335
+ {
336
+ tag: "p",
337
+ className: "text-gray-600 dark:text-gray-400 mb-4",
338
+ children: "Locks body scroll when active. Automatically preserves scrollbar width to prevent layout shift."
339
+ }
340
+ ),
341
+ /* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
342
+ t,
343
+ {
344
+ language: "tsx",
345
+ noExpand: !0,
346
+ code: `useLockBodyScroll(isModalOpen);
347
+ // Pass true to lock, false to unlock
348
+ // Automatically adds padding-right to compensate scrollbar
349
+
350
+ const [isOpen, setIsOpen] = useState(false);
351
+ useLockBodyScroll(isOpen);`
352
+ }
353
+ ) })
354
+ ] })
355
+ ] }) })
356
+ }
357
+ ) }),
358
+ /* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(l, { title: "useScrollableSlider", className: "mt-2 mb-2", children: /* @__PURE__ */ e("div", { className: "w-full space-y-6 p-4 sm:p-6", children: /* @__PURE__ */ r("div", { className: "p-6 border rounded-lg", children: [
359
+ /* @__PURE__ */ e(a, { tag: "h5", className: "font-medium mb-3", children: "useScrollableSlider(defaultActivePath?)" }),
360
+ /* @__PURE__ */ e(
361
+ a,
362
+ {
363
+ tag: "p",
364
+ className: "text-gray-600 dark:text-gray-400 mb-4",
365
+ children: "Horizontal scrollable slider with navigation buttons. Uses react-router-dom internally for active path detection."
366
+ }
367
+ ),
368
+ /* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
369
+ t,
370
+ {
371
+ language: "tsx",
372
+ noExpand: !0,
373
+ code: `const {
374
+ sliderEl, // RefObject<HTMLDivElement> — container ref
375
+ sliderPrevBtn, // RefObject<HTMLButtonElement> — prev button ref
376
+ sliderNextBtn, // RefObject<HTMLButtonElement> — next button ref
377
+ scrollToTheRight,// () => void
378
+ scrollToTheLeft, // () => void
379
+ } = useScrollableSlider('/');
380
+ // Parameter: defaultActivePath (string, default '/')
381
+ // Note: Uses useLocation() from react-router-dom internally`
382
+ }
383
+ ) })
384
+ ] }) }) }) })
385
+ ] }),
386
+ /* @__PURE__ */ r("section", { className: "space-y-8", children: [
387
+ /* @__PURE__ */ r("div", { className: "text-center", children: [
388
+ /* @__PURE__ */ e(a, { tag: "h2", className: "mb-2", children: "Utility Hooks" }),
389
+ /* @__PURE__ */ e(
390
+ a,
391
+ {
392
+ tag: "p",
393
+ className: "text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",
394
+ children: "Lifecycle and navigation helpers"
395
+ }
396
+ )
397
+ ] }),
398
+ /* @__PURE__ */ e(s, { className: "overflow-hidden", children: /* @__PURE__ */ e(
399
+ l,
400
+ {
401
+ title: "useIsMounted & useAnchorScroll",
402
+ className: "mt-2 mb-2",
403
+ children: /* @__PURE__ */ e("div", { className: "w-full space-y-6 p-4 sm:p-6", children: /* @__PURE__ */ r("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-6", children: [
404
+ /* @__PURE__ */ r("div", { className: "p-6 border rounded-lg", children: [
405
+ /* @__PURE__ */ e(a, { tag: "h5", className: "font-medium mb-3", children: "useIsMounted()" }),
406
+ /* @__PURE__ */ e(
407
+ a,
408
+ {
409
+ tag: "p",
410
+ className: "text-gray-600 dark:text-gray-400 mb-4",
411
+ children: "Returns a boolean indicating component mount state. Useful to prevent memory leaks in async operations."
412
+ }
413
+ ),
414
+ /* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
415
+ t,
416
+ {
417
+ language: "tsx",
418
+ noExpand: !0,
419
+ code: `const isMounted = useIsMounted();
420
+ // Returns: boolean (true after mount, false before)
421
+
422
+ useEffect(() => {
423
+ fetchData().then((data) => {
424
+ if (isMounted) {
425
+ setState(data); // safe — won't update unmounted component
426
+ }
427
+ });
428
+ }, [isMounted]);`
429
+ }
430
+ ) })
431
+ ] }),
432
+ /* @__PURE__ */ r("div", { className: "p-6 border rounded-lg", children: [
433
+ /* @__PURE__ */ e(a, { tag: "h5", className: "font-medium mb-3", children: "useAnchorScroll()" }),
434
+ /* @__PURE__ */ e(
435
+ a,
436
+ {
437
+ tag: "p",
438
+ className: "text-gray-600 dark:text-gray-400 mb-4",
439
+ children: "Intercepts anchor link clicks and performs smooth scrolling to target elements."
440
+ }
441
+ ),
442
+ /* @__PURE__ */ e("div", { className: "bg-light-dark p-4 rounded-xl border dark:border-border overflow-x-auto", children: /* @__PURE__ */ e(
443
+ t,
444
+ {
445
+ language: "tsx",
446
+ noExpand: !0,
447
+ code: `useAnchorScroll();
448
+ // Returns: null
449
+ // Adds global click handler for <a href="#section"> links
450
+ // Automatically smooth-scrolls to the target element
451
+
452
+ // Usage: Just call in your root component
453
+ function App() {
454
+ useAnchorScroll();
455
+ return <Layout />;
456
+ }`
457
+ }
458
+ ) })
459
+ ] })
460
+ ] }) })
461
+ }
462
+ ) })
463
+ ] })
464
+ ] });
465
+ export {
466
+ p as default
467
+ };
@@ -0,0 +1,100 @@
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 a=()=>e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Hook Documentation",description:"Complete API reference for all 14 hooks with signatures, parameters, return types, and usage examples.",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-indigo-500 via-blue-500 to-cyan-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(r.BookOpen,{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:"Responsive & Layout Hooks"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Screen size detection and element measurement"})]}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"useBreakpoint & useIsMobile",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full space-y-6 p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"p-6 border rounded-lg",children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useBreakpoint()"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-4",children:"Returns the current screen breakpoint name. Built on createBreakpoint from react-use."}),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:`const breakpoint = useBreakpoint();
2
+ // Returns: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl'
3
+
4
+ // Breakpoint sizes:
5
+ // xs: 480px, sm: 640px, md: 768px, lg: 1024px
6
+ // xl: 1280px, 2xl: 1440px, 3xl: 1780px, 4xl: 2160px`})})]}),e.jsxs("div",{className:"p-6 border rounded-lg",children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useIsMobile()"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-4",children:"Returns an object with isMobile boolean. True for xs, sm, md breakpoints (≤768px)."}),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:`const { isMobile } = useIsMobile();
7
+ // Returns: { isMobile: boolean }
8
+
9
+ // Usage
10
+ if (isMobile) {
11
+ return <MobileLayout />;
12
+ }
13
+ return <DesktopLayout />;`})})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"useElementSize & useMeasure",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full space-y-6 p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"p-6 border rounded-lg",children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useElementSize<T>()"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-4",children:"Tracks element dimensions. Returns a callback ref setter (not a RefObject) and size object."}),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:`const [ref, { width, height }] = useElementSize<HTMLDivElement>();
14
+ // ref: (node: T | null) => void — callback ref
15
+ // Returns: [callbackRef, { width: number; height: number }]
16
+
17
+ return (
18
+ <div ref={ref} className="resizable">
19
+ Size: {width} × {height}px
20
+ </div>
21
+ );`})})]}),e.jsxs("div",{className:"p-6 border rounded-lg",children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useMeasure<T>()"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-4",children:"Advanced measurement with full bounds. Uses ResizeObserver internally (from react-use)."}),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:`const [ref, bounds] = useMeasure<HTMLDivElement>();
22
+ // bounds: { x, y, width, height, top, right, bottom, left }
23
+
24
+ return (
25
+ <div ref={ref}>
26
+ Position: ({bounds.x}, {bounds.y})
27
+ Size: {bounds.width} × {bounds.height}
28
+ </div>
29
+ );`})})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"useWindowScroll",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full space-y-6 p-4 sm:p-6",children:e.jsxs("div",{className:"p-6 border rounded-lg",children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useWindowScroll()"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-4",children:"Returns current scroll position. Custom implementation that detects scroll on window, document, and overflow containers."}),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:`const { x, y } = useWindowScroll();
30
+ // Returns: { x: number; y: number }
31
+
32
+ // Tracks scroll from window, document, and containers with overflow`})})]})})})})]}),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:"User Interaction Hooks"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Click detection, clipboard, and event handling"})]}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"useClickAway & useCopyToClipboard",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full space-y-6 p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"p-6 border rounded-lg",children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useClickAway(ref, handler, events?)"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-4",children:"Detects clicks outside a ref element. Re-exported from react-use. Defaults to mousedown + touchstart."}),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:`const ref = useRef<HTMLDivElement>(null);
33
+ useClickAway(ref, () => {
34
+ setIsOpen(false);
35
+ });
36
+ // Optional 3rd param: event names array
37
+ // Default: ['mousedown', 'touchstart']`})})]}),e.jsxs("div",{className:"p-6 border rounded-lg",children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useCopyToClipboard()"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-4",children:"Clipboard functionality with state tracking. Re-exported from react-use."}),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:`const [state, copyToClipboard] = useCopyToClipboard();
38
+ // state: { value?: string; error?: Error; noUserInteraction: boolean }
39
+
40
+ copyToClipboard('Text to copy');
41
+
42
+ // Check result:
43
+ if (state.value) console.log('Copied:', state.value);
44
+ if (state.error) console.error('Failed:', state.error);`})})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"useEventListener",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full space-y-6 p-4 sm:p-6",children:e.jsxs("div",{className:"p-6 border rounded-lg",children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useEventListener(eventName, handler, element?, options?)"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-4",children:"Type-safe event listener with automatic cleanup. Custom implementation with overloads for window, document, HTMLElement, and MediaQueryList."}),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:`// On window (default target)
45
+ useEventListener('keydown', (event) => {
46
+ console.log(event.key);
47
+ });
48
+
49
+ // On a specific element
50
+ const ref = useRef<HTMLDivElement>(null);
51
+ useEventListener('click', (event) => {
52
+ console.log('Clicked!', event.clientX);
53
+ }, ref);
54
+
55
+ // Also exports useIsomorphicLayoutEffect`})})]})})})})]}),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:"UI State Management Hooks"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Zustand-powered global state for UI behaviors"})]}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"useToastStore",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full space-y-6 p-4 sm:p-6",children:e.jsxs("div",{className:"p-6 border rounded-lg",children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useToastStore()"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-4",children:"Zustand-based global toast notification system with 5 variants and auto-dismiss."}),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:`const { addToast, dismissToast, toasts, setToasts } = useToastStore();
56
+
57
+ addToast({
58
+ id: 'unique-id', // required
59
+ message: 'Text', // required
60
+ title: 'Title', // optional
61
+ variant: 'success', // 'default' | 'destructive' | 'success' | 'warning' | 'info'
62
+ timeout: 3000, // optional, default 3000ms
63
+ });
64
+
65
+ dismissToast('unique-id'); // dismiss by id
66
+ dismissToast(); // dismiss all`})})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"useGridSwitcher & useLockBodyScroll",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full space-y-6 p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"p-6 border rounded-lg",children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useGridSwitcher()"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-4",children:"Zustand store for global grid layout switching. Persists state across components."}),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:`const { isGridCompact, setIsGridCompact } = useGridSwitcher();
67
+ // isGridCompact: boolean (default: false)
68
+
69
+ const toggleLayout = () => setIsGridCompact(!isGridCompact);`})})]}),e.jsxs("div",{className:"p-6 border rounded-lg",children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useLockBodyScroll(isLocked)"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-4",children:"Locks body scroll when active. Automatically preserves scrollbar width to prevent layout shift."}),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:`useLockBodyScroll(isModalOpen);
70
+ // Pass true to lock, false to unlock
71
+ // Automatically adds padding-right to compensate scrollbar
72
+
73
+ const [isOpen, setIsOpen] = useState(false);
74
+ useLockBodyScroll(isOpen);`})})]})]})})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"useScrollableSlider",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full space-y-6 p-4 sm:p-6",children:e.jsxs("div",{className:"p-6 border rounded-lg",children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useScrollableSlider(defaultActivePath?)"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-4",children:"Horizontal scrollable slider with navigation buttons. Uses react-router-dom internally for active path detection."}),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:`const {
75
+ sliderEl, // RefObject<HTMLDivElement> — container ref
76
+ sliderPrevBtn, // RefObject<HTMLButtonElement> — prev button ref
77
+ sliderNextBtn, // RefObject<HTMLButtonElement> — next button ref
78
+ scrollToTheRight,// () => void
79
+ scrollToTheLeft, // () => void
80
+ } = useScrollableSlider('/');
81
+ // Parameter: defaultActivePath (string, default '/')
82
+ // Note: Uses useLocation() from react-router-dom internally`})})]})})})})]}),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:"Utility Hooks"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Lifecycle and navigation helpers"})]}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"useIsMounted & useAnchorScroll",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full space-y-6 p-4 sm:p-6",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"p-6 border rounded-lg",children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useIsMounted()"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-4",children:"Returns a boolean indicating component mount state. Useful to prevent memory leaks in async operations."}),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:`const isMounted = useIsMounted();
83
+ // Returns: boolean (true after mount, false before)
84
+
85
+ useEffect(() => {
86
+ fetchData().then((data) => {
87
+ if (isMounted) {
88
+ setState(data); // safe — won't update unmounted component
89
+ }
90
+ });
91
+ }, [isMounted]);`})})]}),e.jsxs("div",{className:"p-6 border rounded-lg",children:[e.jsx(s.Typography,{tag:"h5",className:"font-medium mb-3",children:"useAnchorScroll()"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-600 dark:text-gray-400 mb-4",children:"Intercepts anchor link clicks and performs smooth scrolling to target elements."}),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:`useAnchorScroll();
92
+ // Returns: null
93
+ // Adds global click handler for <a href="#section"> links
94
+ // Automatically smooth-scrolls to the target element
95
+
96
+ // Usage: Just call in your root component
97
+ function App() {
98
+ useAnchorScroll();
99
+ return <Layout />;
100
+ }`})})]})]})})})})]})]});exports.default=a;
@@ -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 a=[{icon:e.jsx(t.Zap,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"Performance Optimized",description:"Minimal re-renders using useRef patterns, ResizeObserver, and event delegation for maximum efficiency.",iconBgClassName:"from-yellow-500 to-amber-500"},{icon:e.jsx(t.Code,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"TypeScript First",description:"Full generic support (e.g. useElementSize<HTMLCanvasElement>) with comprehensive type definitions and IntelliSense.",iconBgClassName:"from-blue-500 to-cyan-500"},{icon:e.jsx(t.Package,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"Tree Shaking",description:"Import only the hooks you need — each hook is independently exportable for optimal bundle size.",iconBgClassName:"from-green-500 to-emerald-500"},{icon:e.jsx(t.Eye,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"Accessibility Ready",description:"Hooks like useLockBodyScroll preserve scrollbar width to prevent layout shifts, and useEventListener supports keyboard navigation.",iconBgClassName:"from-purple-500 to-violet-500"},{icon:e.jsx(t.Database,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"Zustand-Powered State",description:"Global state hooks (useToastStore, useGridSwitcher) are built on Zustand for predictable, minimal-boilerplate state management.",iconBgClassName:"from-orange-500 to-red-500"},{icon:e.jsx(t.Layers,{className:"w-6 h-6 text-white filter drop-shadow-sm"}),title:"14 Hooks Available",description:"From responsive detection to clipboard operations, element measurement, scroll control, and event handling — all in one library.",iconBgClassName:"from-teal-500 to-cyan-500"}];return e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"Why Choose Our Hooks?",description:"A battle-tested collection of 14 React hooks covering responsive design, user interactions, state management, and utilities — all with full TypeScript support and tree-shaking.",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-blue-500 via-cyan-500 to-teal-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(t.Sparkles,{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:"Key Advantages"}),e.jsx(s.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Built with modern React patterns and optimized for performance"})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 sm:gap-6",children:a.map(i=>e.jsx(s.FeatureCard,{layout:"vertical",...i},i.title))})]})]})};exports.default=o;