@eduardoalvarez/arrecife 0.5.1 → 0.6.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 (66) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/README.md +706 -470
  3. package/dist/brand/index.cjs +112 -95
  4. package/dist/brand/index.d.cts +40 -39
  5. package/dist/brand/index.d.ts +40 -39
  6. package/dist/brand/index.js +5 -4
  7. package/dist/catalog-D13txprv.d.cts +78 -0
  8. package/dist/catalog-D13txprv.d.ts +78 -0
  9. package/dist/chart/index.cjs +100 -83
  10. package/dist/chart/index.d.cts +66 -66
  11. package/dist/chart/index.d.ts +66 -66
  12. package/dist/chart/index.js +14 -12
  13. package/dist/chunk-25YNFCIF.js +141 -0
  14. package/dist/{chunk-YZ2SDOVZ.js → chunk-6O3KWB6P.js} +30 -30
  15. package/dist/chunk-CKRSQPTX.js +36 -0
  16. package/dist/{chunk-ZEOQKRQ7.js → chunk-DKCN7BAL.js} +1 -1
  17. package/dist/chunk-GCRII2KQ.js +86 -0
  18. package/dist/chunk-JMOOFZ3B.js +42 -0
  19. package/dist/chunk-O4TAH7YJ.js +276 -0
  20. package/dist/chunk-ODBFN44D.js +45 -0
  21. package/dist/{chunk-VPT32GPG.js → chunk-PMN7NR3G.js} +2 -2
  22. package/dist/chunk-XKYHTOUJ.js +27 -0
  23. package/dist/form/index.cjs +109 -92
  24. package/dist/form/index.d.cts +43 -42
  25. package/dist/form/index.d.ts +43 -42
  26. package/dist/form/index.js +25 -23
  27. package/dist/index.cjs +1047 -914
  28. package/dist/index.d.cts +769 -777
  29. package/dist/index.d.ts +769 -777
  30. package/dist/index.js +608 -660
  31. package/dist/{label-DuTvJGxD.d.ts → label-MgHFKnFy.d.cts} +3 -3
  32. package/dist/{label-DuTvJGxD.d.cts → label-MgHFKnFy.d.ts} +3 -3
  33. package/dist/og/index.cjs +130 -130
  34. package/dist/og/index.d.cts +93 -89
  35. package/dist/og/index.d.ts +93 -89
  36. package/dist/og/index.js +106 -106
  37. package/dist/shiki/index.cjs +28 -30
  38. package/dist/shiki/index.d.cts +4 -4
  39. package/dist/shiki/index.d.ts +4 -4
  40. package/dist/shiki/index.js +12 -12
  41. package/dist/theme/index.cjs +97 -0
  42. package/dist/theme/index.d.cts +144 -0
  43. package/dist/theme/index.d.ts +144 -0
  44. package/dist/theme/index.js +2 -0
  45. package/dist/tokens/index.cjs +133 -86
  46. package/dist/tokens/index.d.cts +246 -161
  47. package/dist/tokens/index.d.ts +246 -161
  48. package/dist/tokens/index.js +2 -2
  49. package/dist/tokens/theme.css +133 -98
  50. package/dist/variants/index.cjs +192 -0
  51. package/dist/variants/index.d.cts +192 -0
  52. package/dist/variants/index.d.ts +192 -0
  53. package/dist/variants/index.js +3 -0
  54. package/llms.txt +810 -744
  55. package/package.json +20 -11
  56. package/dist/catalogo-Du5ID-Hi.d.cts +0 -77
  57. package/dist/catalogo-Du5ID-Hi.d.ts +0 -77
  58. package/dist/chunk-E3OMP2DL.js +0 -36
  59. package/dist/chunk-KPZNNMV5.js +0 -83
  60. package/dist/chunk-NHS7ETKJ.js +0 -27
  61. package/dist/chunk-TSPJOM6K.js +0 -229
  62. package/dist/chunk-UOWIDFCB.js +0 -81
  63. package/dist/tema/index.cjs +0 -94
  64. package/dist/tema/index.d.cts +0 -110
  65. package/dist/tema/index.d.ts +0 -110
  66. package/dist/tema/index.js +0 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,50 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.6.0](https://github.com/Proskynete/arrecife/compare/v0.5.1...v0.6.0) (2026-09-02)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * **theme:** `themeScript` is a function, not a string. `set:html={themeScript}` becomes `set:html={themeScript()}`. TypeScript catches it at the call site in both consumers — `set:html` and `__html` both expect a string — so it cannot fail silently. `preferredTheme()` and `watchTheme(fn)` are unchanged when called with no options.
9
+ * **components:** `TalkCardProps` is now a union. Code that spreads a props object typed as `TalkCardProps` and then adds `href` conditionally will need to narrow it. Passing only `href`, as every call site does today, is unchanged.
10
+ * the root, `./brand`, `./form` and `./chart` now ship `"use client"`. A Next project should remove its own `"use client"` adapters around them; keeping them still works but keeps paying for the client chunk. A Server Component that only needs classes imports them from `@eduardoalvarez/arrecife/variants`, which carries no directive.
11
+ * the whole public API is now in English. `./tema` becomes `./theme`, `scriptTema` becomes `themeScript`, `Red` becomes `SocialLink`, the `degradado-hero` utility becomes `gradient-hero`, `Hero`'s `variant="cabecera"` becomes `variant="header"`, and the `localStorage` key moves from `arrecife-tema` to `arrecife-theme`. No value, size or contrast ratio changes. The full rename table and the migration steps are in docs/migration-0.6.md.
12
+
13
+ ### 🚀 Novedades
14
+
15
+ * "use client" in the published dist ([6f7414d](https://github.com/Proskynete/arrecife/commit/6f7414d953b7fd9953fe05cee770eeb8e945cfed))
16
+ * **brand:** the newsletter bell joins social ([4e24b7a](https://github.com/Proskynete/arrecife/commit/4e24b7a3f9af1896761fc93862b62ec1256786f2))
17
+ * **components:** ArticleCard's tags are reachable with a slot ([5c0ad42](https://github.com/Proskynete/arrecife/commit/5c0ad422c149329a8b47ba484dedea391cab4419))
18
+ * **components:** TalkCard gains a slot for the talk's resources ([7a63cc3](https://github.com/Proskynete/arrecife/commit/7a63cc320886eef90d005cce7964720df4100d4a))
19
+ * **components:** the footer's CLI signature ends in a blinking caret ([4538f5d](https://github.com/Proskynete/arrecife/commit/4538f5d59c9a3fa49790b6656d1e6f6b0e7df842))
20
+ * **components:** the four NewsletterForm props the blog was faking ([5ed44af](https://github.com/Proskynete/arrecife/commit/5ed44af9c182826b8c8314bd86a976097818bf77))
21
+ * the public API and the source in English ([e43a180](https://github.com/Proskynete/arrecife/commit/e43a180f45b119ae8b7dd95fccf9958dffef6966))
22
+ * **theme:** themeScript takes the mode the site already decided ([19b2ac3](https://github.com/Proskynete/arrecife/commit/19b2ac3edd557bd17d7e6e0bcf32c3018d413013))
23
+ * **tokens:** the danger palette, and the two variants it pays for ([8eaa409](https://github.com/Proskynete/arrecife/commit/8eaa4096d34860c1e673088d7d3d44cce9177cfa))
24
+ * **variants:** publish it as ./variants, a subpath with no React ([0c0bd15](https://github.com/Proskynete/arrecife/commit/0c0bd157ac2296fa265976cf075407c1ec321d82))
25
+ * **variants:** the class vocabulary moves out of the components ([e144db2](https://github.com/Proskynete/arrecife/commit/e144db281d6f88fa23df37bb49e7d09f718e056f))
26
+
27
+
28
+ ### 📚 Documentación
29
+
30
+ * README and AGENTS in English, with the two new rules ([be4f487](https://github.com/Proskynete/arrecife/commit/be4f48745e8c8e1f5cbe13add688fa6e7491a668))
31
+ * state the danger rule as it is now, everywhere it was stated ([43121cb](https://github.com/Proskynete/arrecife/commit/43121cbbbd02a4397f33edc73d99ac45738326de))
32
+ * the client boundary and the new subpath ([2d67b78](https://github.com/Proskynete/arrecife/commit/2d67b78630e4e1fca4cc4b2817c19c7ff3a1cfee))
33
+ * the migration guide for 0.6 ([47c6ae0](https://github.com/Proskynete/arrecife/commit/47c6ae0b7c981d75c938e120109b001e8d4da8a0))
34
+ * the migration guide for 0.7 ([2d74a07](https://github.com/Proskynete/arrecife/commit/2d74a07d0189ffd220d9d50e75fbf5181df89daa))
35
+ * the reference documents in English ([2053ad1](https://github.com/Proskynete/arrecife/commit/2053ad1310ad110590e3dd3e178c228aa13b9f3d))
36
+ * this is one release, not two ([5121481](https://github.com/Proskynete/arrecife/commit/51214813eeb48ca2e1d56917a3606c9a4960d880))
37
+
38
+
39
+ ### 🚀 CI/CD
40
+
41
+ * dos cosas que salieron al configurar el proyecto de Vercel ([6c40940](https://github.com/Proskynete/arrecife/commit/6c409403bc4b1483065c36c715ceb22de7512700))
42
+ * el «skipped» de preparar se propagaba hasta el despliegue ([f4db0fb](https://github.com/Proskynete/arrecife/commit/f4db0fbd62addbca403eb50d616c34d227f06aa6))
43
+ * el ensayo no puede fallar por la única cosa que no prueba ([06b85f3](https://github.com/Proskynete/arrecife/commit/06b85f34a6cc126cd159ad0f5b1ddb4bbea52df2))
44
+ * el ensayo también despliega, a un preview ([fb8c603](https://github.com/Proskynete/arrecife/commit/fb8c6032614372c388489c1e7a376b01d84f0658))
45
+ * el Storybook se despliega a Vercel al cortar versión ([94167a9](https://github.com/Proskynete/arrecife/commit/94167a938dbbe844af1a247077f67d348f1075d0))
46
+ * workflows, templates and the setup action in English ([321db58](https://github.com/Proskynete/arrecife/commit/321db585debe60cb5c9c663bc9586a1bc7a59ab7))
47
+
3
48
  ## [0.5.1](https://github.com/Proskynete/arrecife/compare/v0.5.0...v0.5.1) (2026-08-31)
4
49
 
5
50