@astryxdesign/cli 0.7.17-canary.gffd1fc0 → 0.7.17
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 +1877 -0
- package/README.md +90 -84
- package/api/build/_adapter.d.mts +51 -0
- package/api/build/_adapter.mjs +133 -7
- package/api/build/build.doc.mjs +3 -3
- package/api/build/build.mjs +23 -14
- package/api/build/build.type.d.mts +1 -1
- package/api/build/build.type.mjs +2 -2
- package/api/build/help/help.d.mts +15 -14
- package/api/build/help/help.mjs +65 -6
- package/api/build/kit/kit.mjs +1 -1
- package/api/build/kit/start.mjs +1 -1
- package/api/component/_adapter.d.mts +28 -4
- package/api/component/_adapter.mjs +79 -45
- package/api/component/component.d.mts +1 -1
- package/api/component/component.mjs +18 -7
- package/api/component/detail/showcase/showcase.mjs +19 -8
- package/api/discover/_adapter.d.mts +71 -8
- package/api/discover/_adapter.mjs +320 -69
- package/api/discover/_catalog-view.d.mts +22 -0
- package/api/discover/_catalog-view.mjs +30 -1
- package/api/discover/_icon-set-coverage.d.mts +22 -0
- package/api/discover/_icon-set-coverage.mjs +32 -0
- package/api/discover/detail/detail.d.mts +6 -3
- package/api/discover/detail/detail.mjs +14 -6
- package/api/discover/detail/doc/doc.mjs +1 -1
- package/api/discover/detail/item/item.d.mts +11 -1
- package/api/discover/detail/item/item.mjs +29 -8
- package/api/discover/discover.d.mts +36 -0
- package/api/discover/discover.doc.mjs +1 -1
- package/api/discover/discover.mjs +206 -29
- package/api/discover/discover.type.d.mts +33 -7
- package/api/discover/discover.type.mjs +21 -7
- package/api/discover/search/search.d.mts +22 -0
- package/api/discover/search/search.mjs +293 -70
- package/api/docs/_adapter.d.mts +92 -1
- package/api/docs/_adapter.mjs +264 -14
- package/api/docs/_entry-names.mjs +4 -3
- package/api/docs/docs.d.mts +4 -2
- package/api/docs/docs.doc.mjs +10 -0
- package/api/docs/docs.mjs +25 -5
- package/api/docs/docs.type.d.mts +48 -0
- package/api/docs/docs.type.mjs +26 -0
- package/api/docs/skills/skills.d.mts +51 -0
- package/api/docs/skills/skills.mjs +216 -0
- package/api/doctor/_adapter.d.mts +256 -10
- package/api/doctor/_adapter.mjs +1233 -51
- package/api/doctor/built-checks.d.mts +39 -3
- package/api/doctor/built-checks.mjs +203 -7
- package/api/doctor/doctor.d.mts +222 -10
- package/api/doctor/doctor.doc.mjs +4 -4
- package/api/doctor/doctor.mjs +1005 -43
- package/api/doctor/doctor.type.d.mts +6 -1
- package/api/doctor/doctor.type.mjs +3 -1
- package/api/doctor/theme-checks.d.mts +20 -1
- package/api/doctor/theme-checks.mjs +307 -7
- package/api/error.d.mts +12 -1
- package/api/error.mjs +18 -6
- package/api/icon/_adapter.d.mts +13 -2
- package/api/icon/_adapter.mjs +32 -16
- package/api/icon/_authoring.mjs +21 -7
- package/api/icon/_records.d.mts +3 -1
- package/api/icon/_records.mjs +30 -3
- package/api/icon/add/add.mjs +1 -1
- package/api/icon/definitions/definitions.mjs +19 -8
- package/api/icon/exportIconIndex.doc.mjs +1 -1
- package/api/icon/icon.doc.mjs +4 -4
- package/api/icon/icon.type.d.mts +80 -2
- package/api/icon/icon.type.mjs +40 -5
- package/api/icon/iconMap.doc.mjs +2 -2
- package/api/icon/list/list.mjs +7 -5
- package/api/icon/map/map.mjs +13 -4
- package/api/icon/rankIconIndex.doc.mjs +1 -1
- package/api/icon/search/icon-index.mjs +22 -9
- package/api/icon/search/search.d.mts +47 -3
- package/api/icon/search/search.mjs +306 -9
- package/api/init/_adapter.d.mts +97 -0
- package/api/init/_adapter.mjs +284 -15
- package/api/init/init.d.mts +3 -3
- package/api/init/init.doc.mjs +30 -6
- package/api/init/init.mjs +150 -11
- package/api/init/init.type.d.mts +102 -8
- package/api/init/init.type.mjs +44 -3
- package/api/init/remove/remove.d.mts +7 -4
- package/api/init/remove/remove.mjs +124 -26
- package/api/init/run/run.d.mts +48 -3
- package/api/init/run/run.mjs +444 -37
- package/api/integration/_adapter.d.mts +21 -4
- package/api/integration/_adapter.mjs +52 -6
- package/api/integration/integrationCheck.doc.mjs +1 -1
- package/api/integration/pack-check.d.mts +2 -1
- package/api/integration/pack-check.mjs +10 -18
- package/api/integration/validate-integration.d.mts +6 -3
- package/api/integration/validate-integration.mjs +86 -15
- package/api/integration/validate-integration.type.d.mts +12 -5
- package/api/integration/validate-integration.type.mjs +12 -5
- package/api/integration/validateIntegration.doc.mjs +4 -2
- package/api/render/_adapter.d.mts +6 -2
- package/api/render/_adapter.mjs +301 -51
- package/api/render/render.doc.d.mts +1 -1
- package/api/render/render.doc.mjs +20 -10
- package/api/render/render.mjs +16 -13
- package/api/render/render.type.d.mts +57 -10
- package/api/render/render.type.mjs +26 -13
- package/api/search/ORDERING.md +3 -3
- package/api/search/_adapter.d.mts +31 -0
- package/api/search/_adapter.mjs +107 -15
- package/api/search/_candidate-score.d.mts +12 -4
- package/api/search/_candidate-score.mjs +94 -16
- package/api/search/_cards.json +4 -1
- package/api/search/_entries.d.mts +8 -3
- package/api/search/_entries.mjs +109 -12
- package/api/search/_fit-order.d.mts +8 -4
- package/api/search/_fit-order.mjs +35 -7
- package/api/search/_gather-docs.mjs +85 -15
- package/api/search/_gather-templates.mjs +6 -0
- package/api/search/_icons.d.mts +50 -0
- package/api/search/_icons.mjs +85 -0
- package/api/search/_lexical.d.mts +14 -1
- package/api/search/_lexical.mjs +240 -12
- package/api/search/_main-searcher.mjs +13 -0
- package/api/search/_named-keywords.d.mts +6 -3
- package/api/search/_named-keywords.mjs +70 -19
- package/api/search/_order.d.mts +34 -1
- package/api/search/_order.mjs +156 -13
- package/api/search/_result.d.mts +30 -0
- package/api/search/_result.mjs +38 -0
- package/api/search/_score.d.mts +20 -6
- package/api/search/_score.mjs +96 -16
- package/api/search/_titles.d.mts +14 -0
- package/api/search/_titles.mjs +16 -3
- package/api/search/_words.d.mts +8 -0
- package/api/search/_words.mjs +26 -1
- package/api/search/search-index.mjs +23 -12
- package/api/search/search.d.mts +3 -1
- package/api/search/search.doc.mjs +5 -4
- package/api/search/search.mjs +69 -26
- package/api/search/search.type.d.mts +55 -1
- package/api/search/search.type.mjs +35 -1
- package/api/swizzle/_adapter.d.mts +1 -1
- package/api/swizzle/_adapter.mjs +1 -5
- package/api/swizzle/_moduleGraph.d.mts +0 -6
- package/api/swizzle/_moduleGraph.mjs +0 -12
- package/api/swizzle/copy/copy.mjs +1 -1
- package/api/template/_adapter.d.mts +46 -0
- package/api/template/_adapter.mjs +198 -2
- package/api/template/cdn/cdn.mjs +5 -3
- package/api/template/copy/copy.d.mts +12 -2
- package/api/template/copy/copy.mjs +95 -21
- package/api/template/show/show.d.mts +10 -3
- package/api/template/show/show.mjs +16 -4
- package/api/template/template.doc.mjs +3 -3
- package/api/template/template.mjs +55 -7
- package/api/template/template.type.d.mts +3 -0
- package/api/template/template.type.mjs +5 -2
- package/api/theme/_adapter.d.mts +28 -2
- package/api/theme/_adapter.mjs +675 -17
- package/api/theme/_app-provider.d.mts +42 -0
- package/api/theme/_app-provider.mjs +61 -27
- package/api/theme/_shared-source.d.mts +33 -0
- package/api/theme/_shared-source.mjs +348 -0
- package/api/theme/add/add.d.mts +3 -0
- package/api/theme/add/add.mjs +21 -4
- package/api/theme/build/build.d.mts +61 -30
- package/api/theme/build/build.mjs +552 -489
- package/api/theme/build/core-interception.d.mts +10 -0
- package/api/theme/build/core-interception.mjs +24 -0
- package/api/theme/build/family.mjs +4 -2
- package/api/theme/build/import-specifier.d.mts +14 -0
- package/api/theme/build/import-specifier.mjs +36 -0
- package/api/theme/build/input-fields.d.mts +9 -0
- package/api/theme/build/input-fields.mjs +155 -16
- package/api/theme/build/null-values.d.mts +22 -0
- package/api/theme/build/null-values.mjs +110 -21
- package/api/theme/build/radius-values.d.mts +18 -0
- package/api/theme/build/radius-values.mjs +76 -0
- package/api/theme/build/self-contained.mjs +32 -11
- package/api/theme/build/setting-effects.d.mts +254 -0
- package/api/theme/build/setting-effects.mjs +1065 -0
- package/api/theme/build/style-keys.d.mts +33 -0
- package/api/theme/build/style-keys.mjs +154 -0
- package/api/theme/build/theme-object.d.mts +47 -0
- package/api/theme/build/theme-object.mjs +144 -0
- package/api/theme/build/typography-values.mjs +7 -23
- package/api/theme/build/written-values.d.mts +18 -0
- package/api/theme/build/written-values.mjs +107 -31
- package/api/theme/eject/eject.mjs +6 -1
- package/api/theme/palette/generate/color.d.mts +41 -9
- package/api/theme/palette/generate/color.mjs +108 -39
- package/api/theme/palette/generate/generate.mjs +10 -0
- package/api/theme/palette/generate/generator.d.mts +45 -27
- package/api/theme/palette/generate/generator.mjs +347 -149
- package/api/theme/palette/generate/mapping.d.mts +456 -0
- package/api/theme/palette/generate/mapping.mjs +1903 -0
- package/api/theme/palette/generate/newer-recipe.d.mts +28 -0
- package/api/theme/palette/generate/newer-recipe.mjs +87 -0
- package/api/theme/palette/generate/types.d.mts +270 -0
- package/api/theme/palette/generate/types.mjs +123 -0
- package/api/theme/theme.d.mts +25 -4
- package/api/theme/theme.mjs +55 -5
- package/api/theme/theme.type.d.mts +71 -2
- package/api/theme/theme.type.mjs +37 -5
- package/api/theme/themeAdd.doc.mjs +3 -2
- package/api/theme/themeBuild.doc.mjs +4 -4
- package/api/theme/themeEject.doc.mjs +1 -1
- package/api/theme/themeRemove.doc.mjs +1 -1
- package/api/theme/themeTargets.doc.mjs +1 -1
- package/api/theme-edit/_catalog.d.mts +40 -0
- package/api/theme-edit/_catalog.mjs +101 -23
- package/api/theme-edit/_check.mjs +333 -79
- package/api/theme-edit/_color.d.mts +2 -60
- package/api/theme-edit/_color.mjs +33 -847
- package/api/theme-edit/_compiler.mjs +52 -0
- package/api/theme-edit/_context.d.mts +23 -3
- package/api/theme-edit/_context.mjs +173 -32
- package/api/theme-edit/_css.d.mts +4 -35
- package/api/theme-edit/_css.mjs +10 -91
- package/api/theme-edit/_edit.mjs +667 -87
- package/api/theme-edit/_how-question.d.mts +15 -0
- package/api/theme-edit/_how-question.mjs +2729 -179
- package/api/theme-edit/_how.mjs +62 -3
- package/api/theme-edit/_missed.d.mts +2 -1
- package/api/theme-edit/_missed.mjs +128 -29
- package/api/theme-edit/_normal.d.mts +22 -5
- package/api/theme-edit/_normal.mjs +95 -4
- package/api/theme-edit/_palette.d.mts +34 -74
- package/api/theme-edit/_palette.mjs +261 -1278
- package/api/theme-edit/_part-words.mjs +29 -6
- package/api/theme-edit/_parts.d.mts +16 -2
- package/api/theme-edit/_parts.mjs +161 -41
- package/api/theme-edit/_png.d.mts +24 -0
- package/api/theme-edit/_png.mjs +99 -0
- package/api/theme-edit/_preview-app.d.mts +16 -0
- package/api/theme-edit/_preview-app.mjs +52 -18
- package/api/theme-edit/_preview.d.mts +44 -26
- package/api/theme-edit/_preview.mjs +304 -89
- package/api/theme-edit/_project.d.mts +18 -2
- package/api/theme-edit/_project.mjs +27 -3
- package/api/theme-edit/_settings.d.mts +118 -1
- package/api/theme-edit/_settings.mjs +1336 -76
- package/api/theme-edit/_tables.d.mts +19 -11
- package/api/theme-edit/_tables.mjs +55 -37
- package/api/theme-edit/theme-edit.type.d.mts +20 -2
- package/api/theme-edit/theme-edit.type.mjs +9 -6
- package/api/upgrade/_adapter.d.mts +43 -4
- package/api/upgrade/_adapter.mjs +281 -8
- package/api/upgrade/run/run.mjs +4 -0
- package/api/upgrade/upgrade.mjs +1 -1
- package/api/upgrade/upgrade.type.d.mts +46 -7
- package/api/upgrade/upgrade.type.mjs +24 -9
- package/assets/codemods/registry.mjs +1 -0
- package/assets/codemods/transforms/next/index.mjs +1 -11
- package/assets/codemods/transforms/v0.7.17/index.mjs +28 -0
- package/assets/codemods/transforms/v0.7.17/migrate-item-swipe-actions-to-swipe.mjs +2160 -0
- package/assets/codemods/transforms/v0.7.17/preserve-chat-radius.mjs +515 -0
- package/assets/component-list.generated.json +1 -1
- package/assets/discover/official-packages.json +72 -0
- package/assets/docs/author-a-theme.doc.mjs +7 -4
- package/assets/docs/getting-started.doc.mjs +1 -1
- package/assets/docs/principles.doc.dense.mjs +1 -1
- package/assets/docs/principles.doc.mjs +1 -1
- package/assets/docs/principles.doc.zh.mjs +1 -1
- package/assets/docs/styling-overview.doc.mjs +5 -1
- package/assets/docs/tree/agent-guidance.doc.mjs +34 -3
- package/assets/docs/tree/check-the-props.doc.mjs +1 -1
- package/assets/docs/tree/checks.doc.mjs +2 -2
- package/assets/docs/tree/computer-integrations.doc.mjs +1 -1
- package/assets/docs/tree/doc-syntax.doc.mjs +1 -1
- package/assets/docs/tree/export-pages.doc.mjs +164 -0
- package/assets/docs/tree/fonts-and-assets.doc.mjs +1 -1
- package/assets/docs/tree/host-entry.doc.mjs +4 -0
- package/assets/docs/tree/i18n-library-integration.doc.mjs +7 -3
- package/assets/docs/tree/icon-definitions.doc.mjs +3 -3
- package/assets/docs/tree/icon-sets.doc.mjs +87 -11
- package/assets/docs/tree/layout.doc.mjs +16 -5
- package/assets/docs/tree/problems.doc.mjs +2 -2
- package/assets/docs/tree/responsive.doc.mjs +2 -2
- package/assets/docs/tree/scaffold.doc.mjs +1 -0
- package/assets/docs/tree/share-a-page.doc.mjs +14 -16
- package/assets/docs/tree/short-and-findable.doc.mjs +3 -3
- package/assets/docs/tree/skill-places.doc.mjs +91 -0
- package/assets/docs/tree/styling.doc.mjs +41 -3
- package/assets/docs/tree/template-grading-rubric.doc.mjs +1 -1
- package/assets/docs/tree/test-in-an-app.doc.mjs +1 -1
- package/assets/docs/tree/tokens-and-setup.doc.mjs +2 -4
- package/assets/docs/tree/tokens-color.doc.mjs +2 -2
- package/assets/docs/tree/tokens-radius.doc.mjs +1 -1
- package/assets/docs/tree/tokens.doc.mjs +32 -0
- package/assets/docs/tree/troubleshooting.doc.mjs +8 -0
- package/assets/docs/tree/typography.doc.mjs +31 -2
- package/assets/docs/tree/updates.doc.mjs +1 -1
- package/assets/docs/tree/versioning.doc.mjs +1 -1
- package/assets/docs/use-a-theme.doc.mjs +4 -0
- package/assets/docs/working-with-ai.doc.mjs +44 -9
- package/assets/docs-routes.generated.json +1 -1
- package/assets/docs.generated.json +2 -2
- package/assets/icons/definitions/alert.doc.mjs +9 -0
- package/assets/icons/definitions/alignBottom.doc.mjs +1 -0
- package/assets/icons/definitions/alignCenter.doc.mjs +1 -0
- package/assets/icons/definitions/alignEnd.doc.mjs +1 -0
- package/assets/icons/definitions/alignJustify.doc.mjs +1 -0
- package/assets/icons/definitions/alignMiddle.doc.mjs +1 -0
- package/assets/icons/definitions/alignStart.doc.mjs +1 -0
- package/assets/icons/definitions/alignTop.doc.mjs +1 -0
- package/assets/icons/definitions/arrowDown.doc.mjs +1 -0
- package/assets/icons/definitions/arrowLeft.doc.mjs +1 -0
- package/assets/icons/definitions/arrowRight.doc.mjs +1 -0
- package/assets/icons/definitions/arrowUp.doc.mjs +1 -0
- package/assets/icons/definitions/arrowsUpDown.doc.mjs +1 -0
- package/assets/icons/definitions/bank.doc.mjs +1 -0
- package/assets/icons/definitions/block.doc.mjs +9 -0
- package/assets/icons/definitions/bold.doc.mjs +1 -0
- package/assets/icons/definitions/bookmark.doc.mjs +1 -0
- package/assets/icons/definitions/bookmarkAdd.doc.mjs +1 -0
- package/assets/icons/definitions/cart.doc.mjs +1 -0
- package/assets/icons/definitions/channel.doc.mjs +9 -0
- package/assets/icons/definitions/check.doc.mjs +1 -0
- package/assets/icons/definitions/checkDouble.doc.mjs +1 -0
- package/assets/icons/definitions/checklist.doc.mjs +9 -0
- package/assets/icons/definitions/chevronDown.doc.mjs +1 -0
- package/assets/icons/definitions/chevronLeft.doc.mjs +1 -0
- package/assets/icons/definitions/chevronRight.doc.mjs +1 -0
- package/assets/icons/definitions/chevronUp.doc.mjs +1 -0
- package/assets/icons/definitions/chevronsLeft.doc.mjs +1 -0
- package/assets/icons/definitions/chevronsRight.doc.mjs +1 -0
- package/assets/icons/definitions/clipboard.doc.mjs +1 -0
- package/assets/icons/definitions/cloud.doc.mjs +1 -1
- package/assets/icons/definitions/collapse.doc.mjs +1 -0
- package/assets/icons/definitions/columnSettings.doc.mjs +9 -0
- package/assets/icons/definitions/compose.doc.mjs +1 -0
- package/assets/icons/definitions/conversation.doc.mjs +1 -0
- package/assets/icons/definitions/copy.doc.mjs +1 -0
- package/assets/icons/definitions/copyText.doc.mjs +9 -0
- package/assets/icons/definitions/cornerRadius.doc.mjs +1 -0
- package/assets/icons/definitions/create.doc.mjs +9 -0
- package/assets/icons/definitions/creditCard.doc.mjs +1 -0
- package/assets/icons/definitions/currency.doc.mjs +9 -0
- package/assets/icons/definitions/cut.doc.mjs +1 -0
- package/assets/icons/definitions/desktop.doc.mjs +1 -0
- package/assets/icons/definitions/discount.doc.mjs +1 -0
- package/assets/icons/definitions/document.doc.mjs +1 -0
- package/assets/icons/definitions/documentSearch.doc.mjs +1 -0
- package/assets/icons/definitions/download.doc.mjs +1 -0
- package/assets/icons/definitions/error.doc.mjs +1 -0
- package/assets/icons/definitions/exitFullScreen.doc.mjs +16 -0
- package/assets/icons/definitions/expand.doc.mjs +1 -0
- package/assets/icons/definitions/eye.doc.mjs +1 -0
- package/assets/icons/definitions/eyeSlash.doc.mjs +1 -0
- package/assets/icons/definitions/file.doc.mjs +1 -0
- package/assets/icons/definitions/flipHorizontal.doc.mjs +1 -0
- package/assets/icons/definitions/flipVertical.doc.mjs +1 -0
- package/assets/icons/definitions/folder.doc.mjs +1 -0
- package/assets/icons/definitions/folderAdd.doc.mjs +1 -0
- package/assets/icons/definitions/fullScreen.doc.mjs +16 -0
- package/assets/icons/definitions/globe.doc.mjs +1 -1
- package/assets/icons/definitions/groupRows.doc.mjs +9 -0
- package/assets/icons/definitions/halftone.doc.mjs +9 -0
- package/assets/icons/definitions/help.doc.mjs +9 -0
- package/assets/icons/definitions/house.doc.mjs +9 -0
- package/assets/icons/definitions/info.doc.mjs +1 -0
- package/assets/icons/definitions/italic.doc.mjs +1 -0
- package/assets/icons/definitions/listView.doc.mjs +9 -0
- package/assets/icons/definitions/lock.doc.mjs +1 -0
- package/assets/icons/definitions/lowercase.doc.mjs +1 -0
- package/assets/icons/definitions/mail.doc.mjs +1 -1
- package/assets/icons/definitions/media.doc.mjs +9 -0
- package/assets/icons/definitions/message.doc.mjs +2 -1
- package/assets/icons/definitions/mobile.doc.mjs +1 -0
- package/assets/icons/definitions/money.doc.mjs +1 -0
- package/assets/icons/definitions/moon.doc.mjs +1 -0
- package/assets/icons/definitions/moveToFolder.doc.mjs +9 -0
- package/assets/icons/definitions/notification.doc.mjs +1 -0
- package/assets/icons/definitions/notificationActive.doc.mjs +1 -0
- package/assets/icons/definitions/notificationOff.doc.mjs +1 -0
- package/assets/icons/definitions/paddingHorizontal.doc.mjs +1 -0
- package/assets/icons/definitions/paddingPerSide.doc.mjs +1 -0
- package/assets/icons/definitions/paddingVertical.doc.mjs +1 -0
- package/assets/icons/definitions/panelBottom.doc.mjs +1 -0
- package/assets/icons/definitions/panelLeft.doc.mjs +1 -0
- package/assets/icons/definitions/panelRight.doc.mjs +1 -0
- package/assets/icons/definitions/paste.doc.mjs +9 -0
- package/assets/icons/definitions/pause.doc.mjs +1 -0
- package/assets/icons/definitions/play.doc.mjs +1 -0
- package/assets/icons/definitions/radiusPerCorner.doc.mjs +1 -0
- package/assets/icons/definitions/redo.doc.mjs +1 -0
- package/assets/icons/definitions/review.doc.mjs +9 -0
- package/assets/icons/definitions/rotate.doc.mjs +1 -0
- package/assets/icons/definitions/rotateCounterclockwise.doc.mjs +1 -0
- package/assets/icons/definitions/scale.doc.mjs +1 -2
- package/assets/icons/definitions/schedule.doc.mjs +9 -0
- package/assets/icons/definitions/search.doc.mjs +1 -0
- package/assets/icons/definitions/send.doc.mjs +1 -0
- package/assets/icons/definitions/shoppingBag.doc.mjs +1 -0
- package/assets/icons/definitions/signal.doc.mjs +9 -0
- package/assets/icons/definitions/stop.doc.mjs +1 -0
- package/assets/icons/definitions/strikethrough.doc.mjs +1 -0
- package/assets/icons/definitions/success.doc.mjs +1 -0
- package/assets/icons/definitions/sun.doc.mjs +1 -0
- package/assets/icons/definitions/tablet.doc.mjs +1 -0
- package/assets/icons/definitions/team.doc.mjs +9 -0
- package/assets/icons/definitions/textCase.doc.mjs +2 -1
- package/assets/icons/definitions/textRegular.doc.mjs +1 -0
- package/assets/icons/definitions/thumbsDown.doc.mjs +1 -0
- package/assets/icons/definitions/thumbsUp.doc.mjs +1 -0
- package/assets/icons/definitions/transfer.doc.mjs +1 -0
- package/assets/icons/definitions/trendDown.doc.mjs +1 -0
- package/assets/icons/definitions/trendUp.doc.mjs +1 -0
- package/assets/icons/definitions/underline.doc.mjs +1 -0
- package/assets/icons/definitions/undo.doc.mjs +1 -0
- package/assets/icons/definitions/unlock.doc.mjs +1 -0
- package/assets/icons/definitions/upload.doc.mjs +1 -0
- package/assets/icons/definitions/uppercase.doc.mjs +1 -0
- package/assets/icons/definitions/user.doc.mjs +1 -0
- package/assets/icons/definitions/userAdd.doc.mjs +1 -0
- package/assets/icons/definitions/userCircle.doc.mjs +1 -0
- package/assets/icons/definitions/userRemove.doc.mjs +1 -0
- package/assets/icons/definitions/users.doc.mjs +1 -0
- package/assets/icons/definitions/verified.doc.mjs +9 -0
- package/assets/icons/definitions/wallet.doc.mjs +1 -0
- package/assets/icons/definitions/warning.doc.mjs +1 -0
- package/assets/icons/definitions/wrench.doc.mjs +1 -1
- package/assets/icons/installed-icon-set.doc.mjs +30 -0
- package/assets/icons/template-icons.json +661 -0
- package/assets/search-catalog.generated.json +2 -2
- package/assets/self-audit.generated.json +1 -1
- package/assets/templates/blocks/components/AppShell/AppShellShowcase.doc.mjs +0 -7
- package/assets/templates/blocks/components/AppShell/AppShellShowcase.tsx +8 -10
- package/assets/templates/blocks/components/AppShell/AppShellSideNavOnly.doc.mjs +0 -8
- package/assets/templates/blocks/components/AppShell/AppShellSideNavOnly.tsx +10 -8
- package/assets/templates/blocks/components/AppShell/AppShellTopNavOnly.doc.mjs +0 -1
- package/assets/templates/blocks/components/AppShell/AppShellTopNavOnly.tsx +4 -2
- package/assets/templates/blocks/components/AppShell/AppShellTopNavWithSideNav.doc.mjs +0 -8
- package/assets/templates/blocks/components/AppShell/AppShellTopNavWithSideNav.tsx +10 -8
- package/assets/templates/blocks/components/AppShell/AppShellWithBanner.doc.mjs +0 -8
- package/assets/templates/blocks/components/AppShell/AppShellWithBanner.tsx +10 -8
- package/assets/templates/blocks/components/AspectRatio/AspectRatioImageGallery.tsx +1 -1
- package/assets/templates/blocks/components/AspectRatio/AspectRatioWidescreen.tsx +1 -1
- package/assets/templates/blocks/components/AspectRatio/AspectRatioWithSkeleton.tsx +1 -1
- package/assets/templates/blocks/components/Avatar/AvatarInteractive.tsx +6 -1
- package/assets/templates/blocks/components/Avatar/AvatarShowcase.tsx +1 -1
- package/assets/templates/blocks/components/Avatar/AvatarTooltip.tsx +1 -1
- package/assets/templates/blocks/components/Avatar/AvatarWithStatus.tsx +1 -1
- package/assets/templates/blocks/components/AvatarStatusDot/AvatarStatusDotShowcase.tsx +1 -1
- package/assets/templates/blocks/components/AvatarStatusDot/AvatarStatusDotVariants.tsx +1 -1
- package/assets/templates/blocks/components/Badge/BadgeShowcase.tsx +2 -2
- package/assets/templates/blocks/components/Banner/BannerCollapsibleContent.tsx +14 -1
- package/assets/templates/blocks/components/Banner/BannerSectionVariant.tsx +10 -1
- package/assets/templates/blocks/components/Banner/BannerWithActionButton.tsx +25 -3
- package/assets/templates/blocks/components/BaseTypeahead/BaseTypeaheadCustomSearch.doc.mjs +0 -1
- package/assets/templates/blocks/components/BaseTypeahead/BaseTypeaheadCustomSearch.tsx +2 -2
- package/assets/templates/blocks/components/BaseTypeahead/BaseTypeaheadMenu.doc.mjs +0 -1
- package/assets/templates/blocks/components/BaseTypeahead/BaseTypeaheadMenu.tsx +1 -1
- package/assets/templates/blocks/components/BottomSheet/BottomSheetSnapPoints.doc.mjs +0 -8
- package/assets/templates/blocks/components/BottomSheet/BottomSheetSnapPoints.tsx +5 -5
- package/assets/templates/blocks/components/BreadcrumbItem/BreadcrumbItemShowcase.doc.mjs +0 -1
- package/assets/templates/blocks/components/BreadcrumbItem/BreadcrumbItemShowcase.tsx +1 -1
- package/assets/templates/blocks/components/Breadcrumbs/BreadcrumbsDeepHierarchy.doc.mjs +0 -1
- package/assets/templates/blocks/components/Breadcrumbs/BreadcrumbsDeepHierarchy.tsx +1 -1
- package/assets/templates/blocks/components/Breadcrumbs/BreadcrumbsWithIcons.doc.mjs +0 -1
- package/assets/templates/blocks/components/Breadcrumbs/BreadcrumbsWithIcons.tsx +2 -2
- package/assets/templates/blocks/components/Button/ButtonFloating.doc.mjs +0 -1
- package/assets/templates/blocks/components/Button/ButtonFloating.tsx +25 -2
- package/assets/templates/blocks/components/Button/ButtonShowcase.tsx +42 -4
- package/assets/templates/blocks/components/Button/ButtonSizeVariants.tsx +24 -2
- package/assets/templates/blocks/components/Button/ButtonVariants.tsx +28 -1
- package/assets/templates/blocks/components/Button/ButtonWithEndSlot.tsx +9 -0
- package/assets/templates/blocks/components/Button/ButtonWithIcon.doc.mjs +0 -6
- package/assets/templates/blocks/components/Button/ButtonWithIcon.tsx +35 -9
- package/assets/templates/blocks/components/ButtonGroup/ButtonGroupBasic.tsx +20 -3
- package/assets/templates/blocks/components/ButtonGroup/ButtonGroupFloating.tsx +16 -3
- package/assets/templates/blocks/components/ButtonGroup/ButtonGroupShowcase.doc.mjs +0 -6
- package/assets/templates/blocks/components/ButtonGroup/ButtonGroupShowcase.tsx +37 -8
- package/assets/templates/blocks/components/Center/CenterHorizontal.doc.mjs +0 -8
- package/assets/templates/blocks/components/Center/CenterHorizontal.tsx +23 -5
- package/assets/templates/blocks/components/Center/CenterInsideACard.doc.mjs +0 -1
- package/assets/templates/blocks/components/Center/CenterInsideACard.tsx +1 -1
- package/assets/templates/blocks/components/ChatComposer/ChatComposerFlat.doc.mjs +0 -5
- package/assets/templates/blocks/components/ChatComposer/ChatComposerFlat.tsx +8 -3
- package/assets/templates/blocks/components/ChatComposer/ChatComposerFooterActions.doc.mjs +0 -5
- package/assets/templates/blocks/components/ChatComposer/ChatComposerFooterActions.tsx +8 -3
- package/assets/templates/blocks/components/ChatComposer/ChatComposerFullFeatured.doc.mjs +0 -7
- package/assets/templates/blocks/components/ChatComposer/ChatComposerFullFeatured.tsx +10 -7
- package/assets/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerShowcase.doc.mjs +0 -1
- package/assets/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerShowcase.tsx +2 -2
- package/assets/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerWithProgress.doc.mjs +0 -1
- package/assets/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerWithProgress.tsx +3 -3
- package/assets/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataFooter.doc.mjs +0 -6
- package/assets/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataFooter.tsx +9 -9
- package/assets/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataShowcase.doc.mjs +0 -6
- package/assets/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataShowcase.tsx +10 -10
- package/assets/templates/blocks/components/ChatSendButton/ChatSendButtonCustomIcon.doc.mjs +0 -6
- package/assets/templates/blocks/components/ChatSendButton/ChatSendButtonCustomIcon.tsx +8 -5
- package/assets/templates/blocks/components/ChatSendButton/ChatSendButtonShowcase.doc.mjs +0 -1
- package/assets/templates/blocks/components/ChatSendButton/ChatSendButtonShowcase.tsx +1 -1
- package/assets/templates/blocks/components/ChatSystemMessage/ChatSystemMessageStatusUpdates.doc.mjs +0 -5
- package/assets/templates/blocks/components/ChatSystemMessage/ChatSystemMessageStatusUpdates.tsx +7 -7
- package/assets/templates/blocks/components/ChatSystemMessage/ChatSystemMessageWithIcon.doc.mjs +0 -6
- package/assets/templates/blocks/components/ChatSystemMessage/ChatSystemMessageWithIcon.tsx +7 -7
- package/assets/templates/blocks/components/CodeBlock/CodeBlockTerminal.tsx +1 -1
- package/assets/templates/blocks/components/ContextMenu/ContextMenuBottomSheet.doc.mjs +0 -6
- package/assets/templates/blocks/components/ContextMenu/ContextMenuBottomSheet.tsx +7 -7
- package/assets/templates/blocks/components/DropdownMenu/DropdownMenuBottomSheet.doc.mjs +0 -6
- package/assets/templates/blocks/components/DropdownMenu/DropdownMenuBottomSheet.tsx +7 -7
- package/assets/templates/blocks/components/DropdownMenu/DropdownMenuNoChevron.doc.mjs +0 -1
- package/assets/templates/blocks/components/DropdownMenu/DropdownMenuNoChevron.tsx +2 -2
- package/assets/templates/blocks/components/EmptyState/EmptyStateActions.doc.mjs +0 -1
- package/assets/templates/blocks/components/EmptyState/EmptyStateActions.tsx +2 -2
- package/assets/templates/blocks/components/EmptyState/EmptyStateCompact.doc.mjs +0 -1
- package/assets/templates/blocks/components/EmptyState/EmptyStateCompact.tsx +1 -1
- package/assets/templates/blocks/components/EmptyState/EmptyStateContainer.doc.mjs +0 -1
- package/assets/templates/blocks/components/EmptyState/EmptyStateContainer.tsx +2 -2
- package/assets/templates/blocks/components/EmptyState/EmptyStateShowcase.doc.mjs +0 -1
- package/assets/templates/blocks/components/EmptyState/EmptyStateShowcase.tsx +2 -2
- package/assets/templates/blocks/components/Grid/GridShowcase.tsx +1 -1
- package/assets/templates/blocks/components/GridSpan/GridSpanColumns.tsx +1 -1
- package/assets/templates/blocks/components/GridSpan/GridSpanShowcase.tsx +1 -1
- package/assets/templates/blocks/components/Heading/HeadingTruncation.tsx +3 -2
- package/assets/templates/blocks/components/Hooks/useClipboardHookUsage.tsx +1 -1
- package/assets/templates/blocks/components/Hooks/useContainerRevealHookUsage.doc.mjs +0 -1
- package/assets/templates/blocks/components/Hooks/useContainerRevealHookUsage.tsx +38 -19
- package/assets/templates/blocks/components/Hooks/useGridFocusHookUsage.tsx +6 -6
- package/assets/templates/blocks/components/Hooks/useHotkeysHookUsage.tsx +1 -1
- package/assets/templates/blocks/components/Hooks/useInputContainerHookUsage.doc.mjs +0 -1
- package/assets/templates/blocks/components/Hooks/useInputContainerHookUsage.tsx +2 -2
- package/assets/templates/blocks/components/Hooks/useKeyboardHintHookUsage.doc.mjs +0 -1
- package/assets/templates/blocks/components/Hooks/useKeyboardHintHookUsage.tsx +2 -2
- package/assets/templates/blocks/components/Hooks/useListFocusHookUsage.tsx +8 -1
- package/assets/templates/blocks/components/Hooks/useOverflowHookUsage.tsx +17 -6
- package/assets/templates/blocks/components/Hooks/useStreamingTextHookUsage.tsx +1 -1
- package/assets/templates/blocks/components/Hooks/useTreeFocusHookUsage.doc.mjs +0 -1
- package/assets/templates/blocks/components/Hooks/useTreeFocusHookUsage.tsx +1 -1
- package/assets/templates/blocks/components/HoverCard/HoverCardInteractiveContent.doc.mjs +0 -1
- package/assets/templates/blocks/components/HoverCard/HoverCardInteractiveContent.tsx +1 -1
- package/assets/templates/blocks/components/HoverCard/HoverCardProfileHoverCard.doc.mjs +0 -1
- package/assets/templates/blocks/components/HoverCard/HoverCardProfileHoverCard.tsx +1 -1
- package/assets/templates/blocks/components/Icon/useIconHookUsage.doc.mjs +0 -5
- package/assets/templates/blocks/components/Icon/useIconHookUsage.tsx +7 -7
- package/assets/templates/blocks/components/IconButton/IconButtonActionBar.tsx +11 -0
- package/assets/templates/blocks/components/IconButton/IconButtonFloating.doc.mjs +0 -1
- package/assets/templates/blocks/components/IconButton/IconButtonFloating.tsx +25 -2
- package/assets/templates/blocks/components/IconButton/IconButtonShowcase.tsx +3 -0
- package/assets/templates/blocks/components/IconButton/IconButtonTooltipIconButton.tsx +5 -0
- package/assets/templates/blocks/components/InternationalizationProvider/InternationalizationProvider02Overrides.doc.mjs +3 -3
- package/assets/templates/blocks/components/InternationalizationProvider/InternationalizationProvider02Overrides.tsx +36 -13
- package/assets/templates/blocks/components/Item/ItemDocumentTabs.doc.mjs +0 -1
- package/assets/templates/blocks/components/Item/ItemDocumentTabs.tsx +4 -4
- package/assets/templates/blocks/components/Item/ItemShowcase.doc.mjs +0 -1
- package/assets/templates/blocks/components/Item/ItemShowcase.tsx +7 -3
- package/assets/templates/blocks/components/Layout/LayoutBasicCardLayout.tsx +14 -2
- package/assets/templates/blocks/components/Layout/LayoutContentWidth.tsx +14 -2
- package/assets/templates/blocks/components/Layout/LayoutFullBleedContent.tsx +8 -1
- package/assets/templates/blocks/components/Layout/LayoutShowcase.tsx +8 -1
- package/assets/templates/blocks/components/Layout/LayoutSidebarLayout.tsx +14 -2
- package/assets/templates/blocks/components/LinkProvider/LinkProviderCustomLink.tsx +3 -1
- package/assets/templates/blocks/components/Markdown/MarkdownShowcase.tsx +1 -1
- package/assets/templates/blocks/components/MediaTheme/MediaThemeImageOverlay.tsx +18 -4
- package/assets/templates/blocks/components/MediaTheme/MediaThemeLightScrim.tsx +11 -3
- package/assets/templates/blocks/components/MediaTheme/MediaThemeShowcase.tsx +27 -5
- package/assets/templates/blocks/components/MobileNav/MobileNavBasicMobileNav.doc.mjs +0 -7
- package/assets/templates/blocks/components/MobileNav/MobileNavBasicMobileNav.tsx +5 -9
- package/assets/templates/blocks/components/MobileNav/MobileNavEndSideMobileNav.doc.mjs +0 -1
- package/assets/templates/blocks/components/MobileNav/MobileNavEndSideMobileNav.tsx +2 -2
- package/assets/templates/blocks/components/MobileNav/MobileNavWithoutTitleMobileNav.doc.mjs +0 -1
- package/assets/templates/blocks/components/MobileNav/MobileNavWithoutTitleMobileNav.tsx +1 -1
- package/assets/templates/blocks/components/MoreMenu/MoreMenuBottomSheet.doc.mjs +0 -6
- package/assets/templates/blocks/components/MoreMenu/MoreMenuBottomSheet.tsx +15 -15
- package/assets/templates/blocks/components/MoreMenu/MoreMenuWithDividers.doc.mjs +0 -5
- package/assets/templates/blocks/components/MoreMenu/MoreMenuWithDividers.tsx +4 -8
- package/assets/templates/blocks/components/MoreMenu/MoreMenuWithSections.doc.mjs +0 -5
- package/assets/templates/blocks/components/MoreMenu/MoreMenuWithSections.tsx +4 -8
- package/assets/templates/blocks/components/MultiSelector/useMultiComboboxHookUsage.doc.mjs +0 -1
- package/assets/templates/blocks/components/MultiSelector/useMultiComboboxHookUsage.tsx +1 -1
- package/assets/templates/blocks/components/OverflowList/OverflowListCappedToolbar.tsx +38 -2
- package/assets/templates/blocks/components/OverflowList/OverflowListCollapseFromStartList.tsx +17 -5
- package/assets/templates/blocks/components/OverflowList/OverflowListOverflowDropdownActions.tsx +46 -7
- package/assets/templates/blocks/components/OverflowList/OverflowListShowcase.tsx +45 -5
- package/assets/templates/blocks/components/Overlay/OverlayHoverReveal.tsx +14 -1
- package/assets/templates/blocks/components/Overlay/OverlayShowcase.tsx +10 -1
- package/assets/templates/blocks/components/Overlay/useOverlayHookUsage.tsx +12 -1
- package/assets/templates/blocks/components/Pagination/PaginationDotsCarousel.doc.mjs +0 -1
- package/assets/templates/blocks/components/Pagination/PaginationDotsCarousel.tsx +1 -1
- package/assets/templates/blocks/components/Popover/PopoverBottomSheetAlternative.doc.mjs +0 -1
- package/assets/templates/blocks/components/Popover/PopoverBottomSheetAlternative.tsx +1 -1
- package/assets/templates/blocks/components/Resizable/ResizableShowcase.tsx +12 -2
- package/assets/templates/blocks/components/Resizable/ResizableSidebar.tsx +1 -1
- package/assets/templates/blocks/components/ScrollableArea/ScrollableAreaInlineRail.tsx +1 -1
- package/assets/templates/blocks/components/ScrollableArea/ScrollableAreaOverscrollChaining.tsx +1 -1
- package/assets/templates/blocks/components/ScrollableArea/ScrollableAreaShowcase.tsx +1 -1
- package/assets/templates/blocks/components/ScrollableArea/ScrollableAreaStickyGroupHeaders.tsx +1 -1
- package/assets/templates/blocks/components/ScrollableArea/ScrollableAreaStickyPassthrough.tsx +1 -1
- package/assets/templates/blocks/components/ScrollableArea/ScrollableAreaTwoAxisBoard.tsx +1 -1
- package/assets/templates/blocks/components/Section/SectionWashHighlight.doc.mjs +0 -1
- package/assets/templates/blocks/components/Section/SectionWashHighlight.tsx +10 -2
- package/assets/templates/blocks/components/Selector/SelectorOptionDescriptions.doc.mjs +0 -1
- package/assets/templates/blocks/components/Selector/SelectorOptionDescriptions.tsx +3 -3
- package/assets/templates/blocks/components/SelectorOption/SelectorOptionShowcase.doc.mjs +0 -1
- package/assets/templates/blocks/components/SelectorOption/SelectorOptionShowcase.tsx +1 -1
- package/assets/templates/blocks/components/Stack/StackAlignment.tsx +50 -6
- package/assets/templates/blocks/components/Stack/StackDirections.tsx +1 -1
- package/assets/templates/blocks/components/Stack/StackFillItem.tsx +10 -1
- package/assets/templates/blocks/components/Step/StepContent.tsx +13 -4
- package/assets/templates/blocks/components/Step/StepIndicator.tsx +3 -2
- package/assets/templates/blocks/components/Step/StepShowcase.tsx +1 -1
- package/assets/templates/blocks/components/Step/StepStates.tsx +3 -2
- package/assets/templates/blocks/components/Stepper/StepperCustomContent.tsx +18 -14
- package/assets/templates/blocks/components/Stepper/StepperOnTrackHorizontal.tsx +1 -1
- package/assets/templates/blocks/components/Table/TableInCard.tsx +1 -1
- package/assets/templates/blocks/components/Table/TableShowcase.tsx +1 -1
- package/assets/templates/blocks/components/TextArea/TextAreaWithIcon.doc.mjs +0 -1
- package/assets/templates/blocks/components/TextArea/TextAreaWithIcon.tsx +2 -2
- package/assets/templates/blocks/components/TextInput/TextInputIcon.doc.mjs +0 -1
- package/assets/templates/blocks/components/TextInput/TextInputIcon.tsx +3 -7
- package/assets/templates/blocks/components/TextInput/TextInputSearch.doc.mjs +0 -1
- package/assets/templates/blocks/components/TextInput/TextInputSearch.tsx +3 -3
- package/assets/templates/blocks/components/Theme/ThemeApply.tsx +8 -1
- package/assets/templates/blocks/components/Theme/ThemeNested.tsx +11 -1
- package/assets/templates/blocks/components/Theme/ThemeShowcase.tsx +26 -3
- package/assets/templates/blocks/components/Theme/ThemeSwitcher.tsx +8 -1
- package/assets/templates/blocks/components/ToggleButton/ToggleButtonColor.doc.mjs +0 -11
- package/assets/templates/blocks/components/ToggleButton/ToggleButtonColor.tsx +5 -5
- package/assets/templates/blocks/components/ToggleButton/ToggleButtonGroup.doc.mjs +0 -9
- package/assets/templates/blocks/components/ToggleButton/ToggleButtonGroup.tsx +5 -9
- package/assets/templates/blocks/components/ToggleButton/ToggleButtonIconSwap.doc.mjs +0 -6
- package/assets/templates/blocks/components/ToggleButton/ToggleButtonIconSwap.tsx +6 -6
- package/assets/templates/blocks/components/ToggleButton/ToggleButtonLabel.doc.mjs +0 -6
- package/assets/templates/blocks/components/ToggleButton/ToggleButtonLabel.tsx +3 -3
- package/assets/templates/blocks/components/ToggleButton/ToggleButtonShowcase.doc.mjs +0 -6
- package/assets/templates/blocks/components/ToggleButton/ToggleButtonShowcase.tsx +6 -6
- package/assets/templates/blocks/components/ToggleButton/ToggleButtonStates.doc.mjs +0 -1
- package/assets/templates/blocks/components/ToggleButton/ToggleButtonStates.tsx +2 -2
- package/assets/templates/blocks/components/Token/TokenIcon.doc.mjs +0 -6
- package/assets/templates/blocks/components/Token/TokenIcon.tsx +3 -3
- package/assets/templates/blocks/components/Token/TokenShowcase.doc.mjs +0 -1
- package/assets/templates/blocks/components/Token/TokenShowcase.tsx +1 -1
- package/assets/templates/blocks/components/Tokenizer/TokenizerEndContent.tsx +14 -1
- package/assets/templates/blocks/components/Tokenizer/TokenizerIcon.doc.mjs +0 -1
- package/assets/templates/blocks/components/Tokenizer/TokenizerIcon.tsx +2 -2
- package/assets/templates/blocks/components/Toolbar/ToolbarBulkActions.doc.mjs +0 -1
- package/assets/templates/blocks/components/Toolbar/ToolbarBulkActions.tsx +36 -3
- package/assets/templates/blocks/components/Toolbar/ToolbarCardHeader.doc.mjs +0 -1
- package/assets/templates/blocks/components/Toolbar/ToolbarCardHeader.tsx +4 -3
- package/assets/templates/blocks/components/Toolbar/ToolbarSizes.doc.mjs +0 -1
- package/assets/templates/blocks/components/Toolbar/ToolbarSizes.tsx +3 -3
- package/assets/templates/blocks/components/Toolbar/ToolbarTableFilter.doc.mjs +0 -1
- package/assets/templates/blocks/components/Toolbar/ToolbarTableFilter.tsx +8 -3
- package/assets/templates/blocks/components/Toolbar/ToolbarThreeSlot.doc.mjs +0 -1
- package/assets/templates/blocks/components/Toolbar/ToolbarThreeSlot.tsx +6 -2
- package/assets/templates/blocks/components/Toolbar/ToolbarWithTabs.doc.mjs +0 -1
- package/assets/templates/blocks/components/Toolbar/ToolbarWithTabs.tsx +11 -2
- package/assets/templates/blocks/components/Tooltip/TooltipActionBarTooltips.tsx +33 -3
- package/assets/templates/blocks/components/TopNav/TopNavCenteredNavigation.doc.mjs +0 -1
- package/assets/templates/blocks/components/TopNav/TopNavCenteredNavigation.tsx +2 -2
- package/assets/templates/blocks/components/TopNav/TopNavEnterpriseDashboard.doc.mjs +0 -6
- package/assets/templates/blocks/components/TopNav/TopNavEnterpriseDashboard.tsx +7 -7
- package/assets/templates/blocks/components/TopNav/TopNavHoverMenu.doc.mjs +0 -8
- package/assets/templates/blocks/components/TopNav/TopNavHoverMenu.tsx +14 -9
- package/assets/templates/blocks/components/TopNav/TopNavMegaMenu.doc.mjs +0 -8
- package/assets/templates/blocks/components/TopNav/TopNavMegaMenu.tsx +11 -11
- package/assets/templates/blocks/components/TopNav/TopNavMultipleDropdowns.doc.mjs +0 -5
- package/assets/templates/blocks/components/TopNav/TopNavMultipleDropdowns.tsx +4 -8
- package/assets/templates/blocks/components/TopNav/TopNavShowcase.doc.mjs +0 -5
- package/assets/templates/blocks/components/TopNav/TopNavShowcase.tsx +8 -4
- package/assets/templates/blocks/components/TopNav/TopNavWithLogo.doc.mjs +0 -1
- package/assets/templates/blocks/components/TopNav/TopNavWithLogo.tsx +7 -2
- package/assets/templates/blocks/components/TopNavItem/TopNavItemShowcase.tsx +1 -1
- package/assets/templates/blocks/components/TopNavMegaMenu/TopNavMegaMenuBasic.doc.mjs +0 -1
- package/assets/templates/blocks/components/TopNavMegaMenu/TopNavMegaMenuBasic.tsx +4 -4
- package/assets/templates/blocks/components/TopNavMegaMenu/TopNavMegaMenuShowcase.doc.mjs +0 -7
- package/assets/templates/blocks/components/TopNavMegaMenu/TopNavMegaMenuShowcase.tsx +12 -12
- package/assets/templates/blocks/components/TopNavMegaMenuItem/TopNavMegaMenuItemBasic.doc.mjs +0 -1
- package/assets/templates/blocks/components/TopNavMegaMenuItem/TopNavMegaMenuItemBasic.tsx +2 -2
- package/assets/templates/blocks/components/TopNavMenu/TopNavMenuBasic.doc.mjs +0 -1
- package/assets/templates/blocks/components/TopNavMenu/TopNavMenuBasic.tsx +4 -4
- package/assets/templates/blocks/components/TopNavMenu/TopNavMenuShowcase.doc.mjs +0 -6
- package/assets/templates/blocks/components/TopNavMenu/TopNavMenuShowcase.tsx +11 -8
- package/assets/templates/blocks/components/TreeList/TreeListFileTreeWithIcons.doc.mjs +0 -1
- package/assets/templates/blocks/components/TreeList/TreeListFileTreeWithIcons.tsx +4 -4
- package/assets/templates/blocks/components/TreeList/TreeListInteractiveSettings.doc.mjs +0 -1
- package/assets/templates/blocks/components/TreeList/TreeListInteractiveSettings.tsx +6 -3
- package/assets/templates/blocks/components/Typeahead/TypeaheadSearchField.doc.mjs +0 -1
- package/assets/templates/blocks/components/Typeahead/TypeaheadSearchField.tsx +2 -2
- package/assets/templates/blocks/components/VisuallyHidden/VisuallyHiddenShowcase.doc.mjs +0 -6
- package/assets/templates/blocks/components/VisuallyHidden/VisuallyHiddenShowcase.tsx +30 -7
- package/assets/templates/blocks/components/VisuallyHidden/VisuallyHiddenSupplementaryContext.doc.mjs +0 -1
- package/assets/templates/blocks/components/VisuallyHidden/VisuallyHiddenSupplementaryContext.tsx +4 -1
- package/assets/templates/components.generated.json +1 -1
- package/assets/templates/pages/ai-chat/page.tsx +19 -15
- package/assets/templates/pages/ai-chat/template.doc.mjs +0 -9
- package/assets/templates/pages/ai-chat-landing/page.tsx +16 -16
- package/assets/templates/pages/ai-chat-landing/template.doc.mjs +0 -11
- package/assets/templates/pages/blank/page.tsx +4 -2
- package/assets/templates/pages/canvas-editor/page.tsx +200 -110
- package/assets/templates/pages/canvas-editor/template.doc.mjs +0 -46
- package/assets/templates/pages/centered-hero/page.tsx +2 -2
- package/assets/templates/pages/centered-hero/template.doc.mjs +0 -1
- package/assets/templates/pages/checkout-wizard/page.tsx +31 -18
- package/assets/templates/pages/checkout-wizard/template.doc.mjs +0 -7
- package/assets/templates/pages/classic-gallery/page.tsx +1 -1
- package/assets/templates/pages/contact-form/page.tsx +15 -10
- package/assets/templates/pages/contact-form/template.doc.mjs +0 -5
- package/assets/templates/pages/course-detail/page.tsx +10 -10
- package/assets/templates/pages/course-detail/template.doc.mjs +0 -11
- package/assets/templates/pages/dashboard/page.tsx +37 -19
- package/assets/templates/pages/dashboard/template.doc.mjs +0 -6
- package/assets/templates/pages/dashboard-alert-rail/page.tsx +16 -14
- package/assets/templates/pages/dashboard-alert-rail/template.doc.mjs +0 -8
- package/assets/templates/pages/dashboard-cohort-funnel/page.tsx +14 -16
- package/assets/templates/pages/dashboard-cohort-funnel/template.doc.mjs +0 -7
- package/assets/templates/pages/dashboard-comparison/page.tsx +17 -12
- package/assets/templates/pages/dashboard-comparison/template.doc.mjs +0 -8
- package/assets/templates/pages/dashboard-composition/page.tsx +40 -23
- package/assets/templates/pages/dashboard-composition/template.doc.mjs +0 -1
- package/assets/templates/pages/dashboard-progress/page.tsx +105 -109
- package/assets/templates/pages/dashboard-progress/template.doc.mjs +0 -7
- package/assets/templates/pages/dashboard-scorecard/page.tsx +74 -37
- package/assets/templates/pages/dashboard-scorecard/template.doc.mjs +0 -7
- package/assets/templates/pages/detail-page/page.tsx +28 -11
- package/assets/templates/pages/detail-page/template.doc.mjs +0 -10
- package/assets/templates/pages/documentation/page.tsx +11 -4
- package/assets/templates/pages/documentation-design/page.tsx +39 -12
- package/assets/templates/pages/documentation-design/template.doc.mjs +0 -5
- package/assets/templates/pages/documentation-technical/page.tsx +8 -6
- package/assets/templates/pages/documentation-technical/template.doc.mjs +0 -5
- package/assets/templates/pages/editor/page.tsx +70 -48
- package/assets/templates/pages/editor/template.doc.mjs +0 -26
- package/assets/templates/pages/file-explorer/page.tsx +19 -19
- package/assets/templates/pages/file-explorer/template.doc.mjs +0 -15
- package/assets/templates/pages/form-two-column/page.tsx +1 -1
- package/assets/templates/pages/form-wizard/page.tsx +12 -5
- package/assets/templates/pages/form-wizard-dialog/page.tsx +6 -2
- package/assets/templates/pages/form-wizard-inline/page.tsx +16 -12
- package/assets/templates/pages/form-wizard-inline/template.doc.mjs +0 -6
- package/assets/templates/pages/form-wizard-vertical/page.tsx +21 -24
- package/assets/templates/pages/form-wizard-vertical/template.doc.mjs +0 -13
- package/assets/templates/pages/gallery-hero/page.tsx +2 -2
- package/assets/templates/pages/gallery-hero/template.doc.mjs +0 -1
- package/assets/templates/pages/ide/page.tsx +12 -7
- package/assets/templates/pages/ide/template.doc.mjs +0 -5
- package/assets/templates/pages/incident-console/page.tsx +4 -4
- package/assets/templates/pages/incident-console/template.doc.mjs +0 -1
- package/assets/templates/pages/kanban-board/page.tsx +128 -47
- package/assets/templates/pages/kanban-board/template.doc.mjs +0 -11
- package/assets/templates/pages/library/page.tsx +34 -64
- package/assets/templates/pages/library/template.doc.mjs +0 -1
- package/assets/templates/pages/login/page.tsx +6 -4
- package/assets/templates/pages/login/template.doc.mjs +0 -1
- package/assets/templates/pages/login-card/page.tsx +6 -4
- package/assets/templates/pages/login-card/template.doc.mjs +0 -1
- package/assets/templates/pages/login-split/page.tsx +6 -5
- package/assets/templates/pages/login-split/template.doc.mjs +0 -1
- package/assets/templates/pages/login-sso/page.tsx +6 -6
- package/assets/templates/pages/login-sso/template.doc.mjs +0 -1
- package/assets/templates/pages/messaging-shell/page.tsx +14 -14
- package/assets/templates/pages/messaging-shell/template.doc.mjs +0 -9
- package/assets/templates/pages/mixed-gallery/page.tsx +1 -1
- package/assets/templates/pages/payment-form/page.tsx +50 -29
- package/assets/templates/pages/payment-form/template.doc.mjs +0 -6
- package/assets/templates/pages/product-detail/page.tsx +21 -9
- package/assets/templates/pages/product-detail/template.doc.mjs +0 -1
- package/assets/templates/pages/product-gallery/page.tsx +3 -3
- package/assets/templates/pages/product-gallery/template.doc.mjs +0 -1
- package/assets/templates/pages/settings/page.tsx +35 -14
- package/assets/templates/pages/settings/template.doc.mjs +0 -1
- package/assets/templates/pages/settings-dialog/page.tsx +96 -93
- package/assets/templates/pages/settings-dialog/template.doc.mjs +0 -53
- package/assets/templates/pages/settings-sidebar/page.tsx +74 -36
- package/assets/templates/pages/settings-sidebar/template.doc.mjs +0 -16
- package/assets/templates/pages/shell-nav/page.tsx +32 -20
- package/assets/templates/pages/shell-nav/template.doc.mjs +0 -6
- package/assets/templates/pages/shell-side-nav/page.tsx +23 -22
- package/assets/templates/pages/shell-side-nav/template.doc.mjs +0 -11
- package/assets/templates/pages/shell-top-nav/page.tsx +13 -13
- package/assets/templates/pages/shell-top-nav/template.doc.mjs +0 -19
- package/assets/templates/pages/side-gallery/page.tsx +5 -2
- package/assets/templates/pages/table/page.tsx +21 -21
- package/assets/templates/pages/table/template.doc.mjs +0 -10
- package/assets/templates/pages/table-collapsible/page.tsx +8 -8
- package/assets/templates/pages/table-collapsible/template.doc.mjs +0 -6
- package/assets/templates/pages/table-comparison/page.tsx +23 -23
- package/assets/templates/pages/table-comparison/template.doc.mjs +0 -14
- package/assets/templates/pages/table-filter/page.tsx +75 -47
- package/assets/templates/pages/table-filter/template.doc.mjs +0 -19
- package/assets/templates/pages/table-grouped/page.tsx +39 -17
- package/assets/templates/pages/table-grouped/template.doc.mjs +0 -11
- package/assets/templates/pages/table-inbox/page.tsx +147 -65
- package/assets/templates/pages/table-inbox/template.doc.mjs +0 -17
- package/assets/templates/pages/table-page/page.tsx +3 -6
- package/assets/templates/pages/table-page/template.doc.mjs +0 -1
- package/assets/templates/pages/table-tree/page.tsx +35 -35
- package/assets/templates/pages/table-tree/template.doc.mjs +0 -15
- package/assets/templates/pages/theme-showcase/page.tsx +48 -43
- package/assets/templates/pages/theme-showcase/template.doc.mjs +0 -19
- package/assets/templates/pages/work-item-detail/page.tsx +60 -33
- package/assets/templates/pages/work-item-detail/template.doc.mjs +0 -12
- package/assets/templates/themes/butter/butterPaletteRefs.generated.ts +12 -12
- package/assets/templates/themes/butter/butterTheme.ts +244 -10
- package/assets/templates/themes/chocolate/chocolateTheme.ts +81 -10
- package/assets/templates/themes/gothic/gothicPaletteRefs.generated.ts +3 -3
- package/assets/templates/themes/gothic/gothicTheme.ts +126 -4
- package/assets/templates/themes/matcha/matchaPaletteRefs.generated.ts +8 -8
- package/assets/templates/themes/matcha/matchaTheme.ts +58 -14
- package/assets/templates/themes/neutral/neutralTheme.ts +45 -0
- package/assets/templates/themes/stone/stonePaletteRefs.generated.ts +3 -3
- package/assets/templates/themes/stone/stoneTheme.ts +101 -10
- package/assets/templates/themes/y2k/y2kPaletteRefs.generated.ts +9 -9
- package/assets/templates/themes/y2k/y2kTheme.ts +257 -14
- package/assets/theme.template.ts +17 -7
- package/authoring/config/config.doc.mjs +8 -1
- package/authoring/config/parse.mjs +15 -0
- package/authoring/config/skill-places.d.mts +23 -0
- package/authoring/config/skill-places.mjs +35 -0
- package/authoring/config/type.ts +20 -3
- package/authoring/debug/parse.d.mts +1 -1
- package/authoring/debug/type.ts +4 -0
- package/authoring/discover/parse.d.mts +4 -3
- package/authoring/discover/parse.mjs +76 -41
- package/authoring/discover/type.ts +9 -1
- package/authoring/doctypes/_schema.d.mts +36 -16
- package/authoring/doctypes/_schema.mjs +29 -0
- package/authoring/doctypes/base/type.ts +19 -0
- package/authoring/doctypes/command/command.doc.mjs +6 -0
- package/authoring/doctypes/command/type.ts +7 -0
- package/authoring/doctypes/component/component.doc.mjs +1 -1
- package/authoring/doctypes/icon-definition/icon-definition.doc.mjs +17 -1
- package/authoring/doctypes/icon-definition/parse.mjs +12 -0
- package/authoring/doctypes/icon-definition/type.ts +18 -0
- package/authoring/doctypes/reference/reference.doc.mjs +13 -0
- package/authoring/doctypes/reference/skill.d.mts +29 -0
- package/authoring/doctypes/reference/skill.mjs +56 -0
- package/authoring/doctypes/reference/type.ts +19 -0
- package/authoring/gap-report/parse.d.mts +1 -1
- package/authoring/integration/integration.doc.mjs +8 -0
- package/authoring/integration/schema.d.mts +21 -3
- package/authoring/integration/schema.mjs +25 -5
- package/authoring/integration/type.ts +14 -0
- package/clients/cli/build-id.generated.json +1 -1
- package/clients/cli/commands/build.doc.mjs +1 -1
- package/clients/cli/commands/build.mjs +20 -14
- package/clients/cli/commands/component.doc.mjs +3 -1
- package/clients/cli/commands/component.mjs +21 -6
- package/clients/cli/commands/discover.doc.mjs +2 -2
- package/clients/cli/commands/discover.mjs +112 -9
- package/clients/cli/commands/docs.doc.mjs +17 -10
- package/clients/cli/commands/docs.mjs +112 -191
- package/clients/cli/commands/doctor-integration-validate.doc.mjs +4 -2
- package/clients/cli/commands/doctor.doc.mjs +3 -1
- package/clients/cli/commands/doctor.mjs +16 -3
- package/clients/cli/commands/experimental/export.mjs +64 -0
- package/clients/cli/commands/experimental/icon.mjs +387 -229
- package/clients/cli/commands/experimental/import.mjs +70 -0
- package/clients/cli/commands/experimental/index.mjs +152 -13
- package/clients/cli/commands/experimental/render-output.mjs +242 -0
- package/clients/cli/commands/experimental/theme.mjs +69 -23
- package/clients/cli/commands/experimental-export.doc.mjs +73 -0
- package/clients/cli/commands/experimental-icon-add.doc.mjs +1 -1
- package/clients/cli/commands/experimental-icon-map.doc.mjs +4 -1
- package/clients/cli/commands/experimental-icon-new-definition.doc.mjs +4 -1
- package/clients/cli/commands/experimental-icon-new-set.doc.mjs +4 -1
- package/clients/cli/commands/experimental-icon-use.doc.mjs +1 -1
- package/clients/cli/commands/experimental-icon.doc.mjs +1 -1
- package/clients/cli/commands/experimental-import.doc.mjs +53 -0
- package/clients/cli/commands/experimental-theme-add.doc.mjs +1 -1
- package/clients/cli/commands/experimental-theme-compile.doc.mjs +1 -1
- package/clients/cli/commands/experimental-theme-editor-new.doc.mjs +1 -1
- package/clients/cli/commands/experimental-theme-editor-set.doc.mjs +7 -2
- package/clients/cli/commands/experimental-theme-editor-show.doc.mjs +1 -1
- package/clients/cli/commands/experimental-theme-editor-undo.doc.mjs +1 -1
- package/clients/cli/commands/experimental-theme.doc.mjs +1 -1
- package/clients/cli/commands/experimental.doc.mjs +4 -4
- package/clients/cli/commands/init.doc.mjs +63 -31
- package/clients/cli/commands/integration-check.doc.mjs +1 -1
- package/clients/cli/commands/mcp.doc.mjs +57 -0
- package/clients/cli/commands/mcp.mjs +51 -0
- package/clients/cli/commands/search.mjs +78 -9
- package/clients/cli/commands/template.doc.mjs +14 -5
- package/clients/cli/commands/template.mjs +21 -2
- package/clients/cli/commands/theme-add.doc.mjs +6 -2
- package/clients/cli/commands/theme-build.doc.mjs +1 -1
- package/clients/cli/commands/theme-remove.doc.mjs +1 -1
- package/clients/cli/commands/theme-targets.doc.mjs +1 -1
- package/clients/cli/commands/theme.mjs +86 -5
- package/clients/cli/commands/upgrade.doc.mjs +2 -1
- package/clients/cli/commands.generated.json +1 -1
- package/clients/cli/formatters/index.mjs +52 -6
- package/clients/cli/index.mjs +44 -37
- package/clients/cli/lib/cli-error.mjs +20 -10
- package/clients/cli/lib/component-format.mjs +167 -74
- package/clients/cli/lib/define-command.mjs +92 -4
- package/clients/cli/lib/hook-format.mjs +28 -24
- package/clients/cli/lib/json-shim.mjs +61 -4
- package/clients/cli/lib/manifest.mjs +9 -1
- package/clients/cli/lib/mcp-server.mjs +286 -0
- package/clients/cli/lib/mcp-tools.mjs +405 -0
- package/clients/cli/lib/other-cli-words.mjs +99 -0
- package/clients/cli/lib/renamed-commands.mjs +21 -0
- package/clients/cli/lib/root-args.mjs +10 -3
- package/clients/cli/lib/stray-option.mjs +79 -1
- package/clients/cli/lib/unknown-command.mjs +406 -13
- package/clients/cli/manifest.generated.json +1 -1
- package/clients/cli/run.mjs +27 -0
- package/foundation/agent-docs/agent-doc-state.d.mts +20 -2
- package/foundation/agent-docs/agent-doc-state.mjs +71 -4
- package/foundation/agent-docs/agent-docs.d.mts +79 -5
- package/foundation/agent-docs/agent-docs.mjs +137 -10
- package/foundation/agent-docs/computer-agent-text.d.mts +28 -14
- package/foundation/agent-docs/computer-agent-text.mjs +85 -172
- package/foundation/agent-docs/folder-scope.d.mts +51 -0
- package/foundation/agent-docs/folder-scope.mjs +86 -0
- package/foundation/agent-docs/managed-skill-file.d.mts +115 -0
- package/foundation/agent-docs/managed-skill-file.mjs +224 -0
- package/foundation/agent-docs/skill-place-files.d.mts +119 -0
- package/foundation/agent-docs/skill-place-files.mjs +374 -0
- package/foundation/agent-docs/skill-places.d.mts +139 -0
- package/foundation/agent-docs/skill-places.mjs +321 -0
- package/foundation/color/css-color.d.mts +150 -0
- package/foundation/color/css-color.mjs +960 -0
- package/foundation/config/config-path.d.mts +2 -2
- package/foundation/config/config-path.mjs +5 -6
- package/foundation/config/config-writer.d.mts +5 -1
- package/foundation/config/config-writer.mjs +20 -4
- package/foundation/config/project.d.mts +8 -5
- package/foundation/config/project.mjs +35 -17
- package/foundation/config/theme-state.d.mts +13 -0
- package/foundation/config/theme-state.mjs +28 -0
- package/foundation/debug/event.d.mts +2 -1
- package/foundation/debug/event.mjs +2 -1
- package/foundation/discovery/button-actions.d.mts +220 -0
- package/foundation/discovery/button-actions.mjs +1527 -0
- package/foundation/discovery/cli-self-docs.d.mts +7 -0
- package/foundation/discovery/cli-self-docs.mjs +67 -6
- package/foundation/discovery/color-modes.d.mts +14 -0
- package/foundation/discovery/color-modes.mjs +53 -0
- package/foundation/discovery/command-pointers.d.mts +21 -4
- package/foundation/discovery/command-pointers.mjs +25 -4
- package/foundation/discovery/component-discovery.d.mts +10 -0
- package/foundation/discovery/component-discovery.mjs +99 -43
- package/foundation/discovery/component-replacement.d.mts +8 -0
- package/foundation/discovery/component-replacement.mjs +13 -0
- package/foundation/discovery/core-augmentation-points.d.mts +90 -0
- package/foundation/discovery/core-augmentation-points.mjs +1030 -0
- package/foundation/discovery/core-component-views.d.mts +15 -0
- package/foundation/discovery/core-component-views.mjs +176 -0
- package/foundation/discovery/core-elements.d.mts +29 -0
- package/foundation/discovery/core-elements.mjs +57 -0
- package/foundation/discovery/core-prop-types.d.mts +65 -0
- package/foundation/discovery/core-prop-types.mjs +221 -0
- package/foundation/discovery/core-props.d.mts +33 -0
- package/foundation/discovery/core-props.mjs +64 -0
- package/foundation/discovery/doc-types.d.mts +10 -42
- package/foundation/discovery/doc-types.mjs +26 -7
- package/foundation/discovery/docs-discovery.d.mts +33 -2
- package/foundation/discovery/docs-discovery.mjs +149 -72
- package/foundation/discovery/docs-section-key.d.mts +21 -1
- package/foundation/discovery/docs-section-key.mjs +57 -19
- package/foundation/discovery/hook-discovery.d.mts +2 -0
- package/foundation/discovery/hook-discovery.mjs +6 -5
- package/foundation/discovery/icon-definition-discovery.d.mts +155 -3
- package/foundation/discovery/icon-definition-discovery.mjs +197 -5
- package/foundation/discovery/icon-imports.d.mts +66 -0
- package/foundation/discovery/icon-imports.mjs +225 -0
- package/foundation/discovery/icon-ranking.d.mts +118 -4
- package/foundation/discovery/icon-ranking.mjs +453 -59
- package/foundation/discovery/icon-set-checks.d.mts +2 -0
- package/foundation/discovery/icon-set-checks.mjs +16 -2
- package/foundation/discovery/icon-set-discovery.d.mts +68 -2
- package/foundation/discovery/icon-set-discovery.mjs +124 -23
- package/foundation/discovery/icon-set-writer.d.mts +9 -13
- package/foundation/discovery/icon-set-writer.mjs +89 -36
- package/foundation/discovery/integration-skills.d.mts +62 -0
- package/foundation/discovery/integration-skills.mjs +116 -0
- package/foundation/discovery/module-exports.d.mts +8 -0
- package/foundation/discovery/module-exports.mjs +20 -21
- package/foundation/discovery/name-roots.d.mts +5 -0
- package/foundation/discovery/name-roots.mjs +11 -0
- package/foundation/discovery/package-exports.d.mts +22 -0
- package/foundation/discovery/package-exports.mjs +44 -3
- package/foundation/discovery/project-typescript.d.mts +5 -1
- package/foundation/discovery/project-typescript.mjs +8 -2
- package/foundation/discovery/prop-drift.d.mts +16 -0
- package/foundation/discovery/prop-drift.mjs +154 -3
- package/foundation/discovery/replacement-aliases.d.mts +51 -0
- package/foundation/discovery/replacement-aliases.mjs +95 -0
- package/foundation/discovery/runner-allowlist.d.mts +2 -1
- package/foundation/discovery/runner-allowlist.mjs +3 -1
- package/foundation/discovery/runner-commands.mjs +1 -0
- package/foundation/discovery/stored-component-list.mjs +34 -2
- package/foundation/discovery/template-adapter.d.mts +27 -1
- package/foundation/discovery/template-adapter.mjs +221 -10
- package/foundation/discovery/template-destination.d.mts +14 -6
- package/foundation/discovery/template-destination.mjs +42 -8
- package/foundation/discovery/template-icon-meanings.d.mts +7 -2
- package/foundation/discovery/template-icon-meanings.mjs +52 -12
- package/foundation/discovery/template-icons.d.mts +46 -3
- package/foundation/discovery/template-icons.mjs +72 -109
- package/foundation/discovery/template-needs.d.mts +34 -5
- package/foundation/discovery/template-needs.mjs +164 -22
- package/foundation/discovery/template-placeholders.d.mts +149 -0
- package/foundation/discovery/template-placeholders.mjs +463 -0
- package/foundation/discovery/template-source-tree.d.mts +6 -3
- package/foundation/discovery/template-source-tree.mjs +8 -5
- package/foundation/discovery/theme-discovery.d.mts +8 -0
- package/foundation/discovery/theme-discovery.mjs +23 -6
- package/foundation/discovery/theme-imports.d.mts +1 -3
- package/foundation/discovery/theme-imports.mjs +5 -30
- package/foundation/doc-compiler/compile.mjs +6 -8
- package/foundation/doc-compiler/doc-syntax.d.mts +25 -1
- package/foundation/doc-compiler/doc-syntax.mjs +85 -10
- package/foundation/doc-compiler/doc-text.d.mts +52 -0
- package/foundation/doc-compiler/doc-text.mjs +176 -0
- package/foundation/doc-compiler/links.d.mts +8 -2
- package/foundation/doc-compiler/links.mjs +27 -6
- package/foundation/doc-compiler/read.d.mts +1 -1
- package/foundation/doc-compiler/stored-docs.d.mts +14 -3
- package/foundation/doc-compiler/stored-docs.mjs +12 -6
- package/foundation/env/cli-command.d.mts +68 -10
- package/foundation/env/cli-command.mjs +116 -22
- package/foundation/env/package-manager.d.mts +33 -2
- package/foundation/env/package-manager.mjs +68 -6
- package/foundation/env/project-scope.d.mts +9 -0
- package/foundation/env/project-scope.mjs +28 -2
- package/foundation/env/user-dirs.d.mts +14 -0
- package/foundation/env/user-dirs.mjs +34 -1
- package/foundation/env/user-settings.d.mts +15 -0
- package/foundation/env/user-settings.mjs +56 -2
- package/foundation/fonts/font-stylesheet.d.mts +11 -0
- package/foundation/fonts/font-stylesheet.mjs +62 -7
- package/foundation/fs/cache-eviction.d.mts +7 -5
- package/foundation/fs/cache-eviction.mjs +20 -13
- package/foundation/fs/empty-folder.d.mts +12 -0
- package/foundation/fs/empty-folder.mjs +30 -0
- package/foundation/fs/file-protection.d.mts +11 -0
- package/foundation/fs/file-protection.mjs +49 -3
- package/foundation/fs/gather-cache.d.mts +14 -7
- package/foundation/fs/gather-cache.mjs +163 -67
- package/foundation/fs/import-url.d.mts +7 -5
- package/foundation/fs/import-url.mjs +7 -5
- package/foundation/fs/jiti-cache.d.mts +47 -26
- package/foundation/fs/jiti-cache.mjs +222 -130
- package/foundation/fs/loaded-files.d.mts +15 -1
- package/foundation/fs/loaded-files.mjs +40 -3
- package/foundation/fs/module-loader.d.mts +3 -1
- package/foundation/fs/module-loader.mjs +85 -5
- package/foundation/fs/path-safety.d.mts +1 -0
- package/foundation/fs/path-safety.mjs +2 -0
- package/foundation/fs/read-record.mjs +9 -5
- package/foundation/fs/relative-specifier.d.mts +10 -0
- package/foundation/fs/relative-specifier.mjs +28 -0
- package/foundation/integrations/computer-integrations.mjs +11 -10
- package/foundation/integrations/icon-features.d.mts +63 -0
- package/foundation/integrations/icon-features.mjs +54 -0
- package/foundation/integrations/integration-warnings.d.mts +10 -0
- package/foundation/integrations/integration-warnings.mjs +12 -3
- package/foundation/integrations/integrations.d.mts +16 -2
- package/foundation/integrations/integrations.mjs +50 -8
- package/foundation/integrations/may-have-integrations.mjs +7 -6
- package/foundation/integrations/provider-resolution.mjs +19 -2
- package/foundation/integrations/validate-contributions.d.mts +13 -3
- package/foundation/integrations/validate-contributions.mjs +64 -13
- package/foundation/release/agent-text-worker.mjs +33 -1
- package/foundation/release/cache.d.mts +48 -3
- package/foundation/release/cache.mjs +196 -20
- package/foundation/release/choose.d.mts +5 -2
- package/foundation/release/choose.mjs +54 -4
- package/foundation/release/global-state.mjs +10 -2
- package/foundation/release/handoff.mjs +7 -1
- package/foundation/release/notices.d.mts +97 -9
- package/foundation/release/notices.mjs +421 -59
- package/foundation/release/project.d.mts +21 -4
- package/foundation/release/project.mjs +74 -42
- package/foundation/release/run-context.d.mts +6 -0
- package/foundation/release/run-context.mjs +9 -0
- package/foundation/render/assets.d.mts +7 -0
- package/foundation/render/assets.mjs +30 -17
- package/foundation/render/charts.d.mts +11 -10
- package/foundation/render/charts.mjs +112 -1
- package/foundation/render/class-alias.d.mts +23 -0
- package/foundation/render/class-alias.mjs +333 -0
- package/foundation/render/client-bundle.d.mts +183 -0
- package/foundation/render/client-bundle.mjs +1026 -0
- package/foundation/render/component-map.mjs +1 -1
- package/foundation/render/css-cut.d.mts +26 -0
- package/foundation/render/css-cut.mjs +344 -2
- package/foundation/render/cut-short.d.mts +7 -1
- package/foundation/render/cut-short.mjs +46 -6
- package/foundation/render/dropped-text.d.mts +43 -0
- package/foundation/render/dropped-text.mjs +90 -0
- package/foundation/render/embedded-files.d.mts +24 -1
- package/foundation/render/embedded-files.mjs +41 -4
- package/foundation/render/embedded-imports.d.mts +72 -12
- package/foundation/render/embedded-imports.mjs +206 -70
- package/foundation/render/esbuild-dependency.d.mts +14 -0
- package/foundation/render/esbuild-dependency.mjs +41 -0
- package/foundation/render/file-header.d.mts +7 -2
- package/foundation/render/file-header.mjs +19 -10
- package/foundation/render/html-reader.d.mts +36 -17
- package/foundation/render/html-reader.mjs +239 -32
- package/foundation/render/image-attributes.d.mts +25 -0
- package/foundation/render/image-attributes.mjs +33 -0
- package/foundation/render/markup-edits.mjs +1 -1
- package/foundation/render/package-resolve-hooks.d.mts +54 -0
- package/foundation/render/package-resolve-hooks.mjs +144 -0
- package/foundation/render/page-host.mjs +1 -1
- package/foundation/render/page-worker.mjs +1307 -107
- package/foundation/render/picture-chrome.mjs +54 -29
- package/foundation/render/picture-playwright.mjs +78 -42
- package/foundation/render/picture-window.d.mts +44 -5
- package/foundation/render/picture-window.mjs +265 -19
- package/foundation/render/rebuild.mjs +2 -2
- package/foundation/render/remote-images.d.mts +83 -0
- package/foundation/render/remote-images.mjs +384 -0
- package/foundation/render/render-page.d.mts +219 -8
- package/foundation/render/render-page.mjs +1702 -165
- package/foundation/render/restore-folder.d.mts +13 -0
- package/foundation/render/restore-folder.mjs +30 -0
- package/foundation/render/served-packages.d.mts +14 -1
- package/foundation/render/served-packages.mjs +50 -6
- package/foundation/render/share-checks.d.mts +35 -0
- package/foundation/render/share-checks.mjs +95 -0
- package/foundation/render/source-block.d.mts +14 -3
- package/foundation/render/source-block.mjs +44 -9
- package/foundation/render/srcset.d.mts +32 -0
- package/foundation/render/srcset.mjs +64 -0
- package/foundation/render/ts-paths.d.mts +52 -1
- package/foundation/render/ts-paths.mjs +114 -4
- package/foundation/render/value-uses.d.mts +43 -0
- package/foundation/render/value-uses.mjs +110 -0
- package/foundation/response/error-codes.d.mts +2 -1
- package/foundation/response/error-codes.doc.mjs +16 -10
- package/foundation/response/error-codes.mjs +19 -8
- package/foundation/response/json.d.mts +0 -15
- package/foundation/response/json.mjs +1 -51
- package/foundation/response/response-types.doc.mjs +28 -17
- package/foundation/runtime/css-tree.d.mts +16 -0
- package/foundation/runtime/css-tree.mjs +46 -3
- package/foundation/runtime/lazy-dependencies.d.mts +7 -0
- package/foundation/runtime/lazy-dependencies.mjs +25 -3
- package/foundation/runtime/locked-versions.d.mts +4 -2
- package/foundation/runtime/locked-versions.mjs +18 -10
- package/foundation/runtime/package-root.d.mts +25 -0
- package/foundation/runtime/package-root.mjs +48 -0
- package/foundation/runtime/word-table.d.mts +18 -0
- package/foundation/runtime/word-table.mjs +33 -0
- package/foundation/suggest/other-command.d.mts +23 -0
- package/foundation/suggest/other-command.mjs +49 -5
- package/foundation/text/default-variant.d.mts +20 -0
- package/foundation/text/default-variant.mjs +24 -0
- package/foundation/text/definition-coverage.d.mts +21 -0
- package/foundation/text/definition-coverage.mjs +20 -0
- package/foundation/text/icon-id.d.mts +20 -0
- package/foundation/text/icon-id.mjs +40 -0
- package/foundation/text/icon-set-next.d.mts +26 -0
- package/foundation/text/icon-set-next.mjs +37 -0
- package/foundation/text/string-utils.mjs +14 -41
- package/foundation/text/suggest-order.d.mts +10 -4
- package/foundation/text/suggest-order.mjs +20 -13
- package/package.json +8 -6
- package/assets/codemods/transforms/next/migrate-item-swipe-actions-to-swipe.mjs +0 -394
- package/assets/docs/tree/render-pages.doc.mjs +0 -135
- package/clients/cli/commands/experimental/render.mjs +0 -154
- package/clients/cli/commands/experimental-render.doc.mjs +0 -73
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,1882 @@
|
|
|
1
1
|
# @xds/cli
|
|
2
2
|
|
|
3
|
+
# 0.7.17
|
|
4
|
+
|
|
5
|
+
#### Experimental APIs
|
|
6
|
+
|
|
7
|
+
- `astryx experimental theme editor how` offers a font asked for on a part as its preset's whole stack ("monospace numbers in tables" gives `ui-monospace, "SF Mono", Menlo, Consolas, monospace`), so systems without its first family show the next one of its kind. It no longer offers `ui-monospace` alone, which only Apple systems draw.
|
|
8
|
+
- `astryx experimental theme` pictures (`--png`) say when this machine has no font of the kind a stack names, for example headings set to the serif preset on a system with no serif font, which the picture shows in a sans-serif font. The font dial's help no longer says system presets always show.
|
|
9
|
+
- The `astryx experimental theme` font dial's help names `rounded` as Nunito, an open font that loads once its package is installed, no longer beside the system presets. It also says exactly when a picture names a missing font: a serif, monospace or cursive stack drawn in a font of another kind.
|
|
10
|
+
- `astryx experimental theme editor`: a whole-theme token the base theme draws past on a part (neutral's neutral badge fills with its own gray, not `--color-neutral`) is no longer reported as reaching it. `set` says that part does not use the token and gives the command that does; `how <token>` lists those parts under `notIn`; and a value question about the part answers what it draws there, the theme's own setting on it first.
|
|
11
|
+
- `astryx experimental theme editor`: the part data now knows the context menu (and its dividers): each part is right-clicked when a press opens nothing and it holds a layer, as one drawn in its own place is, so `how` reads what a context menu draws instead of saying it is unknown.
|
|
12
|
+
- `astryx experimental theme editor`: a role color too dark to stand out on the dark page still draws dark mode at the documented shade 70, and the set result now offers the shade nearest it that passes as a one-line dark-mode choice. `how` for a deeper or darker role color includes a dark-mode line that stands out on the dark page, so dark mode goes the way the color asked instead of turning paler.
|
|
13
|
+
- `astryx discover` lists the icon sets your discover sources offer even where icon features are off (no icon-set package installed and no `experimental.iconSet`), so an app can compare packs before it picks one. A pack shows in the Available list (`iconSets`), in a search, and on its `discover <package>/<set>` page, with the catalog's display name, description, license and icon count. When the catalog lists the set's definitions, the page's text says how many of the CLI's icon definitions it maps (`definitions: 152/180`, as `experimental icon --list` prints it); the definitions themselves are listed only where icon features are on. Each listed set is marked `[experimental]` in text and carries `experimental: true` in JSON (a package entry names its experimental `iconSets` in `experimentalFields`). The page gives the project's install command, then `astryx experimental icon use <package>/<set>`. Installed sets, their pages and `--type icon-set` still need icon features on, `astryx search`'s discover line never points at an icon set while they are off, icon-set fields on other kinds are ignored, and a catalog with no icon set gives the same output as before. Discover catalogs may give an icon set's `license`.
|
|
14
|
+
- Doctor's new `icon-imports` check names each icon import that no longer matches the app's icon sets after the list changes or a set is uninstalled: an icon from a set the list leaves out, or from a backup when an earlier set draws the same meaning, warns with the icon of the list that replaces it; an icon import or re-export of an npm package that is not installed, not declared, and not mapped by a `paths` or `baseUrl` entry in the app's tsconfig or jsconfig fails, since it breaks the build, even when that package is the main set itself. The check runs where icon features are on and a main set is decided.
|
|
15
|
+
- `astryx experimental theme editor set <theme> --color-border <color>`: the emphasized border (input and selector frames) follows a border only where that makes it stronger on the surface, never fainter, and the result now says it follows; `show` names it as following your `--color-border`, not as a change in the theme's own source.
|
|
16
|
+
- `astryx experimental theme editor`: secondary text set exactly for the whole theme (in one mode or both) no longer turns off the readable shade on the parts that lift it (selected items and rows, a dropzone, numbered citations). Where the exact color reads on what those parts sit on it is used as written; where it does not, they take the gray nearest it that does, or, with no color dial, the base theme's own lift.
|
|
17
|
+
- A run of one `astryx experimental` command loads only that command, as `astryx <command>` already does. `astryx experimental export` and `astryx experimental import` no longer load the theme editor first, so each run starts about 0.2 seconds sooner. `astryx experimental` alone, its help, and an unknown word still load every command, so they print the same answers.
|
|
18
|
+
- `astryx experimental theme editor set <theme> accent <color>` keeps the color you gave as the link and accent text color wherever it reads at 4.5:1 on what that text sits on, in each mode its fill is your exact color; only where it does not do links move, to the nearest shade that reads, and the result says so with the ratio. Text on the fill stays white or near-black by contrast (button and badge labels are normal-size text, which needs 4.5:1, so white on iOS blue #007aff, at 4.02:1, is not picked), and the note now names how to keep the other one exactly.
|
|
19
|
+
- `astryx experimental theme editor how` reads every way an amount is said ("a quarter bigger", "half again", "2x", "×2", "x0", "4 times", "by a factor of 2", "+50%", "-25%", "50 percent", "½") as a factor of what is there now, never as a length and never with an extra dial step; keeps fractions of a pixel; scales a part's line height and opacity the asked way ("50% more transparent" lowers the opacity and leaves the fill); answers whole-theme radius and border width amounts with exact token values (a whole-theme spacing or text amount it can only step says so); says when a part has no width to scale instead of giving a fixed cap; scales an own side padding with the rest; keeps the state and variant of a "2px rounder on hover" move and of a padding step; reads a corner percent with an amount ("50% of now", "20% bigger") as an exact radius, never a CSS percent; says when a corner amount can only step; and reads "no inner spacing", "zero padding" and "no gap" as zero of that thing, in the state asked.
|
|
20
|
+
- `astryx experimental theme editor how`: amounts read the way they are said. Zero, none and no set that property to 0 or none in any position ("card corners zero", "zero border", "opacity zero", "no letter spacing", "remove the top padding"), and a padding side reads its own value now. One amount reader takes "up 20%", "increase by 50%", "2/3", "two thirds", "three quarters", "twice as small", "a third again" and a lone "½" as a share of now; a bare percent radius is refused with the command that scales the radius instead. "Two steps bigger" gives two dial steps, "2 spacing units" is twice the spacing unit token, a size such as "24x16px" on padding is that exact padding, and "+4px", "-2px" or "4px more" on padding, gap, radius or text size is the value now plus or minus that length. See-through amounts set opacity ("half transparent", "10% transparent", "50% opacity"), "more opaque" raises it, and "5% gray" is gray at 5% alpha. Color amounts apply to text and hover colors; warmer and cooler move the hue, not the lightness; lighter and darker change the color of borders, dividers and links, and keep the alpha of rgb(), hsl() and oklch() colors. Small, secondary and supporting text and fine print change the supporting text size; "h1 800" is a weight; "h2 through h4" changes each level; "h1 800 and the other headings 600" sets every other level; "h1 twice as big as body text" and "h3 the same size as h2" take the other size times the amount; "and the active one blue" keeps that state. Thinner text is a lighter weight, a sharper shadow halves the blur of the part's shadow and a softer one doubles it, a thinner scrollbar says there is no scrollbar part, the overlay's lighter or darker changes only its alpha, and wider no longer sets a made-up 720px width. `how paddingLeft`, `how borderRadius` and other camelCase names look up that property.
|
|
21
|
+
- `astryx experimental theme compile`: `--check` of an editor theme also checks its app copy in `src/themes/<theme>/` and fails with `ERR_THEME_STALE`, saying why, when the copy is kept back, missing a file, gone, or not the current build. Each theme's copy follows its own build, so a later theme failing no longer leaves an earlier one's copy behind. The copy's files are not theme sources: compiling its descriptor, a copy build file or `src/astryx-themes.ts` names the theme to compile, the copy's source from a subfolder names the app root, and an `--out` into the copy folder is refused. A copy left with only its build outputs is still the editor's, a copy file that is gone is written back by the next `set`, and a folder the copy could not be made in is named. The compile help says it writes and checks the app copy.
|
|
22
|
+
- `astryx experimental theme compile`: a successful compile of an editor theme always writes its app copy from what it just built, a hand edit of `<theme>.theme.ts` included, with the copy's font stylesheet from the fonts the theme loads now (a font package installed or removed since; a `set` that changes nothing refreshes it too). `--check` reads the copy as a checkout writes it (CRLF line endings pass), compares it only once the theme's outputs are current (a hand-edited theme output is named by the outputs check), and a stale copy keeps the documented check result: `upToDate: false`, code `ERR_THEME_STALE` and `appCopyStale` saying why. The copy's source and folder are no compile targets, an `--out` at the copy folder (any case, with or without a slash) is refused and suggests the same compile without `--out`, and a refused compile writes no copy. The help says so.
|
|
23
|
+
- `astryx experimental theme`: every command that builds or checks an editor theme says when its app copy in `src/themes/<theme>/` is behind: `compile` warns, `compile --check` fails while the copy is kept back or gone, and a `set` that changes nothing still carries `appCopyStale`. A link or a folder of yours at a copy file name stops the copy like a file of yours does, and a copy that cannot be written says why (not writable, disk full, a file where the folder goes). A copy whose descriptor was deleted is still the editor's and is written back. Compiling the copy's source takes the theme's lock and writes the copy again; with the copy gone it names `editor show`. Fonts the copy's font stylesheet loads are not called unloaded. The editor and compile help say the copy rule.
|
|
24
|
+
- `astryx experimental theme editor`: the app copy in `src/themes/<theme>/` is written around a file of yours at another name (a note, a swap file); only a file of yours at one of the copy's names, or a link on the way to it, stops it, and then every change's result and `wiring` say the copy was not updated and why. The copy's `<theme>.fonts.css` is always there (a comment only when the theme loads no font stylesheet), so the app theme module's import of it holds when fonts or the base change; `compile` writes the whole copy, that file included. `new` refuses a name the theme commands skip (`a--b`, `b-`) and suggests the cleaned one. The package commands give true answers for an editor theme: `eject` says its source is yours already, and a path (`themes/<theme>`) is answered with the command by name.
|
|
25
|
+
- The in-app theme preview's top bar draws the theme's name with Core's `TopNavHeading`, as an app's top bar does, so a setting on the header (such as its text color) shows in the preview as it does in the app.
|
|
26
|
+
- `astryx experimental theme editor`: asks that name parts by reference or in two states read as Core draws them. "The disabled one" after an element in a place ("the hovered item of menus … and the disabled one") is that element; "the others" are the part's other variants, or the part not in the state named; states said together read by their kind, a condition among them (checked, selected, disabled) meaning all at once and moment states alone (hovered, pressed) meaning each, with the other reading offered as a second line; a selected table row hovered sets the selected wash's token for hover; a switch's "on color" is its checked look; tighter table rows lower the cells' block padding one spacing step. A border asked of a list inside an overlay's surface (a typeahead's) points to the overlay's edge, and `set` refuses a border's color or width on a part that draws no border (a divider), offering the token its line reads.
|
|
27
|
+
- `astryx experimental theme editor`'s pictures and contrast checks take a toast's text side by Core's own rule for the fill the toast draws: the theme's text where it reads at 3:1, else the on-color that reads better; a see-through fill is composited onto the page first, and a gradient falls back from the inverted surface, as the app does. A problem there comes with a `color` line on the toast, which set takes. A transparent part on a lightbox's dark island is measured on that island. Parts drawn open keep the custom properties their inline styles set (a dialog's maximum size, a popover's gap to its trigger), and a plain element in a doc example (the Overlay's media) draws.
|
|
28
|
+
- `astryx experimental theme editor set … surfaces`: a panel whose outer frame paints nothing (the banner) gets the dial's line and shadow on the part inside that paints its rounded fill, so `surfaces outlined` no longer draws a square border around the banner's rounded corners, and a border setting on the banner reaches that line. `how` never reads "Windows" named with a version ("Windows 11 accent #0067c0") as the containers.
|
|
29
|
+
- `astryx experimental theme editor`: the "thick borders on everything" answer and a whole-theme `--border-width` also reach a framed control (a segmented control), the parts that draw a box only when selected (nav items, segments), on that state, and the indicator lines (a tab's underline), at the border width.
|
|
30
|
+
- `astryx experimental theme editor how`: a size ask with a bound that the part is already past the way the words ask ("rounder but at most 16px" on 42px corners) writes nothing and says so, never a move the other way; a direction beside a bound on a property with no scale of the theme's own (height) goes to the bound; "the body text … but at most 16px" is the base text size. A theme color with a way ("the accent color but lighter") is that color made that way in each mode. "The page color" as a gradient stop is the color the page is painted with, and the page is not changed. A role color made darker or lighter on a dark-only theme moves each of its tokens that way, its text included. "The same as" after a color property compares that color. "What color is the page" gives the page's color in each mode, and its pointer is the token that paints it.
|
|
31
|
+
- `astryx experimental theme editor` names words the sample page's pictures break across two lines inside the word (a table word at a larger text size, "roadma" then "p"), measured in the page by the browser that takes the picture, as it names text cut short: a note, and a problem with the line that keeps the word whole when the browser measured one, else none.
|
|
32
|
+
- `astryx experimental theme editor`: a light-only or dark-only theme's build exports its one mode beside the theme (`export const colorModes = ["light"];`), and its app copy re-exports it, so `theme add` wires the theme in that mode. Older CLIs and Core ignore the extra export.
|
|
33
|
+
- `astryx experimental theme`: every build names the pictures it removed, so `editor show` and the preview commands say so too when they build a theme again. A picture run whose browser fails part way says which pictures it took and which it did not. A render that fails on two copies of React points at the package manager's listing of them instead of `doctor`. `show --section` offers a section only within a typo of what was typed, else the whole sheet; `preview add --top` offers the typed number read exactly or brought into range, else the default; `preview add --template` offers a default page (overview, components, colors) within a typo. A base theme whose fonts come from a remote stylesheet (Google Fonts) gets a note that the previews and their pictures show the next font, and how to install a copy they load. The sheet's template pages render (they bind their file's default export), and a part Core re-exports under a name of its own (ContextMenuItem) gets its module and a cell; a component no Core module exports gets no empty cell.
|
|
34
|
+
- `astryx experimental theme editor`: one built-value check for a theme's own token values runs before every build (`set`, `undo`, `show`, the preview) and in `compile`, so a value one refuses the other never writes. A `[light, dark]` pair on a token that is not a color is refused however the file gives it (an import, a const, a spread), naming the file and line that hold it. Typography weights are judged as the tokens they build. A private variable (`--_*`) and a key that is no token name (`color`) are refused with their line. A pair in the theme file is shown by its light and dark values in notes. `undo` of a token the theme's own source sets names that file and line.
|
|
35
|
+
- `astryx experimental theme editor`: `new` reads a built-in theme typed with another word (`theme neutral`, `neutral stone`) as the base, never as the neutral color dial, and a base or setting typed with its own quotes (`'base neutral'`, `"accent" red`, `'"base": "neutral"'`, `'padding: 8px'`) as that setting, never as words of the name. A setting `new` takes no option for points at the parts it is written on (`how '8px padding'`), in place of a `set` line `set` itself refuses. `undo` by a held value with a scope typed ranks the settings by how much of that scope they share, so `undo t red --on toggle-button` leads with a toggle-button setting rather than a whole-theme one.
|
|
36
|
+
- `astryx experimental theme editor` contrast-checks the button style (`buttons soft` and `outline`) like any other change: the primary button's text on the fill it draws, or on the page and surface where it draws none, in each mode, with the nearest readable color as its line, instead of a "not checked" note.
|
|
37
|
+
- `astryx experimental theme editor set <theme> padding '5px 0' --on dropdown-menu` (or any part whose padding Core reads inside `calc()`, where one length is all that works) now offers the sides it means. Before, it offered a pointer to `how` for two lengths, and for three or four lengths (or two variables) one line with the first value only, such as `padding 2px`, which dropped the other lengths. Now it offers `padding-block 5px` and `padding-inline 0` for two lengths, `padding-top`, `padding-inline` and `padding-bottom` for three, and each side for four, each with the length you typed for it. A repair gate fix lets such a refusal offer three or four side lines together.
|
|
38
|
+
- `astryx experimental theme editor`: the cached part data is keyed by a fingerprint of the code that builds it (the census source and every file it imports), beside the installed Core, so any change to that code builds it again; there is no version number to bump by hand.
|
|
39
|
+
- `astryx experimental theme editor`:
|
|
40
|
+
- The part data reads overlays drawn open: a tooltip, a popover, a hover card, and the lists a menu's button or a selector's field opens, which render on the server as markers alone, so `how tooltip` names what it paints and the menus group is checked.
|
|
41
|
+
- A fill set on a part says which fills Core gives its variants and states it now covers (a checked box's accent, a primary button's), with the line that changes only the fill at rest and the lines that fill one variant or state; a later color change says where the part's own fill keeps it from reaching.
|
|
42
|
+
- `corners more` from round steps to half as round again before pill, and `corners less` from pill back.
|
|
43
|
+
- A border color the theme sets is held to 3:1 against what it sits on in each mode.
|
|
44
|
+
- `astryx experimental theme editor` names more of what a change leaves unchecked or unreached: a part's text color for a state (a selected nav item's) is measured on the fill the part draws in that state, with the nearest readable color as its line; a color the base theme writes as its own accent rather than the accent token (butter's blue links and outline buttons) is listed under missed once the accent moves, with a line that points it at the accent; and a fill made from a status token the theme's status color does not reach (an error toast's red after the danger color is set) is listed, with a line that gives it the theme's status color.
|
|
45
|
+
- A change lists every custom property whose built value moved, in the JSON and the text: `changedTokens` keeps the theme's own tokens, the page included, and a new `changedPartTokens` lists the tokens the built stylesheet sets on parts (a readable text color on a selected row), each by its rule and mode, read from the stylesheet before and after the change. A dial that moves many tokens at once (vibrancy, a font) lists them all.
|
|
46
|
+
- `astryx experimental theme editor`: one check for the token values a theme's own source gives, run by `show`, `set`, `undo` and `compile`, each refusing with the same message and writing nothing. A `[light, dark]` pair holds exactly two values in quotes (one, none or three is refused). Values from an imported module or written as an expression (`'ban' + 'ana'`, a template) are checked as a build evaluates them, naming the line. A second `tokens` key is refused, naming both lines (JavaScript keeps only the last). A family list in one pair of quotes is refused in the file as `set` refuses it (the browser reads it as one family by that whole name). The `typography` fields are checked: a family is one family name (the rest go in `fallbacks`), the scale's ratio is above 1 and at most 4, its base a positive size.
|
|
47
|
+
- `astryx experimental theme`:
|
|
48
|
+
- Custom properties that read each other are refused at their line: a token and a local token reading one another, and a part's own custom property reading itself.
|
|
49
|
+
- A pseudo-class after `::search-text` (`:current`) or `::scroll-marker-group` is accepted. A pseudo-element inside `:is()`, `:where()`, `:not()` or `:has()`, a pseudo-class after `::highlight()`, and `:window-inactive` after any highlight but `::selection` are refused. A pseudo-element near a known one (`::befor`) is refused as that one misspelled; one missing from the CLI's selector data and near none (`::column`, `::scroll-button()`) is noted as possibly newer than the CLI, and built.
|
|
50
|
+
- A misspelled vendor property (`-webkit-line-clmap`, `WebkitApperance`) is refused, with the vendor property it is near.
|
|
51
|
+
- A value read from another file through array or nested destructuring (`const [first] = arr`, `const {a: {b}} = cs`) is blamed on that file and line.
|
|
52
|
+
- A null value is warned at its line and the theme keeps working, while a boolean, NaN, an object or an array, which mean nothing in CSS, are refused. The warning says what it builds: a null property leaves the base theme's value; a null token is kept by the browser as the token's value, so most properties that read it act as if they were not set (text keeps the surrounding color, a background goes transparent) and a font family reading it falls back to the browser's default font.
|
|
53
|
+
- `astryx experimental theme editor how`: a color dial made lighter or darker steps from the color it grows its shades from, its saved color, else its token where that is a color of its own. "make the neutral color darker" no longer offers `neutral '#000000'` (a gray seed grows the same shades, so it changed nothing) nor an exact `--color-neutral` that turned every see-through neutral fill opaque; it says why and what to name instead. An exact-token alternative keeps the token's own strength.
|
|
54
|
+
- `astryx experimental theme editor set`: a color set with no `--mode` in a one-mode theme (`dark-only`) is saved for that mode, as it is built, so setting the theme back to both modes keeps it in its mode instead of painting the other mode with it, and a color saved for the other mode (the half a toast or a lightbox reads) is kept. An undo with no `--mode` removes that color.
|
|
55
|
+
- `astryx experimental theme compile`: the app copy guard reads paths as the build does, so an `--out` written with backslashes or through a link into an editor theme's copy is refused, and a copy file named with backslashes is answered with the theme to compile. A file of yours in the copy folder, without the editor's mark, compiles like any theme source. Refusals run from a subfolder suggest the compile from the app root. The note on fonts named but not loaded follows the font stylesheet this compile writes, and the copy's font file no longer says the system has a font no package loads. A check held up by a file of yours names it and never sends you to a command that does not move it.
|
|
56
|
+
- `astryx experimental theme`: the editor reads which theme a source defines from the export a build of it loads, so a helper theme exported beside the real one is refused before anything is written, and a name given by a const or a `//` inside a string no longer counts as damage. Font notes, the previews and the app copy load fonts for the families the theme builds, from one list. `compile` refuses an `--out` in the theme's own folder (other than its default stylesheet) before writing anything; an `--out` elsewhere says that the theme's folder and its app copy were not written or checked (`appCopySkipped`). A pointer to compile from the app root leaves off an `--out` the root cannot reach, and a family refusal from a subfolder suggests a compile that runs. Suggested commands stay bare in JSON (`astryx …`), as the text output starts them the way the project runs the CLI. The compile doc says what compiles.
|
|
57
|
+
- `astryx experimental theme`: the editor judges a theme's source by the theme a build of it loads, its name and the theme it extends after every spread and repeated key, so a spread or a second `extends` that replaces the settings is refused, a spread const or a namespace import of the settings is accepted, and a helper theme read first is named with how to make the build read the theme. `compile` takes an `--out` as the theme's default stylesheet only when it is that same file, refusing a name that differs only in case on a case-sensitive disk and a folder form of the stylesheet before anything is written; builds a source named through a folder link under its own path; says in JSON what the app copy write did (`appCopy`, `appCopyStale`); names the Fontsource package for an editor theme's fonts. Every suggested compile passes the same checks before it is shown. Fonts follow every family the build writes, a part's own font included. A module that imports a file beside the theme keeps the app copy as it was and says why. A change of mode on a theme the app lists names `theme add`.
|
|
58
|
+
- `astryx experimental theme compile`: a compile or `--check` of an editor theme whose source no longer imports or extends its settings, or names another theme, is refused with the same message `set` gives, so it never writes another theme's files or drops every setting. The app copy's font stylesheet imports the installed `@fontsource` package of every family the built theme uses, the theme's own source included, and compile's note on fonts named but not loaded follows it. A theme build counts the families the theme's own font stylesheet beside its source loads (the app copy's), so a build of the copy's source no longer names them as unloaded. A blank or whitespace-only `--out` is refused.
|
|
59
|
+
- `astryx experimental theme editor how`: a part word matches only as a word of its own, never as one half of a hyphenated compound, so "field-service app: large bold text, thick borders" is the whole theme's ask, not the inputs'.
|
|
60
|
+
- `astryx experimental theme editor`: the contrast check reads gradients, and `how` reads side nav section headings as the sections.
|
|
61
|
+
- Text on a gradient background is measured against each of its color stops, the worst one counting; a background with an image, or a stop with no fixed color, is listed as not checked.
|
|
62
|
+
- `how` reads "sidebar section headings" as the side nav's sections, whose title is drawn inside them, and says which inner parts an inherited text property also reaches.
|
|
63
|
+
- `how <part>` says what the part is, from its component's doc.
|
|
64
|
+
- `astryx experimental theme editor`: the contrast check measures what draws the text. A toast's text on Core's media surface reads the on-dark or on-light color, so a low one is a problem with a fix that sets it; a color given as a theme token (`var(--token)`) is measured as that token's value in each mode; and text on different parts is a problem for each part, so following one fix line no longer turns up the others as new.
|
|
65
|
+
- `astryx experimental theme editor` fixes contrast problems at their source: a whole-theme text color too faint in many places gets one line on that token, the nearest color that reads everywhere it was too faint, instead of one line per part; a pale status or accent fill gets the nearest darker color that stands out from the page as its line; and a failure the base theme draws itself is said by `show`, not after every change.
|
|
66
|
+
- `astryx experimental theme editor`: every contrast problem is listed in the JSON (`newProblems`, `openProblems`, `problems`); the text shows the first eight and counts the rest. A change's new problems are the ones the settings before it, read as the change reads them, did not have, so a base or part saved in other letters no longer loses the check or lists old problems as new. A fix line sets what draws the text: a plain `color` that wins over a token, else the text token, scoped to the variant the text is drawn in, so following it clears the problem; text written straight in a part with its own `color` is measured against the part's fill. `show` says a saved base in other letters reads as the base; an entry with a thing and no value gets its `undo` line; a dial name in other letters (`Corners`, `MODE`) is the dial; a theme typo on a step back with nothing to undo offers `show`; and `new`'s set repair for a theme it did not make follows its `new` line as the next step.
|
|
67
|
+
- `astryx experimental theme editor` contrast checks judge what the page draws, and every fix line fixes its problem without making another:
|
|
68
|
+
- A fix line keeps the scope of the change it answers: after a setting with `--only`, its line carries `--only`, so following it changes the part named alone.
|
|
69
|
+
- The text typed in an input (its value, or its placeholder) is measured on the input's fill like any other text, with a fix line.
|
|
70
|
+
- Text that sits on a part whose variants draw different grounds (a heading on the app's header) is measured on each variant's ground, and its fix line names that variant, so a fix for one leaves the others readable. A new problem on another ground is named as new.
|
|
71
|
+
- A base theme's own text color on a part (butter's nav item) is what is measured, before a text token set on the part around it; a line that would change nothing on the page is not offered, and a problem no single line can fix (the same text on grounds that need opposite colors) shows with no line.
|
|
72
|
+
- `show`'s `missed` list offers only lines set takes: a part whose filled variants set cannot name is left out, never given a question.
|
|
73
|
+
- `astryx experimental theme editor`: the source, descriptor and font stylesheet of a theme's app copy (`src/themes/<theme>/`) name the exact command that writes them in their first comment, `astryx experimental theme editor show <theme>`, so a missing or stale copy is fixed with that command; the built `.css`, `.js` and `.d.ts` keep the build's header.
|
|
74
|
+
- `astryx experimental theme editor set <theme> corners <value>` now gives `--radius-chat` back to the container radius (`var(--radius-container)`, Core's own default), so chat surfaces (the composer, its drawer, message bubbles) follow the theme's corners instead of keeping the chat radius the base theme pins (28px on most bundled themes).
|
|
75
|
+
- `astryx experimental theme editor`: `corners rounded` is offered the `round` rung first, as the English word says, then Tailwind's 4px: on most bases 4px alone is sharper than the corners already are.
|
|
76
|
+
- `astryx experimental theme`: a font family name is read as CSS reads it, so an escaped name (`Gill\ Sans`, `"\5FAE\8F6F\96C5\9ED1"`) is a family, never a font file. A family the theme holds in its own property and reads with `var()` counts as a family it builds: the app copy loads its installed package and compile names it until then. `compile` gives the note `show` gives when the theme's own type tokens do not show on phones, and that note's fix for a weight is a rule for the same screens, which keeps it. The full report of an editor theme wires its app copy (`theme add`), not its editor folder.
|
|
77
|
+
- `astryx experimental theme editor`: the sample card's buttons wrap to a second row when a theme's buttons are wider than the card (butter's and matcha's padding, a bolder weight, roomier spacing or a larger text size), so the preview never cuts their labels short. With `--png`, text the sample page's pictures still draw cut short (a label that ends in an ellipsis or runs past the edge of a box that clips it, such as badges at a large text size) is measured in the page by the browser that takes the picture and named in `set`'s and `show`'s results, as a note and as a problem. The problem's fix line is `flex-shrink 0` on the part, offered only when the browser measured it drawing every label whole; otherwise it says that line does not. A theme whose pictures cut nothing short says nothing.
|
|
78
|
+
- `astryx experimental theme editor`: a settings entry whose mode is written in other words (`Dark`, `night`, `Light`, `day`) is read as dark or light, and one whose source is written in other letters (`Dial`) or missing is read from the thing (a dial, a `--` token, a part property). A note says how each was read, and the next change saves it that way, so no command is blocked. An entry whose mode or source means nothing is refused with the undo that removes only that entry first, and the step back, which loses the last change, second. When a theme name is typed as a path (`./t`, `themes/t`), the `set`, `undo` and `compile` with the theme's name is checked by that command before it is offered, with every repair in the one line; an `--out` outside the working folder is dropped, and the reason says why.
|
|
79
|
+
- `astryx experimental theme editor how`: "the today date in the date picker" says why nothing is written in one line (the date picker's calendar is the plain Calendar, drawn in the layer it opens, so a change there reaches every calendar) and names the line that changes every calendar's today day instead. `set` with a CSS property and no `--on`, given a value labeled with a part (`'card: #eeeeee'`), offers that value on that part.
|
|
80
|
+
- `astryx experimental theme editor`: heading colors, the page background, gradients per mode, and background values with many variables.
|
|
81
|
+
- `color … --on heading` (also per level with `--when level:N`) is written as the text color tokens the heading's color prop reads, on headings only, so it shows; `how` answers "headings in the accent color" with it.
|
|
82
|
+
- The page behind your parts is painted by `app-shell`: `--on page` (or `body`) is refused with the `app-shell` command, and `how "page background"` offers `--color-background-body` for a color and `background … --on app-shell` for a color or a gradient. Setting `--color-background-body` no longer says it changes nothing where Core's own page styles read it.
|
|
83
|
+
- A gradient background can differ between light and dark: `background '<gradient>' --mode dark` paints each of its colors in that mode only, beside the other mode's layers.
|
|
84
|
+
- A background value with more than three variables (`color-mix()` with `var()` and a stop position, layered dots) is read as CSS, as the same value with plain colors is.
|
|
85
|
+
- `astryx experimental theme editor` notes a destructive button a person cannot tell from the primary one (a pastel pink accent beside the soft salmon destructive fill: their fills close in OKLab), with the line that draws the destructive button in the theme's danger color. It is a note, not a problem: it fails no contrast.
|
|
86
|
+
- `astryx experimental theme editor`: what it is given is read as meant and checked.
|
|
87
|
+
- A dial typed as a flag (`set <theme> --corners round`) is refused as a dial typed with dashes and offered as the dial (`set <theme> corners round`), never an empty token list.
|
|
88
|
+
- A token value your `<theme>.theme.ts` gives that `set` refuses (`'--radius-page': 'banana'`) is checked by the same rules: `show`, `set` and `compile` refuse it, naming the token and its line, before anything is built.
|
|
89
|
+
- The theme typed as its module name (`brandTheme`) is the theme `brand`, never a second theme.
|
|
90
|
+
- A light and a dark color on a part's color (`background 'light: #fff; dark: #000' --on card`) is written as that property's `light-dark()` pair.
|
|
91
|
+
- A JSON object of settings passed to `set` gives one set line per entry.
|
|
92
|
+
- A font stack with escaped quotes (`\"Inter\", sans-serif`) is read as the stack.
|
|
93
|
+
- A state a part lists in camelCase (toggle-button's `isPressed`) is taken in any spelling, and `pressed` suggests it.
|
|
94
|
+
- A `mode` or `base` entry inside the settings list is named by `show` as doing nothing there, with the `undo` that removes it.
|
|
95
|
+
- A pasted line with two declarations (`accent: red; text-size: 18`) sets the first and says the second was not set, with its own set line.
|
|
96
|
+
- `astryx experimental theme editor`: a dial whose number is in pixels takes that number typed with its unit, in any letters and with a space before it, so `set t text-size 24px` sets 24 as `set t text-size 24` does; undo, `new --text-size` and a saved `20px` read it the same way. A size past the dial's range is refused naming the value as typed.
|
|
97
|
+
- `astryx experimental theme editor`: the part data records what a divider's line paints (its color per variant and its thickness) as the divider's own, so `how` makes a divider fainter, thinner or darker through the color and width its line reads, and thinner or thicker steps from the thickness it shows now.
|
|
98
|
+
- `astryx experimental theme editor how`: an icon read as the element of a place ("the chevron in selects", "the close icon in dialogs") takes its color, never a box behind it; a part said right before its separators ("the dropdown separators", "the context menu separators") owns them; an element after, before or next to a part's text ("the icon after the button text") is that part's.
|
|
99
|
+
- `astryx experimental theme editor`:
|
|
100
|
+
- An element named in, of or after a part ("the checked indicator in checkboxes", "the indicator in selects", "the knob of switches", "the tabs' indicator", "the hovered item in menus in cards", "today's date in the calendar", "the highlighted option in the selector") is the part that place draws it as: the place itself by its name, a part named after it, a lexicon phrase said owner first, a part drawn inside it, or the one whose own state the words name, never the place or every element in it. "The buttons' icons" are the icon tokens on the buttons.
|
|
101
|
+
- An element its place has no part of its own for ("the close button of toasts", "the hovered item in the context menu", "the today date in the date picker", whose calendar the part data draws closed) writes nothing, and the answer says why.
|
|
102
|
+
- A state read from the part and not said ("the dot in radios") is let go when the element has none.
|
|
103
|
+
- "The checked and disabled checkbox" is the box in both states at once, in the part's own order; `--state isPressed+hover` on a toggle button is taken (Core marks isPressed with aria-pressed); "highlighted" names the highlighted state.
|
|
104
|
+
- What a line inside a part draws is each part on its element (a dropdown menu's own divider draws its separators), and a part whose paint is a line takes the divider answers: "the menu separators red" is `--color-border` on the menu's own divider, those separators only. PART_DATA_VERSION 24.
|
|
105
|
+
- A token a variant never reads is refused with a line that keeps the state and the mode asked.
|
|
106
|
+
- `astryx experimental theme editor`: the input cleanup follows through. Quotes are mapped only where they delimit a value (curly quotes of one kind in any shape, such as „Inter“ or ‚Inter‘, «», ‹›, full-width quotes and backticks around a font name become straight ones, and a curly quote left unpaired is the straight one it stands for), and a quoted CSS string keeps what it holds, curly quotes, no-break spaces and a `;` included; a saved value is checked the same way, and quotes around a value are named as such. An entry pasted from JSON (`"accent": "#e11d48"`, `{"accent": "#e11d48"}`) or with copy debris (a trailing comma, a stray quote or bracket, a leading `=` or `:`, a second declaration after a `;` outside quotes) is read as the value; a quoted dial value suggests that value; a dash-like character inside a token name is its hyphen; `textSize` and `text_size` are text-size. A font stack is read as families: a trailing comma is dropped, a stack wrapped in one more pair of quotes is unwrapped, and an empty family is refused. `--mode` is cleaned like a value, and a near typo keeps `--mode` in the suggestion. A saved dial value with stray spaces, quotes, other letters or a pasted `corners: pill` is offered cleaned, read by the same input cleanup as typed values; a theme folder holding only empty folders counts as empty for `new`; a mistyped theme name in set or undo (`T`, `themes/t`, `./t`) suggests the same command with the theme's name.
|
|
107
|
+
- `astryx experimental theme editor how`: an exact amount ("half", "double", "a quarter", "a third", "3 times", "25% bigger") of a part's font size, line height, letter spacing, opacity, width or border width is that factor of what the part has now, never a fixed step; "3 times bigger" is an amount, never a 3px value; "double the border width" doubles it (no double-line style, no width cap); "half as round" scales the radius there now; a quarter of a padding or gap with nothing to read is a step down, said to be a step; a group's own name ("checks") is read as that group; an amount with a state ("on hover") scales that state's value and keeps the state; a dialog's header is the dialog header, not the app's top bar (likewise a card's or a dialog's footer); and the part "everything except cards" leaves out keeps the value it has now.
|
|
108
|
+
- `astryx experimental theme editor`: input readers keep what was typed.
|
|
109
|
+
- A family the editor does not know that is near a generic or a preset (`Inder`, `Monaspace`, `Serifa`) is offered the near name and the family as typed in quotes, which keeps it as written; never only another font.
|
|
110
|
+
- A comma between two bare numbers that a property pairs with a slash (`aspect-ratio 16,9`) separates them: `16 / 9`, never `16.9`.
|
|
111
|
+
- A saved entry whose thing differs in case or spacing, or whose value is a number, and a saved font value set repairs (`Inter 16px`), are offered set's repair beside the undo.
|
|
112
|
+
- A base reads in any of its names (`neutral-theme`, `neutralTheme`, `neutral theme`, its package) in set, new and the settings file alike.
|
|
113
|
+
- A list item that is only weight, style or size words (`Inter, bold`) is no family: refused with the families and the weight or size line.
|
|
114
|
+
- A JSON entry's string quotes are JSON's, for a font list too (`{"font": "Inter, serif"}`).
|
|
115
|
+
- `astryx experimental theme editor` and `compile`: the families a part's `font` shorthand in your `<theme>.theme.ts` names last get the family check `fontFamily` gets (a comma missing before a generic family, a quoted generic), refused with the file and line.
|
|
116
|
+
- `astryx experimental theme editor`: a weight word at the end of a font family's name is part of the name (`Arial Black`, `Archivo Black`, `Segoe UI Semibold` are taken as typed) unless the whole name is no family the editor knows and the name without the word is (`Inter ExtraBold` is Inter and a weight); a weight number (`Inter 600`) is never part of a name. The Segoe UI weights Windows ships as families of their own are on the system font list.
|
|
117
|
+
- `astryx experimental theme …`: settings reach the build, and fonts load as the theme shows them.
|
|
118
|
+
- A theme source that spreads the `defineTheme` result and replaces its `components` (`{...defineTheme(…), components: {}}`) is refused by name, as one that replaces its tokens is: a part setting would be saved and never built. Give your own components inside `defineTheme({…, components: {…}})` instead.
|
|
119
|
+
- Italic text (`font-style: italic`, or `italic` in a `font` shorthand) loads the installed package's italic stylesheets beside the upright ones (`400-italic.css`, a variable package's `wght-italic.css`), so the browser no longer draws a slanted copy.
|
|
120
|
+
- Noto Sans, Noto Serif and Noto Sans Mono are named system fonts of Android, ChromeOS and Linux, and Cantarell, Ubuntu and Ubuntu Mono system fonts of Linux, so a system font stack that names them is not told it needs a package.
|
|
121
|
+
- A heading weight given with no type scale is offered `editor set <theme> headings <weight>`, which changes only the heading weight. The hint no longer says to add a type scale, which would also resize all text. A weight number outside 1 to 1000 is no longer echoed as the example.
|
|
122
|
+
- `astryx experimental theme …`: the settings file and pasted forms are read as typed input. A saved setting whose `on`, `when` or `state` is not text (`"when": 5`, `"on": {}`), or whose part is empty, no longer makes every command fail: it is refused as a damaged setting with an undo line that removes it. A set of headings replaces a saved headings entry whose axis names no half, so later commands work. A saved base written `None` (in any letters) is no base, and the file's own field names in other letters (`Like`, `Settings`, `Mode`) are those fields. A pasted entry's field spelled as its flag (`"--on": "card"`) is that field, and a pasted change line with the `→` arrow, a label before its colon, or a label and colon with no old value keeps the label as the mode. An empty pasted object points to the dials and the help. `undo t 'accent red'` reads the setting and its value as set does. A swapped setting and value whose setting is misspelled (`set t pill cornres`) gets the swap line.
|
|
123
|
+
- `astryx experimental theme editor …`: for a setting the settings file lists twice by hand, undo accepts either value it holds (`undo t accent red` or `blue`), removes every entry, and its result names each value removed (`alsoRemoved` in `--json`); a value it does not hold is refused naming the one the build reads. `show` notes a field the settings file writes twice (`like` and `Like`), as a change does. A token name whose word is a part the editor knows (`--color-text-link`) is no longer repaired by spelling to another token (`--color-text-pink`).
|
|
124
|
+
- `astryx experimental theme editor …`: a saved twin of a setting in other letters (`accent` and `Accent`, `--color-accent` and `--Color-Accent`, `background-color` and `Background-Color` on a part) is that setting listed twice, which a set or undo of it fixes, instead of a refusal saying `Accent` is no dial. A field a saved setting writes several ways, none of them the editor's (`On` and `--on`, `thing` and `setting`), is read once from the first, with a note, and the next change writes it once. A saved field the editor does not read (`modes`) is named, with the field it is a typo of. An entry pasted in the saved form without a value (`undo t '{"thing":"padding","on":"card"}'`) is read by its thing.
|
|
125
|
+
- `astryx experimental theme editor`: a radio's circle (a part with a checked state, a square box and corners at 50%) is no corner. The corners dial on its group leaves it, in the build as in `show`; the dial on the radio alone is refused (it changes nothing you see) with the line that does set its shape (`set <theme> border-radius 0 --on radio-indicator --only`); `how` offers that line for "make radios square" and answers "rounder checkboxes" with the checkbox alone.
|
|
126
|
+
- `astryx experimental theme editor how`: "focus ring color like the links" (or "the same as", "match") sets the focus ring's color from that part's own color token, theme-wide unless a part is named before it, instead of a ring width on that part. An amount of padding on a part with no padding to take it of says the answer is one step, not an exact amount.
|
|
127
|
+
- `astryx experimental theme editor`: a family whose last word the editor knows as itself (`Inter Tight`) is no weight typo and is kept; a misspelled style word (`Inter Bold Itallic`) is answered as the exact words are; any weight number after a known family (`Inter 650`, `Inter 6OO`) is read as a weight; and a value holding `NaN` or `undefined` is refused at set, naming the value, never left to fail the build.
|
|
128
|
+
- `astryx experimental theme editor set … font`: a number after a family the editor knows is read as CSS reads it, a weight from 1 to 1000 (`Inter 450.5`, `Inter 50`) and any other number no family (`Inter 1500`), never saved as a family of that name; a word with another first letter is no typo of a weight word (`Inter Night`, `Inter Right` are kept); and a font role in other letters (`--on Body`) is answered as that role, never as the app shell.
|
|
129
|
+
- `astryx experimental theme editor set <theme> font`: a family no package loads is named with the install line of the Fontsource package its name maps to (such as `@fontsource/press-start-2p` for Press Start 2P); once installed, the previews and the app copy load it like any font package.
|
|
130
|
+
- `astryx experimental theme editor set … font`: a weight or style word typed with a typo after a family the editor knows (`Georgia Blod`, `Inter semibld`, `Courier New Itallic`) is read as that word and refused with the family and weight lines and the name kept as typed, never saved as a family of that name. A typo of a font preset inside a list (`Robto, sans-serif`) is read as the preset, as it is alone.
|
|
131
|
+
- `astryx experimental theme editor`: the font dial reads every weight or style word after a family, each through the one typo limit (`Inter Bold Itallic`, `Inter Tihn`), and offers the family and headings lines for them as for the exact words. A `new` refused for its name keeps the repair of a font the font readers refuse (`--font roboto` for `--font Robto`). The note on a family near a system font with a weight word (`Arail Bold`) names lines set takes: the family, and the headings weight.
|
|
132
|
+
- `astryx experimental theme editor`: fonts Apple ships on iPhone and iPad as well as the Mac (Apple Color Emoji, Helvetica Neue, PingFang, Hiragino Sans, Avenir Next, Futura and others), and `-apple-system`, are noted as shipping only on Apple platforms (macOS, iOS and iPadOS), not only on macOS. Mac-only fonts (Monaco, Lucida Grande, Geneva, `BlinkMacSystemFont` and others) are still noted as macOS only.
|
|
133
|
+
A comma before three digits on a millisecond time (`transition-duration '1,000ms'`) is a thousands mark, as on a pixel length, so the repair is `1000ms`, not `1.000ms`. On rem, em and seconds it stays a decimal point (`1,125rem` is `1.125rem`).
|
|
134
|
+
- `astryx experimental theme`: a font family maps to its Fontsource package as Fontsource names it: a `<Name> Variable` family to `@fontsource-variable/<name>`, which loads it once installed, and other characters dropped (`Mrs. Sheppards` is `@fontsource/mrs-sheppards`). No package is suggested for a font a system ships on any platform (such as Microsoft YaHei or PingFang SC) or a name Fontsource cannot publish. An installed font package loads every weight the theme uses (a stylesheet per weight, as Fontsource ships them), in the app copy and the previews. The font dial takes a CSS-escaped family, as tokens do. `compile --check` names a missing output in its check result.
|
|
135
|
+
- `astryx experimental theme`:
|
|
136
|
+
- `editor show`'s `missed` list frames only what draws a box: a part with no filled box at rest in any variant (a ghost toggle button, a menu row) is borderless on purpose, and with the border width at zero nothing is missed for want of a border.
|
|
137
|
+
- `preview app`'s font note names only weight sheets a Fontsource package can have: a weight between two hundreds (650) is drawn from the two around it.
|
|
138
|
+
- `preview app` refuses a theme that imports a Sass, Less or Stylus file, which the new app does not build, naming the import, before writing anything.
|
|
139
|
+
- `preview app` names an entry called node_modules or a version-control folder as left out whether it is a folder, a file or a link, and the note on a link says to copy what it leads to.
|
|
140
|
+
- `astryx experimental theme editor`: a color or timing function typed with commas and no spaces (`rgb(255,0,0);`, `hsl(210,50%,40%) !important`, `cubic-bezier(0,0,1,1);`) keeps its repair line: a comma is read as a number mark only outside parentheses. `font 'Inter ExtraBold'` offers `font Inter` and `headings heavy`, the rung nearest the weight in any form the weight table reads.
|
|
141
|
+
- `astryx experimental theme editor`: a hand-edited settings entry the editor refuses is offered only commands that unlock the theme. A `headings` value saved with no axis is its weight half, so `set <theme> headings <weight>` or `undo <theme> headings` replaces or removes it; a `mode` or `base` entry put in the settings list is removed by `undo <theme> mode` (or `base`), and no `set` line is offered for it (those set the theme's own mode and base).
|
|
142
|
+
- `astryx experimental theme editor`: one reader takes every settings file and undo step. A null or other non-object entry gets the file refusal, never a crash, and the step back it names works. A damaged mode or base is read as meant by a change and recorded that way in the undo step, so undo works and the history is kept; `like: "none"` is no base. The folder names the theme: a missing or changed `name` in the file is the folder's. A headings value under the wrong half, an unknown half, or a half on another dial is refused with the undo that works, and a half listed twice offers `set <theme> headings <word>` lines that work. A dial listed twice by hand: set names every entry it replaces. A part in other letters or misspelt with `--only` gets the command on that part, `--only` kept. A did-you-mean follows the one typo rule (nothing for one to three letters). The theme-name rule, dashes included, is stated from one text in every refusal and in `new`'s help. `more` or `less` at a dial's last step is refused with the other way. A built-in theme that is not installed is offered with its install line first. A value saved in another form (corners in rem, a fractional text-size) leaves the build current for `compile --check`. `preview <word>` leads with a subcommand the word is a typo of, and offers a theme's pages only for a theme here.
|
|
143
|
+
- `astryx experimental theme editor`: text of a part that sits in the app's top bar is checked over the header's background. A part with a see-through background of its own (a segmented control's track, a ghost button, a top nav item) shows the header through it, so a dark header now warns when those labels do not read on it, including the light/dark/system switch the in-app preview puts in its top bar, which looks the same in an app.
|
|
144
|
+
- `astryx experimental theme editor how` holds its answers to what the theme shows now:
|
|
145
|
+
- a bound already passed the way the words ask ("input borders thinner but at least 2px" at 1px, "the corners rounder but at most 4px", "borders thicker but no more than 0px", "the text bigger but no bigger than 12px", "the line height bigger but at most 1.2", "card padding smaller but no less than 64px") changes nothing and says so, never moving the value the other way; a part's border width is read from the token its border reads, and a way beside a bound on a length the part does not have ("cards wider but at most 300px") writes nothing;
|
|
146
|
+
- "headings tighter" is the headings dial's letter spacing, one rung from where it is, and "but no tighter than -0.01em" holds it there instead of changing the whole theme's spacing;
|
|
147
|
+
- "buttons 4px taller" reads the part's height, and "8px wider" its inline padding, half on each side;
|
|
148
|
+
- "selected rows lighter" steps the token Core paints a selected row with, in the mode named;
|
|
149
|
+
- "the header the same color as the sidebar" takes the page color a part with no fill of its own shows;
|
|
150
|
+
- "more colorful" and "less saturated" on a one-mode theme answer with the first vibrancy that moves the accents it shows the way asked;
|
|
151
|
+
- a value question on a one-mode theme tells the mode it shows, and says a mode it never shows has no value;
|
|
152
|
+
- "the accent color but lighter", "the danger color but darker" (with or without a comma before "but") make that color lighter or darker in each mode on a fill or a border, as on text;
|
|
153
|
+
- "the sidebar the page color but darker", "the header the card color but darker": the color of the part named after another is read and stepped, never changed itself.
|
|
154
|
+
- An experimental theme command with more than three examples opens its `--help` with "Start here:" and its first three examples, before the options, so the first step is visible without reading every option. The full "Examples:" section stays after the options, as in every command's help.
|
|
155
|
+
- `astryx experimental theme editor how` now reads these asks the way they are said:
|
|
156
|
+
- **Amounts with a softening word go the right way:** "three times as soft" is a third of now and "half as soft" is twice as strong. "Corners half as small" makes them twice the size.
|
|
157
|
+
- **"Exactly 36px high"** is a height of 36px.
|
|
158
|
+
- **"…and the text bigger"** changes the theme's text, not the part named before it.
|
|
159
|
+
- **A border color on a part** keeps only the colors Core gives a status or focus. It no longer pins every variant back to its old color, so the new color shows on every variant.
|
|
160
|
+
- **A part made more transparent or fainter** moves from what it shows now: a disabled button's 0.5 opacity goes lower, never higher. Each variant's fill fades from its own color, in the state asked, and the part never gets a line it does not draw.
|
|
161
|
+
- `astryx experimental theme editor how` checks every command it suggests against the question: the command must make the kind of change the words ask for (a color for a color ask, a radius for a corner ask, padding or a size for a size ask, a border width, a weight, an opacity or a shadow), move the way they say from the value there now, and reach none or 0 for a removal. A command that does not is left out, and the answer says plainly what it could not work out; a value you typed is always taken as given.
|
|
162
|
+
- `astryx experimental theme editor how` says what it writes. The words an answer repeats no longer end on a bare "when" once a state is read, and part names take their plural ("switches", never "switchs"); a keep said first ("keep the switches and the background …") ends at a whole verb. A color said as how something looks now ("too bright blue", "is still gray") is never written as the value, and a color said against the one it replaces ("navy, not bright blue") is one ask with no line about the other. Two parts listed with a word describing the second ("the info banner and draft badge") share the ask. A near color off a pure one ("never pure white") takes the theme's own neutral. A one-line look keeps its page, text and font ("green text on black, monospace"), and "text on black" reads the color under the text as the page.
|
|
163
|
+
- `astryx experimental theme editor how`:
|
|
164
|
+
- An app's own pasted CSS variables (`--brand-primary`, `--brand-bg`…) are read by the role their name ends in. "<color> text on a <color> page" sets the text and the page separately.
|
|
165
|
+
- "luxury fashion brand: black and ivory" no longer reads black as the accent. On a dark-only theme, the page color takes no mode.
|
|
166
|
+
- Glass words ("frosted glass", "glass cards") set `surfaces glass`. "tight dense spacing" gives tight spacing. "gridlines" are table cell borders. "big buttons" makes the buttons bigger.
|
|
167
|
+
- "bottom border 1px #49454f" sets only the bottom side. "1px border rgba(…)" keeps the width. "dialogs with a 1px border" gives the dialog an edge of its own.
|
|
168
|
+
- "bigger, 17px" uses 17px, while "like 1 or 2 px" stays an example. "badges uppercase bold" runs both changes in turn.
|
|
169
|
+
- When a typed fill would leave a part's text below 4.5:1, a line beside it gives the text a color that reads in that mode.
|
|
170
|
+
- `astryx experimental theme editor how --help` lists the kinds of ask a question in plain words can be, each with examples it answers with commands (examples labeled "Asks how understands": a dial, a part's property by an amount or a value, a direction, a comparison, everything except some parts, a prohibition, one mode, a removal, several changes, a question about a value). A question it cannot answer points to that list, and `--help` is the first of its next commands.
|
|
171
|
+
- `astryx experimental theme editor how`: borders made more or half as transparent change their color, never their width; two theme colors joined before one way ("the accent and danger darker") each take it; a ring said without focus ("cards: 1px ring #e5e7eb") is a ring at rest, a box-shadow in front of the part's own shadow (which stays), while a focus ring stays the focus ring; "the toggle group's buttons" are toggle buttons, never switches, and "the date picker's days" are the calendar's days; and an unknown word right before a part or after its possessive ("the zorp card", "the button's foo icon") is said and nothing is written.
|
|
172
|
+
- `astryx experimental theme editor how` reads a clause that only states a bound on a part, such as "never make buttons rounder than 12px", as a limit on the asks said with it, before or after them. The bound never becomes an ask of its own, and it never gives its part to those asks. Each answer that would build the part past the bound holds it there: it sets the part's own token after the answer's steps and says so. An answer that already keeps the part within the bound says that too.
|
|
173
|
+
- `astryx experimental theme editor how`: "inline", "block", "horizontal" and "vertical" name a padding side only beside the padding they qualify ("inline padding", "padding-inline", "padding 8px vertical"), never as a word of a part's name, so "inline code padding 4px" and "block quote padding 8px" set every side of that part.
|
|
174
|
+
- `astryx experimental theme editor how` now:
|
|
175
|
+
- moves only the control height of the size named when one is ("make the small buttons 4px taller"), on the part;
|
|
176
|
+
- reads a possessive owner's own element ("the dropdown menu's items") as that element, never the owner;
|
|
177
|
+
- treats a later "the shadows softer" or "the corners rounder" as a change to the theme's shadows or corners, never to the part named before.
|
|
178
|
+
- `astryx experimental theme editor how`: a color bound ("darker but never darker than #1e40af") holds every color an answer writes, a color dial's seed included, and a see-through tint is held by its own color with its transparency kept, never turned into the opaque bound color. A part named on, inside or in a container ("links on cards") has its token set on that container, so it changes there only; one that cannot be kept there says so instead of changing it everywhere. "Outline buttons red" gives the outline look with the main button in red, never a border on every filled button. "All text 50% transparent" and "the text half transparent" set the theme's text colors at that opacity. A part's padding is read on its own pieces only (a table's cells, never a command palette inside a dialog), for value questions and comparisons alike.
|
|
179
|
+
- `astryx experimental theme editor how`:
|
|
180
|
+
- "the buttons the color of the links" fills the buttons with the link color, instead of turning their text the accent color.
|
|
181
|
+
- A part's fainter or muted text, said with an owner ("the card's muted text") or a place, is that part's secondary text. "the card's fainter text lighter" changes how light that text is, not its transparency.
|
|
182
|
+
- "the row hovered and selected" means the row in both states at once; neither state is dropped.
|
|
183
|
+
- `astryx experimental theme editor how`:
|
|
184
|
+
- "the card's fainter text red" colors the cards' secondary text. A color after an ask on a part's text applies to that text ("the card text bigger and red"), and "fainter and red" gives a faded red.
|
|
185
|
+
- A word for a look before a part ("the borderless buttons", "the text-only buttons") means the button variants drawn that way, not a border to remove.
|
|
186
|
+
- "the destructive button the primary button color" uses the primary button's fill.
|
|
187
|
+
- "the dialog title red" colors only the title, not the subtitle.
|
|
188
|
+
- "a third darker", "darker by a third" and "half as dark" are read as the amount said, and "a third as strong" shadows are labeled softer.
|
|
189
|
+
- "the input's error border" means the error version of the input.
|
|
190
|
+
- `astryx experimental theme editor how` now decides one way, for every clause in an ask, which part it changes, in which state, and in which mode:
|
|
191
|
+
- **Part:** a clause that names no part changes the part before it only when it adds to that part. That covers "with a 2px border", the part's own colon list ("cards: white background, 1px border"), "and darker", a state of the part ("; when focused a 2px ring"), and the part's own text color ("buttons blue, white text"). A font, text size, spacing or "surfaces" clause, a new sentence, or a comma item with its own look ("big buttons, thick borders") changes the whole theme. A page's text is the theme's text.
|
|
192
|
+
- **State:** "when off" on a switch changes its resting look and keeps the checked one, instead of changing every state.
|
|
193
|
+
- **Mode:** "in dark mode:" at the start of a sentence covers every clause in it. A mode said at the end of a run covers the run. Light/dark pairs never reach across a sentence.
|
|
194
|
+
- **Light and dark colors:** on a theme with both modes, a color that one mode can't carry is not written to that mode. This applies to a light fill whose dark-mode text would not read on it (cards, a button variant, a banner, a selected row), a dark card, and a light border. A color word said for dark mode ("subtle gray in dark mode") becomes that color's dark tone. Each answer says so.
|
|
195
|
+
- **Wording fixes:**
|
|
196
|
+
- "green text on a black page" now sets the page black and the text green.
|
|
197
|
+
- "muted text" and link colors that the dark page can't read go to light mode.
|
|
198
|
+
- "navy buttons" leaves alone the variants whose text would vanish.
|
|
199
|
+
- "softer corners" now means rounder.
|
|
200
|
+
- **Show's missed list:** a suggestion from show's missed list never contradicts the ask, and it comes after the ask's own answer.
|
|
201
|
+
- `astryx experimental theme editor how` answers more consistently:
|
|
202
|
+
- **No rounding anywhere:** "no rounding anywhere", "square corners everywhere" and "… badges and switches too" also square the parts drawn as pills (`--radius-full 0px`), and the answer names those parts.
|
|
203
|
+
- **A part and an aspect with no change** ("toast background") say what to look at instead of "No match".
|
|
204
|
+
- **Thick borders on everything:** "thick black borders on everything" sets the shared border width and both border colors (inputs draw the emphasized one). It also adds a border to the surfaces that draw none (dialogs, popovers, menus). "thick borders" moves the width one pixel up.
|
|
205
|
+
- **Status and focus colors:** a border color written on a part keeps the colors Core gives it by status and focus (an error input's red border, the focus border).
|
|
206
|
+
- `astryx experimental theme editor how`:
|
|
207
|
+
- What a color is read on is the background, not the thing changed: "the warning color darker so it reads on the page" darkens the warning color until it stands out 3:1 against the page.
|
|
208
|
+
- A page color's second line also paints the main panel drawn over the page. Asking for the page color alone leaves the main panel as it was.
|
|
209
|
+
- "table header text uppercase 12px" keeps the 12px as the text size.
|
|
210
|
+
- "when inputs are focused, a 2px ring" is the inputs' focus ring.
|
|
211
|
+
- "only a bottom border" removes the other sides. "A slightly darker bottom edge" darkens that side's color only.
|
|
212
|
+
- "all text at least 7:1" checks the main, secondary and accent text.
|
|
213
|
+
- "large text" and "small text" make the text larger or smaller. "grayscale" and "no color" set vibrancy to 0.
|
|
214
|
+
- In a look typed as one line, "deep green" is a deep green, and a quiet color like sand becomes the neutral. "A theme that works in dark mode" no longer limits the colors to dark mode. "The app should open in dark mode" points to `<Theme mode="dark">`.
|
|
215
|
+
- A purpose ("so readers see which page they are on") is never read as a part. "Make text more readable" makes the text larger. "Headings a bit lighter" moves one weight step. A color named before a part ("the brown content area") describes how it looks now.
|
|
216
|
+
- `astryx experimental theme editor how`: a color word is the theme's own shade where the theme has a family for it. Grey (gray, neutral) is a shade of the theme's grays, which every theme has, and another hue a shade of the palette family of that name; the shade is the one nearest the word's usual color, in each mode. A hue the theme has no family for, or a word with a shade before it ("light grey"), keeps its usual color.
|
|
217
|
+
- `astryx experimental theme editor how`: "2 steps more", "3 steps rounder" and "2 spacing units more" are that many steps (never a 2px or 3px value, never a "step" part); "avatars 24x24px" sets their width and height; a warmer or cooler accent moves only its hue (and says so when the accent is a gray), never the neutral grays; "headings 2-4" and "h2 to h4" change only those levels, each from its own size; variant words after except ("except transparent ones", "except success ones") keep that variant's own fill, never an overlay; a semi-transparent background is the part's own fill (never an overlay) mixed with transparent; "primary button text the same color as the secondary button text" takes that variant's own color; "bigger than 4px" goes past the bound from the value now, or says the part is already past it; and the answer check measures a part's color in the variant a command writes.
|
|
218
|
+
- `astryx experimental theme editor how` judges a dial step by what it does, never by its own word: "more washed out colors" answers `vibrancy less` again. A typed value waives the way only for what it writes; every other value is still measured the way asked.
|
|
219
|
+
- On a theme that draws both modes, `astryx experimental theme editor how` now sets a clearly dark card or surface color ("cards #0f1011", "dark cards") for dark mode only, so light mode never gets a dark card under dark text. If the same ask also gives that part its own text, as in "a navy header with white text", the look applies in every mode. A clearly light whole-theme border color ("borders #e3e8ee") is set for light mode only, so dark mode keeps its own border. Each answer says so and shows how to set the other mode too.
|
|
220
|
+
- Fixes in `astryx experimental theme editor how` for themes that draw both light and dark modes, and for some common wordings:
|
|
221
|
+
- **Page and surface colors:** a clearly light page or surface color (typed or named, such as "cream background" or "white cards") is set for light mode only, and a clearly dark one for dark mode only. The other mode keeps its own color, so its text stays readable. The answer says so and shows how to set the other mode too. A one-mode theme, or an ask that says "in both modes" or "everywhere", sets it for both.
|
|
222
|
+
- **A part hidden by a new fill:** when a part inside the one being filled would end up nearly the same color as the new fill (a primary button in a navy header), the answer names it.
|
|
223
|
+
- **Link colors:** a link color one mode's page would make unreadable (a dark blue on the dark page) is set for the other mode only, and the answer says so.
|
|
224
|
+
- **Prohibitions:** "never use pure black for button text" moves the button's text off black where it is black, instead of writing black.
|
|
225
|
+
- **Later clauses:** "make everything more compact", "text color #303030", "; 14px text", ", larger text", "; roomier spacing" and "; main text #f7f8f8" said after an ask about one part change the whole theme, not that part. A page's text is the theme's text, never the page.
|
|
226
|
+
- **Trailing modes:** a mode said at the end of a run of clauses on one part ("… white with a 1px border and a small shadow in light mode") applies to the whole run. In "black with white text in light mode and white with black text in dark mode", each half keeps its own mode and its own fill.
|
|
227
|
+
- **Size words:** a size word before the thing changed ("a small shadow", "large padding") sets the amount. It no longer picks the part's size variant.
|
|
228
|
+
- **Show's missed list:** a fill or text color the ask gives now comes before a line from show's missed list.
|
|
229
|
+
- Fixes in `astryx experimental theme editor how`:
|
|
230
|
+
- **Status text weight:** a status part's text weight ("the error banner's text bold") is set under that status.
|
|
231
|
+
- **A part inside another part:** "the dialog buttons" and "the toast buttons" mean the buttons inside that part. A part kept to a place ("menu items in the dialog", "tabs in the card") writes nothing and says why, unless a token on the place holds the change.
|
|
232
|
+
- **One size named:** "the medium buttons 36px tall" sets only that size's own control height. If the part data shows no control height for the size named, nothing is written. An icon's size is reported as unreachable, and the button is left untouched.
|
|
233
|
+
- **More sizes and heights:** "The small buttons taller" steps that size's own height. "The selectors 4px taller" moves each size's height. A height on the inputs ("24px tall") is set through the heights the inputs read, so they can shrink, while a text area keeps its rows. Parts inside another part ("inputs in cards") are kept to that part or not written at all.
|
|
234
|
+
- **Borders:** a thicker radio or checkbox border no longer offers one color for every state.
|
|
235
|
+
- `astryx experimental theme editor how` checks that a write shows what the question names. A state, a mode, a typed color, a removal, an except, or the thing to change (a shadow, a border, corners, padding, an on-color) that is said in a clause but missing from every step means the clause was not read. Nothing is written, and the answer says what was read and what was not. For example, "card shadows at 30% opacity" no longer fades the whole card, and "on-accent text black" no longer changes the main text color.
|
|
236
|
+
Other readings:
|
|
237
|
+
|
|
238
|
+
- **Excepts said first:** "except cards, …", "other than …" and "apart from …" before the ask are read as excepts.
|
|
239
|
+
- **Lists with articles:** "the blue, the green and the red ones" names each item.
|
|
240
|
+
- **Removals:** "remove X from A and Y from B" removes both.
|
|
241
|
+
- **Kept states:** a kept state keeps what Core draws there ("tabs blue except the selected one").
|
|
242
|
+
- **States on part anatomy:** a state goes to a part of the part's own anatomy only, never to sample content.
|
|
243
|
+
- **Examples:** a "for one, add --when" example stays in the answer's words. It is never listed as a step.
|
|
244
|
+
- **One-word removals:** "borderless", "un-outlined" and "shadowless" are removals.
|
|
245
|
+
- **"Ones" in a list:** "primary buttons and the ghost ones" names both.
|
|
246
|
+
- **Mode pairs:** "the accent darker in dark mode and lighter in light mode" answers both halves.
|
|
247
|
+
- **Keeps said as unchanged:** "…, buttons unchanged" is a keep.
|
|
248
|
+
|
|
249
|
+
`set` reads an option written after `--` with the reason and the line without `--`. `undo` reads an unquoted list of settings ("undo t accent, corners and spacing") the same as a quoted one.
|
|
250
|
+
|
|
251
|
+
- `astryx experimental theme editor how` keeps excepts apart truly:
|
|
252
|
+
- **Excepts on another axis:** an except on another axis ("buttons blue except the small ones") says it cannot be kept apart. Before, it said there was nothing to keep, and the excepted buttons changed anyway.
|
|
253
|
+
- **Comma-led excepts:** an except set off by commas is kept, as one with no part named is.
|
|
254
|
+
- **Excepts after a list:** a part-less except after a list reaches every part of the list.
|
|
255
|
+
- **Kept parts of a group:** a part of a group kept from a one-mode or status step is pinned in each status and mode of that step.
|
|
256
|
+
|
|
257
|
+
Other readings:
|
|
258
|
+
|
|
259
|
+
- **Mode pairs:** a mode pair is one subject wherever its part is said ("the text darker in dark mode and lighter in light mode on cards").
|
|
260
|
+
- **Text already at its limit:** text that is already as light or as dark as it goes says so, instead of answering "no match".
|
|
261
|
+
- **Heading levels:** "keep h1" is a keep.
|
|
262
|
+
- **Neither/nor:** "neither a border nor a shadow" reads its articles.
|
|
263
|
+
- **Removals:** "from menus and from tooltips" takes the thing of the item before it.
|
|
264
|
+
- **Lists of parts:** every ask after a list of parts reaches each part.
|
|
265
|
+
- **A second ask with only its value:** "rounder and red" and "bold and red" are two asks on the same part.
|
|
266
|
+
- **Neither/nor with parts as the subject:** "neither cards nor dialogs should have shadows" removes the shadow from each part, and "… should be rounded" squares each one.
|
|
267
|
+
- **Excepting an item of a list:** an except naming one item of a list leaves that item out of the change.
|
|
268
|
+
- **Modes said first:** "in dark mode …, in light mode darker" answers both halves.
|
|
269
|
+
- **Indicators:** "indicators" are the check and radio indicators.
|
|
270
|
+
- **"Every" in removals:** "remove every shadow" reads as "all shadows".
|
|
271
|
+
|
|
272
|
+
- `astryx experimental theme editor how` now judges a kept look by what it draws. In "make the inputs bolder but keep the error inputs as they are", the error inputs had no weight rule of their own. Now `how` writes back the weight they inherit and answers, instead of refusing. A kept variant that draws no border in any of its looks ("remove the border from cards except the muted ones") is kept without writing a border back on it. A word between a part and what changes that names no part, state, variant, aspect, color or known modifier ("the card zorp border") now gets "no part or word called zorp", and nothing is written.
|
|
273
|
+
- `astryx experimental theme editor how` guards its answers, so a phrasing it was never taught gives a named refusal instead of a wrong write.
|
|
274
|
+
**Guards:**
|
|
275
|
+
|
|
276
|
+
- **Direction:** an ask that makes something fainter, less visible or more see-through, or removes it, never adds or strengthens a border, outline, ring or shadow anywhere. A way asked of a line never adds one to a look Core draws without one. Each such step is left out and named.
|
|
277
|
+
- **Keeps:** every kept scope is held after the whole in-order sequence, and that sequence runs the except with its keeps.
|
|
278
|
+
- A compound except keeps that variant in that state only.
|
|
279
|
+
- An except's mode or state stays with its own clause.
|
|
280
|
+
- Several excepts, each with its own mode, are each kept in that mode.
|
|
281
|
+
- **Questions:** a question with no clause that asks for a change never writes.
|
|
282
|
+
- **Unknown parts:** an unknown part is said, never read as the whole theme or given the part said before it.
|
|
283
|
+
|
|
284
|
+
**Readers the guards point to:**
|
|
285
|
+
|
|
286
|
+
- **Fainter borders:** a fainter border is its color at a lower alpha. A part that draws no border says so.
|
|
287
|
+
- **See-through text:** see-through text is the text colors at a lower alpha, never the page.
|
|
288
|
+
- **Focus rings:** a see-through focus ring is its color at a lower alpha.
|
|
289
|
+
- **Table row dividers:** thicker row dividers are the width token the cells read, set on the row.
|
|
290
|
+
- **Blur:** "blurrier" shadows have more blur, not more strength.
|
|
291
|
+
- **Removal lists:** the items in the middle of a removal list keep its thing.
|
|
292
|
+
- **Links in a place:** links in a place take the link token set on that place.
|
|
293
|
+
- **Outline buttons in a color:** outline buttons in a color get no fill, with that color as their border and text.
|
|
294
|
+
- **A held theme color:** a bound holds a theme color's dial and keeps a tint's alpha.
|
|
295
|
+
|
|
296
|
+
- `astryx experimental theme editor how` reads every shadow color through the one shared color reader, so themes that write 8-digit hex shadow colors (butter, chocolate, gothic, matcha, stone, y2k) get an answer to "make shadows darker", "make shadows lighter" and "the shadows are too strong", each color's alpha scaled in the form it was written.
|
|
297
|
+
- `astryx experimental theme editor how` checks a kept look against what it drew before, wherever Core wrote it (beside the variant and size), and compares a color token by name. A status except on inputs ("make inputs blue but keep the error border", "remove the border from inputs except error inputs") now answers on every base instead of being refused. An input that has no error look of its own takes no pin. In an except or a keep, "invalid" is the error status.
|
|
298
|
+
- `astryx experimental theme editor how` reads "like" and "as" as a comparison only in comparison forms ("as round as buttons", "the same padding as cards", "rounded like buttons", "like the dialogs are"): "make components like dialogs and drawers rounder" changes those parts, and "use red as the button background" sets that value. A lighter or darker color role steps its dark half the same way from its own value, and the answer check holds colors (text and borders for contrast in dark mode) and sizes to the asked way in both modes. "A light tint of the accent" is the accent mixed with transparent, never the full accent.
|
|
299
|
+
- `astryx experimental theme editor how` reads more of each ask:
|
|
300
|
+
- **Links in a container:** "links on cards", in a mode pair too, sets the token a link reads on the card, never app-wide. Before, one half of the pair changed card text instead of links.
|
|
301
|
+
- **Lookups:** every lookup is a command that runs.
|
|
302
|
+
|
|
303
|
+
Other readings:
|
|
304
|
+
|
|
305
|
+
- **Removals:** in "the shadow from dialogs and popovers", the items after the last "from" join it.
|
|
306
|
+
- **"Give neither … a thing":** "give neither the cards nor the popovers a border" removes the border from both.
|
|
307
|
+
- **Compound excepts:** "except the disabled secondary ones" keeps that variant in that state only.
|
|
308
|
+
- **An ask after an except:** "taller except the large ones and bolder" answers both asks, for every part of the ask.
|
|
309
|
+
- **Lists matched to a reference:** "the header and the sidebar the same color as the page" matches each item to the page.
|
|
310
|
+
- **An except said before its ask:** "all text except headings red" reads as one ask with its except.
|
|
311
|
+
- **Steps that change nothing:** a step that changes nothing is left out of an in-order sequence and named there. The rest still runs.
|
|
312
|
+
- **Step counts:** "2 steps rounder" stays two steps in the sequence.
|
|
313
|
+
- **Keeps after a comma:** "…, keep h1 and h2" is a keep.
|
|
314
|
+
- **Shadow excepts:** "remove every shadow except on cards" keeps the shadow tokens on the card, so elevated cards keep their shadow.
|
|
315
|
+
- **A color in a keep:** "keep disabled ones gray" names the look they keep, not a variant.
|
|
316
|
+
- **Excepts in one mode:** "except in dark mode" stays with its own clause, and "except the dialog in dark mode" leaves the dialog out in dark mode only.
|
|
317
|
+
- **Prohibitions of a look:** "never use rounded corners on buttons" before an ask keeps the buttons.
|
|
318
|
+
- **Tone words for text:** "card text dark in light mode and light in dark mode" reads dark and light as colors.
|
|
319
|
+
|
|
320
|
+
- `astryx experimental theme editor how` reads a whole look typed as one line ("a calm, Linear-like dark theme with a violet accent", "cream background, terracotta accent, serif headings", "a high-contrast compact enterprise theme in navy"):
|
|
321
|
+
- Each part it understands gets its own line: the theme's mode, a named color for the accent or the page, density, contrast and fonts. A color on its own ("navy") is the accent.
|
|
322
|
+
- Words that no setting covers ("calm", "Linear-like") are listed as not used.
|
|
323
|
+
- Design color names are understood (terracotta, sage, rust, mustard and others). A blue-gray is a gray with a little blue in it.
|
|
324
|
+
- A complaint describes how a part looks now ("the error toast is too bright red; make it calmer"). "calmer" makes a color less saturated. "the main content area" names the page's main panel.
|
|
325
|
+
- A status color on one part ("the info banner navy") also offers that status color for the whole theme.
|
|
326
|
+
- "sharper corners, almost square" gives small corners.
|
|
327
|
+
- "the accent text #0033aa" sets the accent text color, not the main text.
|
|
328
|
+
- "a rounded font" is a typeface and leaves corners alone. A color typed with "off-white" wins over it.
|
|
329
|
+
- "light only", "dark only" and "no dark mode" set the theme's mode.
|
|
330
|
+
- "a right-to-left app" explains that Core mirrors itself once the app sets `dir="rtl"`, and changes nothing.
|
|
331
|
+
- `astryx experimental theme editor how`: "<part> match the theme" answers with the lines `show` lists for that part under missed (what the theme's own changes should have reached on it), each checked as set checks it, and says so when nothing was missed. A color named like another part's ("grey like the dialogs", "the same grey as the page") is that part's color, read from it, and the other part is never changed. "Hard", "no blur" and "flat" shadows keep their offsets with no blur, never no shadow.
|
|
332
|
+
- `astryx experimental theme editor how` measures more of its answer: every variant and state a touched part shows (and only the mode a one-mode theme shows), the base theme's own rules for a variant, a kept variant in every state, and a painted background whichever way it is written; the plain answer of a clause with an exception is held to the exception too. A part whose variants read colors of their own ("button text darker", "buttons lighter") gets one step per variant from its own color, in each mode. It also answers: headings smaller (each level's own size when the type dial would change weights), "the text 2px bigger", "the card border 1px thicker", sizes written "48px by 48px", heading ranges for any property ("headings 1 through 3 bolder") and an excepted level ("all headings red except h1", which keeps h1 as it is), a heading level past 6 (said), "the dialog the same color as the page" (the page's own color; the page is not changed), "no shadow and no border on dialogs" (both on that part), "0 steps more" (nothing), "everywhere except", a backdrop more see-through (a lower alpha), a dialog shadow darker, lighter or with no blur from the shadow it has, "remove the card background" (transparent), "thicker borders" from the width there now, a token pointing at another token, a dark-only theme's accent from its dark value, "rounder cards without shadows", "slightly lighter than black", and value questions about a part's font, shadow, opacity and fill, in the variant and mode they name.
|
|
333
|
+
- `astryx experimental theme editor how` measures its answer before it gives it: each suggested command is built in memory with the theme (the same build `set` makes; nothing is written), and the values the touched parts show, in light and dark, must change the kind of thing the question asks, the way it asks (a lighter fill is lighter in both modes, while text and borders step for contrast, so in dark mode they go the other way; a removal reaches none), while parts it excepts, compares against or forbids show the same values. A command that does not is left out, and the answer says plainly why. It also reads "besides", "save for", "but keep X as they are", "X excepted" and "without changing X" as except; "as well as" as and; "compared to" and "versus" as comparisons; "don't let X get smaller" and "never round the inputs" as keeping X; "X shouldn't be so small" as an ask; "remove the padding and border" as two removals; "black on secondary buttons" as text; "less sharp" and "less thick" as their opposites; value questions about space, gap, shadow, background and font size, and a question followed by an ask; a setting pasted with a colon as its lookup; "heading text lighter"; "the focus ring lighter" as its color; and a lighter or darker accent in both modes.
|
|
334
|
+
- `astryx experimental theme editor how` and `set` handle one-mode and scoped asks more exactly.
|
|
335
|
+
- **Shadows per mode:** a part's shadow given for one mode keeps every layer the part shows. Their colors stay in the other mode and go transparent in this one, and the new layers' colors show in this mode only. Each mode paints exactly what it did, or what was asked. `set` still takes `--mode` only for colors.
|
|
336
|
+
- **Core's shadow layers:** a part whose shadow Core builds from layers of its own (a card's selection ring and elevation) keeps those layers under a theme's shadow, so a card shadow, or a shadow of none, never drops the ring.
|
|
337
|
+
- **One-mode removals:**
|
|
338
|
+
- "remove card borders in dark mode" makes the border color transparent in dark mode.
|
|
339
|
+
- "no shadows in dark mode" makes the shared shadows transparent in dark mode only.
|
|
340
|
+
- A border width in one mode is refused, with the reason and the border-color line that does work.
|
|
341
|
+
- **Mode words:**
|
|
342
|
+
- Mode words name a mode, never a direction: "darker in light mode" is darker.
|
|
343
|
+
- A mode word that scopes another ask ("more colorful in dark mode") never changes the theme's modes.
|
|
344
|
+
- **See-through colors:** a see-through role color, such as a 10% wash, stays see-through when it gets lighter or darker. A border made lighter or darker in a named mode reads that mode's page.
|
|
345
|
+
- **Role words:**
|
|
346
|
+
- "the accent text" is the accent text token, never the main text.
|
|
347
|
+
- "labels on accent buttons" are the accent-filled variant's labels.
|
|
348
|
+
- **Corners by a length:** a corner step in px starts from the radius the part shows. It passes `set`, and a pill stays a pill.
|
|
349
|
+
- **Gradients:** a gradient of one named color uses that color.
|
|
350
|
+
- **Keeps and excepts:**
|
|
351
|
+
- "…but keep the inputs" keeps the inputs.
|
|
352
|
+
- An except list keeps every variant, state and heading level it names ("except primary and ghost buttons", "except hovered or disabled", "except h2 and h3").
|
|
353
|
+
- **Headings:** headings made bigger never grow the body text, and headings by a px amount move each level.
|
|
354
|
+
- **Comparisons with the page:**
|
|
355
|
+
- "darker than the page" keeps each card variant apart.
|
|
356
|
+
- "as dark as the page" takes the page's color.
|
|
357
|
+
- **No undo of a removal:** a removal the theme already has is never undone.
|
|
358
|
+
- **Swaps:** a swap of two role colors swaps each mode, and a named mode swaps only its own colors.
|
|
359
|
+
- Fixes in `astryx experimental theme editor how`, mostly for themes that draw both light and dark modes:
|
|
360
|
+
- **Page color words:** a page color given as a word ("make it gray", "make the page pink") becomes that color at each mode's own page lightness. Before, one mid-tone page was used for both modes, under text that could not be read on it.
|
|
361
|
+
- **Borders:** a light border on a part keeps that part's own dark-mode border color (an input's emphasized border), instead of the theme's faint line.
|
|
362
|
+
- **Unchecked and unselected:**
|
|
363
|
+
- "when off", "unchecked" and "unselected" keep the checked or selected look as it draws (a switch's accent), instead of writing the off look back onto it.
|
|
364
|
+
- If the ask says the selected look itself ("selected tab text white, unselected tabs gray"), each look is written as said.
|
|
365
|
+
- **Reading the ask:**
|
|
366
|
+
- The color a complaint names ("the pink page background is a bit much, …") is how the part looks now, never a value.
|
|
367
|
+
- "X instead of outlined" takes that part's own outline away, never every border.
|
|
368
|
+
- "table header row" means the header cells.
|
|
369
|
+
- A ban on black text after a page clause is about the text.
|
|
370
|
+
- A state with a value ("primary hover #4338ca") no longer passes its state to the next clause.
|
|
371
|
+
- A token list item said subject first ("text #111827") is the theme's.
|
|
372
|
+
- **Button variants:** when a fill like "navy buttons" goes to some button variants only, the destructive button keeps its red, and the answer says so.
|
|
373
|
+
- **Color words for dark mode:** only a color word the ask actually says ("subtle gray in dark mode") is swapped for its dark tone. A color computed from a direction ("make the card background darker") is never swapped.
|
|
374
|
+
- **Links:** a link color under 2.5:1 on one mode's page is set for the other mode only ("dark red links").
|
|
375
|
+
- `astryx experimental theme editor how` reads a motion effect apart from a speed:
|
|
376
|
+
- **Effects:** "fade in tooltips" and "slide in dialogs" now say what the part does now, read from Core's own animations and transitions (the tooltip fades in already). Nothing is written: the editor sets how long motion takes, not which effect a part uses.
|
|
377
|
+
- **Speed:** "faster" and "slower" step the motion the part has (a tooltip's animation) from the time it takes now.
|
|
378
|
+
- `astryx experimental theme editor how` reads a negated word as what it says:
|
|
379
|
+
- **Negated words:** "un-rounded", "non-rounded" and "unrounded" buttons are square, and "un-bold" headings are regular. "border-less" and "shadow-less" are removals, with or without the hyphen.
|
|
380
|
+
|
|
381
|
+
Other readings:
|
|
382
|
+
|
|
383
|
+
- **Comparisons:** "as round as the accent" names nothing with a shape, so it is refused with that reason.
|
|
384
|
+
- **Removals:** a list of any length gives each item its own "from", so every item is removed.
|
|
385
|
+
- **Kept sizes:** "bigger except the small ones" keeps the small size only. When a keep would take the whole change back, the answer says so instead of reporting it as done.
|
|
386
|
+
- **Mode pairs:** the main text gets both halves of "darker in dark mode and lighter in light mode", as do typed colors per mode.
|
|
387
|
+
- **Heading levels:** "every heading except h1 smaller" leaves h1's own size token out.
|
|
388
|
+
- **Titles:** "dialog heading text" colors the dialog's own title.
|
|
389
|
+
- **Neither/nor:** "neither rounded nor bordered" negates both words.
|
|
390
|
+
- **Fully rounded:** "fully rounded" is the roundest rung.
|
|
391
|
+
- **Keeps said first:** "keeping cards, …" and "keep the accent, …" said first are keeps.
|
|
392
|
+
- **Except answers:** an except answer names the whole ask it belongs to.
|
|
393
|
+
- **Mode splits:** the second half of a mode split keeps the part phrase and its state ("selected tabs red in light mode and blue in dark mode").
|
|
394
|
+
- **Color words:** "dark gray in light mode" is a color, not a mode.
|
|
395
|
+
- **Excepts in one mode:** an except holds in a one-mode answer too.
|
|
396
|
+
- **Ghost buttons:** a hovered or pressed ghost button steps its own wash, never the primary's fill.
|
|
397
|
+
- **Check marks:** "check mark" is the mark drawn inside the box, colored with its text color.
|
|
398
|
+
|
|
399
|
+
- In `astryx experimental theme editor how`, a plain fill color asked of a part that has colored or status variants now changes only its neutral variants. "white cards" changes the default, transparent and muted cards, and "blue tags" changes the neutral badge. Each colored or status variant (the blue card, the success badge) keeps its own color. The answer names those variants and gives a line to change each one too.
|
|
400
|
+
A color that is worked out from another color, an answer that already keeps a variant apart, and a part whose variants are roles (a button's primary, secondary and ghost) are unchanged.
|
|
401
|
+
- `astryx experimental theme editor how` reads more phrasings through one shared grammar:
|
|
402
|
+
- **Keeping a part as it is:** "keep cards as they are", "leave inputs alone" and "don't touch the dialogs" all use one keep grammar, whether they come beside an ask or alone.
|
|
403
|
+
- **Density words:** cramped, airy, dense and the other density words come from one table that every density reading uses.
|
|
404
|
+
- **A fill's color after "with":** "selected table rows tinted with the accent at low strength" gives the selected state's accent wash.
|
|
405
|
+
|
|
406
|
+
`set vibrancy` now counts a color by whether its shades change. A warm or cool gray (neutral #78716c) takes vibrancy steps. A pure gray is refused, and the message names the color and says why.
|
|
407
|
+
|
|
408
|
+
- `astryx experimental theme editor how` reads each ask through its shared readers and holds every answer to what the theme shows.
|
|
409
|
+
- **Fills:** a fill of one color is written as `background-color`, so Core's hover and press tint stays.
|
|
410
|
+
- **Keeps and excepts:** one reader takes every way of keeping something as it is, in any position, and joins them into the ask's one except list. That covers "…, but keep cards as they are", "keep the dialogs as they are and …", "…, not the primary ones" and a second keep.
|
|
411
|
+
- A button group cannot be kept apart from the buttons in it, and the answer says so.
|
|
412
|
+
- A removed border kept when focused keeps its whole border.
|
|
413
|
+
- The shared border width is kept as the token on the part.
|
|
414
|
+
- **Amounts and bounds:**
|
|
415
|
+
- A decimal comma is a decimal ("1,5 times").
|
|
416
|
+
- An amount with a bound is held to the bound ("8px more but at most 20px").
|
|
417
|
+
- "Don't make X rounder than 8px" is that bound.
|
|
418
|
+
- **Removals:** "the X and Y of cards" stays on the cards, and "cards, buttons or inputs" names each part.
|
|
419
|
+
- **Asks with no change:** a swap is done exactly or not at all. A part and an aspect alone ("card corners") write nothing.
|
|
420
|
+
- **Modes:** "at night" and "night mode" are dark mode. A one-mode shadow on a part moves only that mode. A part that shows no shadow at rest takes a one-mode shadow. The `--mode` refusal for a shadow now says that its color can still differ by mode, through light-dark().
|
|
421
|
+
- **Colors and constraints:**
|
|
422
|
+
- "Never use pure white" moves only what is pure white.
|
|
423
|
+
- "With readable text" pairs a label that reads on the fill in each mode.
|
|
424
|
+
- Vibrancy is measured on the accent wash too.
|
|
425
|
+
- A typed color wins over a color word: a typed shadow color, and a typed color for text on the accent.
|
|
426
|
+
- "A lighter purple" is that hue's light shade.
|
|
427
|
+
- **Named dial rungs:** "make corners small", "spacing compact" and "text size large" are those rungs.
|
|
428
|
+
- **Comparisons and measured values:**
|
|
429
|
+
- "4px less round than buttons" is answered.
|
|
430
|
+
- A value Core writes from several tokens (a card's padding) is measured whole.
|
|
431
|
+
- A px amount on a part starts from the radius the part is built with.
|
|
432
|
+
- Variant pairs need two real variants.
|
|
433
|
+
- **No editor theme yet:** `how` starts from, and measures against, the theme the app shows now.
|
|
434
|
+
- `astryx experimental theme editor how`:
|
|
435
|
+
- A one-line look written as a list ("clean and trustworthy like a bank: blue and gray, lots of data on screen") takes each piece a setting reads and names the words none reads. "lots of data on screen" means compact spacing. "dark purple theme" sets dark mode and a purple accent. "at night" means dark by default, and "easy to read" means larger text. "pastel pink" is a light pink, "deeper blue" is a dark blue, and "red only for alerts" sets the danger color. "dark mode first" works like "dark by default".
|
|
436
|
+
- "make the blue a bit darker" changes the theme color with that hue.
|
|
437
|
+
- "buttons medium weight" sets a weight, not the medium size. "headings semibold, not bold" is one ask. "large bold headings" and "bigger, bolder headings" also make headings bigger. "table headers uppercase 11px" keeps the 11px. "use the system font" sets the font.
|
|
438
|
+
- A border asked for one mode on a part that draws its own shadow becomes a border whose color is transparent in the other mode.
|
|
439
|
+
|
|
440
|
+
`astryx experimental theme editor set`: a page background on the app shell keeps a background a setting gives the main content area, whichever was set first.
|
|
441
|
+
|
|
442
|
+
- `astryx experimental theme editor how` reads every list through one list grammar:
|
|
443
|
+
- **Variants and states:** a list of any part's variants or states names each item, whether it comes before the part ("blue, teal and red cards"), before "ones", with an Oxford comma, or after "when" ("orange when hovered or pressed"). A variant name in a list is never read as a color to paint.
|
|
444
|
+
- **Parts:** a list of parts ("buttons, cards and inputs rounder") gives each part the ask.
|
|
445
|
+
- **Excepts and keeps said first:** an except before the ask ("make everything except buttons rounder") and a keep said first ("without changing buttons, make everything rounder") are read as excepts of the ask. The change alone is no longer offered next to an except answer.
|
|
446
|
+
|
|
447
|
+
Other readings:
|
|
448
|
+
|
|
449
|
+
- **Parts:** A corners step on a group leaves out the members already at that end (checkboxes rounder leaves out the radios, which are fully round already). "Card titles" and "dialog titles" color their heading. A state that only a part's items take ("side nav selected items") goes to the items. "Outlined in <color>" is a border color. "Padded" is a spacing word, and "less padded" or "less roomy" is tighter. "Drop-down" reads as "dropdown".
|
|
450
|
+
- **Corners:** on a pill base, a kept variant keeps the base's pill.
|
|
451
|
+
- **Modes:** "in dark mode only" scopes the ask to dark mode, and never makes the theme dark-only.
|
|
452
|
+
- **Shadows:** asks how cannot measure get a true reason. A softer shadow on a part the editor has not seen drawn is refused. A one-mode card shadow change says the card draws no shadow of its own at rest.
|
|
453
|
+
|
|
454
|
+
- `astryx experimental theme editor how` reads more of each ask the way it is said:
|
|
455
|
+
- **Unknown part names:** a word that names no part, in the part's place ("the zorp padding", "from the blorp"), is named in the answer, never changed for the whole theme.
|
|
456
|
+
- **Status excepts:** an except by status ("except error inputs") keeps that status's border on each input that draws one. An input that draws no border of its own is left without one.
|
|
457
|
+
- **Fainter text on a part:** a part's text made more transparent, less visible or fainter is its text color at a lower alpha, never the part's opacity. A toast's text uses the on-dark and on-light colors its surface gives it.
|
|
458
|
+
- **Danger badges:** "danger badge" is the badge's error variant.
|
|
459
|
+
- **Separators:** "separator" is the divider.
|
|
460
|
+
- **Keeping the focus ring:** "and keep the focus ring" is a keep.
|
|
461
|
+
- **Outline buttons on hover:** "outline buttons blue on hover" colors the main button's outline in that state.
|
|
462
|
+
- **Tokens:** "tokens square" changes the tokens.
|
|
463
|
+
- **Text on a part:** in "the text on primary buttons 4.5:1", the buttons hold the text; they are not the background it is measured against.
|
|
464
|
+
- `astryx experimental theme editor how`:
|
|
465
|
+
- An "all of it, in order" answer leaves out any step that would change nothing on its own. Writing such a step would lock that setting in place, so a later dial change would not reach it.
|
|
466
|
+
- "no heavy shadows" removes the shadows without also saying nothing was written. "Heavy" before shadows or borders is about their strength, not the font weight.
|
|
467
|
+
- Asking for a text color a part already has says it is already that color, instead of giving an unrelated reason.
|
|
468
|
+
- `astryx experimental theme editor how` reads a see-through color's alpha with the one shared color reader, so an `rgba()`, `hsla()` or `#rgba` overlay gets more transparent or more opaque as asked, and the check measures it the same way. After a removal, a noun with an adjective ("rounded corners") is an ask of its own: "no shadow and rounded corners on cards" removes the card's shadow and gives it round corners.
|
|
469
|
+
- `astryx experimental theme editor how` answers from what the theme shows on bases with rules of their own. An except keeps what the part shows: a whole-theme corner change pins the corner token on the part (a button group keeps its square joins), each heading level or variant with its own value keeps it, and a kept hover keeps its fill under Core's tint. A one-mode theme answers only for the mode it shows and never adds a mode. A gradient takes the colors named, in order. A text-size step starts from the base's body size, a variant's own literal fill is stepped from, and "more colorful" keeps each mode's accent hue. "Darker than the page" holds the page as a bound in each mode. "Remove the card border and shadow" removes both, "no bigger than 4px" is a target, a part's own tokens and its base rules count in the measured check, lighter or darker text with a mode named is read the same way by the answer and the check, a shadow typed for one mode goes into light-dark(), a length typed with no way is never a spacing step, and a color clause after an ask ("focus outline on text inputs, pink #db2777") is that ask's color.
|
|
470
|
+
- `astryx experimental theme editor how` reads more questions through its shared readers:
|
|
471
|
+
- **Lists:** a two-item list of variants or states before a single ask names each one for that ask: "primary and ghost buttons rounder", "hovered and pressed buttons orange", in an except list too. "except disabled buttons" keeps that state. An except covers the whole ask before it. A prohibition said before the ask ("never round the inputs; make everything rounder", "don't make cards rounder, make everything rounder") is read the same as one said after it.
|
|
472
|
+
- **One-mode shadows:**
|
|
473
|
+
- A one-mode shadow on a part reads the shared shadows to their layers.
|
|
474
|
+
- It refuses with the true reason when the other mode is unknown, or when nothing of the part's own is there to remove.
|
|
475
|
+
- **Ringed parts:** a resting shadow, or its removal, is not offered on a part that draws its hover and focus rings in its box-shadow, in either mode.
|
|
476
|
+
- **One-mode lines:** a line the part already draws (a border, one side of it, an outline) takes its color by mode. When `set --mode` refuses such a line, it now names working steps instead of ones that repaint the other mode.
|
|
477
|
+
- **Accent colors:** on a theme whose modes show a color in different hues, or that shows only dark mode, a lighter, darker, warmer or cooler accent moves each mode's colors from their own values.
|
|
478
|
+
- **Swaps:** swapping two role colors also swaps their text, icon, wash and label colors in every mode.
|
|
479
|
+
- **Corners:** comparisons read the radius each part is built with (stone's pill buttons). A button group's corners step by a px amount.
|
|
480
|
+
- **Gradients:** gradients named by theme colors ("from the accent to the danger color") use those colors.
|
|
481
|
+
- **Hyphens:** a part or phrase written with hyphens or underscores ("focus-ring", "table_row") reads the same as with spaces.
|
|
482
|
+
- **Other readings:**
|
|
483
|
+
- A text-only part's color is its text color ("the top nav heading white").
|
|
484
|
+
- "What color is the header" answers its fill.
|
|
485
|
+
- "Bigger but no more than 20px" takes one step of the theme's scale, held to the bound.
|
|
486
|
+
- "Everything serif except headings" keeps the headings' font.
|
|
487
|
+
- "The hover tint stronger" changes the shared hover wash, not the page.
|
|
488
|
+
- "The body text 1px bigger" steps the text size.
|
|
489
|
+
|
|
490
|
+
`box-shadow none` on a card now also removes Core's elevation shadow. The selection ring stays.
|
|
491
|
+
|
|
492
|
+
- `astryx experimental theme editor how` reads a second item after a removal as a removal only when it carries its own removal word or is a plain removable noun ("no shadows and borders"); a noun with a comparative or an adjective is an ask of its own: "no shadow and rounder corners on cards" removes the card's shadow and makes its corners rounder, and "no border and bigger padding on cards" gives more padding, never none; the removal stays on the part named.
|
|
493
|
+
- `astryx experimental theme editor how` now writes nothing for an element named in a place it cannot be kept to ("the dialog's buttons rounder") and says why, instead of changing every such part. An answer that does hold in the place, such as a color token set on the card for "the card's links", still answers. A place's own element that Core draws on its own is answered on that element. "The controls 40px tall" and "all controls taller by 4px" move every control height together for the whole theme, each size by the same amount.
|
|
494
|
+
- Fixes to `astryx experimental theme editor how`:
|
|
495
|
+
- **A possessive owner of several words** ("the dropdown menu's separators") is read as where the change goes, and the menu is never painted. A part's own divider ("the menu separators") is Core's divider, so the answer changes every divider and says so, instead of refusing.
|
|
496
|
+
- **A height change in pixels** ("4px shorter", "2px taller") moves each control-height token the part reads, on that part only, so every size keeps its own height. A height value on inputs ("40px tall") is a minimum height only, since a text area takes its height from its rows.
|
|
497
|
+
- **An error or warning border made thicker** keeps the color it reads under that status.
|
|
498
|
+
- **A later clause about a role color or a dial** ("… and the accent darker") changes that color or dial. It never takes the part named in the clause before.
|
|
499
|
+
- `astryx experimental theme editor how`:
|
|
500
|
+
- "the cards rounder and the gizmo red" says there is no "gizmo" instead of painting the cards.
|
|
501
|
+
- "the buttons the same color as the links" uses the links' text color.
|
|
502
|
+
- "the dividers the card border color" uses the card's border color and leaves alone the divider color that already matches.
|
|
503
|
+
- "the muted text in cards fainter" fades only the cards' secondary text.
|
|
504
|
+
- "the table row dividers thicker and blue" changes the color and explains why the width stays.
|
|
505
|
+
- "never redder than #ff0000" is said to be unenforceable (only darker and lighter limits are held) instead of removing the cards' fill.
|
|
506
|
+
- "how round are the cards now?" reports a radius set on the cards themselves.
|
|
507
|
+
- `astryx experimental theme editor how`:
|
|
508
|
+
- A color named after another part uses that part's color in the status or variant you name: "the color of the error banner", "the same color as the success banner", "the color of the danger buttons". The other part is no longer changed, and the reference doesn't decide what changes: "cards the button color" fills the cards.
|
|
509
|
+
- "the buttons as round as the inputs" says they already match instead of offering a line that set refuses.
|
|
510
|
+
- Value questions read a base theme's own colors and any of a part's own options: "what color are error toasts?".
|
|
511
|
+
- "the card text 25% of its opacity", "a third fainter" and "transparent by 40%" are read as amounts on the text or border color.
|
|
512
|
+
- "the secondary text on cards lighter" changes the cards' secondary text.
|
|
513
|
+
- "them" refers to the parts named just before it.
|
|
514
|
+
- "remove the shadow from everything" no longer reads "remove" as a part name.
|
|
515
|
+
- A mode with a typo is read wherever a mode is named, including before a comma and in "(drak)".
|
|
516
|
+
- "the open select" uses its open state.
|
|
517
|
+
- "the active toggle button darker" changes the toggle in that state.
|
|
518
|
+
- Keeping a status or a focus ring as it is works per input type and in one mode.
|
|
519
|
+
- `astryx experimental theme editor how`:
|
|
520
|
+
- A fraction is read the way it's said, before or after the direction and in words or figures: "two thirds fainter", "fainter by a third", "1/3 fainter", "a fifth fainter", "a third more transparent". A fill made "20% more transparent" keeps 80% of its color.
|
|
521
|
+
- A color named after another part with its status or variant ("the error banner color", "the success badge color", "the color of the muted card", "the color of the destructive button") uses that version's color and changes the subject in full.
|
|
522
|
+
- A base theme's own style for a variant counts first: butter's transparent secondary button shows as transparent. A transparent fill used as a color gives the color it draws next (its outline).
|
|
523
|
+
- `astryx experimental theme editor how` reads more asks the way they are meant:
|
|
524
|
+
- A bound limits the asks of its own kind said with it. "never rounder than 8px; make the buttons and cards rounder" holds the buttons and cards and leaves the rest of the theme alone. "the cards bolder, but never rounder than 8px" still makes the cards bold. A size bound holds each heading size it would pass, and a part already past a bound is left as it is.
|
|
525
|
+
- A color bound said by its color alone ("darker in dark mode, at most #000000") keeps the ask's mode. A held color keeps its own hue. A color setting past the bound in one mode is written only for the other mode.
|
|
526
|
+
- A contrast ratio "on muted cards" or "on the muted background" is measured against that background.
|
|
527
|
+
- Amounts are read as typed: "20% fainter" (80% of the border's strength), "the card background more transparent" (its fill, not the whole card), and "the text 80% opaque".
|
|
528
|
+
- Questions answered from what the theme reads: a status banner's background, the focus ring's width or color, and how thick dividers are.
|
|
529
|
+
- Typed tokens with a direction ("--color-accent and --color-error darker") move each token from its own value.
|
|
530
|
+
- "the page rounder" and "the page font Georgia" change the whole theme, not the page background.
|
|
531
|
+
- "the emphasized border", "the muted text" and similar names change that border or text token.
|
|
532
|
+
- "dividers thicker and red" does both.
|
|
533
|
+
- "radio circles red" colors the radio's circle.
|
|
534
|
+
- "transitions faster" and "animations 1,500 ms" change motion.
|
|
535
|
+
- `astryx experimental theme editor how` reads more asks as meant:
|
|
536
|
+
- "the card text 30% fainter" lowers it by 30%.
|
|
537
|
+
- "twice as short", "half as tall" and "twice as tall" change each height the part reads by that amount, instead of one spacing step.
|
|
538
|
+
- "expanded" means the part's expanded state, and "pressed" a toggle button's pressed state (a button's press is still its active state).
|
|
539
|
+
- "what is the height of buttons?" and "how tall are the buttons?" are answered.
|
|
540
|
+
- "the button corners twice as tight" changes only the corners.
|
|
541
|
+
- An exact border width ("half as thick") leaves the borderless styles borderless, as "thinner" does.
|
|
542
|
+
- A mode with a typo that keeps its letters is read wherever a mode is named: "in drak mode", "ligth theme", "(drak)", "[dark only]".
|
|
543
|
+
- Typed tokens each with their own direction ("--color-accent darker and --color-error darker") work.
|
|
544
|
+
- `astryx experimental theme editor how`:
|
|
545
|
+
- A text part colored like a filled part uses the fill it shows: "the headings the color of the danger buttons", "the links the same color as the danger buttons". A named paint like "the error inputs' border" uses that paint.
|
|
546
|
+
- "the transparent buttons" means the button variant drawn with no fill, not a fill to remove.
|
|
547
|
+
- A role the part doesn't have ("the success toasts", "the selector's primary variant") gets a "no such type/variant" answer instead of changing every one.
|
|
548
|
+
- "transparent by a quarter" and "a quarter more transparent" on a part keep three quarters, and "the text fainter" works theme-wide.
|
|
549
|
+
- The focus ring of one variant stays on that variant.
|
|
550
|
+
- Two exceptions joined by "and" ("except the disabled ones and the error ones") keep each one.
|
|
551
|
+
- `astryx experimental theme editor how`: a part's value "equal to" (or "identical to") another part's takes that part's value, as "the same as" does, and says so when that part has none to read. "Make the text 4.5:1 against the page" moves the text until it measures that ratio against the page, which is never changed (links too); text that measures it already is kept. "Never taller than 40px" is a ceiling, like "no taller than". A color bound ("darker but not darker than #1e3a8a") holds every color the answer writes, mode by mode, or says the part is past it already; it is never read as the color asked for. A table's lines and padding are read on its cells: a border ratio sets the token they read on the table, and "how dense is the table" answers with their padding. "What is the shadow" lists the shared shadow steps.
|
|
552
|
+
- `astryx experimental theme editor how`: after a contrast ratio, the part named after "on" is what it is measured against and is never changed ("the input border 3:1 contrast on the card"). A status banner's text steps its own status's text color, as its background does. A part that reads a value from several tokens (a heading's weight, one per level) answers each value. The page is the whole theme for a dial ("the page density compact"), and its colors are its body colors, so "equal to the page background" and "as light as the page" read them. "As dark as dialogs" takes the dialog's fill. Striped table rows step the color Core paints the stripes with. "Outline buttons thicker" keeps the width change beside the outline look. A length bound on the corners dial ("never more than 8px") holds every radius the dial writes.
|
|
553
|
+
- `astryx experimental theme editor how` reads every removal lead ("no", "without", "remove the", "drop", "get rid of" …) from one shared list: "without shadows and rounder corners on cards" removes the card's shadow and makes its corners rounder, never every shadow in the theme, and "remove the border and bigger padding on cards" gives the cards more padding. A typed mode word such as "constructor" is never read as a mode.
|
|
554
|
+
- `astryx experimental theme editor how` reads a removal in a clause from the same shared list of removal leads as its rewrites ("strip", "nix", "scrap", "without the" included): "strip shadows from cards" removes the card's shadow, "nix the shadow and rounder corners on cards" removes only the card's shadow and makes its corners rounder, and "no shadows and borders on cards" removes both, as the "without" form does.
|
|
555
|
+
- `astryx experimental theme editor how`: "make the table row dividers thicker" writes nothing and explains why. The cells draw the row line at a width Core sets per render, so any width the editor could write would also thicken the borders of the controls inside the row (checkboxes, buttons).
|
|
556
|
+
- `astryx experimental theme editor how`: table row stripes are answered with the stripe itself where Core marks it on each body row (`--when parity:odd` or `parity:even`). "zebra rows", "striped tables", "alternate row shading" and "shade every other row" (the stripes' names are read from the doc of the prop that turns them on) stripe every data-driven table on Core's own (even) stripe with the theme's stripe color; an ask naming a stripe ("odd rows #f9f9f9") sets that stripe and clears Core's other stripe on striped tables; "no stripes on even rows" takes that stripe away. Before, "zebra rows" and "striped tables" said set had no condition for every other row, "alternate row shading" and "shade every other row" were not read as a fill, and "odd rows <color>" colored every row. `set --when` names `parity:odd`/`parity:even`, with a zebra-rows example.
|
|
557
|
+
- `astryx experimental theme editor how` reads a mode phrase as no way for the shadows: "make shadows darker in light mode" makes the light-mode shadows stronger. A light-only theme asked about dark mode (or a dark-only theme about light mode) is told it has only one mode, whatever form the shadow answer takes.
|
|
558
|
+
- `astryx experimental theme editor how` scales a named mode of a shadow written as one value by giving it a light-dark() pair, so "make shadows darker in dark mode" on themes such as chocolate or gothic changes the dark shadows and keeps the light ones. A shadow answer that would look the same as now (a color already at full strength) is not offered.
|
|
559
|
+
- `astryx experimental theme editor how` reads each ask through one shared reader and holds every answer to what the theme shows. A kept variant or state is pinned from the base theme's own rule (a kept hover keeps Core's tint, as a variant's fill is its background color). A color word before a part names that variant ("make blue cards rounder") or is refused when the part has none ("red buttons"). One removal-list reader takes "take away the card's border and shadow", "remove the card border, shadow and background" and "remove the dialog's shadow and the card border". "dark-mode" is "dark mode". "at most", "no more than" and "a maximum of" are limits, and a limit already met changes nothing. A button's radius is written as its corner token, so button groups keep their square joins. A one-mode shadow on a part that draws a shadow in the other mode (a card's selection ring) is refused. A part given a role color keeps a readable label in every variant. Vibrancy is measured on the accent colors the theme shows. State excepts ("except disabled", "keep disabled ones as they are") go through one state reader; an except set cannot keep, or a text size that differs by screen, is said, and the plain answer is not offered. A step aimed only at an excepted variant is left out. "Darker than the page" steps past the page in each mode; a page reference is never written. A link that reads a shared text color keeps it. "letter-spaced" is letter spacing, and "side nav section headings" is the side nav heading. A refusal's own command is offered when it does what was asked, and `--at` without a picture names a command that runs.
|
|
560
|
+
- `astryx experimental theme editor how` reads mode phrases, bounds, shadow strength and prohibitions each through one shared reader, and holds every answer to the measured check: "darker … in light mode" gets darker; "weaker" shadows get softer; "at least 2px", "under 40px" and "no bigger than 12px" hold the bound from the value now; "…, in dark mode" and "light mode #eee, dark mode #222" scope each value; "but leave inputs alone", "don't touch inputs" and "keep their hover the same" keep that part or state; kept parts are checked in every variant and level; a token typed with a part stays on that part; "blue card background" is the color, not the blue variant; page gradients keep the colors named; thinner borders step down from the width now; and value questions that name a mode read that mode.
|
|
561
|
+
- `astryx experimental theme editor how`: padding side words are read with the part's name taken out, so "code block padding" and "top nav padding" set every side of that part. "Card padding bigger (or smaller) than button padding" gives a step past (or under) the button's padding, never a copy of it. A dimension pair such as "16 x 16" is a size, never an amount.
|
|
562
|
+
- `astryx experimental theme editor how`: a part kept from a spacing change keeps its gap, padding and height ("more compact except buttons"; its own padding shorthand is not yet held, so "bigger padding except cards" says it cannot), and one kept from a border change keeps its border width ("all borders thicker except on inputs"); whole-theme shadows move from each shared shadow's own layers, in both modes or only the one named ("make shadows darker in dark mode"); a part's own gradient and its own two-mode fill step each color; a shadow by a percent scales its colors; an example value has the kind the property takes; and the answer check holds a shadow's strength and a color's see-through to the way asked.
|
|
563
|
+
- `astryx experimental theme editor how`: "the current page in pagination" (and "… of the pagination") changes pagination's current button, no longer the page background. The words before "in" or "of" name a part of what follows and its state, and "current" is the state Core paints for the page you are on.
|
|
564
|
+
- `astryx experimental theme editor how` steps a part's text in a state, such as "make the disabled button text lighter", from each variant's own color. Each step is scoped to its variant and that state, so every variant moves the way asked. Before, one variant's color was written on all of them, and the secondary and ghost buttons moved the opposite way.
|
|
565
|
+
- `astryx experimental theme editor how`: a warning, error or success banner made darker or lighter steps its own status's colors, never the info blue. "Less visible" and "half as visible" borders are fainter, by the share named. "Less blurry" shadows are sharper (blur halved), never fainter. Questions about the shadows, the text weight, the background or how strong the borders are read the theme's value and change nothing. "Make the color of the text darker" is about the text. "The danger color brighter" makes it lighter. "The text 50% more transparent" scales the theme's text colors. "The page less dense" is the spacing dial. "The h3 size 20px" sets that heading level's size.
|
|
566
|
+
- `astryx experimental theme editor how`: a value question answered from a part's inner parts ("how dense is the table", read on its cells) names the change on the part that holds the value ("table-cell padding 12px") and looks that part up.
|
|
567
|
+
- Fixes in `astryx experimental theme editor how`:
|
|
568
|
+
- **Radio and checkbox borders:** a thicker border keeps its resting color, not the hover tint.
|
|
569
|
+
- **Possessives:**
|
|
570
|
+
- A possessive owner's own element is that element, with a state said between them kept ("the menu's hovered items").
|
|
571
|
+
- The owner's first word can name the element ("the toggle group's buttons").
|
|
572
|
+
- Possessives before something the parts have name the parts themselves ("the cards' and buttons' borders").
|
|
573
|
+
- An element the owner does not have is reported, and nothing is written.
|
|
574
|
+
- **Heights:** a height in a decimal unit ("2.5rem high") is that height. A negative height is refused.
|
|
575
|
+
- `astryx experimental theme editor how` reads "twice as thin", "twice as small", "twice as narrow", "twice as short" and "twice as tight" as half of now in that direction, and keeps what the words change. "Make dividers twice as thin" halves the divider's line and "the padding twice as tight" gives less room; before, the first had no answer and the second gave more room.
|
|
576
|
+
- `astryx experimental theme editor how` now:
|
|
577
|
+
- reads "twice as soft", "twice as faint" and "twice as subtle" as half of now, so shadows get softer, not stronger;
|
|
578
|
+
- reads an owner named with a possessive ("the menus' separators") as where the change goes, the same as "separators in menus", and never paints the owner;
|
|
579
|
+
- sets a divider's thickness on the variant asked for ("the strong divider thicker"), not on every divider.
|
|
580
|
+
- `astryx experimental theme editor how` now answers "no part or word called zorp" and writes nothing when an unknown word comes before a place ("make the zorp in cards red"). This is the same answer it gives for an unknown word between a part and what changes.
|
|
581
|
+
- `astryx experimental theme editor how`:
|
|
582
|
+
- A value question is about the part the question names: "what color is the card title?" answers with the heading's color. "What color is the card's secondary text?" or "…the muted text?" answers with the secondary text color.
|
|
583
|
+
- A color named after a version of a part that has no fill of its own (the ghost button) no longer uses the main button's fill.
|
|
584
|
+
- "the buttons as tall as the small inputs" uses the small size, or says the small size has no height the editor can read. It no longer compares the default size.
|
|
585
|
+
- "2 times fainter" halves the text's strength.
|
|
586
|
+
- "everything rounder except the headings" works: headings have no corners, so they stay as they are.
|
|
587
|
+
- More fixes in `astryx experimental theme editor how` for colors asked of parts with variants, states and modes:
|
|
588
|
+
- **Button fills:** when the ask gives a whole look, a fill and its text ("gold buttons with black text"), the destructive button keeps its red, and the answer says so. A bare color that every button's text reads on still reaches every button.
|
|
589
|
+
- **Button text:** a text color asked of every button ("buttons with white text") skips the variants whose own fill would hide it (a ghost button drawn on the page), and the answer says so.
|
|
590
|
+
- **Grays on surfaces:** a gray on a surface (a table's header cells, inputs, a card, a dialog's header) is the theme's own gray step in light mode and its mirrored step in dark mode, instead of one gray for both. A control's fill, such as a button's, is still the gray asked.
|
|
591
|
+
- **Text on a ground:** "the text on the gradient white" changes the text only. It no longer also writes the page background.
|
|
592
|
+
- **Toggle buttons:** "toggle buttons" now means Core's toggle button, not a switch.
|
|
593
|
+
- `astryx experimental theme editor`: a value ending in an old browser hack's escape (`padding '8px\9'`, `--spacing-4 '8px\9'`, `box-shadow 'none\0'`) is refused, and the value without the escape is offered (`set … padding 8px`). Before, it was written, and browsers dropped it: a card's padding went to 0, and every use of such a token broke.
|
|
594
|
+
- `astryx experimental theme`: a process that runs several editor commands (an API caller) reads the app as it is now: a font package removed since an earlier command is no longer counted as installed, and an app copy folder that was not writable and is now no longer blocks `compile --check` with the old reason. The locks `compile` takes for a run are released when the run ends, however it ends, and `new` refuses an option given a value before it starts, as the other editor commands do.
|
|
595
|
+
- `astryx experimental theme editor set`: a fill or text color that a part's own element never declares, which an element inside it paints from a token (a keyboard key's chip, a radio list item's label text), is refused, since the inner element paints over it, and the token set on the part is offered instead. `how` reads "keyboard keys", "key chips" and "shortcut keys" as Kbd, never a badge.
|
|
596
|
+
- `astryx experimental theme editor` reads input it prints or saves, pasted or read back, as it reads typed input:
|
|
597
|
+
- A setting pasted back as the editor prints it (`padding = 8 px on card`) or as a declaration (`z-index: 1,000`) gets the repair its typed form gets (`set t padding 8px --on card`), and the editor's own change line (`corners pill -> round`, `--radius-element: 0.5rem -> 0px`) sets the value it changed to.
|
|
598
|
+
- A pasted entry without its braces (`"thing": "corners", "value": "pill"`), one that names its setting under `setting`, and one whose `only` says no (`"no"`, `"false"`, `"0"`) are read as that entry; an `only` that reads as neither yes nor no is refused.
|
|
599
|
+
- A saved token or property entry whose mode is `both`, empty or a typo gets set's reading of that mode beside the undo, and a token saved as `var(--color-accent)` is that token.
|
|
600
|
+
- A setting name of more than one word is quoted in the lines offered, so a scope typo beside it keeps its repair; a setting and value in the other order beside a scope typo get both repairs.
|
|
601
|
+
- `new --accent 'light blue'` offers `lightblue`, never a line without the color; `new --font -apple-system` reads the dash-led word as the font.
|
|
602
|
+
- `astryx experimental theme editor`: the input reader reads numbers, labels and font lists one way on every path.
|
|
603
|
+
- A comma between digits is a decimal point (`1,125rem` is 1.125rem, `1,250s` is 1.25s); only on a weight, whose numbers are whole hundreds, is a comma before three digits a thousands mark (`1,000`).
|
|
604
|
+
- Two numbers are never joined into one (`12 16px` is no 1216px); only a unit split off by a space (`16 px`) is read with its number.
|
|
605
|
+
- A minus sign is never read away: `-8px` for a size, a padding or a duration gets `how`, never `8px`, and `-700` on a weight is no weight 1.
|
|
606
|
+
- Another CSS property's declaration is no setting's value on any setting (`corners 'margin: 24px'`, `text-size 'width: 20px'`); a pasted property is read only when the setting is what it sets (`border-radius` for corners, a color property for a color dial, a property that reads the token).
|
|
607
|
+
- One reader for a family list on the font dial, a family token and a part's `font-family`: a weight or a size in the list, alone or after a family (`Inter, 600`, `Inter 600, sans-serif`, `Inter extra-bold`), is refused with the families and the headings weight (a weight word that is part of a family's name, as in `Arial Black, sans-serif`, stays part of it), and a quoted generic (`'sans-serif'`) is offered unquoted; a part's `font-family` reads a missing comma before a generic as the dial does.
|
|
608
|
+
- Values a property's grammar pairs with a slash (`aspect-ratio 16 9`, `grid-row 2 4`) are offered as the pair (`16 / 9`), never the first number.
|
|
609
|
+
- A mode label in any spelling (`dark mode: red`, `darkmode: red`, `mode dark: red`) is that mode's label: the offer is `--mode dark`.
|
|
610
|
+
- A base or mode in the settings file one slip off (`neutrl`, `light`, `lightonly`) is read as meant, as `set` reads it; one that reads as nothing is refused with the line that sets it, never dropped by an unrelated change.
|
|
611
|
+
- A pasted object whose entries all fail points to `how` for each entry, never `how settings`.
|
|
612
|
+
- `astryx experimental theme editor`: the input reader covers more pasted shapes, and a repair still offers only the value typed (cleaned) or a documented reading of it, never a stock value.
|
|
613
|
+
- A label on a part's property or a type token is read like a label on a dial: `padding 'hover: 4px' --on button` offers `--state hover`, `'dark: red'` offers `--mode dark`, `'card: 4px'` offers `--on card`, and the property's own label (`background-color: red`) is the value. A label naming another setting (`'accent: red'`) offers that setting on tokens and part properties too, and never sets the font to it.
|
|
614
|
+
- A label that is a flag's own name (`state: hover`, `part: card`, `variant: primary`, `mode: dark`) says what that flag does instead of naming unrelated parts. One labeled entry in JSON (`{"color": "#e11d48"}`) is read like its CSS form, and a value pasted with a token's label (`'--color-accent: #e11d48'`) is no longer taken for an unknown option.
|
|
615
|
+
- An object of several settings written with single quotes or without braces gets one line per setting.
|
|
616
|
+
- A saved `red / blue` color offers its `light-dark()` pair; a saved vibrancy with no color to saturate offers only its undo.
|
|
617
|
+
- A whole font stack in one pair of quotes (`"Inter, serif"`), families split by `|`, `;` or `/`, and a comma missing before any generic family (`Inter, Georgia serif`, `georgia serif`) are offered as the list meant. `font: Inter, serif` and `fontFamily:` labels are read. `\u0020` in a family and `\x2022` in content are read as CSS reads its escapes.
|
|
618
|
+
- `density roomy` offers `spacing roomy`, and words for more or less room map that way. Corners and spacing words with nothing near, and size tokens with nothing readable, offer `how` instead of a stock rung or the token's default.
|
|
619
|
+
- A calc() whose units cannot combine (`8 + 2px`, `0.5rem * 1px`, with each var() at its fallback) is refused.
|
|
620
|
+
- `--mode night` or `day` on a color dial offers the one-mode line, never the both-modes one.
|
|
621
|
+
- A hex color a digit short is refused as it is, without making a digit up; `navy blue` offers `navy`, and `0xe11d48` offers `#e11d48`.
|
|
622
|
+
- `astryx experimental theme editor`: an `--on` naming several parts (`'button, text-input'`, `button/text-input`, `'button and text-input'`, or spaces) is refused with one command per part named, never a group that one word of the list names. A flag's label after the value (`'red mode: dark'`, `'red state: hover'`, `'red variant: primary'`, `'red part: card'`) is read like the same label before it, and offers `--mode dark`, `--state hover`, `--when variant:primary` or `--on card`. A flag typed inside the quoted value (`'red --mode dark'`, `'4px --state hover'`, `'pill --on button'`) is lifted out into the command offered.
|
|
623
|
+
No repair on a part property offers a reset the input did not hold (`0`, `none`, `1`, `auto`, `normal`). A background with one layer too many or an empty one offers the layers typed (`url(a.png), red`), and a bare number on `background` is no longer offered as a px position. `border-radius round` offers `9999px`, `opacity half` offers `0.5`, `content Hi` offers the text quoted, `font-weight heavy` its number and `text-transform caps` uppercase; other words (`padding large`, `box-shadow soft`) point to `how`, and `2 spacing units` is no longer read as `2px`. A number or size given as a font family (`--font-family-body 700`) is refused as a weight or size, never quoted into a family.
|
|
624
|
+
|
|
625
|
+
A word with a negation (`not round`, `rounded-none`, `not bold`, `no caps`, `not red`) is never offered the word it negates: corners offers `square` (and reads `rounded-full` and `rounded-[12px]`), the rest point to `how`.
|
|
626
|
+
|
|
627
|
+
- `astryx experimental theme editor set`: a `radius` or `rounded` value with its unit is offered as that size on corners (`radius 1rem` gives `corners 16px`), and one corners cannot read gets `how corners`; a text size written as constant math (`calc(16px + 2px)`) is worked out, and a bare number with no unit (`text-size 1.5`, `corners 0.5`) gets `how` instead of a guessed size; a color-mix share written as percentage math (`calc(50% * 1)`) is read; two color names run together (`navyblue`) offer the first; `on button: pill`, a flag's value and the value in one (`state=hover 4px`), and `light: red dark: blue` without a comma are read; a font list in single quotes (`['Inter', 'serif']`) is read; in a light-only or dark-only theme the theme's own mode label is the value, and the other mode's label is refused naming the mode the theme does not show; `cursor hand`, which no current browser applies, is refused with `pointer`.
|
|
628
|
+
- `astryx experimental theme editor` reads more input as typed:
|
|
629
|
+
- A comma between two whole numbers of a ratio is the pair (`aspect-ratio 16,9` is `16 / 9`); one that looks like a decimal (`1,78`, `2,35`) is the decimal.
|
|
630
|
+
- An unquoted `new` keeps the name typed and keeps the words after a setting's value in that value (`new z7 --mode Dark Only`, `new --font Open Sans --like neutral my-theme`).
|
|
631
|
+
- A part typo that lands on a part or group name keeps that name (`--on tabel` is table).
|
|
632
|
+
- A pasted saved entry with a key the editor does not write (`comment`, `id`) is read as its one setting, and the key is named as left out.
|
|
633
|
+
- A headings half offered beside a damaged headings entry is labeled as a step after the undo.
|
|
634
|
+
- `new --like` reads a path to an installed base package as that base, echoes an unread value as typed, and labels the line on no base "build on no theme".
|
|
635
|
+
- A dial name saved in a typed form (`text size`) is read as that dial.
|
|
636
|
+
- `show` and `compile` give saved damage the same lines as a change: the undo and set's repair.
|
|
637
|
+
- `astryx experimental theme editor` reads input the same way everywhere:
|
|
638
|
+
- A damaged saved mode or base gets one repair from every command (show and compile offer the install and the base the file names, or every mode, as a change does).
|
|
639
|
+
- A comma between digits is read by the setting's domain: a decimal comma for `aspect-ratio 1,78` (1.78), corners, vibrancy and a spacing scale; a thousands mark in a pixel length (`1,200px` is 1200px).
|
|
640
|
+
- A setting pasted as `show --json` or `set --json` prints it (with `parts` or `note`), or as a one-entry list, is read as one setting.
|
|
641
|
+
- `undo t corners padding` gives one undo for each setting it names.
|
|
642
|
+
- A command line built from a mistyped or empty option is checked by its command before it is offered, and an empty option that narrows a change (`--on`, `--mode`, …) is never dropped from it.
|
|
643
|
+
- `new` reads a comma value as a light and dark pair for a color dial only, keeps its other repairs when its base is misspelled, keeps the base for a name that reads as one (`new Neutral`), names a path by its last part, offers each mode it cannot tell, and labels a base install as a step before its line.
|
|
644
|
+
- A saved state in other letters (`Hover`, `:hover`) and a dial saved for one mode are read as the editor reads them.
|
|
645
|
+
- A part typo is matched against the part words too (`--on sidebr` is the side nav).
|
|
646
|
+
- A comma `rgb()`/`hsl()` CSS does not take (`hsl(0, 100, 50)`) is refused with the syntax CSS reads (`hsl(0 100 50)`).
|
|
647
|
+
- An unknown word before a colon in a value (`colr: red`) is never taken off and offered as the value.
|
|
648
|
+
- `astryx experimental theme editor`: `set <theme> base <name>` with a built-in base that is not installed names its install line, then the same set and the set to no base, in whatever letters the base was typed. In `how`, "a thin border" and "a thick border" name a width (1px and 2px); only "thinner" and "thicker" step from the width the part shows now.
|
|
649
|
+
- `astryx experimental theme editor show`'s line for an inverted surface lost in the page works with every Core: it gives the surface as the color it is, and turns the text of each part drawn on it that reads a token (a tooltip's) to the theme's text color.
|
|
650
|
+
- `astryx experimental theme editor set … font`: families the editor knows written with no comma between them (`Georgia Verdana`) are refused with the list (`'Georgia, Verdana'`) and the name kept as typed in quotes, as the browser reads one family named that. A typo of a family with a weight or style word after it is read by the same font rule as the typo alone: `Georiga Bold` is refused with georgia and `headings bold`; `Arail Black`, near a font a system ships only, is kept as typed with the note.
|
|
651
|
+
- `astryx experimental theme editor` measures a button color that also paints the toast's close button on the toast's own fill, and says plainly that no setting keeps the toast's buttons apart, with the nearest button color that reads on every toast fill and on the page when one does. Text on a pane the theme painted (a side nav's fill) is measured on that pane, and the same text shown on another pane that holds it unpainted (the mobile nav drawer) is fixed by painting that pane like the other, not by recoloring the text everywhere. Text drawn on a fill its part draws only in a state (a selected item) is fixed with a line for that state, which `set` accepts and which ends the problem. An inverted surface whose theme counterpart looks the same as the base's (the same side, nearly the same lightness) is no longer listed under missed. A radius setting on a part whose radius your own theme source sets now says the source wins there, as a padding setting does. Where the base theme's own border is a hairline, a theme's border token is a problem only when it draws nothing on the page at all.
|
|
652
|
+
- `astryx experimental theme editor set`: what a whole-theme change leaves out (`leftOut` in JSON) comes right under the status line, each part with its own runnable line. A border width names, and the "thick borders on everything" answer reaches, every part that draws a fixed line of its own (a secondary button's edge) or frames a surface (a banner) beside the containers, menus and overlays; only rules count as dividers, never the edge of a cornered box such as a list row or a button.
|
|
653
|
+
- `astryx experimental theme editor`: a line offered when the theme is left out keeps every option typed (`--on`, `--state`, `--mode`, `--only`, `--like`, `--section`), so following it changes what was asked, never the whole theme. `undo` reads the words after the thing as one value, typed unquoted as `set` takes it (`undo t padding 4px 8px --on card`). With the theme left out, `undo` reads the scope in every spelling it takes with the theme typed (`--state focusVisible`, `--on Card`, `--mode Dark`) and offers the undo on the theme that holds it. A token typed where the theme goes (`show --color-accent`) is never a theme to make. A settings file whose list is written `"Settings"` is a theme that exists to `new`, never made again; written beside `"settings"`, the two are read as one list, the editor's entry winning where both set one thing, and the change says so.
|
|
654
|
+
- `astryx experimental theme editor`: a whole-theme change names the parts it leaves out, with the line that reaches them: `set corners square` names the parts drawn as pills (badge, switch, calendar day…), which `--radius-full 0px` squares; `set --border-width` names the surfaces it does not reach (dialog, popover, menus, tooltip, toast…) and the dividers it thickens. The "thick borders on everything" answer gives a border to every surface the shared border width does not widen, the overlays that draw a fixed line of their own included, and keeps each divider at its own width.
|
|
655
|
+
- `astryx experimental theme editor`: a list value with one item misspelled, for a dial that takes each word alone (`set t headings 'blod tight'`), gets a line for each word, as each word alone does; and `undo` reads three or more bare words as a list of settings only when every word names a setting, so `undo t font Inter Tight` is a setting and its value again.
|
|
656
|
+
- `astryx experimental theme editor`: a setting listed twice by hand now changes the last entry, the one the build reads, so "keep pill" saves and builds pill. A damaged mode or base written in other letters or as a package name (`Dark-Only`, `Neutral`, `@astryxdesign/theme-neutral`) is fixed first by the suggestions, and a change to another setting cleans it to the value meant instead of resetting it. A stored vibrancy of `0.5` is offered as 50. `new` cleans each flag value the way `set` does, so `--font '«Georgia»'` saves `"Georgia"`. `--on "text inputs"` and `--on "dialog header"` name text-input and dialog-header, and `--when Variant:Primary` or `variant=primary` gets the corrected command. An app copy the editor wrote, left without its `themes/<name>/` folder, is named as the editor's with `new <name>` to make it again. Names copied from the app (`tTheme`, `tTheme.ts`, `brand.theme.ts`, `themes//t`, `BrandDark`, `Brand Dark`) reach the theme they name, and `new` says when it is here already. The note after Ctrl-C says what `undo` or `new` saved, with the project's own CLI command. An undo of padding in the other form (a side or the shorthand) suggests the undo that matches what is saved.
|
|
657
|
+
- `astryx experimental theme`: a font role the theme builds as one family with no fallback at all (headings set to `Lora` alone: an exact font token, or a heading family with no fallbacks of its own in the theme's source, which Core builds as just that family) is noted by `set`, `show` and `compile`: that text has no font while the family loads or if it is missing, with the way to give it a list: the setting run again with a list, or the fallbacks to add in the theme's source.
|
|
658
|
+
- `astryx experimental theme editor`: the pictures to open are named where they are read. A change with `--png` says in its `see` line to open preview.png (the sample page) and sheet-overlays.png (every menu, tooltip, popover and list, drawn open); without `--png` it still names the pages. `show --png` says it on its first line and its last (`look`, also in the JSON), so a head or a tail of the output keeps it.
|
|
659
|
+
- `astryx experimental theme editor set`: a page background set on the app shell no longer makes the main content area see-through over a background a setting gives it, whichever was set first. `how`'s page-color line for the main panel now changes what the panel draws.
|
|
660
|
+
- `astryx experimental theme editor`: `new` reads more of what is typed after the name as settings, never name words: the base in the key forms (`like=neutral`, `like: neutral`), a value before its dial (`red accent`), a quoted pair or list (`'accent red, corners pill'`), a dial word with no value, and a word typed after an option's value that no reading takes (`--accent red foo` keeps `--accent red`; `--corners pill padding 8px` keeps `--corners pill` and offers `set … padding 8px`). Settings typed where the name goes (`new 'accent: red'`) stay on the free name offered, and two bases in one `--like` (`neutral,stone`) give the first built-in one. `like`, the word `show` prints for the base, points to `set <theme> base` / `undo <theme> base`. The theme typed as an option (`set --theme t accent red`) gets `set t accent red`, and a line set does not read is never offered as working. A theme with a setting pasted on (`show t=accent`) and a list of values where the theme goes (`show 'Inter, Arial'`) get a look at the theme, never a new one. A whole command pasted as one word (`set 'set t accent red'`) is read as that command. An undo by a held value with a scope typed (`undo t 8px --on cards`) leads with the setting in that scope.
|
|
661
|
+
- `astryx experimental theme editor how` measures more asks the way they are meant:
|
|
662
|
+
- "make input borders 3:1 contrast" gives the part's border color the least change that measures that ratio against the page and the part's own fill (or the part after "against"), in each mode: its own ink at a higher strength, else a deeper shade of it. It no longer restates the border the part already draws;
|
|
663
|
+
- "make the card text 50% more transparent" scales the text colors on the card from their own alpha, instead of fading the whole card; a part's border or fill, each variant on its own, and "all shadows" take the same relative change;
|
|
664
|
+
- "what is the corner radius", "what is the spacing", "what font is used", "what is the border width", "what color is the danger" answer with the theme's value in each mode it shows, and "what is the heading font" answers with the heading's font;
|
|
665
|
+
- "make links the color of the text", "make badges the color of the danger" take that theme color;
|
|
666
|
+
- "make card shadows lighter" says the card draws no shadow of its own at rest, instead of a false reason;
|
|
667
|
+
- "a gradient from #ff0000 to transparent" keeps the typed transparent stop instead of ending in a lighter shade;
|
|
668
|
+
- "what is the hover background of ghost buttons" reads the state it names: the fill at rest, with the hover or press wash Core draws over it;
|
|
669
|
+
- "borders 30% more transparent", "the shadow 20% more opaque", "the accent 50% more transparent" change those colors' own alpha (never the border width);
|
|
670
|
+
- "body font weight 450" writes 450; "how dense is it" and "what is the density" answer with the spacing instead of changing it; "shadows sharper" halves the shared shadows' blur instead of softening them; "the borders on cards heavier" makes the borders wider with no false line.
|
|
671
|
+
- `astryx experimental theme editor` contrast checks measure a part with a fill of its own on Core's media surface (a button on an overlay's dark island) with the text color that surface gives it, so a glossy light button whose label turns white there is listed as a problem, with a fix that sets the button's own color (its variant), which reaches it on the surface and reads on its fill everywhere. A label on its part's own fill is measured on the fill its variant draws.
|
|
672
|
+
- `astryx experimental theme editor`'s lines for text on Core's media surfaces end the problems they name: a part drawn with its default props is measured and fixed as the variant Core draws it as; text on a lightbox's own on-color bar takes that on-color on the lightbox, which `set` accepts; a light overlay that turns the lightbox's text and its bar opposite ways is offered the overlay back; and a text token refused on a lightbox points to the on-color that reaches it. A link of yours at a page's name (the sample page, the sheets) or at the record of pictures is left alone and named, as `show --help` says, instead of refusing the command.
|
|
673
|
+
- `astryx experimental theme editor`'s contrast checks measure a part inside Core's media surface (a button on a lightbox's dark island) as that surface draws it, in its own scheme whatever the page's mode: an untouched base ships no problem there, and a light-only color on the page's part makes none. A problem there is listed once, and its fix is a color in the surface's scheme, which reaches it; when the part lets the surface's ground through and the same text on the page needs the other color, no line is offered, so following the fixes never cycles.
|
|
674
|
+
- `astryx experimental theme editor show` draws the parts it shows open as a desktop window of the pictures' own size lays them out: a width or height media query is answered for that window, so AlertDialog's buttons sit side by side in the open states picture instead of in its phone layout.
|
|
675
|
+
- `astryx experimental theme editor show`'s `missed` list names what keeps the base's look beside the theme's own, and each line changes the built theme:
|
|
676
|
+
- A tooltip or toast still on the base's dark inverted surface once the theme's own surfaces changed (a grey Win98-like theme) is listed, with a line that gives it the theme's surface in each mode the theme draws and readable text on it.
|
|
677
|
+
- A soft shadow beside square corners or a theme border (a popover's, a menu's, a dialog's) is listed, with a line that takes its blur away.
|
|
678
|
+
- A status fill (a banner's, a badge's status variants) is listed only where its dial builds a color of its own (the theme's vibrancy moved); at the base's vibrancy the dial gives the base's own color back.
|
|
679
|
+
- `how`'s answer for a part on that list (`how "make the tooltips match the theme"`) leads with the same line.
|
|
680
|
+
- `astryx experimental theme editor` reports what a theme's own changes did not reach where it applies: `new` with a color or dial counts and names the parts it missed as `set` does (`missed`, `missedParts`, and the new `missedOn` in JSON), every change names the parts it missed rather than only counting them, and a base theme square by design is no longer told its soft shadows sit beside square corners it did not choose. `show --section <family>` pictures that family first, with its parts drawn open after it, not the overlays.
|
|
681
|
+
- `astryx experimental theme editor` gives a missed part one line where one setting reaches it: a toast's text picks its own side from its fill, so its surface alone is the line. Where a line takes two settings (a tooltip's surface, then its text), the problem the first step leaves says that the next step of that line clears it, and names the step. An error toast's line for the danger color takes the text that reads on the new red where the toast's own pick would not, so following it makes no problem.
|
|
682
|
+
- `astryx experimental theme editor`:
|
|
683
|
+
- `show` and `set` count the missed list as misses on parts (a part can miss two ways, its border and its shadow), and `show`'s line under the six it lists counts the rest as misses, apart from the parts whose fill or text color is only still the base's. The JSON of a change adds `missedParts`.
|
|
684
|
+
- The sheet, the preview and the pictures draw an auto media surface inside a part with a fill of its own (a toast with a light background) on the side the app's measurement picks, so its text reads as it does in the app.
|
|
685
|
+
- Text drawn in a disabled color (an inactive segment) is held to no 4.5:1 contrast, and no fix whitens it.
|
|
686
|
+
- `set`'s note on a border width offers the frames `show`'s missed list has: only parts that draw a box, scoped to the variants that do, and none at a width of zero.
|
|
687
|
+
- `astryx experimental theme editor`: a mistyped part (`nmber-input`) is read as the whole part name it is a typo of, never a group one word of it names, and a did-you-mean follows the one typo limit (a name that only holds the typed word inside it is none). A boolean option written with a value (`--only=true`, `--png=false`, `--only false`) gets the same reading in set, undo, new, how and show: the option takes no value, with the command that works. A dial and its value in the other order (`set t round corners`) lead with the set in the right order, and a theme typed last is offered first only in a line that works. undo names every entry of a setting listed twice by hand that it removes. A bad entry beside a good one of the same setting is named as listed twice, so its keep line keeps the good one, and a keep line whose value set refuses is not offered. A dial word saved in other letters (`Pill`) is that word, and a headings word saved under the other half is filed under its own. `only` on a setting that is no group member is refused with the undo of that entry. show writes a deleted palette.config.json again. A settings file that cannot be read is made again on the base it was built on, and `new --like` reads a base in any case.
|
|
688
|
+
- `astryx experimental theme editor set`: a page or text color typed as a CSS property with no part (`set t background '#0f172a'`) is offered for the mode it reads in first (`--color-background-body '#0f172a' --mode dark`), with the both-modes line after it, so the suggestion does not leave the other mode unreadable; a color that reads in both modes is offered once, as before. The words people write for a dial reach it: a name with `-color` or `-colour` after it (`primary-color`, `brand-color`), a plural (`shadows`), and `shadows none` / `dark-mode true` / `light-mode true`, which name the dial and the value that does it (`surfaces flat`, `mode dark-only`).
|
|
689
|
+
- `astryx experimental theme editor`: a color for one mode on a part is written in the part's block for that mode.
|
|
690
|
+
- In the other mode the theme writes nothing there, so what Core and the base theme give the part in context stays as it was: the current page in Pagination, a text field's error, warning and success borders.
|
|
691
|
+
- A one-mode color in a state is accepted on a part that has no color of its own in that state; the other mode keeps Core's.
|
|
692
|
+
- A one-mode gradient goes into the part's block for that mode as its image layers (and a color layer as that mode's color), so the other mode keeps Core's own images, such as a button's hover tint.
|
|
693
|
+
- A one-mode background on an app shell region leaves the page background painting it in the other mode.
|
|
694
|
+
- A one-mode color in a state is accepted on every member of a group, and an exception kept in a state (inputs darker except when focused) keeps that state's own fill in each mode.
|
|
695
|
+
- The part data records a background a part inherits (`inherit`) as no paint of its own.
|
|
696
|
+
- The result lists each property a change writes inside a mode block, under its path (`@dark :hover`).
|
|
697
|
+
- `astryx experimental theme editor`:
|
|
698
|
+
- A border in one mode on a part that draws none is a ring at its edge (an inset box-shadow) that takes no room, so the other mode keeps its size; where the part draws a shadow of its own, the answer says why it cannot.
|
|
699
|
+
- Outlined buttons in one mode keep the outline dial beside the one-mode colors, and say the dial is the same in both modes.
|
|
700
|
+
- A divider's line is reached per variant: its color (the strong divider's own token), its thickness by the amount said, and its removal. A fill on the divider's own element, or a token its variant does not read, is refused with the line that reaches it.
|
|
701
|
+
- A token family follows a source written as one `light-dark()` value or a token reference.
|
|
702
|
+
- A variant's low-contrast text is listed once, with a fix scoped to that variant.
|
|
703
|
+
- A part's border is no longer colored through parts inside it that draw no line (a toast's ghost buttons); a part with no border made thicker takes its own height.
|
|
704
|
+
- A state shadow that keeps Core's ring keeps each status's own ring there.
|
|
705
|
+
- Pieces named after a part's catalog name ("the checkbox check", "the select arrow") are those parts.
|
|
706
|
+
- `astryx experimental theme editor`: one-mode colors per variant, the spacing dial around kept steps, and padding amounts from the base theme.
|
|
707
|
+
- A one-mode color on a part whose variants each have their own is written to each variant as the property it names (a card's `border-color` stays a border color), with each variant's own other half: an earlier setting for the other mode or for both modes, else what the variant shows unset. `--mode` on a color longhand such as `background-color` or `border-color` is accepted this way.
|
|
708
|
+
- A hover set as `background-color` stays on every variant after a later one-mode `background`, and a one-mode background after a plain one applies to every variant in both modes.
|
|
709
|
+
- A whole-part state setting that your own `<theme>.theme.ts` sets on the same state is not repeated on the variants, so it does not show anywhere, as the result says.
|
|
710
|
+
- The spacing dial keeps spacing steps in order around an exact step the theme keeps, reads a kept control size written as a token, `clamp()`, `min()` or `max()`, and keeps a part's own exact control size in order under a whole-theme dial.
|
|
711
|
+
- `how` padding amounts read the base theme's own block and inline padding on a part ("double the button padding" on butter gives `1rem 2rem`).
|
|
712
|
+
- `astryx experimental theme editor`: one-mode colors, kept sizes and own padding sides.
|
|
713
|
+
- In a `light-only` or `dark-only` theme, a color you set (a token or a part's color) fills only that mode's half; the other half keeps the base theme's, so a lightbox, an overlay or a toast Core draws in the other mode stays readable. A setting saved for the theme's mode keeps its half when the theme turns one-mode.
|
|
714
|
+
- `mode both` after a one-mode theme says to take out a `mode` given to the app's `<Theme>` for it.
|
|
715
|
+
- The spacing dial keeps control sizes in order around an exact size the theme keeps (`--size-element-md 34px` with `spacing tight` gives a larger size above 34px).
|
|
716
|
+
- A padding your own `<theme>.theme.ts` sets on some sides of a part wins on those sides; the editor's padding still applies on the other sides, on every part, and the result says so. A physical side stays physical and a logical side logical, in each text direction: with your own `paddingLeft`, the editor's left is never written; with your own `paddingInlineStart`, the editor's `padding-left` shows only right to left (where the start is the right). A variant your own source pads wins over an editor padding on the part's plain rule, whatever sides that sets.
|
|
717
|
+
- `astryx experimental theme editor`: a `mode` or `base` entry a hand edit put in the settings list, where it does nothing, is listed by `show` only under a "misplaced" note, never as a setting; every change names it the same way, and every refusal leads with the `undo` that removes it.
|
|
718
|
+
- `astryx experimental theme editor`: one-mode gradients and tokens keep the other mode, the page background in every AppShell, and heading colors and types.
|
|
719
|
+
- A gradient for one mode is written as background images (typed as `background` too), so the other mode keeps its own background color; each mode's layers are kept by mode as they are written, so a fade to `transparent` is never lost. A gradient holding a `light-dark()` stop takes no `--mode`.
|
|
720
|
+
- A token set on a part for one mode (a heading color included, and any color in a one-mode theme) keeps the token's own value in the other mode.
|
|
721
|
+
- A one-mode `background` no longer removes the other mode's one-mode `background-color`.
|
|
722
|
+
- A background on `app-shell` shows in every AppShell variant: the shell's header and side nav take the same background (they stay opaque when content scrolls under them), its main content area is see-through, and the result says so.
|
|
723
|
+
- A heading color that names a text color token (`var(--color-text-secondary)`) is accepted; heading `--when type:` takes Heading's own types (display-1 to display-3).
|
|
724
|
+
- `how` offers a gradient for one mode as `background-image … --mode`, and a one-mode color under a part's own gradient says it does not show.
|
|
725
|
+
- `astryx experimental theme editor`: one-mode colors in a variant or a state, gradient layers with a color, keywords with a mode, and the corners dial on parts with their own radius.
|
|
726
|
+
- A one-mode color in a variant or a state (a heading level, a hover) keeps the theme's own value around it in the other mode: the variant's resting color, then the part's, then the whole theme's, as the theme finally has it. A later brand color reaches the other mode.
|
|
727
|
+
- In a one-mode background, a color written beside a gradient (`#f00 linear-gradient(…)`) is that mode's background color, and the gradient its image.
|
|
728
|
+
- A CSS-wide keyword (`unset`, `inherit`) takes no `--mode`; the offered command sets it for both modes.
|
|
729
|
+
- The corners dial reaches parts whose base theme gives them a radius of their own, and a corners step on a part starts from the radius the part shows.
|
|
730
|
+
- A one-mode color on a part says that, in the other mode, it overrides what Core or the base theme gives the part in context.
|
|
731
|
+
- `how` lists the margins a part reads among its spacing, as `set` reads them.
|
|
732
|
+
- `astryx experimental theme editor`: a mode word typed with a typo that keeps its letters (`drak`, `darkk`, `ligth`) is that mode wherever a person types one, by one reader: a pasted label in a `how` question (`drak: cards #1c1c1e` changes the dark cards only) or in a `set` value (`'drak: #eeeeee'` offers the `--mode dark` line) and the `--mode` flag. A word of its own (right, tight, bark) is never read as a mode.
|
|
733
|
+
- `astryx experimental theme editor`: a setting for one color mode that reaches the whole theme reads as one scope, "accent = red (whole theme, light mode only)", never "(whole theme) [light only]", which reads as two scopes at odds. A setting on a part keeps its mode mark as before.
|
|
734
|
+
- `astryx experimental theme editor`: a one-mode write changes only its mode.
|
|
735
|
+
- A token set for one mode keeps its other half as what that mode shows: Core's own reference when the base theme's value follows it (a focus ring that follows the accent), so it keeps following the theme's tokens.
|
|
736
|
+
- A one-mode page background on the app shell makes the main content area see-through, and a gradient fixed, in its mode only.
|
|
737
|
+
- A one-mode background shorthand replaces longhands set for its mode only; a longhand set for both modes stays.
|
|
738
|
+
- A light-only or dark-only theme keeps the other mode's settings for the regions Core draws in that mode (a toast, a lightbox), says so, and takes `--mode` for that mode; its own mode needs no `--mode`.
|
|
739
|
+
- A color on a link is refused for the token its color prop reads (`--color-text-accent` for a default link), set on the link.
|
|
740
|
+
- `astryx experimental theme editor set`: defineTheme's motion knobs typed as a setting (`motion`, `tempo`, `character`) say the editor sets motion through the duration and ease tokens, and point to `how "faster motion"` and `how "slower motion"`, the slower first for a tempo above 1.
|
|
741
|
+
- `astryx experimental theme editor set` and `undo`: `--when` takes several conditions, one per prop (a ghost small button: `--when variant:ghost --when size:sm`, or `--when variant:ghost+size:sm`), written as one rule for parts that have all of them, as Core's `prop:value+prop:value` keys are. Each is checked as one alone is, the same prop twice is refused, and the conditions are saved in one order, so an undo finds them whatever order they were typed in.
|
|
742
|
+
- `astryx experimental theme editor new` reads a setting typed after the name in the pair form with its key in quotes (`'"like": "neutral"'`, `'"accent": "red"'`) or swapped (`red=accent`, `stone=like`), never as words of the name; the base word is never a value (`neutral=like` is `--like neutral`, never a gray tint). The name typed as an option (`--theme t2`, `--name t2`, `--theme=t2`) is that name, and the refusal says the option is none of new's.
|
|
743
|
+
- `astryx experimental theme editor undo <theme> <word>` with no setting named never leads with a plain step back, which can take back another change than the one typed: a value one setting holds gets that setting's undo, a value several hold gets each one's, a word nothing holds gets a look at the theme (`show`), and only `all` or `last` offers the step back.
|
|
744
|
+
- `astryx experimental theme editor`: a settings entry's `only` written as text (`"false"`, `"true"`) is read as what it says, with a note, and any other value that is not true is refused with the undo that removes that entry, so `show` and the build never disagree. A theme typed after the setting (`set --color-accent '#123457' t`) is refused with the same `set` or `undo` with the theme first, never a `new` of the setting's name. `undo <theme> vibrancy` says the default vibrancy applies now. `new` with several bad dial flags suggests one command that fixes or drops each of them; `new --base` points to `--like`; `show` names a show that works and its help for an option it does not take. The name rule lists every reserved name it refuses (com0-com9, lpt0-lpt9, and com¹-com³, lpt¹-lpt³). corners takes a rem (saved in px), and a bare number gets the px line. Dial words are read in any case (ROOMY, MORE, BOTH). `set t 'corners pill'` is read as the thing and its value. With no theme named in an app with one theme, show and undo name that theme. The compile line in the result works from the folder the command ran in.
|
|
745
|
+
- `astryx experimental theme editor`: names, damaged themes and stops.
|
|
746
|
+
- A theme name typed as a path (`themes/brand`, `./t`, `t/`) names the theme it ends in, and says when that theme is here already; a typo of a theme name offers the nearest theme by spelling first (`brand-drak` is `brand-dark`, not `brand`), and a camelCase name is the dashed one (`brandDark` is `brand-dark`, `themePark` is `theme-park`), never a new theme.
|
|
747
|
+
- A refusal names a command that works: `undo` on a theme whose settings cannot be read and that has no history names `new <theme>`, not `show`; a damaged mode or base no longer sends each fix to the other (changing or removing a setting puts the field back to its default and says so); a settings entry with no thing or no source is damage `new` keeps aside, as the refusal says.
|
|
748
|
+
- A folder holding only `desktop.ini` is empty, like one holding only `Thumbs.db` or `.DS_Store`.
|
|
749
|
+
- An `undo` that switches the theme between one mode and both names the app's `<Theme mode>` to add or take out, as `set mode` does; `undo --help` says `--mode` removes a setting saved for one mode in a one-mode theme.
|
|
750
|
+
- Stopped (Ctrl-C) while the checks and pictures run after a change, the editor says the change is saved and built and that `show` runs the rest.
|
|
751
|
+
- `astryx experimental theme editor` and `compile` name the real problem and the real place:
|
|
752
|
+
- when a build of `<theme>.theme.ts` reads another export named for the theme (a default export beside `<theme>Theme`), the refusal says the build reads that export, not the one that extends the settings, instead of asking to put back what is already there;
|
|
753
|
+
- a value Core refuses inside a rule it derives from the typography is no longer reported as a value of the file; Core's refusal of a local token's name is named at its line;
|
|
754
|
+
- an editor theme that lost `<theme>.settings.json` is refused by `compile` and `compile --check` as the editor commands refuse it, with the line that makes it again;
|
|
755
|
+
- a refused value in a part block imported from a file beside the theme (`components: parts`, `parts.button`), or in a theme the source re-exports (`export * from './impl'`), names that file and line.
|
|
756
|
+
- `astryx experimental theme editor`: `how` names the same states for a state a part lacks (a selected table row) as `set` and `how <part>` do: the states `set` takes there.
|
|
757
|
+
- `astryx experimental theme editor`: `set` with the theme left out and a value of several words (`set padding '4px 8px' --on card`, `set shadow '0 1px 2px red' --on card`) offers the set on the one theme here when set's check passes it, every option kept, never a theme named after the setting. `undo` never offers to make a theme from the word: a typo of a setting the theme holds (`undo acent`), a value it holds (`undo red`, `undo t red`), or a setting with its value in one word (`undo 'corners pill'`) gets that setting's undo, and a step back says which change it takes back; `show 'corners pill'` looks at the theme. A value with commas typed unquoted, as `set` takes it (`undo t font Inter, Arial`), is that setting's value, never a list. `new` reads a setting typed after the name (`new t2 accent red`, `corners=pill`, `corners: pill; accent: red`, a pasted JSON object) as its option, never part of the name, and a token typed for the name (`new --color-accent`) is never the name offered. An option typed before a nested group (`theme --mode dark editor set …`) goes after the command it names; an option whose value is a subcommand's name keeps it; and options with no subcommand at all (`preview --theme t`) name the subcommands that take them, never their value as a subcommand.
|
|
758
|
+
- `astryx experimental theme editor undo` of a property the theme sets in another form of the same family on that part names it: `undo t background --on app-shell-header` with `background-color` set says "settings for background: background-color = #111827 on app-shell-header" and offers that undo, as it already did for padding and its sides.
|
|
759
|
+
- `astryx experimental theme editor`: a negated state (`--state unpressed`, `--state 'not pressed'`, `--state unchecked`) is read as the part at rest. The refusal offers the same line with no `--state`, instead of the state the word denies (`--state isPressed`), which saved the pressed look when the rest look was asked for.
|
|
760
|
+
- `astryx experimental theme editor`: a typo of a CSS keyword that starts with no- or not- (`cursor not-alowed`, `background-repeat no-repat`) is offered the keyword, as any typo is; a real negation (`cursor 'not pointer'`) is still never offered the word it negates.
|
|
761
|
+
- `astryx experimental theme editor set <theme> neutral <color>` now reaches the inverted surface tooltips and toasts draw on. As Core makes it from a neutral scale, it is the card surface of the other mode, from the neutral color's own shades and inside the ramp, so it carries the color in both modes (in dark, the shade next to white rather than white itself). The on-dark and on-light text takes the neutral shades the official theme maps them to. Before, a green-on-black theme kept Core's own pure white tooltip and toast.
|
|
762
|
+
- `astryx experimental theme editor new` checks its color flags as setting those dials does: a pale accent that does not stand out from the page (or any other contrast check a color dial fails) is listed in its problems.
|
|
763
|
+
- `astryx experimental theme`: a file, folder or link of yours at the open states page's name (sheet-overlays.html) is never written over by `--png`; the picture is not taken, and `set --png` and `show --png` alike say why. The open states picture shows each overlay at the height of what it holds, up to a window's height, and a dropdown menu's submenu opens with rows. `preview app --theme` refuses a theme image reached through a link that leads out of the theme folder, notes images of this app's public/ folder the new app lacks, adds each package the theme's own source imports at this project's version (refusing one this project does not have), and adds no font package for a fallback face or a family the base's fonts stylesheet already loads. A preview page file that is not a regular file is named so, with what fixes it, and its page stays so the same remove runs again. Beside `--template`, a description is offered only when it relates to a page.
|
|
764
|
+
- `astryx experimental theme editor`: `--png` takes sheet-overlays.png beside preview.png, on `show` and on every change: every menu, tooltip, popover and list drawn open, in each mode the theme has. The sample page shows none open and the full sheet is too tall to read whole, so the result of `new` names it in its look-at-it line. A change without `--png` removes it with the other pictures, and names `show --png`, which takes it again. A typeahead, whose doc requires a search source, is rendered with a sample one in the catalog the part data is read from, so its list (`typeahead-dropdown`) is recorded and `how` reads it.
|
|
765
|
+
- `astryx experimental theme`: an option typed before a group's real subcommand (`preview --theme t list`, `editor --mode light set t …`) is read as that: the refusal names the option and the subcommand, offers the command with the options the subcommand takes moved after it, and says which options it takes none of. An option's value is never reported as an unknown subcommand, and the line offered is the subcommand typed, never another one.
|
|
766
|
+
- `astryx experimental theme editor` sets a list's highlighted option through `--state highlighted` on its row (`selector-option-row`, `multi-selector-option`, `typeahead-option`), and reads a value labeled with that state.
|
|
767
|
+
- `astryx experimental theme editor`: every dash form of an option (a hyphen before a dash, minus signs) is read as the option, never glued into a value. A dial name with a space for its dash (`"text size"`) is the dial. A set with no thing points to the settings it takes. A typo as near two values offers each (`tightr`: tight and tighter). A family spelled near a system font the build knows (`arail`, `Menol`) is kept as typed, with a note naming that font. `undo t headings wdie` removes the half its reading names. show, and undo with no history, on a damaged saved value offer its undo and set's repair beside it; a saved base in other letters or with a typo of a base that is not installed reads as that base, with its install first, in show as in a change. An entry saved in a form set reads when typed (`{"corners": "pill"}`, `"corners pill"`) is read as that setting. An undo names the change now on top, which the next undo takes back.
|
|
768
|
+
- `astryx experimental theme`: an option or words a command does not take are answered one way by every editor and preview command: the options it takes are named, its help is offered, and the same command without them only where that is safe to run (show; never a preview remove, which would then remove the whole preview). A color set on a part whose color comes from its color prop offers the token of the prop's default as its doc gives it (a link: accent), else the token of each color the part reads (Text's color depends on its type).
|
|
769
|
+
- `astryx experimental theme editor`: every `new` a refusal offers is checked as `new` checks its options before it is offered (a value never typed, such as a stock font, is not offered; a flag new refuses is left out and named; a line still refused is not offered), and a change of another dial is named for after the theme is made. `new` with no name offers a free name; a built-in theme among the extra words (`new t3 like neutral`, `new neutral t3`) is the base. set, undo, new, how and show read their options one way: in other letters, with one dash or a typed dash, or one slip off (`--On`, `-only`, `--olny`) they are named and the command offered with them. A token typed after its value and `set t neutral base` lead with the set in the right order; a repair never adds a part that was not typed; a swapped line that needs an install leads with the install. A base that reads as nothing is set back to the base the theme was built on, never to none. A font dial word on a part's font-family gives the family stack it stands for. A theme whose settings files are both gone but whose history or source the editor wrote is made again on its base, and undo then steps back. A part saved in other letters or as a one-item list is that part. undo of a misspelt setting leads with the one of the scope typed, and `undo <setting> <theme>` gives the reason with the theme first.
|
|
770
|
+
- `astryx experimental theme`: an editor theme whose icon registry is a module in its own folder (as compile advises) now loads in the editor's checks, and its app copy carries that module, so `show` and `set` check it and `compile --check` passes. A theme source whose tokens replace the settings' (a spread of `defineTheme`'s result with a `tokens` field of its own) is refused by name instead of every change being saved and never built. A source name cut short (`themes/t/t`, `themes/t/t.theme.`) or a theme folder in other letters is offered the theme source. An empty `--out` is refused like a blank one. A weight given in a part's `font` shorthand is loaded, and weights are judged per family, so no font gets a gap note for a weight only another family uses. The stable `theme build` of an editor theme says it does not write (or check) the theme's app copy, and names the compile that does. A copy's compile with `--out` in the theme's own folder offers only a line compile takes, once.
|
|
771
|
+
- `astryx experimental theme editor`: the refusal of a theme's own token values no longer ends a reason with two periods.
|
|
772
|
+
- `astryx experimental theme editor how`: a padding or gap amount ("50% bigger", "20% smaller", "double", "150%") is an exact value from the one the part has now (its own setting, else its rule or the token it reads, each side of an unequal padding scaled), never a CSS percent padding; and with no amount, a part with an exact padding gets a step of that padding (said to be a step), since the spacing dial does not move an exact padding.
|
|
773
|
+
- `astryx experimental theme editor`: per-variant colors in one mode, hover on every variant, later longhands, nested cards and kept sizes.
|
|
774
|
+
- A one-mode color (`--mode`, or any color in a `light-only` or `dark-only` theme) on a part whose variants each have their own (a button or card background, a badge's text) goes to each variant's own rule, with the other mode's half exactly what that variant showed there (the base theme's value, else Core's; transparent stays transparent), so the other mode is unchanged for every variant; a variant's own hover still shows.
|
|
775
|
+
- A whole-part hover background (`--state hover`) reaches every variant, including ones the base theme gives their own hover or resting color.
|
|
776
|
+
- A longhand set after a shorthand wins even where the base theme holds that longhand (`padding-inline` after `padding`, `border-color` after `border`).
|
|
777
|
+
- A plain card inside a variant card keeps the card padding the editor gives it, in each text direction, and a variant's own padding (from the settings or your own source) no longer leaks into it; a variant your own source pads keeps its padding after an unequal editor padding on the plain card.
|
|
778
|
+
- The spacing dial keeps every exact control size the theme keeps (in px, rem or calc, from your own source, or set on the part) in order, on a part too; a size with no room between two kept ones takes the smaller one's size, and the result says so.
|
|
779
|
+
- `--mode` refused on a border names the variant in the per-mode color step; a gradient is offered as written for both modes.
|
|
780
|
+
- With your own source setting one corner, the corners note says the dial shows on the other corners after the undo.
|
|
781
|
+
- `astryx experimental theme editor`: a page background on `app-shell` also paints the shell's header and side nav, so they stay opaque when content scrolls under a sticky header; a page gradient is fixed to the viewport on the shell and those regions so they line up. `how` gives the page background one example value per mode, so text stays readable in dark mode.
|
|
782
|
+
- `astryx experimental theme editor set <theme> --color-background-body <color>` no longer moves the neutral color's other surfaces. A mid-tone page such as teal used to turn cards, popovers, menus and dialogs near-black in light mode (with dark text on them), because the neutral shades followed the written page color instead of the page the base theme's surfaces were made for. The written page color is now that one color, in light-only and two-mode themes alike.
|
|
783
|
+
- `astryx experimental theme`: the editor knows its pages and pictures by their exact names (and its pictures record), so a file or link of yours named like one (`sheet-mockup.png`, `preview-v.html`) no longer blocks a change; `preview app --theme` copies such a file, and leaves a link out and names it (it never reads through a link). A link at a picture's exact name, to a file or to nothing, is never written through or replaced: only that picture is skipped and named, and the others are taken. `preview add` at a workspace root names the app to run it from, as the other commands do. A `--section` refusal keeps `--png`; an option written last with no value offers the command without it (never a usage line), except where leaving it out would widen a removal; an empty `--template` offers `preview add` itself; a template typo offers only a page that can be added now. `preview app --theme` names an open font it cannot install, with the package that would load it. The sheet says when a template page's charts are drawn in the browser (recharts), so its pictures show their space empty.
|
|
784
|
+
- `astryx experimental theme editor show` keeps going where a page it draws cannot carry or write something: a theme image over 8 MB is left out of the pages and named in show's notes, rather than stopping the pages, and `show --png` in a theme folder that cannot be written names the folder, rather than refusing on a family page it could not write.
|
|
785
|
+
- `astryx experimental theme editor set`: when a theme's own source sets the fill of the accent or a status color family to a fixed color or a pair of fixed colors, such as `--color-accent: ['#9333ea', '#d8b4fe']` in `t.theme.ts`, the family's other shades (links, icons, the muted tint) now come from that color, the one on screen. Before, they came from the color setting the source overrides, so links could turn blue beside purple buttons. The note about a hard-to-read source color now names a shade of that same color.
|
|
786
|
+
- `astryx experimental theme editor`: a theme whose palette names a palette recipe this CLI doesn't know is now refused plainly, and the file is left exactly as it is. A recipe a newer CLI made gets the same refusal as `astryx theme palette generate`, with the update step that fits where the CLI runs, instead of asking for the file to be fixed by hand. Any other name is said to be no recipe Astryx makes, and the refusal says to set `recipe` in the file to one of the recipes this CLI knows, naming them.
|
|
787
|
+
- `astryx experimental theme editor`: a panel's text color ("the drawer text red", a bottom sheet's, an alert dialog's, a hover card's) is answered with the text color tokens its heading and text read for their color role, never a color property they paint over; a fill set on inputs lands where each member paints its box, a date and time field's two boxes included.
|
|
788
|
+
- `astryx experimental theme editor`: a part's conditions come from what its theming target declares. The part data records every visual prop and runtime state the part's target declares, and the readers keep a runtime state the target declares (or one written as its own name) as a condition, so a state Core adds needs no change to the editor.
|
|
789
|
+
- `astryx experimental theme editor show` lists as `unreached` each part whose fill or text color is still its base's (a part counts as reached when both changed, or a setting is on it), the most visible first; the text names ten and how many more, and `--json` lists them all.
|
|
790
|
+
- `astryx experimental theme editor`:
|
|
791
|
+
- The part data draws every prop that changes a part's look (a toast's type, an avatar's shape), and reads a prop as a condition where it changes a color the part paints, so "the error toast background darker" steps from the error toast's own red.
|
|
792
|
+
- A part kept from a corner change pins every corner token its shapes read.
|
|
793
|
+
- A select's chevron or caret is its indicator icon, and a piece a part does not have (a date picker's segments) is named; neither writes the whole part.
|
|
794
|
+
- "indeterminate checkboxes red" reaches indeterminate boxes only, and "selected" is a toggle button's pressed state.
|
|
795
|
+
- A part that draws a line on some sides only (a grouped button's join) is still listed as drawing no border of its own.
|
|
796
|
+
- A one-mode hover shadow on inputs keeps their hover ring; "half as visible" is the input ring's alpha; "all focus rings" colors the inputs' rings too; a one-mode border on a part with no line draws one, see-through in the other mode; a radio's dot is its own part; "the progress indicator" is the progress bar's, and a state it does not draw apart (indeterminate) is named.
|
|
797
|
+
- `astryx experimental theme editor`: more part facts read from Core, color asks answered with colors, and refusals that point to the setting that shows.
|
|
798
|
+
- The part data reads a background a part inherits from the region it sits in (a side nav in an app shell), and the declarations of every target an element carries (an app shell's side nav region, which is a layout panel too).
|
|
799
|
+
- `how` answers a lighter or darker background with a color, never a brightness filter, which dims the text and icons too: from the page's color for "darker than the page", from each variant's own fill in a state, and from the part's resting fill otherwise.
|
|
800
|
+
- `how` answers striped or no striped rows with the token Core paints every other row with, on the row.
|
|
801
|
+
- The focus ring Core draws on a checkbox or radio indicator is read as tokens the indicator reads always: an outline property or a focus state there is refused, pointing to the focus outline token with no state.
|
|
802
|
+
- A font size, weight, line height or letter spacing on a part whose text is drawn by elements that set their own from a token (a top nav heading, a side nav heading, a banner) is refused, pointing to that token on the part; `how` answers with it and its current value.
|
|
803
|
+
- A border on a part that draws none of its own, whose edges its inner parts draw (a date-time input), is refused, pointing to those parts; `how` reads "date and time input" as that part and answers for its date and time boxes.
|
|
804
|
+
- A checkbox's indeterminate look is reachable with `--when checked:indeterminate`, and `how` adds it beside `--state checked`.
|
|
805
|
+
- A text property CSS inherits, set on a part, says which parts inside it also take it.
|
|
806
|
+
- `astryx experimental theme editor`: a part that another component places somewhere (the current page's button in a pagination, a pressed toggle) records that place as a condition, so what that component paints it with there is never read as the part's look at rest. A ghost button reads no fill at rest, as Core paints it.
|
|
807
|
+
- `astryx experimental theme editor`: padding and corners reach the elements Core draws them on.
|
|
808
|
+
- Padding on a table row, which CSS draws no padding on, is refused for its cells, and `how` answers a typed table row padding on the cells.
|
|
809
|
+
- Corners on a button group are written as the corner token its first and last buttons read, so the group's outer corners follow.
|
|
810
|
+
- `astryx experimental theme editor`: part facts read from more of Core, colors that reach a part's inner text, corners that reach the parts drawing them, and results and refusals that say what is true.
|
|
811
|
+
- The part data renders each component with each look flag turned on too (a table's `isStriped`, `hasHover`), so a table row reads its hover fill, and `how` steps that token for a lighter or darker hover instead of a brightness filter.
|
|
812
|
+
- `how` and a refusal of a state a part lacks list the same states.
|
|
813
|
+
- The focus outline tokens can be set on checkbox and radio indicators, where Core draws the focus ring at focus time.
|
|
814
|
+
- Changing one member of a group kept alike (inputs) alone in height says it now differs from the rest, and names `--on <group>`.
|
|
815
|
+
- A color on a part whose text is drawn by elements that read a text color token themselves (a top nav heading, a top nav) also goes into those tokens on the part, so the text shows it.
|
|
816
|
+
- Corners on a part whose corners are drawn by parts of its own inside it (a date-time input's date and time boxes) round those parts, for the part and its group.
|
|
817
|
+
- A whole-theme corners dial moves a part a base pins to a length or to a token the dial never moves (such as `--radius-full` on buttons), keeps a part Core rounds with a fixed token (a pill badge), and never overwrites corners set on a part.
|
|
818
|
+
- The result lists every state rule a change writes, including one the base theme already has a state block for.
|
|
819
|
+
- A color given beside its own image in one background is never reported as covered by it.
|
|
820
|
+
- A keyword with `--mode` on a token offers only the color; on a one-mode theme, a thing that takes no mode is refused with the command that drops `--mode`, never with a change of the theme's mode.
|
|
821
|
+
- A one-mode state color on a group names the members that cannot keep the other mode and offers `--only` for the part named.
|
|
822
|
+
- `astryx experimental theme`:
|
|
823
|
+
- A part key the build cannot write as intended is refused at its line in an editor theme: a vendor property written without its dash (`msOverflowStyle`, `webkit-transform`, with the dashed form offered), a pseudo name in capitals (`':HOVER'`, which Core does not read as `:hover`), something after a pseudo-element (`'::before:hover'`, with `':hover::before'` offered), two pseudo-elements, an escaped pseudo name, the custom property `--`, an empty key, and a block under a key that nests none (`'[data-x'`, a pseudo key inside a pseudo key). A plain theme's `compile` warns them, as `theme build` does.
|
|
824
|
+
- A custom property of the theme's own whose value is a `var()` that reads nothing is refused at that property, as the same `var()` is in a part's property.
|
|
825
|
+
- A value passed to an imported function (`make('nope')`) is blamed on the line that passes it; a value read through an optional chain (`all?.toks`) or an export that is a property of another block in its file is blamed on the line that holds it.
|
|
826
|
+
- NaN and Infinity get no example made from them (no `'NaNpx'`).
|
|
827
|
+
- `astryx experimental theme editor how`: an element named before "in" or "of" a part ("the selected option row in the selector", "the hovered option in the selector", "the checked item in the dropdown menu") is that part's own element, by the rest of its catalog name and the state said, never another component the words seem to name (a table's rows) or the part itself; the last place said is the place ("the text in the hovered menu item of the dropdown" is in the dropdown), which is never written as a part of its own.
|
|
828
|
+
- `astryx experimental theme editor` measures text on a fill the theme sets on a part the base theme draws with none (every tab painted gray): its text in each state is checked on that fill and named on that part, and each line sets the text on that part, so following them ends the problems.
|
|
829
|
+
- `astryx experimental theme editor`: a part's own state saved in a spelling `set` reads typed (toggle-button's `is-pressed` or `ispressed` for isPressed) is read as that state, with a note, instead of being refused as damage. The next change saves the part's spelling.
|
|
830
|
+
- `astryx experimental theme editor`: a state setting on a part (`font-weight 500 --on tab --state selected`) wins over the build's copy of the plain part's value, which the build no longer writes after it; and `how` keeps a state at the value the part shows in that state (a selected tab's semibold).
|
|
831
|
+
A shadow on the resting rule of a part that draws its rings in its box-shadow (a text input's hover and focus rings) is refused with that reason, in both modes or one, since it would replace the rings in every state.
|
|
832
|
+
- `astryx experimental theme editor`: a part's own state written as the part names it (`--state isPressed` on toggle-button) is saved and read back as that state. Before, the next command read the saved `isPressed` as `is-pressed`, a state the part does not have, and refused every change to the theme. A theme already holding such a state is refused with its undo and a `set` line that writes the setting in its place, so the theme loads again.
|
|
833
|
+
- `astryx experimental theme editor`:
|
|
834
|
+
- A text color on a part whose text sits on Core's media surface inside it (a toast's inverted surface) is refused with the lines that reach it, `--color-on-dark` and `--color-on-light` on the part, and `how` answers with them; the part data records such a surface.
|
|
835
|
+
- A resting shadow on a part that rings itself in its box-shadow keeps each of its renders' own rings: a status that draws none while focused gets the shadow alone, a shadow of none leaves the rings in their states, and a state's own shadow for the part wins on every render.
|
|
836
|
+
- An input's focus ring is its box-shadow ring: `how` answers a focus ring color there with that ring while focused, and an outline color, width or offset on a part that draws no outline is refused.
|
|
837
|
+
- "toggle thumb", "switch knob" and the like are the switch's thumb, never its track.
|
|
838
|
+
- A one-mode fill's covers notes keep its mode, in their words and their lines.
|
|
839
|
+
- The corners help names the step `more` and `less` take between round and pill.
|
|
840
|
+
- `astryx experimental theme editor`:
|
|
841
|
+
- A part's text made transparent by an amount ("the button text 50% transparent", "the fainter text in cards 50% transparent") is its text colors at that alpha, never the whole part's opacity.
|
|
842
|
+
- A state typed by its prop name or its ARIA attribute (`--state isPressed` or `aria-pressed` on a button, `isSelected` on a tab) is the state of that name.
|
|
843
|
+
- Several states at once are taken where the element takes them (a hovered selected tab), saved in one order so either spelling is one setting, and undone in either; `how` carries both states said ("hovered selected tabs").
|
|
844
|
+
- A one-mode border on a part that draws a border in that state (a focused input) is that border's color alone; a line drawn as a ring keeps the shadow the part draws in that state.
|
|
845
|
+
- A divider's line: "fainter" fades every variant's line, "hide" takes them away, and a thickness for one variant ("subtle dividers thicker") stays on it.
|
|
846
|
+
- `astryx experimental theme editor show` names under `missed` the parts the theme's own changes should have reached and did not, one of each kind first: with the accent changed, an inverted surface (a toast, a tooltip), a disabled part drawn as the accent at reduced opacity, a selected state on the base's fill, a status fill (an info banner); with the corners changed, a pill; with the border width changed, a borderless surface. Each comes with the one line that reaches it, its state named (`--state disabled`, `--state selected`). The text shows six and counts the other parts on the base's look; `--json` lists them all. A part whose only fill is the shared hover or pressed tint (a link, a menu item) is judged by its text, so it is no longer listed as unreached.
|
|
847
|
+
- `astryx experimental theme editor how`: two parts joined by "and" share the ask around them, so "half the corner radius on buttons and cards on hover" gives both parts their own command with the amount and `--state hover` (before, the first lost the state and the second was dropped). "context menu" is Core's context-menu part, not the dropdown menu.
|
|
848
|
+
- `astryx experimental theme …`: a pasted change line whose label names a part (`background-color (card) -> red`) sets that part instead of reading the label as a mode; a label that is no part name is still read as a mode, its typo included (`(drak)` is dark).
|
|
849
|
+
- `astryx experimental theme …`: a pasted form is read as the typed one. A var() naming a design token in other letters (`var(--Spacing-4)`) gets the line with that token, though others of its family are one letter away. A pasted entry with its setting and value in the other order (`'pill: corners'`, `'{"red":"background-color","on":"card"}'`) gets the same swapped line as the typed pair. A pasted object of several settings gives each setting's line its scope, from the object's own `on`/`when`/`state`/`mode`/`only` keys and from the flags typed with it, and never offers a scope key as a setting of its own. A pasted change line with a mode label and no old value (`--color-accent [light only] -> #7c3aed`) keeps the label as the mode. A change made when the build does not match the saved settings (after a hand edit) says so and lists its token changes against the saved settings, instead of saying the theme already showed it.
|
|
850
|
+
- `astryx experimental theme editor set`: a pasted object's keys are read as set reads a typed setting name, so a key with spaces around it (`{"accent ": "#7c3aed"}`) is that setting, alone or beside other entries.
|
|
851
|
+
- `astryx experimental theme editor` pictures (`--png`) never wait on a network: the picture's browser loads the page's own files only, so a remote stylesheet, font or image a page names (a base theme's Google Fonts import, a template's photo) fails at once instead of holding the picture until the time limit when the machine is offline or has no direct internet.
|
|
852
|
+
- `astryx experimental theme editor`: a Chrome or Chromium that stops at once (no display, a missing library) is named with its own error when `--png` reports the picture was not taken, never with the closed pipe it leaves behind. A typo of a keyword with a dash (`cursor not-alowed`) is offered the keyword again.
|
|
853
|
+
- The pictures an agent opens show the overlays, and the output keeps what was missed where a cut output still shows it:
|
|
854
|
+
- `preview.png` (the sample page) ends with a strip of a tooltip, a popover, a menu and a select list drawn open, from the overlays the sheet draws.
|
|
855
|
+
- `sheet-overlays.png` shows the small overlays first, five to a row, each cell at most 300px tall, and no part of an overlay alone, so it stays under about 1600px.
|
|
856
|
+
- A change without `--png` names `show --png` and the two pictures it writes to open.
|
|
857
|
+
- A change counts, near its top, the parts the theme's changes did not reach; `show` lists them, with their lines, last before its closing look line.
|
|
858
|
+
- `astryx experimental theme editor show --png` and `--png` on a change take all their pictures with one browser start, a few pages at a time, so a run of many pictures costs about one start. A focus ring at the edge of a sheet cell shows whole, and the sample page shows a link in its text and one in a card.
|
|
859
|
+
- `astryx experimental theme editor`'s pictures and its `missed` list show what the theme draws:
|
|
860
|
+
- `--png` pictures show overlays drawn open as they look open: each opening animation runs to its end before the picture.
|
|
861
|
+
- A change that changes nothing counts the parts the theme still misses, as `show` lists them.
|
|
862
|
+
- A base theme's own rule for a state (butter's selected nav item, drawn with no fill) is what the contrast checks and `missed` judge.
|
|
863
|
+
- An inverted surface that disappears into the page (a toast, a tooltip) gets a line that makes it stand out again, in each mode it disappears in.
|
|
864
|
+
- A border line on a part whose variants differ (a button) frames only the variants that draw a box; the ghost button keeps none.
|
|
865
|
+
- With the theme's own corners at a pill, no pill part is listed as missed.
|
|
866
|
+
- `show`'s count line under `missed` says what the rest are: parts whose fill or text color is still the base's, and the other missed parts.
|
|
867
|
+
- `astryx experimental theme` pictures show what a person sees once the page runs:
|
|
868
|
+
- A calendar on the sheet shows its days: a part whose server render keeps content inert until the browser runs is drawn as the browser mounts it.
|
|
869
|
+
- The open states page draws a context menu (right-clicked), a submenu's flyout, a popover that holds a form, a date and time field's time list, a command palette's items and a narrow screen's navigation drawer. Its drawing asks about the pointer as a desktop's mouse does, presses the controls an opened overlay holds, and closes an open popover when it presses outside it, as a browser does.
|
|
870
|
+
- A states section draws each control of the sample page at rest, hovered, focused from the keyboard and pressed: the page marks each one with its state, and the render's stylesheet applies that state's rules to it.
|
|
871
|
+
- A nav icon gets the icon its doc suggests, and an icon-only button gets an icon, so neither draws empty or spills its name.
|
|
872
|
+
- A border set on the inputs lands on a date and time field's two boxes, not the row around them, so it draws once on each box.
|
|
873
|
+
- `astryx experimental theme editor`: settings typed where the theme goes, as a list or a pasted form (`show corners, accent`, `show corners:pill`, `'{"corners":"pill"}'`), get a look at each theme here, never a theme made of them nor "names more than one theme". `new` reads more settings typed after the name as their options, never as name words: a colon word apart from its value (`accent: red`), a dial typo (`cornres pill`), `base <theme>` as `--like`, a pasted value across words (`font=Inter, Arial`), a dial word after an option's value (`--accent red corners pill`), and a property new takes no option for (`padding 8px`), offered as a `set` after the theme is made; a setting with its value typed as the name (`new 'corners pill'`) is never the name offered. `undo` reads a value with commas typed unquoted when the theme is left out (`undo Inter, Arial`), a value then its setting (`undo t red accent`), and a scope in a spelling set reads (`--on Card`, `cards`, `--mode drak`): the line for that scope's setting leads. An option whose value names another subcommand (`editor --on show set t …`) keeps it. A mode typed with its letters in another order (`--mode kdar`) is that mode. `experimental theme compile` with no file names its usage and help.
|
|
874
|
+
- `astryx experimental theme editor` checks the loading placeholder (Skeleton): one under 1.2:1 against the page or a surface at its brightest, which a person cannot see, is a problem where the theme's colors make it so, with the nearest placeholder color that shows as its line, and a note where the base theme draws it so itself.
|
|
875
|
+
- `astryx experimental theme` refuses what a build could not apply, at its place, and names the fonts a theme shows:
|
|
876
|
+
- In an editor theme, null under a style key, a pseudo-class or an at-rule is named once, with a fix that holds no null.
|
|
877
|
+
- A pseudo-class or pseudo-element typo anywhere in a selector (`::befor`, `:hover:focus-visble`, `:not(:hovr)`) is refused with the selector corrected; a block under a pseudo-class's bare name (`hover: {…}`) is told to start with a colon.
|
|
878
|
+
- A part's variable in the page's `tokens` map, which the part sets on its own element, is refused with the part-scoped line; a typo of one is named.
|
|
879
|
+
- A value read from another file is blamed on that file and line, through `export {name}` lists, re-exports, namespace imports, imported part blocks and imported single values.
|
|
880
|
+
- A named pipe, a device or a socket where the app copy goes is refused at once, never opened.
|
|
881
|
+
- Fonts: Apple Color Emoji and Noto Color Emoji count as the systems' own fonts. Apple's interface faces (SF Pro, SF Mono, New York) are told by the generic that reaches them (`system-ui`, `ui-monospace`, `ui-serif`), since browsers do not reach them by name. An installed font package's missing weights are named, a font service request with another axis before `wght` is read, and a weight between the hundreds (550) is named as the face it shows, as CSS font matching picks it.
|
|
882
|
+
- `astryx experimental theme`: a stop (Ctrl-C, SIGTERM) during `preview add`, `preview remove` or `preview app` now ends the command as stopped, with one line saying where the change stands, never `[ok]` with exit 0; a browser the editor stops at its 60-second bound is said to have timed out, Chrome's startup warnings are no longer given as the reason a picture failed, and a theme folder that cannot be written is named instead of the browser; Chrome gets a profile folder of its own that is removed however the run ends; the `see` fix for an in-app preview Next does not serve is one that works (`preview remove --path …`, then `preview add`, or "tsx" in pageExtensions); `preview app` from a subfolder prints a folder and `cd` that work from there, and its rule and docs name the project folder as the bound; and from a subfolder, the picture note names every picture with its full path.
|
|
883
|
+
- `astryx experimental theme`: a change no longer deletes a copy of a picture (such as `preview-before.png`): only pictures the editor recorded taking, unchanged since, are removed. Every browser the editor starts for a picture, Playwright included, runs as its own process with a temp folder of its own (removed however the run ends), one 60-second bound and the same stop; a browser that does not start keeps its real cause in the message, and Chrome is named only when there is one. A theme folder that cannot be written is a write failure naming the folder; pictures asked for but not taken are said; `preview add` finds a preview renamed by hand instead of starting a second one, through the one list of previews `see`, a change's refresh and the preview commands share; a theme the route imports from outside the project folder (a workspace app run from its own folder) is never dropped from the preview; the no-template refusal offers only pages the app can show; a page remove over a theme that does not load names the whole-preview remove; the `add --template <default page>` note says what was added; from a subfolder, the wiring's paths work from there; and the `preview remove` help says what happens to a path outside the folder.
|
|
884
|
+
- `astryx experimental theme editor`: pictures a plain Chrome took are no longer reported as "--png took no pictures"; the `see` line names `editor show <theme> --png` for pictures, never the command that just ran (an undo run again undoes another change); stopping a change while the browser takes pictures stops the browser and says the change is saved, never a browser failure; a picture's part file left by a stopped run is cleared by the next change and never copied into a new app, and a folder by that name is skipped; an in-app preview route that cannot be written, a damaged preview record and a preview in a folder Next does not serve (`src/app/` under a root `app/`, page extensions without `tsx`) are all said, with no URL that would not load; `preview app` copies none of a theme's pictures or preview pages; and from a subfolder, `preview list` and `remove` take the folder they print, and the picture note and `previewStale` name files the way `see` does (absolute).
|
|
885
|
+
- `astryx experimental theme`: with Playwright in the project, pictures try Playwright's own browser before the system Chrome, and the advice names only a fix that can help (Playwright's browser only when it is missing); the Chrome lookup passes over a folder or a file that does not run and keeps looking on PATH; a change keeps every in-app preview of the theme in step, including one renamed by hand or whose record was lost, the same previews `see` names; `preview add --path app/<x>` in a src/app project says that a root app/ would stop the whole app in src/app/ from being served; the `preview app` error table names the project folder as the bound; and a stop that lands after a preview command printed its result no longer turns that ok into exit 130.
|
|
886
|
+
- `astryx experimental theme editor` and `preview`: `preview remove --path` given a file is refused with the preview's folder (it reported an unknown error). Pictures are taken under a part name and moved into place, so a `--png` run stopped while the browser runs leaves nothing the next run reads as a file of yours. The `see` line names `preview add --theme <name>` when the project has several editor themes; gives no URL for a preview moved where Next does not serve it, saying why; says preview.html could not be written when a folder is in the way; says what blocked `--png` when a picture of yours did; names files by paths that work from a subfolder; and says when the in-app preview was changed by hand, as `previewStale` now does with what to move out. The show help says pictures change nothing in the app, except that show first brings the app copy up to date after a hand edit. A dial value labeled with another setting (`accent 'neutral: #64748b'`) is refused with that setting's line. The input cleanup reads corner brackets as quotes, keeps escaped quotes and brackets inside strings, reads a light and a dark color typed as a pair (offering `light-dark()` or two `--mode` lines, or one color for a dial), splits a JSON object of several settings into one line each, reads a JSON-escaped font stack, maps `--mode night` and `day` to dark and light, and reads `vibrancy 0.5` and `"50"` as 50; a saved value with paste debris or `!important` is offered cleaned.
|
|
887
|
+
- `astryx experimental theme`: pictures taken with a Chrome or Chromium (no Playwright) are whole-page pictures, the same as Playwright's, through the browser's DevTools protocol, never the top 2400 pixels only. Every browser the editor starts runs under one runner: a temp folder of its own (a run with none is refused, never started on the person's own browser profile), one time bound per browser with the next browser tried when one hangs or fails (and not tried again for the next picture of the run), and a stop (Ctrl-C, SIGTERM, or the terminal closing) that closes the browser's whole process group and removes its temp folder and the unfinished picture. When a later browser took the picture, the result says why an earlier one did not, with its real error. A picture file of your own (`preview.png` of any size) is never taken over: only pictures the editor recorded or stamped are. `preview add` from a workspace app's folder keeps a theme the route imports from outside it, as `preview remove` does; two starter apps from `preview app` never share a package name; refusals name commands that work when followed (each app's own folder from a workspace root, a free folder for a starter app, a page this app can show); and the note that the app does not import Core's stylesheet reads the layouts' real import statements.
|
|
888
|
+
- `astryx experimental theme` and `astryx experimental render`: a stop (Ctrl-C, SIGTERM, or the terminal closing) while pages render removes the render's temp folders. A page with a root Theme is written with that Theme's attributes on `<html>`, as Core's root Theme sets them in a browser, so root-scoped tokens such as the focus ring's color follow the theme in the preview and the sheet. Every `preview app` command a result names works where it is printed: a folder starting with `-` goes after `--`, a folder is given from the folder the command ran in, a theme a workspace app holds is reached from that app, and a repaired folder name is a free one. A starter app gets every open font the theme builds, installed in this project or not. A change names the pictures it removed (the preview's and the sheet's) and keeps a section sheet's. `preview app --theme` refuses a theme whose own files import a file outside its folder, which the new app would not have. A stop during `preview app` says whether the app was written whole or nothing was written.
|
|
889
|
+
- `astryx experimental theme`: a theme with both modes gets a sheet and preview that render each part as the app renders it in each mode (a Toast in dark is the app's dark Toast, no longer a blank bar), the page showing the render of the mode it is in. From a workspace root, a folder in a workspace app gets that app's own checks (its routes folder, public/, build folder, themes/, Pages Router, unrouted folders); the pointers to an app below keep every argument (`--theme`, `--template`, `--top`) and use `--path` from a project root; a theme that a workspace app holds is named there, with the command run from that app. Every pointer is one its command takes: `preview add` only where add takes the folder, a starter folder free of any file, dangling link or case twin, a `cd` that a folder starting with `-` does not break, and `editor show <theme> --png` after a stop during the pictures. Starter apps get package names that never collide. A preview moved into a folder with a space or another character no plain URL takes is updated where it is. A second Ctrl-C while the pictures stop kills the browser at once and removes its temp folder.
|
|
890
|
+
- `astryx experimental theme`: a refused `preview app --theme` or `preview add` writes nothing: a stale theme it builds first is put back when the build fails (a theme source that does not load), so the same command is refused again rather than copying an old build. `preview app --theme` refuses a theme stylesheet url that leads out of the theme folder (the new app would not build), a theme file too large for one read, and one that cannot be read, each by name (a read, never called a write). A named pipe or a device at a file the editor reads (the preview record, a page, a picture, the pictures record) is never opened, so no command hangs on one. Theme image names are URL text (`a%20b.png` is "a b.png"), and a quoted url may hold parentheses; an image that cannot be read is left out of the previews with a note. A section sheet's pictures go with the others when the look changes, and the command that takes them again is named. A starter app names the weights of a font it adds that it does not load. `preview add` reads a typed dash form of its options, and beside a description offers only a `--template` page this app can add; `--top` beside a default page, or alone, offers the command without it; an empty `--theme` offers the preview command with each theme.
|
|
891
|
+
- `astryx experimental theme preview` reads each preview page once per element when it checks whether the page was changed by hand: a page whose JSX nests deep took time that doubled with each level, so `preview add` and `preview remove` were slow on the generated pages.
|
|
892
|
+
- `astryx experimental theme`: a preview picture's browser makes no network request of its own (no update, time, sync or metrics checks, no proxy, no host name resolved), on the Chrome and Playwright paths alike. A theme file that is not a regular file (a named pipe, a link to a device) is never read, so `show` cannot hang on it. `show` names the theme images the previews cannot show (loaded from the network, not found, not a regular file, or over the size a preview page carries), and an image too large for a preview is refused with its name and size instead of as a React failure. Extra words to `preview app`, `preview list` and `preview remove` get a command that works and the command's help. `preview app --theme` from a workspace root gives the `cd` to the app. A description longer than the words read is quoted as typed, and a refusal says it was cut. A `--template` typo names only pages this app can add now.
|
|
893
|
+
- `astryx experimental theme preview` and the starter offer lines that work and name what is in the way:
|
|
894
|
+
- `preview remove` with no preview yet offers `preview add` only where add can work; elsewhere (an app with no root layout) it offers what add itself offers there.
|
|
895
|
+
- `preview app --theme` refuses, before anything is written, a theme whose import without its extension (`./helpers`) loads a link inside the theme folder, and one whose `url()` names no file (a wrong-case path); a folder in the theme folder it cannot read is named as a read, not a write.
|
|
896
|
+
- A named pipe or a device at `sheet.html` or `preview.html` is left as it is and named, as at the open states page's name, never written over.
|
|
897
|
+
- `preview app --theme` given a theme as a path or a list offers `preview app <folder> --theme <theme>`, never a look at the theme.
|
|
898
|
+
- `astryx experimental theme editor`: a change's new problems are the ones the theme did not have before it, compared by what each problem is (the text, what draws it, what it sits on, its variant and mode), not by its printed ratio, so moving a color that leaves the same text low makes no new problem.
|
|
899
|
+
- `astryx experimental theme editor`: a problem a change makes leads its result. The status line counts the new problems, and each follows under it with the command that fixes it: the text token set where the text sits, or the border color, for the mode, to the black or white that reads there. A color that fails its contrast check is a new problem too. `show` ends with `openProblems`, every contrast problem the theme has now with its fix (the JSON lists every one; the text shows the first eight and counts the rest). A text token set on the part the text sits on (card text on the card) now counts for the text inside it, so following that fix clears the problem, and a border set again for one mode is measured as set.
|
|
900
|
+
- `astryx experimental theme editor`: `openProblems` and `newProblems` list every contrast problem in JSON, and a change's new problems are compared against all of them, so following one fix line no longer reports old problems as new. The text shows the first eight and counts the rest.
|
|
901
|
+
- `astryx experimental theme editor how`: a progress bar's height ("progress bar 4px tall") is its track's, never a strip of fill over the unchanged track; a date picker's selected day says its calendar is the plain Calendar and names the calendar day's selected state, as its today does, never "date-input has no selected state".
|
|
902
|
+
- `astryx experimental theme editor …`: a set of a property typed in other letters (`set t Background-Color green --on card`) is that property, so it fixes that property listed twice in the settings file, instead of a refusal that offers a swapped line back and forth. A top-level `base` in the settings file (the editor's word for it) is read as the base, with a note, instead of the theme building on no base, and any other top-level field the editor does not read is named, with the field it is a typo of. A saved setting with no source and its part under a field the editor does not read (`"part"`) names that field and offers the undo that removes it, instead of only a remake.
|
|
903
|
+
- `astryx experimental theme`:
|
|
904
|
+
- A pseudo-class after a pseudo-element that takes one is accepted: any after `::file-selector-button` and `::details-content`, `:window-inactive` after a highlight such as `::selection`, `:target-current` after `::scroll-marker`. One that does not take it is refused with what it takes.
|
|
905
|
+
- Only `:hover` and `:active` written in capitals are refused, the two names Core reads; `::BEFORE` or `:FOCUS` build as written.
|
|
906
|
+
- A part property that builds dash-first without a vendor prefix (`Color`, `BACKGROUND`, `-webkit-`) is refused, with the name in lower case.
|
|
907
|
+
- A tokens map spread from a defined theme's tokens no longer trips over Core's own private copies in it; another private variable it carries is named as coming with the spread, with the way out.
|
|
908
|
+
- A value read from another file is blamed on that file through an array element (`cs[1]`), a template (`` `${c}` ``), a choice (`B.x ? B.x : '#fff'`), a call of a global or a function of the theme file's own (`String(B.x)`), and `await import()`.
|
|
909
|
+
- `astryx experimental theme`:
|
|
910
|
+
- In an editor theme, a pseudo key that is no single selector is refused at its line: one that leaves a parenthesis, bracket, quote or comment open (`':nth-child(2n'`, with the closed form offered), one no browser reads, and a selector list (`':hover, :focus'`), which is named with one key per member. A plain theme's `compile` warns them, as `theme build` does.
|
|
911
|
+
- In an editor theme, a custom property with capitals in a part's block is refused: the build writes a part's property names in kebab case, so `--myColor` would be set as `--my-color` while `var(--myColor)` reads the name as written. A plain theme's `compile` warns it.
|
|
912
|
+
- A variable a component sets on its own element is refused in `localTokens` and in another part's block, with the part that sets it. On its own part, `var()` of that variable reads it.
|
|
913
|
+
- `editor set` on a theme whose stylesheet is a named pipe gives the pipe refusal, never a failed module load.
|
|
914
|
+
- A value read through an imported object's member (`all.toks`), a destructure of one, an imported function's return, or an imported typography object is blamed on the file that holds it.
|
|
915
|
+
- A null value in the theme's own file builds as it is with a warning at its line, as in any theme; a null part or style key is still refused.
|
|
916
|
+
- `compile` of a missing file near the theme source (`themes/t/t.theme`, `t.them.ts`) offers that source.
|
|
917
|
+
- `astryx experimental theme editor how` reads more questions the way they are asked:
|
|
918
|
+
- "make cards the color of the page" gives cards the page's color and never changes the page ("but 10% darker" steps that color in each mode; an amount before "lighter" or "darker" after "but" stays with the ask);
|
|
919
|
+
- "make dialog shadows 50% more transparent", "20% less opaque" scale each shadow layer's own alpha, in each mode, instead of writing one alpha on every layer; a part that draws no shadow of its own says so;
|
|
920
|
+
- "make borders 3:1 contrast" gives the border color at the lowest strength that measures that ratio against the page, surfaces and cards in each mode, instead of a fainter border;
|
|
921
|
+
- a bound on a whole-theme ask holds: "padding bigger but at most 2px" (the base spacing step is past it) and "corners square but at least 8px" (square is 0px) write nothing and say why;
|
|
922
|
+
- "make shadows use 20% black" sets each shared shadow's layers in that color, offsets kept, and a color written as a function (color-mix(…, transparent)) is never read as a "transparent" ask;
|
|
923
|
+
- "what color is the text", "what color is the accent", "what is the body text size" answer with the theme's value in each mode it shows;
|
|
924
|
+
- "more colorful" and "less saturated" are judged by how colorful the accents look (OKLCH chroma, the measure vibrancy moves), so a pale accent such as butter's dark yellow can be made more colorful.
|
|
925
|
+
- `astryx experimental theme editor how` checks its answer against what the question means: a part the question only compares against ("rounder than buttons", "darker than the page") is never changed, and the answer says so; a prohibition ("don't make the cards bigger", "buttons should not be rounder") changes nothing and says what stays; a question about a value ("how much padding do buttons have", "what color is the button") answers with the value now. Comparisons write onto the first part only, with a typed offset ("4px rounder than buttons"), its variant and state, and the property the words name ("button text the same color as the card text", "input border the same color as the button background"); two parts that should match copy one value, or say they already match. "Except" keeps an exact radius change, a text size change, a variant beside a part, small and muted ones, and a state. A side border ("remove the top border"), close icons and header titles, "inputs with errors", a heading level ("red h1"), a part's own radius, text colors for two button variants, an elided second clause ("… and darker when pressed", "… and half on ghost ones") and "buttons inside cards" (the container is kept, and the answer says the part changes everywhere) are read as asked. A theme name typed in another case keeps the question.
|
|
926
|
+
- `astryx experimental theme editor`: on an installed Core that draws a radio's circle with the pill token (`--radius-full`), squaring the pills ("no rounding anywhere", the square-corners note) keeps the radio marks round with that token at Core's value on them. On a Core that draws the circle at 50%, no pin is written. The "thick borders on everything" answer also frames the label boxes (badges, tokens).
|
|
927
|
+
- `astryx experimental theme editor`: the cached part data is rebuilt once more, so a calendar's range band is read in a cache built before it was drawn.
|
|
928
|
+
- `astryx experimental theme editor`: the part data draws a component whose look names its value's kind (a calendar's range mode) with a sample of that kind (a range of days), so what Core draws for it, the band behind the days in a range, is read: "the calendar range band blue" sets the token it paints with on the calendar. A shadow or border asked of a part drawn inside an overlay that paints its edge for it (a typeahead's list, in its popover) points to that overlay, saying a change there reaches every one, and writes nothing.
|
|
929
|
+
- `astryx experimental theme editor`: one reader for each kind of input, on every path.
|
|
930
|
+
- A family list reads each family from its end, on the font dial, a family token and a part's `font-family`: a size, a weight or a style after a family's name (`Inter 16px`, `Inter Italic`) is refused with the family and the size's, weight's or style's own line; a bare number in a list (`Lato, 16`) is a weight only as a whole hundred; a misspelled generic (`sansserif`, `serf`, `system ui`) or, on the font dial, preset (`sytem`) is offered as that name, never saved as a family. A family the editor knows keeps its last word (`Source Sans 3`, `Arial Black 900` is Arial Black and a weight).
|
|
931
|
+
- A swapped setting and value is offered only when set takes it as typed, with the scope typed, never a sample command on a part nobody named.
|
|
932
|
+
- A property written with `_` or spaces (`font_size`, `"border radius"`) reads as the property, as camel case does, and gets the same answer.
|
|
933
|
+
- One yes/no reader for a flag given a value and a saved `only`: the documented spellings of yes and no, or a typo of one; any other word is refused with no line guessing it. The line offered is checked as every repair is.
|
|
934
|
+
- `--mode` reads a word that names one mode (`dark-only`, `darkmode`, `dark mode`) as that mode, in set and undo alike.
|
|
935
|
+
- A pasted object of one entry gets that entry's repair.
|
|
936
|
+
- A saved value that set repairs (`headings "blod"`, `spacing "romy"`, `text-size "16px"`) is offered that repair beside the undo.
|
|
937
|
+
- A damaged base or mode is offered the lines that set it again (each installed base, each mode), never a default that drops it; a base written with `theme` (`neutral-theme`) is that base.
|
|
938
|
+
- `astryx experimental theme editor`: a typo of a font preset reads as that preset when the preset and the system family it names both match (`Verdena`, `Segoe IU`); a family near a system font only (`Times New Romna`, `Arail` in a list) is kept as typed, with a note whose line sets that font. `show` and `compile` give set's repair for a damaged saved value beside its undo, as every change does, and an entry saved in a typed form (`corners: pill`, `red --on card`) gets the reading set gives it. The editor's own printed setting line pasted back (`corners = pill (whole theme)`, `opacity = 0.5 on card`) carries its scope. A dial saved for one mode is refused as `set` refuses `--mode` on it, never built for both modes or for none. `set mode night` reads as dark only; `undo` compares colors as colors (`#F00` is the saved `#ff0000`); two headings words (`bold wide`, `bold and wide`) are one `new` line, and set's second line is the next step; a token in another style (`--color_accent`) or with a typo is offered as the token.
|
|
939
|
+
- `astryx experimental theme editor set` points at a line that works and says what happened. A word that names a dial and its value (`shadows none`, `elevation none`, `dark-mode true`) offers that dial's line (`set t surfaces flat`, `set t mode dark-only`) whatever the theme has now. A state a part does not have names the part drawn inside it that does ("today" on a calendar offers the line `--on calendar-day --state today`). A no-op `mode` or `base` set says nothing was built and no undo step was added, as every other no-op does. A theme with one color mode lists its own mode's token changes first.
|
|
940
|
+
- Receipts say what happened: `astryx experimental theme editor set` of a value the theme already has reads "font = system (whole theme) was already set; nothing changed" in place of "system -> system"; an `undo` names a setting that still applies where the removed one did ("#fef3c7 in light mode and the base theme's value in dark mode"), never the base value alone; and a theme set to one color mode says `astryx theme add <theme>` records the mode and its wiring passes it, in place of reading as a manual step. A dial already at its last rung names an exact size that goes past the rungs (`set t text-size 18`), beside the step the other way.
|
|
941
|
+
- `astryx experimental theme editor`: a refusal offers `new` to make a theme again only for a settings file `new` itself remakes; a setting listed twice gets its keep and remove lines, and a `lifted` field that is no list of text is dropped (the build writes it again). `new` repairs a value as set does: a line never adds a setting nobody typed (a mode read from a color's words), a did-you-mean reads the whole value typed, `how` is named for a value no reading makes work, and a repaired value (`ff0000` as `#ff0000`) stays in the line. Words of a flag value typed unquoted on `new` (`--font Open Sans`) belong to that value, and the line offered is checked as new checks it. show and the preview commands read their options with the one option reader, so a did-you-mean always matches the command offered. A base that is not installed leads with the install, then the set, and a theme already on a base is not offered no base. A part and its variant written in other letters together get the line that works. A corners size saved in rem is read as the px set saves it as.
|
|
942
|
+
- `astryx experimental theme editor` offers lines that run and do what they say:
|
|
943
|
+
- A setting and value in the other order beside a mistyped option (`set t red --color-accent --mdoe dark`), or with a spaced name beside a part typo, get one line with both repairs.
|
|
944
|
+
- A `var()` naming a token one letter off gets the line with the token repaired, typed and as the repair of a saved entry beside its undo.
|
|
945
|
+
- `undo` naming two settings of different scopes (`undo t spacing background-color --on card`) offers one undo for each, never one that drops the other.
|
|
946
|
+
- After a plain part fill, the "to fill only one of them" and "to change only its fill at rest" lines start with the undo of that fill.
|
|
947
|
+
- `new --base` offers the `--like` line as `new` checks it (an install first, other flags repaired). `new --font Open Sans` with no name reads Sans as part of the font, and offers a free name. `--mode light --mode dark` together read as both modes.
|
|
948
|
+
- The editor's own lines pasted back keep their repairs in the arrow form (`accent tomato -> tomatoe`), read a mode label in any case or with `mode`/`only` (`(Dark)`, `[dark only]`), refuse a mode typo with its line, and keep a printed scope in another case (`on Card`, `:Hover`).
|
|
949
|
+
- A pasted entry's field keys are read in any case (`{"Thing": …, "Value": …}`, `"On"`).
|
|
950
|
+
- The line that drops `--only` keeps every other scope flag.
|
|
951
|
+
- `astryx experimental theme editor`: lines offered work as the person will run them. A `new` refused for its name keeps each misspelled value as new repairs it for a free name. A word after `--like <base>` is read into the name, never glued onto the base. A damaged saved entry's set line is offered on its own only when it replaces that entry; otherwise it is labelled as the step after the undo. A typo of a built-in base reads as that base, installed or not, with its install first (set, `new --like` and a saved base alike), and an unknown base gets `how base`, never `base none` for a theme on a base. A thousands comma reads as such on a property that takes only whole numbers (`z-index '-1,000'`), and a comma in a ratio is a pair only between whole numbers of 1 or more (`0,75` is 0.75). An undo naming several settings offers one undo each; an undo with only a scope offers a step back only when there is one. A setting pasted in the saved form, or beside its scope keys, is one setting with its scope as flags. A word after a mistyped yes/no option is left out of the line and named. The settings reader reads a saved `only` of 1 or 0, refuses a vibrancy with no color as set does, and a saved step word steps from what applies without it.
|
|
952
|
+
- `astryx experimental theme editor`: a repair's offered value reads the whole typed value, never a subset of its words. A line may carry part of the value only when the refusal's other lines carry the rest (`Inter 600` gives the family and the weight, `italic bold` on a part gives the style and the weight); a part alone (`all` for `all 200`, `bold` for `extra bold`, `5` for `0,5`) is not offered.
|
|
953
|
+
- A comma between digits is a decimal point (`1,5rem` is 1.5rem, `0,5` is 0.5), or before three digits after a whole number a thousands mark (`1,000` on a weight is 1000), never a split into layers.
|
|
954
|
+
- Several values of one kind for a property that takes one offer the first as typed, with px only when the property takes no bare number (`line-height 1.5 2` is 1.5), and never one value of a shorthand of several kinds (`transition all 200` gets `how`).
|
|
955
|
+
- `headings extra bold` offers heavy (800), and `text-size x-large` offers 24, the size CSS gives it.
|
|
956
|
+
- `more` or `less` authorizes a computed value only on a dial with a scale: a token, a part property or a dial's other name given a step gets `how`, never a stock color, weight or size.
|
|
957
|
+
- A saved value authorizes only a keep line for its own setting, never the setting being typed, so `base buter` no longer offers the base the theme already has.
|
|
958
|
+
- A light and dark pair on a part's color in a one-mode theme gives the half that theme shows, as a token does.
|
|
959
|
+
- The note about a second pasted declaration names its line only when `set` takes it, or the line `set` offers for it.
|
|
960
|
+
- `astryx experimental theme editor`: every value a refusal or a saved-settings repair offers now passes one gate, and each offered line is checked as `set` checks it before it is shown. A value may come only from these sources:
|
|
961
|
+
- What was typed, under exact readings: quotes, labels and copy debris (a trailing `;`, `!important`, a comment) taken off; the same number written another way (full-width digits, a comma decimal, an exponent, rem or pt as px, a percent); CSS color names written as words (`dark red` is `darkred`).
|
|
962
|
+
- A documented table: Tailwind's radius classes (`rounded-lg` is 8px), a dial's own words, a weight word, a number read as a dial's nearest rung.
|
|
963
|
+
- The theme's own saved values, for a keep or unlock line.
|
|
964
|
+
- The setting's documented fallback or other-direction step.
|
|
965
|
+
- The correction of a typo of what was typed: one letter off for a word of five letters or fewer, two for a longer one.
|
|
966
|
+
|
|
967
|
+
Anything else, such as a stock color, a stock shadow or easing, a reset, a default token or a nearest guess, gives `how <thing>`. A scale step (`red-500`) is no bare color.
|
|
968
|
+
|
|
969
|
+
Also:
|
|
970
|
+
|
|
971
|
+
- `font 'Inter 600'` offers the family and the weight separately.
|
|
972
|
+
- A Google Fonts spec (`Inter:wght@400;600`) offers its family.
|
|
973
|
+
- Another property's label on a part property (`padding 'margin: 8px'`) offers that property.
|
|
974
|
+
- `--color-danger` offers the error token, and `--color-primary` or `--color-brand` the accent token.
|
|
975
|
+
- A CSS property typed for the whole theme leads with its dial or token (`border-radius 8px` → `corners 8px`), never a part that was not named.
|
|
976
|
+
- A pasted object's nested values are read, and each of its lines is checked.
|
|
977
|
+
- A bare fraction on a size token gets no px guessed.
|
|
978
|
+
- A very long input is near nothing.
|
|
979
|
+
- `--state 'hover,focus-visible'` gives one line per state.
|
|
980
|
+
- A saved light-dark pair for one mode is refused with the half for that mode.
|
|
981
|
+
- A CSS-wide keyword on a token offers the undo only when the theme sets the token.
|
|
982
|
+
|
|
983
|
+
- `astryx experimental theme editor`: repairs follow the readers `set` already uses.
|
|
984
|
+
- A saved property name with a space or capitals (`"background color"`) is repaired by `set` in place: the line replaces the broken entry, and the theme loads again.
|
|
985
|
+
- A unit typed after a space joins its number for every CSS unit (`50 %`, `50 vw`, `200 ms`, `1,5 rem`), not only px, rem and em.
|
|
986
|
+
- A typo in `--when` (`variant:primray`, `siez:lg`) offers the same command with `--when` corrected. A saved one gets the undo, then that line, so the setting is kept.
|
|
987
|
+
- `undo <thing> <value>` with no `--mode` is refused when the setting is saved for one mode with another value, and names the saved value and its mode.
|
|
988
|
+
- `new --font 'Inter 600'` offers `--font Inter --headings semibold`, as `set` reads the same value.
|
|
989
|
+
- A saved entry that names its thing under `setting`, a saved entry with the setting and value the other way round, and a saved mode of `"both"` or `""` are read as `set` reads them typed, with a note, so the theme loads.
|
|
990
|
+
- `astryx experimental theme editor`: repairs work when followed. A damaged mode or base with a second bad value in the list leads with the fix for that value, which also saves the mode or base as meant, and no repair offers a bare `undo` that would throw away the last change. A stored vibrancy is offered as a set only when a color dial is set, and the no-effect refusal names a token color as one vibrancy does not change. `undo` with a theme name typed in another form (`tTheme`, `T`, `brand_dark`) suggests the same undo with the theme's name. A missing name with a doubled or trailing dash suggests the cleaned name that `new` takes. The tracking half of headings listed twice is undone with `undo <theme> headings tracking`, the form that works. A trailing comma or a typographic dash in `--on` (`text-input,`, `text–input`) names that part, never its whole group. A light and dark color pair on `new` offers the user's own colors per mode, never a stock color. In a one-mode theme, a doubled entry for its own mode is kept with that `--mode`, which now replaces both entries.
|
|
991
|
+
- `astryx experimental theme editor`: a reset value typed with a typo on a part property (`display nnone`, `font-weight normall`) offers that value again (`none`, `normal`), since it is what was typed, corrected.
|
|
992
|
+
- `astryx experimental theme editor`: a resting shadow on a part that draws rings in its box-shadow (an input's hover and focus rings, a status's ring) is written, and in each state Core rings it the theme's shadow comes with that ring after it, so the rings keep working; a shadow the theme sets for a state keeps its own. `how "sunken bevel on inputs"` answers with an inset bevel lit from the bottom right.
|
|
993
|
+
- `astryx experimental theme editor` results say what the theme does: a mode's own setting under one for every mode names the one still drawing the other modes, with its undo; an inverted surface left as the base's is given the theme's own other-mode surface (a warm dark tooltip on a cream theme), or its surface in a one-mode theme; a token set on the top bar reaches the text over its ground, and a fix for that text stays in the top bar; a container's faint border, or a hairline where the base draws one too, is a choice, and a border or secondary text that needs a fix gets the nearest color that reads, not black or white; pills are listed as missed only when the corners go square; the open problems header and the missed count say which lines exist and where each miss is listed.
|
|
994
|
+
- `astryx experimental theme editor` lists under missed a part where the base theme takes a role color away on its own, once the theme moves that role: the base pointing the role tokens at others there (an info banner drawn in the base's categorical blue), or a variant named for the role drawn in a color of the base's palette written out (an accent progress fill in a pale blue). Each line gives the part the theme's role color there.
|
|
995
|
+
- `astryx experimental theme editor`: what is pasted is read as meant, and a repair carries the value given.
|
|
996
|
+
- A repair never offers a stock value the input did not hold (a gray, a violet, `inter`, `system`, `1px`): a line that sets the same setting again carries the value typed or saved, cleaned, else `how` for the setting.
|
|
997
|
+
- A value labeled with a word that is not the setting's own name is refused with what the word means, never set with it dropped: a mode (`accent 'dark: #2563eb'` offers `--color-accent '#2563eb' --mode dark`), a state (set on a part with `--state`), a kind of screen (not set per screen), a part (`--on <part>`), a heading level (`headings 'h1: bold'` offers `font-weight 700 --on heading --when level:1`), or a word it does not read. The setting's own name before the value is the value (`font 'fontFamily: Inter, serif'`); a camelCase or quoted label of another setting names it.
|
|
998
|
+
- A size multiplied by a variable with a number fallback (`calc(0.75rem * var(--x, 1))`) is taken.
|
|
999
|
+
- CSS function names in any case are read (`LIGHT-DARK(…)`); a `light-dark()` with another separator offers the comma; a font list missing the comma before its generic family (`Georgia serif`) or with a spaced generic (`sans serif`) offers the list meant.
|
|
1000
|
+
- A backslash before `#`, a quote or a space is taken off; a JavaScript escape in a `content` string is written as CSS writes it (`\u2022` is `\2022`); JSON arrays and design-token objects (`{"$value": …}`, `{"value": 18, "unit": "px"}`) are read as their value.
|
|
1001
|
+
- `headings lighter` is the weight light; two headings words give one line each.
|
|
1002
|
+
- The change receipt names a quote or space mark as its CSS escape, so text and JSON name the same value; a saved value in corner brackets is named as quoted, not as spaces.
|
|
1003
|
+
- `astryx experimental theme editor`: several values of one kind on a property that takes one (`margin-top '-4px -8px'`, `padding-top '1pt 2pt'`) are offered the first again, with its sign and any unit: the repair and the repair gate read "several values of one kind" through one shared reading.
|
|
1004
|
+
- `astryx experimental theme editor …`: a saved setting that writes one field two ways (`value` and `Value`, `on` and `--on`) is read the editor's way with a note naming both, and the next change writes the field once. A pasted declaration whose unquoted value went on past a space (`set t font=Inter, Arial`) is read whole, so the line offered with the theme left out works too.
|
|
1005
|
+
- `astryx experimental theme editor`: a saved font family in French quotes (`« Inter »`, with plain, no-break or narrow no-break spaces) is offered as `"Inter"`, the value set saves, not `" Inter "`.
|
|
1006
|
+
- `astryx experimental theme editor`: names saved in a spelling `--state` or `set` reads typed are read the same way, with a note naming the spelling saved. Before, every command refused the theme. This covers:
|
|
1007
|
+
- a part's own state in other letters or with a space, an underscore or a colon (toggle-button's `IsPressed`, `is pressed`, `is_pressed`, `:isPressed` for isPressed);
|
|
1008
|
+
- a CSS property in other letters (`Background-Color` for background-color).
|
|
1009
|
+
|
|
1010
|
+
A state's prop name typed or saved in one case (`--state ispressed` or `ISPRESSED` on button, `isselected` on tab) is that state, as `isPressed` and `aria-pressed` already were.
|
|
1011
|
+
|
|
1012
|
+
- `astryx experimental theme editor`: `--only` now means one thing to `set` and to the settings reader. A saved `only` on a part that is styled on its own (as another editor version saved it) no longer stops the theme from opening. It is read and built as without it, which is what it means there, and one note says so; the next change saves it so. Where that puts it at the same place as a later entry of the same setting, the later one, the one the build shows, is kept, and the earlier one is named and left out. `set --only` reads it by the same rule.
|
|
1013
|
+
- `astryx experimental theme editor`: a state saved in a spelling the editor reads (`aria-pressed` on toggle-button) is named by the part's own state (`--state isPressed`) in every line the editor offers, even before a change rewrites the saved entry.
|
|
1014
|
+
- `astryx experimental theme editor how`: "lighter" or "darker" on a part's fill starts from the fill it shows at rest (its own setting first; never a pressed overlay), uses the amount asked and keeps a see-through color see-through. "except" keeps every excepted part or variant at the value it has now (its own shadow, its own weight) in one answer, says when a part reads none of what changes, and says when an excepted place is not a part. Sub-parts and catalog parts named in words go to that part ("dialog header", "dialog title", "code block header", "text inputs", "date pickers", "toggle buttons", "select boxes", "switches"); a sub-part Core lacks ("card header") is answered for the whole part, and the answer says so. "As round as", "the same padding as" and "match" copy the other part's value onto the first part only (an amount of it with "twice as round as"). Each clause keeps its own variant; a bare size in a list of text changes is the font size; "headings 20% bigger" scales every heading level from its own size; a font stack stays whole on the part; side words write only those padding sides; a part whose name has a state word ("hover card") is the part; "card text lighter" and "dialog text twice as big" get commands; a second part with an ask of its own keeps it; and a theme name near the one typed with `--theme` suggests the same question.
|
|
1015
|
+
- `astryx experimental theme editor` contrast-checks a change limited to one state or condition (a selected row's fill, an info banner's fill) like any other: the part's text is measured on its fill there in each mode, and a problem comes with the nearest readable color, set on what draws the text in that state or condition, instead of a "not checked" note.
|
|
1016
|
+
- `astryx experimental theme editor how`: a part kept to its container ("buttons inside cards", "headings in cards", "the card title", "the button groups' dividers") is answered only with a token the part reads, set on the container, which keeps it there ("headings in cards bigger" and "the card title bigger" set the heading sizes on the card); a part's own setting would reach every one, so then nothing is written, and the answer says why.
|
|
1017
|
+
- `astryx experimental theme editor set` and `new`:
|
|
1018
|
+
- A new part setting that writes the same token reference Core already uses there, at rest and in every state, such as `border-radius var(--radius-full) --on badge`, is no longer written, and the result says "[no change]". A setting whose value only matches what the part draws today, such as `corners pill --on badge` on a round badge, is written as the person's own choice, and the result says it matches and holds if that token changes.
|
|
1019
|
+
- The "missed" line that `new` and `set` print near the top now says what it means: each part it names, with the variant and state (or at rest), still shows the base theme's own look where your changes did not reach. Keep each one, or bring it in line with the line `show` lists for it. The JSON lists the same places as `missedWhere`.
|
|
1020
|
+
- `astryx experimental theme`: the settings a theme's source extends are the settings module's own export, by identity anywhere up its `extends` chain, so a theme merely named like the settings is refused and one that reaches them through another theme is accepted. A source that stops loading is refused by `show` and never recorded as built. `compile` builds a family in a `font` shorthand like any font, leaves a family the app copy loads out of the full font help family by family, names a theme folder it cannot write with its fix, says in its JSON result the `--out` warnings text prints, and says that an editor theme's next set or show builds it without `--icons-specifier`. `set` and `show` give the install line for every built family nothing loads, a font token's included. A theme or an `extends` written as a helper's call or a conditional is named as what the build cannot follow, not as an inline icon registry.
|
|
1021
|
+
- `astryx experimental theme editor show --png` cuts a family's picture taller than 1600px into pictures of at most that height, in order (`sheet-inputs-1.png`, `-2` …), each cut between parts, so a reader takes each in whole. The pictures show a looping animation (a skeleton, a pulsing dot) at a frame a person sees, a status dot in its color, a vertical divider at a height, each table, code and app shell variant on a row of its own, and a section's sample text; a deprecated part, and a closed overlay the open states draw open (the mobile navigation drawer), are no longer drawn as empty cells.
|
|
1022
|
+
- `astryx experimental theme editor show` draws every part of the sheet and its pictures whole: a cell grows to what it holds instead of cutting variants at its bottom; a table, a code block and an app shell take the whole row; a looping animation (a skeleton, a pulsing dot) is drawn at rest; and a section or a form layout holds sample text instead of nothing.
|
|
1023
|
+
- `astryx experimental theme editor show` shows a look's overlays open and names the parts the look leaves unchanged:
|
|
1024
|
+
- The sheet's overlays section draws each tooltip, popover and hover card open beside its trigger, each drawer, bottom sheet and lightbox at its cell's size, and, open, each part another section holds whose control opens a menu or list (a dropdown menu, a selector, a tab menu), in light and dark, so its pictures show how a look styles them.
|
|
1025
|
+
- `show` names, as `unreached`, the parts with a fill of their own the theme leaves on its base's look: no setting is on them, and their fill or text color is still the base's (for example toast, banner, badge).
|
|
1026
|
+
- The author-a-theme guide opens with the theme editor, and a search for brand colors finds the theme topic.
|
|
1027
|
+
- `astryx experimental theme editor`: a shorthand set for one mode points to commands that change that mode only.
|
|
1028
|
+
- A shorthand with a color longhand (`border`, `border-top`, `outline`, `text-decoration`, `background`) set with `--mode` points to its color longhand for that mode and its other words (width, style) for both modes, so following it never repaints the other mode; a named color counts as a color.
|
|
1029
|
+
- A shadow's color for one mode is offered in the value as `light-dark()`: on a part with no shadow of its own, the other half `transparent`; on a shadow token, each layer's other half kept from what that mode shows, or a true reason when the layers differ.
|
|
1030
|
+
- `set --help` and `undo --help` say a light-only or dark-only theme takes `--mode` for the other mode, which applies where Core draws that mode.
|
|
1031
|
+
- A light-only or dark-only theme lists the other mode's token changes it writes.
|
|
1032
|
+
- `astryx experimental theme editor show --png` takes the sample page, the open states, and one picture for each family of components the theme sets a part of with `--on`, a group of parts counting as its parts (actions, inputs, selection, navigation, feedback, data or containers; the buttons when it sets none), each cut from the full sheet: `sheet-<family>.png` from the `sheet-<family>.html` it writes beside the sheet. A family taller than 1600px is cut between rows of parts into pictures of about that height, in order (`sheet-<family>-1.png`, `-2` …). The full sheet, every component, is still written as sheet.html but is no longer pictured as sheet.png, which was too tall to read whole. `show --section <family> --png` takes any other family. The result names the family pictures first among the pictures to open.
|
|
1033
|
+
- `astryx experimental theme editor show --theme <name>` (the form `set` and `undo` already repair) offers the show on that theme, saying the theme is show's first word, in place of its help alone.
|
|
1034
|
+
- `astryx experimental theme …`: starter apps, pages and pictures say and write what is true.
|
|
1035
|
+
- `preview app` with `--theme` given no value says so and offers only lines that work; with no folder, it offers a free folder name and its help.
|
|
1036
|
+
- A starter on a variable Fontsource family no longer says it loads weight 400 only: the weights its stylesheet loads are read from the package, and no import of a file the package does not ship is offered.
|
|
1037
|
+
- A starter leaves the theme folder's version control (`.git`) and installed packages (`node_modules`) out, with a note, and refuses before writing when an image url reaches its file through a link the copy does not follow.
|
|
1038
|
+
- The overlays picture draws every example of a drawer, a bottom sheet and a lightbox.
|
|
1039
|
+
- A file of yours at `preview.html`, `sheet.html` or a section's sheet is left alone and named, as one at `sheet-overlays.html` already was.
|
|
1040
|
+
- `show` on a theme source that does not build offers the build failure's own way on.
|
|
1041
|
+
- `set --png` names as removed only the pictures it did not take again, and `show --png --section` takes the open states too, as the help says.
|
|
1042
|
+
- `preview remove` says when nothing was removed.
|
|
1043
|
+
- `astryx experimental theme preview remove` in an app made by `preview app` takes the starter home page's link to the removed preview, and names a home page changed by hand that still links there, instead of leaving a dead link with no word.
|
|
1044
|
+
- `astryx experimental theme` starters and pictures say and write what is true:
|
|
1045
|
+
- A starter's note for a font the CLI does not know names the stylesheet of each weight the theme uses, not the package's index sheet, which loads weight 400 alone.
|
|
1046
|
+
- `show --png --section overlays` makes, photographs and lists the open states page once.
|
|
1047
|
+
- A starter leaves out every version-control folder (Sapling, Bazaar, Pijul, CVS, Fossil and darcs beside Git, Mercurial, Subversion and Jujutsu).
|
|
1048
|
+
- A pipe or a folder at the pictures record is left as it is and named, and no picture is taken; the editor's writer never replaces a pipe, a device or a socket.
|
|
1049
|
+
- A write of the same bytes a file already holds leaves the file as it is, so a refused command that puts back what it built changes nothing.
|
|
1050
|
+
- `astryx experimental theme preview app --theme` judges an import written as a template literal with nothing put in it (``await import(`../shared.ts`)``) as the string it holds, so a theme file outside the theme folder, a Sass file or a name the new app cannot type is refused there as it is when quoted. A query or a hash on any module the theme imports (`./x.ts?raw`, `./d.json?raw`) is refused too, since the new app's type check reads it as part of the module's name.
|
|
1051
|
+
- `astryx experimental theme preview app --theme` refuses a theme that imports a stylesheet in a language other than CSS by the same list the theme build loads (Stylus, PostCSS and SugarSS beside Sass and Less), and with a query after it (`./brand.scss?inline`), before anything is written. Before, those starters were made and the new app's type check stopped at the import. A refusal that comes after the theme's stale build was made again puts that build back, so the refused command changes nothing, as it says.
|
|
1052
|
+
- `astryx experimental theme preview app --theme` refuses a theme that imports a file only a bundler loads by a name the new app's type check has no declaration for: a CSS file with a query or a hash (`./brand.css?inline`), an upper-case extension (`./brand.CSS`), or a font file (`./brand.woff2`). Before, the new app was made and its type check stopped at that import. The declarations it reads are the new app's own (`*.css`) and the pictures Next declares. A refused command that put back a build it made first now puts back each file's and folder's times too, so a dev server or watcher sees no change.
|
|
1053
|
+
- `astryx experimental theme preview app` refuses a starter whose theme reaches a file outside its folder with `import x = require('…')`, or with a `/// <reference path="…" />` at the top of a file, which the new app's type check reads, as for any import.
|
|
1054
|
+
- `astryx experimental theme editor show`'s `missed` and `unreached` lists name only what was missed, and each fix line works when followed:
|
|
1055
|
+
- A state is named only when the part draws it as a look of its own (a selected nav item's fill); a readonly field on its surface and a checked switch's thumb are drawn so on purpose.
|
|
1056
|
+
- A setting takes a part off a list only when it covers the aspect the list is about (the resting fill or text color, the fill in that state, the corners, the border); a hover fill or a corner radius leaves it listed.
|
|
1057
|
+
- The disabled button's line covers only the variant drawn as the accent, and recolors its label with its fill.
|
|
1058
|
+
- A status fill's line generates that status color (`set <theme> info …`), never the accent.
|
|
1059
|
+
- An inverted surface (a toast) is named only when it no longer stands out from the page, with how's answer for it.
|
|
1060
|
+
- `astryx experimental theme editor`: state settings keep the base theme's other state styles, one-mode halves across the background family and states, and one-mode tokens that are no color.
|
|
1061
|
+
- A state setting (a hover text color, say) keeps the base theme's other styles in that state, such as a variant's own hover background, in both modes.
|
|
1062
|
+
- A one-mode color in a state keeps, in the other mode, what that state shows there: its own value, else the resting color a setting gives the variant or the part, else the base theme's.
|
|
1063
|
+
- `background` and `background-color` count as one property for one-mode settings: a variant's earlier color is kept as the other half and replaced, and a later both-mode color replaces a one-mode one of the other name.
|
|
1064
|
+
- A one-mode color in a state is accepted where the base theme gives the part that color.
|
|
1065
|
+
- In a `light-only` or `dark-only` theme, a token that is no color (a shadow) is written as one value, never as a light and dark pair.
|
|
1066
|
+
- When `--mode` is refused in a one-mode theme, the offered command keeps `--when` and `--state`, and offers `mode both` first for the mode the theme does not show.
|
|
1067
|
+
- The spacing dial reads kept sizes in pt, pc, in, cm, mm, Q and em, in any letter case, and keeps a variant's own exact size in order on that variant.
|
|
1068
|
+
- `astryx experimental theme editor how`: "the card fill" is the card's own background, never a part inside it; "the text after the checkbox" is its label; "the table's header cells" are the table's header cells; an unknown word before a part's piece ("the card zorp title") is said and nothing is written; a second state a part does not have ("the selected and hovered menu items") is said, never dropped; "the inputs in dialogs" are the inputs, never a command palette's; "the separators of menus" are the menu's own divider; "the card headings" are the card's title, kept to the card.
|
|
1069
|
+
- `astryx experimental theme editor`:
|
|
1070
|
+
- `how` keeps a state where another of the part's own states was changed only where both hold: a checked, disabled checkbox keeps Core's fill, and an unchecked one is left alone.
|
|
1071
|
+
- A long answer is cut only between whole asks; the rest follows as the next runnable sequences.
|
|
1072
|
+
- "remove the underline from tabs" makes the tab's indicator transparent where it paints.
|
|
1073
|
+
- An input's focus ring is its box-shadow ring for a color, a width or a removal; in one mode only that mode changes, and status fields, which draw no ring while focused, keep none.
|
|
1074
|
+
- A resting shadow on ringed parts keeps each render's own focus look, for every variant (selectors included) and for a write scoped to one status.
|
|
1075
|
+
- A piece of a part Core has no part for ("the popover arrow", "the empty state icon", "sheet titles") is named and nothing is written for the whole part; a sheet is the bottom sheet, and an alert's title is the banner's own text.
|
|
1076
|
+
- A toast's text color refused in one mode keeps that mode on the lines it offers.
|
|
1077
|
+
- The corners help lists the step between round and pill among its rungs.
|
|
1078
|
+
- `astryx experimental theme editor`: several states saved joined by `+` with spaces around it (`"selected + hover"`) are read as those states, as `--state` reads them typed, with a note. Before, every command refused the theme.
|
|
1079
|
+
A part's own state saved by hand in a spelling the editor reads (`is-pressed` on button) no longer leaves `compile` refusing after `show`: the build reads the state, and the settings stay as saved until a change writes the part's spelling.
|
|
1080
|
+
- `astryx experimental theme editor`: a `--when` or `--state` typo, or another case, on a group (`--on inputs --when status:eror`, `--on checks --state chekced`) gets the corrected command, read against what the group's members have between them, as the same typo on one part does. A setting's name typed where the theme goes gets a command on the theme here (`show accent` offers `show t`, `set corners pill` offers `set t corners pill`, `undo corners` that no theme holds offers `show t`), never a theme of the setting's name; `undo t accent corners spacing` reads the bare words as a list; and an unknown subcommand followed by an option (`experimental theme preview path --theme t`) is named as the unknown subcommand, with the near ones.
|
|
1081
|
+
- `astryx experimental theme editor`:
|
|
1082
|
+
- States Core paints from an ARIA attribute are states `set` names: `current` (a pagination's current page), `pressed` and `expanded` (an open menu button), built as that attribute.
|
|
1083
|
+
- Several states at once (`--state checked+disabled`) are taken where Core paints them together, and `how` names them that way.
|
|
1084
|
+
- A group styled alike (checks, inputs) spreads a setting only to members Core draws alike: a checkbox's corners stay off the round radios.
|
|
1085
|
+
- The part data reads what a checkbox list and a menu holds (its rows, a row's icon), so scoped tokens on them are taken.
|
|
1086
|
+
- A fill drawn by an element inside a part (a slider's filled range) is reached through the token it is painted with.
|
|
1087
|
+
- `astryx experimental theme editor show --png` pictures a control's hover and press with Core's own wash, which Core puts behind a `(hover: hover)` query, whatever the browser taking the picture reports about its pointer. The open states picture shows the states first, and show's result says so; a popover that holds a form is no longer cut at its cell's edge.
|
|
1088
|
+
- `astryx experimental theme editor`:
|
|
1089
|
+
- a `--when status:<x>` setting now wins over the part's plain one-mode color whichever was set first: the variant blocks a plain color is written into come before every other condition, so an accepted status border always shows;
|
|
1090
|
+
- `how` value questions read what the part draws: "what is the focus ring of inputs in dark mode" gives the ring it shows when focused (no longer the mode dial), "what color is the toast text" gives the color on the toast's own inverted surface, and "what is the shadow of cards" gives none at rest instead of the selected card's ring;
|
|
1091
|
+
- "make all borders red in dark mode" gives every step: a line a part does not draw yet gets its color see-through in the other mode, so the whole answer runs.
|
|
1092
|
+
- `astryx experimental theme`: a font macOS or Windows ships (such as Avenir Next, Optima, Futura, Candara, Corbel, Bahnschrift or Segoe UI Variable) gets no install line, and a Fontsource package the editor cannot vouch for gets its own install line in compile's font help, so one that does not exist never stops the others installing. Typography `fallbacks` with no `family` in that role are refused, as Core builds nothing from them. A weight the theme uses that the base theme's font stylesheet does not load is named, with the weight it shows as, by `show` and `compile`.
|
|
1093
|
+
- `astryx experimental theme editor`:
|
|
1094
|
+
- `how` colors a table's row lines ("table row dividers red", "table borders red") through the color its cells draw them with, set on the row; never the Divider part, a row fill or a border over the cells.
|
|
1095
|
+
- "outline buttons" is the buttons dial's outline; one variant outlined ("the danger buttons outline only") clears its fill and takes its own color as its border and text.
|
|
1096
|
+
- A keep that needs two states at once ("the switch red when on except when disabled") says so.
|
|
1097
|
+
- An input's focus ring asked per mode is one ring for both halves of a mode pair, and a layer per mode for a width in one mode, so the other mode is unchanged; a status named with the inputs ("error inputs") is that status's ring; "50% more transparent" is the ring color's alpha; a question about the ring writes nothing.
|
|
1098
|
+
- A hover or press shadow on inputs keeps the focus ring while the field is focused.
|
|
1099
|
+
- `astryx experimental theme editor`: a selected table row's fill is the token Core paints it with.
|
|
1100
|
+
- The part data reads the paint Core writes inline when it sets a state at run time, so a table row in `selected` reads `--color-accent-muted`.
|
|
1101
|
+
- `how "selected table row light blue"` answers `--color-accent-muted <color> --on table-row --state selected`, and a background on a selected table row, which Core's inline wash would hide, is refused with that command.
|
|
1102
|
+
- `astryx experimental theme editor how`: tighter table rows lead with the spacing step on the rows, which reaches every row, and offer the body cells' block padding one spacing step down as the line that shows more; never the header cells alone.
|
|
1103
|
+
- `astryx experimental theme editor show` draws a table with a row selected and a column sorted on the sheet's open states section and its pictures, as the browser shows them: Core marks a selected row and a sorted column as it mounts, so a theme's selected-row and sort styles are now in the pictures.
|
|
1104
|
+
- `astryx experimental theme editor`: the text result names a setting with the API's own wording, so an entry saved with no value is removed as "(no value)", never "undefined".
|
|
1105
|
+
- `astryx experimental theme editor how`: an answer that writes a panel's look for every one (a card's) says once that the cards an app places in a carousel, a grid or a stack take it too, and names the place to ask for to keep them apart.
|
|
1106
|
+
- `astryx experimental theme editor`: `how` reads "<part> title" (and header) after any part the census knows, of one word or more ("the empty state title"), as that part's own title part, never as every heading; "bigger" on a part that is only text is its text size, so "the empty state title red and bigger" colors and sizes the title text.
|
|
1107
|
+
- `astryx experimental theme editor`:
|
|
1108
|
+
- `how`: a dialog's or drawer's title is colored, made bold or bigger through the text tokens on its title block, never on every heading; a title Core has no part for (a card's) is said so. A weight, size or color set on a part whose text is all in parts inside it that set their own is refused with those tokens.
|
|
1109
|
+
- `how`: an alpha said of a shadow ("card shadows with 30% alpha", "50% transparent") sets its colors' alpha in every layer the part shows; a part's shadow in a state is read from that state at its default status (an input's own hover ring, never the error ring), never from a hidden layer; a ring with no blur softens through its alpha.
|
|
1110
|
+
- `how`: "on-accent text" is the on-accent color; "heavy borders" are thicker borders; "pill buttons less round" steps the corners; a fully round part steps from half its height; "checkbox" is the box itself, not the checks group.
|
|
1111
|
+
- The part data records a file input (a required prop that may be null is sampled as null), so a resting shadow on it keeps its hover ring.
|
|
1112
|
+
- `astryx experimental theme editor`'s sheet, preview and pictures draw a toast's text on the side the app's own measurement picks for the fill the toast draws, by the rule the contrast checks use: light text on a dark fill, dark text on a light one, in each mode and for each type a fill is set for (an error toast's own fill read apart), so the pictures match the app and the checks.
|
|
1113
|
+
- `astryx experimental theme editor`:
|
|
1114
|
+
- A toast's text takes its own `color` on the toast: it goes into the two colors Core's media surface gives the toast's text, on the toast alone, so the lightbox and the scrim keep theirs. A text color token on the toast is refused with that line.
|
|
1115
|
+
- Text on a one-layer linear or radial gradient is measured on the color under the text (the gradient's middle or center), so a glossy highlight at an edge is not taken for the ground.
|
|
1116
|
+
- `show`'s `missed` list names shape and ring too: corners the theme left at the base's size beside one it changed (a popover at the container size beside square elements), with one line that sets the size it left, and a focus ring still drawn outside each part beside square corners or a theme border, with a line that draws it inside. A line is offered only where it changes the built theme.
|
|
1117
|
+
- The inverted-surface line in `missed` gives the inverted surface to the part alone, with its text readable on it, and a variant with a fill of its own (an error toast) keeps readable text.
|
|
1118
|
+
- `astryx experimental theme editor`: a setting on toggle-button's own pressed state (`--state isPressed`) is built on the attribute value ToggleButton writes, `[data-is-pressed="true"]`, so it now applies; before, it was built on `[data-is-pressed="isPressed"]`, which never matches. A part's state that names a boolean prop of its component is built as that prop's "true" value; any other state is built as its own name, as before.
|
|
1119
|
+
- `astryx experimental theme editor`: the check of a theme's own values judges every block the build writes from. Each adaptation rule's tokens, local tokens and parts are judged, named as the file writes them (`adaptations.rules[0].value…`); a `var()` reads the custom properties the theme sets in `tokens` and `localTokens`; a part's property given as text gets the check `set` gives it, a property that reads a design token of a kind it does not take (`background-color: var(--radius-element)`) is refused in `set` and in the file alike, and a misspelled property is refused with the one meant; and a theme the source defines between the editor's settings and the exported theme is judged too, by its name and line. In typography, a weight with no type scale (which builds nothing) is named with the scale it needs, a weight refusal names the weight field, and a scale field that is no number is named as written (a symbol, `NaN`, `true`), never a crash.
|
|
1120
|
+
- `astryx experimental theme editor`: the check of a theme's own token values judges what a build made now writes, through one path for `show`, `set`, `undo` and `compile`. A value from an import, an expression, a spread or a computed key is judged by its built value; only the value a later key keeps counts; a pair is judged as the `light-dark()` it builds. The source is read only to name the file and line that hold each value (an imported file is named, not the theme file) and for what a build erases: a second `tokens` key, and a pair with other than two values. Typography is judged by the values the build was given: a scale base with a unit (which builds `NaNrem`) is refused with the number of pixels it means, a scale with a ratio and no base is named, a family written in quotes or holding `; { } < >` is refused with the working form, and `fallbacks` is checked as part of the family list it builds. A family set through typography no longer gets the phone note.
|
|
1121
|
+
- `astryx experimental theme editor`: the check of a theme's own token values judges every token its source gives, a design token or the theme's own custom property, and a part's CSS properties: `null`, a boolean, an object or a number a property does not take bare is refused as no text, with its file and line, in `compile`, `set` and `show` alike. A BigInt or a symbol is named as it is (never a crash), a page token left `undefined` is not set (in a part's rule, where the build writes the text `undefined`, it is named), and a `var()` reads the custom properties the theme itself sets.
|
|
1122
|
+
- `astryx experimental theme editor`: the check of a theme's own token values judges the input its source gives `defineTheme()`, evaluated as a build evaluates the module, so a value the build would drop or Core would refuse is named before anything is written. `null` and booleans are refused as no text; a value under a computed key is judged before the build drops it; a typography weight given as a number names its field and the quoted form; and the tokens a part's blocks in `components`, `onDark`, `onLight` and adaptation rules set are judged like page-wide tokens, each named by its scope and line.
|
|
1123
|
+
- `astryx experimental theme editor`: a token family follows the token it is made from. A surface the theme sets (`--color-background-surface`) now carries the fills made from it, cards, popovers and menus, the muted fill (table stripes), code blocks and skeletons, at the base theme's lightness step from it; an opaque `--color-border` carries `--color-border-emphasized`, so inputs and selectors frame like cards; and the neutral color now reaches the page (`--color-background-body`, the app shell's header and side nav) at the official theme's step, as it reaches the cards. A token the theme pins, by a setting or its own source, always keeps its value.
|
|
1124
|
+
- `astryx experimental theme editor new` offers a free name for a token's name typed where the theme's name goes, with or without its dashes (`new Color-Accent`, `new --radius-element`), as it already does for a dial's name: the editor reads a token by either spelling, so neither is a theme to make. A name of its own (`new Brand`) still reads as that name.
|
|
1125
|
+
- `astryx experimental theme editor set` says when a token set on a part is read there only under a condition the part is not drawn in by default (a link reads `--color-text-primary` only as `color primary`): it changes nothing in the default look, and the note names the token that look reads (`--color-text-accent`) and the condition that reads this one, each with its line.
|
|
1126
|
+
- `astryx experimental theme editor`: a token value your `<theme>.theme.ts` gives is checked entry by entry as written, and `show` and `compile` refuse with one message. A number (`'--radius-page': 12`) is named as not text, as `show` already said; a `--font-family-*` token is checked like `set` checks it (a family list wholly in quotes, as Core returns one, is taken); each half of a `[light, dark]` pair is checked; a computed key that is text (`['--radius-page']`) is read like a literal one, and one the editor cannot read is named as not checked. The refusal names the line that sets the token, never a comment that mentions it.
|
|
1127
|
+
- `astryx experimental theme`: tokens of the theme's own that read each other (`--a1: var(--a2)`, `--a2: var(--a1)`) are refused at their line, as a token that reads itself is. A token in `onDark` or `onLight` is judged against what that surface sets, so a surface token that reads a token the page sets from it is accepted.
|
|
1128
|
+
- `astryx experimental theme editor`: the sheet and its pictures show a typeahead's list open. The render loads React DOM's client with a document in place before the page (a part that loads it with the page, such as a toast, loaded it with none, so typing never reached a field's change handler), types as a person types, and opens a typeahead's open look without waiting for its search delay.
|
|
1129
|
+
- `astryx experimental theme`: more typed and pasted forms are read as meant. A part named beside a property's value (`set my padding 'card 8px'`, `'red on buttons'`, `'button:hover: red'`) gets the line on that part and state; the editor's own result line pasted with its head (`[ok] my: corners = pill (whole theme)`) is read; `new`'s settings written as pairs apart at commas (`'like: neutral, corners: pill'`) keep every pair; a base with a stray quote or comma (`--like "neutral'"`) gets its line without a did-you-mean for the same word; and a font family whose last word names a weight (`'Bodoni Moda Bold'`) is kept as typed with the family and weight lines in a note.
|
|
1130
|
+
- `astryx experimental theme editor`: every repair reads a typo of a typed value, setting, part, state or theme or token name the same way: within one letter for a word of five letters or fewer and two for a longer one, two letters swapped counting as one. So `border-style line` is no longer offered `none`, and `display flxe` is offered `flex`, never `flow`; `nnone` and `normall` are still corrected. The words of a `how` question keep their own spelling reading.
|
|
1131
|
+
- `astryx experimental theme editor set`: a part drawn under an invisible native input (a checkbox's or radio's box, a switch), which the part data now records, refuses a hover, press or focus state, which would never apply there, naming the part that holds the input; for a token, the same token with no state, which Core reads when it paints that state from the input, is offered.
|
|
1132
|
+
- `astryx experimental theme editor undo`: the headline names what the undo took back (`[ok] v: undid neutral = #78716c (whole theme)`, or `undid 2 changes: …`), in the text and in the JSON (`undid`), so a tail of the output keeps it. When the last change command was refused, the undo says that command changed nothing, so it took back the change before it (`refusedBefore`).
|
|
1133
|
+
- `astryx experimental theme editor undo`: with no `--mode`, a setting saved for one mode only is removed, and the result names its mode; one saved for each mode gets an undo line per mode instead of a refusal that contradicts itself.
|
|
1134
|
+
- `astryx experimental theme …`: undo and pasted forms are read as typed. `undo t 'cornres pill'` names the setting the typo means, and a setting the theme does not hold gets `show`, never a step back that would remove another change. Bare words for undo that are a held setting's value (`corners pill accent`) are read as that value. A setting's name where the theme goes, in other letters or as a token (`undo Corners`, `undo --color-accent`, `show Corners`), offers the themes to look at, never a new theme of that name. Several lines pasted as one argument give one line each. An empty pasted object with a separator (`{,}`) points to the dials. A pasted label that is a part typo (`(crad)`) is read as that part and a state (`(hover)`) as the state; a label that is no mode is never dropped for a line that changes both modes. A damaged saved entry beside a clean one of the same scope gets only its undo, never a set over the clean entry.
|
|
1135
|
+
- `astryx experimental theme editor set … font`: a family the editor does not know is kept as typed (Corben, Gabriela, Candal are real families, no typos of Corbel, Gabriola, Candara), with a note giving the line that sets the font a system ships spelled near it. A typo of a font preset is refused with the preset, a name listed both as a preset and a system font counted once (`Gerogia` reads as georgia), and the presets are read before the system fonts near it (`Corier` is courier, `Monlo` mono). Arial Narrow and Andale Mono are noted as fonts only macOS ships.
|
|
1136
|
+
- `astryx experimental theme editor` and `compile` name more of what a theme's own source misspells or misplaces, each with its file and line:
|
|
1137
|
+
- a field `defineTheme()` or an `onDark`/`onLight` block does not take (`component`, `tokenz`), with the field meant, read from the installed Core's own types;
|
|
1138
|
+
- a `tokens` key one typo from a design token (`--color-acent`), pointing a property of the theme's own to `localTokens`;
|
|
1139
|
+
- a part's pseudo-class one typo from one browsers know (`:hovr`), a part variable one typo from one the part reads that nothing in the theme reads (`--button-focus-ofset`), and a part variable's value of the wrong kind for its default;
|
|
1140
|
+
- an unknown component (`cardd`, or a part named by its class), and a component entry that holds no block of properties;
|
|
1141
|
+
- a typography role or field Core does not read, a heading level outside 1–6, a scale with no ratio, and the `fallbacks` field when it is what a family refuses;
|
|
1142
|
+
- a part's `fontFamily` read as `set` reads a family list, and a `var()` of the theme's own property read as the text it holds;
|
|
1143
|
+
- a `var()` of the wrong kind inside a token's function (`color-mix(in srgb, var(--radius-element) 50%, red)`), in the source and in `set`;
|
|
1144
|
+
- a value in a theme the export extends from another file, named in that file;
|
|
1145
|
+
- a path Core itself refuses (`adaptations.rules[0].when.pointr`), at its line. `theme build` gives the import hint only when an import did not resolve.
|
|
1146
|
+
- `astryx experimental theme editor`: lines the editor offers run as offered. `undo` with a value one mode holds removes that mode's entry, and an undo of one of two settings says what each mode shows now; a theme typed second gets no line for a theme that does not exist; a dial or property name a letter off (`cornres`, `paddng`) gets its set line, with the value and scope kept; saved entries with their field names in other letters (`Thing`, `Value`) are read; a design token with a fallback (`var(--color-error, red)`) is offered as typed; and a setting typed where the theme goes (`undo accent`) gets that theme's undo, never a new theme of the setting's name.
|
|
1147
|
+
- `astryx experimental theme editor how` value questions read the status or state they name: "what is the border of error inputs in dark mode" gives the error border, "…of focused inputs" the focused one and "…of selected cards" the selected one, instead of the plain rule's value; "how thick is the input focus ring" gives the ring's width with how it is drawn.
|
|
1148
|
+
- `astryx experimental theme editor`: a value your `<theme>.theme.ts` leaves `undefined` is taken as not set wherever it is (a token on the page, in `onDark`/`onLight` or in an adaptation rule, a part, a style key, a property), now that the theme build writes nothing for it. A part given `null` (or another value that is no block of style keys) is refused at its line, at the root and in `onDark`/`onLight`, instead of failing the build.
|
|
1149
|
+
- `astryx experimental theme`: a token in `onDark` or `onLight` that loops through a token Core sets on that surface itself (`--color-on-dark: var(--color-text-primary)`, while Core's dark surface sets `--color-text-primary: var(--color-on-dark)`) is refused at its line.
|
|
1150
|
+
- `astryx experimental theme editor how`: a value question ("how thick are dividers", "how round are the cards now?") reads a token set on the part itself (or its group) before the theme's own value, so it answers what the part shows.
|
|
1151
|
+
- `astryx experimental theme editor`: a `var()` is read as CSS reads it. Glued after a letter or a digit (`padding '2var(--spacing-4)'`), CSS reads no reference there, so the value is refused instead of written as a value the browser drops. Text glued after it (`'var(--spacing-4)px'`, `'8pxvar(--spacing-4)'`) is refused for the value's grammar, not as the token being the wrong kind, and the refusal no longer offers the same input again.
|
|
1152
|
+
- `astryx experimental theme editor`: a `var()` with spaces inside its brackets (`background-color 'var( --color-accent )'`) is read as CSS reads it, the same as `var(--color-accent)`. Before, every color refused it as no color.
|
|
1153
|
+
- `astryx experimental theme editor how` reads three more kinds of words as what they say: a weight word before the text it describes, however many words about the text sit between ("thin elegant headings" is the weight, never a border around every heading); "reader" and "readers", which are no longer corrected to "header", so a book-reader ask changes the theme and not the app shell header; and a CSS custom property pasted from a stylesheet, whose last words name what it sets (`--brand-bg` is a background, `--brand-text` the text color), never the prefix a codebase repeats on every one of them.
|
|
1154
|
+
- `astryx experimental theme editor`: one reading for each kind of word. A mode is read one way everywhere (the `--mode` flag, a mode label in a value, a saved entry's mode and the settings file's mode): light or dark in its written forms, or day, daytime, night or nighttime; black, white, dim and bright are no longer read as modes. A base is read one way by `new`, set and the settings file. A `new` on a base that is not installed leads with the install, then the same `new` on that base, as set does. `how` reads state words from one table. A font file in a family list is found with the one family-list reader.
|
|
1155
|
+
- `astryx experimental theme editor how`: "table headers" (plural) are the table's header cells, never its rows; "menus" said plainly is every menu (the menus group); a tab's underline asked for a color or a thickness ("a 2px black underline when selected") is its indicator's fill and height, never a text decoration it has no text for.
|
|
1156
|
+
- `astryx experimental export`: the file drops the web font faces that no character in the page, its stylesheet or its script reaches, so a page with a web font is smaller.
|
|
1157
|
+
- A font package ships one face per script (Latin, Latin Extended, Cyrillic, Greek, Vietnamese) for each weight. A browser loads only the faces its text needs, but the file used to carry all of them. A page that imports a font package and never uses its family now carries none of its faces. An English page that uses two weights of a font package is 10% smaller.
|
|
1158
|
+
- A face stays when its font family is named outside the faces (in a rule, a token, the markup or the script) and its `unicode-range` covers a character the page can draw: one in the markup, the script or the stylesheet (a `content` string). A character written as an escape (`\u039a` in the script, `\41f` in a stylesheet) counts too, so text that a later view, a menu or a hover shows keeps its face. A family name counts as CSS reads it (`Gill\ Sans` is `'Gill Sans'`), also when the script holds it as escapes. A list or counter style with other letters (`lower-greek`, a `@counter-style`), or a `text-transform` that changes the characters (`full-width`), keeps every face of a named family, whether the stylesheet (directly or in a custom property), the markup or the script sets it. Each character's other cases count too, for `uppercase`.
|
|
1159
|
+
- The cut runs before the font files are read, so a dropped face is not counted in `images` and gives no missing-file or network warning.
|
|
1160
|
+
- Some text is not in the file, so no face is kept for it: text a reader types, text the script builds from character codes, and text the browser writes in the reader's or the page's locale (a date field's placeholder, Intl-formatted dates and numbers). Such text in a script that no kept face covers is drawn with the next font in the family list.
|
|
1161
|
+
- Only the exported file is cut. The theme editor's previews keep every face, so text typed into them draws in its font.
|
|
1162
|
+
- `astryx experimental export`: a page whose root theme draws in one mode stays readable in a viewer of the other scheme. Before, the file declared both color schemes, so a dark viewer showed its dark canvas behind a light-only theme's dark text. The export reads the theme module's `colorModes` export when it has one, without running the module. Otherwise it reads the page or text colors the theme's compiled stylesheet, which the page imports (directly or through an `@import` in its own CSS), sets on its root: a light page with dark text draws in light only, and a dark page with light text in dark only. Any color the theme editor reads counts (hex, a named color, `rgb()`, `hsl()`, `oklch()` and the other CSS color forms). A theme that sets neither (a fonts-only or accent-only theme), sets a `light-dark()` color (a value for each mode), sets one the export cannot fix (such as a `var()`), or sets any page or text color under a light or dark condition keeps both modes, as before. A one-mode page declares only that scheme and paints the theme's own page color on the document. For a theme passed to `Theme` unbuilt, whose CSS is injected only at run time, only what the page's own stylesheets set on that theme's root counts. A page whose theme draws in both modes, or that has no theme, is written as before.
|
|
1163
|
+
- `astryx experimental export` treats a package that `node_modules` links to a folder inside the project (`npm link`, a `file:` dependency, a workspace package) as a package: the file no longer carries its modules as page files, so `--reverse` gives the page back exactly instead of refusing it. The page looks and runs the same.
|
|
1164
|
+
- `astryx experimental export` reads the page's packages faster. Node looks up the package scope of every module it loads and parses a package's exports map again for each one, so a page that loads hundreds of Core's modules parsed Core's exports map hundreds of times. The export now resolves an import between two files of one installed package by its path, and reads each folder's package.json at most once. Every other import, and every import of the page's own files, resolves as before. Exported files do not change.
|
|
1165
|
+
- `astryx experimental export` compiles the StyleX in a package that ships StyleX source, as an app's build does. A component from such a package, installed or linked in from a workspace, that uses `stylex.keyframes`, `stylex.defineVars`, `stylex.createTheme` or `stylex.firstThatWorks` used to fail with "Unexpected 'stylex.keyframes' call at runtime". Its styles now compile with the page's own class-name prefix, so they never share a class with Core's, and its animations run in the exported file. A file of the package that the page loads lazily carries its styles too. A package that ships compiled StyleX stays as it ships.
|
|
1166
|
+
- `astryx experimental export` loads a page whose modules import a `.tsx` file by its `.js` name (`./parts/Kpi.js` for `Kpi.tsx`), which used to fail with `ERR_FILE_NOT_FOUND`. `--reverse` gives back a page whose modules import any TypeScript file by its JavaScript name (`.js`, `.jsx`, `.mjs`, `.cjs`), which it used to refuse as damaged. A file in which such an import is relative says render format 3, so an earlier CLI names the CLI that reads it instead of calling it damaged; one through a path alias (`@/lib/rows.js`) keeps format 1.
|
|
1167
|
+
- `astryx experimental export` refuses a page that uses no Astryx components or styles, with `ERR_RENDER_NOT_ASTRYX`, exit 1 and nothing written: "page.tsx uses no Astryx components or styles; `astryx experimental export` only writes pages built with Astryx. Don't add Astryx to this app to export it: share the page with the app's own build instead (for a Vite app, a single-file build); nothing was written." The page's own script decides: a page counts as Astryx when any module its script holds belongs to an Astryx package (imported directly, through a local component or a re-export, or lazily), or when it imports an Astryx stylesheet. The theme editor's previews are unchanged.
|
|
1168
|
+
- `astryx experimental export --reverse`: an image a carried module names with percent-escapes (`/pics/a%20b.png`, `./c%20d.png`) is expected back as the file those escapes name ("a b.png"), the file the export read and carried. Before, `--reverse` restored the file but listed the escaped name as missing and reported the restore as not exact. The export also carries such an image when the page draws it only later (after a click), so it shows from the file. An image the page imports, or loads with `import()` or `require()`, by such a name is carried and followed as written, as before.
|
|
1169
|
+
- Outside a project, `astryx experimental export` loads a subpath that a package from its package set exports only under the `import` condition, as a theme package's `./themes/<name>` often is. Such a page used to fail as if the package were not installed. A subpath the package does not export keeps the answer it had.
|
|
1170
|
+
- `astryx experimental export`: the warning for something the page loads from outside the file says so in the words the Checks section uses, which fit a file beside the page as well as a remote address. The share-a-page guide points to the Checks section the export prints instead of a separate reverse run.
|
|
1171
|
+
- `astryx experimental export` warns when text inside an SVG drawing that scales to its box would show under 10 px on a 375 px phone, because the text shrinks with the drawing. The share-a-page guide says how to keep chart labels readable.
|
|
1172
|
+
- `astryx experimental theme editor set <theme> surfaces flat`: in a mode where the theme gives a panel a fill of its own (white cards in light mode), the panel shows that fill, so its pieces (a gray badge's pill, the muted fill) stay as they are there instead of being drawn in the card's color and vanishing on it.
|
|
1173
|
+
- `astryx experimental theme editor set <theme> surfaces flat` keeps its tinted panels, and the gray pieces inside a panel drawn in the tint's color (a neutral badge, a progress or switch track) are drawn in the panel's own surface there instead, so they stay visible; colored fills keep their hue, and the emphasized border is stepped inside the panel where it would stand out less from the tint than from the panel's surface.
|
|
1174
|
+
- `astryx experimental theme editor`: under `surfaces flat`, menus, popovers, select lists, hover cards, dialogs and drawers, which float over the page, keep their own fill and get a hairline `--color-border` edge instead of the page's tint with no edge (cards and the banner keep flat's tinted look). A floating panel a theme leaves within 1.1:1 of the page with no border or shadow is now a problem, with a line that adds a 1px border.
|
|
1175
|
+
- An `astryx experimental icon` subcommand typed alone, such as `astryx experimental icon add`, now finds icons for its name when an icon (or, with no icon set installed, an icon definition) matches the whole name, as `astryx experimental icon <words>` does, and names the subcommand's usage on one more line. Otherwise the subcommand keeps its error and names the search. Outside a project, a subcommand that needs one still refuses. A subcommand given an argument or an option runs as before.
|
|
1176
|
+
- Icon definitions: five descriptions now name only the job the icon does. `scale` no longer describes its drawing; `wrench` no longer reads as a second `settings` (it means tools for a technical fix or setup); `cloud` drops weather; `globe` drops language, which has its own definition; and `mail` is about email rather than a message inbox.
|
|
1177
|
+
- Icon definitions: a definition can name its `group`, the family of related meanings it belongs to (for example `notification`, `notificationActive`, and `notificationOff`), and Astryx's definitions now name theirs. A set's own definition may join an Astryx group or name its own. `experimental icon --definitions` shows each definition's group; each finder match gains `relatives`, the other definitions in its group with what each means (the text answer names a few under the first match only); with no set installed, each matching definition gains `group` and `relatives`; and a definition's docs page names its group's other members. Groups are information only: ranking does not change, and stable commands print what they printed before.
|
|
1178
|
+
- Icon definitions can declare `replaces`: the name of an older definition they take the place of. The old name keeps answering, through every later replacement: an icon set's `map` key that uses it maps the new definition, a template's `icons` value and a definition named to `experimental icon map` or `add` mean the new one, and `astryx experimental icon <old name>` finds the icon drawn for the new one. `integration check` warns with each `map` key to rename (`icon_definition_replaced`), the next `experimental icon map` writes the new name, and `astryx doctor` warns when an installed set still uses an old key. `experimental icon --definitions` and the definition's docs page show what it replaces.
|
|
1179
|
+
- Icon definitions: `message` no longer lists `conversation` and `textCase` no longer lists `uppercase` or `lowercase` among its words. Each of those words is another definition's name, so a search for it now lists only that definition.
|
|
1180
|
+
- Where icon features are on (an icon-set package is installed or `experimental.iconSet` is set), the agent block that `astryx init` and `astryx upgrade` write adds one line under the runner line: "Need an icon? Run `astryx experimental icon <what it means>` and paste the import it prints, instead of copying one from a template or other code." Where they are off, the block does not change.
|
|
1181
|
+
- `astryx experimental icon <words>` in a project with no icon set installed says so, lists the icon definitions that match (built-in names first, which Core draws with no set), and says how to get a set, in text and in `--json` (`reason`, `definitions`, `next`). `--list` gives the same next step instead of pointing back at the search, and `experimental icon use <set>` or `--set <set>` with no set installed says how to get one. After `experimental icon use <set> --variant <look>`, the search prints each match's import in that look where the icon has it, and names both looks (`look`) where it does not.
|
|
1182
|
+
- `astryx experimental icon` ranks faster: each search works out every icon set's searchable words once and each query's forms once per pass, so its passes read every icon without rebuilding its words. Answers are unchanged.
|
|
1183
|
+
- Experimental `exportIconIndex()` and `rankIconIndex()` in `@astryxdesign/cli/api`, the icon counterpart of `exportSearchIndex()` and `rankSearchIndex()`. `exportIconIndex({cwd, package?})` returns the icon sets `icon()` searches in a folder as plain JSON, and `rankIconIndex(query, indexes, {set?, limit?})` ranks stored indexes with `icon()`'s own ranking, so a catalog that must not load package code can store each package's index once and answer icon searches exactly as `astryx experimental icon` does. `icon()` ranks through the same function, so its answers are unchanged. An index is ranked only by the CLI version that made it.
|
|
1184
|
+
- `astryx docs cli/experimental/icon-sets` explains icon meaning groups and `replaces` in its overview: a match lists the other meanings of its group as `relatives` without changing which icon comes first, and a replaced meaning's old name keeps answering while `integration check` names the `map` key to rename. The search example now says the set's icon for a meaning answers where the set maps one.
|
|
1185
|
+
- `astryx docs cli/experimental/icon-sets` opens with the icon model in one place: Astryx owns generic meanings (a description and a few words each), a library maps its icons onto them inside its own package or the integration that already ships for it, with no separate add-on, a missing meaning is added in that package with `experimental icon new-definition`, and `astryx experimental icon <words>` puts the set's icon for the matching meaning first while related icons stay findable by their own words.
|
|
1186
|
+
- With no icon set installed, `astryx experimental icon` and `astryx experimental icon --list` now name the discover search that lists icon packs when discover lists one the project could add: Find an icon pack with `astryx discover "icon set"`, install it, then run `astryx experimental icon use <set>`. To make your own set, read `astryx docs cli/experimental/icon-sets`. The finder reads the catalog copies discover saved and calls no discover source, so before the first discover run, and where no catalog lists an icon pack, the step reads as before. The JSON `next` field carries the same sentence; its shape does not change.
|
|
1187
|
+
- Installing an icon-set package turns icon features on, with or without `experimental.iconSet` in astryx.config. A project that installs no icon-set package and sets no `experimental.iconSet` sees no change in any command, apart from the search change for experimental docs below. In a project that installs one, these stable commands now read the installed sets, so their output changes there:
|
|
1188
|
+
- `astryx discover`: lists each package's sets, and `--type icon-set` works.
|
|
1189
|
+
- `astryx doctor`: runs the `icon-sets` check and reports an invalid installed set. It runs the `icon-placeholders` check when a main set is decided: the one `experimental.iconSet` names, or the only installed set. `doctor integration validate <package>` checks an installed package's sets.
|
|
1190
|
+
- `astryx docs icons`: one section, added in the name of the package that ships your set, says how to find its icons (`astryx experimental icon <words>`). `astryx search` does not return it, and search output does not change.
|
|
1191
|
+
|
|
1192
|
+
Copied templates still follow a set only once `experimental.iconSet` names it.
|
|
1193
|
+
|
|
1194
|
+
For integration authors: `astryx search` now leaves out the sections that a doc marked `stability: 'experimental'` adds to another topic with `extends`, as it already leaves out an experimental topic. `astryx docs` still shows those sections.
|
|
1195
|
+
|
|
1196
|
+
Compatibility: in a project that installs an icon-set package, `astryx discover --type icon-set --json` now lists that package instead of failing as an unknown type, so its answer no longer carries the error fields `discover-type-icon-set.json.code`, `discover-type-icon-set.json.error`, `discover-type-icon-set.json.suggestions`, `discover-type-icon-set.json.suggestions[].name` and `discover-type-icon-set.json.suggestions[].reason`. A script built on 0.7.16 keeps working: a type discover does not know still fails with the same fields, and a project with no icon-set package gets the same error as before.
|
|
1197
|
+
|
|
1198
|
+
- `astryx experimental icon` and the icons block of `astryx search` leave out the words that only join others (`with`, `and`) when they look for icons that carry a query's words, so `card with an icon of a star` no longer lists an icon only because its name holds `with`. A query that no whole word answers as typed is now read without them, so `user with plus` finds `user-plus` directly.
|
|
1199
|
+
- `astryx experimental icon` names each match's meaning import when its icon set maps the icon for a definition: `meaningImport` imports the icon under the meaning name, such as `import {TrashIcon as DeleteIcon} from '…'`, so app code keeps the name `DeleteIcon` when another icon set draws `delete`.
|
|
1200
|
+
- `astryx experimental icon` answers a query of several words that no icon matches as a whole, such as a glyph named in a phrase with the control around it. Icons that carry some of its words come back as word matches (score 20), the project's set first and, within a set, the icon carrying the rarest words first; a word that names a definition the set maps an icon for counts twice for that icon, and a word no icon carries counts for nothing. Word matches appear only in the search's own answer, and only where nothing answered before. A word written as an export name (`SearchIcon`, `ChevronDownIcon`) is also read as its words; the reading with the better-scoring match answers, so an answered query changes only when the split reading finds a better match.
|
|
1201
|
+
- The icon-sets guide shows how to make a set inside your own app, with no other package to make, install, or publish. When the package's own package.json sets `"private": true`, the `experimental icon new-set` receipt leaves out the publishing steps (peers, the `typecheck` script, the strict check's TypeScript, the placeholder description) and its notes end with the `experimental icon use <set>` step that turns the set on. Every other package gets the notes as before.
|
|
1202
|
+
- Icon sets: the generated icons module marks each adapter call and each theme-map element `/* @__PURE__ */`, so a bundler drops the icons an app does not use. Before, importing one icon from a set also bundled its whole theme map (and, for a set built with an adapter, every adapted icon). Modules written without the marks, or with `/*#__PURE__*/`, read the same; the next `experimental icon add`, `map`, or refresh adds the marks, keeps any mark a statement written by hand already carries, and changes nothing else. Set authors: author and check a set with this release or later. An earlier CLI misreads a module written with the marks: its `experimental icon add` and `map` drop the adapter import, its `new-set --from` refuses, and its `integration check` and `doctor integration validate <set package>` report `icon_generated_types_mismatch`. In an app on an earlier CLI, template copies, icon search and the default `doctor` run read a marked set as before; validating the set package itself fails until the app moves to this release.
|
|
1203
|
+
- Icon definitions: two new definitions, `fullScreen` (show something full screen) and `exitFullScreen` (leave full screen), so an icon set can map its full-screen icons apart from the icons it maps to `expand` and `collapse`. `expand` and `collapse` are unchanged for now, so every set keeps answering full-screen asks with the icons it maps today; sets that map neither new definition keep working, and `experimental icon --definitions` and `integration check` list them as optional.
|
|
1204
|
+
- `astryx experimental icon` breaks a tie between equally scored icons in favor of one whose name the query names in full, so a request for a plus icon to add a row gets `plus` before `folder-plus`. Remaining ties keep id order.
|
|
1205
|
+
- `astryx experimental theme editor set <theme> accent <color>`: when the accent is a color far from the hue of the base theme's info, and the theme leaves info unset (a pink theme over a bright blue info), the result says info's banners and badges keep the base's color and offers an info between the two hues, so it sits with the palette and stays apart from the accent.
|
|
1206
|
+
- `astryx` discovery lists the lab's new media players: `VideoPlayer`, `AudioPlayer`, and the `MediaPlayer` root and parts for custom layouts.
|
|
1207
|
+
- `astryx experimental theme editor set <theme> neutral <color>`: a neutral color whose shades are the base theme's own grays (black, white, or a pure gray) now says the page, surfaces, text and borders keep their colors, and how to get dark surfaces, instead of a bare `[ok]`: a gray sets the tint of the grays, not how light or dark the surfaces are.
|
|
1208
|
+
- `astryx experimental theme editor`: text on a role fill (accent, success, warning, danger, info) where neither the theme's white nor its near-black reads at 4.5:1 now uses the end of the gray ramp on the better side (black, or white) when that reads better, so the editor's own pick no longer makes a contrast problem that a darker gray would have solved; an exact fill that then reads keeps its color in dark mode too.
|
|
1209
|
+
- `astryx experimental theme editor set <theme> neutral <color>` says the page background follows the gray too (or keeps a page color the theme sets), as it does, and so does the neutral dial's help; a moved accent text color's note names only the grounds it fails on, with the ratio on each.
|
|
1210
|
+
- `astryx experimental render`: a page whose script holds a long run of letters and digits, such as a large string, renders in its usual time again. The pass that finds the script's reads of images from the embedded source started a match at every character of such a run, so a page with a 1 MB string took minutes.
|
|
1211
|
+
- `astryx experimental render` carries the page's own modules and JSON data whose names only look like configuration: `config.ts`, `lib/arc.ts`, `data/chart-config.json`, `data/config.json`. They were left out as tool configuration, so the page came back from `--reverse` with `exact: false` and without them. These names stay refused: `tsconfig.json` and `tsconfig.*.json`, `jsconfig.json`, any `*.config.json` or `*.config.{js,ts,…}` module, manifests and lockfiles, and dotfiles such as `.eslintrc.js`. A file that carries one says render format 2, so a CLI that reads render formats names the CLI that reads it; 0.7.16 and earlier refuse it as damaged.
|
|
1212
|
+
- `astryx experimental render` draws a recharts chart sized by its `ResponsiveContainer` at a set of widths, from a narrow table cell to a wide screen, and the file's CSS shows the drawing nearest the width the reader's browser gives the chart, with no script. Before, such a chart was drawn once at a guessed size and stretched to the page's width: its text was about one and a half times its size on a desktop and half its size on a phone, and a chart that filled a box of fixed height ran out of the box. The widths run from 60 to 1920 pixels, each the square root of two times the one before, so the drawing shown scales by at most the fourth root of two either way. The chart now keeps the height the page gives it (a number, the width over `aspect`, or its share of the height that the box it fills states in its own style) and fits that box whole, so its text stays within a fifth of its own size. A box whose height comes from a stylesheet gives no height to read: the chart is drawn 300 pixels high and fits inside the box, scaled down in a shorter box and with empty space above and below in a taller one. Its legend sits inside its picture, where recharts places it, and keeps the rest of its style. Each such chart carries eleven drawings, whose coordinates keep two decimal places, so it takes several times the room in the file that one drawing takes. A chart of fixed size is drawn as before.
|
|
1213
|
+
- `astryx experimental export` checks the file it wrote and says so: whether the file's markup and stylesheets load anything from outside the file (the page's own script is not read), and whether `--reverse` gives back every carried file exactly, naming any that differ (`data.checks` in JSON). When the file stands alone, it names it as the one file to share, with its size.
|
|
1214
|
+
- `astryx experimental export`: a large exported page that repeats an element names each repeated list of the StyleX classes Astryx's packages write (the `x…` classes) by one short class in its first paint, when those repeated lists add up to at least 16 KB; the page's own StyleX classes keep their names, so a large table or list writes a much smaller file: a 10,000-row grid goes from 52 MB to 18 MB. The page looks the same, also where scripts are blocked; its script draws with StyleX's own classes, and `--reverse` gives the page back exactly. The experimental `render()` takes `keepClassNames: true` for a caller that styles the file's markup with its own copy of the StyleX styles.
|
|
1215
|
+
- When a page does not compile, `astryx experimental render` names the file and the line the error points at, also for a module the page imports. When StyleX cannot read a value a style imports, the message names the value and the import, and says what StyleX needs: the value written in the style, or a `.stylex.ts` or `.stylex.js` file that defines it; for a `.stylex` file it cannot find, it says to check that the file or its package is there.
|
|
1216
|
+
- `astryx experimental export` checks its `dropped-children` warning against Core's component docs. A Core component whose docs list no `children` prop is named as the one that dropped the text, even when the text sits inside another component (`<Badge><Text>New</Text></Badge>` names Badge), and the warning points to `astryx component <Name>`. Text that the first paint does not show yet (a collapsed Banner, an inactive tab or route) stops warning only when every component around it is a Core component whose docs list `children`. A text inside a page's own component, or another package's, keeps today's warning. A warning for a text in another of the page's files names that file (`on line 12 of components/Card.tsx`). The warning's code does not change.
|
|
1217
|
+
- `astryx experimental render` names every package the page and its own modules import that is not installed, in one refusal, before it runs the page, with one install line for all of them. An Astryx package (a theme, say) counts as installed outside a project only when the CLI's package set holds it; otherwise it is named with the rest. Before, it named only the first, so a page that needed three packages took three failed renders. The message and the install suggestion name every package. In a TypeScript module, a static import the module uses only as a type, or not at all, does not count, as TypeScript drops it; a re-export, `import()` or `require()` of the same package still counts. A JavaScript module loads every import, so each one counts. A package stylesheet that is missing is still a warning, as before.
|
|
1218
|
+
- `astryx experimental render`: a rendered file now explains itself to whoever opens it next. A note at its top names the CLI version and render format that made it, the page's path, the files it carries and the packages it rendered with, and gives the exact commands that get the source back and render it again; a short note after the embedded source repeats the way back. `--reverse` reports the render format, the CLI version (`renderedBy`), the packages and an explicit `--title` (`title`), and, for files this version renders, whether someone changed the markup after the render (`edited`, read as a browser reads the file, so a copy whose line ends changed on the way is not edited) with each text change (`edits`: what it was, what it is now, and the restored file and line that hold the old text, in a module or the JSON data it imports, also where it wraps across lines). A file in a newer render format than the CLI reads is refused with the new `ERR_RENDER_NEWER_FORMAT`, which names the CLI version that wrote it; a file that names a CLI version that is not a semantic version is refused as damaged, so no printed command carries it, and every path a printed command takes from a received file is quoted. The render format stays 1, so earlier CLIs keep reading the files this version writes, except for a file that carries an `.mts`, `.cts` or `.cjs` module, which says format 2 so that a CLI that reads render formats names the CLI that reads it; 0.7.16 and earlier refuse it as damaged.
|
|
1219
|
+
- `astryx --json experimental export`: the `data.files` description also names the images a page names by a path from the site's root, which the export reads from `public/`.
|
|
1220
|
+
- `astryx experimental render --reverse` finds a rendered file's title, styles and body as a browser does, outside comments and outside the text of the style element, so an untouched file whose stylesheet text looks like HTML, or whose page path looks like a tag, no longer reads as edited.
|
|
1221
|
+
- `astryx experimental render` says why when no answer from the page's process reaches the CLI: the answer was sent but not received, the process ended while it sent it, or the stage it ended in, after how many seconds and with how much memory free. When the page's process cannot send its answer, the error now says so.
|
|
1222
|
+
- `astryx experimental export`: an exported page's script reads from the first paint an image the first paint shows through `src`, `srcset` or `poster` when the page's code names it as a whole string by that exact path or https address. The file holds each such image one time fewer: a page with one 450 KB local photo goes from about 2.05 MB to 1.45 MB, and an https image the page shows through `src`, `srcset` or `poster` is held once (the same photo by an https address: about 1.46 MB to 0.86 MB). The first paint is the same, also where scripts are blocked.
|
|
1223
|
+
- A page rendered with `astryx experimental render` carries one copy fewer of each image a page module imports (`import photo from './photo.png'`) when the file's embedded source carries it. The page's script reads such an image from the embedded source, so the script holds no copy of its own. An image the embedded source leaves out (under a dot-folder or in `node_modules`) keeps its own copy in the script, and an image the page names by a string path keeps its copy too.
|
|
1224
|
+
- New `astryx experimental import <file.html>` turns a file `astryx experimental export` wrote back into its page, the same as `export --reverse`, which keeps working. Help, the share and export guides, the file's own note and the render's suggestions now give the way back as `experimental import`. The JSON answer is unchanged (`render.reverse`). An old `experimental render --reverse` line now points straight to `experimental import`, and an unknown top-level `import`, `back`, `restore`, `unrender` or `reverse` suggests it without running it.
|
|
1225
|
+
- `astryx experimental export`: a link to a place in the page (`<a href="#section">`) keeps working in a viewer that shows the file in a frame given its document inline (`srcdoc`), as many artifact viewers do. There the address resolves against the viewer's own page, so the click navigated the frame away and the page vanished. Now the file moves to that place, as a browser tab does: it scrolls there, sets `:target` for the page's CSS and fires `hashchange` for a page that routes by hash. `#` goes back to the top. This also holds in a viewer that cancels such a link itself on its way down and only scrolls to the place, from a listener its own script adds on the frame's window before the file's script runs, or on the frame's document from a DOMContentLoaded listener its script adds on the frame's document before the file's script runs: tabs and navigation that route on the address switch there too, also for a link inside a card that stops the click. A link the page cancels or handles itself, from any of its own listeners (also one its modules add while they load), one with a target, and a click with a modifier key keep their own way.
|
|
1226
|
+
- `astryx experimental render` now writes the page as a live app in one file: popovers, menus, dialogs, tabs, forms and every other control work as in the app. The file carries the page's own script, inline after the embedded source: the page's modules and the packages they use, bundled for the browser by esbuild. It paints the rendered markup first, then the script draws the live page over it. It is still one file, and the render adds no network request and no `eval`, so it works in a sandboxed frame that allows scripts, under a content security policy that allows inline scripts; a frame that blocks scripts shows the markup, and `--reverse` still gives the page back byte for byte. A link out of the file opens in a new tab, and a form submits even in a viewer frame that blocks form submission: the file fires the form's submit event itself. A page whose script cannot be built for the browser (a module it loads needs Node, say) is refused with the new `ERR_RENDER_SCRIPT`, which names the module. esbuild is a new dependency of the CLI, and only `experimental render` loads it, so no other command starts slower. The JSON adds `scriptBytes` and `scriptModules` to a render. When the page's script throws, in its render or in an effect (a frame that blocks storage, say), the file keeps showing its first paint. An image the page names by a path in a string, in `src` or `srcSet`, keeps showing once the script draws the page, and an image named in `srcSet` is carried too. A page file the page loads later (a dynamic import) that does not compile is refused as a static import is, with `ERR_RENDER_COMPILE` naming the file and line.
|
|
1227
|
+
- The experimental command `astryx experimental render` is renamed to `astryx experimental export`. It still writes a page as one self-contained HTML file, and `--reverse` still turns that file back into its page; its options are the same, and its text output says "Export it again:" where it said "Render it again:". The old name is no alias: `astryx experimental render …` fails, exit 1, with `ERR_UNKNOWN_SUBCOMMAND`, and suggests the run with `export` in its place, keeping the options before it (also as a JSON error with `--json`). An unknown top-level `export`, `render`, `share`, `bundle`, `snapshot` or `standalone` suggests `astryx experimental export` and never runs it, unless the next word is a name another command reads (`astryx export Button` still suggests `astryx component Button`) or the active base does not serve the command. The guide `cli/experimental/render-pages` is now `cli/experimental/export-pages`, and the command's reference is `cli/commands/experimental-export`.
|
|
1228
|
+
JSON fields that carry the command name now say `experimental export`: the command's entry in `astryx manifest --json` and in `astryx --json experimental --help`, and every suggestion's `name` that names the command. The result types stay `render.page` and `render.reverse`, the error codes stay `ERR_RENDER_*`, and the `render()` function keeps its name. A file written before the rename names the old command in its note; `--reverse` reads it as before.
|
|
1229
|
+
- `astryx experimental render` refuses a page that imports a name its module does not export, as a build refuses it, with `ERR_RENDER_COMPILE`: "The page does not compile (src/page.tsx, line 3): @astryxdesign/core has no export Chart". It checks named imports in the page's own modules from those modules (not from a CommonJS one, which a bundler reads by interop), from Astryx packages and from StyleX variables modules (`.stylex`), and an element drawn as `<Name.Member>` whose export has no such member. It counts only names the page uses as values, so a type imported without `type` is fine, and a file the page reads as text (`?raw`) is not checked. The script's build names the file and the module the same way. An import of a package subpath the package does not export (`@astryxdesign/core/Chart`) is refused the same way: "@astryxdesign/core has no export ./Chart". Before, the render named what the missing import broke, not the import: `ERR_RENDER_FAILED` with "Element type is invalid" for a missing component, `ERR_RENDER_FAILED` with "… is not a function" for a missing function the page calls as it loads, `ERR_RENDER_SCRIPT` for a name only the script uses, and a missing `.stylex` value rendered without its style and with no error.
|
|
1230
|
+
- `astryx experimental render`: when a page imports packages that are not installed, the suggested install line now follows the page's own package, and no line is offered where running it would install in the wrong place. The page's package decides the package manager. When its lockfiles disagree, the message names them and suggests no install, where it suggested `npm install`. For a page in another package than the folder you run from, the message names that package and the line to run there, since the line run here would add the packages to this folder's package. In a folder that no `package.json` holds, the message says to install them in the project that uses the page, and suggests no install, since an install there would make the folder a project.
|
|
1231
|
+
- `astryx experimental export`: an exported page's script is a module script when it runs the same in strict mode, so it runs once the file is parsed: a browser paints the page before the script draws it, and on the pages measured a small page shows its first paint about 200 ms sooner on a slow phone, with about the same time until it responds. A page whose script bundles a file that is not an ES module and does not ask for strict mode (CommonJS code, or a side-effect file with no `import` or `export`), or code that reads `document.currentScript`, keeps a classic script.
|
|
1232
|
+
- `astryx experimental export` leaves `autofocus` out of the file's first paint. The page's script owns focus once it draws the page, as the app does, so a field the page focuses still gets focus. A viewer that shows the file in a cross-origin frame no longer logs a blocked-autofocus error.
|
|
1233
|
+
- `astryx experimental export` draws some large chart pages faster: React no longer logs each render's timing while the export draws them. A page of four charts of 50,000 points each took 42 s to render and now takes 29 s; most pages take the same time as before. The file it writes is the same.
|
|
1234
|
+
- `astryx experimental render` names every file the page uses that the rendered file does not carry. A file left out because its name reads as a tool's configuration now gets the warning code `not-carried` instead of `not-embedded`. It says what carries the file: rename a `*.config.json`, such as `chart.config.json` to `chart-data.json`, or move the values the page reads from a tool's own file, such as `package.json`, into a file of its own. The note at the top of the file lists every left-out file on a "Not carried" line, and then no longer says the page comes back exactly. The JSON adds `notCarried`, and the text output shows it, both only when a file is left out.
|
|
1235
|
+
- `astryx experimental render --out` accepts an absolute path in any folder, such as a folder of files to upload as an artifact. The render still never replaces a file it did not write. A relative `--out` still stays inside the current folder, and its refusal now says that an absolute path works.
|
|
1236
|
+
- render: a page's own styles compile with their own class-name prefix, so they never share a class with Core's stylesheet. Core's rules keep their layer on Core's elements (a Table's first and last cells keep their edge padding), and a page's override of a component still wins, as in the app.
|
|
1237
|
+
- `astryx experimental theme editor`: the overlays a page opens are drawn one part at a time, so a part's document listeners (a typeahead's or a menu's outside press) hear only presses on its own controls. Every editor command that reads the part data, and every sheet picture, no longer pays for each press on every other part. The part data is the same as before.
|
|
1238
|
+
- `astryx experimental export`: more images named by a path from the site's root (`/pics/shoe.png`) show in the file and come back with `--reverse`.
|
|
1239
|
+
- When the project has no `public/` folder, export reads such a path from the nearest `public/` above the page, inside the project. This covers a site folder below a shared package.json. Outside a project, it reads it from the nearest `public/` above the page, inside the folder you run the command from.
|
|
1240
|
+
- The file now carries each such image with the page's other files, so `--reverse` puts it back in the `public/` folder export read, at the same path.
|
|
1241
|
+
- An image the page names this way but draws only later (after a click, in the next view) is carried too, and the file's script shows it from the carried data.
|
|
1242
|
+
- Export reads such a path only from `public/`. A file of that name at the project's or the page's root is no longer read, and a path that leaves `public/` (`/../x.png`) is not read. A path to a file that is not in `public/` gets the missing-image warning, which now names the `public/` folder export searched.
|
|
1243
|
+
- The experimental theme editor's image notes read a theme's `url(/…)` file the same way: a file at the project's root, not in `public/`, is now reported as missing.
|
|
1244
|
+
- `astryx experimental render` and `--reverse` say that a file they cannot read cannot be read, with the reason (`EACCES: no permission`, a folder or a pipe given as the file), and the new error code `ERR_READ_FAILED`. They used to say the file does not exist, with `ERR_FILE_NOT_FOUND`, which a file that is not there keeps.
|
|
1245
|
+
- `astryx experimental export` now fetches each image a page names by an `https` address, once while the page renders, and the file carries it, so the image shows in a viewer that blocks the network. The render sends no cookies or credentials, takes only an image (by its type and its bytes) up to 8 MB, and gives each image 2 seconds to answer and 5 to arrive, and all of them 15, and asks for no more when the network answers none of the first ones. Any failure (no network, no answer in time, not an image, too large, or an address that is not `https`) leaves the address as the page wrote it and warns, naming why; an address the page's code holds that counts as an image only by a name (an object's `src`, `imageUploadUrl`) is listed, and its fetch adds no warning, when its answer is another type. The JSON result lists every address fetched and every one that was not (`remoteImages`); the text names the first ten of each and counts the rest. `--reverse` gives back the page with its addresses. A fetched image travels with the file, so anyone who has the file can see it.
|
|
1246
|
+
- `astryx experimental export`: an https image the page shows only later (after a click, in the next view) is carried too, when the page's own code writes its address whole. That means an address an element shows as an image (an `<img>`'s or an `<input>`'s `src`, an `<img>`'s or a `<source>`'s `srcSet`, a `<video>`'s `poster`), written there or in a variable the same file reads there (`const logoUrl = '…'` with `<img src={logoUrl}>`); an address whose path ends in an image extension; or one a name says is an image: a component's or an object's `src`, `srcSet` or `poster`, or a property or attribute one of whose words names an image (`avatarUrl`, `cover_image`; not `logoutUrl`). An address written only where an element takes it for something else, such as an `<iframe>`'s or a `<video>`'s `src`, is not fetched, even when its path names an image, and the file puts no carried data there; nor is one whose path names a type that is never an image (`clip.mp4`). It is fetched with the same rules and limits as an image in the first paint, and listed in `remoteImages`. The page's script keeps every address as the page wrote it, so a link, a text, a comparison and the URL API read the page's own address. Where the browser takes an image's address (the same attributes, or a CSS `url()` in a style the script sets), the file gives it the carried data instead, so the image shows offline. An address the code gives a fragment gets the carried image too; one it gives another query (`${hero}?w=640`, or the URL API's `searchParams`) can name another image, so the file asks the network for it. A link's address written in `href`, directly or through a variable that only links read, is never fetched, even when it names an image file. An address that counts only by a name (`imageUploadUrl`, an object's `src`) can be an API's or a player's: when its answer is another type (an API's JSON, a page), `remoteImages.failed` lists it with why, and the fetch adds no warning. Any other address the script draws later warns when its fetch fails, as in the first paint. No other address is fetched. An image address the code builds from parts where a whole one would count (a template or `+` chain that starts with `https://`) cannot be carried: a `remote-asset` warning names it, its file and its line. An address built any other way is neither carried nor warned.
|
|
1247
|
+
- `astryx experimental export --reverse` gives back a page that imports through a path alias in a project whose alias leads outside the new folder, instead of refusing it. When the file the alias reaches, and every carried file it imports where the project has it, is byte for byte the page's copy, the page uses the project's files and their copies are not written (`aliased.sameAsProject`), so export, reverse, edit and export again work in the page's own project, again and again. When that file differs or is not there, the page's copy comes back in its own layout inside the new folder, never into a folder that exists, and the answer names the file the alias reaches today and any file it imports that differs (`aliased.differs`), with the `paths` entry that leads the import to the copy. It says that entry applies to the whole project (`projectWide`) and gives the narrower fix: the relative import of the copy for each restored file that makes the import (`instead`). A file from a CLI that recorded no alias imports gets the same `paths` entry, found from the carried file the import's path ends with. `aliased.config` and `aliased.paths` now appear only when `aliased.imports` is not empty.
|
|
1248
|
+
- `astryx experimental render --reverse` gives back a page that imports files through a path alias (`@/components/Header`) in a folder whose project has no alias for those imports, such as an empty folder holding only the HTML file. A render records which carried file each alias import named; where no alias of the receiving project names the import, the file comes back in the page's own layout inside the new folder, byte for byte. The result's `aliased` names each such import with its file, the whole `paths` the page needs to build (the entries the config has now, own or inherited, with every target the imports need), and the tsconfig.json or jsconfig.json it belongs in (the one TypeScript reads for the page, else a new one), and the text prints them. Only an import that cannot be a package name or a package's own subpath import is followed this way (`@/…`, `~/…`), so a received file can never remap a package or the reader's own imports. Such a page used to be refused as carrying "files the page does not import". Where the project's alias points outside the new folder, the restore is still refused; an import that looks like a package name (`@components/Header`), or a file from an older CLI, which records no alias imports, is still refused unless the receiving project has the alias, and the refusal now says so.
|
|
1249
|
+
- `astryx experimental render` names at most 10 files in its text answer, then counts the rest and names the folder they share, such as "... and 190 more in page-restored/images/". A page with many images no longer prints a long line an agent must read. The JSON answer still lists every file.
|
|
1250
|
+
- `astryx experimental export --reverse` names every file the render records as not carried as missing, so `exact` is false whenever one is. A rendered file now records the files the render left out, and the reverse adds them to `missing`. This covers a module the page imports through a path alias from outside the carried folder, which the reverse cannot resolve and used to report as exact.
|
|
1251
|
+
- `astryx experimental render --reverse` refuses two kinds of damaged Astryx page with `ERR_RENDER_SOURCE_DAMAGED` and writes nothing, instead of answering with a page that looks fine. A rendered file cut short before its embedded source used to come back rebuilt from the part of the markup that was left; it is now refused as cut short. An Astryx page a merge left with conflict markers used to give back one side's source without a word; it is now refused, naming the conflict, so you keep the whole file from one side or render the merged page again. A file that is not an Astryx page is still refused with `ERR_RENDER_NOT_ASTRYX`, markers or not.
|
|
1252
|
+
- `astryx experimental export` says what the file's size is made of, one line per part (`scriptBytes`, `cssBytes`, `markupBytes`, `sourceBytes`, with a note when the script is most of it), and adds `markupBytes` and `sourceBytes` to its JSON.
|
|
1253
|
+
- `astryx experimental export` keeps a theme's rules for the parts a component draws only after the first paint, such as a Banner's icon, a tab's indicator or a dialog. Core builds those parts' class names while the page runs, so the cut now also keeps, for each name in the page's script, the class Core's naming module makes from it. Before, those parts lost their theme styles in the rendered file.
|
|
1254
|
+
- `astryx experimental export` warns when a page gives a Core component's prop a value it does not have: `unknown-prop-value`, "page.tsx:12: Button has no variant "danger"; its variants are primary, secondary, ghost, destructive." Such a component draws no variant's look and nothing else says why. The check reads Core's own docs for the component in the page's Core (the props `astryx component <Name> --package @astryxdesign/core` shows), so an integration that replaces the component does not change it. Where a theme can add values to a prop (Button's `variant`, Banner's `status`, Link's and Heading's `color`, which take Text's colors), the values the project's themes add count too: the check reads the module augmentations in the project's own TypeScript files (a theme build's `.variants.d.ts` included) and in the declaration files of the theme and integration packages it installs. It checks only string values written in the page, for props whose type is a closed set of strings, on components imported from Core by name or through a namespace import (`<Core.Button>`). A value the page computes, a component that is not Core's, and a prop with no doc entry are not checked.
|
|
1255
|
+
- `astryx experimental render`: a page that saves to storage or copies text keeps working in a viewer's frame that allows scripts but blocks storage or the clipboard (`sandbox="allow-scripts"`).
|
|
1256
|
+
- **Storage:** there, touching `localStorage` or `sessionStorage` throws, and the page went dead after its first paint. Now the file gives the page an in-memory storage that acts as the browser's does, methods and properties alike (`localStorage.theme`, `Object.keys(localStorage)`). What it saves lasts until the page closes. A file opened from disk or on a real site keeps its real storage.
|
|
1257
|
+
- **Clipboard:** a frame can leave `navigator.clipboard` out, refuse it by permissions policy, or refuse the write, so a page's own Copy button failed. Now the write falls back to the browser's copy command where Core's clipboard hook does. It resolves when the text was copied and rejects with `NotAllowedError` when it was not, so the page's own success and error paths run. `readText` rejects with `NotAllowedError`, as a browser does.
|
|
1258
|
+
|
|
1259
|
+
The share guide now says what such a frame allows: forms, storage in memory and copying work; a cookie write throws, fullscreen and printing do not work, and a link opens only when the viewer allows pop-ups.
|
|
1260
|
+
|
|
1261
|
+
- `astryx experimental export` follows an import written the TypeScript way, such as `./helper.js` for `helper.ts`, to its source when it looks for the files a page uses. A module from outside the carried folder that imports one now gets that file named in `notCarried` too.
|
|
1262
|
+
- `astryx experimental render` warns when the page asks a media query in JavaScript, with Core's `useMediaQuery` (from `@astryxdesign/core` or `@astryxdesign/core/hooks`) or with `matchMedia`. The rendered file runs no script, so readers on every screen got the layout of the answer the page had on the server, with no word why. The new `screen-query` warning names each query and says to fold the layout with CSS: `Grid` with `columns={{minWidth}}`, or a StyleX `@media` or `@container` style.
|
|
1263
|
+
- `astryx experimental theme editor`: a role color the theme sets (accent, success, warning, danger, info) now reaches the parts where the base theme draws that role on its own: a variant named for the role in a color of the base's palette written out (a success badge or progress fill), a role token the base points at another color on a part (a success banner), and a color the base gives a part as its own accent written as the color itself (nav links, outline buttons). Those parts take the theme's color, the missed list no longer lists them, and a color the theme sets on the part itself stays.
|
|
1264
|
+
- `astryx experimental theme editor`: a role's text and icons (warning, danger, success, info, accent) now start from the fill the theme really shows in a mode where it sets the fill token exactly, and the note names that color and calls the text by its role (warning text and icons) instead of the dial's color and "links and accent text".
|
|
1265
|
+
- `astryx search` no longer lists icons for an `icon` or `icons` right after `with` (only `a`, `an` or `the` between) when its results hold a component or template: `card with an icon` answers the card alone. An icon described after `of` or `for` (`card with an icon of a star`), or named before the word (`button with plus icon`), still lists the icons that answer it.
|
|
1266
|
+
- With an icon set installed, `astryx search` answers a query that asks for an icon (`trash icon`, `SearchIcon`, or a set's name) with up to three of the installed icons that answer it, after the results: `icons` in the JSON, one line each in the text. The results and their count do not change, a search with `--type` lists no icons, and with no icon set installed every search answers as before.
|
|
1267
|
+
- `astryx search`'s icons block names a set two installed packages ship with its package (`trash (@acme/glyphs/glyphs): …`), as the JSON `name` does, so the two lines no longer read the same. A set no other package ships prints as before.
|
|
1268
|
+
- When an unknown top-level word such as `share` or `export` suggests `astryx experimental export`, the reason now says what the command is for, as its help line does: one self-contained HTML file from a page built with Astryx components. It used to say "a page as one shareable HTML file", which also read as an offer for pages that do not use Astryx. The command's summary in `astryx experimental --help` and `astryx experimental export --help` says the same ("Export a page built with Astryx components as one self-contained HTML file, or turn one back into a page"), and the group's example is "Export an Astryx page as one HTML file".
|
|
1269
|
+
- `astryx experimental theme editor`: the fills that follow a surface the theme sets (cards, popovers, the muted fill) keep their place between the page and the surface, as the base theme keeps them: a dark card that is the base page's shade never turns darker than the page the theme sets.
|
|
1270
|
+
- Twenty-one new icon meanings let templates that drew their own icon for a meaning keep it when they import icons by meaning: `copyText`, `paste`, `block`, `verified`, `alert`, `create`, `media`, `listView`, `currency`, `checklist`, `channel`, `team`, `schedule`, `help`, `signal`, `house`, `moveToFolder`, `columnSettings`, `halftone`, `groupRows` and `review`. Each falls back to the meaning the template used before, so an icon set that does not map or declare the new meaning draws the same icon as before, and the set's unmapped template meanings leave it out when the set maps its fallback. The template icon table draws `info` as the information circle; the form wizard's review banner keeps its badge through `review`, which icon sets draw as `info`.
|
|
1271
|
+
- `astryx template` writes each icon placeholder a template imports (`DeleteIcon` from `@astryxdesign/template-icons`) as the import of the icon the template icon table names for its variant (a Heroicon, or a Lucide icon for `/lucide`), under the same name. A project with an icon set then maps it like any declared template icon. The component showcase source and build's setup notes do the same.
|
|
1272
|
+
- The CLI ships the template icon table: for each icon meaning a bundled template draws, the Heroicon (or, for the lucide variant, the Lucide icon) that draws it. A private workspace package, `@astryxdesign/template-icons`, is generated from it, so template sources can import icons by meaning (`DeleteIcon`) and previews draw the same icons.
|
|
1273
|
+
- Bundled templates pick each icon by meaning: the template icon test fails on an icon imported straight from an icon library, with the command that moves it. Copies are unchanged.
|
|
1274
|
+
- Twenty-five page templates (ai-chat through kanban-board) import their icons by meaning from the template icon placeholders. Copies draw the same icons as before: the same Heroicons and Lucide icons with no icon set, and the set's icon for each meaning with one. Icon sets' template meaning counts read placeholder imports. The docs site's code view, playground, MCP source and ShadCN registry, and the theme editor's preview sheet, use the same filled source a copy writes.
|
|
1275
|
+
- Twenty-five more page templates (library through work-item-detail) import their icons by meaning from the template icon placeholders. `astryx template` copies draw the same icons as before, with and without an icon set. The template icon table gains a Heroicons drawing for `wallet`, so every variant of the table draws it.
|
|
1276
|
+
- Fifty-one block templates (AlertDialog through MultiSelector) import their icons by meaning from the template icon placeholders. Copies draw the same icons as before, with and without an icon set. The ChatSendButton custom-icon block's send arrow mirrors in right-to-left pages, as other send icons do.
|
|
1277
|
+
- The last forty block templates (NavHeadingMenu through VStack) import their icons by meaning from the template icon placeholders, so every bundled template now does. Copies draw the same icons as before, with and without an icon set.
|
|
1278
|
+
- When `astryx template` keeps an icon imported from a subpath of the library an icon set wraps, its reason names that library too: `it already comes from @heroicons/react/24/solid, part of @heroicons/react, which <set> wraps`, not the subpath alone as if the set wrapped it.
|
|
1279
|
+
- The theme editor no longer loads all of Core when it checks a theme against its base. The check copied the build's module stand-ins with an object spread, and the spread read the lazy `@astryxdesign/core` entry, so each first `new`, `set` or `how` in a process imported Core's whole root entry and React for a theme that imports only `@astryxdesign/core/theme`. The stand-ins are now copied with their getters, so the root loads only for a theme that imports it. Results do not change.
|
|
1280
|
+
- `astryx experimental theme editor how`: a focus-ring change that keeps a status ("make the focus ring on inputs red but keep the invalid ones") keeps that status's ring as Core draws it while focused, on every input the new ring reaches, instead of writing the status's resting shadow.
|
|
1281
|
+
- `astryx experimental theme` reads its cached part data once per change of the cache file instead of parsing it again for every command in a process. The per-user cache of transpiled TypeScript is not read again when it has grown until its oldest copy could be removed, so a large cache no longer slows every theme command's first load.
|
|
1282
|
+
- The theme editor (`astryx experimental theme editor`) reads the families and weights a base theme loads from its font stylesheet's own `@font-face` rules, as the built-in themes now ship them, so it keeps the base's weight notes and does not suggest installing fonts the base already loads.
|
|
1283
|
+
- `astryx experimental theme editor set <theme> font <family>` says when the theme file covers the setting. A `typography` family or a `--font-family-*` token in the theme's own file wins over its settings, so set now names the roles that keep the file's family, the line that gives it, and how to change it, in text output as well as `--json`.
|
|
1284
|
+
- The theme editor reads a pagination's current page as its own cell. "Make the current page in pagination blue" writes `--on pagination-item --state selected`, kept apart from every other button, instead of a `current` state on every button, and `button` no longer lists `current` as a state.
|
|
1285
|
+
- `astryx experimental theme editor show`: a theme image named by a path from the site's root (`url(/pics/paper.png)`) that is not there now says it was looked for in `public/`, the only folder such a path is read from. Before, the note said the image was not found beside the theme.
|
|
1286
|
+
- The theme editor knows Core's calendar range band and keyboard key badge parts. "The calendar range band" is `calendar-range`, and "range" is no longer corrected to "orange". "The key badges" are `kbd-key`; "keyboard keys", "the keyboard shortcut" and "the kbd" still read Kbd. A part that draws none of what is asked hands it to the one piece of its own inside it that draws it at rest, and names it: "make the keyboard keys gray" writes the fill on `kbd-key`. With several such parts, nothing is written and the answer names them. Spacing asked between the parts a holder lays out side by side ("more space between the keys in the keyboard shortcut", "between the tokens in the tokenizer") is that holder's gap. A fill set on `kbd` or on `calendar` was refused, because the key badges and the range band painted over it from a token; they are parts of their own now, so that fill is taken and paints the group's own box.
|
|
1287
|
+
- `astryx experimental theme editor undo` refuses a `themes` that is a file, not a folder, by name on Node 22.13 too ("themes in this app is a file, not a folder …", with `ls -la themes` to see what is there). Before, on the CLI's oldest supported Node, it stopped with a raw "ENOTDIR: not a directory" error instead.
|
|
1288
|
+
- `astryx experimental theme preview add <description>` adds a page only when build is sure of its start. When build starts from the app shell, or from a page its page pick gives less than a clear fit (`start.fit` under build's `CLEAR_FIT`), it refuses, says why, and offers the nearest pages this app can show by name (`--template <id>`), then the list of every page. A description that names a page by its id or display name, names an app the preview has pages for, or names a page build's ranking matches by its name or a keyword, still adds it.
|
|
1289
|
+
- `astryx experimental theme editor how`:
|
|
1290
|
+
- A value no page could show, such as a line height of 0 or 99999px of padding, is not written. The answer gives the range that works instead.
|
|
1291
|
+
- "List items more spacing between them" points to the list's gap, not each item's padding. A visited link gets the "no visited state" answer.
|
|
1292
|
+
- "selected tab with a 2px underline" gives the tab underline. "the selected date in the date picker" names the calendar day.
|
|
1293
|
+
- When the page background is part of a longer request, the combined line also paints the frame and main panel, as the page's own answer does.
|
|
1294
|
+
- White text asked for the header goes to the mode where it can be read, and the answer says how to have it in both modes. Readable-text lines no longer print an empty "()".
|
|
1295
|
+
- "buttons font weight medium" sets a weight, not the medium size. "semibold instead of bold" is one request.
|
|
1296
|
+
|
|
1297
|
+
- `astryx experimental theme editor how` writes nothing for more kinds of messages that don't ask for a change:
|
|
1298
|
+
|
|
1299
|
+
- **Tag questions:** "spacing is compact, isn't that so".
|
|
1300
|
+
- **A question about how the theme looks now, beside a look it names:** "cards no border. is the shadow still there?".
|
|
1301
|
+
- **A question about what a dial does:** "what does spacing less do". The answer lists the examples in its text instead of offering them to run.
|
|
1302
|
+
- **Sarcasm shown by emphasis or a "yes because" reply:** "yes because neon green links are SO professional".
|
|
1303
|
+
- **A past hypothetical:** "had we gone with serif headings".
|
|
1304
|
+
- **A change timed to a later event:** "after the review, square the buttons".
|
|
1305
|
+
- **An ask that takes back a setting the theme doesn't have:** "accent red; also undo the corners" with no corners set. The answer says so, and asks for the rest on its own.
|
|
1306
|
+
|
|
1307
|
+
Other fixes:
|
|
1308
|
+
|
|
1309
|
+
- In a sequence ("make it compact, then make it roomy"), the later step now decides where it ends, instead of the two being offered as a contradiction.
|
|
1310
|
+
- "badges: no fill" now makes the badge see-through, including every variant the theme fills itself. It no longer takes back those fills, which brought back the base theme's solid fill.
|
|
1311
|
+
- A screen named by what it shows ("a records table view") no longer counts as that part.
|
|
1312
|
+
- A real word is no longer read as a typo of another word that differs at its first letter ("stable" is not "table").
|
|
1313
|
+
- "no shadows" after a part that draws no shadow ("visible focus ring, no shadows") now applies to the whole theme.
|
|
1314
|
+
- `set … buttons outline` (or `soft`) no longer claims that an exact text color on the button's plain rule wins on the primary button. The primary label is now measured on the fill an exact property gives that variant.
|
|
1315
|
+
|
|
1316
|
+
The answer to a list of looks for a part now reads each item as part of that list:
|
|
1317
|
+
|
|
1318
|
+
- A subject how doesn't know ("flurbles: subtle gray background") writes nothing and names the word. It never falls back to changing the whole theme.
|
|
1319
|
+
- Other design systems' names for a part now resolve to that part: a snackbar is a toast, a lozenge is a badge, and form controls are the inputs.
|
|
1320
|
+
- A length and a color after the part's line ("inputs: 1px border #79747e, 2px #6750a4 when focused") are that line in that state, not a fill.
|
|
1321
|
+
- A color word with its value after a text ask ("uppercase 12px text, gray #6b7280") is the text color.
|
|
1322
|
+
- A day in the date picker ("date picker: today's date circled") is the calendar's day, and gets the calendar answer instead of filling the field.
|
|
1323
|
+
- A state at the end of a with-item ("red background with white text on hover") applies to the whole look, so it no longer contradicts the resting fill.
|
|
1324
|
+
- A text color for every button keeps per-variant lines when only a hover fill comes with it.
|
|
1325
|
+
- A part label with padding ("dialogs: no border, 16px padding") writes the padding on that part.
|
|
1326
|
+
- Corners on some sides ("4px top corners and square bottom corners", "4px corners on top only") change only those corners. A step on some sides asks for a size.
|
|
1327
|
+
- A color said with a shape ("a #e8def8 pill") is that shape's fill.
|
|
1328
|
+
- "divided by 1px lines" is no longer read as a change by 1px, and "shadow-sm" is the small shadow.
|
|
1329
|
+
|
|
1330
|
+
Real asks said next to a question ("set font to Inter; does that need an import?") still write.
|
|
1331
|
+
|
|
1332
|
+
- `astryx experimental theme editor how`:
|
|
1333
|
+
|
|
1334
|
+
- Two-word color names ("off-white", "ink blue", "grass green", "safety orange", "slate blue-gray"), tan and paper now resolve through the color table. Off-white is a warm off-white. "pure white" means exactly white. "amber for warnings" sets the warning color. A typed value said with a named color, as in "bold safety orange #ea580c accent", wins.
|
|
1335
|
+
- "make it calmer" and "a calm dark mode" lower vibrancy. "more cheerful" means more colorful.
|
|
1336
|
+
- When no command can do the whole request, the text output now says each result explains why, instead of pointing to lines "above" that appear below.
|
|
1337
|
+
- Tailwind shadow sizes ("shadow-sm") map to the editor's shadow sizes.
|
|
1338
|
+
- "dividers between list rows" and "table rows divided by 1px lines" give a bottom border. "32px rows in the menu" sets the menu item height.
|
|
1339
|
+
- "should be a #e8def8 pill" gives that fill with pill corners. "dialogs with a dark overlay behind them" darkens the overlay. "big touch targets" makes buttons and inputs bigger. "a 2px dark border" uses the theme's stronger border color.
|
|
1340
|
+
|
|
1341
|
+
- `astryx experimental theme editor set`: a step past a dial's last rung names an exact line only where one setting does it. On a part, spacing goes on in the control height the part reads ("bigger buttons" at the top rung offers `--size-element-md 46px --on button`); the text size offers a size it takes; the whole theme's spacing, which no one setting carries, claims no exact line. A one-mode theme reads its own mode named with `--mode` (`--mode dark` on a dark-only theme) as the same as no `--mode`, in `set` as in `undo`, and says so. A control height offered past the top rung is measured from the base theme's own height, so a base with taller controls offers a taller line.
|
|
1342
|
+
|
|
1343
|
+
- `astryx experimental theme editor`: a role color the theme sets now reaches a badge or other part the base theme draws for that role in a color of another family (stone's info badge in its categorical blue): the part takes the role token the base gives that same color, so its look stays and it follows the role.
|
|
1344
|
+
|
|
1345
|
+
- `astryx experimental theme editor`: the fix line for a loading placeholder that does not show now offers the theme's own gray nearest the placeholder's color (else a darker or lighter shade of that color), not a plain gray.
|
|
1346
|
+
|
|
1347
|
+
- `astryx experimental theme editor`: a value drawn on a track (a progress bar's fill) that a theme makes vanish on it, below 3:1 at rest, is now a problem with the nearest track color that reads, set on the track alone; a slider's thumb, larger than its track, counts only where it reads neither on the track nor on the page. Before, a black border the track follows and a near-black accent left a progress bar as one black bar with nothing reported.
|
|
1348
|
+
- `astryx experimental theme editor how <part>` names what a token shows where the base theme points it at another one on the part or a part around it (neutral's progress track reads the muted fill, which it points at the emphasized border: `shows: --color-border-emphasized`), and a border the emphasized border follows names the parts the base theme draws from it (the progress bar and switch tracks).
|
|
1349
|
+
|
|
1350
|
+
#### New Features
|
|
1351
|
+
|
|
1352
|
+
- The agent block that `astryx init` writes ends with one line on how to remove it: run `astryx init --remove-agents`, which removes it from the agent files at the project root and in the folder you run it in, and delete any other copy between its markers. Asked to take Astryx's text out of a project, agents deleted whole agent files or cut one copy by hand and left the others; with the line, they run the command and remove what it leaves.
|
|
1353
|
+
- `astryx upgrade` keeps each theme's chat corners now that `--radius-chat` follows the container radius: it adds `--radius-chat` to the tokens of each `defineTheme()` theme (28px, or the page step of its radius scale) and the page step to each adaptation rule with a radius scale. A theme that extends an Astryx theme, or a theme this project defines (a relative or aliased import is trusted to be one), and has no radius scale of its own inherits its base's value; one that extends another theme, such as one from another package, gets a TODO that also covers that theme's adaptation rules. It leaves a TODO where it cannot read the theme, and reports a default-exported object shaped like a theme for manual migration. The token it writes is declared at the theme root, so a value a project sets on an ancestor such as `:root` no longer reaches the theme's chat surfaces: set the token in the theme instead.
|
|
1354
|
+
- The Best Practices section of `astryx component <Name>`, `astryx hook <name>` and an integration component read through `astryx discover <package>/<Component>` puts a `Do:` or `Don't:` label line before each run of items with the same guidance, instead of repeating a bold badge on every item; a blank line separates runs, so each run stays its own Markdown list. Every item keeps its place and its guidance; `--json` is unchanged.
|
|
1355
|
+
- `astryx build` lists blocks as examples to read, not sections to insert. The kit starts from the template, builds its parts with components, and shows up to three BLOCK EXAMPLES for reference. The JSON `blocks` field keeps its shape and still holds the same blocks, now shown as examples.
|
|
1356
|
+
- `astryx build` picks which page template to start from with a second word model, once the existing model has called a page. The page-or-shell and page-or-block calls are unchanged; only the choice among page templates changes.
|
|
1357
|
+
- `astryx build` reports `start.fit` on a page-template start: the page-pick model's probability for that template among the ready page templates, from 0 to 1. At 0.4 or more the choice is clear; below it, several templates fit about as well. It is absent for a template the word tables do not list. `--verbose` text shows it too.
|
|
1358
|
+
- Bases, first step: a run resolves one base. The new global `--base <package>` picks it; otherwise, in an integration package, the base it is or builds on; else the project's Core; else its one installed base; else Core. A package becomes a base by declaring `base` in its integration manifest. Commands and options that need a platform step the base does not serve (theme build, add, use, remove, targets, and template; `template --skeleton` and `--cdn`; `integration add theme`; `experimental render`) are hidden from help and refused with `ERR_BASE_CAPABILITY`. Commands do not call base adapters yet, so a base other than Core serves no platform step. In a run on another base, component, hook, swizzle, template, docs, search, and codemod reads leave out Core's items and answer from the integrations that build on the base (an empty list or an unknown name). There, `build` names no Core frame or foundation components; the `hook --list` and `swizzle --list` envelopes name the active base as their package; `upgrade --from` targets the active base's installed version, runs only the codemods of integrations that build on that base (even when `astryx.config` does not list the base), checks no copied ShadCN composition (with `--registry` too), and keeps the agent-docs version `init` writes; and `doctor` checks that the active base is installed instead of reporting Core and Core's theme packages as missing. `component --list --detail compact|full` lists no integration's components, so on another base that view is empty (the base's own components appear in the default list). A project with no base-declaring integration gets the same command output as before, except that root help gains the `--base` option; the "Component style overrides" lines of theme help, and the `--json` unknown-subcommand suggestions of `theme` and `experimental`, start with an integration's `cliCommand` when one is declared, as every other printed command does; and `astryx manifest --json` gains `base`, `available` on each command and each command option, and `requires` where a command, option, or argument declares steps.
|
|
1359
|
+
`--base` is a global option, so `experimental theme editor new <name> --base <theme>` reads it as the base library and refuses with `ERR_BASE_NOT_FOUND`; the refusal suggests the same run with `--like <theme>`, which stays the editor's base-theme option.
|
|
1360
|
+
- The bundled official themes export `colorModes`, the modes each draws: gothic `['dark']`, the others `['light', 'dark']`.
|
|
1361
|
+
- `astryx docs --list` lists every docs topic: the same list that `astryx docs` prints with no topic, in text and as `docs.list` with `--json`. It used to fail with `unknown option '--list'`, while `component --list`, `template --list` and `hook --list` each list their catalog. Every other docs flag reads with `--list` as it reads with no topic; a topic or section beside `--list` is refused with `ERR_INVALID_ARGUMENT`. `docs()` takes the same `list` option.
|
|
1362
|
+
- `astryx docs <name>` points to the right command when the name is a component, hook or template rather than a docs topic. The read still fails with `ERR_UNKNOWN_TOPIC`, and its first suggestion is now the command that reads that entry, such as `astryx component Button`, `astryx hook useHotkeys` or `astryx template ai-chat`. Only an exact name counts, in any case and with or without spaces and hyphens (`docs text-input` points to `astryx component TextInput`); a hook also answers to its name without `use`. The suggestion keeps the usual `{name, reason}` shape and takes the last suggestion's place, so the list does not grow. When no docs topic shares a word with the name, it is the only suggestion, instead of the whole topic list. The check reads file names first and loads no docs for other names, so a docs miss stays fast. Docs routes and docs typos get the same suggestions as before. `doctor`'s cache row names the docs not-found hint's name summaries.
|
|
1363
|
+
- `astryx doctor` text used to print each check as a block of `id:`, `status:`, `label:`, `message:` and `fix:` lines, with the summary counts on four lines. It now prints each check as one record: its status (`[ok]`, `[warn]`, `[fail]`, `[info]`) in a column, then its id, label, message and `fix`. A legend under the heading names each field by its `--json` key, and the summary prints its counts on one line. Every field still prints, so the answer reads the same in less space: about 10% less on a small app checked with `--built`. The JSON output does not change.
|
|
1364
|
+
- `astryx doctor integration validate` (and so `integration check`) lists each component example that is not `kind: 'setup'` but cannot run on its own, the way a docs page or catalog card runs it as a live preview: code that does not compile, such as a top-level `return` or code that stops partway (`example_does_not_compile`); code that renders nothing (`example_renders_nothing`); a name the example never defines or imports (`example_undefined_name`); an import of code that runs only on a server, an async server component it renders, or a read of `process.env` (`example_server_only`); and an import of a relative path or of a package the package does not declare (`example_import_unresolvable`). Each is a note with its fix that fails `integration check --strict --next` now and `--strict` from the next minor release, so no build that passed before fails. An example may use without importing the components its package documents, the components and hooks Core documents, React's exports, and browser globals. `previewableExample(example, scope)` from `@astryxdesign/cli/authoring` is the same rule for a tool that shows examples as live previews: it returns the module to bundle, or why the example cannot run. `integrationExampleScope(pkg)` from `@astryxdesign/cli/api` returns the scope Doctor reads a package's examples with, as JSON, so a catalog can store it and a preview tool read each example exactly as Doctor does. `showcase_not_standalone` now reads the same packages: a Node built-in name such as `events` that only `devDependencies` installs counts as server-only, because an app that installs the package does not get it.
|
|
1365
|
+
- `astryx component`, `astryx hook` and `astryx template` now point to the right command when a name they do not find is an entry another lookup command reads, as `astryx docs` already did. One rule serves all four commands. An entry's name is its full id: a component, hook or template id, or a docs route. A name matches the typed name at one of four tiers, best first: exact (the whole name, in any case); folded (the whole name without spaces and hyphens, and a hook with or without `use`); last segment (only the last segment of a path id or docs route, exact or folded); words (the name carries every typed word). When the typed name matches another command's entry at one of the first three tiers, that command joins the suggestions by the entry's full id, such as `astryx hook useHotkeys` for `component use-hotkeys`, `astryx component Button` for `template Button`, or `astryx docs typography/font-setup` for `hook font-setup`. A better tier wins; inside a tier, a component comes before a hook, a hook before a template, and a template before a docs route; among docs routes, the route with the fewest segments comes first, then the first in tree order. The hint goes right after the command's own suggestions that match at its tier or a better one, so it is first only when none does. The list never grows: the last suggestion drops, and a hint that would come last is left out; when a command had no suggestion, the hint is the only one. Every hint names an entry the hinted command reads: a template only when `astryx template` lists it, and any route of the docs tree, namespaces included. The error code and the `{name, reason}` shape stay. Docs keeps its rule that the hint stands alone when no topic shares a word with the name, and `component` keeps its example-block message, which already names `astryx template`. Names that resolve still resolve as before, and a miss stays fast: file names and doc text say first which components, hooks, templates and docs routes can match, so only those are read.
|
|
1366
|
+
- For AI tools that cannot run commands, `astryx mcp` serves every astryx command as a Model Context Protocol (MCP) tool, over standard input and output; agents that can run commands keep using the CLI. Each command that answers with `--json` is one tool, named by its words (`theme build` is `theme_build`), with the command's arguments and options as its inputs under their CLI names, and every root option except `--json` and `--version`; an input a tool does not list is refused. A tool call runs that command with `--json` in the project folder, or in a folder inside it that the call names, and answers with the command's output unchanged; a command that exits non-zero answers as an error. The tools come from the same command definitions as `--help` and the manifest, so a new command or option is a tool input at once. When the project has no agent docs yet, the server gives the agent the text `astryx init` writes. `astryx mcp --docs-only` serves only the commands that read the docs (`search`, `build`, `component`, `hook`, `docs`, `template`, `discover`, `theme list` and `theme targets`), one message at a time, without the inputs that name a folder, a file to write or a package to read (`cwd`, `path`, `cdn`, `overwrite`, `package` and `base`); the docs site's MCP server is this command. `astryx mcp --json` exits 1 with `ERR_INVALID_OPTION`, because standard output carries the protocol. `astryx docs working-with-ai` shows the client entries.
|
|
1367
|
+
- Component docs: `playground.mobile` holds the props of a second render at a phone viewport, merged over `defaults`, for a component whose layout changes at phone width; the theme editor's part census renders it too. AppShell declares its mobile layout there (the menu button in the top bar, the open drawer); its playground defaults are unchanged.
|
|
1368
|
+
- A command doc's option can declare `pointers`: parts of its description that help leaves out when the run's base does not serve what they name. On a base other than Core, `astryx template --help` no longer names `--skeleton` in the `--list` text or suggests `--package @astryxdesign/core`, and `astryx mcp --help` no longer names `theme targets` in the `--docs-only` text.
|
|
1369
|
+
- `astryx component <Name>` prints a short answer by default: what the component is, its import, a usage line, every prop as one line (name, type, default, required, and its description's first sentence), its accessibility requirements, its pieces with one command that reads them all, and the commands that print the rest (`--props` for each prop's whole description, `--detail full` for anatomy, best practices, examples and theming). The same answer is `--detail compact`; `--detail full` prints the whole doc as before, and `--json` is unchanged. Every part comes from fields each component doc already has, so an integration's component gets the same answer.
|
|
1370
|
+
- The computer-level agent text says that inside a project with its own Astryx text (an `astryx-project` skill, or an Astryx block in AGENTS.md or CLAUDE.md), an agent follows that text, which knows the project's version and setup. Asked a vague question about a project, agents loaded the generic computer text and missed the project's own facts.
|
|
1371
|
+
- `astryx discover` names the sections an installed integration adds to a doc another package owns, so a reader can open its own section straight away: the list prints the read beside the doc, `docs: theme (read: astryx docs theme install-and-apply)`, the JSON entry gains `docSections` (each name's section keys, each opening with `astryx docs <name> <key>`), and the doc's item page gains `sections` and prints the same reads.
|
|
1372
|
+
- `astryx discover` shows an installed integration's package.json `description`, as it already did for a package a source lists: on the list's Installed side and on the package page (`discover <package>`). Text shows its first sentence; `--json` carries the whole description as the entry's `description`. Terminal escape codes and control characters are removed, and a blank description is left out. Search (`discover <words>`), which already matches package descriptions, now also finds an installed package by a word in its description.
|
|
1373
|
+
- `astryx discover <words>` matches word by word, as `astryx search` does: every word is part of the query, and an item matches by the words of its name (camelCase split), title, summary, and keywords, with its package's description adding words. So `discover chart categories` finds a `BarChart` whose summary says "Compare values across categories", which the old whole-phrase match missed. When an item matches every word, only such items are listed; matches rank by how many words they match. When nothing matches, the error suggests the Core component or hook `astryx search` gives first for the query, such as `astryx component AlertDialog` for `discover modal`, when search matches it by name or keyword. `astryx search` now prints its "More in packages you could add" line only when the `discover` command it names would list a match: discover's own search, run over the saved copy of a discover catalog, decides. With `--type <kind>`, the line names `discover <query> --type <kind>`. With no saved copy, the line prints as before. Search reads only the saved copy and never calls a discover source.
|
|
1374
|
+
- `astryx docs <topic>` prints the topic whole, as `--json` already did, so a guide's first read carries its rules and examples. A topic whose own text is over 16 KB still lists its sections, and a whole read ends with the commands that open one section or the section list. `--index` lists the sections of any topic, and `--full` prints any topic whole.
|
|
1375
|
+
- `astryx doctor` warns about a Core button that does nothing when pressed (`button-actions`): a `Button` or `IconButton` from `@astryxdesign/core` with no `onClick`, `clickAction`, `href`, or `submit` or `reset` type, or with an empty handler or a link that goes nowhere (`#`, unless the app routes by the URL hash), where nothing around it acts on a press. The warning names each button's file, line and label. Doctor reads the app's own source as syntax trees and leaves out test, story and fixture files. It does not report a button it cannot judge: one with props spread in, a ref, a tooltip, or a disabled or loading state, or one inside a link, a trigger prop, a custom element, a `Provider` read off a namespace import of the app's own module, or a component it does not know, or one that holds an HTML control, a custom element, another package's component other than an icon, or content doctor cannot read (`{children}` a wrapper passes in). It does not judge a workspace member's buttons when the app imports the member by its package name. When doctor cannot follow a linked folder, it treats no component as a page. When the app's own code listens for a press through the DOM (`addEventListener('click', …)`, an `addEventListener` whose event a variable names, a library's `.on('click', …)`, or an `onclick` property), doctor judges no button and reports the check as not run. Nor does it judge a component that a module may load by a path doctor cannot read (a computed `import()` or `require()`, `import.meta.glob` or `require.context`, in a module, an MDX or Astro page, or a module that does not parse), or that an MDX or Astro page names. The check never fails `doctor`.
|
|
1376
|
+
- `astryx doctor` warns about a prop the app gives a Core component that the component does not take (`core-props`), such as `selectedID` on `TabList` or `labelHidden` on `CheckboxInput`. Such a prop does nothing, and unless the build type-checks, no build step reports it. The warning names up to eight props, each with its file, line and component and a documented prop with the same words when there is one, and counts the rest: "src/App.tsx:6 CheckboxInput has no `labelHidden` (did you mean `isLabelHidden`?)". A prop is reported only when Core's docs for the component leave it out and Core's own types, read with the project's TypeScript as its pages see them, do not take it either. The name of an HTML, SVG, DOM or ARIA attribute, which a component can pass on to what it renders, is never reported, and neither is a name with a hyphen (such as `data-` or `hx-` attributes), which JSX never checks against a props type, a prop that JSX gives every component (such as a `css` prop the project's own types declare), a prop of a component from outside Core or of a generic component, or a prop in a module compiled with another JSX runtime. Doctor reads the app's own source as syntax trees and leaves out test, story and fixture files. Without TypeScript, or in a project whose TypeScript or build config compiles JSX with another runtime, the check says it did not run. The check never fails `doctor`.
|
|
1377
|
+
- `astryx doctor` prints a short kept-cache row. Before, the `gather-cache` row printed a paragraph of about 2 KB: every kind of kept result, when each is used, the size limit, the transpile cache, and "deleting the folder clears it". Now the row prints only the folder, its entry count and size, the command that lists every kept item and the size limits (`astryx doctor --json`), and the exact command that clears the caches, such as `rm -rf ~/.cache/astryx/catalogs`. That command also names the transpile cache folder when it exists. The JSON check keeps its whole `message` and adds an optional `brief` field with the short form, which text prints in the message's place; the legend then reads `message (or brief)`. Ids, statuses and exit codes do not change.
|
|
1378
|
+
- With no update check recorded, `astryx doctor`'s `newest-release` row reads "Newest release unknown: no update check recorded here. Only a copy installed for the computer checks, daily in the background after a command; a project's copy changes only when the project upgrades it; a tool running its own copy picks its release." The `gather-cache` row keeps its list of what is kept, and states the CLI's build id, the lookup commands' not-found path and the size limit in short clauses. Check ids, statuses, fields, the JSON shape and exit codes do not change.
|
|
1379
|
+
- `astryx doctor` warns when a setting of an added local theme does not show as written (a later shorthand resets it, a more specific rule of the theme it extends wins, or cascade order decides), naming the theme, the setting with its line, and the fix, from the same check `astryx theme build` runs. It is a warning, never a failure: the theme builds as before.
|
|
1380
|
+
- `astryx init --to <places> --once` writes a copy that is saved nowhere, so no later `init`, `upgrade`, or background refresh touches it (a bundle, or a skill to upload elsewhere). `astryx init --remove` removes the Astryx skill from every place the project saved, and with `--to` from the places it names, in the project, a folder outside it, or the computer (`--remove --to user`), and drops each from what is saved; an edited skill file is kept and named. `--remove-agents` is now the same option as `--remove`; in a project that saves nothing it removes the block as before, adding one note when a folder is saved for this computer (kept, with the command that removes it), and its `init.remove` result gains `from`, `skills`, and `user`. `--once` is refused for the AGENTS.md block and for a place already saved, and a skill file Astryx did not write is kept, a linked skill folder's included, while an unedited Astryx file is the place's own through a link too (a folder saved for this computer where every file was kept is not saved; in the project, linked copy folders share one file, written and removed once); the computer-level skill and its links and copies, reached through a saved folder such as `~/.agents/skills` or `~/.claude/skills`, are kept (`astryx init --remove --to user` removes them).
|
|
1381
|
+
- `astryx init` says what it did to each agent-doc file: `[ok] AI agent docs: AGENTS.md updated (Astryx 0.7.15 -> 0.7.16)`, `... created`, `... already current, nothing changed`, or `...: Astryx block removed, another agent file holds it`. The `init.run` receipt adds `docsChanges` (`{path, change, from, to}` per file, in `docsWritten` order); every earlier field keeps its name and value.
|
|
1382
|
+
- `astryx init` in a project whose Astryx agent-docs blocks are all current prints the `build` and `search` commands (and where the setup guide is) instead of the five install steps, since the app is already set up. It judges the files the run writes: the `--agent-docs-path` files, the `--agent` preset's file, or every agent file at the root. A first run, or a run that refreshes an outdated block, still prints the install steps. The `init.run` receipt adds `agentDocsStatus` (`missing` | `stale` | `current`, the agent docs before the run; null when agent docs were not installed or the write failed); `nextSteps` is false when the steps are left out.
|
|
1383
|
+
- `astryx init --to <places>` puts the Astryx skill where your agents read it: `agents-md` (the AGENTS.md block, still the default), `skills` (the `astryx-project` skill in `.agents/skills` and `.claude/skills` in the project, named apart from the computer's `astryx` skill so neither hides the other), `user` (this computer, the same as `--user`), or a folder written as a path. The choice is saved: in astryx.config `skills.to` for the project, so a later `astryx init` writes the same places, and in the settings file for a folder outside it, whose copy the CLI installed for the computer refreshes after each of its upgrades while it is there (delete the copy to stop it). Moving a project to another place removes the skill from the old one. `astryx init` with no `--to` and nothing saved writes exactly what it wrote before.
|
|
1384
|
+
- An integration can say how its apps add a dependency: `installGuidance` in its manifest, one line where `{packages}` stands for the packages to add. Where the CLI prints a step that adds packages the app lacks (template readiness, `init`'s theme step, `doctor`'s fixes, theme hints and errors, `theme eject`, the theme editor's notes, and `discover`'s add commands), it prints that line instead of the package manager's command; the `template` and `theme eject` receipts carry it as `installGuidance` beside `installCommand`. Steps that move Astryx's own packages to another release, or add `@astryxdesign/cli` at the project's Core release, keep the package manager's command. Without guidance, doctor's Core and peer-dependency fixes, `theme build`'s no-Core message and `render`'s missing-package suggestion now print the project's package manager in place of a fixed `npm install`. Two different lines cancel out, and a new `install-guidance` doctor check warns. An invalid line is ignored with an `invalid_install_guidance` warning.
|
|
1385
|
+
- An integration can ship a skill: a doc that sets `skill: {name, description}` becomes a skill of its own in every app that keeps the Astryx skill in a skills folder (`astryx init --to skills`), and the AGENTS.md block gets one line that names it and points to `astryx docs skills/<name>`. `astryx docs skills` lists every skill a folder has (the project skill, the computer skill, and each integration skill), and `astryx docs skills/<name>` reads one. `astryx upgrade --apply` refreshes integration skills and removes one an integration no longer declares, `astryx doctor` checks them, and `astryx discover` lists them. A skill that breaks a rule (its name, a repeated name, its description) is left out with a note, and its doc still loads. `agentDocs.append` keeps working as before, and a project whose integrations declare no skill gets exactly the block it got before.
|
|
1386
|
+
- `astryx theme add`, on the first add, when an installed package names the provider that wires its themes, says so: "This app may already get its theme from <Provider> (from <module>, declared by <package>)", with the props it takes the theme and mode through. When that one provider takes the theme (its manifest's `themeProvider` names `themeProp`), every receipt that shows wiring shows that provider in place of a Theme wrap: the first add passes the generated module's theme to it (`<Provider theme={themes[defaultThemeSlug]}>`, plus `<modeProp>={themeModes[defaultThemeSlug]}` for a theme with one color mode when it names `modeProp`), a later add that first lists `themeModes` passes the mode to it when the manifest names `modeProp`, and `theme remove` of the last theme undoes those props and keeps the provider. With no `themeProp`, or two such providers, the first add names each provider and its trade-off ("Replacing <Provider> applies this theme everywhere but also drops anything else it sets up; a Theme inside it themes only what it wraps.") above the Theme wiring. No receipt reads app source. The JSON carries it as `appProvider`: each provider as `{export, from}` (with `themeProp` and `modeProp`), `wire`, and `themeProp` and `line` when the provider form applies. An integration manifest's `themeProvider` takes an optional `themeProp` and, beside it, an optional `modeProp`. `themeProvider` is a hint and never stops a manifest loading: a part this CLI cannot use (an export that is no component name, a prop that names no prop, a `modeProp` with no `themeProp`) is dropped with an `ignored_manifest_field` warning.
|
|
1387
|
+
- For an app whose theme its integration's provider wires, `astryx doctor` names the theme a stylesheet of the package belongs to: one in that theme's own folder, or one its stylesheet imports. `astryx theme list` says on each such theme's `wiredBy` line that the provider applies when the app renders it, and that `astryx doctor` checks where.
|
|
1388
|
+
- An integration that wires its themes with its own provider component can name it once in its manifest: `themeProvider: {export, from}`. `astryx doctor` then counts the package's theme as wired when the app renders that component (the theme whose stylesheet the app imports, or the package's only theme), instead of warning that no theme is wired, and its CLI-managed-themes check names the theme and its provider instead of offering `theme add`. An import of the provider that is never rendered still does not count. A stylesheet the app imports from the package counts as the theme it is, wherever the package keeps it; doctor names it, and never calls it missing when it cannot match it to one theme. `astryx theme list` shows `wiredBy` beside each of the package's themes, in text and JSON; its added and default marks stay as they are. A CLI that does not know the key, or a key inside it, ignores it with a warning and keeps the rest of the manifest.
|
|
1389
|
+
- When `astryx component` or `astryx template` finds no entry, the not-found error also points to a hook the name nearly spells or names by meaning. A `use…` name one or two slips from a hook's name, or one whose every word that hook's name carries (`useTableExpansion` for `useTableRowExpansion`), suggests that hook (`astryx hook <name>`). For `astryx component`, a name of two or more words that are exactly a keyword one hook's doc declares (`CopyButton` for a hook whose doc lists `copy button`) suggests that hook. The hint goes first only when no own suggestion matches as well: a suggestion whose name nearly spells the typed name or carries every typed word, or a component whose doc keywords or search-card synonyms hold the same phrase, stays ahead of it. The list never grows, the lookup still fails, and a name that already matches another command's entry by name keeps that hint.
|
|
1390
|
+
- Palette generation has a second recipe, `astryx-oklch-v2`, beside `astryx-oklch-v1`: its pale stops, where a vivid seed asks more than the sRGB gamut holds, follow the vibrancy and each seed's own chroma instead of all landing on the gamut's edge, and a dusty seed stays dusty there; the dark side of a ramp, and every pale stop whose gamut holds the most vivid seed at the default vibrancy, are drawn exactly as v1 draws them, so role text and dark fills keep their strength. New palettes name v2: `astryx experimental theme editor` records `"recipe": "astryx-oklch-v2"` in each palette config it makes, and the palette guide's example config names it. A request or config that names no recipe still runs v1, from `generateTonalPalette()` and `astryx theme palette generate` alike, so existing callers, the shipped themes' palettes and any existing config keep their colors; a config keeps the recipe it records, and naming one pins it. A theme the editor saved before keeps the recipe it was made with, and a color change on it says how to move it.
|
|
1391
|
+
- `astryx component <Name>` (and its `--props` view) lists props one per line, ``- `name`: `type` = `default` - description``, with the required and experimental markers after the type, instead of a four-column table. Union types keep their pipes as written, and no field is dropped; `--json` is unchanged.
|
|
1392
|
+
- `astryx component <Name>` prints the first sentence of each prop's description, under one line naming the command that prints them whole: the read's own selector and `--package` scope with `--props`, so it resolves to the same component. A read prints its descriptions whole when that line would cost more than the cut saves. The `--props` view, `--json` and `astryx discover` keep every description whole.
|
|
1393
|
+
- `astryx search` prints the first sentence of each result's description instead of the whole description, so a list of 20 results stays short. Component, hook and doc results' commands print the full doc; `--verbose` and `--json` keep descriptions whole.
|
|
1394
|
+
- Every `--json` result that lists or returns a template gives it `isReady`: false for a template whose doc sets `isReady: false`, else true. `discover`, which names a package's templates only by id, carries neither. That covers `search` results, `build`'s start, alternatives, pages and blocks, `template <id>` (shown, `--skeleton`, and copied), and `component <Name> --blocks`; `template --list` already had it. In text, those commands mark an unready template `(not ready)`, and `template --list` says `(not ready)` instead of `(WIP)`. Search still lists an unready template in the same place.
|
|
1395
|
+
- In an Astryx project, and outside any package, `astryx search` finds the experimental guides for sharing a page as one HTML file. A search for words like "share", "single file", "static html", "snapshot" or "artifact" now returns them, one entry per guide, and each says it is experimental; every other experimental doc still stays out of search, and in a package without Astryx search answers as before. A reference doc gains the optional field `searchable: true`, which only these CLI guides may set.
|
|
1396
|
+
- Outside a project, when a tool runs the CLI for you from its own package set, a page can use the other packages that set's `package.json` lists, such as an icon library, as it already uses Astryx, React and StyleX. `render` renders a scaffolded template page with nothing to install, and `template` no longer asks you to install those packages there. Before, `template` printed an `npm install` step for the template's icon library, and `render` stopped until you ran it. In a folder with no `package.json`, `template`, `build` and `theme eject` now name a package that nothing provides as missing, for the project that uses the page, instead of printing an install step that would turn the folder into a project.
|
|
1397
|
+
- `astryx upgrade` rewrites the deprecated `swipeActions` and `swipeBehavior` props of `Item` and `ListItem` to `swipe={…}` where each entry is an object literal. It defines each swipe once with `createSwipe`. The definition goes to module scope when every value outside a handler is fixed at import: a literal, a JSX element, an import or a module `const`. It goes into `useMemo` in the enclosing component or hook when the options read its props or state. A function counts as one when it is declared or assigned under a capitalized or `use…` name, directly or through `memo` or `forwardRef`. Each entry with no `id` takes one named after its label or handler, else its side and place, with a TODO. On a `ListItem`, a handler that compares the row's `itemKey` value with `===` or `!==` takes it from `onActivate` instead. Where it cannot define a swipe once, it keeps `createSwipe` on the row and leaves a TODO. That covers options that read a map callback's value, a ref's `current` or a local assigned after its declaration. It covers a local they read at render when code sets, updates or deletes a property read from it. A method called on such a local counts too, and so does passing it to a call, naming it again, storing it or returning it. It also covers options that call or read at render something that is neither fixed nor one of the component's own props, state or locals. The codemod assumes that props, state and hook results are not changed in place, as React's rules and the React Compiler assume. Only an entry's `onActivate` runs when the action fires; any other callback in the options runs at render. On an `Item`, that TODO says an `Item` passes no `itemKey`. It reports, and leaves unchanged, a value whose entries it cannot see and a JSX spread that may carry the props. It migrates a condition only when it can read every id and prove both swipes key alike exactly where the deprecated props did. Otherwise it leaves the condition unchanged, with a TODO.
|
|
1398
|
+
- The `table` and `incident-console` page templates are ready, so build can start from them.
|
|
1399
|
+
- The markdown tables in `astryx component <Name>`, `astryx hook <name>` and an integration component read through `astryx discover <package>/<Component>` use a three-dash rule under each header cell (`|---|---|`) instead of a rule as wide as the header text. Tables render the same in markdown.
|
|
1400
|
+
- The `table` page template now builds what its description promises: sortable columns, row selection into a bulk-action toolbar, and a per-row overflow menu, with a confirm step before removing members. It stays unlisted (`isReady: false`) for now.
|
|
1401
|
+
- `astryx template <name> <path>` names the components the written file uses in one line right after `Copied template to ...`: `Read the components it uses in one call: astryx component A B C`, so an agent reads them all in one call instead of one at a time. `astryx template <name>` prints the same line to stderr, so stdout stays the source. The names are the ones `astryx component` answers in the project (Core's and each configured integration's), in the order the file first renders them, each once, and in a project with an integration each is written as `<package>/<Name>` for the package its import names, so the read never opens another package's component; a chart library's parts and the file's own helpers are left out, and nothing prints when none are left. `--json` carries them as `components` on the `template.copy` receipt and as `componentsToRead` on `template.show`; every existing field is unchanged.
|
|
1402
|
+
- `astryx template --list` prints the first sentence of each template's description, so the catalog is about a quarter shorter. `--json` keeps descriptions whole, and `astryx template <id> --skeleton` prints a template's whole description above its layout. The first-sentence rule that `astryx build` shares no longer ends a sentence at a period inside quotes, so a description quoting a date such as "2. Nov. 2026" reads whole there too.
|
|
1403
|
+
- When `astryx template <name> <path>` refuses the destination of a Core template that no integration replaces, outside the project (an absolute path, or one that leaves it through `..`), it also names the command that writes that same destination: a change to the nearest folder of it that exists, then the template command with the path from there, printed with the CLI invocation for that folder. When `--overwrite` was given, that command and the scratch-copy command keep it, so they do not refuse a second time; the suggested place inside the project is another file and never gets it. A `..` path used to get the refusal with no command to run; it now gets the same commands as an absolute one. A `..` path that lands in the system temp folder is still not a scratch copy; the refusal names its absolute path, which takes one.
|
|
1404
|
+
- `astryx template <name> <path>` writes a scratch copy to an absolute path in the system temp folder (`os.tmpdir()`, or `/tmp` on a POSIX system), such as `/tmp/dashboard`, instead of refusing it. The receipt names the folder by its whole path (`data.outputDir` in `--json`), and the checks of a write in the project apply: no link carries the copy out of the temp folder, and an existing file is replaced only with `--overwrite`. A temp folder that is a disk's root or holds the home folder is not used. Any other path outside the project is still refused with `ERR_PATH_TRAVERSAL`.
|
|
1405
|
+
- `theme add` and `theme use` wire a theme with one color mode in that mode. When a theme's built module exports `colorModes` (`["light"]` or `["dark"]`; `theme build` writes it when the theme source exports it), the `theme.app` receipt gives that theme a `mode` field and the generated theme module lists it in a `themeModes` export. The first import's wiring passes `mode={themeModes[defaultThemeSlug] ?? 'system'}` to `Theme`, so the selected theme shows its own mode and a theme with both modes follows the system. When a later `theme add` or `theme use` first adds `themeModes` to an app that is already wired, the receipt marks `change.wireModes` and prints the wiring line to use. Once the module has exported `themeModes`, it keeps the export (empty when no theme has one mode), so the wiring keeps compiling after `theme remove`. The mode is read from the file that declares the theme, so a theme module that re-exports the built module (whole or by name) carries it. A project whose themes all have both modes gets the same receipt, module and wiring as before.
|
|
1406
|
+
- `astryx theme add` with a shared theme follows an integration's install guidance: in a project whose integration says how it adds packages, the command installs nothing with the package manager and names that line for the Astryx base packages and any others the theme imports (`data.copy.installGuidance`).
|
|
1407
|
+
- `astryx theme add` installs a theme someone shared in one command: give it the theme's folder, a `.tgz` archive of it, or an https URL to a `.tgz` instead of a slug. It checks that the one theme folder it finds is a complete, built theme, copies it into the app's local themes root (`src/themes/<name>`), installs the Astryx packages the theme imports that the app lacks (its base theme package) with the app's package manager and install scripts off, and records the theme as the app's default, so an app wired to the generated module shows it at once. Nothing of the theme runs during the add. Any other package the theme imports is named with its install command, never installed. The result lists every file written and the record and dependency changed. It never replaces a file it did not write, and adding the same shared theme again replaces its own unchanged copy. `theme remove` undoes the add: it deletes the files the add wrote (keeping any you changed) and uninstalls the packages it installed. `theme add <slug>` is unchanged; the JSON gains `data.copy`, and a remove's gains `data.undo`.
|
|
1408
|
+
- `astryx theme build --family`: the family's root may extend a theme the family does not select, such as an installed theme package. Its CSS and export carry that base as the root's standalone build does, and the module imports the package for the icons it inherits. That package is a requirement: the family's receipt names it (`base`) and its text output says which package it requires, and a build fails naming the package and the theme when it is not installed or does not export the base, never building the root without it. A member whose own base is not selected is refused naming that base, and a local base the family does not select that supplies icons is refused naming the base to select.
|
|
1409
|
+
- `astryx theme build` warns about a component setting of a theme's page rules that the browser does not show as written, for each setting a key of the theme's own file (or a local theme it extends) writes, also through a call, a const or a spread; settings a helper function builds or a module the theme imports writes, its onDark and onLight surfaces and its adaptation rules are not read. It names one a later shorthand resets (a `border` after the block's own `borderTopColor`, or a second key that builds the same rule), one a more specific rule of the theme it extends beats on a variant, and one whose order against such a rule (or the theme's own variant of it) decides what shows where both hold. A rule for a runtime state alone (`:hover`, `selected`) is the look of that state and never counts. Each warning names the setting's line, the rule that wins and the change that makes it show, and the receipt lists them in `settingIssues`. The output is the same as before.
|
|
1410
|
+
- `astryx theme list` names, for each theme, the owner the app imports it from and whether that owner is installed (`owner`, `installed`). The CLI ships a bundled theme's descriptor and source (for `theme eject`), not the built output the app imports: `theme add` records and the app imports that from the theme's own package (such as `@astryxdesign/theme-neutral`), and refuses to add it until that package is installed; the list now says so instead of naming only the CLI. Existing fields are unchanged.
|
|
1411
|
+
- The Theming section of `astryx component <Name>` (and of an integration component read through `astryx discover <package>/<Component>`) prints its `defineTheme` override example, and its standard-CSS example, on one line each instead of a multi-line code block. The same keys and comments appear; `--json` is unchanged.
|
|
1412
|
+
- `astryx theme remove` can remove the only added theme. Before, it refused and said to add another theme and make it the default first, so removing a theme left the app on a theme nobody chose. Now it deletes the generated theme module when the module is exactly what the CLI wrote, and prints the module import and the `Theme` wrapper the app root must drop. A module with changes the CLI did not write stays, and the command says how to finish by hand. Removing the default while other themes are added still asks for `theme use` first. In `--json`, the `theme.app` result of that removal has no themes, an empty `default`, and `change.moduleRemoved: true` (and `change.themeModes: true` when the deleted module exported `themeModes`).
|
|
1413
|
+
- `astryx theme template` lists the `'@light'` and `'@dark'` block form among a component's style keys, with a commented example: a block that applies only in that color mode.
|
|
1414
|
+
- `astryx upgrade --apply` refreshes the Astryx skill in every place `astryx init --to` saved (astryx.config `skills.to`), under init's rules: the two copies of the project skills folders are written together or not at all, an edited file is kept, and nothing is written through a folder linked out of the project. The dry run names each file it would write. An Astryx block is still refreshed wherever it is, and a project that keeps its Astryx guidance only as a skill is no longer told to add it. `astryx doctor` adds a `skill-places` check: it passes when each saved skill file matches this release, and warns when one is missing or stale, when the two copies of a place differ, when the block and a project skill copy (in the project skills folders or a saved project folder) are both there without both being saved, or when a project skill is named `astryx`. Doctor's `computer-agent-text` check names the folders outside a project that `init --to` saved. Inside a project, `astryx init --to` naming only places outside it (`user`, or folders outside the project) with no feature beyond the agent docs is answered by the copy that started the run, as `--user` is.
|
|
1415
|
+
- `astryx upgrade --list` prints each codemod on one line, its name and title, under its version, with `(optional)` on the codemods that run only on request and the package named once when every codemod shares it, instead of a five-line record per codemod. The list now grows by one line per new codemod, plus a heading when a codemod starts a new version. `--json` is unchanged.
|
|
1416
|
+
|
|
1417
|
+
#### Fixes
|
|
1418
|
+
|
|
1419
|
+
- `astryx add` refuses a named pipe or a device where it writes a file, never opening it.
|
|
1420
|
+
- The note for an Apple interface face offers its generic once (`system-ui, sans-serif`), and a font name such as `constructor` is no Apple face. `astryx doctor` names the package that loads a family a theme's font stylesheet lacks when it is an open font it knows (`npm install @fontsource/inter`), then the command that writes the stylesheet again; for a self-hosted family (such as `Acme Sans`) it gives the step to add the font stylesheet export or a local `<slug>.fonts.css`.
|
|
1421
|
+
- `astryx theme build` warns, and `astryx experimental theme` refuses, a radius scale with no `base` or `multiplier`, or one Core cannot read as a number (a boolean is read as 1 or 0, so it builds). Core builds every scaled corner from it as NaNpx, which the browser drops. A radius of `0` or `''` is said too: Core skips it and builds no corner token, so the base theme's corners stay (`radius: {base: 0, multiplier: 1}` squares them).
|
|
1422
|
+
In the editor:
|
|
1423
|
+
|
|
1424
|
+
- A family typed alone that the base theme already uses keeps the base's own fallbacks (Fraunces keeps Georgia and serif).
|
|
1425
|
+
- Any other family typed alone gets fallbacks of the kind its name says (a Serif name serif ones, a Mono or Code name monospace ones), as the open fonts do.
|
|
1426
|
+
- A family the base's font stylesheet loads is no longer also named as a font no package loads.
|
|
1427
|
+
|
|
1428
|
+
- `astryx theme build` and `astryx experimental theme` judge the shape of a typography block by what Core reads:
|
|
1429
|
+
- a type scale with no base or ratio, or one that is no block, which builds every size as NaNrem;
|
|
1430
|
+
- a role or a typography given as a plain value, which builds nothing;
|
|
1431
|
+
- a heading `weights` that is no block of levels, which Core reads letter by letter;
|
|
1432
|
+
- one heading level written twice (`'01'` and `1`), where Core keeps one.
|
|
1433
|
+
|
|
1434
|
+
Without a type scale, any role weight gets the no-scale reason, and an empty weight is named as skipped. A boxed value is judged as its primitive, a signed number weight (`-100`) is read as written, and a plain-object theme is judged on the values it loads.
|
|
1435
|
+
|
|
1436
|
+
- `astryx theme build` warns, at its line, a typography value Core builds into something no browser uses, as `astryx experimental theme` refuses it: a font stack with a space in one `family` (Core quotes it whole), a quoted family name with a space, a role weight with no type scale, and a `weights` entry that is no heading level. Both judge a family by what Core writes, so a quoted name without a space (`'"Lato"'`) and a list without one (`'Lato,serif'`), which build as written, are taken. On the font dial, a weight number in any form CSS reads (`Inter +500`, `Inter 1e3`) after a known family, or a weight or style word before it (`700 Inter`, `bold Inter`), is that weight or style, never saved as a family of that name.
|
|
1437
|
+
- `astryx theme build` warns a typography value wherever the theme writes it (a const, a role const, a spread, an import, a value computed at run time), at the line that writes it when one does; a role weight that is no font weight (`'semi-bold'`, `'1200'`), which the browser drops; and a heading weight under a number key that is no level (`{7: '800'}`). Both the build and `astryx experimental theme` read a heading level as Core does, so `'01'` and `'1.0'` are level 1. On the font dial, a weight or style word after a name that starts with a family the editor knows (`Inter Tight Bold`) is read as a number there is: a weight where a family goes.
|
|
1438
|
+
- `astryx theme build` and `astryx experimental theme` name a typography weight given as a number (`weight: 600`) as a type mismatch: the field takes the text `'600'`. The message says Core still writes a weight from 1 to 1000, and offers the text form.
|
|
1439
|
+
- Two example blocks no longer cause a hydration mismatch: `TimestampAutoFormat` and `TimestampRelativeFormat` read the clock once per mount after hydration instead of during render; the server markup shows a fixed placeholder date until hydration. Six example blocks that show several breadcrumbs, outlines, paginations or side navigations side by side now give each one its own accessible name, so screen readers can tell the landmarks apart. No visual change after hydration.
|
|
1440
|
+
- Six chat example blocks (the full-featured composer, the composer drawer with progress, the message bubble with custom content and with metadata, and the message metadata footer and showcase): Copy now copies the message and says so; Retry, the thumbs, Mention, Attach and the report card show a short demo note instead of doing nothing. Other chat examples are unchanged.
|
|
1441
|
+
- Layout header and footer, card and empty state example blocks: their action buttons show a short demo note instead of doing nothing. The general Layout example blocks are not part of this change.
|
|
1442
|
+
- The CommandPaletteGroup basic block, both CommandPaletteList blocks and the DropdownMenuGroup showcase: picking an item shows a short demo note instead of doing nothing. Other command palette and dropdown menu examples are unchanged.
|
|
1443
|
+
- Five nav example blocks (TopNav showcase, centered navigation, enterprise dashboard and mega menu; SideNav with a header menu): Search, Notifications and Profile show a short demo note, and Sign in, Get started, Upgrade and the header-menu side nav's items are links. Other top and side nav examples are unchanged.
|
|
1444
|
+
- Nine example blocks (Toolbar card header, sizes and three slots; Selector and MultiSelector ghost toolbars; Selector option descriptions; Table bulk actions; TabList tabs with actions; Popover hook usage): their action buttons show a short demo note instead of doing nothing, and the three-slot toolbar's Back arrow mirrors in right-to-left. The three-slot toolbar's Back still does nothing on press; the bulk-actions Delete and Archive, and controls in other blocks (such as the toolbar-with-tabs New item), are unchanged.
|
|
1445
|
+
- `astryx build`'s block picker counts every block its doc-side word weights were fitted with as known, so those blocks no longer get the head start the picker gives blocks it has never seen.
|
|
1446
|
+
- The heading truncation, bottom sheet menu, step content, step indicator, step states and grid focus examples lay out with HStack and VStack instead of hand-written flex wrappers, so their gaps follow the theme's spacing steps. They look the same in the default theme; themes with roomier spacing show wider gaps.
|
|
1447
|
+
- `astryx build` ranks blocks also by single words a block's docs use that its fitted word weights do not know (such as a newer Core block's own terms), so a request that uses those words can tie to that block.
|
|
1448
|
+
- `astryx build` calls page or app shell with a refit word table and new blend numbers. The weights file stores that table once: the pick model reads the call model's tables when it carries none of its own.
|
|
1449
|
+
- `astryx build` starts from a family's frame template when the frame holds the page the idea names. "Notification settings in a modal" now starts from the settings dialog template instead of the plain settings page; a modal that holds only a part ("a toggle in a modal on the settings page") keeps the settings page.
|
|
1450
|
+
- `astryx build` treats a frame as evidence for a page template only when the frame holds that template's kind of page. "Saved drafts in a modal with resume and delete row actions" asks for a list of drafts in a modal, not a settings page, so it no longer starts from the settings dialog; it starts from the app shell, with the parts listed in the kit.
|
|
1451
|
+
- `astryx build` no longer starts a part, a change to an existing page, or a page it would put on the app shell from a template kept off the template gallery. The theme showcase, a page of sample product screens, was taken as the app shell; those requests now start from a real shell template.
|
|
1452
|
+
- `astryx build` reads a request that opens with "add" and says where the piece goes ("add a filter row above the table") as a change to a page the builder already has, so it starts from the app shell. "Add a dashboard to the app" and "add a new dashboard" still start from a page template.
|
|
1453
|
+
- `astryx build` keeps "a side panel with an owner, a status, and a history" as one part that starts from the app shell, and reads "a list of planning jobs" as a page. Component categories now declare the page-template family whose records their components hold.
|
|
1454
|
+
- `astryx build` starts a part from a page family's base template only when that template leads the ranking and the family is where the part goes. A part request headed by a word that also names a component, such as "a table filter chip", asks for that piece and starts from the app shell.
|
|
1455
|
+
- `astryx build` with no query now names the exact theme wiring `theme add` prints for your project: the imports and the value `<Theme>` takes (`themes[defaultThemeSlug]` from the generated `astryx-themes` module), the color mode for a theme with one, or the provider to pass it to when an installed package declares one. Before a theme is added, it reads the installed theme's built module the way `theme add` does, so the wiring it names is the one `theme add` then prints. When no theme is added yet, a last step gives the `theme add <slug>` command for your installed theme or the starter theme. The old rule left the value open (`theme={...}`), so pages often passed a theme name such as `"light"` and crashed once script ran.
|
|
1456
|
+
- `astryx build` names a page template that is not ready only when the idea names it, as a reason ("`incident-console` isn't ready yet, so build started from `shell-top-nav`."); otherwise no not-ready template appears in its output, including `pages` and the "Keyword search matched" line.
|
|
1457
|
+
- `astryx build` chooses its start from ready page templates only: a template that is not ready yet, however well its words match, is no longer search's direct match for build and no longer keeps an idea on the app shell.
|
|
1458
|
+
- `astryx build` reads search as if every page template that is not ready yet were absent: search leaves such templates out of what it ranks for build, so the start, the page list, the block suggestions, the components and `matchCount` are exactly what they would be without them. A not-ready template's name typed as the idea no longer empties the kit. When the idea names a not-ready template that search matches directly, the reason still says it is not ready yet. `astryx search` still lists every template.
|
|
1459
|
+
- `astryx build` names where its start and each alternative go in the project it runs in, so the scaffold command runs as printed: the path `astryx template` names for that template from the project's layout and the template's own id (not the Core id an integration replacement stands in for): in a Next app, its App Router folder (`app/<name>` or `src/app/<name>`) or, with only the Pages Router, the page file `pages/<name>.tsx` or `src/pages/<name>.tsx`; else `src/pages/<name>`. The path is quoted when a shell would read it otherwise. In a folder with no package.json, the command keeps the `<path>` placeholder.
|
|
1460
|
+
- `astryx build` settles an exact ranker tie by whether a template is its family's base, instead of by how many hyphen-separated parts its id has: a family's base keeps its place ahead of a tied variant. Templates still tied, in the same family or not, are ordered by how strongly each one's own descriptor answers the idea, then by how typical of its family it is, then by name. A template the idea names by its whole name wins a tie. The page-pick model settles an exact tie of its final score the same way, and its rank features give equal values equal ranks, so the order of the weights file never decides.
|
|
1461
|
+
- When page templates of one family tie exactly and the ranker's pick is one the word tables do not list (such as the collapsible and comparison tables, or an integration's template), `astryx build` starts from the tied template whose own description, keywords and page components best match the idea, then the one most typical of its family, instead of the alphabetically first.
|
|
1462
|
+
- When `astryx build`'s ranker picks a template the word tables don't list, it now weighs that template against the pick model's best listed page, the same model that chooses the page everywhere else, instead of against the call model's.
|
|
1463
|
+
- A page template that is not ready yet no longer takes one of the places in the search results `astryx build` reads, so it no longer pushes a page, a block suggestion or a component out of build's kit; `matchCount` still counts it. When the idea names a not-ready template, the reason still says so even if another not-ready template ranks above it.
|
|
1464
|
+
- `astryx build`: a page template named the way code writes it (`CheckoutWizard`, `kanbanBoard`) starts that template, as its plain words do, and so does a name with two neighbouring letters swapped in a word of six or more letters (`dashbaord`). Shorter words are read as written.
|
|
1465
|
+
- A long-running CLI process reads a family doc or a theme or icon descriptor again when npm replaces it with a file of the same size and modification time, and reads the theme part data cache again when it is rewritten in place with the same size and modification time.
|
|
1466
|
+
- The `canvas-editor` template draws the corner radius field with the one-rounded-corner icon and the per-corner button with the four-corner icon, and declares each icon with the meaning its picture shows, so a project whose icon set reaches these Lucide icons through reviewed matches also gets the right picture on each control.
|
|
1467
|
+
- The canvas-editor page template fits a phone. When 40% is too wide for the canvas, the artboard opens at the largest zoom step that fits, the tab strip keeps the open tab's close reachable, and the save note leaves the screen when the header is too narrow for it (a screen reader still reads it).
|
|
1468
|
+
- The `canvas-editor` template's flip buttons draw the mirror axis of their action: Flip horizontally shows the vertical axis and Flip vertically the horizontal one. Before, each button showed the other's picture. Each button keeps its meaning, so icon sets that map the flip meanings draw the same icons as before. A main icon set that wraps `lucide-react` and names no variant keeps the template's Lucide imports, so it now shows the corrected pictures too.
|
|
1469
|
+
- The checkout wizard template fits a 320 px phone again: the order summary, the step strip, the promo code row and the Continue buttons stay inside the page's side padding instead of running about 18 px into it, and the promo code's Apply button keeps its full label while the field gives up the room. Wider screens look the same.
|
|
1470
|
+
- The bundled chocolate theme's light category text reads at 4.5:1 on a card.
|
|
1471
|
+
- The bundled gothic theme template matches the gothic error-toast fix.
|
|
1472
|
+
- The bundled matcha theme's dark menus, popovers and muted fills take its near-black neutral like its cards.
|
|
1473
|
+
- The official themes that `astryx theme eject` scaffolds carry the theme packages' text contrast fixes: text, links, category and status text, and code text meet WCAG AA (4.5:1) on the surfaces the theme packages now check.
|
|
1474
|
+
- The neutral and y2k themes that `astryx theme eject` scaffolds show Skeleton placeholders on their light page: their `--color-skeleton` takes a darker neutral stop, as the theme packages do.
|
|
1475
|
+
- When Node already uses a compile cache (`NODE_COMPILE_CACHE`), the CLI leaves it as it is and no longer makes an empty `node-compile-cache-<uid>` folder in the temp folder.
|
|
1476
|
+
- The contact-form template no longer scrolls sideways on a phone. Its section takes the full width up to 800px instead of its content's width, so a long field placeholder no longer sets the page's minimum width. On its own, the page looks the same at 768px and wider. Inside a padded layout region narrower than 800px, the section now stays within the padding where it used to run into it.
|
|
1477
|
+
- CLI errors name a run to try. An option a command does not take now names the options the command takes, and the command as meant when the option points at one of them: `component Table --format json` names `component Table --json`, `--full` names `--detail full`, `--props-only` names `--props`, and `theme --list` names `theme list`. A word the CLI has no command for names the command the words point at: a whole command passed as one word, a command's plural, an option some commands take (`list` names `component --list`), a command deeper in the tree (`verify` names `integration verify`; `eject` names `theme eject --help`, since it needs a theme), or a name another command reads (`info Text` names `component Text`); with no such command, it names near command names by Commander's own rule (at most three edits, and more than 40% of the name the same), so `info Text` names `component Text` where it used to name `init`. `doctor` given a path names `doctor --built <path>`, and several paths in the project name the folder that holds them. `upgrade --from <version> --list` names `upgrade --list` and the migration from that version, `template` with `--skeleton` or `--list` and other words names each run alone, and an option given without its value prints the command's usage with that option in it. Every named run parses, and a call that does not itself name the `experimental` group gets no experimental command in its answer. A word that names no command followed by an unknown option (`astryx describe Table --format json`) now reports `ERR_UNKNOWN_COMMAND`, as the same call without the option does, instead of `ERR_INVALID_OPTION`; every other error code, and every exit code, is unchanged.
|
|
1478
|
+
- A theme module that throws from a microtask while it loads is a refused theme load (`ERR_THEME_LOAD`, naming the error) on every supported Node. Before, Node before 24 answered `ERR_UNKNOWN`, and a theme loaded through the CLI's own Core (no Core in its folder, and each member of a `--family` build) could build with the exception dropped. `astryx theme build` and the theme editor still need Node 22.15 or later, or 23.5 or later, to load a theme that imports a stylesheet or an asset, and so does a recorded theme that imports an asset, or a stylesheet that a module in another folder imports by a relative path. On an older Node those loads are now refused with a message that names the file and the Node versions that load it, and says that nothing was written, in place of Node's "Unknown file extension" or "Unexpected token" error. A recorded theme's other stylesheets still load there.
|
|
1479
|
+
- `astryx theme palette generate` refuses a palette config made with a newer Astryx CLI, whose recipe this CLI does not know yet, with the recipe it uses, the recipes this CLI knows, and the update step that fits where the CLI runs. The refusal keeps its error code.
|
|
1480
|
+
- The Order Detail template writes the discount with a true minus sign held to its amount (`− $15.00`), not an en dash and a space that a narrow row could break between.
|
|
1481
|
+
- A long answer piped to a slow reader arrives whole. When a command ended in an error with an answer longer than 64 KiB, such as `astryx template <name> --json` with many suggestions, a reader like `$(…)` or `| (sleep 1; wc -c)` got only the first 64 KiB, so `--json` callers got invalid JSON. Every command now writes piped output in full before it exits; short answers are as fast as before.
|
|
1482
|
+
- On a phone, the payment-form template's order summary keeps each price inside its card. An item's name and badge wrap onto two lines, and when even that does not fit beside the price, the price moves under them at the end of the line. Desktop is unchanged.
|
|
1483
|
+
- The CLI orders names the same way on every machine. Build, search, discovery and the CLI's lists (such as `astryx component --list`) broke ties with the host's locale, so a machine set to another language could pick a different template or print lists in a different order. They now use one fixed text order, and a lint rule keeps locale-dependent comparisons out of the CLI.
|
|
1484
|
+
- `astryx component` and `astryx discover <package>/<Component>` print the commands a component doc writes (with a `{@command …}` token, a `{@link …}`, or a bare `astryx …` code span) with the project's command, as `astryx docs` does, instead of a bare `astryx …` that may not run in the project. `--json` keeps the bare command.
|
|
1485
|
+
- `astryx component VStack --detail full` and `astryx component HStack --detail full` print the props list once, under Props, instead of again under Components. The JSON is unchanged.
|
|
1486
|
+
- `astryx component <hook>` prints the hook's parameters, which `astryx hook <hook>` also prints: one line each in the default answer (name, type, default, required, and the description's first sentence) and the whole table at `--detail full`. The JSON is unchanged.
|
|
1487
|
+
- `astryx component <hook>` prints what the hook returns, as `astryx hook <hook>` does: a Returns section at the default and full detail, and the returned fields in the brief signature. The JSON is unchanged.
|
|
1488
|
+
- `astryx component <name>` no longer opens a component through one of its keywords. A keyword is a word to find a component by, not another name for it. A name that is clearly one component's keyword now gives the usual not-found error, with that component as the first suggestion. Exact names, names in another case, and file names open as before. The component doc type and the single-component authoring guide now define keywords the same way, and the guide has a section on choosing them.
|
|
1489
|
+
- `astryx component <Name>` names a family's sub-components that have their own doc on one line, with the command that reads each, instead of a heading and a "see" line per sub-component. A sub-component with its own description or props keeps its section.
|
|
1490
|
+
- `astryx component <Name>` with a name that is not a component now suggests the components of your project's integrations, not only Core's. A typo of an integration component's name (`ZorbletCrd` for `ZorbletCard`), or its name without its package's prefix, gets that component as a suggestion, matched by the same rule as a Core component: name, keywords and description. Two adjacent letters swapped in a name (`Butotn`) now count as one slip, as a one-letter typo does, and so does one slip in a name typed as words (`hover crad` or `hover-crd` for `HoverCard`): that name comes before a component that only has the words as a keyword. A component whose name is part of the typed name now comes before a component that only has one of the typed words as a keyword, from any package (`MetricCard` suggests Card, not InfoTip). Among names that hold every typed word, the one with the fewest extra words comes first (`time` lists TimeInput before Timestamp). Only a Core component still resolves by a close match, and the suggestion count rules are unchanged. `astryx component tag-list` no longer opens OverflowList: the name is also one slip from TabList, so the lookup lists OverflowList first, then TabList.
|
|
1491
|
+
- The computer-level agent text adds Astryx to a new project, or to an existing app only when the user asks for Astryx; an existing app that doesn't use Astryx keeps its current UI stack. Before, it told agents to add Astryx to any project without it, so an agent asked for one page in a plain React app could rewrite the app with Astryx.
|
|
1492
|
+
- An option that answers a question in other tools (`--yes`, `-y`, `--assume-yes`, `--non-interactive`, `--no-interactive`, `--no-input`) now gets a direct answer: no Astryx command asks a question, so the error says the option is not needed and names the same command without it (`Run: npx astryx init`). On `upgrade`, which writes only with `--apply`, it names the `--apply` run first and the preview run second (a `--list` run keeps the plain answer). Before, `astryx init --yes` listed init's options and pointed at `init --help`, so an agent spent a step reading help before it ran plain `init`.
|
|
1493
|
+
- Two content page templates now ask for confirmation before a destructive action: Refund on the detail page and Delete in each attachment's menu on the work item page. After you confirm, a demo message says what would happen; Cancel does nothing.
|
|
1494
|
+
- The order detail, work item detail and component documentation page templates read correctly when they are shared as a file that runs no script. Their first paint is the narrow layout at every width, instead of a desktop side rail that squeezed the page into a narrow column on a phone; once script runs, wide screens still get the side rail. On a narrow screen the order and work item details now follow the main column instead of opening in a full-screen dialog, and the component documentation's section links stay on top as links instead of a picker.
|
|
1495
|
+
- `doctor`'s fix for a missing Core, and `theme build`'s hint to install Core, now name Core at the same release as the theme hints. That is the Core release the project already names, in its dependencies or peer dependencies, or, when it names no Core at all, the release of the CLI that answers. Before, they named the newest Core. A project that followed both hints could get a Core that its theme's exact Core peer does not accept.
|
|
1496
|
+
- In dark mode, secondary text on a neutral fill (an unselected SegmentedControl label, AvatarGroup's "+N" count) now meets 4.5:1 contrast on the default surface and on a Card. The default dark `--color-text-secondary` is a little lighter: `#B0B5BB`, was `#AAAFB5`.
|
|
1497
|
+
- The dashboard page templates give screen readers clearer structure: each page marks its content area (`LayoutContent`) as the main landmark, has exactly one level-1 heading, and has a heading outline with no skipped levels (set with `accessibilityLevel`, so the look is unchanged). `dashboard` gains a visually hidden "Dashboard" title, and `dashboard-comparison`'s decorative sparklines no longer take keyboard focus inside hidden content. No visual change.
|
|
1498
|
+
- Controls that did nothing in six dashboard page templates now respond with a demo message that says what would happen: Reload and both View more buttons on the analytics dashboard, Export on the comparison, scorecard and funnel dashboards, Export status on the program dashboard, and View more on the portfolio dashboard.
|
|
1499
|
+
- `astryx component <name>` keeps a suggested component whose keywords or synonyms are the typed name ahead of another command's hint for a near spelling, and leaves the hint out when such components fill the list (`astryx component Combobox` lists Typeahead, Selector and Tokenizer, not `astryx hook useCombobox`).
|
|
1500
|
+
- The text wrapping, word break, truncation, heading truncation, overflow list, context menu, bottom sheet menu and direction hook examples draw their demo frames and targets with theme colors instead of fixed grays, so they follow the app's theme and dark mode.
|
|
1501
|
+
- `astryx discover` names an installed integration's docs the way `astryx docs` opens them: a doc that adds sections to a topic by that topic's name, and a guide by its route. It listed each doc by the name on its file, so a doc such as a theme package's guide, which adds its sections to `theme`, printed a name `astryx docs` did not know.
|
|
1502
|
+
- `astryx discover <package>/<set>` names an icon set's default look by its variant in text (`default: outline`) instead of printing `[object Object]`, and leaves the line out when the default names no variant. `astryx experimental icon --list` no longer prints an empty `default:` line for such a default. The JSON is unchanged.
|
|
1503
|
+
- A section an integration adds to a topic, or to a guide by its route, now stays when another integration, configured later, replaces that topic or guide: whether it showed used to depend on configured order alone. A topic read also names, at its top, the sections other packages add to it, since an added section joins the end of a topic that can be long.
|
|
1504
|
+
- `astryx docs` now names Core, the CLI, and the packages Astryx releases with Core such as themes, at the Core release your project uses, as `theme add` and `doctor` do. In a project that pins Core 0.7.10, the step to add a theme shows `npm install -E @astryxdesign/theme-neutral@0.7.10`. Before, it named no version, so npm picked the newest theme, which needs a newer Core than the project has, and the install failed. In a folder with no Core, on the docs site's pages, and in a step that first moves to another folder, the commands still name the packages with no version. The docs site's MCP endpoint names the Core release it documents.
|
|
1505
|
+
- Two packages that add a section with one title to the same docs topic or guide both keep it. Across packages, a section replaces another only when one carries an authored `id` that is the other's key or a title query the other's title answers. When one package's section holds the key another package's later section derives from its title, the later one is read by a key that starts with its package's provider id (its package name unless it sets one), such as `acme-dune-theme-install`, so `astryx docs`, `--index`, namespace reads and search show both. This includes titles that differ only in letter case: the later of two packages' `Install` and `INSTALL` was read as `install-2` and is now read by its provider key. Every other key collision keeps its numeric suffix. Sections of the topic itself still take a replacement from any package, the last configured winning.
|
|
1506
|
+
- The documentation page templates fit a phone: the overview page's hero gives its title the card's width, so in the default theme the title no longer breaks inside a word, and the design page's example actions and button previews wrap instead of running past their card. Wide screens look the same as before.
|
|
1507
|
+
- The stored docs routes, and so the build id, are the same on every machine that packs the same files. How the machine's Node resolves module imports no longer changes which folders the stored routes list.
|
|
1508
|
+
- The technical documentation page template's "Next steps" items wrap on a narrow screen instead of cutting off after one line, so a phone reader sees each item in full. Wide screens are unchanged.
|
|
1509
|
+
- The technical documentation page template reads correctly when it is shared as a file that runs no script. Its first paint is one column with the section links on top at every width, instead of a desktop side rail that squeezed the article into a narrow column on a phone; once script runs, wide screens still get the side rail. Copy buttons appear only once the page runs, so a static copy shows no buttons that do nothing. On a phone the section links stay on top as links instead of a picker.
|
|
1510
|
+
- `astryx docs <topic>` opens a page typed in another spelling of its route: spaces, hyphens, slashes, dots and underscores all separate words, and word order does not count (`docs tokens.tokens-color` opens `tokens/tokens-color`). When the typed words only name a page and no other command's entry matches, the miss suggests the pages whose title or declared keywords carry them, closest first (`docs theming` suggests the Theming topic first), keeps a route the typed words name first, and never lists more than before; a namespace's children are ordered the same way.
|
|
1511
|
+
- `astryx docs` with a mistyped topic or namespace (`tokns`, `colr`) now lists the one a slip or two away first, ahead of the other topics and namespaces.
|
|
1512
|
+
- `astryx theme build` and `astryx doctor` no longer offer to install a package named after a project folder, such as `src`, for an import the project's `baseUrl` maps to a TypeScript file written with a `.js` extension (`src/rows.js` for `src/rows.ts`). They now read such an import as the project's own file, as TypeScript does.
|
|
1513
|
+
- Outside a project, `astryx doctor` now warns about an integration installed for the computer that has issues in its own files, and names them. Before, commands such as `astryx search` and `astryx discover` warned about the integration and said to run `astryx doctor`, but `doctor` passed and named no issue. Issues that need a comparison with Core components are still not named there, because `doctor` reads no Core outside a project.
|
|
1514
|
+
- `doctor` now says when an app does not load Core's component styles, `@astryxdesign/core/astryx.css`. In an app that uses Core's prebuilt styles, components render unstyled without them. Before, nothing caught it: the build, `doctor` and `doctor --built` all passed. Plain `doctor` warns when no project stylesheet or module imports them and no page links them. `doctor --built` warns when the output uses Astryx but no built stylesheet or page carries them. An app that compiles Core's styles from source with `@astryxdesign/build` is not checked.
|
|
1515
|
+
- `astryx doctor` no longer reports a theme as wired because a theme source or a generated theme file imports it: the theme editor's settings module, a theme build's output, or a theme source that imports a package theme only to extend it. Before, an editor theme built on an installed theme package (`--like <theme>`) turned the "no theme appears wired" warning into a pass while the app rendered no theme; now only the app's own imports of a theme, or a theme it passes to `Theme`, count.
|
|
1516
|
+
- `astryx doctor`'s theme font check now accepts a Google Fonts or Bunny Fonts stylesheet `<link>` in the app's page head as loading the families it names: in `index.html`, `public/index.html`, `src/index.html`, or a Next.js root layout or `_document` (`.tsx`, `.jsx`, `.js`, `.mjs` or `.ts`, under `app/`, `pages/` or `src/`). An app that loads a theme's fonts that way no longer gets the warning. A link inside a comment, one whose `rel` is not `stylesheet`, or one from another host does not count. When a package theme ships no font stylesheet, the fix names the page file whose `<head>` the link goes in.
|
|
1517
|
+
- `doctor`'s theme font check now counts a family as loaded when a `family` parameter of a font service URL in the theme's font stylesheet names it. The Google Fonts import in every Astryx theme's font stylesheet does this. Before, an app set up correctly with the neutral theme got a warning it could not act on: "External font imports prevent proof for neutral: Figtree." A family that no `family` parameter names still gets that warning, as does a font service URL that names its families another way.
|
|
1518
|
+
- `doctor`'s theme font check now counts a family as loaded when any font stylesheet that the generated theme module imports loads it. A local theme built on neutral, such as one whose source extends neutral or a copy that `theme eject` makes, names neutral's fonts but ships no font stylesheet of its own. Before, `doctor` warned "Added themes name font families but import no font stylesheet (<theme>: Figtree (font stylesheet is not imported))", even when the app also added neutral and the module imported neutral's font stylesheet. A family that no imported font stylesheet loads still gets that warning.
|
|
1519
|
+
- With no update check recorded, `astryx doctor`'s `newest-release` check no longer says the check runs once a day after a command, which is true only for a copy installed for the computer. It now says that only that copy checks, that a project's own copy changes only when the project upgrades it, and that a tool that runs its own copy chooses its release.
|
|
1520
|
+
- `astryx doctor integration <check> <package>` run in the folder of that package now says the package is the one in this folder, not one the project installs, and names `astryx integration check` for checking the package you are making. Before, it said only that the package was not installed and to install it first.
|
|
1521
|
+
- `astryx doctor --built`'s purity check no longer flags the stylesheets the app's registered themes load. It reads them from the theme module the CLI writes (`theme add` and the theme editor), so an editor-made theme starts with no "imports the stylesheet" findings. Any other stylesheet import is still flagged.
|
|
1522
|
+
- `astryx doctor --built` no longer flags the setup stylesheet as page styling. A stylesheet that only imports Astryx packages' CSS (`reset.css`, `astryx.css`, a theme's CSS), as the getting-started steps write it, is read as wiring. A stylesheet with rules of its own, or an import from another package, is still flagged.
|
|
1523
|
+
- `astryx doctor` no longer fails its private theme variables check in a Yarn Plug'n'Play project. For a built-in theme that the app installs as a package, the check now reads that package's own theme source, which is the copy the app uses, instead of the CLI's copy, whose icon import Yarn refuses to resolve.
|
|
1524
|
+
- `doctor`'s private theme variables check now loads each theme input with the Core the project installed when the CLI is installed for the computer. Before, in an app with Core and a theme package but no CLI in the project, the check failed for every theme input that imports `@astryxdesign/core`, as every Astryx theme package does. That CLI has no Core of its own: "Added theme inputs set private --_* variables directly (…: input could not be inspected …)". When the project's Core isn't installed yet, as in a fresh clone, the check now says that it did not inspect the theme inputs. Before, it failed for each input that imports `@astryxdesign/core`.
|
|
1525
|
+
- The editor template's transactions table keeps names readable on a phone. Each column now has a floor (name 180px, date and amount 120px, actions 60px), and its share of the width matches that floor. The table needs at least 480px; in anything narrower, such as a phone, it scrolls sideways instead of squeezing names to a letter or two per line. Desktop windows that give the table 480px or more do not scroll; the name column takes a larger share and the actions column a smaller one.
|
|
1526
|
+
- In a project that pins `@astryxdesign/core` to one version, as Astryx starters do, the commands the CLI prints to add or upgrade Astryx packages (the once-a-day hint, `doctor`'s fixes, the setup reminder, and the upgrade notice) save the new versions exactly too, such as `npm install -E @astryxdesign/cli@0.7.16`. Before, with npm, following them replaced the project's exact pins with ranges such as `^0.7.16`, so a later install could bring a CLI from another release than the project's Core.
|
|
1527
|
+
- A run that prints its answer and then exits 1 records the code that answer carries in its debug event, as an error that `cliError` prints does. A component batch with a selector that does not resolve records the first unresolved row's code (such as `ERR_UNKNOWN_COMPONENT`); `theme build --check` that finds stale outputs records `ERR_THEME_STALE`; `upgrade` records the code of an error it reports in text mode, and the `errorCode` of a run that stops incomplete (such as `ERR_CODEMOD_PROTECTED`), in text and in `--json`; `init` that refuses its agent-docs path records `ERR_PATH_TRAVERSAL`. Each code is recorded once the answer is printed, so an error that stops the answer first (a recorded theme that does not load) keeps its own code. A `debug` handler saw these runs as `ERR_UNCLASSIFIED_EXIT`. Output and exit codes are unchanged.
|
|
1528
|
+
- `astryx theme use <theme>` opens its receipt with the default it set: "[ok] <theme> is now the app's default theme: themes[defaultThemeSlug] is <theme>.", or "[ok] <theme> was already the app's default theme; nothing changed." when it was the default already. The receipt's fields are unchanged, and the JSON is unchanged.
|
|
1529
|
+
- The payment form template's Remove link on each cart line now asks for confirmation first. After you confirm, a demo message says what would happen; Cancel does nothing.
|
|
1530
|
+
- The `form-wizard-vertical` template declares its review banner icon as `review`, which icon sets draw as `info`, the meaning the banner shows, instead of `checkDouble`. A project whose icon set draws template icons by meaning now gets that set's info icon in the banner. A project whose main set wraps `@heroicons/react` keeps the check badge unless it picks a variant, and copies without an icon set are unchanged.
|
|
1531
|
+
- The vertical form wizard's cover buttons keep their full labels on every phone width: the dropzone column moves under the cover before "Preview on device" would be cut.
|
|
1532
|
+
- Buttons in form page templates that did nothing now show a demo message that says what would happen: Cancel in the workspace and audiobook wizards, Create workspace and Submit for review on a finished last step, Place Order on a complete payment form, and Save on the payment form's cart line.
|
|
1533
|
+
- In a fresh clone (a project that lists `@astryxdesign/core` and a theme package, with nothing installed yet), `astryx doctor` now says to install the project's dependencies, such as `npm install`, for a missing Core and a missing theme package. Before, its fixes added Core with no version and the theme package at the latest release, so following them replaced the project's versions with others.
|
|
1534
|
+
- In a fresh clone whose `package.json` lists `@astryxdesign/cli`, the once-a-day hint, `doctor`, and the setup reminder now say to install the project's dependencies (such as `npm install`), not to add the CLI again. Adding it again replaced the exact version the project lists with a range, such as `^0.7.10`.
|
|
1535
|
+
- File protection now decodes consecutive octal escapes in quoted `.gitattributes` paths as UTF-8 bytes. Before, a rule such as `"caf\303\251.js" linguist-generated` was treated as separate code points and failed to protect the matching `café.js` file; quoted and literal UTF-8 spellings now classify consistently.
|
|
1536
|
+
- In a Yarn Plug'n'Play project, the `astryx` command installed for the computer hands each run to the project's own CLI: it starts again with the project's runtime, as Yarn starts a command, instead of answering with its own release and telling you to install a CLI the project already has. Commands the CLI prints there start with `yarn astryx`, not with a `yarn dlx` download of the CLI.
|
|
1537
|
+
- Palette recipe `astryx-oklch-v2`: a gray family's color now fades toward white the way a gray scale's does, so a colored gray (a slate `#64748b`, a warm `#78716c`) gives the page and the cards on it only a faint tint instead of a clearly blue or cream page; its darker shades keep their color. v1, and so every shipped palette and existing config, is unchanged. The neutral dial's help says so, and names `--color-background-body` for a clearly tinted page.
|
|
1538
|
+
- Two page templates no longer leave an empty column on wide screens. The product gallery's header (a heading and its intro) now fills two columns instead of three, and the two-column form's contact strip fills three columns instead of four, so it sits centered. Narrower widths are unchanged.
|
|
1539
|
+
- Grid: `columns={{minWidth}}` without `max` no longer overflows a container narrower than `minWidth`. A lone column now shrinks to the container width, as it already did with `max`, so a phone no longer scrolls sideways. In a container that takes its width from its content (an inline-block, or a flex item with no width), an uncapped Grid is now as wide as its content instead of `minWidth`, as a capped Grid already was.
|
|
1540
|
+
- Page template headers on a phone: when a page title and its action do not fit one row, the action moves under the title instead of squeezing it, in the service-jobs table and the grouped issues table. Wide screens look the same as before.
|
|
1541
|
+
- `astryx experimental icon new-set --from` run again on a set whose library dropped an icon now removes that icon in every look from the generated module and its declarations. Before, the filled (or other variant) export stayed behind and named a library export that no longer exists, so importing the integration package failed.
|
|
1542
|
+
- In the Tool: IDE page template, the editor's and terminal's scrollbars no longer sit under the properties panel's resize handle. On desktop the editor and terminal keep a small gap before the handle, so the whole scrollbar scrolls; before, a press on the half of the scrollbar nearest the handle resized the panel. Mobile, where the panel is hidden, is unchanged.
|
|
1543
|
+
- The incident console page template works on a phone and its buttons act. On a narrow screen its header controls wrap onto their own rows, and choosing an incident opens its details in a bottom sheet instead of doing nothing. The inspector's next-step button ("Mark mitigated", "Resolve", "Reopen") moves the incident to its next status, and "Escalate" and "Declare incident" confirm with a demo toast that marks where to connect the real action. Rows show each incident's start date and time instead of a relative time that grew stale. The template stays unready for now.
|
|
1544
|
+
- `astryx init` next steps and the `doctor` theme hint name the project's own install command (`pnpm add`, `yarn add`, `bun add` or `npm install`) instead of `npm install` in every project. An install command the CLI prints no longer adds a `@"*"` range to a package name.
|
|
1545
|
+
- `astryx init`'s theme step now names the theme at the project's Core release, as `theme add` and `doctor` already do. In a project that pins Core 0.7.10, it prints `npm install -E @astryxdesign/theme-neutral@0.7.10`. Before, it named no version, so npm picked the newest theme, which needs a newer Core than the project has, and the install failed. `doctor`'s hint for an app with no theme and `theme build`'s hint to install a missing theme follow the same rule.
|
|
1546
|
+
- `astryx init --user` on a skills folder you cannot write (such as a read-only `~/.agents/skills`) now fails with `ERR_WRITE_FAILED` and a message that names the path, the reason, and what to change, instead of a bare `EACCES` line with `ERR_UNKNOWN`.
|
|
1547
|
+
- Nine page templates fit a 320 px phone without their content scrolling sideways, and a tenth scrolls less. Their responsive grids now pair the minimum column width with a column cap, so a column narrower than the screen shrinks to fit instead of overflowing. The inline form wizard's checkbox descriptions now wrap instead of being cut to one line. Screens up to 1920 px wide look the same as before; above about 2,380 px the library's six category cards fill their row instead of leaving an empty column.
|
|
1548
|
+
- `astryx docs global/problems` now also explains the "installing CLI release" line outside a project, where the astryx command you started downloads its own Core once. Before, the page said only that a project's own CLI could not start, and told you to install the project's dependencies.
|
|
1549
|
+
- `astryx integration check` and `astryx doctor` name a theme module that `theme build` wrote (`.js`, `.mjs` or `.cjs`) and that imports TypeScript source, as built themes from a CLI before this one do (`built_module_imports_typescript`, a `next` note with the weight of `relative_import_not_shipped`), with the file, the line, and the fix.
|
|
1550
|
+
- `astryx integration check` and `astryx doctor integration validate` now resolve every relative import of the modules a package ships the way an app's bundler does, against the files npm packs (for an installed package, its files on disk). Run in the package's own folder, they used to pass an import such as `./icons` that the tarball leaves out, because the file was on disk there. Each import no shipped file answers is a `relative_import_not_shipped` note marked `next`, naming the importing file, the import, and that the file is not in the package. It fails `integration check --strict --next` now; the next minor release makes it a warning, which fails `--strict`. When npm cannot be asked, an import whose file no `files` entry can reach is still a note, and any other is listed as not checked. `astryx doctor`'s theme owners check now also reads a package theme's stylesheets, whose `@import` and `url()` references it never followed, and warns that the built module loads but names a file the package does not ship. Type-only imports are skipped; `./icons` resolving to `icons/index.js` is fine.
|
|
1551
|
+
- The kanban-board page template stacks its lanes top to bottom at the full width below 768px, so a phone shows whole lanes instead of one lane and a cut edge of the next. A swipe that starts on a card now scrolls the board; a finger lifts a card with a long press and carries it to another lane. A mouse drags as before, and the layout at 768px and wider is unchanged.
|
|
1552
|
+
- Keyboard users can reach two template controls. The kanban board's column info icons use InfoTip, so each is a named button that Tab reaches and Enter opens, where before Tab stopped on a hidden, unnamed icon. In the side-navigation shell, a conversation's options button sits in the row's actions slot and shows while focus is in the row, so Tab reaches it; focus returns to it after its menu or delete confirmation closes, and the conversation link keeps its status in its name.
|
|
1553
|
+
- `astryx integration check` and `astryx integration verify` handle very large icon libraries (tens of thousands of exports). The check scans every file of the package for contribution metadata instead of stopping after 5,000 files with a warning that failed `--strict`. Verify reads npm's pack list from a file, so a package of any size no longer fails with `ENOBUFS`, and both commands keep a bounded number of parsed modules in memory, so they run in Node's default memory. An icon set that re-exports icons from its own package name (`export {X} from '<own package>'`) is now checked through the package's `exports`, as Node resolves it, instead of being listed as not checked.
|
|
1554
|
+
- The messaging shell page template, still marked not ready, now works as an app. AppShell owns its side navigation of channels and direct messages, so on a phone the channels open from the navigation toggle. Picking a direct message shows that conversation, sending a message or a thread reply adds it to the page, a message's replies open its thread (in a drawer on narrow screens), and selecting a conversation clears its unread count. The page no longer uses raw elements or a local style object, and the actions without a real destination show a demo toast.
|
|
1555
|
+
- Card, Center, Collapsible, Divider and Blockquote examples no longer overflow a narrow column: each keeps its demo width but now shrinks to fit. Wide columns look the same.
|
|
1556
|
+
- TextArea, TextInput, Switch, SegmentedControl and TabList examples no longer overflow a narrow column: each keeps its demo width but now shrinks to fit (and the status-variant columns wrap). Wide columns look the same.
|
|
1557
|
+
- Layout header, footer, content and panel examples and the chat layout examples no longer overflow a narrow column: each keeps its demo width but now shrinks to fit. Wide columns look the same.
|
|
1558
|
+
- Toolbar, TopNav (and its item, menu and mega menu examples), Table, Step and Stepper examples no longer overflow a narrow column: each keeps its demo width but now shrinks to fit, and the custom-content stepper's two side-by-side fields wrap. Wide columns look the same.
|
|
1559
|
+
- The AspectRatio examples other than its showcase, the Avatar, AvatarStatusDot, Grid, GridSpan, the clipboard, hotkeys, streaming text and container reveal hook examples, Markdown, OverflowList, Resizable and ScrollableArea examples no longer overflow a narrow column: each keeps its demo width but now shrinks to fit (and rows of avatars wrap); the Resizable showcase's sidebar can grow to two thirds of its card, so the handle stays inside a narrow card. Wide columns look the same.
|
|
1560
|
+
- The payment form and checkout wizard page templates no longer squeeze their form beside the order summary on a narrow screen before script runs: the summary wraps below the form instead. Wide screens look the same.
|
|
1561
|
+
- In a project, the update notice and `doctor`'s matching fixes now upgrade every Astryx package the project lists that is released with Core, such as its themes, beside Core and the CLI. Before, the command upgraded only Core and the CLI, so following it left a theme on the old release; its exact Core peer no longer matched, and `doctor` reported it.
|
|
1562
|
+
- The npm commands that the CLI runs for itself now use npm's own `noproxy` setting. These commands install a release into the CLI's per-user cache and ask the registry for versions. Before, when the shell's `NO_PROXY` named the npm registry but npm's own settings sent the registry through a proxy, npm went straight to the registry. Then the first command that needed the cache, such as `astryx component` outside a project, waited until npm's time limit and failed.
|
|
1563
|
+
- The payment form's promo code "Apply" button keeps its full label on a phone; the promo field gives way instead.
|
|
1564
|
+
- Page templates keep their text on a 320 px phone. The filtered table no longer scrolls sideways on a phone, buttons in three templates (the vertical form wizard's cover, the editor and the composition dashboard) keep their full labels instead of cutting off, the work item's success criteria and the report wizard's option descriptions wrap instead of cutting off after one line, and the canvas editor's document tabs show their full name in a tooltip when a name is cut. Wide screens look the same as before.
|
|
1565
|
+
- Theme editor pictures show responsive charts drawn: each page draws in a window of its own until it is quiet, and its script is held while the whole page is pictured, so a chart no longer starts over and is pictured empty. The page stays laid out for the 1280 × 900 window.
|
|
1566
|
+
- The theme editor's pictures and the render stylesheet cut read a media query's condition the way the browser does: `not` before a condition in parentheses, `or`, and nesting. A rule under `(not ((min-width: 768px) and (min-height: 500px)))` no longer counts as matching in the 1280px picture window.
|
|
1567
|
+
- The principles doc says settings groups use Section, not Card, matching the Card and Section docs.
|
|
1568
|
+
- ProgressBar and CircularProgress fills reach 3:1 against their track (WCAG 2.2 SC 1.4.11, non-text contrast). ProgressBar's status fills take the status text colors, and its neutral fill, like CircularProgress's, takes the secondary text color instead of the disabled one, which is the bar's track color in dark mode in Theme Neutral and Theme Stone and under 3:1 on the bar's track in every bundled theme in light mode. A disabled bar takes the same fill and dims its track and fill to half opacity, as a disabled Slider or Switch track does, and a disabled ring dims as a whole, center content included, so each reads quieter than a neutral one. A mark on any fill but accent takes the surface color; in Theme Butter and Theme Stone, a mark on a status fill takes that status's on-color. CircularProgress draws every variant on the muted background track, ProgressBar's base track, because some themes' status muted colors are the status color itself. In Theme Neutral, Theme Butter and Theme Stone a dark neutral or disabled fill takes a lighter neutral stop, Butter's and Stone's status fills take the theme's status colors, Stone's accent fill takes a blue stop that reaches 3:1, and the CLI's bundled theme templates match.
|
|
1569
|
+
- `astryx doctor integration components` no longer reports a documented string union that leaves out a value the code marks `@deprecated` in every place the type takes it from.
|
|
1570
|
+
- When two installed packages both declare the same provider ID in their manifests, the warning and `astryx doctor`'s fix now say that if they are one integration installed under two names, keep one of the two dependencies, and otherwise change one package's providerId. When a provider ID comes from a package name, the advice is unchanged.
|
|
1571
|
+
- The not-found hint refreshes its name index after an imported doc dependency changes on the minimum supported Node version.
|
|
1572
|
+
- A stop signal sent to the CLI's own process while it installs the release matching a project's Core, such as a time limit's SIGTERM, now stops the run. Before, the run went on once npm returned, answered, and exited 0 to a caller that had already given up: npm runs synchronously, so the signal waited for the install to end, and by then its handler was gone. The handler now stays until the signal is delivered, and the hand-off lets it stop the run before it answers.
|
|
1573
|
+
- A release that failed to install is tried again at once when npm's registry changed since the failure, instead of waiting 2 or 10 minutes, and the reason names the registry npm tried.
|
|
1574
|
+
- Remove six page templates that were never marked ready: not-found, access-denied, error-page, welcome-portal, run-console and review-workspace. Page templates will come from the design team instead. None of them was in a release, and no command offered them as a start.
|
|
1575
|
+
- `astryx experimental render` carries the `.mts`, `.cts` and `.cjs` modules a page imports, and `--reverse` gives them back and follows their imports. The render loaded them but left them out of the file, so the page came back with `exact: false` and those modules missing. A file that carries one says render format 2, so an earlier CLI that reads render formats names the CLI that reads it instead of calling the file damaged; every other file stays format 1.
|
|
1576
|
+
- `astryx experimental render` carries every image, font and media file a carried module's strings or a carried stylesheet name by a relative path inside the folder that holds the carried files, also when the page did not show it in this render: a branch the page did not take, or a stylesheet rule no element uses. Such files now ship in the rendered file, up to 8 MB each, as a shown image does; a larger one, one whose bytes are not an image, font or media file, or one it cannot read, is left out with a `not-embedded` warning that names the file that names it. A name that climbs above that folder is not the page's file and is not carried, as `--reverse` reads it too. `--reverse` reads the same names with the same scan, so such a page used to come back with `exact: false` and those files missing.
|
|
1577
|
+
- A page render that draws overlays open waits for React's queued work before it reads them, and no longer compares the page's markup turn after turn: a page whose overlays have settled is read at once, so the theme editor's sample page and sheet render as fast as before while each render stays the same every time. The theme editor's contrast checks reuse each part's token reads within a command.
|
|
1578
|
+
- A page render that draws overlays open (the theme editor's sample page and sheet) reads each overlay once its update has finished. Before, on a busy machine it could read an overlay between two renders, so the same theme could render to different pages: `undo` then left the sample page different from before the change.
|
|
1579
|
+
- `astryx experimental render` outside a project carries the modules a page imports from above its own folder, and the files those modules import, as long as they are inside the current folder. A page restored with its neighbours (`report-restored/app/report/page.tsx` beside `report-restored/components/`) and rendered again by the command its file prints used to leave those modules out, so the new file came back with `exact: false`. Where the render reads the page's `tsconfig.json` and `public/` images does not change.
|
|
1580
|
+
- `astryx experimental render` renders a page outside a project whose StyleX reads Astryx theme variables (`@astryxdesign/core/theme/tokens.stylex`), as many templates do. Such a page stopped with "The page does not compile: Could not resolve the path to the imported file", because the StyleX compiler looked for Core beside the page, where outside a project there is none. The compiler now gets the theme file the page loads from the CLI's own Core, and the page renders the same as it does inside a project.
|
|
1581
|
+
- `astryx experimental render` and `--reverse` read a folder or file whose name begins with two dots (`..x`) as one inside the folder that holds it, where they took it for the folder above. A page in such a folder keeps its own folder as the root of the files it carries, so the file it writes reverses; a file above it stays out, named in a `not-embedded` warning. The note at the top of a page rendered outside a project names the page by its path among the files it lists (`app/x/page.tsx`), where it named only the file (`page.tsx`) and pointed at it as the file to edit.
|
|
1582
|
+
- `astryx experimental render` and `--reverse` read path aliases from the config TypeScript reads for the page: the nearest `tsconfig.json` (else `jsconfig.json`) at or above it, through its `extends` (a path with or without `.json`, a package's config, or a list, the later one winning, with `${configDir}`), and, behind a solution-style `tsconfig.json` (`"files": []` with `references`, as Vite sets up), the referenced project that includes the page. A page whose aliases live in `tsconfig.app.json` or in an extended config used to fail, with `ERR_FILE_NOT_FOUND`, or with `ERR_RENDER_MISSING_DEPENDENCY` when the alias looks like a package name (`@data/rows`), although `tsc` and the app's build found its imports.
|
|
1583
|
+
- `astryx experimental render --reverse` finds the embedded source in a file whose script tag a minifier or another tool rewrote: an unquoted `type` (`<script type=application/x-astryx-source>`), or an attribute before `type`. Such a file used to come back as a page rebuilt from its markup (text and layout only) instead of the exact source.
|
|
1584
|
+
- `astryx experimental render` gives a relative or aliased import with `?raw` the file's text, and a `.css` file imported with `?inline` its text (not added to the page), as Vite does by itself, however the import names it. It used to give a JSON file's object for `?raw`, fail on a text file such as `notes.txt?raw`, and refuse a `.css` file with `?inline` as CSS Modules. A package import with `?raw`, and a Sass, Less or package stylesheet with `?inline`, stay as before. Any other query loads the file as it loads without one, as before: an image, font or media file as its address (`?url`, `?inline`, `?w=400`), a module as itself. `--reverse` gives back the files the render carries; a `?raw` file of a kind a render never carries, such as `notes.md`, is named in a `not-embedded` warning.
|
|
1585
|
+
- On Windows, `astryx experimental render` and the experimental theme editor now transform the page's own files. The renderer read every file as outside the project, because the module loader named files with forward slashes while the project path used backslashes, so no file was transformed. A page or theme that imported a stylesheet then failed with `Unknown file extension ".css"`, and StyleX, image and JSON imports were not handled either.
|
|
1586
|
+
- `astryx experimental render` and `--reverse` write in one step. A render writes the HTML file under a temporary name beside it, then gives it its name, so a reader or another run never finds half a file: two renders of one page to one file both succeed, where one could be refused because the file "already exists and was not written by a render". A restore writes its new folder the same way, so restores run at the same time each get a folder of their own, also when they restore with `--out` into folders under one new folder, where some were refused, and a restore stopped part-way leaves no folder behind, so the same command works again. A run stopped between its write and its rename leaves a hidden temporary file or folder, which the next run to the same place, on the same computer and in the same container or sandbox, removes once that run's process is gone. A render still never replaces an HTML file this user cannot write, and the file it replaces keeps its permission bits; it now needs to make a file in the HTML file's folder, so a folder this user cannot write is refused, and the refusal names it. Every copy a restore writes, except the page at its target, lands in the one new folder, including a copy of the page that a path alias places; such a copy outside it is refused with nothing written.
|
|
1587
|
+
- In right-to-left pages, the settings dialog's Reset buttons, the inbox's Reply action and Send button, and the tree list settings example's Documentation chevron now point the right way: these icons mean back, reply, send or go into, so they mirror. Left-to-right pages look the same.
|
|
1588
|
+
- In right-to-left pages, the canvas editor's artboard no longer goes blank and the progress dashboard's milestone timeline no longer draws its labels over the bars: both keep a left-to-right layout, as a design canvas and a chart should (the same page's scope burndown too). Left-to-right pages look the same.
|
|
1589
|
+
- The dashboard scorecard template's trend charts keep their y-axis labels whole with a small font up to 16 px, wide fonts included: the labels are compact and in the series' own scale ("6M" and "1.4M" for values stored in thousands, matching the heading's "4,350k") instead of 6000 and 1400, and the axis gutter is 52 px instead of 40 px. The tooltip still shows exact values.
|
|
1590
|
+
- The dashboard scorecard template fits a phone screen: its trend charts shrink to a narrow column instead of running past the screen edge, a chart's change line moves under its title when the card is narrow, the header's generated date moves to its own line instead of squeezing into a sliver, and on the narrowest phones Export moves under the period control instead of running past the edge. Tablet and desktop layouts look the same.
|
|
1591
|
+
- Search: a family's root now comes before a part of its own family whenever the part adds nothing the query asked for, also when the part's name scores higher. `astryx search "code sample"` lists CodeBlock before Code. The part still comes first when the query is the part's exact name (`astryx search code`), holds a word only the part's name has, or writes the part's name of two or more words as one word, as is or misspelled (`astryx search "breadcrumbitm"` keeps BreadcrumbItem first). The new order changes no match, score or reason. The `search()` doc page now describes this order, so it also matches a few of those words (such as "family" and "root"), and such a query, in `search` or `build`, counts one more match.
|
|
1592
|
+
- Search: a family's root now leads a part of its own family when the part adds nothing the query asked for: `astryx search tabs` lists TabList before Tab. A query that holds a word only the part's name has, in any plural form, such as "item" for ListItem or "statuses" for FieldStatus, keeps the part first. Scores, reasons and match counts are unchanged; only order inside a band moves.
|
|
1593
|
+
- Search: a match whose name of two or more words the query writes as one word now comes first, also inside a longer query. `astryx search "TableSortableTable with pagination"`, `astryx search "table-sortable-table with pagination"` and `astryx search "tokens-color for dark mode"` list that block or doc first. Words written apart stay plain words (`astryx search "multiline text input"` keeps its order), and so does a one-word name such as `card`. A name inside a longer name the query holds, such as a block's display name or a doc's title, does not come first. Matches, scores, reasons and counts are unchanged; `build` is unchanged.
|
|
1594
|
+
- `astryx search` reads another entry's name as that entry's evidence. A block no longer ranks above a component only because it uses components that match the query's words. A guide whose title sits in the query no longer takes the title's rank when the query also names a component the guide does not answer: it ranks by the words it matches, so a guide whose title is its only match yields to that component. Two cases keep the guide first: a component word that is also a doc's name (`link`, `icon`, `theme` or `calendar`), which may be asking for the docs, and a guide whose own name is a query word. `build` is unchanged.
|
|
1595
|
+
- Search: when matches of one domain tie for first place on score and on the query words they matched, the one whose own name holds more of the query's words now comes first, instead of the first by name. `astryx search "side navigation sidebar"` lists SideNav first. A first result that matched the whole query, as a name, keyword or title, or whose title the query holds, keeps its place: `astryx search "date picker"` keeps Calendar first, and `astryx search "how do i generate a palette"` keeps the theme authoring guide first. A part of the first result never takes its place this way. Matches, scores, reasons and counts are unchanged; only the order inside one score band moves.
|
|
1596
|
+
- `astryx search` reads a one-identifier query written as a component's, type's or icon's name (PascalCase, such as `ThemeProvider`) as its words also when all it matches is text that mentions it, including a code term or table cell a doc's keywords gather. The entry that mentions it stays in the answer, beside the entries its words find. In the lexical ranking, the entry that mentions it, and an entry one of its words names outright, come before every entry its words only match; search's learned order inside a score band still applies, so `astryx search` can list a words-only match above them. A prop's name (camelCase, such as `autoFocus`) keeps only the entries that mention it, as before, and other queries rank exactly as before.
|
|
1597
|
+
- `astryx search` reads a docs namespace page at the reader's grain. A word the page's text shares with a doc beneath it, which that doc answers at least as strongly, is that doc's evidence, so a namespace page that sums up its guides no longer ranks above the components, templates, hooks and guides it summarizes. Words only the page carries, and its name, title, description and declared keywords, still match it. `build` is unchanged.
|
|
1598
|
+
- Secondary text now reads on every palette tint. The default light `--color-text-secondary` is `#445564` (was `#4E606F`), so secondary text on a gray Card or any other `--color-background-<hue>` tint meets 4.5:1 over the surface and the page body. The dark value is unchanged. To keep the previous light colour, a theme can set `--color-text-secondary` to `light-dark(#4E606F, #B0B5BB)`.
|
|
1599
|
+
- The settings dialog template's Delete my account button now asks for confirmation first. After you confirm, a demo message says what would happen; Cancel does nothing.
|
|
1600
|
+
- The settings and settings-sidebar page templates no longer offer nav items that lead nowhere. In settings, choosing an item other than Profile no longer moves the selection while the Profile form stays; in settings-sidebar, Notifications, Taxes, Payments and Travel for work no longer open an empty page. A nav item with a section works as before; an item without one shows a demo message and keeps the current item selected, and the current item is marked as the current page for screen readers. The first screen looks the same.
|
|
1601
|
+
- Settings page template on a phone: the search moves under the title instead of squeezing it until "Settings" breaks mid-word.
|
|
1602
|
+
- Controls that did nothing in two settings page templates now respond with a demo message that says what would happen: the three Save buttons on the settings page, and Professional hosting tools on the sidebar settings page. The sidebar settings page's back arrow and drill-in chevrons now point the right way in right-to-left languages.
|
|
1603
|
+
- The setup reminder (`Next step: run … init …`, shown at most once a day in a project that has not run `init`) now prints on stderr before the command's own output instead of after it. Agents often keep only the start of a long answer (`2>&1 | head`), so a reminder at the end was cut and the day used up without anyone seeing it. It still never prints under CI, in `--json`, or once the project is set up; a command that fails now shows it too.
|
|
1604
|
+
- The setup reminder now says why to run `init` now: "Astryx is not set up in this project yet. Next step: run `npx astryx init` now, before you write Astryx code. It asks no questions, prints the getting-started steps, and saves the Astryx guide to AGENTS.md." Before, it said `init` would "install the Astryx agent prompt", which agents read as a file change the user did not ask for, so they kept working without it. The command it names is unchanged, and so are the places it prints.
|
|
1605
|
+
- Delete in two shell page templates now asks for confirmation first: a conversation's menu in the side-navigation shell and a row's menu in the theme showcase. After you confirm, a demo message says what would happen; Cancel does nothing.
|
|
1606
|
+
- When the docs catalog withdraws an integration's docs because one doc fails its checks (such as a flat topic that sets `aliases`), `init` and `upgrade --apply` keep that package's skill copies until the doc loads instead of removing them as leftovers, and when any of its docs does not load, its skills get one note saying so instead of a `replaces` fix.
|
|
1607
|
+
- `astryx component Flex` names Stack first. Stack's search card now lists `Flex`, the name Chakra UI and Mantine use for the same row-or-column layout part, so the lookup that misses suggests Stack before Layout.
|
|
1608
|
+
- A shipped doc's stored parse is used only when the installed zod release is the one that made it. With another zod release, the CLI parses the doc, so the answer is always what a fresh parse gives.
|
|
1609
|
+
- `astryx swizzle` without Core says what to do. Outside a project, it says the folder is outside a project and that swizzle copies source into an app project that installs `@astryxdesign/core`; in a project that has not installed Core, it says to install it. It no longer tells you to work inside the design system's own repository. The error code stays `ERR_CORE_NOT_FOUND`.
|
|
1610
|
+
- The dashboard, dashboard-cohort-funnel, dashboard-composition, dashboard-progress and editor page templates, and the Table in Card block, keep their look with the Table bleed fix in Core: each Table is now the card's direct child, so it still reaches the card's top or bottom edge.
|
|
1611
|
+
- Delete in two table page templates now asks for confirmation first: the support inbox's row, conversation and bulk Delete, and Delete issue in the grouped table's row menu. After you confirm, a demo message says what would happen; Cancel does nothing.
|
|
1612
|
+
- The table page templates give screen readers more structure: seven pages that had no main landmark now mark their content as main, `table-tree`'s sidebar headings follow the page heading without skipping a level, and the icon-only status and actions columns in `table` and `table-grouped` get visually hidden header names. No visual change.
|
|
1613
|
+
- `astryx template <name> <path>` and `astryx template --cdn <path>` accept an absolute path inside the project root, also through a symlinked project folder. It is written exactly as its relative path. An absolute path outside the project is still refused with `ERR_PATH_TRAVERSAL`. For `astryx template <name> <path>`, the receipt says the path was written as its relative path (`data.givenPath` in `--json`), and the refusal names a command that writes inside the project and the command that prints the source without writing anything. In a Next app whose `pageExtensions` include `tsx` (the default), the named path is one Next builds and serves: a page goes to the App Router folder (`app/<name>`, or `src/app/<name>`, inside the route group with the root layout when that folder has none of its own), or, with only the Pages Router, to the page file `pages/<name>.tsx`; a block goes to `app/components/<name>` with a root `app/` folder, `components/<name>` with only a root `pages/` folder, else `src/components/<name>`. Every other project gets `src/pages/<name>` and `src/components/<name>`. When that path exists or another page already serves its URL, the name becomes `<name>-2`, `<name>-3` and so on. The path is quoted in the command when a shell would read it otherwise, as with a route group folder. Next refuses to build when its `app` and `pages` folders are in different folders, and when two pages serve one URL. For `--cdn`, the receipt is unchanged, and the refusal names `astryx template --cdn cdn.template.html`.
|
|
1614
|
+
- Dashboard templates show every chart label whole: the progress timeline's "Today" label gets room above the plot, and Y axes wide enough for their widest tick no longer clip it.
|
|
1615
|
+
- Outside a project, when a tool runs the CLI for you, `template`, `build` and `theme eject` no longer name an integration the tool approves and installs as a missing dependency. `render` already gives the page that integration, so the page renders without installing it. Also, `render` now takes an approved integration only from the tool's package set itself. Before, it also took one from a folder above that set.
|
|
1616
|
+
- In a project with no Next route folder, the page path that `astryx build` and `astryx template` name is now the file the copy writes (`src/pages/<id>.tsx`), not a folder holding `page.tsx`; a block's path is now its file (`app/components/<id>.tsx`, `components/<id>.tsx` or `src/components/<id>.tsx`) in every project. An import of the named path, such as `import Page from './pages/settings'`, now resolves, and a name an import already resolves to (a folder's index or a file with another extension) moves to `<id>-2`. Next App Router pages keep their route folder, and Pages Router pages were already files.
|
|
1617
|
+
- A `{@link …}` in a template's description no longer prints as written. `astryx template` (the list, `--skeleton`, and a template read), `astryx build`, `astryx search` and `astryx component <Name> --blocks` resolve it to the command that opens the doc it names, as `astryx docs` does: with the project's command in text, and as the bare `astryx …` command in `--json`. The JSON shape does not change.
|
|
1618
|
+
- A template doc's `{@command …}` and `{@pm …}` tokens no longer print as written. `astryx template` (the list and `--skeleton`), `astryx build` and `astryx search` show the command with the project's command in text, as `astryx docs` does, and as the bare `astryx …` command in `--json`; the JSON shape does not change. `build` and `search` text show every description's commands with the project's command too. A template's source still prints byte for byte.
|
|
1619
|
+
- `astryx template <name> ~/<path>` reads `~/` as the home folder, as a shell does. A caller that passed `~` through unexpanded no longer gets a folder named `~` in the project: a home path outside the project is refused with the commands that work, like any absolute path outside it, and one inside the project is written there. `template --cdn` reads it the same way. To write into a folder that is really named `~` in the project, write it as `./~/<path>`.
|
|
1620
|
+
- A copy of the `canvas-editor` page template no longer carries two comments about its icon imports that no longer described them: one on aliasing `File`, one on which Lucide icon draws the rotation angle. The template now names its icons by meaning, and its copy draws the same icons as before.
|
|
1621
|
+
- A page template's keyword now means one concept. When build chooses the start and its alternatives, a multi-word keyword counts only as the whole phrase (skipping stopwords and one-letter words inside it), so its single words no longer count for other templates. Core templates' keywords are migrated: lists of words are split into single keywords, terms that mean something different as a whole (such as "getting started" or "reading pane") stay phrases, and keywords that weren't true of their template are removed. The template-doc field reference says how to write keywords.
|
|
1622
|
+
- Four Core page templates no longer list keywords for things their page does not render, so `astryx build` and `astryx search` stop offering them for those ideas. AI Chat Conversation drops "citations", "reasoning" and "playground"; Kanban Board drops "swimlane" and "backlog"; Page Editor drops "drag and drop"; Theme Showcase drops "tokens", "palette" and "typography". The Page Editor and Theme Showcase descriptions now say what the page renders: blocks reorder with move up and move down, and the showcase shows sample product screens in the active theme.
|
|
1623
|
+
- `astryx doctor` warns on a `{@link}` in a template's description that names no doc, and `doctor integration validate` lists it as a `next` note, so `integration check --strict` fails on it only from the next minor release.
|
|
1624
|
+
- 37 page templates (the tool templates other than `incident-console`, the content templates other than `work-item-detail`, the form, gallery and hero, login, settings and AI chat templates, plus `blank` and `theme-showcase`) give screen readers clearer structure: each marks its content area (`LayoutContent`, or the page's `Center` root where it has no content area) as the main landmark, has exactly one level-1 heading in each state it shows (a phone section view, a sign-in step, the signed-in state), and has a heading outline with no skipped levels. Titles keep their look (`accessibilityLevel`, or `Text` rendered as `h1`); pages without a visible title get a visually hidden one. Also: icon-only columns in `editor` and `theme-showcase` get visually hidden header names, and `documentation-design` names each example's tab list. No visual change.
|
|
1625
|
+
- Action buttons that did nothing in four page templates now respond with a confirmation toast: Restock, Fulfill item, Create label, Refund and Send Invoice on the order detail page, the next-step action in the service-jobs detail panel, Dispute this line on the invoice line items page, and Format Document in the IDE workspace.
|
|
1626
|
+
- Action buttons and menu items that did nothing in eleven more page templates now respond with a toast that names the demo action: Add to Cart and Buy it now on the product detail page, Publish in the page editor, the sign-in, plan, export and connected-app actions in the settings dialog, Sign In, Google Pay, PayPal and the promo code's Apply on the payment form, Save & exit, Crop image and Preview on device in the vertical form wizard, the social sign-in buttons on both login pages, Share in the file explorer, the AI chat landing page's settings menu and composer, and Pin, Rename and Archive in the side-nav shell's conversation menu. On the work item page, Add subtask and each attachment's Edit name their demo action, Cancel clears the comment, and Comment confirms it and clears the field. The settings dialog's search-result chevron mirrors in right-to-left layouts.
|
|
1627
|
+
- 78 template buttons that did nothing when pressed now say what would happen, as the other template demo actions do: the example toolbar buttons of the `documentation-design` page template, and the buttons with no handler in the Button, ButtonGroup, Center, IconButton, Layout, MediaTheme, Section, Stack, Theme, Toolbar and VisuallyHidden example blocks, show a "Demo: …" toast. A destructive one (delete, archive, or a destructive-variant demo) first asks for confirmation; Cancel does nothing.
|
|
1628
|
+
- More template buttons that did nothing when pressed now show a `Demo:` toast that says what would happen. Archive and Delete ask first with a confirm dialog, then show the toast. Overflow menu items run the same action as their buttons. Upgrade is a link. Fixed blocks: OverflowListShowcase, OverflowListOverflowDropdownActions, OverflowListCollapseFromStartList, OverflowListCappedToolbar, TooltipActionBarTooltips, BannerWithActionButton, BannerSectionVariant, BannerCollapsibleContent, useOverflowHookUsage, useContainerRevealHookUsage, useListFocusHookUsage, TopNavWithLogo, TopNavHoverMenu, TopNavMenuShowcase, TokenizerEndContent, StepContent, useOverlayHookUsage, OverlayShowcase, OverlayHoverReveal, ChatComposerFullFeatured, ChatComposerFooterActions and ChatComposerFlat. No pages change.
|
|
1629
|
+
- The Table Filter template and the Avatar and LinkProvider example blocks show a "Demo: …" toast for their demo actions instead of calling `alert()`, so the click still responds when the page runs in a frame that blocks browser dialogs.
|
|
1630
|
+
- The technical documentation page template now teaches the real setup. Its AI setup prompt no longer asks for a style compiler, which contradicted the article's own precompiled-CSS step, and its theming example uses the real `Theme` component from `@astryxdesign/core/theme` with a theme package instead of a `ThemeProvider` that Astryx does not export. Its prerequisites now name React 19 or later, which Core requires.
|
|
1631
|
+
- Three menu items in two page templates now respond instead of doing nothing. In the grouped issues table, "Edit issue" and "Duplicate" confirm with a demo toast. On the kanban board, "Assign to me" confirms with a demo toast. Each toast handler carries a comment that marks where to connect the real action.
|
|
1632
|
+
- Page templates now have no horizontal overflow on a 390 px phone, with touch or a mouse. In the service-health, data, funnel-and-cohort and program-status dashboards and the kanban board, the header controls now wrap onto a second row instead of widening the page past the screen edge, and on the data dashboard a section heading's hint is no longer squeezed into a narrow column beside the heading. Desktop layouts are unchanged. A check builds every ready page template into an app and runs it in a 390 px phone emulation, with touch and with a mouse, so a template that widens the page past a phone's screen fails before release.
|
|
1633
|
+
- The `dashboard-scorecard` and `dashboard-progress` templates no longer wrap whole page sections in cards, as Card's own guidance says: the scorecard's goal list, and the progress page's summary panels and workstream table, sit in plain page sections under their headings. Repeated items keep their cards: the scorecard's metric tiles, trend charts and commentary notes.
|
|
1634
|
+
- The `dashboard-scorecard` and `dashboard-progress` templates draw their trend lines as straight segments between the measured points, so a line no longer bends between measured points.
|
|
1635
|
+
- With longer, translated labels at phone width, the form wizard, vertical form wizard, technical documentation and table templates keep their buttons in full: their header, footer and toolbar rows wrap instead of cutting labels or pushing controls off screen. The canvas editor's header keeps its save note and Export at full width, and the badge and stack direction examples wrap their rows. In English at 390 and 1280 px only the form wizard's last step changes: Back and "Create workspace", which were cut, now show in full. On narrower phones, English rows that were already tight wrap instead of cutting a label or running past the edge: the technical documentation's AI assistance row from about 375 px (its More options menu button moves to a second line), the vertical form wizard's header from about 330 px (Save & exit moves to a second line), and at 320 px the form wizard's Back and Next (its Cancel moves to a second line just below 320 px). The badge and stack direction examples wrap in columns narrower than about 295 and 335 px.
|
|
1636
|
+
- `astryx theme build` names an import through a path alias (`@/lib/c`, `~/lib/c`) as one the theme loader does not map, never as a package to install; expands a quoted glob to the theme sources it matches in its suggestion; and counts the fonts macOS and Windows ship, from one table by platform, as system fonts in its note on fonts named but not loaded.
|
|
1637
|
+
- `astryx theme build` refuses a blank or whitespace-only `--out` (it wrote files named by the spaces alone), and its note on fonts named but not loaded leaves out the families a local theme's own font stylesheet loads (`<slug>.fonts.css` beside the source, the stylesheet `theme add` imports). `astryx theme build` and `astryx doctor` also treat Segoe UI Light, Semilight, Semibold and Black as system fonts, the faces Windows installs as families of their own, so neither reports them as not loaded.
|
|
1638
|
+
- `astryx theme build` warns, at its line and with the same output as before, custom properties that read each other (a token with a fallback reading itself, two tokens, a half of a [light, dark] pair, tokens and local tokens, a part's own custom property), a pseudo-element near a known one (as that one misspelled), a pseudo-element missing from the CLI's selector data (as possibly newer than the CLI), a pseudo-element inside `:is()`, `:where()`, `:not()` or `:has()`, a pseudo-class after `::highlight()`, `:window-inactive` after any highlight but `::selection`, a token name that does not start with exactly two dashes, and an empty token value. A pseudo-class after `::search-text` or `::scroll-marker-group` is no longer warned. A child theme's own build names the file and line of a value the theme it extends writes. A null value's warning says what it builds: a null property leaves the base theme's value, while a null token is kept by the browser as the token's value, so most properties that read it act as if they were not set (text keeps the surrounding color, a background goes transparent) and a font family reading it falls back to the browser's default font.
|
|
1639
|
+
- `astryx theme build` counts the fonts macOS and Windows ship for Chinese, Japanese and Korean (such as PingFang SC, Hiragino Sans, Microsoft YaHei and 微软雅黑) as system fonts, so it no longer names them as fonts the theme does not load.
|
|
1640
|
+
- `astryx theme build` warns a `[light, dark]` pair with any half that is no color (a size, a duration, a word that is no color name), not sizes only, since `light-dark()` takes colors only. A value the build cannot place on a line of the theme file is named as computed in it, and the theme it extends is named only when it holds that very value.
|
|
1641
|
+
- `astryx theme build` reads a font family name as CSS reads it (`Gill\ Sans` is Gill Sans), names as not loaded a family the theme holds in its own property and reads with `var()`, and builds a theme bound with `let` or `var` that is never assigned again as it builds a `const` (one assigned again is refused naming that, not as an icon registry it sets).
|
|
1642
|
+
- `astryx theme build`: a doc module given as the theme (`oceanTheme.doc.mjs`, or a file whose default export is a doc such as `{type: 'theme', name, description}`) is refused with `ERR_THEME_LOAD`, naming it as a doc and the theme source beside it to build, and nothing is written.
|
|
1643
|
+
- `theme build` of a missing file in a folder whose files another command generates (their first comment says which command writes them) says the file is generated and names that command, instead of offering a blank theme template. `doctor` still compares such a local theme's outputs with its source, and its fix for a stale or missing one runs the exact command that writes it, never a `theme build`. `doctor`'s fix when the themes folder cannot be read names the theme the message names (for a generated one, its command), never `<slug>`. A font stylesheet's local `@import` (a file beside it, `url(faces.css)`, or a package stylesheet such as `@fontsource/inter/index.css`, resolved from where the stylesheet really is) is followed and its fonts proven; a URL import is an external font service, and a local import doctor cannot follow, or one past the files it follows, is a warning, never a failure. The help and docs say `editor show <name> --png` takes pictures of real components.
|
|
1644
|
+
- `astryx theme build`: building a theme the theme editor made now also says that the build does not write (or, with `--check`, does not check) the theme's app copy in `src/themes/<theme>/`, which the app imports, and names the `astryx experimental theme compile` command that builds the theme and writes the copy.
|
|
1645
|
+
- `astryx theme build`: a plain-object theme with no `tokens`, a name alone (`export default {name: 'p'}`) or a name and component styles, builds as an empty theme over the base instead of ending with "Cannot convert undefined or null to object".
|
|
1646
|
+
- `themeBuildFamily` (`astryx theme build --family`) builds each member as it is at that build. Before, a second family build in the same process, such as a tool or a test that builds in process, built a member file changed since the first build from the module the first build had loaded.
|
|
1647
|
+
- `astryx theme build` names a misspelled field at the line that writes it when the theme object is a member of a const (`all.a`), an element of an array, a branch of a ternary, an object `Object.assign` merges, or a `defineTheme()` argument written any of those ways. `astryx doctor` names each cause when a theme package's built module both imports TypeScript source and has a stylesheet that names a file the package does not ship.
|
|
1648
|
+
Plain themes whose bases extend each other in a cycle are refused naming the cycle, instead of a stack overflow or a silent merge. `astryx experimental theme` removes a render folder a killed command left as soon as its maker is known gone (same machine, no such process), not only once it is ten minutes old.
|
|
1649
|
+
- `astryx theme build` no longer sets the page root's color scheme. A built theme stylesheet used to declare `:root { color-scheme: light dark; }`, so a site that loads it without `reset.css`, and sets no scheme of its own, followed the reader's device: for a dark-mode reader its native controls, links and page canvas turned dark around its own light content. A theme now follows the page's scheme; it still pins it where the page or the Theme provider forces a mode (`html[data-theme="light"|"dark"]`), and a `--family` build drops the same rule from each theme's scope. Apps whose page scheme comes only from `reset.css` see no change, while an app that sets its own `color-scheme` on `html` (in its own CSS layer, as the Tailwind setup does) now keeps it. To follow the device with theme CSS alone, add reset.css or `html { color-scheme: light dark }`.
|
|
1650
|
+
- `astryx theme build`: its font notices name the typography recipe, written with the project's own runner in text output, and it compares real paths in the disk's own case, so a theme reached through a differently cased path is not reported as missing or as another file.
|
|
1651
|
+
- `astryx theme build` and `astryx doctor` give each file that says a tool generates it (`@generated`, `@partially-generated` or `Code generated … DO NOT EDIT.` in its leading comments) one note with the count and that tool (`--family` and doctor give one per file, however many themes extend it), instead of a warning per setting it writes that does not show as written: that file is not where the fix goes. The build's note reaches text, `--json`, `--check` and `--family` output, and `settingIssues` still lists each setting; doctor's note names the `theme build --check --json` command that lists them. A hand-written theme that a generated one extends keeps its own warnings.
|
|
1652
|
+
- `astryx theme build` no longer replaces a file it did not write at its default outputs beside the source. A file of your own named like an output (`brand.css` or `brand.js` beside `brand.ts`) used to be silently overwritten; now the build fails with `ERR_FILE_EXISTS`, names the file, and writes nothing. At the default outputs, a file an earlier build wrote is still replaced, an output of the CLI before it was named Astryx included. At a path `--out` names nothing changes: only a file with the current build header is replaced, as before. Beside the source, an output another theme source built there is replaced with a warning naming both sources, as at `--out`. To migrate a project that keeps its own file under an output's name, build to another place with `--out` (for example `--out dist/brand.css`), or move or rename your file. The `--out` refusal no longer suggests building beside the source, which could replace such a file.
|
|
1653
|
+
- `astryx theme build` and `astryx doctor` no longer warn that a theme's font does not load for Noto Sans, Noto Serif and Noto Sans Mono (system fonts of Android, ChromeOS and Linux) or Cantarell, Ubuntu and Ubuntu Mono (system fonts of Linux). A system font stack that names them needs no font package.
|
|
1654
|
+
- `astryx theme build`: the import hint is given only for a load failure that is an unresolved import, and `@fontsource-variable/<name>` is read as loading `<Name> Variable`, the family that package declares, not `<Name>`.
|
|
1655
|
+
- `astryx theme build`: a theme module that throws from a microtask it queues while it loads is a refused load (`ERR_THEME_LOAD`), not a crash; a listener a theme module adds to `process` (`process.on('exit', …)`, `beforeExit`) goes with its load, so it no longer sets the command's exit code, prints after the `--json` envelope, or keeps the command from ending. `--out` naming a stylesheet's source map (`p.css.map`) is refused, and a slip after `.css` (`p.css.bak`) is told the stylesheet name meant (`p.css`, not `p.css.css`).
|
|
1656
|
+
`astryx experimental theme compile` refuses a theme whose own values throw when read (a `tokens` getter or Proxy) as the build does, with no stack trace or `ERR_UNKNOWN`.
|
|
1657
|
+
- `astryx theme build` warns, at its line and with the form that works, more part keys a browser drops or Core misreads: a vendor property written without its dash, a pseudo name in capitals, something after a pseudo-element, two pseudo-elements, an escaped pseudo name, the custom property `--`, an empty key, and a block under a key that nests none. The output is the same as before. A `--family` build with such a key in a member builds, with each warning naming the member's file, where it stopped on an unknown error before. A default export that is a Promise of a theme is named as one, instead of a theme without a name.
|
|
1658
|
+
- `astryx theme build` (and `astryx experimental theme compile`, which builds the same way):
|
|
1659
|
+
- A theme that gives null for a part or a style key's block is refused at the line that gives it, never a crash. A null property or token value keeps its meaning (it is written as it is) and is warned at its line.
|
|
1660
|
+
- A style key no element carries is warned: a value a closed prop never takes (`size:xxl` on Button, which takes sm, md and lg) and a pseudo-class written as a style key (`':hover'`, which goes inside one: `base: {':hover': …}`).
|
|
1661
|
+
- A named pipe, a device or a socket where an output or `--out` goes is refused at once, never opened.
|
|
1662
|
+
- `--out out/.css` is told to give the stylesheet a name. An `--out` that starts with an unexpanded `~` is warned: the build writes in the project's `~` folder, as before, and the warning names that folder and the home folder path to give instead.
|
|
1663
|
+
- A theme with no name is refused as one, at its line.
|
|
1664
|
+
- Apple Color Emoji and Noto Color Emoji count as the systems' own fonts.
|
|
1665
|
+
- `astryx theme build` warns, at its line and with the same output as before, more values a browser drops: a part property that builds dash-first without a vendor prefix (`Color`), a token or part value that is no text (an object, a boolean, NaN, an array in a part), a [light, dark] pair with a missing half or another count, a token that reads itself, and a token's `var()` that no token sets. A pseudo-class after a pseudo-element that takes one (`::file-selector-button:hover`) is no longer warned, and only `:hover` and `:active` in capitals are. A warning about a value the theme takes from the theme it extends no longer gives a line of the file that extends it, and a `--family` build names it once, at the member that writes it. A tokens map spread from a defined theme's tokens no longer trips over Core's own private copies in it.
|
|
1666
|
+
- `astryx theme build` reads a base theme that the same file defines as a const, and that the theme's `extends` names (directly, or through `defineTheme(...)` or a wrapper), as the theme it extends, not as the theme itself: a setting the base's variant beats is named, and the theme's own lookup never reads that base. A base that a call returns (`extends: makeBase()`) or that a helper's object names is still read as the theme's own.
|
|
1667
|
+
- `theme build` through a CLI installed for the computer now writes the same files as a CLI installed beside Core. It reads the component docs and types of the Core it builds with, which is the project's. So a theme that gives a component a custom variant gets its `.variants.d.ts` type declarations. Before, that CLI read them only from a Core beside it, which it does not have. It wrote no variant declarations, and `doctor` and `theme build --check` reported a theme built by another CLI as stale. The built module's doc comment now names `astryx theme build` rather than the command that ran the build, so builds through different package managers or tools write the same module.
|
|
1668
|
+
- `astryx theme build` now writes a built theme module that loads in any bundler and in plain Node. A local module the built module imports (an icon registry, a component icon slot value, or the helpers they import) that is TypeScript or JSX is compiled to JavaScript named after its source (`icons.tsx` → `icons.tsx.js`) in a folder beside the built module named for it (`w98.modules` beside `w98.js`, whatever `--out` names the stylesheet), at the place each source has under the folder that holds the theme and its compiled sources, so every compiled module has a path of its own: `import { icons } from './icons'` with `icons.tsx` beside the theme becomes `import { icons } from './w98.modules/icons.tsx.js'`, and a helper it imports becomes `w98.modules/helper.ts.js`. Each local import names its file with its extension. Before, the built module kept the TypeScript import, so an app whose bundler does not compile TypeScript from `node_modules` (a plain Next.js app) failed to build after it added the theme. The compiled modules carry the build header, `--check` compares them, and a file of your own at a compiled module's path is never replaced (that import stays as written, with a warning saying so). A theme with no local module writes the same outputs as before; package imports stay as they are. `--family` builds compile each member's TypeScript registry the same way, in a folder named for the family key.
|
|
1669
|
+
- `astryx theme build`: a family build names a file it replaces, and builds that would not load say so.
|
|
1670
|
+
- A family build over a file with no build header at the `--family-key` name (an output of a CLI before 0.6.7, or a file of your own) still replaces it, now with a warning naming the file. Another theme's outputs there are replaced with a warning naming that theme.
|
|
1671
|
+
- A family member whose icon registry is imported without its extension (`import {icons} from './icons'`) builds, as it does on its own.
|
|
1672
|
+
- An icon registry that imports an asset (`import check from './check.svg'`, a `.png`, a font) builds; the asset loads as its URL, as a bundler gives it.
|
|
1673
|
+
- With `--out` in another folder, a relative icon registry import that nothing answers to from there is warned, with the `--icons-specifier` that names the registry from there.
|
|
1674
|
+
- A theme file that exports two named themes and no default warns which theme it builds and which it leaves out.
|
|
1675
|
+
- An empty or blank `--icons-specifier` is warned (the built module would import from `""`); `astryx experimental theme compile` refuses it, and an empty or blank `--out`, before building. `theme build --out ''` still writes beside the source.
|
|
1676
|
+
- `astryx theme build`: what a theme module leaves running no longer decides the command, and three source layouts build.
|
|
1677
|
+
- A callback a theme module leaves running that calls `process.exit` after the module loaded is ignored with a warning; one that sets `process.exitCode` does not set the command's; one that throws is a warning, not a crash after the result.
|
|
1678
|
+
- A family root may import the family's own stylesheet (`import './k.css'` for `--family-key k`), and a source its own stylesheet with a query (`import './p.css?inline'`): a first build from a clean checkout writes it.
|
|
1679
|
+
- A project in a folder whose name holds `#`, `?` or `%20` builds a theme that imports a stylesheet.
|
|
1680
|
+
- What a theme module changes for the whole process while it loads (the working folder, a built-in object such as `JSON` or `Object.prototype`) is put back when the load ends.
|
|
1681
|
+
- `--out` naming a TypeScript declaration file (`p.css.d.ts`) is refused with the stylesheet name to give, instead of writing CSS into it.
|
|
1682
|
+
- `astryx theme build`:
|
|
1683
|
+
- A plain-object theme (`export default {name, tokens}`) goes through `defineTheme` as a `defineTheme(…)` call does: a `[light, dark]` pair is written as `light-dark()`, and Core's media-surface rules are written. One with `extends` and no tokens builds as the empty theme over its base.
|
|
1684
|
+
- A spread of a package theme (`{...neutralTheme, name}`) is refused naming the spread and the form that builds (`extends: neutralTheme`), not an `icons` field the file does not set.
|
|
1685
|
+
- A stylesheet the theme source imports (`import './brand.css'`) is named in a warning: the built outputs do not carry it, so the app imports it.
|
|
1686
|
+
- What a theme module changes while it loads in `console`, a global (`Buffer`) or the file mode mask is put back when the load ends, so the command prints its result and writes readable files.
|
|
1687
|
+
- `astryx theme build`: a theme file is read for its theme, and nothing it does while loading breaks the command.
|
|
1688
|
+
- A Sass, Less, Stylus or PostCSS stylesheet a theme module imports loads as an empty module, as a `.css` import does.
|
|
1689
|
+
- An import that the project's tsconfig `paths` or `baseUrl` maps (`@app/c`, `lib/c`) is named as a path alias, never offered as a package to install.
|
|
1690
|
+
- With `--out` naming another stylesheet, the built module's usage comment names the stylesheet written.
|
|
1691
|
+
- When a build of several files stops at a failure, the error says which outputs the files before it wrote, in text and `--json` alike.
|
|
1692
|
+
- A default export that holds themes (`export default {light, dark}`) is named as such.
|
|
1693
|
+
- A theme module that calls `process.exit` while loading is refused by name; `--check` never passes without its verdict.
|
|
1694
|
+
- A value a theme module throws that is not an Error is shown as it is.
|
|
1695
|
+
- What a theme module prints goes to stderr, so `--json` output stays valid.
|
|
1696
|
+
- A timer a theme module leaves running no longer keeps `theme build` or `--check` from exiting.
|
|
1697
|
+
- `astryx theme build`:
|
|
1698
|
+
- A plain-object theme a theme extends (`const b = {name: 'b', extends: neutralTheme, …}; export default {name: 'p', extends: b}`) is made with `defineTheme` first, so its own base, typography and `[light, dark]` pairs are kept, and one with no tokens builds.
|
|
1699
|
+
- A misspelled field is named wherever the theme object comes from (a member, an array element, `Object.assign`), without a line where the source does not write it as one.
|
|
1700
|
+
- The warning for a stylesheet the theme source imports names a package stylesheet by the specifier the source wrote, and is given by the editor's compile too.
|
|
1701
|
+
- A plain-object theme whose getter throws is a failed load (`ERR_THEME_LOAD`) naming the file and the field, not `ERR_UNKNOWN`.
|
|
1702
|
+
- `astryx theme build` warns, at its line and with the form that works, a part key it cannot write as intended: a pseudo key that leaves a parenthesis, bracket, quote or comment open (a browser then drops the rules after it), a pseudo key that is no selector, a selector list such as `':hover, :focus'` (only its first member is scoped to the part), and a custom property with capitals (written in kebab case, so `var()` of the name as written reads nothing). The output is the same as before. A missing input near a theme source in the same folder (a missing extension, a one-letter slip) is offered that source.
|
|
1703
|
+
- An import written as a template literal with nothing put in it (``import(`./icons.ts`)``) is read as the string it holds by these commands: `astryx theme build --watch` follows it, the built theme module carries it, `astryx doctor`'s shipped-import check judges it, and `astryx template` lists a package imported that way in its install line when the project lacks it. Before, such an import was skipped.
|
|
1704
|
+
- `astryx theme build` reads `var()` in any letter case when it warns about a token that reads itself, tokens that read each other, or a `var()` no token sets, and it follows a loop through the token definitions Core sets on the theme's root (`--font-size-2xl: var(--text-heading-1-size)`). A misspelled pseudo-class (`:hovr`) is warned with the one it is near. The output is the same as before.
|
|
1705
|
+
- `astryx theme build` warns a misspelled field in a theme a `let` is reassigned to or a dynamic import loads, at its line; warns tokens given as a `Map` or `Set`, whose entries it does not read; and stops at the field, with a message, on a token object that has no text form (made with `Object.create(null)`), never with Node's own text. A BigInt in a plain theme's type scale no longer ends the build. `astryx experimental theme` reads a boxed token (`new String('red')`) as the text the build writes.
|
|
1706
|
+
- `astryx theme build`: a theme file is read for its theme, and what its code leaves behind no longer decides the command.
|
|
1707
|
+
- A family build over a file at the `--family-key` name lists the replace warning in `--json` too, as the text does.
|
|
1708
|
+
- A `process.exitCode` a theme module sets is not the command's exit code.
|
|
1709
|
+
- A theme module importing a `.postcss`, `.stylus` or `.sss` stylesheet loads it as an empty module.
|
|
1710
|
+
- What a theme module prints after it loaded (a deferred log) goes to stderr, so `--json` stays valid.
|
|
1711
|
+
- A theme module whose top-level await never settles is refused (`ERR_THEME_LOAD`, naming the file), not ended by Node with exit 13.
|
|
1712
|
+
- A theme source may import the stylesheet its own build writes, which a first build from a clean checkout now writes; a missing stylesheet it does not write is refused by name.
|
|
1713
|
+
- Every handle a theme module opens (a timer from `node:timers`, a file watcher, a server, a message port) is let go once it is loaded, so the command exits.
|
|
1714
|
+
- A promise a theme module leaves rejecting is a warning on stderr, not a crash after the result.
|
|
1715
|
+
- `astryx experimental theme compile` names a value a theme two `extends` up refuses in the file and line that hold it.
|
|
1716
|
+
- `astryx theme build` warns, at its line and with the same output as before, a field `defineTheme()` does not take (`component:`, `tokenz:`, `ondark:`, `onDark.localTokens`, `typography.body.fontFamily`), with the field it is near; and a BigInt, a function or a Date value, naming what it writes. A BigInt no longer ends the build with an unknown error. A surface token that loops through a token Core sets on that surface is warned once, at its line, and Core's own surface token is no longer named as one from the theme it extends.
|
|
1717
|
+
- `astryx theme build` warns a `[light, dark]` pair of sizes (`['4px', '12px']`), which `light-dark()` does not take, and a pair half that reads a token nothing sets, as it warns the same CSS written as text. A var() name with a letter beyond ASCII (`var(--café)`) is read as CSS reads it: no false warning in the build, and no refusal in `astryx experimental theme`.
|
|
1718
|
+
- `astryx theme build` warns a misspelled field that reaches the theme input through a spread (`{...shared}`, `onDark: {...dark}`, an imported object), or in a theme the file imports and then exports, at the line that writes it; a BigInt typography value held in a const is named too; and a `[light, dark]` pair whose half is empty or a number, which `light-dark()` does not take, so the browser drops the value. A boxed primitive in a part (`padding: new String('4px')`) is written as its text, as a token's is, instead of as JSON text with its quotes.
|
|
1719
|
+
- `astryx theme build` warns a misspelled field wherever the theme's sources write its input: an input held in a const, `defineTheme` imported under another name, a theme a file re-exports from another module (named with that module's file and line), and an `onDark`, `onLight` or `typography` block held in a const; a method written as a field (`onLoad() {}`) is warned too, and so is a BigInt typography value. A TypeScript type assertion such as `<any>1` in a `.ts` theme no longer costs every warning its line. A BigInt inside a part's array or nested block no longer ends the build: it is warned by what is written, and a value that holds itself stops the build at its line. A symbol, or a tokens object that holds itself, stops the build at its line instead of with a raw error. A boxed string (`new String('4px')`) is judged by what is written: no warning as a token or a pair half.
|
|
1720
|
+
- `astryx theme build --json` carries in its `warnings` the `--out` warnings the text run prints (a stylesheet name that is not .css, an output of another theme source it replaces, a folder the theme editor made), names a folder it cannot write with its fix instead of a temporary file's error, and names an `extends` written as a helper's call or a conditional as what it cannot follow instead of an inline icon registry. Its note on fonts named but not loaded also names the families of a component's `font` shorthand (`font: '600 14px Lora, serif'`).
|
|
1721
|
+
[fix] `astryx theme build`'s full font help leaves out, family by family, each family the theme's own `<slug>.fonts.css` loads; before, it printed the whole list unless every family was loaded.
|
|
1722
|
+
- `astryx theme build --watch` rebuilds when a file a theme brings in with TypeScript's `import x = require('./file')` changes, as it does for any other import.
|
|
1723
|
+
- `theme build --check` and `doctor` no longer call a local theme's outputs stale just because another CLI release built them, or the CLI ran under another command name. Each output's header still names the CLI release that built it, and a built module still names the build command, but those lines no longer have to match. Before, every update of the CLI that answers marked every local theme stale. So did building under one command name and checking under another, although a rebuild changed only those lines. That CLI can be a global install, or a tool that runs the CLI for you.
|
|
1724
|
+
- A theme that gives a Card, a Dialog or a menu corners of different radii (`borderRadius: '12px 12px 0 0'` or a corner longhand such as `borderStartStartRadius`) now reaches what those components hand each corner to: a full-bleed Table or a bleeding List in a Card or a Dialog takes each corner as the container draws it, focus ring and row fills included, and the rows of a pointer menu (DropdownMenu's popover and sub-menu flyouts, and ContextMenu), sub-menu rows included, take the menu's shape less its padding; the touch sheet's list rows, and a drilled-in sub-menu view with its own header or footer, keep their own corners. An elliptical corner (`8px / 4px`) reaches a full-bleed Table; a List and menu rows subtract the padding from it, so they keep square corners there. A default Card, Dialog or menu inside a themed one keeps its own corners. Before, these children kept square corners, or took the first corner's radius at every corner when the CLI theme editor wrote the radius. The theme pipeline writes each corner to its own private variable for components whose derived `borderRadius` entry sets the new `corners` flag. A radius of one value draws as before.
|
|
1725
|
+
- When an app adds a theme from a package it has not installed, `theme add` and `doctor` now name the install that works. They use the project's package manager. For a theme package that Astryx releases with Core, they name the project's Core release, saved exactly when the project pins Core. A project with no Core yet gets the release of the CLI that answers. Before, `doctor` named `npm install <theme>@latest`, and `theme add` named the package with no version. Each Astryx theme names Core's exact release as its peer, so in a project on an older release, npm refused the install. `doctor` also no longer adds `--package @astryxdesign/cli` to the theme add command, which named the CLI as the theme's package.
|
|
1726
|
+
- `astryx theme build` gives one warning, at its line, for a part's variants written as a `variants` map of values to blocks (`variants: {variant: {secondary: {…}}}`), naming the style keys that write them (`'variant:secondary': {…}`), instead of three warnings that never showed the working form. The output is the same as before.
|
|
1727
|
+
- The theme showcase template's inventory table keeps product names whole on phones: the Item column's floor grows from 80 px to 160 px, and in a narrow column the name moves under its thumbnail instead of breaking letter by letter. The table scrolls sideways in its own region as before. Wide screens look the same.
|
|
1728
|
+
- `theme build` (with or without `--check` or `--family`), `integration verify` and `doctor` load a theme that extends a base theme whose module imports its own stylesheet, such as a package's `./themes/<slug>` entry that loads the theme's CSS. Node stopped on that import with `Unknown file extension ".css"`. On Node 22.15 and later, a stylesheet that any module of the theme imports now loads as an empty module. Node resolves each stylesheet import from the module that writes it, so a missing stylesheet still fails. On Node 22.13 and 22.14 nothing changes: a theme build (`theme build`, `integration verify`, `doctor`'s freshness check) still stops on any stylesheet import, and a read of a built theme module (`doctor`, `component`) still loads only a stylesheet whose import resolves from that module's folder.
|
|
1729
|
+
- A plain table's rows keep the text colour around them in Butter, Y2K and Gothic; only a striped table's even rows take the stripe's text. Inside a coloured card in dark mode, every second row of a plain table read white on the pastel card, at 1.15:1 to 2.12:1. Those themes' striped-row rule now reads the row's `striped` state, in their packages and in the copies the CLI bundles.
|
|
1730
|
+
- On a phone, TopNav's end content is never wider than the bar, so an end item that can narrow, like a search field, narrows and the menu button stays in view. The Shell Nav template's search now narrows on a phone instead of pushing the menu button off screen at 375 px.
|
|
1731
|
+
- The per-user cache of transpiled TypeScript stays small and fast however many folders load the same files. Copies now live in `astryx/transpiled`, named for each file's text and settings, so the same file in many folders shares one copy, unless its text contains `meta`. Each new copy trims only its own subfolder, so no run reads the whole cache. Before, a machine that ran many projects or tests in fresh folders could fill the old single folder with hundreds of thousands of copies, and the next theme command spent minutes reading it. Project `doctor` now names that old folder and the command that removes it.
|
|
1732
|
+
- An unknown command names the command meant when its words come from another command line. `astryx add theme matcha` names `theme add matcha`, not `integration add theme matcha`; `astryx eject button` names `swizzle Button`, not `theme eject button`; `astryx templates list` names `template --list`, not a template called `list`. A short table of other tools' words names the command that does their job: `migrate --from 0.6.0` names `upgrade --from 0.6.0`, `add button` names `swizzle Button` and `component Button`, `add settings --path <file>` names `template settings <file>`, `props Card` names `component Card --props`, and `browse integrations` names `discover`. A suggestion keeps the options in reach of the command it names, including the program's own (`--json`, `--base`), and names an input the run still needs as a placeholder (`upgrade --from <old-version>`). A suggestion is never run for you.
|
|
1733
|
+
- A manifest key the running CLI does not know is no longer an integration issue. Everyday commands stop printing "has 1 integration issue(s)" for an integration published against a newer CLI, and project `doctor` no longer lists it. `doctor integration validate` and `integration check` list it as an `unknown_manifest_key` note, which fails nothing; a key one letter from a known one is a `next` note with its fix.
|
|
1734
|
+
- Outside a project, `astryx upgrade` without `--from` now leads with the reason: the folder is outside a project. It says to run upgrade with `--from <old version>` in the app's folder. Before, it led with "Missing required --from", so adding `--from` in the same folder got a second refusal.
|
|
1735
|
+
- `astryx upgrade` reads a `.ts` file as TypeScript without JSX and a declaration file as declarations, as TypeScript does. A type assertion (`<Item>value`) in a `.ts` file, or a declaration without a value (`export const limit: number;`) in a declaration file (`.d.ts`, `.d.mts`, `.d.cts`, or an arbitrary-extension declaration file such as `styles.d.css.ts`), no longer stops the run with a parse error, and a codemod changes such a file like any other. A `.tsx` file and JavaScript read as before.
|
|
1736
|
+
- Outside a project, `astryx doctor integration validate <package>` now checks the copy of the package that the folder uses, an integration installed for the computer included. Before, it looked only in the `node_modules` at or above the folder and reported `package_not_found`, though `astryx doctor` names this command for an integration installed for the computer that it cannot load. A copy that the other commands skip for its peer ranges is checked too, with a note that says why: `cli_peer_version`, or the new `core_peer_version` when only its `@astryxdesign/core` range excludes this CLI's release.
|
|
1737
|
+
- The StyleX setup docs name `@stylexjs/unplugin` (`stylex.vite()`) for Vite. Under Vite, `@stylexjs/rollup-plugin` fails on `astryx.css`, so a page template that uses StyleX stayed blank. The note on such a template now points to the setup section.
|
|
1738
|
+
- The work item's subtasks wrap instead of cutting off after a few words on a phone, and each task's due date and assignee move under its title there.
|
|
1739
|
+
|
|
1740
|
+
#### Performance
|
|
1741
|
+
|
|
1742
|
+
- A mistyped `astryx component` name answers faster on repeat runs: the Core docs its suggestions read are kept between runs, so the answer no longer reads every Core doc again. (#12538)
|
|
1743
|
+
- A run that loads no project, other than `hook`, and whose `--base` names no other package, such as `astryx --version`, `--help` or `manifest`, no longer loads the base resolver. Core's base declaration reads Core's package name from a small module of its own, so it loads no provider-identity code. Output is unchanged.
|
|
1744
|
+
- A run that keeps many values trims the per-user catalogs folder once, when it ends (a command that fails trims it as it exits), instead of after each value. A first `theme build` on a fresh cache keeps about 270 values and is about 130 ms faster. Every answer is unchanged, and the folder keeps the same size limit.
|
|
1745
|
+
- `upgrade` skips a codemod for a file that holds a backslash when the file's escapes spell none of the codemod's words, as it already did for files with no backslash. Before, any backslash anywhere in a file (a `\n` in a string, a `\d` in a regular expression) sent the file through every codemod's parse, so a scan of a typical app parsed about a quarter of its files several more times than needed. An upgrade from 0.6.8 answered 24% to 55% sooner across the apps measured; ranges that run mostly older codemods gain less, because those codemods still run on every file. Output and written files are unchanged.
|
|
1746
|
+
- `upgrade` binds jscodeshift to each parser once per codemod instead of once per file, which built a new copy of jscodeshift's helpers for every file. An upgrade over a 240-file app runs about 150 ms faster. Output does not change.
|
|
1747
|
+
- On Linux, in a project whose integration takes the CLI's debug record, every command finishes about 11 to 17 ms sooner. The record names the locale and time zone the process's Intl uses, and asking Intl for them first loads ICU's data at the end of the run. The answer is now kept beside the kept gathers while the environment values, the Node and ICU versions and the time zone files it comes from are unchanged. Elsewhere, and on other systems, it is asked as before. The record's values do not change.
|
|
1748
|
+
- `astryx discover` with no query asks the project's discover sources for their catalogs while it reads the installed packages, instead of after. With a large integration whose source asks a remote catalog, the list came back about 0.4 seconds sooner. Output does not change.
|
|
1749
|
+
- A command that keeps catalogs keeps the parse of each shipped doc it reads, by the doc's text, so a later read of that doc does not parse it again. The doc parsers build their schemas only when they first parse, not when the CLI loads them. Output is unchanged.
|
|
1750
|
+
- `docs` keeps the CLI's own docs tree between runs, while every file it was read from is unchanged. In a project where an integration can load, `docs` and its topics start about 30 to 65 ms sooner. Where none can load, `docs` keeps nothing and nothing changes. `doctor` still checks the tree's files themselves. Output does not change, except that `doctor`'s row for the per-user cache now names the docs tree among the entries it holds.
|
|
1751
|
+
- `doctor --built <path>` now reads doctor's kept checks back as `doctor` does, once the per-user cache folder exists: the CLI took the path after `--built` for a subcommand, so those runs checked the docs again every time. In a project whose integrations add docs, a warm `doctor --built` is about 200 ms faster; in a Core-only project the difference is within noise. The build itself is still checked on every run. Check results do not change; the cache row counts the kept checks.
|
|
1752
|
+
- `doctor --built` reads source files faster: it parses each file without attaching comments to syntax nodes, blanks comments in one pass, and walks a file's syntax tree for `require()` and `import()` calls only when its text can hold one. On a 240-file app the source scan takes about a third less time. Output does not change.
|
|
1753
|
+
- Once the per-user catalogs folder exists, `astryx doctor` keeps what its `button-actions` check finds while every folder the check listed, every file it read and every package it looked up are unchanged. A warm `doctor` in a project that has not changed then skips that check's scan: it no longer parses the project's pages for buttons again. Every answer is unchanged.
|
|
1754
|
+
- Once the per-user catalogs folder exists, `astryx doctor` keeps what its `core-props` check finds while every folder the check listed, every file it read, and the TypeScript, Core and project config it used are unchanged. A warm `doctor` in a project that has not changed then skips that check's scan: the check no longer parses the project's pages or reads Core's types again. The check also loads its parts only when they are needed, so a project without TypeScript no longer loads the component reader. Every answer is unchanged.
|
|
1755
|
+
- `astryx doctor` reads its kept docs checks back after an edit to the app's source. They run before the scans that read the app's source (its theme wiring and, in a project that names an icon set, its placeholder icons), so what they keep no longer depends on the app's files. Right after an edit, `doctor` in a project with an app finished about 230 ms sooner. Output does not change.
|
|
1756
|
+
- A kept value from an exact codec is stored as the JSON text its exactness check already read, so storing it no longer writes, parses and compares the value a second time. A run that keeps template discovery stores it about 15 ms sooner. A value that does not read back exactly is still never kept. Output does not change.
|
|
1757
|
+
- A machine's first `search` or `build` run, and its first `component`, `template`, `theme`, `discover` or `docs` run in a project where an integration can load, now keeps what it gathers, and Node's compile cache is written from the first run. With the CLI installed in the project, the second command on a new machine (most often the same session's next one) reads them instead of gathering again: about 1.7 s faster for `search` and 0.8 s for `component` in a project with an integration. A global copy with no Core beside it starts installing its Core after its first run, which changes what the next run reads, so it reads from its third run, as before. Answers do not change; `doctor`'s "Kept catalog cache" row counts the entries the first run now keeps.
|
|
1758
|
+
- A run through `@astryxdesign/cli/host` now keeps what it gathers, as a run of the `astryx` bin does, so a tool that carries the CLI answers its second `search` from the kept catalog: about 0.47 s instead of 1.4 s. A kept entry names the package sets, integrations and command name the host passed, so a hosted run and a bin run in the same folder never read each other's answers. Answers do not change.
|
|
1759
|
+
- `astryx integration check` and `astryx doctor integration validate` in a package's own folder keep npm's list of the files the package packs. They read it back while the package's folders list the same entries (names, types and where each link points), and package.json, the ignore files npm applies in the package and in each folder above it, any package.json above it, and the npmrc files npm reads are all unchanged. Which files npm packs never depends on what they hold, so a run after an edit inside a file, saved in place or by renaming a new copy over it, skips npm. That took seconds for a large package: each check there finished about 2.6 seconds sooner. A package that bundles dependencies, or has a link in its folders, is asked every time. Output does not change.
|
|
1760
|
+
- `integration check` and `doctor integration validate` ask npm once what a package's own folder packs, instead of once for each check that asks, and the authoring checks inside `integration check` no longer run the shipped-import check, whose notes they never read. In a large package with a `files` field, `integration check` finishes in about 10 seconds instead of 27, and `doctor integration validate` in about 9 instead of 12.5. Output does not change.
|
|
1761
|
+
- `component --list` keeps its list between runs in a project where an integration can load, like template discovery's records, so a repeat list answers sooner there (about 220 ms with a large TypeScript integration). A new, removed or edited component, doc or integration lists again on the very next run.
|
|
1762
|
+
- Which integration component answers to a Core component's name is kept between runs with the component list, so `component` in a project whose integration replaces Core components no longer loads every one of that integration's component docs on each run: about 40 to 60 ms faster per call in a project with a large integration. It is decided again whenever a doc's `replaces`, the package's CLI range, the integration's components folder, its configuration or its manifest changes. Output does not change.
|
|
1763
|
+
- A kept catalog entry now names the kept entries it builds on and stores only the file states they do not hold. A run checks each kept entry once, however many entries build on it, so an entry checks no file that the entries it builds on already checked. A warm `component`, `search` or `template` in a project with a large integration checks about 3,800 fewer files; output does not change.
|
|
1764
|
+
- In a project with an integration, `astryx` commands that read back what they kept (`component`, `search`, `template`, `docs`, `build` and others) finish about 10 ms sooner. A kept gather no longer checks the CLI's own files one by one: as the per-user cache record already says, the CLI's build id stands for them, and now so does the folder the CLI runs from, so a copy installed in another folder, such as a patched one, keeps its own entries. In-place edits to an installed CLI stay unsupported; deleting the per-user `astryx/catalogs` folder clears what was kept. A package in the node_modules folder inside the CLI's is still checked, as before. Output does not change, except `astryx doctor`'s cache row, which now names the folder beside the build id.
|
|
1765
|
+
- `doctor` keeps its scan of how the app wires its themes between runs, like its docs checks, so a repeat `doctor` answers about 20 to 35 ms sooner. An edit to the app's source, a theme or a theme package scans again on the very next run.
|
|
1766
|
+
- The theme build loads jiti, which transpiles TypeScript theme sources, through the module loader's lazy CommonJS loader, instead of importing jiti's ES module entry whenever any command loads the theme API. `component` in text and `doctor` no longer load jiti and start about 15 to 30 ms sooner. `theme build` still loads it, but no longer through the ES module entry, which made Node scan jiti's whole CommonJS bundle for export names; it starts about 15 to 30 ms sooner too. Output does not change.
|
|
1767
|
+
- The CLI reads a project's lockfile only for an Astryx package the project has not installed, and reads it once per lookup for all such packages. In an app whose `node_modules` holds the Astryx packages it declares, no command parses the lockfile. With a large lockfile (2 MB in our measurement), that saves about 50 ms per command and about 200 ms per `doctor` run.
|
|
1768
|
+
- In a project with an integration, `astryx` commands that keep what they gather (`component`, `search`, `template`, `docs`, `doctor` and others) load the installed CLI's own modules by their path in its folder, without Node first checking that each file exists and where it really lives, so they finish sooner.
|
|
1769
|
+
- `astryx doctor` starts about 6 to 10 ms sooner, and a first lookup in a project whose integration imports the CLI's API about 15 ms sooner. Doctor's theme checks and the codemods' parser loaded postcss as they loaded, so every importer of the CLI's API loaded it too; they now load it only when they read a stylesheet. Output does not change.
|
|
1770
|
+
- `astryx component` and the `astryx theme` commands start about 5–10 ms sooner again. The theme build module they load loaded postcss at once, through the module that reads a built theme's imports; postcss now loads only when a stylesheet's imports are read. The font stylesheet reader uses the same first-use postcss. Output does not change.
|
|
1771
|
+
- What the CLI keeps between runs is checked against what each check it made returned, and no more. A check whether a file is there is checked by whether it is still there, and a real-path lookup by the path it answered. An edit to a file the CLI only checked for, or only resolved, no longer makes the next run work its kept data out again. A file whose content any kept step read is checked by its stamp, as before, and so is an ignore file a check looks for before it asks npm what a package packs. Output does not change.
|
|
1772
|
+
- A command that reuses kept data hands each kept list of what it read to the run's records once, instead of once for every step that reuses it, and works out the CLI-file states a derived value keys on only when one is asked for. In a project with a large integration, `component`, `docs`, `doctor`, `search`, `template` and `theme list` finish 4 to 14 ms sooner. Output does not change.
|
|
1773
|
+
- A warm `astryx search` reads back from its kept entry table only the word lists the query names, not every list, so it allocates less and spends less time collecting garbage. Every answer is unchanged.
|
|
1774
|
+
- `search` answers sooner: a name or keyword word that starts with another letter than a query word is no longer expanded into its plural and stem forms to compare them, since every form of a word keeps its first letter, and an entry's description words are read only when a spelled-out name needs them. Output is unchanged.
|
|
1775
|
+
- `astryx search` loads its icon-section code only where icon features are on, so a search in a project without them no longer loads it. Each such search is about 6–8 ms faster, and every answer is unchanged.
|
|
1776
|
+
- `astryx search` and `astryx build` use the scores they already worked out for each word of a request when they order the results, so a long request ranks sooner. The results do not change.
|
|
1777
|
+
- `search` lowercases each candidate's names, keywords and prose once per run instead of on every term and synonym, and scores a one-word query once instead of twice, so a warm search answers up to about 20 ms sooner, most for one-word and typo queries. Results are unchanged.
|
|
1778
|
+
- The published CLI stores Core's component list and imports at publish, and uses them while the installed Core's files are unchanged, so `component --list` answers about 30 to 60 ms sooner in a project with no integrations. Another Core version, or a change to any Core file or folder the list reads, reads Core live, as before.
|
|
1779
|
+
- The published CLI reads its own shipped docs as already checked against their schema at publish, instead of checking each one on every read, so `docs` answers about 25 ms sooner. A doc that was edited or is not shipped is checked as before. Output is unchanged.
|
|
1780
|
+
- The published CLI stores search's catalog at publish, and uses it in a project that adds nothing to a catalog while the CLI's and Core's files are unchanged, so a machine's first `search` answers about 350 ms sooner and its first `build` about 290 ms sooner. The catalog is gathered live, as before, in a project with an integration, a package that adds docs or blocks, or a local theme; with another Core version; and after a change to any file or folder the catalog reads. Output is the same.
|
|
1781
|
+
- `astryx template` works out the components its "Read the components it uses in one call" line names in one pass: a name the component list holds under Core or a configured integration needs no lookup, a chart library's import needs none, and the names it does look up share each folder listing and doc read. In a project with an integration, a template answer is about 0.3–0.7 s faster again. Every answer is unchanged.
|
|
1782
|
+
- `astryx template` keeps what it reads from a template's source to name the components it uses, by the source's text and the parser's release, so a warm answer no longer parses the source to name them. Every template answer is unchanged; `doctor --json`'s kept-catalog message names the new kept value.
|
|
1783
|
+
- `astryx integration check` and `astryx doctor integration validate` gather the parts of each source file the template walks judge once per check, instead of walking the file's whole syntax tree again for every template that reaches it. For a package with many templates that share helpers, each check finished about 0.4 seconds sooner. Output does not change.
|
|
1784
|
+
- `search`, component lookups, `build`, `doctor`, `integration` and `theme list` no longer load Node's zlib module, which they never use; `theme add` loads it only to unpack a shared theme's `.tgz`. Those commands are about 2 ms faster, and every answer is unchanged.
|
|
1785
|
+
- `astryx theme build` of a theme with a local TypeScript or JSX module, such as an icon registry, finishes about 200 ms sooner when the module has not changed since the last build. The JavaScript it compiles from the module is kept beside the kept gathers and read back while the source, the compile options, the imports it rewrites and every file of the Babel that compiled it are unchanged, so such a build loads neither `@babel/core` nor its TypeScript and JSX plugins. A first build, and a build after an edit to the module, compile as before. The written files do not change.
|
|
1786
|
+
- `astryx theme build` of a theme whose part styles hold pseudo-class keys (`':hover'`, `'::before'`) or whose tokens hold names without two dashes finishes about 20 to 30 ms sooner on a repeat build. What its css-tree checks of those keys and names find is kept beside the kept gathers and read back while the keys and every file of css-tree's code and data are unchanged, so such a build loads no css-tree. The build's warnings, errors and written files do not change.
|
|
1787
|
+
- `theme build` reads each Core component doc at most once per run. A theme whose component overrides name prop values (such as `variant:ghost` or `size:sm`) was checked against up to three views of Core's docs (the theming targets, the known prop values, and the components a new value augments), and each view read and checked every doc again. Such a build now finishes about 50 to 110 ms sooner. A theme with no such overrides reads the docs once, as before. Output does not change.
|
|
1788
|
+
- In a project where an integration can load, `theme build` keeps what it checks a theme against in Core's component docs between runs, while every doc and folder they were worked out from is unchanged. It works them out before it reads the theme, so they do not depend on the theme: building a theme again, with or without an edit to it, finishes about 120 to 150 ms sooner. A Core-only project keeps nothing and works out only what a build needs, as before. `doctor`'s row for the per-user cache names the new entry; output does not change otherwise.
|
|
1789
|
+
- `theme build` keeps the transpiled code of the theme sources it loads in the transpile cache the CLI already uses for integration manifests and TypeScript docs, so a build of an unchanged theme no longer transpiles it again: about 150 ms faster per build. An edited theme is transpiled again. On systems with user ids, that cache is the per-user one, which now stays within the same size limit as the kept catalogs: once it has grown, a run removes its least recently used transpiled copies, never one written in the last day or read in the last day where the file system records reads. `doctor`'s "Kept catalog cache" row now names that limit. Other output does not change.
|
|
1790
|
+
- The first `theme build` after a CLI upgrade reads back the JavaScript it compiled from a theme's local TypeScript or JSX modules, as long as the upgrade leaves the code that compiles them and Babel's installed files as they are, so it loads no Babel compiler. For a theme with an icon registry, that first build is about 0.15–0.3 s faster, and about 0.4 s when Node's compile cache is empty too. An invalid browserslist setting in the project no longer makes that compile fail. Every other answer is unchanged.
|
|
1791
|
+
- The theme entry loads the theme build, add, eject and targets code on its first call, so a `component` read that only resolves the project's theme no longer loads it. Output is unchanged.
|
|
1792
|
+
- A `theme build` of an unchanged theme reads back what its check of settings that do not show as written parsed last time, and loads no css-tree. A warm build of a theme with component styles is about 46 ms faster. Every answer is unchanged.
|
|
1793
|
+
- `astryx integration check` and `astryx doctor integration validate` parse each of a package's source files once for the walks that follow each template's imports, instead of once for every template that reaches the file. For a package with many templates that share helpers, each check finishes about a second sooner. Output does not change.
|
|
1794
|
+
- A warm `astryx component` or `astryx template` lookup that misses in a project with only Core answers about 55–60 ms faster, because template discovery is now kept for those commands. Every answer is unchanged. (#12585)
|
|
1795
|
+
|
|
1796
|
+
#### Documentation
|
|
1797
|
+
|
|
1798
|
+
- The agent docs `astryx init` writes, and the computer-level skill, name the Astryx prop names that differ from other libraries in the workflow's third step: buttons, badges, tokens and tabs take their text in `label` (Text, Heading and Link take children), booleans start with `is` or `has`, and every input takes `value` and `onChange`. An agent that writes props before it reads a component now writes these right far more often. Run `astryx upgrade` or `astryx init` to refresh a project's agent docs.
|
|
1799
|
+
- The AI Chat Landing template's keywords name its greeting, its suggestion cards and its composer. `astryx search` now finds it for an idea about a greeting, and `astryx build` lists it as an alternative start for more ideas that name a greeting, suggestions or a composer.
|
|
1800
|
+
- The `ai-chat` page template now gives its dead buttons and menu items a behavior: the composer's send, mention and attach buttons, the document version menu, and the document's share action now show a toast saying what the real app would do there ("Demo: … would … here"), and Copy copies the document to the clipboard (desktop and narrow screens). No layout or styling changes.
|
|
1801
|
+
- The `build()` API description says a whole-page idea that would start on the app shell starts from the closest page template.
|
|
1802
|
+
- The `build` API doc and the build kit's comments say that for a whole page the page-pick model chooses the start from the ranker's list and its own word tables, so the start can differ from the ranker's first template.
|
|
1803
|
+
- The `theme` row of the bare `astryx docs` list says what the topic is in one sentence; the theme editor's how-to lines (make or change a theme, look after each change, a denser or roomier app, one kind of part, a starter app with no app yet) are now the first sections of the `theme` topic, each shown whole where `astryx docs theme` opens.
|
|
1804
|
+
- The theme authoring doc shows `defineTheme({palette})` with `themePalette()` from `@astryxdesign/core/palette`. `astryx theme palette generate` and the theme editor's colors give the same output as before: the CLI now runs a copy of the palette engine and its token mapping generated from Core's source.
|
|
1805
|
+
- The Astryx skill the CLI writes for agents on the computer, and the Claude Code and Codex plugin skill made from it, now say to start a page with `astryx build "<what the page is for>"`, and to start anything else with `astryx search`.
|
|
1806
|
+
- The Astryx skill the CLI writes for agents on the computer, and the Claude Code and Codex plugin skill made from it, now say to pin `@astryxdesign/cli` exactly when the project pins `@astryxdesign/core` exactly. Before, agents added the CLI at Core's version with a `^` range beside an exactly pinned Core.
|
|
1807
|
+
- The `useContainerReveal` usage block says the actions stay visible under a coarse primary pointer (a phone or tablet), not on any touch device, matching the hook's behavior on a touchscreen laptop used with a mouse.
|
|
1808
|
+
- The documentation, technical documentation, design documentation, order detail, work item detail and library page templates now list keywords in the words their users use for those pages, so `astryx search` and `astryx build` find them for more ideas. The template authoring guide now asks authors to describe each page that way.
|
|
1809
|
+
- The content page templates now give their dead buttons and menu items a behavior: in `course-detail`, `documentation`, `documentation-technical`, `detail-page` and `work-item-detail`, the buttons, cards and menu items that did nothing now either work or show a toast saying what the real app would do there ("Demo: … would … here"), the documentation banner's Get started is a link, and toasts that claimed an action had happened now say it would happen. Refund on `detail-page` and Delete in `work-item-detail`'s attachment menus are left unwired, because an irreversible action needs a confirm step. No layout or styling changes.
|
|
1810
|
+
- The typography docs say what Core builds, in one rule: a heading with no `family` takes the body's whole font list; with its own `family`, only its own `fallbacks`; `fallbacks` with no `family` build nothing. `TypographyConfig`, its `heading` field, `defineTheme`'s `typography`, the `fonts-and-assets` doc page and the theme template say it; the `font-setup` page says a heading with no family uses the body's and points to `fonts-and-assets` for the rest.
|
|
1811
|
+
- The debug event's `project.integrationCount` is documented as what it counts: the integrations the project's astryx.config names, not integrations loaded from dependencies the config does not name.
|
|
1812
|
+
- `astryx docs use-a-theme` now says how to make dark mode the default: pass `mode="dark"` to the root `Theme`. A server-rendered app also sets `<html data-theme="dark">`, so the first paint is dark.
|
|
1813
|
+
- `astryx docs --help` shows `astryx docs skills` and `astryx docs skills/astryx` among its examples, and the `docs` command reference says what `skills` and `skills/<name>` read.
|
|
1814
|
+
- `astryx docs cli/skill-places` says where to keep the Astryx guidance for AI agents: the AGENTS.md block in a project (the default, read by every agent), a project skills folder when a team keeps its guidance as skills, and the computer skill for agents outside a project, with the `init --to` command, file, and saved record for each place and how each is kept current. `astryx init --help` links to it.
|
|
1815
|
+
- The `theme` topic has a section on publishing a theme so other teams can use it (ship it in a package; another team runs `theme add <name> --package <package>`), in English, dense and Chinese, and its summary no longer calls its steps "sections", so a search for a section or a scoped section theme finds Section and MediaTheme first again.
|
|
1816
|
+
- The agent block and the theme docs send a denser or roomier app to the theme (`astryx experimental theme editor set <name> spacing tight`, or `roomy`), as they send colors, instead of gap and padding changes page by page.
|
|
1817
|
+
- The response types reference says `astryx experimental theme editor show` leaves `look` out when no picture was taken, as the result does, instead of returning it as null.
|
|
1818
|
+
- The response types reference describes the change result of `astryx experimental theme editor set` and `undo` as it is: `missed` counts the misses the change leaves and `missedParts` the parts they are on, and an undo of a setting listed more than once names the other entries it removed (`alsoRemoved`).
|
|
1819
|
+
- The agent block and the theme docs say a change to one kind of part (the sidebar, its selected item, the gaps in a form) is a theme change too, not props or styles on one page, and that `astryx experimental theme editor how "<ask>"` names the `set … --on <part>` line for it.
|
|
1820
|
+
- With no app yet, the agent block, the theme docs and `astryx experimental theme --help` point to `astryx experimental theme preview app <dir>`, which makes a starter app that shows the theme, instead of building an app by hand.
|
|
1821
|
+
- The export guide says that the exported file's CSS keeps only the web font faces its page, stylesheet or script can use, and that text the file cannot know (typed text, text built from character codes, and dates, numbers and date-field placeholders in the reader's or the page's locale) draws in the next font of its font list.
|
|
1822
|
+
- The export guide's column-floor advice says a table heading wraps like its cells, so a column's floor must fit the longest word of its heading.
|
|
1823
|
+
- `astryx --help` now describes `export` in the `experimental` group as "one self-contained HTML file from a page built with Astryx components (not for other pages)". Agents can now tell from the help what `experimental export` makes and which pages it is for.
|
|
1824
|
+
- The hero and gallery page templates' call-to-action buttons (Get started, Learn more, Explore in `centered-hero`, `gallery-hero`, `product-gallery` and `side-gallery`) are now links to `#`, so they behave as the links they stand in for instead of doing nothing. The Get started arrows in `centered-hero` and `product-gallery` now point toward the end of the line in right-to-left, as in `gallery-hero`; nothing else changes in layout or styling.
|
|
1825
|
+
- Hook docs for `useChatDictation`, so `astryx hook useChatDictation` and `astryx search` return it, and a `useChatDictation — Voice input` example block: a start and stop control that stays off when the browser has no speech recognition.
|
|
1826
|
+
- Hook docs for `useChatPasteAsToken`, so `astryx hook useChatPasteAsToken` and `astryx search` return it, and a `useChatPasteAsToken — Long paste` example block: a composer that uses a threshold of 40 and a Pasted note label.
|
|
1827
|
+
- Hook docs for `useSpeechRecognition`, so `astryx hook useSpeechRecognition` and `astryx search` return it, and a `useSpeechRecognition — Transcript` example block: a headless control that shows whether the browser can listen and the interim transcript.
|
|
1828
|
+
- Hook docs for `useSyntaxTheme`, so `astryx hook useSyntaxTheme` and `astryx search` return it, and a `useSyntaxTheme — Keyword color` example block: the word const painted with the keyword color of the GitHub Light syntax theme.
|
|
1829
|
+
- The internationalization guide says provider `overrides` change Astryx wording across an app, and that a component is reworded through its own prop for that string, such as `placeholder` or `cancelLabel`. The InternationalizationProvider overrides example applies its override to every Selector in the app, and shows one Selector rewording its own placeholder through its prop.
|
|
1830
|
+
- The IDE page template's description now says what its middle pane is: a single read-only code pane, not tabbed documents.
|
|
1831
|
+
- `astryx init --help` is about half as long: each option and exit code keeps what an agent needs to run it (what it writes, what it refuses, the error codes), and the rare cases (file deletion on `--remove-agents`, the `--user` link details, the five soft exit-0 cases) move to `astryx docs cli/commands/init`.
|
|
1832
|
+
- Markdown's anatomy now says when its Image part shows alternative text: for an empty image URL, while an unsafe URL renders as source text. Its guidance adds two don'ts: plugins cannot cross a Server Component boundary, and Markdown does not sanitize renderer output. Prop docs now describe `density`, `isStreaming`, `onLinkClick`, and `components`; `inlinePlugins` keeps its own description instead of lending it to `plugins`; `contentWidth` names its 680 default; and the `contentAlign="start"` description now says inline start instead of left. The `onLinkClick` docs say that a custom `link` renderer does not receive the handler.
|
|
1833
|
+
- The messaging shell template notes what must hold before it is marked ready: build keeps the default app shell for parts and edits whose words the template does not use, and the page-pick model is retrained to include it.
|
|
1834
|
+
- MetadataListItem's prop docs now list `xstyle`, `className`, `style`, `ref`, and `data-testid`, and say which element each one reaches: the label `dt` when the item is side by side, or the wrapper when it is stacked. The `data-testid` docs say that a side-by-side item puts `-label` and `-value` on its two cells.
|
|
1835
|
+
- MobileNav's prop docs now list `label`, `xstyle`, `className`, `style`, `ref`, and `data-testid`, and the `label` docs say what names the drawer when it is not set. MobileNav's Chinese and dense prop text now reaches the docs: it was written where the doc compiler does not read it for a doc with two components, so those docs showed the English text. The Chinese text no longer marks `isOpen` and `onOpenChange` as required; inside AppShell the drawer reads them from context.
|
|
1836
|
+
- MobileNavToggle's docs now say every case where it renders nothing: above the mobile breakpoint, without an AppShell mobile context (AppShell's, or an `AppShellMobileContext` you provide), and when AppShell has no mobile navigation (no side or top nav, `mobileNav={false}`, or a `mobileNav` node).
|
|
1837
|
+
- MoreMenu's prop docs now list `isMenuOpen` and say that without `size` the trigger takes the surrounding size (from a SizeProvider, ButtonGroup, or Toolbar), else `md`. The Chinese docs gain `isMenuOpen` and `onOpenChange` and the note on where host `data-*` attributes land.
|
|
1838
|
+
- `astryx docs layout` and `astryx docs tokens` carry the core rules on the namespace page itself: layout names the frame, structure, spacing and breakpoint rules with a three-region example, and tokens shows the StyleX import and the tokens most code needs, so one read is enough to start.
|
|
1839
|
+
- NavHeadingMenu's docs now document NavHeadingMenuItem and its props (`label`, `description`, `icon`, `href`, `onClick`, `isDisabled`, `ref`, `xstyle`), add `ref` to the menu, and say that `minWidth` wins over the size's minimum width. New best practices name the WAI-ARIA menu pattern and its keys, say to name a standalone menu, and explain how a disabled row stays reachable.
|
|
1840
|
+
- The npm descriptions of `@astryxdesign/core` and `@astryxdesign/cli` name Astryx, so a search for "astryx" on npm lists them with the other Astryx packages.
|
|
1841
|
+
- The install page now says that registry calls use Astryx's own short retry and timeout, not npm's fetch-retry or fetch-timeout settings: one retry after a 2-second wait, and at most 30 seconds per request.
|
|
1842
|
+
- A new experimental guide, `astryx docs cli/experimental/share-a-page`, walks through making a shareable page: write it with Astryx components, render it to one HTML file, share or upload that file, and turn the file back into source to change it.
|
|
1843
|
+
- The shareable-page guide (`astryx docs cli/experimental/share-a-page`) names the layouts that go wrong on a phone in a file with no script, and how to write each one: a Badge beside text in an HStack (StackItem `static` and `fill`, as its example now does), a Badge on its own line in a VStack (`<StackItem crossAlignSelf="start">`), a long string ListItem label (pass an element), and a table wider than the screen (the file cannot scroll it sideways: keep it within about 310 px with shares that match the floors or `pixel()` columns, each floor fitting its column's longest word and header, padding included). It also suggests `isWrapped`, which shows long CodeBlock lines whole. `astryx experimental render --help` and its doc now point to the guide.
|
|
1844
|
+
- Some controls in the app shell page templates did nothing when clicked. Now `shell-nav`'s Run project and Share, `shell-top-nav`'s Search products, Sign in and Checkout, and in `theme-showcase` the chat's Export, Close, Attach and Voice input buttons, Add item, the list and grid view buttons, and the inventory row menu's Edit, Duplicate and Move to each show a toast saying what the real app would do there ("Demo: … would … here"). No layout or styling changes.
|
|
1845
|
+
- `astryx docs layout` and the scaffold guide say that a short form keeps its own 640 column, even when the page starts from a template with a wide frame or a multi-column grid.
|
|
1846
|
+
- `astryx docs styling` and `astryx docs typography` state their core rules on the namespace page itself, with one short example each, so one read is enough to start; each page still points to its guides for the details.
|
|
1847
|
+
- The table page templates now give their dead buttons and menu items a behavior: in `table-inbox`, `table-tree`, `table-grouped`, `table-page` and `table-filter`, the buttons and menu items that did nothing now either work or show a toast saying what the real app would do there ("Demo: … would … here"), and toasts that claimed an action had happened now say it would happen. Delete actions are left unwired on purpose, because a destructive action needs a confirm step these templates do not have. Text fields, form inputs and some menus are not part of this change. No layout or styling changes.
|
|
1848
|
+
- `astryx theme remove --help` states its exit codes plainly: removing the only added theme exits 0, removes the generated module and prints the lines the app root must drop; removing the default fails only while other themes are still added, and the line says to choose another default with `theme use` first. Agents read the old line, "is the default while other themes are added", as "the default can never be removed" and added a theme nobody asked for.
|
|
1849
|
+
- The tool page templates now give their dead buttons and menu items a behavior: in `canvas-editor`, `file-explorer`, `ide`, `kanban-board` and `editor`, the toolbar buttons, menu items and view switch that did nothing now either work or show a toast saying what the real app would do there ("Demo: … would … here"), and toasts that claimed an action had happened now say it would happen. Text fields, form inputs and some menus are not part of this change. In right-to-left layouts, canvas-editor's Undo and Redo arrows now mirror. No other layout or styling changes.
|
|
1850
|
+
|
|
1851
|
+
#### Other Changes
|
|
1852
|
+
|
|
1853
|
+
- Internal: the technical documentation template's Copy prompt button uses Core's useClipboard instead of calling the clipboard API directly. Pages look and behave the same.
|
|
1854
|
+
- Internal: the editor template sizes its sidebar with LayoutPanel's width prop instead of an inline style. Pages look the same.
|
|
1855
|
+
- Internal: the shell-nav template registers its Cmd+K and Ctrl+K shortcuts with Core's useHotkeys instead of a hand-written key listener. Pages look and behave the same.
|
|
1856
|
+
- Internal: the docs namespace view and the `astryx docs --depth` list share one rule for the [experimental] mark. Output is the same.
|
|
1857
|
+
- The computer-level skill, the project skill and integration skills render their SKILL.md through one function, so their frontmatter and hash line stay the same shape. The files are byte-for-byte unchanged.
|
|
1858
|
+
- Internal: a theme-editor source comment names Citation as its example of a title drawn as the part's own text. Consumers see no change.
|
|
1859
|
+
|
|
1860
|
+
#### Contributors
|
|
1861
|
+
|
|
1862
|
+
Thanks to everyone who contributed to this release:
|
|
1863
|
+
|
|
1864
|
+
- @astracat-bot
|
|
1865
|
+
- @bezabyte
|
|
1866
|
+
- @charlie5188
|
|
1867
|
+
- @cixzhang
|
|
1868
|
+
- @ernestt
|
|
1869
|
+
- @HelloOjasMutreja
|
|
1870
|
+
- @josephfarina
|
|
1871
|
+
- @kentonquatman
|
|
1872
|
+
- @nynexman4464
|
|
1873
|
+
- @popsiclelmlm
|
|
1874
|
+
- @prath47
|
|
1875
|
+
- @shashank03-dev
|
|
1876
|
+
- @vjeux
|
|
1877
|
+
|
|
1878
|
+
---
|
|
1879
|
+
|
|
3
1880
|
# 0.7.16
|
|
4
1881
|
|
|
5
1882
|
#### Experimental APIs
|