@eduardoalvarez/arrecife 0.5.1 → 0.7.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 (78) hide show
  1. package/CHANGELOG.md +114 -0
  2. package/README.md +868 -467
  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-2WPWEIMD.js +27 -0
  14. package/dist/chunk-45HVCTB7.js +70 -0
  15. package/dist/{chunk-ZEOQKRQ7.js → chunk-727HCBD4.js} +1 -1
  16. package/dist/chunk-CKRSQPTX.js +36 -0
  17. package/dist/chunk-E6KFUSKB.js +144 -0
  18. package/dist/chunk-GCRII2KQ.js +86 -0
  19. package/dist/{chunk-YZ2SDOVZ.js → chunk-JN3IS5OS.js} +30 -30
  20. package/dist/chunk-ODBFN44D.js +45 -0
  21. package/dist/chunk-OMKSESQB.js +300 -0
  22. package/dist/{chunk-VPT32GPG.js → chunk-TA7TLWW4.js} +2 -2
  23. package/dist/chunk-WGNIRIN7.js +42 -0
  24. package/dist/doctor.mjs +166 -0
  25. package/dist/form/index.cjs +109 -92
  26. package/dist/form/index.d.cts +43 -42
  27. package/dist/form/index.d.ts +43 -42
  28. package/dist/form/index.js +25 -23
  29. package/dist/icons/index.cjs +149 -0
  30. package/dist/icons/index.d.cts +94 -0
  31. package/dist/icons/index.d.ts +94 -0
  32. package/dist/icons/index.js +28 -0
  33. package/dist/index-DlAO2JZs.d.cts +47 -0
  34. package/dist/index-DlAO2JZs.d.ts +47 -0
  35. package/dist/index.cjs +1292 -983
  36. package/dist/index.d.cts +927 -806
  37. package/dist/index.d.ts +927 -806
  38. package/dist/index.js +809 -778
  39. package/dist/{label-DuTvJGxD.d.ts → label-MgHFKnFy.d.cts} +3 -3
  40. package/dist/{label-DuTvJGxD.d.cts → label-MgHFKnFy.d.ts} +3 -3
  41. package/dist/og/index.cjs +133 -132
  42. package/dist/og/index.d.cts +93 -89
  43. package/dist/og/index.d.ts +93 -89
  44. package/dist/og/index.js +106 -106
  45. package/dist/shiki/index.cjs +28 -30
  46. package/dist/shiki/index.d.cts +4 -4
  47. package/dist/shiki/index.d.ts +4 -4
  48. package/dist/shiki/index.js +12 -12
  49. package/dist/social/index.cjs +67 -0
  50. package/dist/social/index.d.cts +2 -0
  51. package/dist/social/index.d.ts +2 -0
  52. package/dist/social/index.js +2 -0
  53. package/dist/theme/index.cjs +97 -0
  54. package/dist/theme/index.d.cts +144 -0
  55. package/dist/theme/index.d.ts +144 -0
  56. package/dist/theme/index.js +2 -0
  57. package/dist/tokens/index.cjs +159 -88
  58. package/dist/tokens/index.d.cts +277 -165
  59. package/dist/tokens/index.d.ts +277 -165
  60. package/dist/tokens/index.js +2 -2
  61. package/dist/tokens/theme.css +165 -100
  62. package/dist/variants/index.cjs +195 -0
  63. package/dist/variants/index.d.cts +195 -0
  64. package/dist/variants/index.d.ts +195 -0
  65. package/dist/variants/index.js +3 -0
  66. package/llms.txt +1145 -746
  67. package/package.json +42 -11
  68. package/dist/catalogo-Du5ID-Hi.d.cts +0 -77
  69. package/dist/catalogo-Du5ID-Hi.d.ts +0 -77
  70. package/dist/chunk-E3OMP2DL.js +0 -36
  71. package/dist/chunk-KPZNNMV5.js +0 -83
  72. package/dist/chunk-NHS7ETKJ.js +0 -27
  73. package/dist/chunk-TSPJOM6K.js +0 -229
  74. package/dist/chunk-UOWIDFCB.js +0 -81
  75. package/dist/tema/index.cjs +0 -94
  76. package/dist/tema/index.d.cts +0 -110
  77. package/dist/tema/index.d.ts +0 -110
  78. package/dist/tema/index.js +0 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,119 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.7.0](https://github.com/Proskynete/arrecife/compare/v0.6.0...v0.7.0) (2026-09-04)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * **icons:** `Icon` no longer accepts `weight`. Pass `tone` instead — `action` is the old default, `current` is `fill` and `quiet` is `light`. The version it changes in has not been published, so nothing on npm carries the old shape.
9
+ * **components:** `Stat`'s `tone="alerta"` becomes `tone="alert"`. Nothing else changes — same colour, same rule, same default. Migration in docs/migration-0.7.md.
10
+
11
+ ### 🚀 Novedades
12
+
13
+ * **components:** EmptyState gains the shape that carries no face ([7292ec0](https://github.com/Proskynete/arrecife/commit/7292ec07cc3332442335325c49bbc0f3473267fc))
14
+ * **components:** Nav gains the one thing of the three it was missing ([1d2ec5b](https://github.com/Proskynete/arrecife/commit/1d2ec5b0a39d46bf17ee91f2a756c3fa7e8e1cd8))
15
+ * **components:** Stat gains delta, spark and the achievement tone ([0cf4348](https://github.com/Proskynete/arrecife/commit/0cf4348f4efd16c49ab54a5c205bb06c4f04ffd6))
16
+ * **components:** Stat's tone stops being called alerta ([43ffa43](https://github.com/Proskynete/arrecife/commit/43ffa431ac6f675ab27be2a8096e0acbad758711))
17
+ * **components:** the sidebar collapses to a rail, and takes who is signed in ([6fae58f](https://github.com/Proskynete/arrecife/commit/6fae58f3e6bc9cf975a78ca1aeab484421386f51))
18
+ * **components:** the sidebar gets blocks, and the icon replaces the prompt ([1d910a3](https://github.com/Proskynete/arrecife/commit/1d910a38d56000d955bc317fc4566fb7038864f0))
19
+ * **components:** the Stat card as it goes in the panel ([50e47f1](https://github.com/Proskynete/arrecife/commit/50e47f1b898afe207011d00f983af260e623a970))
20
+ * **icons:** the system adopts Phosphor, and it still ships no icons ([8a89c4e](https://github.com/Proskynete/arrecife/commit/8a89c4ef3e2292b8cb5d3c0a287fa59ceb635679))
21
+ * **icons:** the weight is an axis with three roles, and none of them is bold ([a8a9bed](https://github.com/Proskynete/arrecife/commit/a8a9bed9df6dea6c48b63dfd5e4af8f44368befa))
22
+ * npx arrecife, for the two failures that produce no error ([1b2160f](https://github.com/Proskynete/arrecife/commit/1b2160f378a53d433851b4c7995d164f3b93edd1))
23
+ * **social:** the nine icons get a subpath that crosses the RSC boundary ([bfa239f](https://github.com/Proskynete/arrecife/commit/bfa239f6c75c8cd99b7c9fa0bad155fdc68b7d98))
24
+ * **tokens:** a second bar height, for a shell that also has a sidebar ([2277afb](https://github.com/Proskynete/arrecife/commit/2277afb6bc2a2674d7722d69a989259634b74cbd))
25
+ * **tokens:** the sidebar's two widths, because a collapsible one needs both ([8b04bc0](https://github.com/Proskynete/arrecife/commit/8b04bc0dcc065d408b40d2076cb61d5bbe19dbc6))
26
+
27
+
28
+ ### 🐛 Correcciones
29
+
30
+ * **a11y:** the focus ring is one utility, at the offset the document gives ([66519b9](https://github.com/Proskynete/arrecife/commit/66519b9ab9834608aae7098b127d1789ad932579))
31
+ * **a11y:** the two accessible names the English sweep took with it ([dea2b8c](https://github.com/Proskynete/arrecife/commit/dea2b8cf17b5ee4a449d92c4805e89c528aa4021))
32
+ * **components:** the default copy goes back to Spanish ([1b0121e](https://github.com/Proskynete/arrecife/commit/1b0121e284b3a5fd244ba63704adf35de06937d5))
33
+ * **components:** the story taught a face map that `faceUsage` denies ([98c46ff](https://github.com/Proskynete/arrecife/commit/98c46ff337e90eb4acb6e90b38a00b54be4805e3))
34
+ * **components:** thirteen more strings the sweep corrupted, in the demo copy ([d6dd7fc](https://github.com/Proskynete/arrecife/commit/d6dd7fcc84a205dba562c8e1f1559328bac73e76))
35
+ * **tokens:** no light gradient ends on surfaceRaised, where accent is 4.21 ([802fdd0](https://github.com/Proskynete/arrecife/commit/802fdd09e6841ea29c384e5f8f99866c1b30bb81))
36
+
37
+
38
+ ### 🔧 Mantenimiento
39
+
40
+ * **components:** the AudioPlayer's internals finish the move to English ([db566d7](https://github.com/Proskynete/arrecife/commit/db566d7223c04db928e925ef0fb4edc462c240f8))
41
+
42
+
43
+ ### 📚 Documentación
44
+
45
+ * § 35 and § 36, the weight axis and the two actions nobody carried over ([dc72b1d](https://github.com/Proskynete/arrecife/commit/dc72b1d70fe5344b34473fb1a6ae8bb22dca29e6))
46
+ * § 37, the focus ring, and the one half of it that is an interpretation ([6084787](https://github.com/Proskynete/arrecife/commit/6084787068bbd5882574aae323d42581d7ccdbd7))
47
+ * § 9 is ratified and § 38 answers the number nobody looked up ([cd301fc](https://github.com/Proskynete/arrecife/commit/cd301fc8bcba06a4df3928de83fa8eee573cc261))
48
+ * an icon is not illustration, and the version that says so is 0.7.0 ([5d5a88c](https://github.com/Proskynete/arrecife/commit/5d5a88c162fe8ec747602cff7c09476650cab2b8))
49
+ * **components:** the delta says direction, and the document says so first ([ad39c6f](https://github.com/Proskynete/arrecife/commit/ad39c6f9776817f745cca82b1c93fab6287eec31))
50
+ * the ban on icon libraries is lifted, and the set was picked by measurement ([b313b64](https://github.com/Proskynete/arrecife/commit/b313b64b69e0db6a75001a888d95be7c71d5b211))
51
+ * the contrast rule for surfaceRaised covers gradients too ([e5e92d5](https://github.com/Proskynete/arrecife/commit/e5e92d5efc7a0610d06b09b6a757def4fb88dce8))
52
+ * the focus ring is a utility now, and AGENTS said to write it out by hand ([1943567](https://github.com/Proskynete/arrecife/commit/1943567070e30aed733b08c1ca66fd18287221ff))
53
+ * the neutral number stops being biolume, and where the tone went ([9f3fffb](https://github.com/Proskynete/arrecife/commit/9f3fffbd1f6e65f8797a140f6be71268a2f62d38))
54
+ * the rail gets in, and the entry says which premise expired ([86d7b04](https://github.com/Proskynete/arrecife/commit/86d7b044432120d2b29eb3295c1958075a6109c1))
55
+ * the second shape of the empty state, and where it bends the document ([612e7a8](https://github.com/Proskynete/arrecife/commit/612e7a8c78b49a03a6db8f787b90ae13bc60a6eb))
56
+ * the sidebar's blocks, and why the label is not a heading ([dc030f1](https://github.com/Proskynete/arrecife/commit/dc030f1ae707e4ee8596b4b6659716c3debd0fa0))
57
+ * the third tone, and the fourth breaking change ([abb6dfc](https://github.com/Proskynete/arrecife/commit/abb6dfce7cf93f2167dbff29c32c8d6b399c440c))
58
+ * the two forms of the social icons, and which one crosses the boundary ([9b90a82](https://github.com/Proskynete/arrecife/commit/9b90a829201de857462c80cf846dde46d628597b))
59
+ * the two silent failures get a command, and the README stops being the guard ([4b40bb6](https://github.com/Proskynete/arrecife/commit/4b40bb6359e79100544da3ba8cb0586dfc82bd03))
60
+ * the weight is three values, and the README and AGENTS said it was one ([05f3351](https://github.com/Proskynete/arrecife/commit/05f33513c4332ab4651b0a256ad8cbecfe810e34))
61
+ * this is two releases, not one — the guide splits back ([16fdf94](https://github.com/Proskynete/arrecife/commit/16fdf9494092f0b77f7397d891637d130407555b))
62
+ * two of the three things Nav was missing were already there ([f77b712](https://github.com/Proskynete/arrecife/commit/f77b7125d500122b26bf22f79f5983be483e3df4))
63
+
64
+
65
+ ### 🚀 CI/CD
66
+
67
+ * a check for the copy, because «nothing catches this» was the wrong answer ([74169c3](https://github.com/Proskynete/arrecife/commit/74169c3803f753a61800de130184ec0a2043d821))
68
+ * icons joins the scope list ([783acc4](https://github.com/Proskynete/arrecife/commit/783acc432cea7f947e3dbd8fc3590be9617c5102))
69
+ * social joins the scope list, by the rule that was already written ([d805a37](https://github.com/Proskynete/arrecife/commit/d805a37e0206ff3f6f71718d69d8db93e2e70f75))
70
+ * the actions decisions.md owes a canvas get printed, because § 22's was not ([c5dc751](https://github.com/Proskynete/arrecife/commit/c5dc751aa01be82c3429239afb6372fa8471acc6))
71
+
72
+ ## [0.6.0](https://github.com/Proskynete/arrecife/compare/v0.5.1...v0.6.0) (2026-09-02)
73
+
74
+
75
+ ### ⚠ BREAKING CHANGES
76
+
77
+ * **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.
78
+ * **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.
79
+ * 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.
80
+ * 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.
81
+
82
+ ### 🚀 Novedades
83
+
84
+ * "use client" in the published dist ([6f7414d](https://github.com/Proskynete/arrecife/commit/6f7414d953b7fd9953fe05cee770eeb8e945cfed))
85
+ * **brand:** the newsletter bell joins social ([4e24b7a](https://github.com/Proskynete/arrecife/commit/4e24b7a3f9af1896761fc93862b62ec1256786f2))
86
+ * **components:** ArticleCard's tags are reachable with a slot ([5c0ad42](https://github.com/Proskynete/arrecife/commit/5c0ad422c149329a8b47ba484dedea391cab4419))
87
+ * **components:** TalkCard gains a slot for the talk's resources ([7a63cc3](https://github.com/Proskynete/arrecife/commit/7a63cc320886eef90d005cce7964720df4100d4a))
88
+ * **components:** the footer's CLI signature ends in a blinking caret ([4538f5d](https://github.com/Proskynete/arrecife/commit/4538f5d59c9a3fa49790b6656d1e6f6b0e7df842))
89
+ * **components:** the four NewsletterForm props the blog was faking ([5ed44af](https://github.com/Proskynete/arrecife/commit/5ed44af9c182826b8c8314bd86a976097818bf77))
90
+ * the public API and the source in English ([e43a180](https://github.com/Proskynete/arrecife/commit/e43a180f45b119ae8b7dd95fccf9958dffef6966))
91
+ * **theme:** themeScript takes the mode the site already decided ([19b2ac3](https://github.com/Proskynete/arrecife/commit/19b2ac3edd557bd17d7e6e0bcf32c3018d413013))
92
+ * **tokens:** the danger palette, and the two variants it pays for ([8eaa409](https://github.com/Proskynete/arrecife/commit/8eaa4096d34860c1e673088d7d3d44cce9177cfa))
93
+ * **variants:** publish it as ./variants, a subpath with no React ([0c0bd15](https://github.com/Proskynete/arrecife/commit/0c0bd157ac2296fa265976cf075407c1ec321d82))
94
+ * **variants:** the class vocabulary moves out of the components ([e144db2](https://github.com/Proskynete/arrecife/commit/e144db281d6f88fa23df37bb49e7d09f718e056f))
95
+
96
+
97
+ ### 📚 Documentación
98
+
99
+ * README and AGENTS in English, with the two new rules ([be4f487](https://github.com/Proskynete/arrecife/commit/be4f48745e8c8e1f5cbe13add688fa6e7491a668))
100
+ * state the danger rule as it is now, everywhere it was stated ([43121cb](https://github.com/Proskynete/arrecife/commit/43121cbbbd02a4397f33edc73d99ac45738326de))
101
+ * the client boundary and the new subpath ([2d67b78](https://github.com/Proskynete/arrecife/commit/2d67b78630e4e1fca4cc4b2817c19c7ff3a1cfee))
102
+ * the migration guide for 0.6 ([47c6ae0](https://github.com/Proskynete/arrecife/commit/47c6ae0b7c981d75c938e120109b001e8d4da8a0))
103
+ * the migration guide for 0.7 ([2d74a07](https://github.com/Proskynete/arrecife/commit/2d74a07d0189ffd220d9d50e75fbf5181df89daa))
104
+ * the reference documents in English ([2053ad1](https://github.com/Proskynete/arrecife/commit/2053ad1310ad110590e3dd3e178c228aa13b9f3d))
105
+ * this is one release, not two ([5121481](https://github.com/Proskynete/arrecife/commit/51214813eeb48ca2e1d56917a3606c9a4960d880))
106
+
107
+
108
+ ### 🚀 CI/CD
109
+
110
+ * dos cosas que salieron al configurar el proyecto de Vercel ([6c40940](https://github.com/Proskynete/arrecife/commit/6c409403bc4b1483065c36c715ceb22de7512700))
111
+ * el «skipped» de preparar se propagaba hasta el despliegue ([f4db0fb](https://github.com/Proskynete/arrecife/commit/f4db0fbd62addbca403eb50d616c34d227f06aa6))
112
+ * el ensayo no puede fallar por la única cosa que no prueba ([06b85f3](https://github.com/Proskynete/arrecife/commit/06b85f34a6cc126cd159ad0f5b1ddb4bbea52df2))
113
+ * el ensayo también despliega, a un preview ([fb8c603](https://github.com/Proskynete/arrecife/commit/fb8c6032614372c388489c1e7a376b01d84f0658))
114
+ * el Storybook se despliega a Vercel al cortar versión ([94167a9](https://github.com/Proskynete/arrecife/commit/94167a938dbbe844af1a247077f67d348f1075d0))
115
+ * workflows, templates and the setup action in English ([321db58](https://github.com/Proskynete/arrecife/commit/321db585debe60cb5c9c663bc9586a1bc7a59ab7))
116
+
3
117
  ## [0.5.1](https://github.com/Proskynete/arrecife/compare/v0.5.0...v0.5.1) (2026-08-31)
4
118
 
5
119