@aiaiai-pt/design-system 0.55.0 → 0.55.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.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@component KpiRegister
|
|
3
3
|
|
|
4
4
|
The two-register composition for one KPI: the more authoritative value above,
|
|
5
|
-
the less authoritative beneath. It is where "
|
|
5
|
+
the less authoritative beneath. It is where "a reading out-ranks a forecast"
|
|
6
6
|
becomes concrete — in type SIZE, in POSITION, and in SCREEN-READER READING
|
|
7
7
|
ORDER, all three.
|
|
8
8
|
|
|
@@ -7,7 +7,7 @@ type KpiRegister = {
|
|
|
7
7
|
* KpiRegister
|
|
8
8
|
*
|
|
9
9
|
* The two-register composition for one KPI: the more authoritative value above,
|
|
10
|
-
* the less authoritative beneath. It is where "
|
|
10
|
+
* the less authoritative beneath. It is where "a reading out-ranks a forecast"
|
|
11
11
|
* becomes concrete — in type SIZE, in POSITION, and in SCREEN-READER READING
|
|
12
12
|
* ORDER, all three.
|
|
13
13
|
*
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
H1 Slice 2 — westeuropeco/atelier-urban-workspace#57.
|
|
29
29
|
|
|
30
30
|
@example A reading, using whatever terms the deployment declares
|
|
31
|
-
<SealChip value="+14 cm/h" evidence={{ value: '
|
|
31
|
+
<SealChip value="+14 cm/h" evidence={{ value: 'term-a', label: 'leitura', tone: 'positive' }} />
|
|
32
32
|
|
|
33
33
|
@example Both axes, horizon passed, why one tap away
|
|
34
34
|
<SealChip
|
|
35
35
|
value="2,1 m"
|
|
36
|
-
evidence={{ value: '
|
|
37
|
-
probability={{ value: '
|
|
36
|
+
evidence={{ value: 'term-b', label: 'modelo', tone: 'info' }}
|
|
37
|
+
probability={{ value: 'rung-c', label: 'grau-c' }}
|
|
38
38
|
stale
|
|
39
39
|
why="the 16:00 window has already passed"
|
|
40
40
|
/>
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
|
|
251
251
|
/*
|
|
252
252
|
* TONES — the presentation scale the design system owns. Which declared term
|
|
253
|
-
* wears which tone is data, declared beside the word and never
|
|
253
|
+
* wears which tone is data, declared beside the word and never guessed from
|
|
254
254
|
* it, so these rules carry no vocabulary.
|
|
255
255
|
*/
|
|
256
256
|
.seal-tone-positive {
|
|
@@ -33,13 +33,13 @@ type SealChip = {
|
|
|
33
33
|
* H1 Slice 2 — westeuropeco/atelier-urban-workspace#57.
|
|
34
34
|
*
|
|
35
35
|
* @example A reading, using whatever terms the deployment declares
|
|
36
|
-
* <SealChip value="+14 cm/h" evidence={{ value: '
|
|
36
|
+
* <SealChip value="+14 cm/h" evidence={{ value: 'term-a', label: 'leitura', tone: 'positive' }} />
|
|
37
37
|
*
|
|
38
38
|
* @example Both axes, horizon passed, why one tap away
|
|
39
39
|
* <SealChip
|
|
40
40
|
* value="2,1 m"
|
|
41
|
-
* evidence={{ value: '
|
|
42
|
-
* probability={{ value: '
|
|
41
|
+
* evidence={{ value: 'term-b', label: 'modelo', tone: 'info' }}
|
|
42
|
+
* probability={{ value: 'rung-c', label: 'grau-c' }}
|
|
43
43
|
* stale
|
|
44
44
|
* why="the 16:00 window has already passed"
|
|
45
45
|
* />
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiaiai-pt/design-system",
|
|
3
|
-
"version": "0.55.
|
|
3
|
+
"version": "0.55.1",
|
|
4
4
|
"description": "Design system tokens and Svelte components for aiaiai products",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -136,6 +136,7 @@
|
|
|
136
136
|
"@codemirror/view": "^6.40.0",
|
|
137
137
|
"@lezer/highlight": "^1.0.0",
|
|
138
138
|
"@sveltejs/package": "^2.5.7",
|
|
139
|
+
"axe-core": "^4.14.0",
|
|
139
140
|
"date-fns": "^4.1.0",
|
|
140
141
|
"echarts": "^6.1.0",
|
|
141
142
|
"jsdom": "^29.1.1",
|
package/tokens/themes/ubp.css
CHANGED
|
@@ -147,8 +147,8 @@
|
|
|
147
147
|
on their respective subtle backgrounds.
|
|
148
148
|
|
|
149
149
|
Contrast on subtle backgrounds (AA = 4.5:1 for small badge text):
|
|
150
|
-
|
|
151
|
-
|
|
150
|
+
positive #256f20 (green-700) on #f0fdf4 (success-subtle): ~5.46:1 [AA]
|
|
151
|
+
caution #9e6308 (amber-700) on #fffbeb (warning-subtle): ~4.79:1 [AA]
|
|
152
152
|
--seal-info-text inherits --color-info (#2e63a3): 5.66:1 on
|
|
153
153
|
info-subtle (#f0f5fa) — no override needed.
|
|
154
154
|
--seal-stale-text inherits --color-text-muted (≥3.0:1 non-essential).
|
|
@@ -249,9 +249,9 @@
|
|
|
249
249
|
coverage-gap note) — visual QA is the complement.
|
|
250
250
|
|
|
251
251
|
Contrast on steel-900 (#0b182a, lum ≈ 0.0082):
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
252
|
+
positive #4ade80 (green-400) lum ≈ 0.403 → ~7.76:1 [AAA]
|
|
253
|
+
info #60a5fa (blue-400) lum ≈ 0.386 → ~7.49:1 [AAA]
|
|
254
|
+
caution #fbbf24 (amber-400) lum ≈ 0.598 → ~11.14:1 [AAA]
|
|
255
255
|
stale inherits --seal-stale-text: var(--color-text-muted) = #60758a (3.74:1)
|
|
256
256
|
═══════════════════════════════════════════════════════════════ */
|
|
257
257
|
--seal-positive-text: #4ade80;
|