@astryxdesign/cli 0.6.2-canary.a4bcbeb → 0.6.2-canary.a7f992d
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 +1 -1
- package/assets/templates/blocks/components/Kbd/KbdModifierCombos.tsx +3 -1
- package/assets/templates/pages/canvas-editor/page.tsx +2875 -0
- package/assets/templates/pages/canvas-editor/template.doc.mjs +12 -0
- package/authoring/doctypes/template/type.ts +1 -0
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -524,7 +524,7 @@ Thanks to everyone who contributed to this release:
|
|
|
524
524
|
|
|
525
525
|
- Bottom Sheet showcase block: the filter checkboxes are interactive again (#5157).
|
|
526
526
|
`CheckboxInput` is fully controlled — `value` is required and the input only moves when the owner updates it. The showcase passed a literal `value={false}` with no `onChange`, so the three filters ("In stock", "On sale", "Free shipping") rendered but could never be toggled: on the docs site the first thing a reader tries in a Bottom Sheet does nothing, and anyone copying the block inherits three dead controls. Each filter now has its own `useState` and `onChange`, matching the checkbox wiring already used in the Bottom Sheet Switcher showcase.
|
|
527
|
-
- An integration whose manifest fails to load is no longer silent. A manifest that throws on import — the common case being one still calling a `create*` authoring factory, removed in 0.3.0 — contributes nothing, and the CLI treated that as if the package had never been configured: `astryx discover` answered `No integrations configured.` while `astryx.config.mjs` plainly configured one, and no command said a word. The only way to find out was to already suspect it and run `validate-integration` by name.
|
|
527
|
+
- An integration whose manifest fails to load is no longer silent. A manifest that throws on import — the common case being one still calling a `create*` authoring factory, removed in 0.3.0 — contributes nothing, and the CLI treated that as if the package had never been configured: `astryx discover` answered `No integrations configured.` while `astryx.config.mjs` plainly configured one, and no command said a word. The only way to find out was to already suspect it and run `validate-integration` by name. A configured integration could remain invisible to CLI discovery, leading an app team to conclude that its components did not exist (#5119).
|
|
528
528
|
The load error now counts as an integration issue, so the existing one-line stderr nudge fires on `component`, `template` and `upgrade`, and `discover` — the command whose whole job is listing integrations — nudges too, as does `search`. `discover` also stops reporting `configured: false` for a project that configured an integration that failed to load; the empty state now distinguishes "you configured nothing" from "what you configured contributed nothing", which is the distinction `meta.configured` was introduced to carry.
|
|
529
529
|
|
|
530
530
|
Nothing becomes fatal: the warning is best-effort, stderr-only, suppressed under `--json`, and never changes an exit code. Broken contributions are still skipped exactly as before.
|
|
@@ -21,9 +21,11 @@ export default function KbdModifierCombos() {
|
|
|
21
21
|
<Kbd keys="mod+shift+p" />
|
|
22
22
|
</HStack>
|
|
23
23
|
<HStack gap={4}>
|
|
24
|
-
<Text type="body">Special keys:</Text>
|
|
24
|
+
<Text type="body">Special keys and aliases:</Text>
|
|
25
25
|
<Kbd keys="escape" />
|
|
26
|
+
<Kbd keys="esc" />
|
|
26
27
|
<Kbd keys="enter" />
|
|
28
|
+
<Kbd keys="return" />
|
|
27
29
|
<Kbd keys="backspace" />
|
|
28
30
|
<Kbd keys="tab" />
|
|
29
31
|
<Kbd keys="space" />
|