@540deg/ds 0.0.0-stage → 0.1.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 (350) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +13 -0
  3. package/README.md +207 -2
  4. package/dist/assets/samples/captura.js +4 -0
  5. package/dist/assets/samples/charla-david.js +4 -0
  6. package/dist/assets/samples/charla-escultura.js +4 -0
  7. package/dist/assets/samples/charla-fachada.js +4 -0
  8. package/dist/assets/samples/charla-pintura.js +4 -0
  9. package/dist/assets/samples/charla-placa.js +4 -0
  10. package/dist/assets/samples/charla-teclado.js +4 -0
  11. package/dist/assets/samples/logo-540-claro.js +4 -0
  12. package/dist/assets/samples/logo-540-portada-claro.js +4 -0
  13. package/dist/assets/samples/logo-540-portada-oscuro.js +4 -0
  14. package/dist/assets/samples/logos/cliente-1.js +4 -0
  15. package/dist/assets/samples/logos/cliente-2.js +4 -0
  16. package/dist/assets/samples/logos/cliente-3.js +4 -0
  17. package/dist/assets/samples/logos/cliente-4.js +4 -0
  18. package/dist/assets/samples/logos/cliente-5.js +4 -0
  19. package/dist/assets/samples/logos/cliente-6.js +4 -0
  20. package/dist/assets/samples/logos/cliente-7.js +4 -0
  21. package/dist/assets/samples/logos/cliente-8.js +4 -0
  22. package/dist/assets/samples/logos/cliente-9.js +4 -0
  23. package/dist/assets/samples/retrato.js +4 -0
  24. package/dist/components/atoms/Bullets/Bullets.d.ts +6 -0
  25. package/dist/components/atoms/Bullets/Bullets.js +34 -0
  26. package/dist/components/atoms/Bullets/Bullets.module.js +13 -0
  27. package/dist/components/atoms/Bullets/index.d.ts +3 -0
  28. package/dist/components/atoms/Bullets/types.d.ts +23 -0
  29. package/dist/components/atoms/Bullets/types.js +9 -0
  30. package/dist/components/atoms/Button/Button.d.ts +6 -0
  31. package/dist/components/atoms/Button/Button.js +46 -0
  32. package/dist/components/atoms/Button/Button.module.js +24 -0
  33. package/dist/components/atoms/Button/index.d.ts +3 -0
  34. package/dist/components/atoms/Button/types.d.ts +38 -0
  35. package/dist/components/atoms/Button/types.js +14 -0
  36. package/dist/components/atoms/Count/Count.d.ts +6 -0
  37. package/dist/components/atoms/Count/Count.js +51 -0
  38. package/dist/components/atoms/Count/Count.module.js +9 -0
  39. package/dist/components/atoms/Count/index.d.ts +3 -0
  40. package/dist/components/atoms/Count/types.d.ts +17 -0
  41. package/dist/components/atoms/Count/types.js +8 -0
  42. package/dist/components/atoms/Image/Image.d.ts +6 -0
  43. package/dist/components/atoms/Image/Image.js +30 -0
  44. package/dist/components/atoms/Image/Image.module.js +11 -0
  45. package/dist/components/atoms/Image/index.d.ts +3 -0
  46. package/dist/components/atoms/Image/types.d.ts +16 -0
  47. package/dist/components/atoms/Image/types.js +13 -0
  48. package/dist/components/atoms/Logo/Logo.d.ts +6 -0
  49. package/dist/components/atoms/Logo/Logo.js +32 -0
  50. package/dist/components/atoms/Logo/Logo.module.js +10 -0
  51. package/dist/components/atoms/Logo/index.d.ts +3 -0
  52. package/dist/components/atoms/Logo/paths.d.ts +2 -0
  53. package/dist/components/atoms/Logo/paths.js +11 -0
  54. package/dist/components/atoms/Logo/types.d.ts +14 -0
  55. package/dist/components/atoms/Logo/types.js +12 -0
  56. package/dist/components/atoms/MenuItem/MenuItem.d.ts +6 -0
  57. package/dist/components/atoms/MenuItem/MenuItem.js +28 -0
  58. package/dist/components/atoms/MenuItem/MenuItem.module.js +19 -0
  59. package/dist/components/atoms/MenuItem/index.d.ts +3 -0
  60. package/dist/components/atoms/MenuItem/types.d.ts +18 -0
  61. package/dist/components/atoms/MenuItem/types.js +8 -0
  62. package/dist/components/atoms/SocialIcon/SocialIcon.d.ts +6 -0
  63. package/dist/components/atoms/SocialIcon/SocialIcon.js +26 -0
  64. package/dist/components/atoms/SocialIcon/SocialIcon.module.js +9 -0
  65. package/dist/components/atoms/SocialIcon/index.d.ts +3 -0
  66. package/dist/components/atoms/SocialIcon/paths.d.ts +7 -0
  67. package/dist/components/atoms/SocialIcon/paths.js +10 -0
  68. package/dist/components/atoms/SocialIcon/types.d.ts +15 -0
  69. package/dist/components/atoms/SocialIcon/types.js +11 -0
  70. package/dist/components/atoms/Text/Text.d.ts +6 -0
  71. package/dist/components/atoms/Text/Text.js +28 -0
  72. package/dist/components/atoms/Text/Text.module.js +32 -0
  73. package/dist/components/atoms/Text/index.d.ts +3 -0
  74. package/dist/components/atoms/Text/types.d.ts +39 -0
  75. package/dist/components/atoms/Text/types.js +54 -0
  76. package/dist/components/atoms/ThemeToggle/ThemeToggle.d.ts +6 -0
  77. package/dist/components/atoms/ThemeToggle/ThemeToggle.js +30 -0
  78. package/dist/components/atoms/ThemeToggle/ThemeToggle.module.js +17 -0
  79. package/dist/components/atoms/ThemeToggle/index.d.ts +3 -0
  80. package/dist/components/atoms/ThemeToggle/types.d.ts +13 -0
  81. package/dist/components/atoms/ThemeToggle/types.js +4 -0
  82. package/dist/components/molecules/Card/Card.d.ts +6 -0
  83. package/dist/components/molecules/Card/Card.js +82 -0
  84. package/dist/components/molecules/Card/Card.module.js +33 -0
  85. package/dist/components/molecules/Card/index.d.ts +3 -0
  86. package/dist/components/molecules/Card/types.d.ts +48 -0
  87. package/dist/components/molecules/Card/types.js +17 -0
  88. package/dist/components/molecules/Carousel/Carousel.d.ts +5 -0
  89. package/dist/components/molecules/Carousel/Carousel.js +148 -0
  90. package/dist/components/molecules/Carousel/Carousel.module.js +29 -0
  91. package/dist/components/molecules/Carousel/index.d.ts +3 -0
  92. package/dist/components/molecules/Carousel/types.d.ts +24 -0
  93. package/dist/components/molecules/Carousel/types.js +12 -0
  94. package/dist/components/molecules/CaseItem/CaseItem.d.ts +6 -0
  95. package/dist/components/molecules/CaseItem/CaseItem.js +54 -0
  96. package/dist/components/molecules/CaseItem/CaseItem.module.js +19 -0
  97. package/dist/components/molecules/CaseItem/index.d.ts +3 -0
  98. package/dist/components/molecules/CaseItem/types.d.ts +20 -0
  99. package/dist/components/molecules/CaseItem/types.js +7 -0
  100. package/dist/components/molecules/Dialog/Dialog.d.ts +6 -0
  101. package/dist/components/molecules/Dialog/Dialog.js +81 -0
  102. package/dist/components/molecules/Dialog/Dialog.module.js +19 -0
  103. package/dist/components/molecules/Dialog/index.d.ts +2 -0
  104. package/dist/components/molecules/Dialog/types.d.ts +22 -0
  105. package/dist/components/molecules/Field/Field.d.ts +6 -0
  106. package/dist/components/molecules/Field/Field.js +47 -0
  107. package/dist/components/molecules/Field/Field.module.js +15 -0
  108. package/dist/components/molecules/Field/index.d.ts +3 -0
  109. package/dist/components/molecules/Field/types.d.ts +24 -0
  110. package/dist/components/molecules/Field/types.js +5 -0
  111. package/dist/components/molecules/Footer/Footer.d.ts +6 -0
  112. package/dist/components/molecules/Footer/Footer.js +102 -0
  113. package/dist/components/molecules/Footer/Footer.module.js +33 -0
  114. package/dist/components/molecules/Footer/index.d.ts +3 -0
  115. package/dist/components/molecules/Footer/types.d.ts +46 -0
  116. package/dist/components/molecules/Footer/types.js +8 -0
  117. package/dist/components/molecules/Grid/Grid.d.ts +5 -0
  118. package/dist/components/molecules/Grid/Grid.js +32 -0
  119. package/dist/components/molecules/Grid/Grid.module.js +29 -0
  120. package/dist/components/molecules/Grid/index.d.ts +3 -0
  121. package/dist/components/molecules/Grid/types.d.ts +28 -0
  122. package/dist/components/molecules/Grid/types.js +14 -0
  123. package/dist/components/molecules/Lists/Lists.d.ts +7 -0
  124. package/dist/components/molecules/Lists/Lists.js +54 -0
  125. package/dist/components/molecules/Lists/Lists.module.js +15 -0
  126. package/dist/components/molecules/Lists/index.d.ts +2 -0
  127. package/dist/components/molecules/Lists/types.d.ts +22 -0
  128. package/dist/components/molecules/Menu/Menu.d.ts +6 -0
  129. package/dist/components/molecules/Menu/Menu.js +43 -0
  130. package/dist/components/molecules/Menu/Menu.module.js +13 -0
  131. package/dist/components/molecules/Menu/index.d.ts +3 -0
  132. package/dist/components/molecules/Menu/types.d.ts +27 -0
  133. package/dist/components/molecules/Menu/types.js +8 -0
  134. package/dist/components/molecules/Metric/Metric.d.ts +5 -0
  135. package/dist/components/molecules/Metric/Metric.js +40 -0
  136. package/dist/components/molecules/Metric/Metric.module.js +11 -0
  137. package/dist/components/molecules/Metric/index.d.ts +2 -0
  138. package/dist/components/molecules/Metric/types.d.ts +15 -0
  139. package/dist/components/molecules/NavMobile/NavMobile.d.ts +6 -0
  140. package/dist/components/molecules/NavMobile/NavMobile.js +95 -0
  141. package/dist/components/molecules/NavMobile/NavMobile.module.js +17 -0
  142. package/dist/components/molecules/NavMobile/index.d.ts +3 -0
  143. package/dist/components/molecules/NavMobile/types.d.ts +20 -0
  144. package/dist/components/molecules/NavMobile/types.js +8 -0
  145. package/dist/components/molecules/Question/Question.d.ts +3 -0
  146. package/dist/components/molecules/Question/Question.js +22 -0
  147. package/dist/components/molecules/Question/Question.module.js +5 -0
  148. package/dist/components/molecules/Question/index.d.ts +2 -0
  149. package/dist/components/molecules/Question/types.d.ts +8 -0
  150. package/dist/components/molecules/Screenshot/Screenshot.d.ts +3 -0
  151. package/dist/components/molecules/Screenshot/Screenshot.js +17 -0
  152. package/dist/components/molecules/Screenshot/Screenshot.module.js +5 -0
  153. package/dist/components/molecules/Screenshot/index.d.ts +2 -0
  154. package/dist/components/molecules/Screenshot/types.d.ts +12 -0
  155. package/dist/components/molecules/Section/Section.d.ts +6 -0
  156. package/dist/components/molecules/Section/Section.js +25 -0
  157. package/dist/components/molecules/Section/Section.module.js +11 -0
  158. package/dist/components/molecules/Section/index.d.ts +3 -0
  159. package/dist/components/molecules/Section/types.d.ts +13 -0
  160. package/dist/components/molecules/Section/types.js +5 -0
  161. package/dist/components/molecules/SectionHeader/SectionHeader.d.ts +6 -0
  162. package/dist/components/molecules/SectionHeader/SectionHeader.js +34 -0
  163. package/dist/components/molecules/SectionHeader/SectionHeader.module.js +9 -0
  164. package/dist/components/molecules/SectionHeader/index.d.ts +3 -0
  165. package/dist/components/molecules/SectionHeader/types.d.ts +22 -0
  166. package/dist/components/molecules/SectionHeader/types.js +14 -0
  167. package/dist/components/molecules/Stack/Stack.d.ts +6 -0
  168. package/dist/components/molecules/Stack/Stack.js +22 -0
  169. package/dist/components/molecules/Stack/Stack.module.js +12 -0
  170. package/dist/components/molecules/Stack/index.d.ts +3 -0
  171. package/dist/components/molecules/Stack/types.d.ts +18 -0
  172. package/dist/components/molecules/Stack/types.js +17 -0
  173. package/dist/components/molecules/TeamMember/TeamMember.d.ts +6 -0
  174. package/dist/components/molecules/TeamMember/TeamMember.js +55 -0
  175. package/dist/components/molecules/TeamMember/TeamMember.module.js +13 -0
  176. package/dist/components/molecules/TeamMember/index.d.ts +3 -0
  177. package/dist/components/molecules/TeamMember/types.d.ts +24 -0
  178. package/dist/components/molecules/TeamMember/types.js +8 -0
  179. package/dist/components/organisms/Bars/Bars.d.ts +6 -0
  180. package/dist/components/organisms/Bars/Bars.js +94 -0
  181. package/dist/components/organisms/Bars/Bars.module.js +26 -0
  182. package/dist/components/organisms/Bars/index.d.ts +3 -0
  183. package/dist/components/organisms/Bars/types.d.ts +43 -0
  184. package/dist/components/organisms/Bars/types.js +12 -0
  185. package/dist/components/organisms/Blobs/Blobs.d.ts +3 -0
  186. package/dist/components/organisms/Blobs/Blobs.js +14 -0
  187. package/dist/components/organisms/Blobs/Blobs.module.js +15 -0
  188. package/dist/components/organisms/Blobs/index.d.ts +2 -0
  189. package/dist/components/organisms/Blobs/types.d.ts +3 -0
  190. package/dist/components/organisms/BlockTitle/BlockTitle.d.ts +6 -0
  191. package/dist/components/organisms/BlockTitle/BlockTitle.js +46 -0
  192. package/dist/components/organisms/BlockTitle/BlockTitle.module.js +15 -0
  193. package/dist/components/organisms/BlockTitle/index.d.ts +2 -0
  194. package/dist/components/organisms/BlockTitle/types.d.ts +18 -0
  195. package/dist/components/organisms/CardList/CardList.d.ts +6 -0
  196. package/dist/components/organisms/CardList/CardList.js +15 -0
  197. package/dist/components/organisms/CardList/CardList.module.js +5 -0
  198. package/dist/components/organisms/CardList/index.d.ts +2 -0
  199. package/dist/components/organisms/CardList/types.d.ts +6 -0
  200. package/dist/components/organisms/Closing/Closing.d.ts +6 -0
  201. package/dist/components/organisms/Closing/Closing.js +42 -0
  202. package/dist/components/organisms/Closing/Closing.module.js +9 -0
  203. package/dist/components/organisms/Closing/index.d.ts +3 -0
  204. package/dist/components/organisms/Closing/types.d.ts +15 -0
  205. package/dist/components/organisms/Closing/types.js +4 -0
  206. package/dist/components/organisms/Cover/Cover.d.ts +6 -0
  207. package/dist/components/organisms/Cover/Cover.js +85 -0
  208. package/dist/components/organisms/Cover/Cover.module.js +21 -0
  209. package/dist/components/organisms/Cover/index.d.ts +3 -0
  210. package/dist/components/organisms/Cover/types.d.ts +33 -0
  211. package/dist/components/organisms/Cover/types.js +4 -0
  212. package/dist/components/organisms/Cycle/Cycle.d.ts +6 -0
  213. package/dist/components/organisms/Cycle/Cycle.js +79 -0
  214. package/dist/components/organisms/Cycle/Cycle.module.js +17 -0
  215. package/dist/components/organisms/Cycle/index.d.ts +3 -0
  216. package/dist/components/organisms/Cycle/types.d.ts +18 -0
  217. package/dist/components/organisms/Cycle/types.js +9 -0
  218. package/dist/components/organisms/Deck/Deck.d.ts +6 -0
  219. package/dist/components/organisms/Deck/Deck.js +159 -0
  220. package/dist/components/organisms/Deck/Deck.module.js +19 -0
  221. package/dist/components/organisms/Deck/index.d.ts +4 -0
  222. package/dist/components/organisms/Deck/types.d.ts +37 -0
  223. package/dist/components/organisms/Deck/types.js +13 -0
  224. package/dist/components/organisms/Deck/useDeckNavigation.d.ts +15 -0
  225. package/dist/components/organisms/Deck/useDeckNavigation.js +218 -0
  226. package/dist/components/organisms/DeckFooter/DeckFooter.d.ts +6 -0
  227. package/dist/components/organisms/DeckFooter/DeckFooter.js +75 -0
  228. package/dist/components/organisms/DeckFooter/DeckFooter.module.js +25 -0
  229. package/dist/components/organisms/DeckFooter/index.d.ts +3 -0
  230. package/dist/components/organisms/DeckFooter/types.d.ts +22 -0
  231. package/dist/components/organisms/DeckFooter/types.js +8 -0
  232. package/dist/components/organisms/Flow/Flow.d.ts +6 -0
  233. package/dist/components/organisms/Flow/Flow.js +26 -0
  234. package/dist/components/organisms/Flow/Flow.module.js +13 -0
  235. package/dist/components/organisms/Flow/index.d.ts +3 -0
  236. package/dist/components/organisms/Flow/types.d.ts +17 -0
  237. package/dist/components/organisms/Flow/types.js +4 -0
  238. package/dist/components/organisms/Form/Form.d.ts +6 -0
  239. package/dist/components/organisms/Form/Form.js +28 -0
  240. package/dist/components/organisms/Form/Form.module.js +13 -0
  241. package/dist/components/organisms/Form/index.d.ts +3 -0
  242. package/dist/components/organisms/Form/types.d.ts +16 -0
  243. package/dist/components/organisms/Form/types.js +8 -0
  244. package/dist/components/organisms/Heartbeat/Heartbeat.d.ts +3 -0
  245. package/dist/components/organisms/Heartbeat/Heartbeat.js +17 -0
  246. package/dist/components/organisms/Heartbeat/Heartbeat.module.js +13 -0
  247. package/dist/components/organisms/Heartbeat/index.d.ts +2 -0
  248. package/dist/components/organisms/Heartbeat/types.d.ts +3 -0
  249. package/dist/components/organisms/LogoCarousel/LogoCarousel.d.ts +6 -0
  250. package/dist/components/organisms/LogoCarousel/LogoCarousel.js +72 -0
  251. package/dist/components/organisms/LogoCarousel/LogoCarousel.module.js +13 -0
  252. package/dist/components/organisms/LogoCarousel/index.d.ts +3 -0
  253. package/dist/components/organisms/LogoCarousel/types.d.ts +18 -0
  254. package/dist/components/organisms/LogoCarousel/types.js +4 -0
  255. package/dist/components/organisms/Marquee/Marquee.d.ts +7 -0
  256. package/dist/components/organisms/Marquee/Marquee.js +57 -0
  257. package/dist/components/organisms/Marquee/Marquee.module.js +15 -0
  258. package/dist/components/organisms/Marquee/index.d.ts +3 -0
  259. package/dist/components/organisms/Marquee/types.d.ts +11 -0
  260. package/dist/components/organisms/Marquee/types.js +4 -0
  261. package/dist/components/organisms/ProgressBar/ProgressBar.d.ts +6 -0
  262. package/dist/components/organisms/ProgressBar/ProgressBar.js +56 -0
  263. package/dist/components/organisms/ProgressBar/ProgressBar.module.js +17 -0
  264. package/dist/components/organisms/ProgressBar/index.d.ts +3 -0
  265. package/dist/components/organisms/ProgressBar/types.d.ts +20 -0
  266. package/dist/components/organisms/ProgressBar/types.js +7 -0
  267. package/dist/components/organisms/Punchline/Punchline.d.ts +6 -0
  268. package/dist/components/organisms/Punchline/Punchline.js +41 -0
  269. package/dist/components/organisms/Punchline/Punchline.module.js +11 -0
  270. package/dist/components/organisms/Punchline/index.d.ts +3 -0
  271. package/dist/components/organisms/Punchline/types.d.ts +15 -0
  272. package/dist/components/organisms/Punchline/types.js +4 -0
  273. package/dist/components/organisms/Quote/Quote.d.ts +3 -0
  274. package/dist/components/organisms/Quote/Quote.js +33 -0
  275. package/dist/components/organisms/Quote/Quote.module.js +5 -0
  276. package/dist/components/organisms/Quote/index.d.ts +3 -0
  277. package/dist/components/organisms/Quote/types.d.ts +15 -0
  278. package/dist/components/organisms/Quote/types.js +4 -0
  279. package/dist/components/organisms/Schema/Schema.d.ts +54 -0
  280. package/dist/components/organisms/Schema/Schema.js +117 -0
  281. package/dist/components/organisms/Schema/Schema.module.js +87 -0
  282. package/dist/components/organisms/Schema/index.d.ts +2 -0
  283. package/dist/components/organisms/Schema/types.d.ts +32 -0
  284. package/dist/components/organisms/Share/Share.d.ts +6 -0
  285. package/dist/components/organisms/Share/Share.js +68 -0
  286. package/dist/components/organisms/Share/Share.module.js +22 -0
  287. package/dist/components/organisms/Share/index.d.ts +3 -0
  288. package/dist/components/organisms/Share/types.d.ts +24 -0
  289. package/dist/components/organisms/Share/types.js +4 -0
  290. package/dist/components/organisms/Sheet/Sheet.d.ts +2 -0
  291. package/dist/components/organisms/Sheet/Sheet.js +92 -0
  292. package/dist/components/organisms/Sheet/Sheet.module.js +15 -0
  293. package/dist/components/organisms/Sheet/index.d.ts +3 -0
  294. package/dist/components/organisms/Sheet/types.d.ts +15 -0
  295. package/dist/components/organisms/Sheet/types.js +4 -0
  296. package/dist/components/organisms/Slide/Slide.d.ts +6 -0
  297. package/dist/components/organisms/Slide/Slide.js +29 -0
  298. package/dist/components/organisms/Slide/Slide.module.js +13 -0
  299. package/dist/components/organisms/Slide/index.d.ts +3 -0
  300. package/dist/components/organisms/Slide/types.d.ts +18 -0
  301. package/dist/components/organisms/Slide/types.js +8 -0
  302. package/dist/components/organisms/Spotlight/Spotlight.d.ts +7 -0
  303. package/dist/components/organisms/Spotlight/Spotlight.js +39 -0
  304. package/dist/components/organisms/Spotlight/Spotlight.module.js +5 -0
  305. package/dist/components/organisms/Spotlight/index.d.ts +2 -0
  306. package/dist/components/organisms/Spotlight/types.d.ts +6 -0
  307. package/dist/components/organisms/Statements/Statements.d.ts +7 -0
  308. package/dist/components/organisms/Statements/Statements.js +50 -0
  309. package/dist/components/organisms/Statements/Statements.module.js +11 -0
  310. package/dist/components/organisms/Statements/index.d.ts +3 -0
  311. package/dist/components/organisms/Statements/types.d.ts +14 -0
  312. package/dist/components/organisms/Statements/types.js +7 -0
  313. package/dist/components/organisms/Steps/Steps.d.ts +15 -0
  314. package/dist/components/organisms/Steps/Steps.js +117 -0
  315. package/dist/components/organisms/Steps/Steps.module.js +13 -0
  316. package/dist/components/organisms/Steps/StepsContext.d.ts +11 -0
  317. package/dist/components/organisms/Steps/StepsContext.js +18 -0
  318. package/dist/components/organisms/Steps/index.d.ts +3 -0
  319. package/dist/components/organisms/Steps/types.d.ts +22 -0
  320. package/dist/components/organisms/Story/Story.d.ts +6 -0
  321. package/dist/components/organisms/Story/Story.js +43 -0
  322. package/dist/components/organisms/Story/Story.module.js +5 -0
  323. package/dist/components/organisms/Story/index.d.ts +3 -0
  324. package/dist/components/organisms/Story/types.d.ts +20 -0
  325. package/dist/components/organisms/Story/types.js +7 -0
  326. package/dist/components/organisms/Timeline/Timeline.d.ts +7 -0
  327. package/dist/components/organisms/Timeline/Timeline.js +67 -0
  328. package/dist/components/organisms/Timeline/Timeline.module.js +19 -0
  329. package/dist/components/organisms/Timeline/index.d.ts +3 -0
  330. package/dist/components/organisms/Timeline/types.d.ts +25 -0
  331. package/dist/components/organisms/Timeline/types.js +4 -0
  332. package/dist/components/organisms/Tools/Tools.d.ts +6 -0
  333. package/dist/components/organisms/Tools/Tools.js +47 -0
  334. package/dist/components/organisms/Tools/Tools.module.js +17 -0
  335. package/dist/components/organisms/Tools/index.d.ts +3 -0
  336. package/dist/components/organisms/Tools/types.d.ts +23 -0
  337. package/dist/components/organisms/Tools/types.js +4 -0
  338. package/dist/fonts/OFL.txt +93 -0
  339. package/dist/fonts/dm-sans-latin-opsz-normal.woff2 +0 -0
  340. package/dist/hooks/useCenterState.d.ts +9 -0
  341. package/dist/hooks/useCenterState.js +40 -0
  342. package/dist/hooks/useReveal.d.ts +7 -0
  343. package/dist/hooks/useReveal.js +34 -0
  344. package/dist/index.d.ts +54 -0
  345. package/dist/index.js +98 -0
  346. package/dist/styles.css +3441 -0
  347. package/dist/templates/TalkTemplate/TalkTemplate.d.ts +7 -0
  348. package/dist/templates/TalkTemplate/TalkTemplate.js +1392 -0
  349. package/dist/templates/TalkTemplate/index.d.ts +2 -0
  350. package/package.json +86 -4
@@ -0,0 +1,4 @@
1
+ //#region src/assets/samples/retrato.svg
2
+ var retrato_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20800%20800'%20role='img'%20aria-label=''%3e%3crect%20width='800'%20height='800'%20fill='%23dcdcd9'/%3e%3ccircle%20cx='400'%20cy='300'%20r='150'%20fill='%23aaaaaa'/%3e%3cpath%20d='M120%20800c0-190%20125-300%20280-300s280%20110%20280%20300Z'%20fill='%23aaaaaa'/%3e%3c/svg%3e";
3
+ //#endregion
4
+ export { retrato_default as default };
@@ -0,0 +1,6 @@
1
+ import type { BulletsProps } from './types';
2
+ /**
3
+ * Bullets are the dots that say which page a paginated strip is on, and jump to it.
4
+ * The active one gets longer instead of changing color. With one page, nothing is painted.
5
+ */
6
+ export declare function Bullets({ count, current, onSelect, orientation, itemLabel, label, className, ...rest }: BulletsProps): import("react").JSX.Element | null;
@@ -0,0 +1,34 @@
1
+ import Bullets_module_default from "./Bullets.module.js";
2
+ import { BULLETS_DEFAULTS } from "./types.js";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/components/atoms/Bullets/Bullets.tsx
5
+ /**
6
+ * Bullets are the dots that say which page a paginated strip is on, and jump to it.
7
+ * The active one gets longer instead of changing color. With one page, nothing is painted.
8
+ */
9
+ function Bullets({ count, current, onSelect, orientation = BULLETS_DEFAULTS.orientation, itemLabel = BULLETS_DEFAULTS.itemLabel, label = BULLETS_DEFAULTS.label, className, ...rest }) {
10
+ if (count < 2) return null;
11
+ const classes = [
12
+ Bullets_module_default.bullets,
13
+ orientation === "vertical" ? Bullets_module_default.vertical : "",
14
+ className ?? ""
15
+ ].filter(Boolean).join(" ");
16
+ return /* @__PURE__ */ jsx("div", {
17
+ className: classes,
18
+ role: "group",
19
+ "aria-label": label,
20
+ ...rest,
21
+ children: Array.from({ length: count }, (_, i) => i + 1).map((page) => {
22
+ const isCurrent = page === current;
23
+ return /* @__PURE__ */ jsx("button", {
24
+ type: "button",
25
+ className: [Bullets_module_default.bullet, isCurrent ? Bullets_module_default.active : ""].filter(Boolean).join(" "),
26
+ "aria-label": `${itemLabel} ${page} de ${count}`,
27
+ "aria-current": isCurrent ? "true" : void 0,
28
+ onClick: () => onSelect?.(page)
29
+ }, page);
30
+ })
31
+ });
32
+ }
33
+ //#endregion
34
+ export { Bullets };
@@ -0,0 +1,13 @@
1
+ //#region src/components/atoms/Bullets/Bullets.module.css
2
+ var bullets = "_bullets_49fy9_4";
3
+ var bullet = "_bullet_49fy9_4";
4
+ var active = "_active_49fy9_32";
5
+ var vertical = "_vertical_49fy9_43";
6
+ var Bullets_module_default = {
7
+ bullets,
8
+ bullet,
9
+ active,
10
+ vertical
11
+ };
12
+ //#endregion
13
+ export { active, bullet, bullets, Bullets_module_default as default, vertical };
@@ -0,0 +1,3 @@
1
+ export { Bullets } from './Bullets';
2
+ export { BULLETS_DEFAULTS, BULLETS_ORIENTATIONS } from './types';
3
+ export type { BulletsProps, BulletsOrientation } from './types';
@@ -0,0 +1,23 @@
1
+ import type { ComponentPropsWithoutRef } from 'react';
2
+ export declare const BULLETS_ORIENTATIONS: readonly ["horizontal", "vertical"];
3
+ export type BulletsOrientation = (typeof BULLETS_ORIENTATIONS)[number];
4
+ export type BulletsProps = {
5
+ /** How many pages. With one page nothing is painted. */
6
+ count: number;
7
+ /** The current page, starting at 1. The state lives outside. */
8
+ current: number;
9
+ /** Called with the page (starting at 1) the user wants to go to. */
10
+ onSelect?: (page: number) => void;
11
+ /** Horizontal: the dots of a carousel. Vertical: the index at the edge of the window. */
12
+ orientation?: BulletsOrientation;
13
+ /** Word used in each button's name: "Página 2 de 3". */
14
+ itemLabel?: string;
15
+ /** Name of the group for screen readers. */
16
+ label?: string;
17
+ className?: string;
18
+ } & Omit<ComponentPropsWithoutRef<'div'>, 'className' | 'children' | 'onSelect'>;
19
+ export declare const BULLETS_DEFAULTS: {
20
+ readonly orientation: "horizontal";
21
+ readonly itemLabel: "Página";
22
+ readonly label: "Páginas";
23
+ };
@@ -0,0 +1,9 @@
1
+ //#region src/components/atoms/Bullets/types.ts
2
+ var BULLETS_ORIENTATIONS = ["horizontal", "vertical"];
3
+ var BULLETS_DEFAULTS = {
4
+ orientation: "horizontal",
5
+ itemLabel: "Página",
6
+ label: "Páginas"
7
+ };
8
+ //#endregion
9
+ export { BULLETS_DEFAULTS, BULLETS_ORIENTATIONS };
@@ -0,0 +1,6 @@
1
+ import type { ButtonProps } from './types';
2
+ /**
3
+ * Button is the action that triggers something: send, open, confirm.
4
+ * With `href` it navigates and renders a real link with the same look.
5
+ */
6
+ export declare function Button(props: ButtonProps): import("react").JSX.Element;
@@ -0,0 +1,46 @@
1
+ import Button_module_default from "./Button.module.js";
2
+ import { BUTTON_DEFAULTS } from "./types.js";
3
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
+ //#region src/components/atoms/Button/Button.tsx
5
+ /**
6
+ * Button is the action that triggers something: send, open, confirm.
7
+ * With `href` it navigates and renders a real link with the same look.
8
+ */
9
+ function Button(props) {
10
+ const { variant = BUTTON_DEFAULTS.variant, size = BUTTON_DEFAULTS.size, icon, iconOnly = BUTTON_DEFAULTS.iconOnly, className, children, ...rest } = props;
11
+ const isIconOnly = iconOnly && Boolean(icon);
12
+ const classes = [
13
+ Button_module_default.button,
14
+ Button_module_default[`variant-${variant}`],
15
+ Button_module_default[`size-${size}`],
16
+ isIconOnly ? Button_module_default.iconOnly : "",
17
+ className ?? ""
18
+ ].filter(Boolean).join(" ");
19
+ const content = /* @__PURE__ */ jsxs(Fragment, { children: [icon ? /* @__PURE__ */ jsx("span", {
20
+ className: Button_module_default.icon,
21
+ "aria-hidden": "true",
22
+ children: icon
23
+ }) : null, /* @__PURE__ */ jsx("span", {
24
+ className: isIconOnly ? Button_module_default.srOnly : void 0,
25
+ children
26
+ })] });
27
+ if ("href" in rest && rest.href !== void 0) {
28
+ const { href, ...anchorRest } = rest;
29
+ return /* @__PURE__ */ jsx("a", {
30
+ className: classes,
31
+ href,
32
+ ...anchorRest,
33
+ children: content
34
+ });
35
+ }
36
+ const { type = "button", disabled, ...buttonRest } = rest;
37
+ return /* @__PURE__ */ jsx("button", {
38
+ className: classes,
39
+ type,
40
+ disabled,
41
+ ...buttonRest,
42
+ children: content
43
+ });
44
+ }
45
+ //#endregion
46
+ export { Button };
@@ -0,0 +1,24 @@
1
+ //#region src/components/atoms/Button/Button.module.css
2
+ var button = "_button_fhfjw_4";
3
+ var icon = "_icon_fhfjw_56";
4
+ var iconOnly = "_iconOnly_fhfjw_73";
5
+ var srOnly = "_srOnly_fhfjw_85";
6
+ var forceHover = "_forceHover_fhfjw_104";
7
+ var forceActive = "_forceActive_fhfjw_111";
8
+ var forceFocus = "_forceFocus_fhfjw_167";
9
+ var Button_module_default = {
10
+ button,
11
+ "size-md": "_size-md_fhfjw_45",
12
+ "size-sm": "_size-sm_fhfjw_50",
13
+ icon,
14
+ iconOnly,
15
+ srOnly,
16
+ "variant-primary": "_variant-primary_fhfjw_98",
17
+ forceHover,
18
+ forceActive,
19
+ "variant-outline": "_variant-outline_fhfjw_122",
20
+ "variant-ghost": "_variant-ghost_fhfjw_147",
21
+ forceFocus
22
+ };
23
+ //#endregion
24
+ export { button, Button_module_default as default, forceActive, forceFocus, forceHover, icon, iconOnly, srOnly };
@@ -0,0 +1,3 @@
1
+ export { Button } from './Button';
2
+ export { BUTTON_DEFAULTS, BUTTON_SIZES, BUTTON_VARIANTS } from './types';
3
+ export type { ButtonProps, ButtonSize, ButtonVariant } from './types';
@@ -0,0 +1,38 @@
1
+ import type { ComponentPropsWithoutRef, ReactNode } from 'react';
2
+ export declare const BUTTON_VARIANTS: readonly ["primary", "outline", "ghost"];
3
+ export declare const BUTTON_SIZES: readonly ["md", "sm"];
4
+ export type ButtonVariant = (typeof BUTTON_VARIANTS)[number];
5
+ export type ButtonSize = (typeof BUTTON_SIZES)[number];
6
+ type CommonProps = {
7
+ /** Level of emphasis. Only one `primary` per zone. */
8
+ variant?: ButtonVariant;
9
+ /** Control height: md (45) or sm (36). */
10
+ size?: ButtonSize;
11
+ /** Icon before the label. Inherits the text color. Use a Lucide icon. */
12
+ icon?: ReactNode;
13
+ /** Square button that shows only the icon; the label stays for screen readers. Needs `icon`. */
14
+ iconOnly?: boolean;
15
+ /** The label. Always required: it is the accessible name. */
16
+ children: ReactNode;
17
+ className?: string;
18
+ };
19
+ type AsButton = CommonProps & {
20
+ href?: undefined;
21
+ /** The action is not possible right now. Never combined with `href`. */
22
+ disabled?: boolean;
23
+ /** The native button type. `submit` only inside a Form; elsewhere leave the default `button`. */
24
+ type?: 'button' | 'submit' | 'reset';
25
+ } & Omit<ComponentPropsWithoutRef<'button'>, 'children' | 'className' | 'type' | 'disabled'>;
26
+ type AsLink = CommonProps & {
27
+ /** With `href` the button navigates: it renders a real link with the same look. */
28
+ href: string;
29
+ disabled?: never;
30
+ type?: never;
31
+ } & Omit<ComponentPropsWithoutRef<'a'>, 'children' | 'className' | 'href'>;
32
+ export type ButtonProps = AsButton | AsLink;
33
+ export declare const BUTTON_DEFAULTS: {
34
+ readonly variant: "primary";
35
+ readonly size: "md";
36
+ readonly iconOnly: false;
37
+ };
38
+ export {};
@@ -0,0 +1,14 @@
1
+ //#region src/components/atoms/Button/types.ts
2
+ var BUTTON_VARIANTS = [
3
+ "primary",
4
+ "outline",
5
+ "ghost"
6
+ ];
7
+ var BUTTON_SIZES = ["md", "sm"];
8
+ var BUTTON_DEFAULTS = {
9
+ variant: "primary",
10
+ size: "md",
11
+ iconOnly: false
12
+ };
13
+ //#endregion
14
+ export { BUTTON_DEFAULTS, BUTTON_SIZES, BUTTON_VARIANTS };
@@ -0,0 +1,6 @@
1
+ import type { CountProps } from './types';
2
+ /**
3
+ * Count is a figure that counts up from zero when it comes into view (or its Step lights up),
4
+ * in 1.4 s, with the Spanish number format. It goes back to zero when it leaves, so it replays.
5
+ */
6
+ export declare function Count({ value, decimals, prefix, suffix, className, ...rest }: CountProps): import("react").JSX.Element;
@@ -0,0 +1,51 @@
1
+ import { useReveal } from "../../../hooks/useReveal.js";
2
+ import Count_module_default from "./Count.module.js";
3
+ import { COUNT_DEFAULTS } from "./types.js";
4
+ import { jsx, jsxs } from "react/jsx-runtime";
5
+ import { useEffect, useMemo, useRef, useState } from "react";
6
+ //#region src/components/atoms/Count/Count.tsx
7
+ var DURATION = 1400;
8
+ var easeOut = (t) => 1 - Math.pow(1 - t, 3);
9
+ /**
10
+ * Count is a figure that counts up from zero when it comes into view (or its Step lights up),
11
+ * in 1.4 s, with the Spanish number format. It goes back to zero when it leaves, so it replays.
12
+ */
13
+ function Count({ value, decimals = COUNT_DEFAULTS.decimals, prefix = COUNT_DEFAULTS.prefix, suffix = COUNT_DEFAULTS.suffix, className, ...rest }) {
14
+ const ref = useRef(null);
15
+ const on = useReveal(ref);
16
+ const [shown, setShown] = useState(0);
17
+ const format = useMemo(() => new Intl.NumberFormat("es-ES", {
18
+ minimumFractionDigits: decimals,
19
+ maximumFractionDigits: decimals
20
+ }), [decimals]);
21
+ useEffect(() => {
22
+ if (!on) {
23
+ setShown(0);
24
+ return;
25
+ }
26
+ let frame = 0;
27
+ const start = performance.now();
28
+ const tick = (now) => {
29
+ const t = Math.min(1, (now - start) / DURATION);
30
+ setShown(value * easeOut(t));
31
+ if (t < 1) frame = requestAnimationFrame(tick);
32
+ };
33
+ frame = requestAnimationFrame(tick);
34
+ return () => cancelAnimationFrame(frame);
35
+ }, [on, value]);
36
+ const final = `${prefix}${format.format(value)}${suffix}`;
37
+ return /* @__PURE__ */ jsxs("span", {
38
+ ref,
39
+ className: [Count_module_default.count, className ?? ""].filter(Boolean).join(" "),
40
+ ...rest,
41
+ children: [/* @__PURE__ */ jsx("span", {
42
+ "aria-hidden": "true",
43
+ children: `${prefix}${format.format(shown)}${suffix}`
44
+ }), /* @__PURE__ */ jsx("span", {
45
+ className: Count_module_default.voice,
46
+ children: final
47
+ })]
48
+ });
49
+ }
50
+ //#endregion
51
+ export { Count };
@@ -0,0 +1,9 @@
1
+ //#region src/components/atoms/Count/Count.module.css
2
+ var count = "_count_z2ehz_4";
3
+ var voice = "_voice_z2ehz_9";
4
+ var Count_module_default = {
5
+ count,
6
+ voice
7
+ };
8
+ //#endregion
9
+ export { count, Count_module_default as default, voice };
@@ -0,0 +1,3 @@
1
+ export { Count } from './Count';
2
+ export { COUNT_DEFAULTS } from './types';
3
+ export type { CountProps } from './types';
@@ -0,0 +1,17 @@
1
+ import type { ComponentPropsWithoutRef } from 'react';
2
+ export type CountProps = {
3
+ /** The final figure, as a number (79592, 45.9). */
4
+ value: number;
5
+ /** Decimals to show, with the Spanish comma (45,9). */
6
+ decimals?: number;
7
+ /** Text before the figure ("+", "−"). */
8
+ prefix?: string;
9
+ /** Text after the figure (" %", " k"). Write the space if it goes: "20 %". */
10
+ suffix?: string;
11
+ className?: string;
12
+ } & Omit<ComponentPropsWithoutRef<'span'>, 'className' | 'children' | 'prefix'>;
13
+ export declare const COUNT_DEFAULTS: {
14
+ readonly decimals: 0;
15
+ readonly prefix: "";
16
+ readonly suffix: "";
17
+ };
@@ -0,0 +1,8 @@
1
+ //#region src/components/atoms/Count/types.ts
2
+ var COUNT_DEFAULTS = {
3
+ decimals: 0,
4
+ prefix: "",
5
+ suffix: ""
6
+ };
7
+ //#endregion
8
+ export { COUNT_DEFAULTS };
@@ -0,0 +1,6 @@
1
+ import type { ImageProps } from './types';
2
+ /**
3
+ * Image is the content image. It crops to fill its box and never deforms,
4
+ * except when asked to let the file's proportion rule (`ratio="auto"`).
5
+ */
6
+ export declare function Image({ src, alt, ratio, loading, className, ...rest }: ImageProps): import("react").JSX.Element;
@@ -0,0 +1,30 @@
1
+ import Image_module_default from "./Image.module.js";
2
+ import { IMAGE_DEFAULTS } from "./types.js";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/components/atoms/Image/Image.tsx
5
+ var RATIO_CLASS = {
6
+ "2:1": Image_module_default["ratio-2-1"],
7
+ "1:1": Image_module_default["ratio-1-1"],
8
+ fill: Image_module_default["ratio-fill"],
9
+ auto: Image_module_default["ratio-auto"]
10
+ };
11
+ /**
12
+ * Image is the content image. It crops to fill its box and never deforms,
13
+ * except when asked to let the file's proportion rule (`ratio="auto"`).
14
+ */
15
+ function Image({ src, alt, ratio = IMAGE_DEFAULTS.ratio, loading = IMAGE_DEFAULTS.loading, className, ...rest }) {
16
+ const classes = [
17
+ Image_module_default.image,
18
+ RATIO_CLASS[ratio],
19
+ className ?? ""
20
+ ].filter(Boolean).join(" ");
21
+ return /* @__PURE__ */ jsx("img", {
22
+ className: classes,
23
+ src,
24
+ alt,
25
+ loading,
26
+ ...rest
27
+ });
28
+ }
29
+ //#endregion
30
+ export { Image };
@@ -0,0 +1,11 @@
1
+ //#region src/components/atoms/Image/Image.module.css
2
+ var image = "_image_1q33o_4";
3
+ var Image_module_default = {
4
+ image,
5
+ "ratio-2-1": "_ratio-2-1_1q33o_11",
6
+ "ratio-1-1": "_ratio-1-1_1q33o_15",
7
+ "ratio-fill": "_ratio-fill_1q33o_20",
8
+ "ratio-auto": "_ratio-auto_1q33o_25"
9
+ };
10
+ //#endregion
11
+ export { Image_module_default as default, image };
@@ -0,0 +1,3 @@
1
+ export { Image } from './Image';
2
+ export { IMAGE_DEFAULTS, IMAGE_RATIOS } from './types';
3
+ export type { ImageProps, ImageRatio } from './types';
@@ -0,0 +1,16 @@
1
+ import type { ComponentPropsWithoutRef } from 'react';
2
+ export declare const IMAGE_RATIOS: readonly ["2:1", "1:1", "fill", "auto"];
3
+ export type ImageRatio = (typeof IMAGE_RATIOS)[number];
4
+ export type ImageProps = {
5
+ /** The image file. */
6
+ src: string;
7
+ /** Required. Describe the image, or pass "" to mark it decorative (different from forgetting it). */
8
+ alt: string;
9
+ /** Who owns the height: 2:1 and 1:1 the box, fill the container, auto the file (no crop). */
10
+ ratio?: ImageRatio;
11
+ className?: string;
12
+ } & Omit<ComponentPropsWithoutRef<'img'>, 'src' | 'alt' | 'className'>;
13
+ export declare const IMAGE_DEFAULTS: {
14
+ readonly ratio: "2:1";
15
+ readonly loading: "lazy";
16
+ };
@@ -0,0 +1,13 @@
1
+ //#region src/components/atoms/Image/types.ts
2
+ var IMAGE_RATIOS = [
3
+ "2:1",
4
+ "1:1",
5
+ "fill",
6
+ "auto"
7
+ ];
8
+ var IMAGE_DEFAULTS = {
9
+ ratio: "2:1",
10
+ loading: "lazy"
11
+ };
12
+ //#endregion
13
+ export { IMAGE_DEFAULTS, IMAGE_RATIOS };
@@ -0,0 +1,6 @@
1
+ import type { LogoProps } from './types';
2
+ /**
3
+ * Logo is the 540 logotype: the star and the word, one block. The height rules and
4
+ * the width follows. The drawing inherits the ink, so there is no copy per theme.
5
+ */
6
+ export declare function Logo({ size, label, className, ...rest }: LogoProps): import("react").JSX.Element;
@@ -0,0 +1,32 @@
1
+ import Logo_module_default from "./Logo.module.js";
2
+ import { LOGO_PATHS, LOGO_VIEWBOX } from "./paths.js";
3
+ import { LOGO_DEFAULTS } from "./types.js";
4
+ import { jsx } from "react/jsx-runtime";
5
+ //#region src/components/atoms/Logo/Logo.tsx
6
+ /**
7
+ * Logo is the 540 logotype: the star and the word, one block. The height rules and
8
+ * the width follows. The drawing inherits the ink, so there is no copy per theme.
9
+ */
10
+ function Logo({ size = LOGO_DEFAULTS.size, label = LOGO_DEFAULTS.label, className, ...rest }) {
11
+ const decorative = label === "";
12
+ const classes = [
13
+ Logo_module_default.logo,
14
+ Logo_module_default[`size-${size}`],
15
+ className ?? ""
16
+ ].filter(Boolean).join(" ");
17
+ return /* @__PURE__ */ jsx("svg", {
18
+ className: classes,
19
+ viewBox: LOGO_VIEWBOX,
20
+ role: decorative ? void 0 : "img",
21
+ "aria-label": decorative ? void 0 : label,
22
+ "aria-hidden": decorative ? true : void 0,
23
+ focusable: "false",
24
+ ...rest,
25
+ children: LOGO_PATHS.map((d, i) => /* @__PURE__ */ jsx("path", {
26
+ fill: "currentColor",
27
+ d
28
+ }, i))
29
+ });
30
+ }
31
+ //#endregion
32
+ export { Logo };
@@ -0,0 +1,10 @@
1
+ //#region src/components/atoms/Logo/Logo.module.css
2
+ var logo = "_logo_6429y_3";
3
+ var Logo_module_default = {
4
+ logo,
5
+ "size-md": "_size-md_6429y_10",
6
+ "size-sm": "_size-sm_6429y_14",
7
+ "size-xs": "_size-xs_6429y_18"
8
+ };
9
+ //#endregion
10
+ export { Logo_module_default as default, logo };
@@ -0,0 +1,3 @@
1
+ export { Logo } from './Logo';
2
+ export { LOGO_DEFAULTS, LOGO_SIZES } from './types';
3
+ export type { LogoProps, LogoSize } from './types';
@@ -0,0 +1,2 @@
1
+ export declare const LOGO_VIEWBOX = "0 0 539.15 164.04";
2
+ export declare const LOGO_PATHS: readonly ["M96.65,79.67L53.19,4.39c-2.42-4.19-7.78-5.63-11.98-3.21s-5.63,7.78-3.21,11.98l36.11,62.55H8.77c-4.84,0-8.77,3.93-8.77,8.77s3.93,8.77,8.77,8.77h65.43l-33.28,57.64c-2.42,4.19-.98,9.56,3.21,11.98,4.19,2.42,9.56.98,11.98-3.21l40.69-70.47c1.17-2.02,1.43-4.32.93-6.42-.16-1.06-.51-2.11-1.07-3.09Z", "M104.05,60.27c4.19,2.42,9.56.98,11.98-3.21l24.5-42.44c2.42-4.19.98-9.56-3.21-11.98-4.19-2.42-9.56-.98-11.98,3.21l-24.5,42.44c-2.42,4.19-.98,9.56,3.21,11.98Z", "M116.03,112.53c-2.42-4.19-7.78-5.63-11.98-3.21s-5.63,7.78-3.21,11.98l21.93,37.99c2.42,4.19,7.78,5.63,11.98,3.21,4.19-2.42,5.63-7.78,3.21-11.98l-21.93-37.99Z", "M165.68,75.71h-50.22c-4.84,0-8.77,3.93-8.77,8.77s3.93,8.77,8.77,8.77h50.22c4.84,0,8.77-3.93,8.77-8.77s-3.93-8.77-8.77-8.77Z", "M478.89,5.42c-37.64,0-60.26,30.45-60.26,76.12,0,6.92.5,13.49,1.48,19.67h-15.82V7.53h-27.7l-65.41,83.63c-6.43-17.16-22.42-28.23-43.22-28.23-9.52,0-20.09,3.59-26.01,9.3l8.67-40.39h62.17V7.53h-83.52l-18.18,89.87h25.8c6.13-6.77,15.43-10.15,23.26-10.15h2.11c13.53,0,23.89,8.25,23.89,22.62s-10.36,23.47-23.89,23.47h-2.11c-13.32,0-23.47-7.19-26.01-19.03h-28.12c2.96,25.37,24.74,43.35,54.98,43.35,25.66,0,44.12-12.51,50.67-32.14h65.79v30.03h26.85v-30.03h22.2v-2.03c9.49,21.4,27.35,34.17,52.4,34.17,38.7,0,60.26-30.45,60.26-76.12s-22.62-76.12-60.26-76.12ZM377.43,101.21h-44.19l44.19-56.03v56.03ZM479.95,133.35h-2.11c-21.78,0-31.08-19.88-31.08-51.8s9.3-51.8,31.08-51.8h2.11c21.78,0,31.08,19.88,31.08,51.8s-9.3,51.8-31.08,51.8Z"];
@@ -0,0 +1,11 @@
1
+ //#region src/components/atoms/Logo/paths.ts
2
+ var LOGO_VIEWBOX = "0 0 539.15 164.04";
3
+ var LOGO_PATHS = [
4
+ "M96.65,79.67L53.19,4.39c-2.42-4.19-7.78-5.63-11.98-3.21s-5.63,7.78-3.21,11.98l36.11,62.55H8.77c-4.84,0-8.77,3.93-8.77,8.77s3.93,8.77,8.77,8.77h65.43l-33.28,57.64c-2.42,4.19-.98,9.56,3.21,11.98,4.19,2.42,9.56.98,11.98-3.21l40.69-70.47c1.17-2.02,1.43-4.32.93-6.42-.16-1.06-.51-2.11-1.07-3.09Z",
5
+ "M104.05,60.27c4.19,2.42,9.56.98,11.98-3.21l24.5-42.44c2.42-4.19.98-9.56-3.21-11.98-4.19-2.42-9.56-.98-11.98,3.21l-24.5,42.44c-2.42,4.19-.98,9.56,3.21,11.98Z",
6
+ "M116.03,112.53c-2.42-4.19-7.78-5.63-11.98-3.21s-5.63,7.78-3.21,11.98l21.93,37.99c2.42,4.19,7.78,5.63,11.98,3.21,4.19-2.42,5.63-7.78,3.21-11.98l-21.93-37.99Z",
7
+ "M165.68,75.71h-50.22c-4.84,0-8.77,3.93-8.77,8.77s3.93,8.77,8.77,8.77h50.22c4.84,0,8.77-3.93,8.77-8.77s-3.93-8.77-8.77-8.77Z",
8
+ "M478.89,5.42c-37.64,0-60.26,30.45-60.26,76.12,0,6.92.5,13.49,1.48,19.67h-15.82V7.53h-27.7l-65.41,83.63c-6.43-17.16-22.42-28.23-43.22-28.23-9.52,0-20.09,3.59-26.01,9.3l8.67-40.39h62.17V7.53h-83.52l-18.18,89.87h25.8c6.13-6.77,15.43-10.15,23.26-10.15h2.11c13.53,0,23.89,8.25,23.89,22.62s-10.36,23.47-23.89,23.47h-2.11c-13.32,0-23.47-7.19-26.01-19.03h-28.12c2.96,25.37,24.74,43.35,54.98,43.35,25.66,0,44.12-12.51,50.67-32.14h65.79v30.03h26.85v-30.03h22.2v-2.03c9.49,21.4,27.35,34.17,52.4,34.17,38.7,0,60.26-30.45,60.26-76.12s-22.62-76.12-60.26-76.12ZM377.43,101.21h-44.19l44.19-56.03v56.03ZM479.95,133.35h-2.11c-21.78,0-31.08-19.88-31.08-51.8s9.3-51.8,31.08-51.8h2.11c21.78,0,31.08,19.88,31.08,51.8s-9.3,51.8-31.08,51.8Z"
9
+ ];
10
+ //#endregion
11
+ export { LOGO_PATHS, LOGO_VIEWBOX };
@@ -0,0 +1,14 @@
1
+ import type { ComponentPropsWithoutRef } from 'react';
2
+ export declare const LOGO_SIZES: readonly ["md", "sm", "xs"];
3
+ export type LogoSize = (typeof LOGO_SIZES)[number];
4
+ export type LogoProps = {
5
+ /** Height of the logotype: md 48, sm 32, xs 24. The width follows the drawing's proportion. */
6
+ size?: LogoSize;
7
+ /** Accessible name. Empty string makes it decorative (hidden from screen readers). */
8
+ label?: string;
9
+ className?: string;
10
+ } & Omit<ComponentPropsWithoutRef<'svg'>, 'className' | 'children' | 'viewBox' | 'role' | 'aria-label' | 'aria-hidden'>;
11
+ export declare const LOGO_DEFAULTS: {
12
+ readonly size: "md";
13
+ readonly label: "540";
14
+ };
@@ -0,0 +1,12 @@
1
+ //#region src/components/atoms/Logo/types.ts
2
+ var LOGO_SIZES = [
3
+ "md",
4
+ "sm",
5
+ "xs"
6
+ ];
7
+ var LOGO_DEFAULTS = {
8
+ size: "md",
9
+ label: "540"
10
+ };
11
+ //#endregion
12
+ export { LOGO_DEFAULTS, LOGO_SIZES };
@@ -0,0 +1,6 @@
1
+ import type { MenuItemProps } from './types';
2
+ /**
3
+ * MenuItem is a destination of the menu: a real link with a "current section" state.
4
+ * The current one is bold and nothing else, plus aria-current="page" set by the component.
5
+ */
6
+ export declare function MenuItem({ href, size, current, className, children, ...rest }: MenuItemProps): import("react").JSX.Element;
@@ -0,0 +1,28 @@
1
+ import MenuItem_module_default from "./MenuItem.module.js";
2
+ import { MENU_ITEM_DEFAULTS } from "./types.js";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/components/atoms/MenuItem/MenuItem.tsx
5
+ /**
6
+ * MenuItem is a destination of the menu: a real link with a "current section" state.
7
+ * The current one is bold and nothing else, plus aria-current="page" set by the component.
8
+ */
9
+ function MenuItem({ href, size = MENU_ITEM_DEFAULTS.size, current = MENU_ITEM_DEFAULTS.current, className, children, ...rest }) {
10
+ const classes = [
11
+ MenuItem_module_default.item,
12
+ MenuItem_module_default[`size-${size}`],
13
+ current ? MenuItem_module_default.current : "",
14
+ className ?? ""
15
+ ].filter(Boolean).join(" ");
16
+ return /* @__PURE__ */ jsx("a", {
17
+ className: classes,
18
+ href,
19
+ "aria-current": current ? "page" : void 0,
20
+ ...rest,
21
+ children: /* @__PURE__ */ jsx("span", {
22
+ className: MenuItem_module_default.label,
23
+ children
24
+ })
25
+ });
26
+ }
27
+ //#endregion
28
+ export { MenuItem };
@@ -0,0 +1,19 @@
1
+ //#region src/components/atoms/MenuItem/MenuItem.module.css
2
+ var item = "_item_vvlcs_4";
3
+ var label = "_label_vvlcs_19";
4
+ var forceHover = "_forceHover_vvlcs_26";
5
+ var forceActive = "_forceActive_vvlcs_31";
6
+ var forceFocus = "_forceFocus_vvlcs_41";
7
+ var current = "_current_vvlcs_63";
8
+ var MenuItem_module_default = {
9
+ item,
10
+ label,
11
+ forceHover,
12
+ forceActive,
13
+ forceFocus,
14
+ "size-sm": "_size-sm_vvlcs_46",
15
+ "size-lg": "_size-lg_vvlcs_54",
16
+ current
17
+ };
18
+ //#endregion
19
+ export { current, MenuItem_module_default as default, forceActive, forceFocus, forceHover, item, label };
@@ -0,0 +1,3 @@
1
+ export { MenuItem } from './MenuItem';
2
+ export { MENU_ITEM_DEFAULTS, MENU_ITEM_SIZES } from './types';
3
+ export type { MenuItemProps, MenuItemSize } from './types';
@@ -0,0 +1,18 @@
1
+ import type { ComponentPropsWithoutRef, ReactNode } from 'react';
2
+ export declare const MENU_ITEM_SIZES: readonly ["sm", "lg"];
3
+ export type MenuItemSize = (typeof MENU_ITEM_SIZES)[number];
4
+ export type MenuItemProps = {
5
+ /** Where it goes. Required: a menu item always navigates. */
6
+ href: string;
7
+ /** sm for the desktop bar (uppercase micro), lg for the mobile panel (title-m). */
8
+ size?: MenuItemSize;
9
+ /** The section being viewed. Bold plus aria-current="page". One per menu. */
10
+ current?: boolean;
11
+ /** The label, written normally ("Servicios"); sm makes it uppercase by style. */
12
+ children: ReactNode;
13
+ className?: string;
14
+ } & Omit<ComponentPropsWithoutRef<'a'>, 'href' | 'className' | 'children' | 'aria-current'>;
15
+ export declare const MENU_ITEM_DEFAULTS: {
16
+ readonly size: "sm";
17
+ readonly current: false;
18
+ };
@@ -0,0 +1,8 @@
1
+ //#region src/components/atoms/MenuItem/types.ts
2
+ var MENU_ITEM_SIZES = ["sm", "lg"];
3
+ var MENU_ITEM_DEFAULTS = {
4
+ size: "sm",
5
+ current: false
6
+ };
7
+ //#endregion
8
+ export { MENU_ITEM_DEFAULTS, MENU_ITEM_SIZES };