@aurea-uds/native 0.75.0 → 0.76.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.
package/dist/text.d.ts CHANGED
@@ -5,7 +5,7 @@ export type AureaTextSize = "xs" | "sm" | "md" | "base" | "lg" | "xl" | "2xl" |
5
5
  /** Os pesos que o pacote de fontes entrega (o 800 desde a 0.28.0, GAR-16). Ver ADR-0039: cada peso é uma FAMÍLIA. */
6
6
  export type AureaTextWeight = 400 | 500 | 600 | 700 | 800;
7
7
  /** Papel de tipografia — os `--font-*` da Aurea (o `heading` desde a 0.28.0). */
8
- export type AureaTextFont = "ui" | "editorial" | "code" | "heading";
8
+ export type AureaTextFont = "ui" | "code" | "heading";
9
9
  /** O que a cor SIGNIFICA. Mesmo vocabulário do `tone` do Button (ADR-0044). */
10
10
  export type AureaTextTone = "default" | "muted" | "subtle" | "primary" | "link" | "danger" | "success" | "warning" | "info";
11
11
  export type AureaTextLeading = "none" | "tight" | "normal" | "relaxed";
package/dist/theme.js CHANGED
@@ -19,7 +19,7 @@ function aplicarModos(t, m) {
19
19
  return t;
20
20
  const s = t.size;
21
21
  const size = m.texto === "lg" ? { ...s,
22
- textXs: s.textXs + 2, textSm: s.textSm + 2, textMd: s.textMd + 2, textBase: s.textBase + 2,
22
+ textXs: s.textXs + 2, textSm: s.textSm + 2, textBase: s.textBase + 2,
23
23
  textLg: s.textLg + 2, textXl: s.textXl + 2, text2xl: s.text2xl + 2 } : s;
24
24
  const c = t.color;
25
25
  const color = m.alto ? { ...c,
package/dist/tokens.d.ts CHANGED
@@ -29,11 +29,10 @@ export type AureaFontScale = Record<400 | 500 | 600 | 700 | 800, string> & {
29
29
  * 03/09/2026 no `@aurea-uds/fonts/native`:
30
30
  *
31
31
  * ui 400 400i 500 600 700 800 ← o 800 entrou na 0.28.0 (GAR-16)
32
- * editorial 400 500 600 700 ← apelido do `ui` desde a ADR-0053 (sai na 1.0)
33
32
  * code 400 500 600 ← não há 700
34
33
  *
35
- * É a grade dos arquivos de fonte, não um esquecimento nosso. Até a 0.12.4 o `editorial` era a
36
- * IBM Plex Serif, sem 400; a ADR-0053 tirou a serifada e o deixou apontando para a Atkinson.
34
+ * É a grade dos arquivos de fonte, não um esquecimento nosso. O papel `editorial` (apelido do `ui`
35
+ * desde a ADR-0053) saiu no 1.0-A, 0.76.0.
37
36
  */
38
37
  export type AureaFontInput = Partial<Record<"400" | "500" | "600" | "700" | "800" | "400i", string>>;
39
38
  export type AureaTokens = {
@@ -48,7 +47,6 @@ export type AureaTokens = {
48
47
  /** Família por papel de tipografia e peso. */
49
48
  font: {
50
49
  ui: AureaFontScale;
51
- editorial: AureaFontScale;
52
50
  code: AureaFontScale;
53
51
  heading: AureaFontScale;
54
52
  };
@@ -72,7 +70,6 @@ export type AureaTokens = {
72
70
  /** O mapa que o consumidor injeta para o texto sair na Inter, na Sora e na IBM Plex Mono. Ver `AureaProviderProps`. */
73
71
  export type AureaFontFamilies = {
74
72
  ui: AureaFontInput;
75
- editorial: AureaFontInput;
76
73
  code: AureaFontInput;
77
74
  /** O papel do título (GAR-16, 0.28.0). Opcional: sem ele, o título usa o mapa do `ui` — que é a
78
75
  * mesma fonte hoje, e é o que acontece com quem ainda passa o mapa de antes da 0.28.0. */
package/dist/tokens.js CHANGED
@@ -98,7 +98,6 @@ export function resolverTokens(theme, density, fontFamilies, brand) {
98
98
  // e é por isso que o `fontFamilies` do provider existe.
99
99
  const font = {
100
100
  ui: normalizarEscala(fontFamilies?.ui, texto.fontUi ?? "System"),
101
- editorial: normalizarEscala(fontFamilies?.editorial, texto.fontEditorial ?? "System"),
102
101
  code: normalizarEscala(fontFamilies?.code, texto.fontCode ?? "System"),
103
102
  heading: normalizarEscala(fontFamilies?.heading ?? fontFamilies?.ui, texto.fontHeading ?? texto.fontUi ?? "System"),
104
103
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurea-uds/native",
3
- "version": "0.75.0",
3
+ "version": "0.76.0",
4
4
  "description": "A Aurea UDS para React Native: o provider de tema e densidade, os componentes e os ícones do Phosphor sobre react-native-svg.",
5
5
  "keywords": [
6
6
  "aurea",
@@ -55,7 +55,7 @@
55
55
  "NOTICE"
56
56
  ],
57
57
  "dependencies": {
58
- "@aurea-uds/tokens": "^0.75.0"
58
+ "@aurea-uds/tokens": "^0.76.0"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "@react-native-community/datetimepicker": ">=8",