@ksmv/ui-checks 0.27.0 → 0.28.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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.28.0 - 2026-10-27
4
+
5
+ - **Contratos de tema 3.11.0 e contraste 19.0.0** empacotados. O tema acrescenta cinco derivados opcionais (453 no total), as cores do Voltar do `Drawer`: o texto, a seta, e o fundo, a borda e o texto de hover. O contraste acrescenta oito pares (621 no total): o texto do Voltar a 4,5:1 e a seta a 3:1 sobre os três fundos do cabeçalho (`--ui-dialog-header-bg`, `-danger` e `-warning`) e sobre o fundo de hover. Esse fundo é medido direto e por isso precisa ser opaco: um fundo translúcido deixa os dois pares de hover descobertos. Nenhum par saiu e nenhum limiar baixou.
6
+ - **Quem usa `computedEvidence` precisa capturar a evidência de novo.**
7
+
8
+ ## 0.27.1 - 2026-10-26
9
+
10
+ - **Sai junto com o `@ksmv/ui-react` 0.27.1, sem mudança nas regras:** os contratos continuam tema 3.10.0 e contraste 18.0.0. As correções do `SectionLabel` e do `Badge` não mudam nenhuma cor (ver o CHANGELOG do `@ksmv/ui-react`).
11
+
3
12
  ## 0.27.0 - 2026-10-26
4
13
 
5
14
  - **Contratos de tema 3.10.0 e contraste 18.0.0** empacotados. O tema acrescenta quatro derivados opcionais (448 no total): o véu, a cor da sombra e o fundo do rodapé do `Drawer`, e o fundo do cabeçalho estreito da conversa. Registra também um token de forma, `--ui-drawer-title-weight` (60 no total). O contraste acrescenta 11 pares: o rodapé do `Drawer` sobre o painel e o cabeçalho estreito da conversa, cada um com os estados de hover e de clique do botão sem fundo compostos sobre o fundo novo, que por isso precisa ser opaco (um fundo translúcido deixa esses pares descobertos). Saem `side-nav-count-dot-hover` e `-hover-on-inverse`: desde a 0.26.1, no hover a bolinha do `SideNav` mantém a cor, e os pares de repouso a cobrem (613 pares no total). Nenhum limiar baixou.
@@ -1,5 +1,5 @@
1
1
  {
2
- "contractVersion": "18.0.0",
2
+ "contractVersion": "19.0.0",
3
3
  "schemaVersion": 3,
4
4
  "pairs": [
5
5
  { "foreground": "--ui-action-primary-text", "background": "--ui-action-primary-bg", "minimum": 4.5, "context": "normal-text" },
@@ -121,6 +121,14 @@
121
121
  { "foreground": "--ui-action-ghost-text", "background": "--ui-drawer-footer-bg", "over": "--ui-surface-raised", "minimum": 4.5, "context": "drawer-footer-ghost" },
122
122
  { "foreground": "--ui-action-ghost-text-hover", "background": "--ui-action-ghost-bg-hover", "over": "--ui-drawer-footer-bg", "minimum": 4.5, "context": "drawer-footer-ghost-hover" },
123
123
  { "foreground": "--ui-action-ghost-text-hover", "background": "--ui-action-ghost-bg-active", "over": "--ui-drawer-footer-bg", "minimum": 4.5, "context": "drawer-footer-ghost-active" },
124
+ { "foreground": "--ui-drawer-back-text", "background": "--ui-dialog-header-bg", "minimum": 4.5, "context": "drawer-back-text" },
125
+ { "foreground": "--ui-drawer-back-text", "background": "--ui-dialog-header-bg-danger", "minimum": 4.5, "context": "drawer-back-text-danger" },
126
+ { "foreground": "--ui-drawer-back-text", "background": "--ui-dialog-header-bg-warning", "minimum": 4.5, "context": "drawer-back-text-warning" },
127
+ { "foreground": "--ui-drawer-back-icon", "background": "--ui-dialog-header-bg", "minimum": 3, "context": "drawer-back-icon" },
128
+ { "foreground": "--ui-drawer-back-icon", "background": "--ui-dialog-header-bg-danger", "minimum": 3, "context": "drawer-back-icon-danger" },
129
+ { "foreground": "--ui-drawer-back-icon", "background": "--ui-dialog-header-bg-warning", "minimum": 3, "context": "drawer-back-icon-warning" },
130
+ { "foreground": "--ui-drawer-back-text-hover", "background": "--ui-drawer-back-bg-hover", "minimum": 4.5, "context": "drawer-back-text-hover" },
131
+ { "foreground": "--ui-drawer-back-icon", "background": "--ui-drawer-back-bg-hover", "minimum": 3, "context": "drawer-back-icon-hover" },
124
132
  { "foreground": "--ui-text-primary-on-inverse", "background": "--ui-surface-inverse", "minimum": 4.5, "context": "inverse-body-text" },
125
133
  { "foreground": "--ui-text-secondary-on-inverse", "background": "--ui-surface-inverse", "minimum": 4.5, "context": "inverse-secondary-text" },
126
134
  { "foreground": "--ui-border-control-on-inverse", "background": "--ui-surface-inverse", "minimum": 3, "context": "inverse-control-boundary" },
@@ -1,5 +1,5 @@
1
1
  {
2
- "contractVersion": "3.10.0",
2
+ "contractVersion": "3.11.0",
3
3
  "schemaVersion": 2,
4
4
  "prefix": "--ui-",
5
5
  "required": [
@@ -144,6 +144,11 @@
144
144
  "--ui-drawer-overlay": { "kind": "token", "token": "--ui-overlay" },
145
145
  "--ui-drawer-shadow-color": { "kind": "literal", "value": "rgb(0 0 0 / 10%)" },
146
146
  "--ui-drawer-footer-bg": { "kind": "token", "token": "--ui-dialog-footer-bg" },
147
+ "--ui-drawer-back-text": { "kind": "token", "token": "--ui-text-secondary" },
148
+ "--ui-drawer-back-icon": { "kind": "token", "token": "--ui-drawer-back-text" },
149
+ "--ui-drawer-back-bg-hover": { "kind": "token", "token": "--ui-surface" },
150
+ "--ui-drawer-back-border-hover": { "kind": "token", "token": "--ui-border" },
151
+ "--ui-drawer-back-text-hover": { "kind": "token", "token": "--ui-text-primary" },
147
152
  "--ui-text-primary-on-inverse": { "kind": "token", "token": "--ui-text-inverse" },
148
153
  "--ui-text-secondary-on-inverse": { "kind": "token", "token": "--ui-text-primary-on-inverse" },
149
154
  "--ui-text-muted-on-inverse": { "kind": "token", "token": "--ui-text-secondary-on-inverse" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ksmv/ui-checks",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "description": "Static and computed quality checks for semantic UI token contracts.",
5
5
  "keywords": ["accessibility", "design-tokens", "quality", "static-analysis"],
6
6
  "license": "Apache-2.0",