@astryxdesign/cli 0.7.5-canary.dc5a8cf → 0.7.5-canary.e4b225e
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/CHANGELOG.md +3 -3
- package/api/hook/detail/detail.test.mjs +11 -0
- package/api/swizzle/copy/copy.mjs +1 -1
- package/api/theme/build/build.icon-function-entries.test.mjs +499 -0
- package/api/theme/build/build.mjs +172 -14
- package/api/theme/build/icon-imports.d.mts +12 -2
- package/api/theme/build/icon-imports.mjs +36 -11
- package/assets/codemods/transforms/v0.1.2/rename-text-color-active-to-accent.mjs +1 -1
- package/assets/codemods/transforms/v0.1.5/rename-switch-label-spacing-default-to-hug.mjs +1 -1
- package/assets/codemods/transforms/v0.1.7/migrate-table-tableprops-to-direct-props.mjs +1 -1
- package/assets/codemods/transforms/v0.1.8/rename-avatar-size-scale.mjs +1 -1
- package/assets/codemods/transforms/v0.2.0/remove-tablist-orientation.mjs +1 -1
- package/assets/codemods/transforms/v0.2.1/migrate-dialog-position-to-logical.mjs +1 -1
- package/assets/docs/README.md +13 -13
- package/assets/docs/author-a-theme.doc.mjs +2 -0
- package/assets/docs/getting-started.doc.mjs +5 -5
- package/assets/docs/icons.doc.mjs +1 -1
- package/assets/docs/motion.doc.mjs +1 -1
- package/assets/docs/tree/i18n-library-integration.doc.mjs +1 -1
- package/assets/docs/tree/tokens-ease.doc.mjs +4 -0
- package/assets/docs/tree/tokens.doc.mjs +1 -1
- package/assets/theme.template.ts +1 -1
- package/authoring/config/config.doc.mjs +1 -1
- package/clients/cli/commands/swizzle.routing.test.mjs +1 -1
- package/foundation/config/project.d.mts +1 -1
- package/foundation/config/project.mjs +1 -1
- package/foundation/debug/redact.test.mjs +1 -1
- package/package.json +12 -12
package/assets/theme.template.ts
CHANGED
|
@@ -217,7 +217,7 @@ export const myTheme = defineTheme({
|
|
|
217
217
|
// --radius-* none · inner · element · container · page · chat · full
|
|
218
218
|
// --shadow-* low/med/high + inset-{hover,selected,success,warning,error}
|
|
219
219
|
// --duration-* {fast,medium,slow} × {-min, base, -max}
|
|
220
|
-
// --ease
|
|
220
|
+
// --ease-* standard (arriving, state) · exit (leaving)
|
|
221
221
|
// --font-family-* body · heading · code
|
|
222
222
|
// --font-size-* 4xs … 5xl
|
|
223
223
|
// --font-weight-* normal · medium · semibold · bold
|
|
@@ -31,7 +31,7 @@ export const doc = {
|
|
|
31
31
|
type: 'string',
|
|
32
32
|
description:
|
|
33
33
|
"Where reports about Core go: `{@command gap-report}` routes a Core report here when no handler is loaded, gapReport handlers receive it as `report.target.issuesUrl`, and `{@command swizzle}` prints it as the feedback link for a Core component. A report or swizzle for an integration's component uses that integration's own issuesUrl, never this one. An absolute URL; a value that is not a URL makes the config invalid.",
|
|
34
|
-
default: "'https://github.com/
|
|
34
|
+
default: "'https://github.com/meta/astryx/issues/new'",
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
name: 'hooks',
|
|
@@ -155,7 +155,7 @@ describe('swizzle — core feedback routing via config', () => {
|
|
|
155
155
|
expect(result.code).toBe(0);
|
|
156
156
|
const env = JSON.parse(result.stdout);
|
|
157
157
|
expect(env.data.feedback.issuesUrl).toBe(
|
|
158
|
-
'https://github.com/
|
|
158
|
+
'https://github.com/meta/astryx/issues/new',
|
|
159
159
|
);
|
|
160
160
|
});
|
|
161
161
|
});
|
|
@@ -44,7 +44,7 @@ export function providerLedgerOf(project: Project): import("../integrations/prov
|
|
|
44
44
|
/** Conventional config basenames, in load-precedence order. */
|
|
45
45
|
export const CONFIG_BASENAMES: string[];
|
|
46
46
|
/** Default issue tracker used when neither config nor integration routes one. */
|
|
47
|
-
export const DEFAULT_ISSUES_URL: "https://github.com/
|
|
47
|
+
export const DEFAULT_ISSUES_URL: "https://github.com/meta/astryx/issues/new";
|
|
48
48
|
/**
|
|
49
49
|
* The single API for reading resolved project configuration. Construct via the
|
|
50
50
|
* async {@link Project.load} factory.
|
|
@@ -330,7 +330,7 @@ export const CONFIG_BASENAMES = [
|
|
|
330
330
|
|
|
331
331
|
/** Default issue tracker used when neither config nor integration routes one. */
|
|
332
332
|
export const DEFAULT_ISSUES_URL =
|
|
333
|
-
'https://github.com/
|
|
333
|
+
'https://github.com/meta/astryx/issues/new';
|
|
334
334
|
|
|
335
335
|
/**
|
|
336
336
|
* Whether this project accepts `debug` handlers contributed by the
|
|
@@ -305,7 +305,7 @@ describe('credential scrubbing', () => {
|
|
|
305
305
|
});
|
|
306
306
|
|
|
307
307
|
it.each([
|
|
308
|
-
['a URL', 'GET https://api.github.com/repos/
|
|
308
|
+
['a URL', 'GET https://api.github.com/repos/meta/astryx/pulls/4812'],
|
|
309
309
|
['a websocket URL', 'ws://localhost:5173/hmr/client'],
|
|
310
310
|
['a proxy URL', 'http://127.0.0.1:8931/a/b/c'],
|
|
311
311
|
['a time', 'elapsed 12:30 done'],
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/cli",
|
|
3
|
-
"version": "0.7.5-canary.
|
|
3
|
+
"version": "0.7.5-canary.e4b225e",
|
|
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",
|
|
7
7
|
"license": "MIT",
|
|
8
|
-
"homepage": "https://github.com/
|
|
8
|
+
"homepage": "https://github.com/meta/astryx#readme",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/
|
|
11
|
+
"url": "git+https://github.com/meta/astryx.git",
|
|
12
12
|
"directory": "packages/cli"
|
|
13
13
|
},
|
|
14
14
|
"bugs": {
|
|
15
|
-
"url": "https://github.com/
|
|
15
|
+
"url": "https://github.com/meta/astryx/issues"
|
|
16
16
|
},
|
|
17
17
|
"keywords": [
|
|
18
18
|
"astryx",
|
|
@@ -111,10 +111,10 @@
|
|
|
111
111
|
"zod": "^4.4.3"
|
|
112
112
|
},
|
|
113
113
|
"peerDependencies": {
|
|
114
|
-
"@astryxdesign/charts": "0.7.5-canary.
|
|
115
|
-
"@astryxdesign/core": "0.7.5-canary.
|
|
116
|
-
"@astryxdesign/lab": "0.7.5-canary.
|
|
117
|
-
"@astryxdesign/theme-neutral": "0.7.5-canary.
|
|
114
|
+
"@astryxdesign/charts": "0.7.5-canary.e4b225e",
|
|
115
|
+
"@astryxdesign/core": "0.7.5-canary.e4b225e",
|
|
116
|
+
"@astryxdesign/lab": "0.7.5-canary.e4b225e",
|
|
117
|
+
"@astryxdesign/theme-neutral": "0.7.5-canary.e4b225e"
|
|
118
118
|
},
|
|
119
119
|
"peerDependenciesMeta": {
|
|
120
120
|
"@astryxdesign/charts": {
|
|
@@ -131,10 +131,10 @@
|
|
|
131
131
|
}
|
|
132
132
|
},
|
|
133
133
|
"devDependencies": {
|
|
134
|
-
"@astryxdesign/charts": "0.7.5-canary.
|
|
135
|
-
"@astryxdesign/core": "0.7.5-canary.
|
|
136
|
-
"@astryxdesign/lab": "0.7.5-canary.
|
|
137
|
-
"@astryxdesign/theme-neutral": "0.7.5-canary.
|
|
134
|
+
"@astryxdesign/charts": "0.7.5-canary.e4b225e",
|
|
135
|
+
"@astryxdesign/core": "0.7.5-canary.e4b225e",
|
|
136
|
+
"@astryxdesign/lab": "0.7.5-canary.e4b225e",
|
|
137
|
+
"@astryxdesign/theme-neutral": "0.7.5-canary.e4b225e",
|
|
138
138
|
"@heroicons/react": "^2.2.0",
|
|
139
139
|
"@stylexjs/stylex": "^0.19.0",
|
|
140
140
|
"@types/babel__core": "^7.20.5",
|