@godxjp/ui 33.4.0 → 33.4.2
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/agent/START-HERE.md +1 -1
- package/agent/components/Form.json +1 -1
- package/agent/components/FormField.json +1 -1
- package/agent/components.json +2 -2
- package/agent/index.json +2 -2
- package/agent/llms.txt +3 -3
- package/dist/components/data-entry/form-field.js +1 -1
- package/dist/contracts/measurement.json +1 -1
- package/dist/styles/card-layout.css +4 -3
- package/dist/styles/control.css +3 -2
- package/dist/styles/data-display-layout.css +1 -1
- package/dist/styles/form-layout.css +22 -2
- package/dist/styles/layers.json +1 -1
- package/dist/styles/shell-layout.css +1 -1
- package/dist/styles.css +1 -1
- package/package.json +2 -2
- package/scripts/ui-audit.mjs +11 -0
package/agent/START-HERE.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
You are about to write code against a design system you did not author. This file is the whole
|
|
4
4
|
contract. Read it before you write JSX.
|
|
5
5
|
|
|
6
|
-
**This catalog describes `@godxjp/ui` 33.4.
|
|
6
|
+
**This catalog describes `@godxjp/ui` 33.4.2.** If the project you are editing has a different
|
|
7
7
|
version in its `package.json`, read the pinned catalog for THAT version instead
|
|
8
8
|
(`…/v<their-version>/agent/…`). A catalog newer than the installed package describes props that do
|
|
9
9
|
not exist yet; older, and it hides props that do. Neither failure announces itself.
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"type": "number | string"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
|
-
"description": "Cap the control width (number→px). Omit to fill the column.",
|
|
19
|
+
"description": "Cap the control width (number→px). Omit to fill the column. Caps the control only — the helper and error still span the field column.",
|
|
20
20
|
"name": "controlWidth",
|
|
21
21
|
"type": "number | string"
|
|
22
22
|
},
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"type": "number | string"
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
|
-
"description": "Override the Form's control width for this field.",
|
|
67
|
+
"description": "Override the Form's control width for this field. Caps the control only — the helper and error still span the field column.",
|
|
68
68
|
"name": "controlWidth",
|
|
69
69
|
"type": "number | string"
|
|
70
70
|
},
|
package/agent/components.json
CHANGED
|
@@ -5713,7 +5713,7 @@
|
|
|
5713
5713
|
"type": "number | string"
|
|
5714
5714
|
},
|
|
5715
5715
|
{
|
|
5716
|
-
"description": "Cap the control width (number→px). Omit to fill the column.",
|
|
5716
|
+
"description": "Cap the control width (number→px). Omit to fill the column. Caps the control only — the helper and error still span the field column.",
|
|
5717
5717
|
"name": "controlWidth",
|
|
5718
5718
|
"type": "number | string"
|
|
5719
5719
|
},
|
|
@@ -5849,7 +5849,7 @@
|
|
|
5849
5849
|
"type": "number | string"
|
|
5850
5850
|
},
|
|
5851
5851
|
{
|
|
5852
|
-
"description": "Override the Form's control width for this field.",
|
|
5852
|
+
"description": "Override the Form's control width for this field. Caps the control only — the helper and error still span the field column.",
|
|
5853
5853
|
"name": "controlWidth",
|
|
5854
5854
|
"type": "number | string"
|
|
5855
5855
|
},
|
package/agent/index.json
CHANGED
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"note": "Pin to the tag that matches the @godxjp/ui version you installed. A catalog newer than your package describes props you do not have; older, and it hides props you do.",
|
|
55
55
|
"read": {
|
|
56
56
|
"live": "https://raw.githubusercontent.com/godx-jp/godxjp-ui/main/agent/index.json",
|
|
57
|
-
"pinned": "https://raw.githubusercontent.com/godx-jp/godxjp-ui/v33.4.
|
|
57
|
+
"pinned": "https://raw.githubusercontent.com/godx-jp/godxjp-ui/v33.4.2/agent/index.json"
|
|
58
58
|
},
|
|
59
59
|
"source": "mcp/src/data — the same data @godxjp/ui-mcp serves — plus the foundation and semantic token tiers, read from src/tokens/*.css",
|
|
60
60
|
"start": "https://raw.githubusercontent.com/godx-jp/godxjp-ui/main/agent/START-HERE.md",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"foundation": "the seeds a consumer is invited to set — --primary, --background, --radius",
|
|
69
69
|
"semantic": "named roles that follow the seeds — --ring, --text-link, --overlay-background"
|
|
70
70
|
},
|
|
71
|
-
"version": "33.4.
|
|
71
|
+
"version": "33.4.2"
|
|
72
72
|
}
|
package/agent/llms.txt
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @godxjp/ui
|
|
2
2
|
|
|
3
3
|
> A Japanese-enterprise React design system: 166 components, 2232 design tokens,
|
|
4
|
-
> 44 cardinal rules. This file is the entry point for AI agents. Catalog version 33.4.
|
|
4
|
+
> 44 cardinal rules. This file is the entry point for AI agents. Catalog version 33.4.2.
|
|
5
5
|
|
|
6
6
|
If your client can run a process, do not read these files — run the MCP server instead
|
|
7
|
-
(`npx @godxjp/ui-mcp@33.4.
|
|
7
|
+
(`npx @godxjp/ui-mcp@33.4.2`). It is searchable and version-locked. These files exist for agents
|
|
8
8
|
that can only fetch URLs.
|
|
9
9
|
|
|
10
10
|
## Start
|
|
@@ -27,7 +27,7 @@ that can only fetch URLs.
|
|
|
27
27
|
## Pinning
|
|
28
28
|
|
|
29
29
|
Every URL above tracks `main`. To pin to the release a project actually installed, swap `main` for
|
|
30
|
-
the tag: `.../godx-jp/godxjp-ui/v33.4.
|
|
30
|
+
the tag: `.../godx-jp/godxjp-ui/v33.4.2/agent/...`. A catalog that does not match the installed
|
|
31
31
|
package describes props that are absent, or hides props that are present, and says nothing either way.
|
|
32
32
|
|
|
33
33
|
Pinned catalogs only exist for releases whose tag actually contains `agent/`. If `…/v<version>/agent/index.json` returns 404, that release predates this catalog: read `…/main/…` instead and compare `index.json` → `version` against the package you have, so you at least know which way it drifted.
|
|
@@ -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": "33.4.
|
|
3
|
+
"version": "33.4.2",
|
|
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,
|
|
@@ -705,15 +705,16 @@
|
|
|
705
705
|
.ui-card-bar[data-surface="muted"] {
|
|
706
706
|
background: hsl(var(--muted));
|
|
707
707
|
}
|
|
708
|
+
|
|
708
709
|
.ui-card-bar[data-border="none"] {
|
|
709
|
-
border-block: 0;
|
|
710
|
+
border-block-width: 0;
|
|
710
711
|
}
|
|
711
712
|
.ui-card-bar[data-border="block-start"] {
|
|
712
|
-
border-block-end: 0;
|
|
713
|
+
border-block-end-width: 0;
|
|
713
714
|
border-block-start: var(--stroke-hairline) solid hsl(var(--border));
|
|
714
715
|
}
|
|
715
716
|
.ui-card-bar[data-border="block-end"] {
|
|
716
|
-
border-block-start: 0;
|
|
717
|
+
border-block-start-width: 0;
|
|
717
718
|
border-block-end: var(--stroke-hairline) solid hsl(var(--border));
|
|
718
719
|
}
|
|
719
720
|
.ui-card-bar[data-border="both"] {
|
package/dist/styles/control.css
CHANGED
|
@@ -215,7 +215,8 @@
|
|
|
215
215
|
height: auto;
|
|
216
216
|
min-height: 0;
|
|
217
217
|
padding: 0;
|
|
218
|
-
|
|
218
|
+
|
|
219
|
+
border-width: 0;
|
|
219
220
|
background: transparent;
|
|
220
221
|
color: inherit;
|
|
221
222
|
font: inherit;
|
|
@@ -897,7 +898,7 @@
|
|
|
897
898
|
width: 100%;
|
|
898
899
|
flex: 1;
|
|
899
900
|
height: var(--control-height);
|
|
900
|
-
border: 0;
|
|
901
|
+
border-width: 0;
|
|
901
902
|
background: transparent;
|
|
902
903
|
padding-inline: 0;
|
|
903
904
|
box-shadow: none;
|
|
@@ -87,8 +87,6 @@
|
|
|
87
87
|
gap: var(--space-stack-xs);
|
|
88
88
|
min-width: 0;
|
|
89
89
|
|
|
90
|
-
max-inline-size: var(--form-control-width, none);
|
|
91
|
-
|
|
92
90
|
min-height: var(--control-height);
|
|
93
91
|
align-content: center;
|
|
94
92
|
|
|
@@ -96,10 +94,32 @@
|
|
|
96
94
|
align-items: center;
|
|
97
95
|
}
|
|
98
96
|
|
|
97
|
+
.ui-form-field-control > :not(.ui-form-field-note, .ui-form-feedback) {
|
|
98
|
+
max-inline-size: var(--form-control-width, none);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.ui-form-field-input {
|
|
102
|
+
display: grid;
|
|
103
|
+
grid-template-columns: minmax(0, 1fr);
|
|
104
|
+
gap: inherit;
|
|
105
|
+
min-inline-size: 0;
|
|
106
|
+
margin: 0;
|
|
107
|
+
padding: 0;
|
|
108
|
+
border: 0;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.ui-form-field-input > * {
|
|
112
|
+
min-width: 0;
|
|
113
|
+
}
|
|
114
|
+
|
|
99
115
|
.ui-form-field-control:has(> .ui-form-field-note:first-child) {
|
|
100
116
|
grid-template-rows: none;
|
|
101
117
|
}
|
|
102
118
|
|
|
119
|
+
.ui-form-field-control
|
|
120
|
+
> fieldset:has(> :is(.ui-choice-group[data-orientation="vertical"], .ui-choice-field)) {
|
|
121
|
+
align-self: start;
|
|
122
|
+
}
|
|
103
123
|
.ui-form-field-control
|
|
104
124
|
> fieldset
|
|
105
125
|
> :is(.ui-choice-group[data-orientation="vertical"], .ui-choice-field) {
|
package/dist/styles/layers.json
CHANGED
|
@@ -2283,7 +2283,7 @@
|
|
|
2283
2283
|
justify-content: center;
|
|
2284
2284
|
gap: var(--topbar-item-gap);
|
|
2285
2285
|
padding-inline: var(--topbar-item-padding-inline);
|
|
2286
|
-
border: 0;
|
|
2286
|
+
border-width: 0;
|
|
2287
2287
|
border-radius: var(--topbar-item-radius);
|
|
2288
2288
|
background: transparent;
|
|
2289
2289
|
color: hsl(var(--topbar-item-color, var(--muted-foreground)));
|