@ksmv/ui-checks 0.24.0 → 0.25.1

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,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.25.1 - 2026-10-24
4
+
5
+ - **Sai junto com o `@ksmv/ui-react` 0.25.1, sem mudança no pacote:** os contratos continuam tema 3.8.0 e contraste 16.0.0, e as regras não mudam. O teste do tema optável da origem passa a acusar a falta de qualquer um dos 18 tokens de botão da casa que a 0.25.0 deixou de fora do `themes/source.css` (ver o CHANGELOG do `@ksmv/ui-react`).
6
+ - Quem vem da 0.24.0 sobe direto para a 0.25.1: as mudanças da 0.25.0, logo abaixo, valem também.
7
+
8
+ ## 0.25.0 - 2026-10-22
9
+
10
+ - **Contratos de tema 3.8.0 e contraste 16.0.0** empacotados. O tema acrescenta `--ui-surface-tile-bg` e `--ui-surface-tile-border` como derivados opcionais (418 no total), e registra dez geometrias das peças de conversa e composição compacta (58 tokens de forma). O contraste acrescenta seis pares de texto sobre tiles translúcidos na superfície inversa e no gradiente (542 no total); nenhum par sai e nenhum limiar é reduzido. Atualize `@ksmv/ui-react` junto.
11
+ - **Quem usa `computedEvidence` precisa capturar a evidência de novo.** Temas continuam proibidos de declarar tokens de forma; a regra cobre também os dez novos registros. O tema compartilhado `source` é validado nos dois modos, nas oito categorias e nas composições inversas, incluindo marcas semânticas sobre tiles.
12
+ - Sem nova regra de negócio ou relaxamento de baseline: o verificador não concede aceite visual às telas do consumidor.
13
+
14
+ - **Ferramentas de teste:** Vitest e `@vitest/mocker` passam a 5.0.5 na raiz e nas instalações independentes dos dois pacotes, incorporando as correções GHSA-qxg6-89mg-rqv8 e GHSA-xp26-3454-mjgp. As dependências de execução do verificador não mudam.
15
+
3
16
  ## 0.24.0 - 2026-10-21
4
17
 
5
18
  - **Contratos de tema 3.7.0 e de contraste 15.0.0** empacotados. O de tema ganha 76 derivados opcionais (416 no total); `--ui-message-outgoing-border` passa a derivar de `--ui-message-outgoing-bg`. O de contraste ganha 86 pares, altera 15 e remove um, `toggle-group-segment-border` (536 no total); continua no `schemaVersion` 3. O seletor não pinta mais a borda: o token `--ui-toggle-group-segment-border` permanece no tema sem ser lido, e o estado passa a ser medido por `toggle-group-segment-state`. Atualize o `@ksmv/ui-react` junto.
@@ -1,5 +1,5 @@
1
1
  {
2
- "contractVersion": "15.0.0",
2
+ "contractVersion": "16.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" },
@@ -537,6 +537,20 @@
537
537
  { "foreground": "--ui-icon-button-count-bg-on-inverse", "background": "--ui-icon-button-count-ring-on-inverse", "minimum": 3, "context": "icon-button-count-boundary-on-inverse" },
538
538
  { "foreground": "--ui-icon-button-dot-on-inverse", "background": "--ui-icon-button-count-ring-on-inverse", "minimum": 3, "context": "icon-button-dot-on-inverse" },
539
539
  { "foreground": "--ui-avatar-brand-text", "background": "--ui-avatar-brand-bg", "over": "--ui-surface", "minimum": 4.5, "context": "avatar-brand-text" },
540
- { "foreground": "--ui-avatar-brand-text", "background": "--ui-avatar-brand-bg", "over": "--ui-surface-raised", "minimum": 4.5, "context": "avatar-brand-text-raised" }
540
+ { "foreground": "--ui-avatar-brand-text", "background": "--ui-avatar-brand-bg", "over": "--ui-surface-raised", "minimum": 4.5, "context": "avatar-brand-text-raised" },
541
+ {"foreground": "--ui-text-primary-on-inverse", "background": "--ui-surface-tile-bg", "over": "--ui-surface-inverse", "minimum": 4.5, "context": "surface-tile-primary-text"},
542
+ {"foreground": "--ui-text-primary-on-inverse", "background": "--ui-surface-tile-bg", "over": "--ui-surface-inverse-end", "minimum": 4.5, "context": "surface-tile-primary-text-end"},
543
+ {"foreground": "--ui-text-secondary-on-inverse", "background": "--ui-surface-tile-bg", "over": "--ui-surface-inverse", "minimum": 4.5, "context": "surface-tile-secondary-text"},
544
+ {"foreground": "--ui-text-secondary-on-inverse", "background": "--ui-surface-tile-bg", "over": "--ui-surface-inverse-end", "minimum": 4.5, "context": "surface-tile-secondary-text-end"},
545
+ {"foreground": "--ui-text-muted-on-inverse", "background": "--ui-surface-tile-bg", "over": "--ui-surface-inverse", "minimum": 4.5, "context": "surface-tile-muted-text"},
546
+ {"foreground": "--ui-text-muted-on-inverse", "background": "--ui-surface-tile-bg", "over": "--ui-surface-inverse-end", "minimum": 4.5, "context": "surface-tile-muted-text-end"},
547
+ {"foreground": "--ui-status-success-on-inverse", "background": "--ui-surface-tile-bg", "over": "--ui-surface-inverse", "minimum": 3, "context": "status-indicator-success-on-tile"},
548
+ {"foreground": "--ui-status-success-on-inverse", "background": "--ui-surface-tile-bg", "over": "--ui-surface-inverse-end", "minimum": 3, "context": "status-indicator-success-on-tile-end"},
549
+ {"foreground": "--ui-status-warning-on-inverse", "background": "--ui-surface-tile-bg", "over": "--ui-surface-inverse", "minimum": 3, "context": "status-indicator-warning-on-tile"},
550
+ {"foreground": "--ui-status-warning-on-inverse", "background": "--ui-surface-tile-bg", "over": "--ui-surface-inverse-end", "minimum": 3, "context": "status-indicator-warning-on-tile-end"},
551
+ {"foreground": "--ui-status-danger-on-inverse", "background": "--ui-surface-tile-bg", "over": "--ui-surface-inverse", "minimum": 3, "context": "status-indicator-danger-on-tile"},
552
+ {"foreground": "--ui-status-danger-on-inverse", "background": "--ui-surface-tile-bg", "over": "--ui-surface-inverse-end", "minimum": 3, "context": "status-indicator-danger-on-tile-end"},
553
+ {"foreground": "--ui-status-info-on-inverse", "background": "--ui-surface-tile-bg", "over": "--ui-surface-inverse", "minimum": 3, "context": "status-indicator-info-on-tile"},
554
+ {"foreground": "--ui-status-info-on-inverse", "background": "--ui-surface-tile-bg", "over": "--ui-surface-inverse-end", "minimum": 3, "context": "status-indicator-info-on-tile-end"}
541
555
  ]
542
556
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "contractVersion": "3.7.0",
2
+ "contractVersion": "3.8.0",
3
3
  "schemaVersion": 2,
4
4
  "prefix": "--ui-",
5
5
  "required": [
@@ -54,6 +54,8 @@
54
54
  "--ui-shadow-lg"
55
55
  ],
56
56
  "derived": {
57
+ "--ui-surface-tile-bg": { "kind": "literal", "value": "rgb(255 255 255 / 10%)" },
58
+ "--ui-surface-tile-border": { "kind": "literal", "value": "rgb(255 255 255 / 10%)" },
57
59
  "--ui-action-secondary-border": { "kind": "token", "token": "--ui-border-control" },
58
60
  "--ui-status-success-border": { "kind": "token", "token": "--ui-status-success" },
59
61
  "--ui-status-warning-border": { "kind": "token", "token": "--ui-status-warning" },
@@ -519,7 +521,17 @@
519
521
  "--ui-radius-xs",
520
522
  "--ui-list-item-radius",
521
523
  "--ui-font-size-2xl",
522
- "--ui-font-size-3xl"
524
+ "--ui-font-size-3xl",
525
+ "--ui-space-2-5",
526
+ "--ui-space-3-5",
527
+ "--ui-space-5",
528
+ "--ui-space-12",
529
+ "--ui-recording-min-height",
530
+ "--ui-compact-header-line-height",
531
+ "--ui-numeric-ring-size",
532
+ "--ui-numeric-ring-line-height",
533
+ "--ui-dialog-wide-width",
534
+ "--ui-dialog-wide-height"
523
535
  ],
524
536
  "brandComposition": [
525
537
  "--ui-brand-primary",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ksmv/ui-checks",
3
- "version": "0.24.0",
3
+ "version": "0.25.1",
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",
@@ -25,7 +25,7 @@
25
25
  "postcss-value-parser": "4.2.0",
26
26
  "typescript": "7.0.2"
27
27
  },
28
- "devDependencies": { "@types/node": "26.6.2", "vitest": "5.0.1" },
28
+ "devDependencies": { "@types/node": "26.6.2", "vitest": "5.0.5" },
29
29
  "engines": { "node": ">=22.14" },
30
30
  "repository": { "type": "git", "url": "https://github.com/katosmv/ui.git", "directory": "packages/checks" },
31
31
  "homepage": "https://www.npmjs.com/package/@ksmv/ui-checks",