@xdev-asia/ui 4.15.1 → 4.15.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/README.md +5 -15
- package/dist/ai-manifest.json +16 -16
- package/dist/llms-full.txt +13 -13
- package/dist/llms.txt +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.layered.css +1 -1
- package/dist/tokens.css +8 -8
- package/dist/tokens.json +8 -8
- package/package.json +1 -1
- package/skills/xdev-ui-admin/templates/admin/_npmrc +1 -2
- package/skills/xdev-ui-build-app/references/setup.md +1 -1
- package/skills/xdev-ui-build-app/templates/app/_npmrc +1 -2
package/dist/tokens.css
CHANGED
|
@@ -31,17 +31,17 @@
|
|
|
31
31
|
--type-label: 600 12px var(--font-body);
|
|
32
32
|
--type-tab: 400 13px var(--font-body);
|
|
33
33
|
--type-status: 400 12px var(--font-body);
|
|
34
|
-
--type-section: 600
|
|
35
|
-
--type-badge: 600
|
|
36
|
-
--type-tag: 400
|
|
34
|
+
--type-section: 600 12px/1.4 var(--font-body);
|
|
35
|
+
--type-badge: 600 12px/1.5 var(--font-body);
|
|
36
|
+
--type-tag: 400 12px var(--font-body);
|
|
37
37
|
--type-avatar-sm: 600 8px/1 var(--font-body);
|
|
38
38
|
--type-avatar-md: 600 13px/1 var(--font-body);
|
|
39
39
|
--type-avatar-lg: 600 19px/1 var(--font-body);
|
|
40
40
|
--type-mono: 400 12px var(--font-mono);
|
|
41
|
-
--type-mono-stat: 400
|
|
41
|
+
--type-mono-stat: 400 12px var(--font-mono);
|
|
42
42
|
--type-stat: 600 22px/1.2 var(--font-mono);
|
|
43
43
|
--type-display: 600 40px/1.1 var(--font-mono);
|
|
44
|
-
--type-kbd: 400
|
|
44
|
+
--type-kbd: 400 12px var(--font-mono);
|
|
45
45
|
--x-space-1: 4px;
|
|
46
46
|
--x-space-2: 8px;
|
|
47
47
|
--x-space-3: 12px;
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
--text-3: #8f909b;
|
|
100
100
|
--side-tint: #161a26;
|
|
101
101
|
--term: #111215;
|
|
102
|
-
--accent: #
|
|
102
|
+
--accent: #3a6be7;
|
|
103
103
|
--signal: #5bd8ff;
|
|
104
104
|
--signal-bg: rgba(91, 216, 255, 0.12);
|
|
105
105
|
--warn: #f2b544;
|
|
@@ -123,9 +123,9 @@
|
|
|
123
123
|
--x-color-muted: #9aa8c7;
|
|
124
124
|
--x-color-line: #24314f;
|
|
125
125
|
--x-color-line-strong: #64718d;
|
|
126
|
-
--x-color-accent: #
|
|
126
|
+
--x-color-accent: #3a6be7;
|
|
127
127
|
--x-color-on-accent: #ffffff;
|
|
128
|
-
--x-color-accent-soft: #
|
|
128
|
+
--x-color-accent-soft: #3a6be72e;
|
|
129
129
|
--x-color-signal: #5bd8ff;
|
|
130
130
|
--x-color-focus: var(--x-color-signal);
|
|
131
131
|
--x-color-signal-soft: #5bd8ff1f;
|
package/dist/tokens.json
CHANGED
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
{ "name": "text-3", "value": { "dark": "#8f909b", "light": "#666974" }, "usage": "Tertiary meta text: palette section labels, placeholders, timestamps, counts. At least 4.5:1 on bg-0 to bg-3, term and side-tint in both themes; still the quietest text step, below text-2." },
|
|
94
94
|
{ "name": "side-tint", "value": { "dark": "#161a26", "light": "#f1f4fb" }, "usage": "Left sidebar ground when Appearance > Sidebar is Tinted: bg-1 with a faint accent wash. Text-1 and text-2 keep their contrast on it." },
|
|
95
95
|
{ "name": "term", "value": { "dark": "#111215", "light": "#ffffff" }, "usage": "Terminal and editor ground; the selected tab takes it so the tab joins its pane. White in light, between bg-0 and bg-1 in dark." },
|
|
96
|
-
{ "name": "accent", "value": { "dark": "#
|
|
96
|
+
{ "name": "accent", "value": { "dark": "#3a6be7", "light": "#2453d6" }, "usage": "Brand blue in the workspace: selected-tab top rule, on switches, merged PR dot, the mark." },
|
|
97
97
|
{ "name": "signal", "value": { "dark": "#5bd8ff", "light": "#06699a" }, "usage": "Agent working state, meter fill, Codex chip. Text on bg-0 to bg-2." },
|
|
98
98
|
{ "name": "signal-bg", "value": { "dark": "rgba(91, 216, 255, 0.12)", "light": "rgba(6, 112, 160, 0.1)" }, "usage": "Tint behind signal text (Codex chip)." },
|
|
99
99
|
{ "name": "warn", "value": { "dark": "#f2b544", "light": "#8a5200" }, "usage": "Needs-you state, pending checks, warn tag, meter over threshold. Text on bg-0 to bg-2." },
|
|
@@ -118,9 +118,9 @@
|
|
|
118
118
|
{ "name": "x-color-muted", "value": { "dark": "#9aa8c7", "light": "#4f5b78" }, "usage": "Semantic secondary text on x-color-bg, panel and surface." },
|
|
119
119
|
{ "name": "x-color-line", "value": { "dark": "#24314f", "light": "#d6deed" }, "usage": "Semantic hairline: secondary buttons, segmented, dialog edge." },
|
|
120
120
|
{ "name": "x-color-line-strong", "value": { "dark": "#64718d", "light": "#76839d" }, "usage": "Control edge: 3:1 or more on x-color-bg, panel, surface and surface-2 and on bg-0 to bg-3 (SC 1.4.11). Use it where a border alone marks a field, checkbox, radio or switch; keep x-color-line for decorative dividers." },
|
|
121
|
-
{ "name": "x-color-accent", "value": { "dark": "#
|
|
121
|
+
{ "name": "x-color-accent", "value": { "dark": "#3a6be7", "light": "#2453d6" }, "usage": "Primary button fill, pressed segment, current activity." },
|
|
122
122
|
{ "name": "x-color-on-accent", "value": { "dark": "#ffffff", "light": "#ffffff" }, "usage": "Text and glyphs on x-color-accent (5.2:1 dark, 6.6:1 light)." },
|
|
123
|
-
{ "name": "x-color-accent-soft", "value": { "dark": "#
|
|
123
|
+
{ "name": "x-color-accent-soft", "value": { "dark": "#3a6be72e", "light": "#e1e9fb" }, "usage": "Selected rows and soft accent wells." },
|
|
124
124
|
{ "name": "x-color-signal", "value": { "dark": "#5bd8ff", "light": "#0670a0" }, "usage": "Focus ring (2px solid, offset 2px) and changed badge text." },
|
|
125
125
|
{ "name": "x-color-focus", "value": { "dark": "{x-color-signal}", "light": "{x-color-signal}" }, "usage": "Focus ring colour; always equal to x-color-signal." },
|
|
126
126
|
{ "name": "x-color-signal-soft", "value": { "dark": "#5bd8ff1f", "light": "#e1f2fa" }, "usage": "Changed badge ground." },
|
|
@@ -173,9 +173,9 @@
|
|
|
173
173
|
{ "name": "label", "fontSize": "12px", "fontWeight": 600, "usage": "Field labels, segmented options, select.", "sample": "Branch prefix" },
|
|
174
174
|
{ "name": "tab", "fontSize": "13px", "fontWeight": 400, "usage": "Tab names, file tree rows, sidebar rows; unread tabs go to 700.", "sample": "claude · fix-login" },
|
|
175
175
|
{ "name": "status", "fontSize": "12px", "fontWeight": 400, "usage": "Footer status bar, field hints.", "sample": "main · 3 ahead" },
|
|
176
|
-
{ "name": "section", "fontSize": "
|
|
177
|
-
{ "name": "badge", "fontSize": "
|
|
178
|
-
{ "name": "tag", "fontSize": "
|
|
176
|
+
{ "name": "section", "fontSize": "12px", "lineHeight": 1.4, "fontWeight": 600, "usage": "Section and group headers in sidebars and panels; uppercase with 0.06em tracking, text-2.", "sample": "WORKSPACE" },
|
|
177
|
+
{ "name": "badge", "fontSize": "12px", "lineHeight": 1.5, "fontWeight": 600, "usage": "Badges, menu group labels, palette section labels.", "sample": "changed" },
|
|
178
|
+
{ "name": "tag", "fontSize": "12px", "fontWeight": 400, "usage": "Tags, skipped-tab pill, activity count.", "sample": "draft" },
|
|
179
179
|
{ "name": "avatar-sm", "fontSize": "8px", "lineHeight": 1, "fontWeight": 600, "usage": "Initials in a small Avatar.", "sample": "AL" },
|
|
180
180
|
{ "name": "avatar-md", "fontSize": "13px", "lineHeight": 1, "fontWeight": 600, "usage": "Initials in a medium Avatar.", "sample": "AL" },
|
|
181
181
|
{ "name": "avatar-lg", "fontSize": "19px", "lineHeight": 1, "fontWeight": 600, "usage": "Initials in a large Avatar.", "sample": "AL" }
|
|
@@ -186,10 +186,10 @@
|
|
|
186
186
|
"family": "mono",
|
|
187
187
|
"styles": [
|
|
188
188
|
{ "name": "mono", "fontSize": "12px", "fontWeight": 400, "usage": "Crash detail, paths in fields, snippets.", "sample": "xdev export --agents" },
|
|
189
|
-
{ "name": "mono-stat", "fontSize": "
|
|
189
|
+
{ "name": "mono-stat", "fontSize": "12px", "fontWeight": 400, "usage": "+N / -N line counts, agent chip letter (700).", "sample": "+42 -7" },
|
|
190
190
|
{ "name": "stat", "fontSize": "22px", "lineHeight": 1.2, "fontWeight": 600, "usage": "Headline number in StatTile.", "sample": "1,284" },
|
|
191
191
|
{ "name": "display", "fontSize": "40px", "lineHeight": 1.1, "fontWeight": 600, "usage": "Wall clock or the one big number of a screen: StatTile size lg.", "sample": "14:05:32" },
|
|
192
|
-
{ "name": "kbd", "fontSize": "
|
|
192
|
+
{ "name": "kbd", "fontSize": "12px", "fontWeight": 400, "usage": "Key caps.", "sample": "Ctrl+J" }
|
|
193
193
|
]
|
|
194
194
|
}
|
|
195
195
|
]
|
package/package.json
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
@xdev-asia:registry
|
|
2
|
-
# The token needs read:packages. Add your own with: npm login --registry=https://npm.pkg.github.com --scope=@xdev-asia
|
|
1
|
+
# @xdev-asia/ui is on npmjs.com: no registry line or token is needed.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
pnpm add @xdev-asia/ui react react-dom
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
The package is on
|
|
9
|
+
The package is on npmjs.com, so the install needs no registry line and no token. Never commit a token. `xdev-ui-skills create` pins `@xdev-asia/ui` to the release that ships the template (`^x.y.z`); if you copy the template by hand, replace `latest` with the version you install.
|
|
10
10
|
|
|
11
11
|
## Entry file
|
|
12
12
|
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
@xdev-asia:registry
|
|
2
|
-
# The token needs read:packages. Add your own with: npm login --registry=https://npm.pkg.github.com --scope=@xdev-asia
|
|
1
|
+
# @xdev-asia/ui is on npmjs.com: no registry line or token is needed.
|