@ksmv/ui-checks 0.9.0 → 0.11.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 +10 -0
- package/README.md +1 -1
- package/dist/contrast-contract.json +9 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.11.0 - 2026-10-08
|
|
4
|
+
|
|
5
|
+
- Sem mudança de regras, contratos ou CLI. Versão alinhada ao `@ksmv/ui-react` 0.11.0, que acrescenta `Breadcrumb` e `Pagination` sem mudar os contratos.
|
|
6
|
+
|
|
7
|
+
## 0.10.0 - 2026-10-07
|
|
8
|
+
|
|
9
|
+
- **Contrato de contraste 3.0.0** empacotado: sete pares novos de texto base, a 4,5:1 (ver o CHANGELOG do `@ksmv/ui-react`). Um par novo pode reprovar um tema que hoje passa.
|
|
10
|
+
- **Quem usa `computedEvidence` precisa capturar a evidência de novo:** a identidade do contrato de contraste mudou, e a evidência anterior é recusada com código 2, com a causa.
|
|
11
|
+
- Regras e CLI não mudam.
|
|
12
|
+
|
|
3
13
|
## 0.9.0 - 2026-10-07
|
|
4
14
|
|
|
5
15
|
- Sem mudança de regras, contratos ou CLI. Versão alinhada ao `@ksmv/ui-react` 0.9.0, que acrescenta `Avatar` e `Tabs` sem mudar os contratos.
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @ksmv/ui-checks
|
|
2
2
|
|
|
3
|
-
Verificações de qualidade para o contrato semântico `--ui-*` de `@ksmv/ui-react`: completude dos temas, contraste dos pares do contrato, prefixo dos tokens, cores literais fora dos arquivos de tema e evidência calculada vinculada às fontes.
|
|
3
|
+
Verificações de qualidade para o contrato semântico `--ui-*` de `@ksmv/ui-react`: completude dos temas, contraste dos pares do contrato (ações, estados, campos, controles e, desde o contrato de contraste `3.0.0`, o texto base sobre as superfícies), prefixo dos tokens, cores literais fora dos arquivos de tema e evidência calculada vinculada às fontes.
|
|
4
4
|
|
|
5
5
|
## Antes de depender deste pacote
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"contractVersion": "
|
|
2
|
+
"contractVersion": "3.0.0",
|
|
3
3
|
"schemaVersion": 1,
|
|
4
4
|
"pairs": [
|
|
5
5
|
{ "foreground": "--ui-action-primary-text", "background": "--ui-action-primary-bg", "minimum": 4.5, "context": "normal-text" },
|
|
@@ -35,6 +35,13 @@
|
|
|
35
35
|
{ "foreground": "--ui-focus-ring", "background": "--ui-surface", "minimum": 3, "context": "focus-indicator" },
|
|
36
36
|
{ "foreground": "--ui-focus-ring", "background": "--ui-focus-ring-offset", "minimum": 3, "context": "focus-indicator" },
|
|
37
37
|
{ "foreground": "--ui-control-checked-bg", "background": "--ui-surface", "minimum": 3, "context": "checked-control-boundary" },
|
|
38
|
-
{ "foreground": "--ui-control-checked-fg", "background": "--ui-control-checked-bg", "minimum": 3, "context": "checked-indicator" }
|
|
38
|
+
{ "foreground": "--ui-control-checked-fg", "background": "--ui-control-checked-bg", "minimum": 3, "context": "checked-indicator" },
|
|
39
|
+
{ "foreground": "--ui-text-primary", "background": "--ui-surface", "minimum": 4.5, "context": "body-text" },
|
|
40
|
+
{ "foreground": "--ui-text-primary", "background": "--ui-surface-raised", "minimum": 4.5, "context": "body-text-raised" },
|
|
41
|
+
{ "foreground": "--ui-text-primary", "background": "--ui-surface-subtle", "minimum": 4.5, "context": "body-text-subtle" },
|
|
42
|
+
{ "foreground": "--ui-text-secondary", "background": "--ui-surface", "minimum": 4.5, "context": "secondary-text" },
|
|
43
|
+
{ "foreground": "--ui-text-secondary", "background": "--ui-surface-raised", "minimum": 4.5, "context": "secondary-text-raised" },
|
|
44
|
+
{ "foreground": "--ui-text-secondary", "background": "--ui-surface-subtle", "minimum": 4.5, "context": "secondary-text-subtle" },
|
|
45
|
+
{ "foreground": "--ui-text-placeholder", "background": "--ui-surface", "minimum": 4.5, "context": "placeholder-text" }
|
|
39
46
|
]
|
|
40
47
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ksmv/ui-checks",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.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",
|