@xdev-asia/ui 4.15.0 → 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/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 11px/1.4 var(--font-body);
35
- --type-badge: 600 11px/1.5 var(--font-body);
36
- --type-tag: 400 10px var(--font-body);
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 10px var(--font-mono);
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 11px var(--font-mono);
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: #2f62e6;
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: #2f62e6;
126
+ --x-color-accent: #3a6be7;
127
127
  --x-color-on-accent: #ffffff;
128
- --x-color-accent-soft: #2f62e62e;
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;
@@ -247,8 +247,6 @@
247
247
  --x-color-on-accent: #ffffff;
248
248
  --x-color-accent-soft: #0073e62e;
249
249
  --x-color-code-bg: #14171a;
250
- --font-body: "IBM Plex Sans", "Roboto", "Segoe UI", system-ui, sans-serif;
251
- --x-font-body: var(--font-body);
252
250
  --x-radius-sm: 6px;
253
251
  --x-radius-md: 10px;
254
252
  --x-radius-lg: 12px;
@@ -285,8 +283,6 @@
285
283
  --x-color-on-accent: #ffffff;
286
284
  --x-color-accent-soft: #ebf5ff;
287
285
  --x-color-code-bg: #f3f5f7;
288
- --font-body: "IBM Plex Sans", "Roboto", "Segoe UI", system-ui, sans-serif;
289
- --x-font-body: var(--font-body);
290
286
  --x-radius-sm: 6px;
291
287
  --x-radius-md: 10px;
292
288
  --x-radius-lg: 12px;
package/dist/tokens.json CHANGED
@@ -37,7 +37,7 @@
37
37
  {
38
38
  "id": "ocean",
39
39
  "name": "Ocean",
40
- "usage": "Opt-in ground with a bright azure accent on blue-grey greys and a white light mode (the look of the MUI site): set data-ground=\"ocean\" next to data-theme on <html>. Unlike navy it also moves the accent (#0073e6, white text 4.57:1), the semantic x-color surfaces, the body font (IBM Plex Sans, load fonts.css), larger radii (buttons 10px, menus 12px) and a soft inset highlight on buttons; status colours, the cyan focus ring and the brand stay as they are. Text-3 keeps 4.5:1 and line-strong 3:1 on every step.",
40
+ "usage": "Opt-in ground with a bright azure accent on blue-grey greys and a white light mode (the look of the MUI site): set data-ground=\"ocean\" next to data-theme on <html>. Unlike navy it also moves the accent (#0073e6, white text 4.57:1), the semantic x-color surfaces, larger radii (buttons 10px, menus 12px) and a soft inset highlight on buttons; the body font (Roboto), status colours, the cyan focus ring and the brand stay as they are. Text-3 keeps 4.5:1 and line-strong 3:1 on every step.",
41
41
  "tokens": [
42
42
  { "name": "bg-0", "value": { "dark": "#0b0d0f", "light": "#ffffff" } },
43
43
  { "name": "bg-1", "value": { "dark": "#0f1214", "light": "#f8f9fb" } },
@@ -63,8 +63,6 @@
63
63
  { "name": "x-color-on-accent", "value": { "dark": "#ffffff", "light": "#ffffff" } },
64
64
  { "name": "x-color-accent-soft", "value": { "dark": "#0073e62e", "light": "#ebf5ff" } },
65
65
  { "name": "x-color-code-bg", "value": { "dark": "#14171a", "light": "#f3f5f7" } },
66
- { "name": "font-body", "value": "\"IBM Plex Sans\", \"Roboto\", \"Segoe UI\", system-ui, sans-serif" },
67
- { "name": "x-font-body", "value": "{font-body}" },
68
66
  { "name": "x-radius-sm", "value": "6px" },
69
67
  { "name": "x-radius-md", "value": "10px" },
70
68
  { "name": "x-radius-lg", "value": "12px" },
@@ -95,7 +93,7 @@
95
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." },
96
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." },
97
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." },
98
- { "name": "accent", "value": { "dark": "#2f62e6", "light": "#2453d6" }, "usage": "Brand blue in the workspace: selected-tab top rule, on switches, merged PR dot, the mark." },
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." },
99
97
  { "name": "signal", "value": { "dark": "#5bd8ff", "light": "#06699a" }, "usage": "Agent working state, meter fill, Codex chip. Text on bg-0 to bg-2." },
100
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)." },
101
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." },
@@ -120,9 +118,9 @@
120
118
  { "name": "x-color-muted", "value": { "dark": "#9aa8c7", "light": "#4f5b78" }, "usage": "Semantic secondary text on x-color-bg, panel and surface." },
121
119
  { "name": "x-color-line", "value": { "dark": "#24314f", "light": "#d6deed" }, "usage": "Semantic hairline: secondary buttons, segmented, dialog edge." },
122
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." },
123
- { "name": "x-color-accent", "value": { "dark": "#2f62e6", "light": "#2453d6" }, "usage": "Primary button fill, pressed segment, current activity." },
121
+ { "name": "x-color-accent", "value": { "dark": "#3a6be7", "light": "#2453d6" }, "usage": "Primary button fill, pressed segment, current activity." },
124
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)." },
125
- { "name": "x-color-accent-soft", "value": { "dark": "#2f62e62e", "light": "#e1e9fb" }, "usage": "Selected rows and soft accent wells." },
123
+ { "name": "x-color-accent-soft", "value": { "dark": "#3a6be72e", "light": "#e1e9fb" }, "usage": "Selected rows and soft accent wells." },
126
124
  { "name": "x-color-signal", "value": { "dark": "#5bd8ff", "light": "#0670a0" }, "usage": "Focus ring (2px solid, offset 2px) and changed badge text." },
127
125
  { "name": "x-color-focus", "value": { "dark": "{x-color-signal}", "light": "{x-color-signal}" }, "usage": "Focus ring colour; always equal to x-color-signal." },
128
126
  { "name": "x-color-signal-soft", "value": { "dark": "#5bd8ff1f", "light": "#e1f2fa" }, "usage": "Changed badge ground." },
@@ -175,9 +173,9 @@
175
173
  { "name": "label", "fontSize": "12px", "fontWeight": 600, "usage": "Field labels, segmented options, select.", "sample": "Branch prefix" },
176
174
  { "name": "tab", "fontSize": "13px", "fontWeight": 400, "usage": "Tab names, file tree rows, sidebar rows; unread tabs go to 700.", "sample": "claude · fix-login" },
177
175
  { "name": "status", "fontSize": "12px", "fontWeight": 400, "usage": "Footer status bar, field hints.", "sample": "main · 3 ahead" },
178
- { "name": "section", "fontSize": "11px", "lineHeight": 1.4, "fontWeight": 600, "usage": "Section and group headers in sidebars and panels; uppercase with 0.06em tracking, text-2.", "sample": "WORKSPACE" },
179
- { "name": "badge", "fontSize": "11px", "lineHeight": 1.5, "fontWeight": 600, "usage": "Badges, menu group labels, palette section labels.", "sample": "changed" },
180
- { "name": "tag", "fontSize": "10px", "fontWeight": 400, "usage": "Tags, skipped-tab pill, activity count.", "sample": "draft" },
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" },
181
179
  { "name": "avatar-sm", "fontSize": "8px", "lineHeight": 1, "fontWeight": 600, "usage": "Initials in a small Avatar.", "sample": "AL" },
182
180
  { "name": "avatar-md", "fontSize": "13px", "lineHeight": 1, "fontWeight": 600, "usage": "Initials in a medium Avatar.", "sample": "AL" },
183
181
  { "name": "avatar-lg", "fontSize": "19px", "lineHeight": 1, "fontWeight": 600, "usage": "Initials in a large Avatar.", "sample": "AL" }
@@ -188,10 +186,10 @@
188
186
  "family": "mono",
189
187
  "styles": [
190
188
  { "name": "mono", "fontSize": "12px", "fontWeight": 400, "usage": "Crash detail, paths in fields, snippets.", "sample": "xdev export --agents" },
191
- { "name": "mono-stat", "fontSize": "10px", "fontWeight": 400, "usage": "+N / -N line counts, agent chip letter (700).", "sample": "+42 -7" },
189
+ { "name": "mono-stat", "fontSize": "12px", "fontWeight": 400, "usage": "+N / -N line counts, agent chip letter (700).", "sample": "+42 -7" },
192
190
  { "name": "stat", "fontSize": "22px", "lineHeight": 1.2, "fontWeight": 600, "usage": "Headline number in StatTile.", "sample": "1,284" },
193
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" },
194
- { "name": "kbd", "fontSize": "11px", "fontWeight": 400, "usage": "Key caps.", "sample": "Ctrl+J" }
192
+ { "name": "kbd", "fontSize": "12px", "fontWeight": 400, "usage": "Key caps.", "sample": "Ctrl+J" }
195
193
  ]
196
194
  }
197
195
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xdev-asia/ui",
3
- "version": "4.15.0",
3
+ "version": "4.15.2",
4
4
  "description": "xdev-ui: design tokens and React components for the xDev agent workspace.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -1,2 +1 @@
1
- @xdev-asia:registry=https://npm.pkg.github.com
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 the GitHub registry. `_npmrc` in the template maps the scope; log in once with `npm login --registry=https://npm.pkg.github.com --scope=@xdev-asia`. The token needs `read:packages`. 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.
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=https://npm.pkg.github.com
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.