@astryxdesign/cli 0.3.0-canary.d1b7d82 → 0.3.0-canary.dccdabe
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 +8 -8
- package/api/blog/blog.doc.mjs +2 -2
- package/api/build/build.doc.mjs +1 -1
- package/api/component/component.doc.mjs +1 -1
- package/api/discover/discover.doc.mjs +2 -2
- package/api/docs/docs.doc.mjs +2 -2
- package/api/doctor/doctor.doc.mjs +3 -3
- package/api/hook/hook.doc.mjs +1 -1
- package/api/init/init.doc.mjs +1 -1
- package/api/integration/summarizeIssues.doc.mjs +1 -1
- package/api/integration/validateIntegration.doc.mjs +1 -1
- package/api/json/assertResponse.doc.mjs +2 -2
- package/api/json/isError.doc.mjs +1 -1
- package/api/json/parseResponse.doc.mjs +2 -2
- package/api/layout/layoutCheck.doc.mjs +1 -1
- package/api/layout/layoutExpand.doc.mjs +1 -1
- package/api/layout/layoutGrammar.doc.mjs +1 -1
- package/api/swizzle/swizzle.doc.mjs +1 -1
- package/api/template/template.test.mjs +12 -13
- package/api/theme/listThemes.doc.mjs +2 -2
- package/api/theme/themeAdd.doc.mjs +1 -1
- package/api/theme/themeBuild.doc.mjs +3 -3
- package/api/theme/themeList.doc.mjs +2 -2
- package/api/upgrade/upgrade.doc.mjs +1 -1
- package/assets/codemods/transforms/v0.3.0/__tests__/migrate-grid-minchildwidth-to-columns.test.mjs +82 -0
- package/assets/codemods/transforms/v0.3.0/migrate-grid-minchildwidth-to-columns.mjs +38 -2
- package/assets/docs/browser-support.doc.mjs +6 -6
- package/assets/docs/icons.doc.mjs +3 -3
- package/assets/docs/illustrations.doc.mjs +2 -2
- package/assets/docs/internationalization.doc.mjs +1 -1
- package/assets/docs/layout.doc.dense.mjs +1 -1
- package/assets/docs/migration.doc.mjs +1 -1
- package/assets/docs/principles.doc.mjs +1 -1
- package/assets/docs/styling-libraries.doc.mjs +1 -1
- package/assets/docs/styling.doc.mjs +4 -4
- package/assets/docs/theme.doc.mjs +3 -3
- package/assets/docs/typography.doc.mjs +2 -2
- package/assets/templates/blocks/components/AspectRatio/AspectRatioCircleImage.tsx +1 -1
- package/assets/templates/blocks/components/AspectRatio/AspectRatioImageGallery.tsx +1 -1
- package/assets/templates/blocks/components/AspectRatio/AspectRatioShowcase.tsx +3 -3
- package/assets/templates/blocks/components/AspectRatio/AspectRatioSquareImage.tsx +1 -1
- package/assets/templates/blocks/components/AspectRatio/AspectRatioWidescreen.tsx +1 -1
- package/assets/templates/blocks/components/Avatar/AvatarFallbackChain.tsx +6 -6
- package/assets/templates/blocks/components/Avatar/AvatarGroup.tsx +5 -5
- package/assets/templates/blocks/components/Avatar/AvatarInteractive.tsx +2 -2
- package/assets/templates/blocks/components/Avatar/AvatarShowcase.tsx +4 -4
- package/assets/templates/blocks/components/Avatar/AvatarTooltip.tsx +4 -4
- package/assets/templates/blocks/components/Avatar/AvatarUserCard.tsx +3 -3
- package/assets/templates/blocks/components/Avatar/AvatarWithImage.tsx +4 -4
- package/assets/templates/blocks/components/Avatar/AvatarWithStatus.tsx +3 -3
- package/assets/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerAttachments.tsx +5 -5
- package/assets/templates/blocks/components/Lightbox/LightboxGallery.tsx +4 -4
- package/assets/templates/blocks/components/Lightbox/LightboxShowcase.tsx +1 -1
- package/assets/templates/blocks/components/Lightbox/LightboxVideo.tsx +1 -1
- package/assets/templates/blocks/components/Lightbox/LightboxZoom.tsx +2 -2
- package/assets/templates/blocks/components/MediaTheme/MediaThemeImageOverlay.tsx +1 -1
- package/assets/templates/blocks/components/MediaTheme/MediaThemeLightScrim.tsx +1 -1
- package/assets/templates/blocks/components/MediaTheme/MediaThemeShowcase.tsx +1 -1
- package/assets/templates/blocks/components/Overlay/OverlayBottomStrip.tsx +1 -1
- package/assets/templates/blocks/components/Overlay/OverlayHoverReveal.tsx +1 -1
- package/assets/templates/blocks/components/Overlay/OverlayShowcase.tsx +1 -1
- package/assets/templates/blocks/components/TopNav/TopNavMegaMenu.tsx +1 -1
- package/assets/templates/pages/centered-hero/page.tsx +1 -1
- package/assets/templates/pages/classic-gallery/page.tsx +10 -10
- package/assets/templates/pages/detail-page/page.tsx +5 -5
- package/assets/templates/pages/form-two-column/page.tsx +1 -1
- package/assets/templates/pages/gallery-hero/page.tsx +3 -3
- package/assets/templates/pages/library/page.tsx +30 -30
- package/assets/templates/pages/login/page.tsx +1 -2
- package/assets/templates/pages/login-card/page.tsx +1 -2
- package/assets/templates/pages/login-split/page.tsx +5 -6
- package/assets/templates/pages/login-sso/page.tsx +2 -3
- package/assets/templates/pages/mixed-gallery/page.tsx +5 -5
- package/assets/templates/pages/payment-form/page.tsx +3 -3
- package/assets/templates/pages/product-detail/page.tsx +7 -7
- package/assets/templates/pages/product-gallery/page.tsx +6 -6
- package/assets/templates/pages/shell-top-nav/page.tsx +2 -2
- package/assets/templates/pages/side-gallery/page.tsx +9 -9
- package/assets/templates/pages/table-page-chart/page.tsx +6 -6
- package/assets/templates/pages/theme-showcase/page.tsx +6 -6
- package/authoring/codemod/codemod.doc.mjs +2 -2
- package/authoring/config/config.doc.mjs +1 -1
- package/authoring/doctypes/base/type.ts +6 -0
- package/authoring/doctypes/command/command.doc.mjs +2 -2
- package/authoring/doctypes/component/component.doc.mjs +7 -7
- package/authoring/doctypes/enum/enum.doc.mjs +2 -2
- package/authoring/doctypes/function/function.doc.mjs +3 -3
- package/authoring/doctypes/hook/hook.doc.mjs +3 -3
- package/authoring/doctypes/reference/reference.doc.mjs +3 -3
- package/authoring/doctypes/schema/schema.doc.mjs +1 -1
- package/authoring/doctypes/template/template.doc.mjs +3 -3
- package/clients/cli/commands/build.doc.mjs +1 -1
- package/clients/cli/commands/component.doc.mjs +1 -1
- package/clients/cli/commands/doctor.doc.mjs +2 -2
- package/clients/cli/commands/layout-expand.doc.mjs +1 -1
- package/clients/cli/commands/layout.doc.mjs +1 -1
- package/clients/cli/commands/manifest.doc.mjs +3 -3
- package/clients/cli/commands/search.doc.mjs +1 -1
- package/clients/cli/commands/theme-add.doc.mjs +1 -1
- package/clients/cli/commands/theme-build.doc.mjs +1 -1
- package/clients/cli/commands/theme-list.doc.mjs +1 -1
- package/clients/cli/commands/theme.doc.mjs +2 -2
- package/clients/cli/commands/validate-integration.doc.mjs +2 -2
- package/foundation/agent-docs/agent-docs.mjs +3 -4
- package/foundation/agent-docs/agent-docs.test.mjs +8 -0
- package/foundation/discovery/template-adapter.mjs +8 -4
- package/foundation/response/response-types.doc.mjs +7 -7
- package/foundation/response/response.doc.mjs +5 -5
- package/package.json +9 -9
|
@@ -21,7 +21,7 @@ export const doc = {
|
|
|
21
21
|
{
|
|
22
22
|
value: 'component.list',
|
|
23
23
|
description:
|
|
24
|
-
'The component catalog grouped by category: `detail` (the level
|
|
24
|
+
'The component catalog grouped by category: `detail` (the level: names | compact | full) and `components`, the grouped map of names+package, brief entries, or a full ComponentDoc per entry.',
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
value: 'component.detail',
|
|
@@ -61,14 +61,14 @@ export const doc = {
|
|
|
61
61
|
{
|
|
62
62
|
value: 'docs.detail.section',
|
|
63
63
|
description:
|
|
64
|
-
'A single ReferenceSection of a topic
|
|
64
|
+
'A single ReferenceSection of a topic: the first whose title contains the section query.',
|
|
65
65
|
},
|
|
66
66
|
|
|
67
67
|
// blog (read from the published RSS feed)
|
|
68
68
|
{
|
|
69
69
|
value: 'blog.list',
|
|
70
70
|
description:
|
|
71
|
-
'The feed URL plus every post parsed from the RSS feed
|
|
71
|
+
'The feed URL plus every post parsed from the RSS feed, each with slug, title, description, date, type, authors, link, and plaintext URL.',
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
74
|
value: 'blog.detail',
|
|
@@ -89,7 +89,7 @@ export const doc = {
|
|
|
89
89
|
{
|
|
90
90
|
value: 'discover.detail.doc',
|
|
91
91
|
description:
|
|
92
|
-
'The validated ComponentDoc for one external component
|
|
92
|
+
'The validated ComponentDoc for one external component: an @scope/name/Component query, or a free-text term resolving to exactly one component.',
|
|
93
93
|
},
|
|
94
94
|
{
|
|
95
95
|
value: 'discover.search',
|
|
@@ -154,7 +154,7 @@ export const doc = {
|
|
|
154
154
|
{
|
|
155
155
|
value: 'hook.list',
|
|
156
156
|
description:
|
|
157
|
-
'The hook catalog grouped by category: `detail` (the level
|
|
157
|
+
'The hook catalog grouped by category: `detail` (the level: names | compact | full) and `components`, the grouped map of hook names, brief entries, or a full HookDoc per entry.',
|
|
158
158
|
},
|
|
159
159
|
{value: 'hook.detail', description: "One hook's full authored HookDoc."},
|
|
160
160
|
{
|
|
@@ -176,7 +176,7 @@ export const doc = {
|
|
|
176
176
|
{
|
|
177
177
|
value: 'theme.list',
|
|
178
178
|
description:
|
|
179
|
-
'Every bundled theme as a ThemeListEntry[]
|
|
179
|
+
'Every bundled theme as a ThemeListEntry[]: each with slug, displayName, description, and a maintained flag.',
|
|
180
180
|
},
|
|
181
181
|
{
|
|
182
182
|
value: 'theme.add',
|
|
@@ -193,7 +193,7 @@ export const doc = {
|
|
|
193
193
|
{
|
|
194
194
|
value: 'upgrade.status',
|
|
195
195
|
description:
|
|
196
|
-
'A short-circuit outcome with no codemods run
|
|
196
|
+
'A short-circuit outcome with no codemods run (up_to_date, no_codemods, or config_fixable), each carrying the agent-docs summary.',
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
199
|
value: 'upgrade.run',
|
|
@@ -47,7 +47,7 @@ export const doc = {
|
|
|
47
47
|
name: 'data',
|
|
48
48
|
type: 'unknown',
|
|
49
49
|
description:
|
|
50
|
-
"The command's payload. Structural by design
|
|
50
|
+
"The command's payload. Structural by design, narrowed by the " +
|
|
51
51
|
'per-command return type, not by a map in the serializer.',
|
|
52
52
|
required: true,
|
|
53
53
|
},
|
|
@@ -63,7 +63,7 @@ export const doc = {
|
|
|
63
63
|
name: 'Error envelope',
|
|
64
64
|
type: '{ apiVersion: number; error: string; code: ErrorCode; suggestions?: Suggestion[] }',
|
|
65
65
|
description:
|
|
66
|
-
'Emitted for every failure in --json mode
|
|
66
|
+
'Emitted for every failure in --json mode, including uncaught throws ' +
|
|
67
67
|
'and Commander parse errors, which are converted to this shape.',
|
|
68
68
|
fields: [
|
|
69
69
|
{
|
|
@@ -86,7 +86,7 @@ export const doc = {
|
|
|
86
86
|
name: 'code',
|
|
87
87
|
type: 'ErrorCode',
|
|
88
88
|
description:
|
|
89
|
-
'Stable, machine-readable identifier
|
|
89
|
+
'Stable, machine-readable identifier; always present, append-only, ' +
|
|
90
90
|
'and never changes meaning. Branch on this.',
|
|
91
91
|
required: true,
|
|
92
92
|
example: "'ERR_UNKNOWN_COMPONENT'",
|
|
@@ -95,7 +95,7 @@ export const doc = {
|
|
|
95
95
|
name: 'suggestions',
|
|
96
96
|
type: 'Suggestion[]',
|
|
97
97
|
description:
|
|
98
|
-
'Optional "did you mean
|
|
98
|
+
'Optional "did you mean..." hints, present only when candidates exist.',
|
|
99
99
|
fields: [
|
|
100
100
|
{
|
|
101
101
|
name: 'suggestions[].name',
|
|
@@ -146,7 +146,7 @@ export const doc = {
|
|
|
146
146
|
{
|
|
147
147
|
type: 'prose',
|
|
148
148
|
text:
|
|
149
|
-
'`code` is the stable contract
|
|
149
|
+
'`code` is the stable contract; see the error-codes enum (ErrorCode) ' +
|
|
150
150
|
'for the full append-only list. Branch on `code`, never on the `error` ' +
|
|
151
151
|
'prose, which can be reworded or localized at any time.',
|
|
152
152
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/cli",
|
|
3
|
-
"version": "0.3.0-canary.
|
|
3
|
+
"version": "0.3.0-canary.dccdabe",
|
|
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",
|
|
@@ -84,10 +84,10 @@
|
|
|
84
84
|
"zod": "^4.4.3"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
|
-
"@astryxdesign/charts": "0.3.0-canary.
|
|
88
|
-
"@astryxdesign/core": "0.3.0-canary.
|
|
89
|
-
"@astryxdesign/lab": "0.3.0-canary.
|
|
90
|
-
"@astryxdesign/theme-neutral": "0.3.0-canary.
|
|
87
|
+
"@astryxdesign/charts": "0.3.0-canary.dccdabe",
|
|
88
|
+
"@astryxdesign/core": "0.3.0-canary.dccdabe",
|
|
89
|
+
"@astryxdesign/lab": "0.3.0-canary.dccdabe",
|
|
90
|
+
"@astryxdesign/theme-neutral": "0.3.0-canary.dccdabe",
|
|
91
91
|
"gpt-tokenizer": "^3.4.0"
|
|
92
92
|
},
|
|
93
93
|
"peerDependenciesMeta": {
|
|
@@ -105,10 +105,10 @@
|
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
"devDependencies": {
|
|
108
|
-
"@astryxdesign/charts": "0.3.0-canary.
|
|
109
|
-
"@astryxdesign/core": "0.3.0-canary.
|
|
110
|
-
"@astryxdesign/lab": "0.3.0-canary.
|
|
111
|
-
"@astryxdesign/theme-neutral": "0.3.0-canary.
|
|
108
|
+
"@astryxdesign/charts": "0.3.0-canary.dccdabe",
|
|
109
|
+
"@astryxdesign/core": "0.3.0-canary.dccdabe",
|
|
110
|
+
"@astryxdesign/lab": "0.3.0-canary.dccdabe",
|
|
111
|
+
"@astryxdesign/theme-neutral": "0.3.0-canary.dccdabe",
|
|
112
112
|
"gpt-tokenizer": "^3.4.0"
|
|
113
113
|
},
|
|
114
114
|
"scripts": {
|