matrix-design-system 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +95 -0
  3. package/dist/atoms/animation/motion-div/index.d.mts +2 -0
  4. package/dist/atoms/animation/motion-div/motion-div.d.mts +7 -0
  5. package/dist/atoms/animation/motion-div/motion-div.mjs +37 -0
  6. package/dist/atoms/animation/motion-div/use-motion-div-store.mjs +17 -0
  7. package/dist/atoms/buttons/button/button.d.mts +8 -0
  8. package/dist/atoms/buttons/button/button.mjs +12 -0
  9. package/dist/atoms/buttons/button/index.d.mts +2 -0
  10. package/dist/atoms/buttons/switch/index.d.mts +2 -0
  11. package/dist/atoms/buttons/switch/switch.d.mts +10 -0
  12. package/dist/atoms/buttons/switch/switch.mjs +40 -0
  13. package/dist/atoms/buttons/switch/use-switch-store.mjs +7 -0
  14. package/dist/atoms/call-to-actions/call-to-action-external-with-tracking/call-to-action-external-with-tracking.d.mts +13 -0
  15. package/dist/atoms/call-to-actions/call-to-action-external-with-tracking/call-to-action-external-with-tracking.mjs +30 -0
  16. package/dist/atoms/call-to-actions/call-to-action-external-with-tracking/index.d.mts +2 -0
  17. package/dist/atoms/call-to-actions/call-to-action-internal-with-tracking/call-to-action-internal-with-tracking.d.mts +14 -0
  18. package/dist/atoms/call-to-actions/call-to-action-internal-with-tracking/call-to-action-internal-with-tracking.mjs +29 -0
  19. package/dist/atoms/call-to-actions/call-to-action-internal-with-tracking/index.d.mts +2 -0
  20. package/dist/atoms/chip/chip.d.mts +10 -0
  21. package/dist/atoms/chip/chip.mjs +10 -0
  22. package/dist/atoms/chip/index.d.mts +2 -0
  23. package/dist/atoms/effects/glassmorphism-background/glassmorphism-background.d.mts +8 -0
  24. package/dist/atoms/effects/glassmorphism-background/glassmorphism-background.mjs +33 -0
  25. package/dist/atoms/effects/glassmorphism-background/index.d.mts +2 -0
  26. package/dist/atoms/effects/glassmorphism-background/use-glassmorphism-background-store.mjs +17 -0
  27. package/dist/atoms/effects/image-glow/image-glow.d.mts +12 -0
  28. package/dist/atoms/effects/image-glow/image-glow.mjs +20 -0
  29. package/dist/atoms/effects/image-glow/index.d.mts +2 -0
  30. package/dist/atoms/effects/image-shimmer-placeholder/image-shimmer-placeholder.d.mts +6 -0
  31. package/dist/atoms/effects/image-shimmer-placeholder/image-shimmer-placeholder.mjs +22 -0
  32. package/dist/atoms/effects/image-shimmer-placeholder/index.d.mts +2 -0
  33. package/dist/atoms/effects/matrix-rain/matrix-rain/index.d.mts +2 -0
  34. package/dist/atoms/effects/matrix-rain/matrix-rain/matrix-2d-canvas/debounce.mjs +12 -0
  35. package/dist/atoms/effects/matrix-rain/matrix-rain/matrix-2d-canvas/matrix-2d-canvas.mjs +25 -0
  36. package/dist/atoms/effects/matrix-rain/matrix-rain/matrix-2d-canvas/use-matrix-2d-canvas-store.mjs +186 -0
  37. package/dist/atoms/effects/matrix-rain/matrix-rain/matrix-rain.d.mts +5 -0
  38. package/dist/atoms/effects/matrix-rain/matrix-rain/matrix-rain.mjs +68 -0
  39. package/dist/atoms/effects/matrix-rain/matrix-rain/use-matrix-rain-activity.mjs +40 -0
  40. package/dist/atoms/effects/matrix-rain/matrix-rain/use-matrix-rain-store.mjs +69 -0
  41. package/dist/atoms/effects/overlay/index.d.mts +2 -0
  42. package/dist/atoms/effects/overlay/overlay.d.mts +11 -0
  43. package/dist/atoms/effects/overlay/overlay.mjs +61 -0
  44. package/dist/atoms/effects/overlay/use-overlay-store.mjs +8 -0
  45. package/dist/atoms/effects/pills/index.d.mts +2 -0
  46. package/dist/atoms/effects/pills/pills.d.mts +10 -0
  47. package/dist/atoms/effects/pills/pills.mjs +121 -0
  48. package/dist/atoms/effects/pills/use-pills-store.mjs +17 -0
  49. package/dist/atoms/effects/plain-image/index.d.mts +2 -0
  50. package/dist/atoms/effects/plain-image/plain-image.d.mts +45 -0
  51. package/dist/atoms/effects/plain-image/plain-image.mjs +140 -0
  52. package/dist/atoms/effects/plain-image/use-plain-image-store.mjs +62 -0
  53. package/dist/atoms/icons/chat-icon/chat-icon.d.mts +4 -0
  54. package/dist/atoms/icons/chat-icon/chat-icon.mjs +13 -0
  55. package/dist/atoms/icons/copy-icon/copy-icon.d.mts +6 -0
  56. package/dist/atoms/icons/copy-icon/copy-icon.mjs +17 -0
  57. package/dist/atoms/icons/rounded-icon/index.d.mts +2 -0
  58. package/dist/atoms/icons/rounded-icon/rounded-icon.d.mts +8 -0
  59. package/dist/atoms/icons/rounded-icon/rounded-icon.mjs +8 -0
  60. package/dist/atoms/links/anchor-link/anchor-link.d.mts +31 -0
  61. package/dist/atoms/links/anchor-link/anchor-link.mjs +14 -0
  62. package/dist/atoms/links/anchor-link/index.d.mts +2 -0
  63. package/dist/atoms/links/external-link/external-link.d.mts +13 -0
  64. package/dist/atoms/links/external-link/external-link.mjs +29 -0
  65. package/dist/atoms/links/external-link/index.d.mts +2 -0
  66. package/dist/atoms/links/internal-link/index.d.mts +2 -0
  67. package/dist/atoms/links/internal-link/internal-link.d.mts +15 -0
  68. package/dist/atoms/links/internal-link/internal-link.mjs +12 -0
  69. package/dist/atoms/loader/loader/index.d.mts +2 -0
  70. package/dist/atoms/loader/loader/loader.d.mts +10 -0
  71. package/dist/atoms/loader/loader/loader.mjs +62 -0
  72. package/dist/atoms/typography/input-field/index.d.mts +2 -0
  73. package/dist/atoms/typography/input-field/input-field.d.mts +9 -0
  74. package/dist/atoms/typography/input-field/input-field.mjs +8 -0
  75. package/dist/atoms/typography/label/index.d.mts +2 -0
  76. package/dist/atoms/typography/label/label.d.mts +9 -0
  77. package/dist/atoms/typography/label/label.mjs +11 -0
  78. package/dist/atoms/typography/markdown/markdown-plugins.mjs +16 -0
  79. package/dist/atoms/typography/markdown/markdown.d.mts +7 -0
  80. package/dist/atoms/typography/markdown/markdown.mjs +23 -0
  81. package/dist/atoms/typography/markdown/use-markdown-store.mjs +24 -0
  82. package/dist/atoms/typography/terminal-blocks/index.d.mts +2 -0
  83. package/dist/atoms/typography/terminal-blocks/terminal-blocks.d.mts +13 -0
  84. package/dist/atoms/typography/terminal-blocks/terminal-blocks.mjs +42 -0
  85. package/dist/atoms/typography/textarea/index.d.mts +2 -0
  86. package/dist/atoms/typography/textarea/textarea.d.mts +9 -0
  87. package/dist/atoms/typography/textarea/textarea.mjs +8 -0
  88. package/dist/chart.d.mts +7 -0
  89. package/dist/chart.mjs +4 -0
  90. package/dist/command-palette.d.mts +6 -0
  91. package/dist/command-palette.mjs +5 -0
  92. package/dist/hooks/use-clipboard-available.d.mts +4 -0
  93. package/dist/hooks/use-clipboard-available.mjs +10 -0
  94. package/dist/hooks/use-device-capabilities.d.mts +10 -0
  95. package/dist/hooks/use-device-capabilities.mjs +30 -0
  96. package/dist/hooks/use-glassmorphism.d.mts +10 -0
  97. package/dist/hooks/use-glassmorphism.mjs +9 -0
  98. package/dist/hooks/use-in-view-list.d.mts +7 -0
  99. package/dist/hooks/use-in-view-list.mjs +63 -0
  100. package/dist/hooks/use-in-view.d.mts +9 -0
  101. package/dist/hooks/use-in-view.mjs +68 -0
  102. package/dist/hooks/use-is-ios.d.mts +4 -0
  103. package/dist/hooks/use-is-ios.mjs +7 -0
  104. package/dist/hooks/use-lock-body-scroll.d.mts +4 -0
  105. package/dist/hooks/use-lock-body-scroll.mjs +40 -0
  106. package/dist/hooks/use-matrix-settings-store.d.mts +5 -0
  107. package/dist/hooks/use-matrix-settings-store.mjs +15 -0
  108. package/dist/hooks/use-motion-store.d.mts +13 -0
  109. package/dist/hooks/use-motion-store.mjs +29 -0
  110. package/dist/hooks/use-os-modifier-key.d.mts +5 -0
  111. package/dist/hooks/use-os-modifier-key.mjs +15 -0
  112. package/dist/hooks/use-reading-progress.d.mts +8 -0
  113. package/dist/hooks/use-reading-progress.mjs +49 -0
  114. package/dist/hooks/use-reduced-motions.d.mts +4 -0
  115. package/dist/hooks/use-reduced-motions.mjs +10 -0
  116. package/dist/hooks/use-scroll-direction.d.mts +8 -0
  117. package/dist/hooks/use-scroll-direction.mjs +43 -0
  118. package/dist/hooks/use-typewriter.d.mts +15 -0
  119. package/dist/hooks/use-typewriter.mjs +89 -0
  120. package/dist/hooks/use-webgpu-supported.d.mts +4 -0
  121. package/dist/hooks/use-webgpu-supported.mjs +16 -0
  122. package/dist/index.d.mts +153 -0
  123. package/dist/index.mjs +88 -0
  124. package/dist/markdown.d.mts +2 -0
  125. package/dist/markdown.mjs +2 -0
  126. package/dist/molecules/accordion/accordion/accordion.d.mts +12 -0
  127. package/dist/molecules/accordion/accordion/accordion.mjs +130 -0
  128. package/dist/molecules/accordion/accordion/index.d.mts +2 -0
  129. package/dist/molecules/accordion/accordion/use-accordion-store.mjs +55 -0
  130. package/dist/molecules/breadcrumbs/breadcrumb/breadcrumb.d.mts +21 -0
  131. package/dist/molecules/breadcrumbs/breadcrumb/breadcrumb.mjs +186 -0
  132. package/dist/molecules/breadcrumbs/breadcrumb/index.d.mts +2 -0
  133. package/dist/molecules/breadcrumbs/breadcrumb/use-breadcrumb-store.mjs +29 -0
  134. package/dist/molecules/buttons/pagination-navigation/index.d.mts +2 -0
  135. package/dist/molecules/buttons/pagination-navigation/pagination-navigation.d.mts +11 -0
  136. package/dist/molecules/buttons/pagination-navigation/pagination-navigation.mjs +17 -0
  137. package/dist/molecules/buttons/pills-buttons/index.d.mts +2 -0
  138. package/dist/molecules/buttons/pills-buttons/pills-buttons.d.mts +10 -0
  139. package/dist/molecules/buttons/pills-buttons/pills-buttons.mjs +55 -0
  140. package/dist/molecules/buttons/segmented-control/segmented-control.d.mts +13 -0
  141. package/dist/molecules/buttons/segmented-control/segmented-control.mjs +46 -0
  142. package/dist/molecules/buttons/segmented-control/use-segmented-control-store.mjs +8 -0
  143. package/dist/molecules/buttons/social-contact/index.d.mts +2 -0
  144. package/dist/molecules/buttons/social-contact/social-contact.d.mts +10 -0
  145. package/dist/molecules/buttons/social-contact/social-contact.mjs +13 -0
  146. package/dist/molecules/buttons/tag/index.d.mts +2 -0
  147. package/dist/molecules/buttons/tag/tag.d.mts +17 -0
  148. package/dist/molecules/buttons/tag/tag.mjs +20 -0
  149. package/dist/molecules/buttons/terminal-button/index.d.mts +2 -0
  150. package/dist/molecules/buttons/terminal-button/terminal-button.d.mts +15 -0
  151. package/dist/molecules/buttons/terminal-button/terminal-button.mjs +38 -0
  152. package/dist/molecules/chart/chart-panel/chart-panel.d.mts +9 -0
  153. package/dist/molecules/chart/chart-panel/chart-panel.mjs +12 -0
  154. package/dist/molecules/chart/chart-panel/index.d.mts +2 -0
  155. package/dist/molecules/chart/chart-tooltip/chart-tooltip.d.mts +8 -0
  156. package/dist/molecules/chart/chart-tooltip/chart-tooltip.mjs +18 -0
  157. package/dist/molecules/chart/chart-tooltip/index.d.mts +2 -0
  158. package/dist/molecules/chart/donut-chart/donut-chart.d.mts +15 -0
  159. package/dist/molecules/chart/donut-chart/donut-chart.mjs +142 -0
  160. package/dist/molecules/chart/donut-chart/index.d.mts +2 -0
  161. package/dist/molecules/containers/content-container/content-container.d.mts +5 -0
  162. package/dist/molecules/containers/content-container/content-container.mjs +8 -0
  163. package/dist/molecules/containers/content-container/index.d.mts +2 -0
  164. package/dist/molecules/controls/control-slider/control-slider.d.mts +14 -0
  165. package/dist/molecules/controls/control-slider/control-slider.mjs +76 -0
  166. package/dist/molecules/controls/control-slider/index.d.mts +2 -0
  167. package/dist/molecules/controls/control-slider/use-control-slider-store.mjs +10 -0
  168. package/dist/molecules/effects/matrix-background/index.d.mts +2 -0
  169. package/dist/molecules/effects/matrix-background/matrix-background.d.mts +8 -0
  170. package/dist/molecules/effects/matrix-background/matrix-background.mjs +15 -0
  171. package/dist/molecules/effects/matrix-header-background/index.d.mts +2 -0
  172. package/dist/molecules/effects/matrix-header-background/matrix-header-background.d.mts +8 -0
  173. package/dist/molecules/effects/matrix-header-background/matrix-header-background.mjs +14 -0
  174. package/dist/molecules/effects/matrix-terminal/index.d.mts +2 -0
  175. package/dist/molecules/effects/matrix-terminal/matrix-terminal.d.mts +15 -0
  176. package/dist/molecules/effects/matrix-terminal/matrix-terminal.mjs +101 -0
  177. package/dist/molecules/effects/matrix-terminal/use-matrix-terminal-store.mjs +59 -0
  178. package/dist/molecules/form/filter-input/filter-input.d.mts +10 -0
  179. package/dist/molecules/form/filter-input/filter-input.mjs +35 -0
  180. package/dist/molecules/form/filter-input/index.d.mts +2 -0
  181. package/dist/molecules/form/form-error-summary/form-error-summary.d.mts +10 -0
  182. package/dist/molecules/form/form-error-summary/form-error-summary.mjs +71 -0
  183. package/dist/molecules/form/form-error-summary/index.d.mts +2 -0
  184. package/dist/molecules/form/form-field/form-field.d.mts +10 -0
  185. package/dist/molecules/form/form-field/form-field.mjs +60 -0
  186. package/dist/molecules/form/form-field/index.d.mts +2 -0
  187. package/dist/molecules/form/form-success-message/form-success-message.d.mts +8 -0
  188. package/dist/molecules/form/form-success-message/form-success-message.mjs +21 -0
  189. package/dist/molecules/form/form-success-message/index.d.mts +2 -0
  190. package/dist/molecules/form/form-textarea/form-textarea.d.mts +10 -0
  191. package/dist/molecules/form/form-textarea/form-textarea.mjs +60 -0
  192. package/dist/molecules/form/form-textarea/index.d.mts +2 -0
  193. package/dist/molecules/lightbox-image/index.d.mts +2 -0
  194. package/dist/molecules/lightbox-image/lightbox-image.d.mts +6 -0
  195. package/dist/molecules/lightbox-image/lightbox-image.mjs +49 -0
  196. package/dist/molecules/lightbox-image/use-lightbox-image-store.mjs +29 -0
  197. package/dist/molecules/links/pills-links/index.d.mts +2 -0
  198. package/dist/molecules/links/pills-links/pills-links.d.mts +13 -0
  199. package/dist/molecules/links/pills-links/pills-links.mjs +60 -0
  200. package/dist/molecules/menu/close/close.d.mts +8 -0
  201. package/dist/molecules/menu/close/close.mjs +9 -0
  202. package/dist/molecules/menu/close/index.d.mts +2 -0
  203. package/dist/molecules/menu/dropdown-menu/dropdown-menu.d.mts +25 -0
  204. package/dist/molecules/menu/dropdown-menu/dropdown-menu.mjs +143 -0
  205. package/dist/molecules/menu/dropdown-menu/index.d.mts +2 -0
  206. package/dist/molecules/menu/dropdown-menu/use-dropdown-menu-store.mjs +108 -0
  207. package/dist/molecules/menu/hamburger-menu/hamburger-menu.d.mts +8 -0
  208. package/dist/molecules/menu/hamburger-menu/hamburger-menu.mjs +9 -0
  209. package/dist/molecules/menu/hamburger-menu/index.d.mts +2 -0
  210. package/dist/molecules/menu/menu-item/index.d.mts +2 -0
  211. package/dist/molecules/menu/menu-item/menu-item.d.mts +16 -0
  212. package/dist/molecules/menu/menu-item/menu-item.mjs +65 -0
  213. package/dist/molecules/menu/menu-item/use-menu-item-store.mjs +10 -0
  214. package/dist/molecules/stat-card/index.d.mts +2 -0
  215. package/dist/molecules/stat-card/stat-card.d.mts +10 -0
  216. package/dist/molecules/stat-card/stat-card.mjs +21 -0
  217. package/dist/molecules/terminal-list-item/index.d.mts +2 -0
  218. package/dist/molecules/terminal-list-item/terminal-list-item.d.mts +9 -0
  219. package/dist/molecules/terminal-list-item/terminal-list-item.mjs +13 -0
  220. package/dist/molecules/terminal-progress-bar/index.d.mts +2 -0
  221. package/dist/molecules/terminal-progress-bar/terminal-progress-bar.d.mts +11 -0
  222. package/dist/molecules/terminal-progress-bar/terminal-progress-bar.mjs +20 -0
  223. package/dist/molecules/typography/page-title/index.d.mts +2 -0
  224. package/dist/molecules/typography/page-title/page-title.d.mts +5 -0
  225. package/dist/molecules/typography/page-title/page-title.mjs +8 -0
  226. package/dist/molecules/typography/paragraph-title-with-icon/index.d.mts +2 -0
  227. package/dist/molecules/typography/paragraph-title-with-icon/paragraph-title-with-icon.d.mts +8 -0
  228. package/dist/molecules/typography/paragraph-title-with-icon/paragraph-title-with-icon.mjs +13 -0
  229. package/dist/molecules/typography/section-heading/index.d.mts +2 -0
  230. package/dist/molecules/typography/section-heading/section-heading.d.mts +9 -0
  231. package/dist/molecules/typography/section-heading/section-heading.mjs +17 -0
  232. package/dist/molecules/video/self-hosted-video/index.d.mts +2 -0
  233. package/dist/molecules/video/self-hosted-video/self-hosted-video.d.mts +17 -0
  234. package/dist/molecules/video/self-hosted-video/self-hosted-video.mjs +39 -0
  235. package/dist/molecules/video/youtube/index.d.mts +2 -0
  236. package/dist/molecules/video/youtube/youtube.d.mts +9 -0
  237. package/dist/molecules/video/youtube/youtube.mjs +12 -0
  238. package/dist/organism/command-palette/command-palette/command-palette.d.mts +12 -0
  239. package/dist/organism/command-palette/command-palette/command-palette.mjs +148 -0
  240. package/dist/organism/command-palette/command-palette/index.d.mts +2 -0
  241. package/dist/organism/command-palette/command-palette/use-command-palette-store.mjs +121 -0
  242. package/dist/organism/command-palette/command-palette-group/command-palette-group.d.mts +9 -0
  243. package/dist/organism/command-palette/command-palette-group/command-palette-group.mjs +24 -0
  244. package/dist/organism/command-palette/command-palette-group/index.d.mts +2 -0
  245. package/dist/organism/command-palette/command-palette-item/command-palette-item.d.mts +11 -0
  246. package/dist/organism/command-palette/command-palette-item/command-palette-item.mjs +29 -0
  247. package/dist/organism/command-palette/command-palette-item/index.d.mts +2 -0
  248. package/dist/organism/command-palette/command-palette-item/use-command-palette-item-store.mjs +30 -0
  249. package/dist/organism/command-palette/index.d.mts +9 -0
  250. package/dist/organism/command-palette/toggle-motion-item/index.d.mts +2 -0
  251. package/dist/organism/command-palette/toggle-motion-item/toggle-motion-item.d.mts +8 -0
  252. package/dist/organism/command-palette/toggle-motion-item/toggle-motion-item.mjs +63 -0
  253. package/dist/organism/command-palette/toggle-motion-item/use-toggle-motion-item-store.mjs +45 -0
  254. package/dist/organism/cookie-consent-banner/cookie-consent-banner.d.mts +9 -0
  255. package/dist/organism/cookie-consent-banner/cookie-consent-banner.mjs +71 -0
  256. package/dist/organism/cookie-consent-banner/use-cookie-consent-banner-store.mjs +10 -0
  257. package/dist/organism/footer/footer.d.mts +26 -0
  258. package/dist/organism/footer/footer.mjs +193 -0
  259. package/dist/organism/footer/index.d.mts +3 -0
  260. package/dist/organism/footer/use-footer-store.d.mts +22 -0
  261. package/dist/organism/footer/use-footer-store.mjs +57 -0
  262. package/dist/organism/header/brand-header/brand-header.d.mts +14 -0
  263. package/dist/organism/header/brand-header/brand-header.mjs +132 -0
  264. package/dist/organism/header/brand-header/index.d.mts +2 -0
  265. package/dist/organism/image-carousel/fullscreen-modal/fullscreen-modal.mjs +148 -0
  266. package/dist/organism/image-carousel/fullscreen-modal/use-fullscreen-modal-store.mjs +129 -0
  267. package/dist/organism/image-carousel/image-carousel.d.mts +14 -0
  268. package/dist/organism/image-carousel/image-carousel.mjs +225 -0
  269. package/dist/organism/image-carousel/index.d.mts +2 -0
  270. package/dist/organism/image-carousel/navigation-buttons/navigation-buttons.mjs +22 -0
  271. package/dist/organism/image-carousel/navigation-buttons/use-navigation-buttons-store.mjs +18 -0
  272. package/dist/organism/image-carousel/page-indicators/page-indicator-button/page-indicator-button.mjs +14 -0
  273. package/dist/organism/image-carousel/page-indicators/page-indicator-button/use-page-indicator-button-store.mjs +11 -0
  274. package/dist/organism/image-carousel/page-indicators/page-indicators.mjs +20 -0
  275. package/dist/organism/image-carousel/use-image-carousel-store.mjs +88 -0
  276. package/dist/organism/lightbox/index.d.mts +2 -0
  277. package/dist/organism/lightbox/lightbox.d.mts +5 -0
  278. package/dist/organism/lightbox/lightbox.mjs +100 -0
  279. package/dist/organism/lightbox/use-lightbox-store.mjs +120 -0
  280. package/dist/organism/loading-bar/loading-bar.d.mts +7 -0
  281. package/dist/organism/loading-bar/loading-bar.mjs +48 -0
  282. package/dist/organism/loading-bar/use-loading-bar-store.mjs +52 -0
  283. package/dist/organism/menu/index.d.mts +3 -0
  284. package/dist/organism/menu/menu.d.mts +33 -0
  285. package/dist/organism/menu/menu.mjs +396 -0
  286. package/dist/organism/menu/use-menu-store.d.mts +22 -0
  287. package/dist/organism/menu/use-menu-store.mjs +265 -0
  288. package/dist/organism/profile-hero/index.d.mts +2 -0
  289. package/dist/organism/profile-hero/profile-hero.d.mts +15 -0
  290. package/dist/organism/profile-hero/profile-hero.mjs +72 -0
  291. package/dist/organism/profile-photo/index.d.mts +2 -0
  292. package/dist/organism/profile-photo/profile-photo.d.mts +12 -0
  293. package/dist/organism/profile-photo/profile-photo.mjs +17 -0
  294. package/dist/organism/reading-content-progress-bar/index.d.mts +2 -0
  295. package/dist/organism/reading-content-progress-bar/reading-content-progress-bar.d.mts +8 -0
  296. package/dist/organism/reading-content-progress-bar/reading-content-progress-bar.mjs +76 -0
  297. package/dist/organism/reading-content-progress-bar/use-reading-content-progress-bar-store.mjs +29 -0
  298. package/dist/organism/social-contacts/index.d.mts +2 -0
  299. package/dist/organism/social-contacts/social-contacts.d.mts +29 -0
  300. package/dist/organism/social-contacts/social-contacts.mjs +78 -0
  301. package/dist/state/command-palette/command-palette-context.d.mts +9 -0
  302. package/dist/state/command-palette/command-palette-context.mjs +10 -0
  303. package/dist/state/command-palette/command-palette-events.d.mts +11 -0
  304. package/dist/state/command-palette/command-palette-events.mjs +15 -0
  305. package/dist/state/command-palette/command-palette-trigger.d.mts +8 -0
  306. package/dist/state/lightbox/lightbox-events.d.mts +9 -0
  307. package/dist/state/lightbox/lightbox-events.mjs +7 -0
  308. package/dist/state/matrix-rain/matrix-settings.d.mts +37 -0
  309. package/dist/state/matrix-rain/matrix-settings.mjs +122 -0
  310. package/dist/state/motion/motion.d.mts +6 -0
  311. package/dist/state/motion/motion.mjs +17 -0
  312. package/package.json +160 -0
  313. package/src/styles/base.css +130 -0
  314. package/src/styles/components.css +57 -0
  315. package/src/styles/index.css +23 -0
  316. package/src/styles/pills.css +85 -0
  317. package/src/styles/theme.css +254 -0
@@ -0,0 +1,9 @@
1
+ import { FC, ReactNode } from "react";
2
+ //#region src/organism/command-palette/command-palette-group/command-palette-group.d.ts
3
+ interface CommandPaletteGroupProps {
4
+ label?: string;
5
+ children: ReactNode;
6
+ }
7
+ declare const CommandPaletteGroup: FC<CommandPaletteGroupProps>;
8
+ //#endregion
9
+ export { CommandPaletteGroup, CommandPaletteGroupProps };
@@ -0,0 +1,24 @@
1
+ "use client";
2
+ import { c } from "react/compiler-runtime";
3
+ import { jsx } from "react/jsx-runtime";
4
+ import { Command } from "cmdk";
5
+ //#region src/organism/command-palette/command-palette-group/command-palette-group.tsx
6
+ const HEADING_CLASS = "[&_[cmdk-group-heading]]:text-accent/50 [&_[cmdk-group-heading]]:px-4 [&_[cmdk-group-heading]]:py-1 [&_[cmdk-group-heading]]:font-mono [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:tracking-wider [&_[cmdk-group-heading]]:uppercase";
7
+ const CommandPaletteGroup = (t0) => {
8
+ const $ = c(3);
9
+ const { label, children } = t0;
10
+ let t1;
11
+ if ($[0] !== children || $[1] !== label) {
12
+ t1 = /* @__PURE__ */ jsx(Command.Group, {
13
+ heading: label,
14
+ className: HEADING_CLASS,
15
+ children
16
+ });
17
+ $[0] = children;
18
+ $[1] = label;
19
+ $[2] = t1;
20
+ } else t1 = $[2];
21
+ return t1;
22
+ };
23
+ //#endregion
24
+ export { CommandPaletteGroup };
@@ -0,0 +1,2 @@
1
+ import { CommandPaletteGroup, CommandPaletteGroupProps } from "./command-palette-group.mjs";
2
+ export { CommandPaletteGroup, type CommandPaletteGroupProps };
@@ -0,0 +1,11 @@
1
+ import { FC, ReactNode } from "react";
2
+ //#region src/organism/command-palette/command-palette-item/command-palette-item.d.ts
3
+ interface CommandPaletteItemProps {
4
+ value: string;
5
+ onSelect?: () => void;
6
+ closeOnSelect?: boolean;
7
+ children: ReactNode;
8
+ }
9
+ declare const CommandPaletteItem: FC<CommandPaletteItemProps>;
10
+ //#endregion
11
+ export { CommandPaletteItem, CommandPaletteItemProps };
@@ -0,0 +1,29 @@
1
+ "use client";
2
+ import { useCommandPaletteItemStore } from "./use-command-palette-item-store.mjs";
3
+ import { c } from "react/compiler-runtime";
4
+ import { jsx } from "react/jsx-runtime";
5
+ import { Command } from "cmdk";
6
+ //#region src/organism/command-palette/command-palette-item/command-palette-item.tsx
7
+ const ITEM_CLASS = "px-4 py-2 cursor-pointer aria-selected:bg-accent-alpha-10 aria-selected:border-l-2 aria-selected:border-accent transition-colors duration-100";
8
+ const CommandPaletteItem = (t0) => {
9
+ const $ = c(4);
10
+ const { value, onSelect, closeOnSelect: t1, children } = t0;
11
+ const { effects } = useCommandPaletteItemStore(onSelect, t1 === void 0 ? true : t1);
12
+ const { handleSelect } = effects;
13
+ let t2;
14
+ if ($[0] !== children || $[1] !== handleSelect || $[2] !== value) {
15
+ t2 = /* @__PURE__ */ jsx(Command.Item, {
16
+ value,
17
+ className: ITEM_CLASS,
18
+ onSelect: handleSelect,
19
+ children
20
+ });
21
+ $[0] = children;
22
+ $[1] = handleSelect;
23
+ $[2] = value;
24
+ $[3] = t2;
25
+ } else t2 = $[3];
26
+ return t2;
27
+ };
28
+ //#endregion
29
+ export { CommandPaletteItem };
@@ -0,0 +1,2 @@
1
+ import { CommandPaletteItem, CommandPaletteItemProps } from "./command-palette-item.mjs";
2
+ export { CommandPaletteItem, type CommandPaletteItemProps };
@@ -0,0 +1,30 @@
1
+ "use client";
2
+ import { CommandPaletteContext } from "../../../state/command-palette/command-palette-context.mjs";
3
+ import { c } from "react/compiler-runtime";
4
+ import { useContext } from "react";
5
+ //#region src/organism/command-palette/command-palette-item/use-command-palette-item-store.ts
6
+ const useCommandPaletteItemStore = (onSelect, closeOnSelect) => {
7
+ const $ = c(6);
8
+ const closePalette = useContext(CommandPaletteContext);
9
+ let t0;
10
+ if ($[0] !== closeOnSelect || $[1] !== closePalette || $[2] !== onSelect) {
11
+ t0 = () => {
12
+ onSelect?.();
13
+ if (closeOnSelect) closePalette?.();
14
+ };
15
+ $[0] = closeOnSelect;
16
+ $[1] = closePalette;
17
+ $[2] = onSelect;
18
+ $[3] = t0;
19
+ } else t0 = $[3];
20
+ const handleSelect = t0;
21
+ let t1;
22
+ if ($[4] !== handleSelect) {
23
+ t1 = { effects: { handleSelect } };
24
+ $[4] = handleSelect;
25
+ $[5] = t1;
26
+ } else t1 = $[5];
27
+ return t1;
28
+ };
29
+ //#endregion
30
+ export { useCommandPaletteItemStore };
@@ -0,0 +1,9 @@
1
+ import { CommandPalette, CommandPaletteProps } from "./command-palette/command-palette.mjs";
2
+ import "./command-palette/index.mjs";
3
+ import { CommandPaletteGroup, CommandPaletteGroupProps } from "./command-palette-group/command-palette-group.mjs";
4
+ import "./command-palette-group/index.mjs";
5
+ import { CommandPaletteItem, CommandPaletteItemProps } from "./command-palette-item/command-palette-item.mjs";
6
+ import "./command-palette-item/index.mjs";
7
+ import { ToggleMotionItem, ToggleMotionItemProps } from "./toggle-motion-item/toggle-motion-item.mjs";
8
+ import "./toggle-motion-item/index.mjs";
9
+ export { CommandPalette, CommandPaletteGroup, type CommandPaletteGroupProps, CommandPaletteItem, type CommandPaletteItemProps, type CommandPaletteProps, ToggleMotionItem, type ToggleMotionItemProps };
@@ -0,0 +1,2 @@
1
+ import { ToggleMotionItem, ToggleMotionItemProps } from "./toggle-motion-item.mjs";
2
+ export { ToggleMotionItem, type ToggleMotionItemProps };
@@ -0,0 +1,8 @@
1
+ import { FC } from "react";
2
+ //#region src/organism/command-palette/toggle-motion-item/toggle-motion-item.d.ts
3
+ interface ToggleMotionItemProps {
4
+ onTrack?: () => void;
5
+ }
6
+ declare const ToggleMotionItem: FC<ToggleMotionItemProps>;
7
+ //#endregion
8
+ export { ToggleMotionItem, ToggleMotionItemProps };
@@ -0,0 +1,63 @@
1
+ "use client";
2
+ import { TerminalLine } from "../../../atoms/typography/terminal-blocks/terminal-blocks.mjs";
3
+ import { CommandPaletteItem } from "../command-palette-item/command-palette-item.mjs";
4
+ import { useToggleMotionItemStore } from "./use-toggle-motion-item-store.mjs";
5
+ import { c } from "react/compiler-runtime";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ import { MdAnimation, MdDoDisturb } from "react-icons/md";
8
+ //#region src/organism/command-palette/toggle-motion-item/toggle-motion-item.tsx
9
+ const ToggleMotionItem = (t0) => {
10
+ const $ = c(10);
11
+ const { onTrack } = t0;
12
+ const { state, effects } = useToggleMotionItemStore(onTrack);
13
+ const { motionEnabled } = state;
14
+ const { handleToggleMotion } = effects;
15
+ let t1;
16
+ if ($[0] !== motionEnabled) {
17
+ t1 = motionEnabled ? /* @__PURE__ */ jsx(MdDoDisturb, { className: "mr-2 mb-0.5 inline" }) : /* @__PURE__ */ jsx(MdAnimation, { className: "mr-2 mb-0.5 inline" });
18
+ $[0] = motionEnabled;
19
+ $[1] = t1;
20
+ } else t1 = $[1];
21
+ const t2 = motionEnabled ? "ON" : "OFF";
22
+ let t3;
23
+ if ($[2] !== t2) {
24
+ t3 = /* @__PURE__ */ jsxs("span", {
25
+ className: "text-accent/60 ml-1 font-mono text-xs",
26
+ children: [
27
+ "[",
28
+ t2,
29
+ "]"
30
+ ]
31
+ });
32
+ $[2] = t2;
33
+ $[3] = t3;
34
+ } else t3 = $[3];
35
+ let t4;
36
+ if ($[4] !== t1 || $[5] !== t3) {
37
+ t4 = /* @__PURE__ */ jsxs(TerminalLine, { children: [
38
+ t1,
39
+ ">",
40
+ " Toggle Animations",
41
+ " ",
42
+ t3
43
+ ] });
44
+ $[4] = t1;
45
+ $[5] = t3;
46
+ $[6] = t4;
47
+ } else t4 = $[6];
48
+ let t5;
49
+ if ($[7] !== handleToggleMotion || $[8] !== t4) {
50
+ t5 = /* @__PURE__ */ jsx(CommandPaletteItem, {
51
+ value: "toggle animations motion",
52
+ onSelect: handleToggleMotion,
53
+ closeOnSelect: false,
54
+ children: t4
55
+ });
56
+ $[7] = handleToggleMotion;
57
+ $[8] = t4;
58
+ $[9] = t5;
59
+ } else t5 = $[9];
60
+ return t5;
61
+ };
62
+ //#endregion
63
+ export { ToggleMotionItem };
@@ -0,0 +1,45 @@
1
+ "use client";
2
+ import { writeMotion } from "../../../state/motion/motion.mjs";
3
+ import { useMotionStore } from "../../../hooks/use-motion-store.mjs";
4
+ import { c } from "react/compiler-runtime";
5
+ //#region src/organism/command-palette/toggle-motion-item/use-toggle-motion-item-store.ts
6
+ const useToggleMotionItemStore = (onTrack) => {
7
+ const $ = c(10);
8
+ const motionEnabled = useMotionStore();
9
+ let t0;
10
+ if ($[0] !== motionEnabled || $[1] !== onTrack) {
11
+ t0 = () => {
12
+ onTrack?.();
13
+ writeMotion(motionEnabled ? "off" : "on");
14
+ };
15
+ $[0] = motionEnabled;
16
+ $[1] = onTrack;
17
+ $[2] = t0;
18
+ } else t0 = $[2];
19
+ const handleToggleMotion = t0;
20
+ let t1;
21
+ if ($[3] !== motionEnabled) {
22
+ t1 = { motionEnabled };
23
+ $[3] = motionEnabled;
24
+ $[4] = t1;
25
+ } else t1 = $[4];
26
+ let t2;
27
+ if ($[5] !== handleToggleMotion) {
28
+ t2 = { handleToggleMotion };
29
+ $[5] = handleToggleMotion;
30
+ $[6] = t2;
31
+ } else t2 = $[6];
32
+ let t3;
33
+ if ($[7] !== t1 || $[8] !== t2) {
34
+ t3 = {
35
+ state: t1,
36
+ effects: t2
37
+ };
38
+ $[7] = t1;
39
+ $[8] = t2;
40
+ $[9] = t3;
41
+ } else t3 = $[9];
42
+ return t3;
43
+ };
44
+ //#endregion
45
+ export { useToggleMotionItemStore };
@@ -0,0 +1,9 @@
1
+ //#region src/organism/cookie-consent-banner/cookie-consent-banner.d.ts
2
+ interface CookieConsentBannerProps {
3
+ decided: boolean;
4
+ onAccept: () => void;
5
+ onReject: () => void;
6
+ }
7
+ declare const CookieConsentBanner: ({ decided, onAccept, onReject }: CookieConsentBannerProps) => import("react/jsx-runtime").JSX.Element;
8
+ //#endregion
9
+ export { CookieConsentBanner };
@@ -0,0 +1,71 @@
1
+ "use client";
2
+ import { useGlassmorphism } from "../../hooks/use-glassmorphism.mjs";
3
+ import { BluePillButton, RedPillButton } from "../../molecules/buttons/pills-buttons/pills-buttons.mjs";
4
+ import { useCookieConsentBannerStore } from "./use-cookie-consent-banner-store.mjs";
5
+ import { c } from "react/compiler-runtime";
6
+ import { AnimatePresence } from "framer-motion";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
+ //#region src/organism/cookie-consent-banner/cookie-consent-banner.tsx
9
+ const CookieConsentBanner = (t0) => {
10
+ const $ = c(8);
11
+ const { decided, onAccept, onReject } = t0;
12
+ let t1;
13
+ if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
14
+ t1 = { increaseContrast: true };
15
+ $[0] = t1;
16
+ } else t1 = $[0];
17
+ const { glassmorphismClass } = useGlassmorphism(t1);
18
+ const { effects } = useCookieConsentBannerStore(onAccept, onReject);
19
+ const { acceptConsent, rejectConsent } = effects;
20
+ let t2;
21
+ if ($[1] !== acceptConsent || $[2] !== decided || $[3] !== glassmorphismClass || $[4] !== rejectConsent) {
22
+ t2 = !decided && /* @__PURE__ */ jsxs("div", {
23
+ className: `${glassmorphismClass} fixed right-0 bottom-5 left-0 mx-auto my-0 p-4 flex max-w-[95%] flex-col items-center gap-4 lg:max-w-[60%] lg:flex-row z-50`,
24
+ role: "dialog",
25
+ "aria-live": "polite",
26
+ "aria-label": "Cookie consent banner",
27
+ children: [/* @__PURE__ */ jsxs("p", {
28
+ className: "text-shadow-md",
29
+ children: [
30
+ "This website uses cookies. Take the",
31
+ " ",
32
+ /* @__PURE__ */ jsx("span", {
33
+ className: "text-confirm",
34
+ children: "red pill"
35
+ }),
36
+ ", and you'll see how deep the rabbit hole goes. Take the ",
37
+ /* @__PURE__ */ jsx("span", {
38
+ className: "text-undo",
39
+ children: "blue pill"
40
+ }),
41
+ ", and the story ends, you wake up in your browser and believe whatever you want."
42
+ ]
43
+ }), /* @__PURE__ */ jsxs("div", {
44
+ className: "flex flex-row gap-4",
45
+ children: [/* @__PURE__ */ jsx(BluePillButton, {
46
+ onClick: rejectConsent,
47
+ "aria-label": "Reject cookie",
48
+ children: "Sleep (Reject)"
49
+ }), /* @__PURE__ */ jsx(RedPillButton, {
50
+ onClick: acceptConsent,
51
+ "aria-label": "Accept cookie",
52
+ children: "Wake up (Accept)"
53
+ })]
54
+ })]
55
+ });
56
+ $[1] = acceptConsent;
57
+ $[2] = decided;
58
+ $[3] = glassmorphismClass;
59
+ $[4] = rejectConsent;
60
+ $[5] = t2;
61
+ } else t2 = $[5];
62
+ let t3;
63
+ if ($[6] !== t2) {
64
+ t3 = /* @__PURE__ */ jsx(AnimatePresence, { children: t2 });
65
+ $[6] = t2;
66
+ $[7] = t3;
67
+ } else t3 = $[7];
68
+ return t3;
69
+ };
70
+ //#endregion
71
+ export { CookieConsentBanner };
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ //#region src/organism/cookie-consent-banner/use-cookie-consent-banner-store.ts
3
+ const useCookieConsentBannerStore = (onAccept, onReject) => {
4
+ return { effects: {
5
+ acceptConsent: onAccept,
6
+ rejectConsent: onReject
7
+ } };
8
+ };
9
+ //#endregion
10
+ export { useCookieConsentBannerStore };
@@ -0,0 +1,26 @@
1
+ import { LinkComponent } from "../../atoms/links/anchor-link/anchor-link.mjs";
2
+ import "../../atoms/links/anchor-link/index.mjs";
3
+ import { FooterNavTrackingCallbacks, FooterSocialTrackingCallbacks } from "./use-footer-store.mjs";
4
+ import { SocialContactLinks } from "../social-contacts/social-contacts.mjs";
5
+ import "../social-contacts/index.mjs";
6
+ import { FC } from "react";
7
+ //#region src/organism/footer/footer.d.ts
8
+ interface FooterNavHrefs {
9
+ blog: string;
10
+ art: string;
11
+ aboutMe: string;
12
+ archive: string;
13
+ tags: string;
14
+ contact: string;
15
+ }
16
+ interface FooterProps {
17
+ linkComponent?: LinkComponent;
18
+ author: string;
19
+ navHrefs: FooterNavHrefs;
20
+ socialLinks: SocialContactLinks;
21
+ navTracking?: FooterNavTrackingCallbacks;
22
+ socialTracking?: FooterSocialTrackingCallbacks;
23
+ }
24
+ declare const Footer: FC<FooterProps>;
25
+ //#endregion
26
+ export { Footer, FooterNavHrefs, FooterProps, type SocialContactLinks };
@@ -0,0 +1,193 @@
1
+ "use client";
2
+ import { Cursor, TerminalLine } from "../../atoms/typography/terminal-blocks/terminal-blocks.mjs";
3
+ import { MenuItem } from "../../molecules/menu/menu-item/menu-item.mjs";
4
+ import { SocialContacts } from "../social-contacts/social-contacts.mjs";
5
+ import { useFooterStore } from "./use-footer-store.mjs";
6
+ import { c } from "react/compiler-runtime";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
+ //#region src/organism/footer/footer.tsx
9
+ const Footer = (t0) => {
10
+ const $ = c(52);
11
+ const { author, navHrefs, socialLinks, navTracking, socialTracking, linkComponent } = t0;
12
+ const { effects } = useFooterStore(navTracking, socialTracking);
13
+ const { onTrackHome, onTrackBlog, onTrackArt, onTrackAboutMe, onTrackArchive, onTrackTags, onTrackGithub, onTrackLinkedin, onTrackContact, onTrackMedium, onTrackDevto, onTrackTwitter, onTrackFacebook, onTrackInstagram } = effects;
14
+ let t1;
15
+ if ($[0] !== linkComponent || $[1] !== onTrackHome) {
16
+ t1 = /* @__PURE__ */ jsx(MenuItem, {
17
+ linkComponent,
18
+ to: "/",
19
+ onClick: onTrackHome,
20
+ selected: false,
21
+ children: "Home"
22
+ });
23
+ $[0] = linkComponent;
24
+ $[1] = onTrackHome;
25
+ $[2] = t1;
26
+ } else t1 = $[2];
27
+ let t2;
28
+ if ($[3] !== linkComponent || $[4] !== navHrefs.blog || $[5] !== onTrackBlog) {
29
+ t2 = /* @__PURE__ */ jsx(MenuItem, {
30
+ linkComponent,
31
+ to: navHrefs.blog,
32
+ onClick: onTrackBlog,
33
+ selected: false,
34
+ children: "Blog"
35
+ });
36
+ $[3] = linkComponent;
37
+ $[4] = navHrefs.blog;
38
+ $[5] = onTrackBlog;
39
+ $[6] = t2;
40
+ } else t2 = $[6];
41
+ let t3;
42
+ if ($[7] !== linkComponent || $[8] !== navHrefs.art || $[9] !== onTrackArt) {
43
+ t3 = /* @__PURE__ */ jsx(MenuItem, {
44
+ linkComponent,
45
+ to: navHrefs.art,
46
+ onClick: onTrackArt,
47
+ selected: false,
48
+ children: "Art"
49
+ });
50
+ $[7] = linkComponent;
51
+ $[8] = navHrefs.art;
52
+ $[9] = onTrackArt;
53
+ $[10] = t3;
54
+ } else t3 = $[10];
55
+ let t4;
56
+ if ($[11] !== linkComponent || $[12] !== navHrefs.aboutMe || $[13] !== onTrackAboutMe) {
57
+ t4 = /* @__PURE__ */ jsx(MenuItem, {
58
+ linkComponent,
59
+ to: navHrefs.aboutMe,
60
+ onClick: onTrackAboutMe,
61
+ selected: false,
62
+ children: "About Me"
63
+ });
64
+ $[11] = linkComponent;
65
+ $[12] = navHrefs.aboutMe;
66
+ $[13] = onTrackAboutMe;
67
+ $[14] = t4;
68
+ } else t4 = $[14];
69
+ let t5;
70
+ if ($[15] !== linkComponent || $[16] !== navHrefs.archive || $[17] !== onTrackArchive) {
71
+ t5 = /* @__PURE__ */ jsx(MenuItem, {
72
+ linkComponent,
73
+ to: navHrefs.archive,
74
+ onClick: onTrackArchive,
75
+ selected: false,
76
+ children: "Archive"
77
+ });
78
+ $[15] = linkComponent;
79
+ $[16] = navHrefs.archive;
80
+ $[17] = onTrackArchive;
81
+ $[18] = t5;
82
+ } else t5 = $[18];
83
+ let t6;
84
+ if ($[19] !== linkComponent || $[20] !== navHrefs.tags || $[21] !== onTrackTags) {
85
+ t6 = /* @__PURE__ */ jsx(MenuItem, {
86
+ linkComponent,
87
+ to: navHrefs.tags,
88
+ onClick: onTrackTags,
89
+ selected: false,
90
+ children: "Tags"
91
+ });
92
+ $[19] = linkComponent;
93
+ $[20] = navHrefs.tags;
94
+ $[21] = onTrackTags;
95
+ $[22] = t6;
96
+ } else t6 = $[22];
97
+ let t7;
98
+ if ($[23] !== t1 || $[24] !== t2 || $[25] !== t3 || $[26] !== t4 || $[27] !== t5 || $[28] !== t6) {
99
+ t7 = /* @__PURE__ */ jsxs("div", {
100
+ className: "grid grid-cols-2 gap-3 py-7 px-5 w-full sm:grid-cols-[repeat(6,auto)] sm:justify-center sm:max-w-4xl sm:mx-auto",
101
+ children: [
102
+ t1,
103
+ t2,
104
+ t3,
105
+ t4,
106
+ t5,
107
+ t6
108
+ ]
109
+ });
110
+ $[23] = t1;
111
+ $[24] = t2;
112
+ $[25] = t3;
113
+ $[26] = t4;
114
+ $[27] = t5;
115
+ $[28] = t6;
116
+ $[29] = t7;
117
+ } else t7 = $[29];
118
+ let t8;
119
+ if ($[30] === Symbol.for("react.memo_cache_sentinel")) {
120
+ t8 = /* @__PURE__ */ jsx("hr", {});
121
+ $[30] = t8;
122
+ } else t8 = $[30];
123
+ let t9;
124
+ if ($[31] !== linkComponent || $[32] !== navHrefs.contact || $[33] !== onTrackContact || $[34] !== onTrackDevto || $[35] !== onTrackFacebook || $[36] !== onTrackGithub || $[37] !== onTrackInstagram || $[38] !== onTrackLinkedin || $[39] !== onTrackMedium || $[40] !== onTrackTwitter || $[41] !== socialLinks) {
125
+ t9 = /* @__PURE__ */ jsx(SocialContacts, {
126
+ linkComponent,
127
+ links: socialLinks,
128
+ contactHref: navHrefs.contact,
129
+ onTrackGithub,
130
+ onTrackLinkedin,
131
+ onTrackContact,
132
+ onTrackMedium,
133
+ onTrackDevto,
134
+ onTrackTwitter,
135
+ onTrackFacebook,
136
+ onTrackInstagram
137
+ });
138
+ $[31] = linkComponent;
139
+ $[32] = navHrefs.contact;
140
+ $[33] = onTrackContact;
141
+ $[34] = onTrackDevto;
142
+ $[35] = onTrackFacebook;
143
+ $[36] = onTrackGithub;
144
+ $[37] = onTrackInstagram;
145
+ $[38] = onTrackLinkedin;
146
+ $[39] = onTrackMedium;
147
+ $[40] = onTrackTwitter;
148
+ $[41] = socialLinks;
149
+ $[42] = t9;
150
+ } else t9 = $[42];
151
+ const t10 = `> Made with 💝 by ${author} 'Chicio'`;
152
+ let t11;
153
+ if ($[43] === Symbol.for("react.memo_cache_sentinel")) {
154
+ t11 = /* @__PURE__ */ jsx(Cursor, {});
155
+ $[43] = t11;
156
+ } else t11 = $[43];
157
+ let t12;
158
+ if ($[44] !== t10) {
159
+ t12 = /* @__PURE__ */ jsxs(TerminalLine, { children: [t10, t11] });
160
+ $[44] = t10;
161
+ $[45] = t12;
162
+ } else t12 = $[45];
163
+ let t13;
164
+ if ($[46] !== t12 || $[47] !== t9) {
165
+ t13 = /* @__PURE__ */ jsxs("div", {
166
+ className: "w-full flex flex-col items-center justify-center gap-3 py-6 px-4 bg-gradient-to-b from-general-background-light to-primary-color-dark",
167
+ children: [t9, t12]
168
+ });
169
+ $[46] = t12;
170
+ $[47] = t9;
171
+ $[48] = t13;
172
+ } else t13 = $[48];
173
+ let t14;
174
+ if ($[49] !== t13 || $[50] !== t7) {
175
+ t14 = /* @__PURE__ */ jsx("footer", {
176
+ className: "bg-primary-dark border-t-accent relative w-full shrink-0 snap-start border-t-2 border-solid shadow-lg",
177
+ children: /* @__PURE__ */ jsxs("div", {
178
+ className: "flex flex-col w-full items-center",
179
+ children: [
180
+ t7,
181
+ t8,
182
+ t13
183
+ ]
184
+ })
185
+ });
186
+ $[49] = t13;
187
+ $[50] = t7;
188
+ $[51] = t14;
189
+ } else t14 = $[51];
190
+ return t14;
191
+ };
192
+ //#endregion
193
+ export { Footer };
@@ -0,0 +1,3 @@
1
+ import { FooterNavTrackingCallbacks, FooterSocialTrackingCallbacks } from "./use-footer-store.mjs";
2
+ import { Footer, FooterNavHrefs, FooterProps } from "./footer.mjs";
3
+ export { Footer, type FooterNavHrefs, type FooterNavTrackingCallbacks, type FooterProps, type FooterSocialTrackingCallbacks };
@@ -0,0 +1,22 @@
1
+ import "matrix-component-store";
2
+ //#region src/organism/footer/use-footer-store.d.ts
3
+ interface FooterNavTrackingCallbacks {
4
+ onTrackHome?: () => void;
5
+ onTrackBlog?: () => void;
6
+ onTrackArt?: () => void;
7
+ onTrackAboutMe?: () => void;
8
+ onTrackArchive?: () => void;
9
+ onTrackTags?: () => void;
10
+ }
11
+ interface FooterSocialTrackingCallbacks {
12
+ onTrackGithub?: () => void;
13
+ onTrackLinkedin?: () => void;
14
+ onTrackContact?: () => void;
15
+ onTrackMedium?: () => void;
16
+ onTrackDevto?: () => void;
17
+ onTrackTwitter?: () => void;
18
+ onTrackFacebook?: () => void;
19
+ onTrackInstagram?: () => void;
20
+ }
21
+ //#endregion
22
+ export { FooterNavTrackingCallbacks, FooterSocialTrackingCallbacks };
@@ -0,0 +1,57 @@
1
+ "use client";
2
+ import { c } from "react/compiler-runtime";
3
+ //#region src/organism/footer/use-footer-store.ts
4
+ const useFooterStore = (navTracking, socialTracking) => {
5
+ const $ = c(15);
6
+ const onTrackHome = navTracking?.onTrackHome;
7
+ const onTrackBlog = navTracking?.onTrackBlog;
8
+ const onTrackArt = navTracking?.onTrackArt;
9
+ const onTrackAboutMe = navTracking?.onTrackAboutMe;
10
+ const onTrackArchive = navTracking?.onTrackArchive;
11
+ const onTrackTags = navTracking?.onTrackTags;
12
+ const onTrackGithub = socialTracking?.onTrackGithub;
13
+ const onTrackLinkedin = socialTracking?.onTrackLinkedin;
14
+ const onTrackContact = socialTracking?.onTrackContact;
15
+ const onTrackMedium = socialTracking?.onTrackMedium;
16
+ const onTrackDevto = socialTracking?.onTrackDevto;
17
+ const onTrackTwitter = socialTracking?.onTrackTwitter;
18
+ const onTrackFacebook = socialTracking?.onTrackFacebook;
19
+ const onTrackInstagram = socialTracking?.onTrackInstagram;
20
+ let t0;
21
+ if ($[0] !== onTrackAboutMe || $[1] !== onTrackArchive || $[2] !== onTrackArt || $[3] !== onTrackBlog || $[4] !== onTrackContact || $[5] !== onTrackDevto || $[6] !== onTrackFacebook || $[7] !== onTrackGithub || $[8] !== onTrackHome || $[9] !== onTrackInstagram || $[10] !== onTrackLinkedin || $[11] !== onTrackMedium || $[12] !== onTrackTags || $[13] !== onTrackTwitter) {
22
+ t0 = { effects: {
23
+ onTrackHome,
24
+ onTrackBlog,
25
+ onTrackArt,
26
+ onTrackAboutMe,
27
+ onTrackArchive,
28
+ onTrackTags,
29
+ onTrackGithub,
30
+ onTrackLinkedin,
31
+ onTrackContact,
32
+ onTrackMedium,
33
+ onTrackDevto,
34
+ onTrackTwitter,
35
+ onTrackFacebook,
36
+ onTrackInstagram
37
+ } };
38
+ $[0] = onTrackAboutMe;
39
+ $[1] = onTrackArchive;
40
+ $[2] = onTrackArt;
41
+ $[3] = onTrackBlog;
42
+ $[4] = onTrackContact;
43
+ $[5] = onTrackDevto;
44
+ $[6] = onTrackFacebook;
45
+ $[7] = onTrackGithub;
46
+ $[8] = onTrackHome;
47
+ $[9] = onTrackInstagram;
48
+ $[10] = onTrackLinkedin;
49
+ $[11] = onTrackMedium;
50
+ $[12] = onTrackTags;
51
+ $[13] = onTrackTwitter;
52
+ $[14] = t0;
53
+ } else t0 = $[14];
54
+ return t0;
55
+ };
56
+ //#endregion
57
+ export { useFooterStore };
@@ -0,0 +1,14 @@
1
+ import { ImageComponent, ImageSource } from "../../../atoms/effects/plain-image/plain-image.mjs";
2
+ import "../../../atoms/effects/plain-image/index.mjs";
3
+ import { FC, PropsWithChildren } from "react";
4
+ //#region src/organism/header/brand-header/brand-header.d.ts
5
+ interface BrandHeaderProps {
6
+ big: boolean;
7
+ wrapper?: FC<PropsWithChildren>;
8
+ /** Injected by the consumer: the design system ships no site assets of its own. */
9
+ logo: ImageSource;
10
+ imageComponent?: ImageComponent;
11
+ }
12
+ declare const BrandHeader: FC<BrandHeaderProps>;
13
+ //#endregion
14
+ export { BrandHeader, BrandHeaderProps };