@astryxdesign/cli 0.1.2-canary.b712653 → 0.1.2-canary.f45f465
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/docs/theme.doc.mjs +2 -2
- package/package.json +7 -7
- package/templates/blocks/components/LinkProvider/LinkProviderCustomLink.doc.mjs +1 -1
- package/templates/blocks/components/Table/StickyColumnsHookUsage.doc.mjs +1 -1
- package/templates/pages/shell-side-nav/template.doc.mjs +1 -1
- package/templates/pages/shell-top-nav/template.doc.mjs +1 -1
package/docs/theme.doc.mjs
CHANGED
|
@@ -53,7 +53,7 @@ function App() {
|
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
type: 'prose',
|
|
56
|
-
text: 'Each theme ships as its own npm package. Install the one you want, then wrap your app in `<Theme
|
|
56
|
+
text: 'Each theme ships as its own npm package. Install the one you want, then wrap your app in `<Theme>`. The same pattern works for every theme; just swap the package and import name.',
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
59
|
type: 'prose',
|
|
@@ -261,7 +261,7 @@ const brandTheme = defineTheme({
|
|
|
261
261
|
content: [
|
|
262
262
|
{
|
|
263
263
|
type: 'prose',
|
|
264
|
-
text: 'The `components` field in defineTheme uses semantic component keys and style keys
|
|
264
|
+
text: 'The `components` field in defineTheme uses semantic component keys and style keys, not raw CSS selectors. Use `base` for all instances, `variant:value` or `stateName` for specific props/states, and let the theme pipeline choose the underlying selector. For raw external CSS escape hatches, prefer the data-attribute selector surface documented in `astryx docs styling`.',
|
|
265
265
|
},
|
|
266
266
|
{
|
|
267
267
|
type: 'code',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/cli",
|
|
3
|
-
"version": "0.1.2-canary.
|
|
3
|
+
"version": "0.1.2-canary.f45f465",
|
|
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",
|
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
"zod": "^4.4.3"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
|
-
"@astryxdesign/core": "0.1.2-canary.
|
|
67
|
-
"@astryxdesign/lab": "0.1.2-canary.
|
|
68
|
-
"@astryxdesign/theme-neutral": "0.1.2-canary.
|
|
66
|
+
"@astryxdesign/core": "0.1.2-canary.f45f465",
|
|
67
|
+
"@astryxdesign/lab": "0.1.2-canary.f45f465",
|
|
68
|
+
"@astryxdesign/theme-neutral": "0.1.2-canary.f45f465",
|
|
69
69
|
"gpt-tokenizer": "^2.0.0"
|
|
70
70
|
},
|
|
71
71
|
"peerDependenciesMeta": {
|
|
@@ -80,9 +80,9 @@
|
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
|
-
"@astryxdesign/core": "0.1.2-canary.
|
|
84
|
-
"@astryxdesign/lab": "0.1.2-canary.
|
|
85
|
-
"@astryxdesign/theme-neutral": "0.1.2-canary.
|
|
83
|
+
"@astryxdesign/core": "0.1.2-canary.f45f465",
|
|
84
|
+
"@astryxdesign/lab": "0.1.2-canary.f45f465",
|
|
85
|
+
"@astryxdesign/theme-neutral": "0.1.2-canary.f45f465",
|
|
86
86
|
"gpt-tokenizer": "^2.0.0"
|
|
87
87
|
},
|
|
88
88
|
"scripts": {
|
|
@@ -7,7 +7,7 @@ export const doc = {
|
|
|
7
7
|
name: 'Link Provider — Custom Link Component',
|
|
8
8
|
displayName: 'Link Provider — Custom Link Component',
|
|
9
9
|
description:
|
|
10
|
-
'Routes every Astryx link through a custom component that intercepts the click
|
|
10
|
+
'Routes every Astryx link through a custom component that intercepts the click, the hook frameworks like Next.js use for client-side navigation. Click the link to see the custom handler fire instead of a full-page load.',
|
|
11
11
|
isReady: true,
|
|
12
12
|
aspectRatio: 4 / 3,
|
|
13
13
|
componentsUsed: ['LinkProvider', 'Link'],
|
|
@@ -7,7 +7,7 @@ export const doc = {
|
|
|
7
7
|
name: 'useTableStickyColumns — Pinned Columns',
|
|
8
8
|
displayName: 'useTableStickyColumns — Pinned Columns',
|
|
9
9
|
description:
|
|
10
|
-
'A Table using useTableStickyColumns to pin the Name column to the start edge and Status to the end edge. Scroll horizontally
|
|
10
|
+
'A Table using useTableStickyColumns to pin the Name column to the start edge and Status to the end edge. Scroll horizontally; pinned columns stay in view with a soft shadow over the scrolling content.',
|
|
11
11
|
isReady: true,
|
|
12
12
|
aspectRatio: 16 / 9,
|
|
13
13
|
componentsUsed: ['Table'],
|
|
@@ -6,7 +6,7 @@ export const doc = {
|
|
|
6
6
|
name: 'Side Nav',
|
|
7
7
|
displayName: 'Side Nav',
|
|
8
8
|
description:
|
|
9
|
-
'A side-nav app shell with a collapsible, resizable SideNav
|
|
9
|
+
'A side-nav app shell with a collapsible, resizable SideNav (new chat, search, library, and workspace-grouped conversations with status dots) over static grey-card conversation and composer placeholders.',
|
|
10
10
|
isReady: true,
|
|
11
11
|
category: 'Shell - Left Sidebar',
|
|
12
12
|
};
|
|
@@ -6,7 +6,7 @@ export const doc = {
|
|
|
6
6
|
name: 'Top Nav',
|
|
7
7
|
displayName: 'Top Nav',
|
|
8
8
|
description:
|
|
9
|
-
'A top-nav app shell with a centered TopNav
|
|
9
|
+
'A top-nav app shell with a centered TopNav (Shop and Brands mega menus with a 2x4 item grid plus a featured card each, Sale/Service links, and a Checkout button) over static grey-card hero and category sections.',
|
|
10
10
|
isReady: true,
|
|
11
11
|
category: 'Shell - Top Nav',
|
|
12
12
|
};
|