@ksmv/ui-checks 0.28.2 → 0.29.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 +8 -0
- package/dist/contrast-contract.json +16 -2
- package/dist/theme-contract.json +3 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.29.0 - 2026-10-28
|
|
4
|
+
|
|
5
|
+
- **Contratos de tema 3.12.0 e contraste 20.0.0** empacotados.
|
|
6
|
+
- O tema acrescenta o derivado opcional `--ui-surface-chrome`, que vem de `--ui-surface-subtle` (454 derivados). É o fundo da moldura do app, a `Surface tone="chrome"`.
|
|
7
|
+
- O tema também troca o padrão de `--ui-action-secondary-border`: ele passa a vir de `--ui-action-secondary-text`, e não mais de `--ui-border-control`. **Um tema que pinta o secundário cheio, com texto claro, e não declara a borda** passa a reprovar `action-secondary-boundary`: declare a borda.
|
|
8
|
+
- O contraste acrescenta quatorze pares sobre a moldura, com o contexto terminado em `-chrome`: o texto primário e o secundário, o link, o texto do fantasma (sozinho, no hover e no ativo), o botão de texto e o hover dele, o ícone do fantasma e o hover dele, a borda do pressionado e a do hover dele, a borda do secundário e o contador do `SideNav` (635 pares). Nenhum par saiu e nenhum limiar baixou.
|
|
9
|
+
- **Quem usa `computedEvidence` precisa capturar a evidência de novo.**
|
|
10
|
+
|
|
3
11
|
## 0.28.2 - 2026-10-28
|
|
4
12
|
|
|
5
13
|
- **Sai junto com o `@ksmv/ui-react` 0.28.2, sem mudança nas regras:** os contratos continuam tema 3.11.0 e contraste 19.0.0. A correção da posição dos painéis em RTL não muda nenhuma cor do contrato (ver o CHANGELOG do `@ksmv/ui-react`).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"contractVersion": "
|
|
2
|
+
"contractVersion": "20.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" },
|
|
@@ -622,6 +622,20 @@
|
|
|
622
622
|
{"foreground": "--ui-reply-draft-author", "background": "--ui-surface", "minimum": 4.5, "context": "reply-draft-author"},
|
|
623
623
|
{"foreground": "--ui-progress-ring-text", "background": "--ui-surface", "minimum": 4.5, "context": "progress-ring-text"},
|
|
624
624
|
{"foreground": "--ui-progress-ring-text", "background": "--ui-surface-raised", "minimum": 4.5, "context": "progress-ring-text-raised"},
|
|
625
|
-
{"foreground": "--ui-progress-ring-text", "background": "--ui-surface-subtle", "minimum": 4.5, "context": "progress-ring-text-subtle"}
|
|
625
|
+
{"foreground": "--ui-progress-ring-text", "background": "--ui-surface-subtle", "minimum": 4.5, "context": "progress-ring-text-subtle"},
|
|
626
|
+
{ "foreground": "--ui-text-primary", "background": "--ui-surface-chrome", "minimum": 4.5, "context": "body-text-chrome" },
|
|
627
|
+
{ "foreground": "--ui-text-secondary", "background": "--ui-surface-chrome", "minimum": 4.5, "context": "secondary-text-chrome" },
|
|
628
|
+
{ "foreground": "--ui-link-text", "background": "--ui-surface-chrome", "minimum": 4.5, "context": "link-text-chrome" },
|
|
629
|
+
{ "foreground": "--ui-action-ghost-text", "background": "--ui-surface-chrome", "minimum": 4.5, "context": "normal-text-chrome" },
|
|
630
|
+
{ "foreground": "--ui-action-ghost-text-hover", "background": "--ui-action-ghost-bg-hover", "over": "--ui-surface-chrome", "minimum": 4.5, "context": "normal-text-hover-chrome" },
|
|
631
|
+
{ "foreground": "--ui-action-ghost-text-hover", "background": "--ui-action-ghost-bg-active", "over": "--ui-surface-chrome", "minimum": 4.5, "context": "normal-text-active-chrome" },
|
|
632
|
+
{ "foreground": "--ui-text-button-text", "background": "--ui-surface-chrome", "minimum": 4.5, "context": "text-button-text-chrome" },
|
|
633
|
+
{ "foreground": "--ui-text-button-text-hover", "background": "--ui-surface-chrome", "minimum": 4.5, "context": "text-button-text-hover-chrome" },
|
|
634
|
+
{ "foreground": "--ui-icon-button-ghost-text", "background": "--ui-surface-chrome", "minimum": 3, "context": "icon-button-ghost-icon-chrome" },
|
|
635
|
+
{ "foreground": "--ui-icon-button-ghost-text-hover", "background": "--ui-action-ghost-bg-hover", "over": "--ui-surface-chrome", "minimum": 3, "context": "icon-button-ghost-icon-hover-chrome" },
|
|
636
|
+
{ "foreground": "--ui-button-pressed-bg", "background": "--ui-surface-chrome", "minimum": 3, "context": "button-pressed-boundary-chrome" },
|
|
637
|
+
{ "foreground": "--ui-button-pressed-bg-hover", "background": "--ui-surface-chrome", "minimum": 3, "context": "button-pressed-boundary-hover-chrome" },
|
|
638
|
+
{ "foreground": "--ui-action-secondary-border", "background": "--ui-surface-chrome", "minimum": 3, "context": "action-secondary-boundary-chrome" },
|
|
639
|
+
{ "foreground": "--ui-side-nav-count-text", "background": "--ui-side-nav-count-bg", "over": "--ui-surface-chrome", "minimum": 4.5, "context": "side-nav-count-text-chrome" }
|
|
626
640
|
]
|
|
627
641
|
}
|
package/dist/theme-contract.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"contractVersion": "3.
|
|
2
|
+
"contractVersion": "3.12.0",
|
|
3
3
|
"schemaVersion": 2,
|
|
4
4
|
"prefix": "--ui-",
|
|
5
5
|
"required": [
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"--ui-numeric-ring-info-bg": { "kind": "literal", "value": "transparent" },
|
|
80
80
|
"--ui-numeric-ring-info-text": { "kind": "token", "token": "--ui-text-primary" },
|
|
81
81
|
"--ui-numeric-ring-info-border": { "kind": "token", "token": "--ui-status-info" },
|
|
82
|
-
"--ui-action-secondary-border": { "kind": "token", "token": "--ui-
|
|
82
|
+
"--ui-action-secondary-border": { "kind": "token", "token": "--ui-action-secondary-text" },
|
|
83
83
|
"--ui-status-success-border": { "kind": "token", "token": "--ui-status-success" },
|
|
84
84
|
"--ui-status-warning-border": { "kind": "token", "token": "--ui-status-warning" },
|
|
85
85
|
"--ui-status-danger-border": { "kind": "token", "token": "--ui-status-danger" },
|
|
@@ -405,6 +405,7 @@
|
|
|
405
405
|
"--ui-board-drop-bg": { "kind": "token", "token": "--ui-action-soft-accent-bg" },
|
|
406
406
|
"--ui-board-drop-border": { "kind": "token", "token": "--ui-action-primary-bg" },
|
|
407
407
|
"--ui-surface-inverse-end": { "kind": "token", "token": "--ui-surface-inverse" },
|
|
408
|
+
"--ui-surface-chrome": { "kind": "token", "token": "--ui-surface-subtle" },
|
|
408
409
|
"--ui-checkbox-circle-bg": { "kind": "literal", "value": "transparent" },
|
|
409
410
|
"--ui-checkbox-circle-hover": { "kind": "token", "token": "--ui-control-checked-bg" },
|
|
410
411
|
"--ui-checkbox-circle-border": { "kind": "token", "token": "--ui-checkbox-border" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ksmv/ui-checks",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.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",
|