@astryxdesign/cli 0.4.5-canary.6f36dda → 0.4.5-canary.75325ef
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.
|
@@ -152,7 +152,7 @@ function App() {
|
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
154
|
type: 'prose',
|
|
155
|
-
text: 'For an annotated map of the whole surface
|
|
155
|
+
text: 'For an annotated map of the whole surface (every defineTheme field, the token families, and the component override syntax, each with the CLI command that prints its reference), run `astryx theme template`. It writes `theme.template.ts` into your project to read and copy from (`astryx init --features theme` writes it as part of project setup).',
|
|
156
156
|
},
|
|
157
157
|
],
|
|
158
158
|
},
|
|
@@ -261,7 +261,7 @@ const brandTheme = defineTheme({
|
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
263
|
type: 'prose',
|
|
264
|
-
text: 'Inheritance is resolved when the theme is defined, so an extended theme is flat: `astryx theme build` emits one self-contained stylesheet holding everything the child inherited, and the base theme\'s CSS does not need to be loaded next to it. A base that is not a theme
|
|
264
|
+
text: 'Inheritance is resolved when the theme is defined, so an extended theme is flat: `astryx theme build` emits one self-contained stylesheet holding everything the child inherited, and the base theme\'s CSS does not need to be loaded next to it. A base that is not a theme (most often an import that missed) is a build error rather than a theme that silently inherits nothing.',
|
|
265
265
|
},
|
|
266
266
|
],
|
|
267
267
|
},
|
|
@@ -425,7 +425,7 @@ import './themes/ocean.css';
|
|
|
425
425
|
},
|
|
426
426
|
{
|
|
427
427
|
type: 'prose',
|
|
428
|
-
text: 'The build also warns when the theme names font families it does not load (webfonts like Fraunces) and prints the `<link>`/`@font-face` to add
|
|
428
|
+
text: 'The build also warns when the theme names font families it does not load (webfonts like Fraunces) and prints the `<link>`/`@font-face` to add. The built CSS only sets font-family, so loading the font files stays the app\'s job. See `astryx docs typography` for the full recipe.',
|
|
429
429
|
},
|
|
430
430
|
],
|
|
431
431
|
},
|
|
@@ -7,7 +7,7 @@ export const doc = {
|
|
|
7
7
|
name: 'Selector — Option descriptions',
|
|
8
8
|
displayName: 'Selector — Option descriptions',
|
|
9
9
|
description:
|
|
10
|
-
'Options carry a description, so the dropdown draws a two-line row. The closed trigger is sized by padding, so it is the size token for a one-line value and exactly one line taller for a two-line one
|
|
10
|
+
'Options carry a description, so the dropdown draws a two-line row. The closed trigger is sized by padding, so it is the size token for a one-line value and exactly one line taller for a two-line one; both on the 4px rhythm. An InputGroup pins the row, so the value folds back onto one line there.',
|
|
11
11
|
isReady: true,
|
|
12
12
|
aspectRatio: 16 / 9,
|
|
13
13
|
componentsUsed: ['Selector', 'SelectorOption', 'InputGroup', 'Button', 'Stack'],
|
|
@@ -6,7 +6,7 @@ export const doc = {
|
|
|
6
6
|
name: 'Service Monitoring Dashboard',
|
|
7
7
|
displayName: 'Service Monitoring Dashboard',
|
|
8
8
|
description:
|
|
9
|
-
'Live-ops service-health dashboard: traffic-light KPI tiles with sparklines, and multi-line latency and request-volume charts with a 1h/1d/7d window, beside a triage rail split into two independently scrolling sections
|
|
9
|
+
'Live-ops service-health dashboard: traffic-light KPI tiles with sparklines, and multi-line latency and request-volume charts with a 1h/1d/7d window, beside a triage rail split into two independently scrolling sections: active alerts over a worst-first per-service breakdown with inline status coloring. Global environment, region, and auto-refresh controls; the rail folds into the content column as two cards below 1024px.',
|
|
10
10
|
isReady: false,
|
|
11
11
|
category: 'Dashboard - Monitoring',
|
|
12
12
|
};
|
|
@@ -19,7 +19,7 @@ export const doc = {
|
|
|
19
19
|
'Compiles a file that calls defineTheme() into a scoped CSS file, a JS module, and ' +
|
|
20
20
|
'type declarations: the exact CSS the <Theme> runtime emits. Takes any number of theme ' +
|
|
21
21
|
'files and compiles them in one process, in argument order, stopping at the first ' +
|
|
22
|
-
'failure
|
|
22
|
+
'failure; an app with several themes does not need a shell loop. With --check it writes ' +
|
|
23
23
|
'nothing and instead reports whether the committed outputs have drifted from source. ' +
|
|
24
24
|
'When a separate build step emits the icon registry, --icons-specifier declares the ' +
|
|
25
25
|
'fully specified module path that the generated JS should import.',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/cli",
|
|
3
|
-
"version": "0.4.5-canary.
|
|
3
|
+
"version": "0.4.5-canary.75325ef",
|
|
4
4
|
"displayName": "CLI",
|
|
5
5
|
"description": "Scaffold projects, browse templates, generate themes, and get agent-ready docs from the command line.",
|
|
6
6
|
"author": "Meta Open Source",
|
|
@@ -87,10 +87,10 @@
|
|
|
87
87
|
"zod": "^4.4.3"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
|
-
"@astryxdesign/charts": "0.4.5-canary.
|
|
91
|
-
"@astryxdesign/core": "0.4.5-canary.
|
|
92
|
-
"@astryxdesign/lab": "0.4.5-canary.
|
|
93
|
-
"@astryxdesign/theme-neutral": "0.4.5-canary.
|
|
90
|
+
"@astryxdesign/charts": "0.4.5-canary.75325ef",
|
|
91
|
+
"@astryxdesign/core": "0.4.5-canary.75325ef",
|
|
92
|
+
"@astryxdesign/lab": "0.4.5-canary.75325ef",
|
|
93
|
+
"@astryxdesign/theme-neutral": "0.4.5-canary.75325ef",
|
|
94
94
|
"gpt-tokenizer": "^3.4.0"
|
|
95
95
|
},
|
|
96
96
|
"peerDependenciesMeta": {
|
|
@@ -108,10 +108,10 @@
|
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
|
-
"@astryxdesign/charts": "0.4.5-canary.
|
|
112
|
-
"@astryxdesign/core": "0.4.5-canary.
|
|
113
|
-
"@astryxdesign/lab": "0.4.5-canary.
|
|
114
|
-
"@astryxdesign/theme-neutral": "0.4.5-canary.
|
|
111
|
+
"@astryxdesign/charts": "0.4.5-canary.75325ef",
|
|
112
|
+
"@astryxdesign/core": "0.4.5-canary.75325ef",
|
|
113
|
+
"@astryxdesign/lab": "0.4.5-canary.75325ef",
|
|
114
|
+
"@astryxdesign/theme-neutral": "0.4.5-canary.75325ef",
|
|
115
115
|
"gpt-tokenizer": "^3.4.0"
|
|
116
116
|
},
|
|
117
117
|
"scripts": {
|