@godxjp/ui 28.3.0 → 28.3.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$comment": "AUTO-GENERATED by scripts/gen-measurement-contract.mjs — do not edit. Read this instead of guessing: docs/MEASUREMENT-CONTRACT.md.",
3
- "version": "28.3.0",
3
+ "version": "28.3.1",
4
4
  "targetSize": {
5
5
  "standard": "WCAG 2.2 SC 2.5.8 Target Size (Minimum), level AA — 24×24 CSS px",
6
6
  "min": 24,
@@ -1068,6 +1068,11 @@
1068
1068
  color: var(--code-block-token-deleted-color, hsl(var(--text-error)));
1069
1069
  }
1070
1070
 
1071
+ .ui-code-block [data-code-token="changed"],
1072
+ .ui-prose pre [data-code-token="changed"] {
1073
+ color: var(--code-block-token-changed-color, hsl(var(--text-warning)));
1074
+ }
1075
+
1071
1076
  .ui-prose {
1072
1077
  font-size: var(--prose-font-size);
1073
1078
  line-height: var(--prose-line-height);
@@ -31,6 +31,8 @@
31
31
  --code-block-token-inserted-color: initial;
32
32
  --code-block-token-deleted-color: initial;
33
33
 
34
+ --code-block-token-changed-color: initial;
35
+
34
36
  --prose-font-size: var(--font-size-base);
35
37
  --prose-font-size-sm: var(--font-size-xs);
36
38
  --prose-line-height: var(--line-height-body);
@@ -136,9 +136,9 @@ export default function Demo() {
136
136
  <CardHeader>
137
137
  <CardTitle level={2}>Diff tokens · inserted and deleted</CardTitle>
138
138
  <CardDescription>
139
- The same vocabulary carries a diff. inserted and deleted default to the success and
140
- destructive roles, so they agree with every other affirmative and destructive mark in
141
- the system rather than inventing a second green and red.
139
+ The same vocabulary carries a diff. inserted, deleted and changed default to the
140
+ success, destructive and warning roles, so they agree with every other affirmative and
141
+ destructive mark in the system rather than inventing a second green and red.
142
142
  </CardDescription>
143
143
  </CardHeader>
144
144
  <CardContent>
@@ -146,6 +146,9 @@ export default function Demo() {
146
146
  <span data-code-token="comment">{"--- a/tokens.css\n+++ b/tokens.css\n"}</span>
147
147
  <span data-code-token="deleted">{"- --code-block-foreground: #111;\n"}</span>
148
148
  <span data-code-token="inserted">{"+ --code-block-foreground: initial;\n"}</span>
149
+ <span data-code-token="changed">
150
+ {"! --code-block-token-changed-color: initial;\n"}
151
+ </span>
149
152
  <span data-code-token="punctuation">
150
153
  {" /* role-mirror: the default moved to the call site */"}
151
154
  </span>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@godxjp/ui",
3
- "version": "28.3.0",
4
- "godxUiMcp": "28.3.0",
3
+ "version": "28.3.1",
4
+ "godxUiMcp": "28.3.1",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",