@ksmv/ui-checks 0.33.0 → 0.34.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 +18 -2
- package/dist/theme-contract.json +5 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.34.0 - 2026-11-02
|
|
4
|
+
|
|
5
|
+
- **Contratos:** tema `3.15.0`, com quatro derivados novos, e contraste `23.0.0`, de 685 para 701 pares, para a tendência do `Stat`: `--ui-stat-extra-success-text` e `-danger-text`, a 4,5:1, sobre a superfície, a elevada, a sutil e a moldura `chrome`; `--ui-stat-extra-success-on-inverse` e `-danger-on-inverse`, a 3:1, nas duas pontas da inversa, direto e sob o `SurfaceTile`. **Quem tem tema próprio mede de novo:** a evidência calculada da versão anterior não vale mais. Um tema que reprova declara só o token da peça.
|
|
6
|
+
|
|
7
|
+
## 0.33.1 - 2026-11-02
|
|
8
|
+
|
|
9
|
+
- Sem mudança de regra nem de contrato: tema `3.14.0` e contraste `22.0.0`. A versão acompanha a do `@ksmv/ui-react`.
|
|
10
|
+
|
|
3
11
|
## 0.33.0 - 2026-11-01
|
|
4
12
|
|
|
5
13
|
- **Contratos:** tema `3.14.0` e contraste `22.0.0`, de 661 para 685 pares, para o `SideNav` da 0.33.0 (#652, #653). O ícone de aviso passa a ser medido em `--ui-side-nav-warning-icon`, e todo par novo mede um token da própria peça, que o tema pode declarar sem mudar o resto do app. **Quem tem tema próprio mede de novo.**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"contractVersion": "
|
|
2
|
+
"contractVersion": "23.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" },
|
|
@@ -686,6 +686,22 @@
|
|
|
686
686
|
{ "foreground": "--ui-side-nav-warning-on-inverse", "background": "--ui-surface-inverse", "minimum": 3, "context": "side-nav-row-warning-rest-on-inverse" },
|
|
687
687
|
{ "foreground": "--ui-side-nav-warning-on-inverse", "background": "--ui-surface-inverse-end", "minimum": 3, "context": "side-nav-row-warning-rest-on-inverse-end" },
|
|
688
688
|
{ "foreground": "--ui-side-nav-danger-on-inverse", "background": "--ui-surface-inverse", "minimum": 3, "context": "side-nav-row-danger-rest-on-inverse" },
|
|
689
|
-
{ "foreground": "--ui-side-nav-danger-on-inverse", "background": "--ui-surface-inverse-end", "minimum": 3, "context": "side-nav-row-danger-rest-on-inverse-end" }
|
|
689
|
+
{ "foreground": "--ui-side-nav-danger-on-inverse", "background": "--ui-surface-inverse-end", "minimum": 3, "context": "side-nav-row-danger-rest-on-inverse-end" },
|
|
690
|
+
{ "foreground": "--ui-stat-extra-success-text", "background": "--ui-surface", "minimum": 4.5, "context": "stat-extra-success" },
|
|
691
|
+
{ "foreground": "--ui-stat-extra-success-text", "background": "--ui-surface-raised", "minimum": 4.5, "context": "stat-extra-success-raised" },
|
|
692
|
+
{ "foreground": "--ui-stat-extra-success-text", "background": "--ui-surface-subtle", "minimum": 4.5, "context": "stat-extra-success-subtle" },
|
|
693
|
+
{ "foreground": "--ui-stat-extra-success-text", "background": "--ui-surface-chrome", "minimum": 4.5, "context": "stat-extra-success-chrome" },
|
|
694
|
+
{ "foreground": "--ui-stat-extra-danger-text", "background": "--ui-surface", "minimum": 4.5, "context": "stat-extra-danger" },
|
|
695
|
+
{ "foreground": "--ui-stat-extra-danger-text", "background": "--ui-surface-raised", "minimum": 4.5, "context": "stat-extra-danger-raised" },
|
|
696
|
+
{ "foreground": "--ui-stat-extra-danger-text", "background": "--ui-surface-subtle", "minimum": 4.5, "context": "stat-extra-danger-subtle" },
|
|
697
|
+
{ "foreground": "--ui-stat-extra-danger-text", "background": "--ui-surface-chrome", "minimum": 4.5, "context": "stat-extra-danger-chrome" },
|
|
698
|
+
{ "foreground": "--ui-stat-extra-success-on-inverse", "background": "--ui-surface-inverse", "minimum": 3, "context": "stat-extra-success-on-inverse" },
|
|
699
|
+
{ "foreground": "--ui-stat-extra-success-on-inverse", "background": "--ui-surface-inverse-end", "minimum": 3, "context": "stat-extra-success-on-inverse-end" },
|
|
700
|
+
{ "foreground": "--ui-stat-extra-success-on-inverse", "background": "--ui-surface-tile-bg", "over": "--ui-surface-inverse", "minimum": 3, "context": "stat-extra-success-on-tile" },
|
|
701
|
+
{ "foreground": "--ui-stat-extra-success-on-inverse", "background": "--ui-surface-tile-bg", "over": "--ui-surface-inverse-end", "minimum": 3, "context": "stat-extra-success-on-tile-end" },
|
|
702
|
+
{ "foreground": "--ui-stat-extra-danger-on-inverse", "background": "--ui-surface-inverse", "minimum": 3, "context": "stat-extra-danger-on-inverse" },
|
|
703
|
+
{ "foreground": "--ui-stat-extra-danger-on-inverse", "background": "--ui-surface-inverse-end", "minimum": 3, "context": "stat-extra-danger-on-inverse-end" },
|
|
704
|
+
{ "foreground": "--ui-stat-extra-danger-on-inverse", "background": "--ui-surface-tile-bg", "over": "--ui-surface-inverse", "minimum": 3, "context": "stat-extra-danger-on-tile" },
|
|
705
|
+
{ "foreground": "--ui-stat-extra-danger-on-inverse", "background": "--ui-surface-tile-bg", "over": "--ui-surface-inverse-end", "minimum": 3, "context": "stat-extra-danger-on-tile-end" }
|
|
690
706
|
]
|
|
691
707
|
}
|
package/dist/theme-contract.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"contractVersion": "3.
|
|
2
|
+
"contractVersion": "3.15.0",
|
|
3
3
|
"schemaVersion": 2,
|
|
4
4
|
"prefix": "--ui-",
|
|
5
5
|
"required": [
|
|
@@ -329,6 +329,10 @@
|
|
|
329
329
|
"--ui-badge-leading-text": { "kind": "token", "token": "--ui-text-secondary" },
|
|
330
330
|
"--ui-page-header-eyebrow": { "kind": "token", "token": "--ui-text-secondary" },
|
|
331
331
|
"--ui-stat-label": { "kind": "token", "token": "--ui-text-secondary" },
|
|
332
|
+
"--ui-stat-extra-success-text": { "kind": "token", "token": "--ui-status-success-text" },
|
|
333
|
+
"--ui-stat-extra-danger-text": { "kind": "token", "token": "--ui-status-danger-text" },
|
|
334
|
+
"--ui-stat-extra-success-on-inverse": { "kind": "token", "token": "--ui-status-success-on-inverse" },
|
|
335
|
+
"--ui-stat-extra-danger-on-inverse": { "kind": "token", "token": "--ui-status-danger-on-inverse" },
|
|
332
336
|
"--ui-steps-current": { "kind": "token", "token": "--ui-action-primary-bg" },
|
|
333
337
|
"--ui-steps-current-text": { "kind": "token", "token": "--ui-action-primary-text" },
|
|
334
338
|
"--ui-steps-current-bg": { "kind": "token", "token": "--ui-surface" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ksmv/ui-checks",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.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",
|