@astryxdesign/cli 0.7.18-canary.gfacee17 → 0.7.18

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.
Files changed (363) hide show
  1. package/CHANGELOG.md +185 -19
  2. package/README.md +19 -19
  3. package/api/component/_adapter.d.mts +2 -1
  4. package/api/component/_adapter.mjs +2 -1
  5. package/api/docs/_adapter.d.mts +6 -5
  6. package/api/docs/_adapter.mjs +36 -5
  7. package/api/doctor/_adapter.d.mts +6 -3
  8. package/api/doctor/_adapter.mjs +13 -5
  9. package/api/doctor/doctor.mjs +5 -5
  10. package/api/doctor/font-packages.d.mts +36 -0
  11. package/api/doctor/font-packages.mjs +124 -0
  12. package/api/doctor/theme-checks.mjs +110 -49
  13. package/api/experimental.d.mts +0 -2
  14. package/api/experimental.mjs +0 -12
  15. package/api/icon/_adapter.d.mts +2 -2
  16. package/api/icon/_adapter.mjs +6 -2
  17. package/api/icon/_authoring.mjs +22 -13
  18. package/api/icon/_default-look.mjs +15 -15
  19. package/api/icon/add/add.mjs +14 -9
  20. package/api/icon/icon.doc.mjs +7 -7
  21. package/api/icon/icon.type.d.mts +33 -33
  22. package/api/icon/icon.type.mjs +45 -45
  23. package/api/icon/iconAdd.doc.mjs +9 -10
  24. package/api/icon/iconMap.doc.mjs +11 -12
  25. package/api/icon/iconNewDefinition.doc.mjs +8 -8
  26. package/api/icon/iconNewSet.doc.mjs +5 -5
  27. package/api/icon/map/map.mjs +7 -7
  28. package/api/icon/use/use.mjs +4 -4
  29. package/api/init/run/run.mjs +0 -1
  30. package/api/integration/add-helpers.mjs +1 -1
  31. package/api/integration/validate-integration.type.d.mts +6 -6
  32. package/api/integration/validate-integration.type.mjs +6 -6
  33. package/api/render/_adapter.d.mts +5 -3
  34. package/api/render/_adapter.mjs +64 -4
  35. package/api/render/render.doc.mjs +9 -2
  36. package/api/render/render.mjs +5 -2
  37. package/api/render/render.type.d.mts +17 -0
  38. package/api/render/render.type.mjs +10 -0
  39. package/api/search/ORDERING.md +1 -1
  40. package/api/search/_candidate-score.mjs +20 -0
  41. package/api/search/_words.d.mts +8 -0
  42. package/api/search/_words.mjs +15 -0
  43. package/api/template/template.type.d.mts +2 -2
  44. package/api/template/template.type.mjs +2 -2
  45. package/api/theme/_adapter.mjs +19 -11
  46. package/api/theme/build/build.d.mts +19 -51
  47. package/api/theme/build/build.mjs +195 -189
  48. package/api/theme/build/font-warning.d.mts +19 -2
  49. package/api/theme/build/font-warning.mjs +46 -5
  50. package/api/theme/generateTonalPalette.doc.mjs +1 -1
  51. package/api/theme/palette/generate/derive-look.mjs +108 -37
  52. package/api/theme/palette/generate/mapping.mjs +2 -0
  53. package/api/theme/template/template.d.mts +0 -17
  54. package/api/theme/template/template.mjs +1 -42
  55. package/api/theme/theme.type.d.mts +5 -4
  56. package/api/theme/theme.type.mjs +5 -4
  57. package/api/theme/themePaletteGenerate.doc.mjs +1 -1
  58. package/api/theme/themeRemove.doc.mjs +1 -1
  59. package/assets/codemods/transforms/v0.7.0/preserve-bottom-sheet-content-padding.mjs +3 -1
  60. package/assets/component-list.generated.json +1 -1
  61. package/assets/discover/official-packages.json +26 -2
  62. package/assets/docs/author-a-theme.doc.mjs +6 -5
  63. package/assets/docs/browser-support.doc.mjs +1 -0
  64. package/assets/docs/icons.doc.mjs +8 -7
  65. package/assets/docs/motion.doc.mjs +46 -0
  66. package/assets/docs/theme.doc.dense.mjs +6 -17
  67. package/assets/docs/theme.doc.mjs +6 -16
  68. package/assets/docs/theme.doc.zh.mjs +6 -16
  69. package/assets/docs/tree/ci-and-containers.doc.mjs +1 -1
  70. package/assets/docs/tree/data-colors-in-renderers.doc.mjs +400 -0
  71. package/assets/docs/tree/font-setup.doc.mjs +30 -0
  72. package/assets/docs/tree/icon-sets.doc.mjs +2 -2
  73. package/assets/docs/tree/share-a-page.doc.mjs +1 -1
  74. package/assets/docs/tree/template-icons.doc.mjs +3 -3
  75. package/assets/docs/tree/tokens-color.doc.mjs +5 -0
  76. package/assets/docs/tree/tokens.doc.mjs +4 -3
  77. package/assets/docs/tree/updates.doc.mjs +1 -1
  78. package/assets/docs/tree/visualization.doc.mjs +30 -0
  79. package/assets/docs-routes.generated.json +1 -1
  80. package/assets/docs.generated.json +2 -2
  81. package/assets/icons/definitions/drag.doc.mjs +1 -0
  82. package/assets/search-catalog.generated.json +2 -2
  83. package/assets/self-audit.generated.json +1 -1
  84. package/assets/templates/blocks/components/Card/SelectableCardElevated.doc.mjs +1 -1
  85. package/assets/templates/blocks/components/Card/SelectableCardElevated.tsx +20 -10
  86. package/assets/templates/blocks/components/Card/SelectableCardShowcase.doc.mjs +1 -1
  87. package/assets/templates/blocks/components/Card/SelectableCardShowcase.tsx +36 -16
  88. package/assets/templates/blocks/components/ChatComposerInput/ChatComposerInputMentionTrigger.tsx +6 -0
  89. package/assets/templates/blocks/components/ChatComposerInput/ChatComposerInputMultipleTriggers.tsx +6 -0
  90. package/assets/templates/blocks/components/Hooks/useIndicatorFocusRingHookUsage.doc.mjs +14 -0
  91. package/assets/templates/blocks/components/Hooks/useIndicatorFocusRingHookUsage.tsx +63 -0
  92. package/assets/templates/blocks/components/Hooks/useLongPressHookUsage.doc.mjs +29 -0
  93. package/assets/templates/blocks/components/Hooks/useLongPressHookUsage.tsx +237 -0
  94. package/assets/templates/blocks/components/SideNav/SideNavShowcase.tsx +10 -72
  95. package/assets/templates/blocks/components/SideNav/SideNavWithHeaderMenu.doc.mjs +1 -1
  96. package/assets/templates/blocks/components/SideNav/SideNavWithHeaderMenu.tsx +7 -7
  97. package/assets/templates/blocks/components/Table/TableCustomRowTable.doc.mjs +14 -0
  98. package/assets/templates/blocks/components/Table/TableCustomRowTable.tsx +96 -0
  99. package/assets/templates/components.generated.json +1 -1
  100. package/assets/templates/pages/ai-chat-landing/page.tsx +4 -0
  101. package/assets/templates/pages/dashboard-scorecard/page.tsx +26 -7
  102. package/assets/templates/pages/editor/page.tsx +13 -3
  103. package/assets/templates/themes/butter/butterPaletteRefs.generated.ts +2 -2
  104. package/assets/templates/themes/butter/butterTheme.ts +12 -10
  105. package/assets/templates/themes/butter/icons.tsx +2 -0
  106. package/assets/templates/themes/chocolate/chocolateTheme.ts +1 -0
  107. package/assets/templates/themes/chocolate/icons.tsx +2 -0
  108. package/assets/templates/themes/gothic/gothicPaletteRefs.generated.ts +1 -1
  109. package/assets/templates/themes/gothic/gothicTheme.ts +1 -0
  110. package/assets/templates/themes/gothic/icons.tsx +2 -0
  111. package/assets/templates/themes/matcha/icons.tsx +2 -0
  112. package/assets/templates/themes/matcha/matchaPaletteRefs.generated.ts +2 -2
  113. package/assets/templates/themes/matcha/matchaTheme.ts +1 -0
  114. package/assets/templates/themes/neutral/icons.tsx +2 -0
  115. package/assets/templates/themes/neutral/neutralPaletteRefs.generated.ts +2 -2
  116. package/assets/templates/themes/neutral/neutralTheme.ts +1 -0
  117. package/assets/templates/themes/stone/icons.tsx +2 -0
  118. package/assets/templates/themes/stone/stonePaletteRefs.generated.ts +1 -1
  119. package/assets/templates/themes/stone/stoneTheme.ts +1 -0
  120. package/assets/templates/themes/y2k/icons.tsx +2 -0
  121. package/assets/templates/themes/y2k/y2kTheme.ts +1 -0
  122. package/assets/theme.template.ts +9 -5
  123. package/authoring/config/parse.mjs +1 -1
  124. package/authoring/doctypes/base/type.ts +2 -3
  125. package/authoring/doctypes/component/component.doc.mjs +1 -1
  126. package/authoring/doctypes/icon-set/icon-names.mjs +1 -0
  127. package/authoring/integration/integration.doc.mjs +1 -1
  128. package/authoring/integration/type.ts +1 -1
  129. package/clients/cli/build-id.generated.json +1 -1
  130. package/clients/cli/commands/doctor.mjs +2 -2
  131. package/clients/cli/commands/experimental/export.mjs +2 -1
  132. package/clients/cli/commands/experimental/icon.mjs +17 -17
  133. package/clients/cli/commands/experimental/index.mjs +0 -5
  134. package/clients/cli/commands/experimental/render-output.mjs +9 -0
  135. package/clients/cli/commands/experimental-export.doc.mjs +6 -0
  136. package/clients/cli/commands/experimental-icon-add.doc.mjs +8 -8
  137. package/clients/cli/commands/experimental-icon-map.doc.mjs +6 -6
  138. package/clients/cli/commands/experimental-icon-new-definition.doc.mjs +6 -6
  139. package/clients/cli/commands/experimental-icon-new-set.doc.mjs +3 -3
  140. package/clients/cli/commands/experimental-icon-use.doc.mjs +1 -1
  141. package/clients/cli/commands/experimental-icon.doc.mjs +6 -6
  142. package/clients/cli/commands/experimental.doc.mjs +2 -6
  143. package/clients/cli/commands/template.mjs +1 -1
  144. package/clients/cli/commands/theme-build.doc.mjs +8 -1
  145. package/clients/cli/commands/theme-palette-generate.doc.mjs +1 -1
  146. package/clients/cli/commands/theme-remove.doc.mjs +1 -1
  147. package/clients/cli/commands/theme.doc.mjs +1 -11
  148. package/clients/cli/commands/theme.mjs +110 -475
  149. package/clients/cli/commands.generated.json +1 -1
  150. package/clients/cli/index.mjs +4 -34
  151. package/clients/cli/lib/base-gate.mjs +2 -3
  152. package/clients/cli/lib/cli-error.mjs +8 -72
  153. package/clients/cli/lib/define-command.mjs +0 -19
  154. package/clients/cli/lib/json-shim.mjs +11 -633
  155. package/clients/cli/lib/manifest.mjs +0 -4
  156. package/clients/cli/lib/stray-option.mjs +1 -2
  157. package/clients/cli/manifest.generated.json +1 -1
  158. package/foundation/agent-docs/agent-docs.mjs +1 -1
  159. package/foundation/color/css-color.mjs +2 -3
  160. package/foundation/discovery/app-layout.d.mts +13 -0
  161. package/foundation/discovery/app-layout.mjs +35 -0
  162. package/foundation/discovery/cli-self-docs.mjs +4 -4
  163. package/foundation/discovery/fixture-refs.d.mts +51 -0
  164. package/foundation/discovery/fixture-refs.mjs +351 -0
  165. package/foundation/discovery/icon-definition-discovery.mjs +7 -7
  166. package/foundation/discovery/icon-ranking.mjs +2 -2
  167. package/foundation/discovery/icon-set-checks.mjs +6 -6
  168. package/foundation/discovery/icon-set-discovery.mjs +2 -2
  169. package/foundation/discovery/icon-set-writer.d.mts +24 -7
  170. package/foundation/discovery/icon-set-writer.mjs +75 -31
  171. package/foundation/discovery/static-descriptor.d.mts +49 -0
  172. package/foundation/discovery/static-descriptor.mjs +548 -0
  173. package/foundation/discovery/template-adapter.d.mts +0 -47
  174. package/foundation/discovery/template-adapter.mjs +1 -333
  175. package/foundation/discovery/theme-discovery.d.mts +6 -47
  176. package/foundation/discovery/theme-discovery.mjs +15 -537
  177. package/foundation/doc-compiler/bundle.mjs +2 -2
  178. package/foundation/doc-compiler/import.mjs +1 -1
  179. package/foundation/env/user-dirs.d.mts +5 -2
  180. package/foundation/env/user-dirs.mjs +12 -5
  181. package/foundation/fonts/next-font.d.mts +26 -0
  182. package/foundation/fonts/next-font.mjs +149 -0
  183. package/foundation/fs/empty-folder.mjs +2 -2
  184. package/foundation/fs/read-record.mjs +11 -4
  185. package/foundation/pictures/pictures.d.mts +152 -0
  186. package/foundation/pictures/pictures.mjs +565 -0
  187. package/foundation/release/folder-lock.mjs +3 -2
  188. package/foundation/render/cut-short.d.mts +2 -2
  189. package/foundation/render/cut-short.mjs +2 -2
  190. package/foundation/render/drawn-contrast.d.mts +2 -2
  191. package/foundation/render/drawn-contrast.mjs +2 -2
  192. package/foundation/render/font-probe.d.mts +2 -2
  193. package/foundation/render/font-probe.mjs +2 -2
  194. package/foundation/render/layers.mjs +1 -2
  195. package/foundation/render/package-resolve-hooks.d.mts +25 -5
  196. package/foundation/render/package-resolve-hooks.mjs +77 -14
  197. package/foundation/render/page-worker.mjs +24 -12
  198. package/foundation/render/part-boxes.d.mts +2 -3
  199. package/foundation/render/part-boxes.mjs +2 -3
  200. package/foundation/render/picture-chrome.mjs +18 -15
  201. package/foundation/render/picture-playwright.mjs +10 -7
  202. package/foundation/render/picture-window.d.mts +13 -0
  203. package/foundation/render/picture-window.mjs +31 -0
  204. package/foundation/render/render-page.d.mts +1 -1
  205. package/foundation/render/render-page.mjs +4 -5
  206. package/foundation/render/single-copy-hooks.d.mts +2 -0
  207. package/foundation/render/single-copy-hooks.mjs +2 -0
  208. package/foundation/response/error-codes.doc.mjs +14 -14
  209. package/foundation/response/error-codes.mjs +13 -13
  210. package/foundation/response/response-types.doc.mjs +8 -69
  211. package/foundation/runtime/css-tree.mjs +2 -2
  212. package/foundation/runtime/word-table.d.mts +1 -1
  213. package/foundation/runtime/word-table.mjs +1 -1
  214. package/foundation/suggest/other-command.d.mts +52 -15
  215. package/foundation/suggest/other-command.mjs +168 -45
  216. package/foundation/text/suggest-order.d.mts +7 -0
  217. package/foundation/text/suggest-order.mjs +1 -1
  218. package/package.json +7 -8
  219. package/api/theme-edit/_adapter.d.mts +0 -228
  220. package/api/theme-edit/_adapter.mjs +0 -2025
  221. package/api/theme-edit/_catalog.d.mts +0 -172
  222. package/api/theme-edit/_catalog.mjs +0 -806
  223. package/api/theme-edit/_check.d.mts +0 -391
  224. package/api/theme-edit/_check.mjs +0 -9370
  225. package/api/theme-edit/_color.d.mts +0 -135
  226. package/api/theme-edit/_color.mjs +0 -480
  227. package/api/theme-edit/_compiler.d.mts +0 -77
  228. package/api/theme-edit/_compiler.mjs +0 -1053
  229. package/api/theme-edit/_context.d.mts +0 -399
  230. package/api/theme-edit/_context.mjs +0 -1778
  231. package/api/theme-edit/_css.d.mts +0 -169
  232. package/api/theme-edit/_css.mjs +0 -1167
  233. package/api/theme-edit/_edit.d.mts +0 -167
  234. package/api/theme-edit/_edit.mjs +0 -11220
  235. package/api/theme-edit/_how-commands.d.mts +0 -315
  236. package/api/theme-edit/_how-commands.mjs +0 -1664
  237. package/api/theme-edit/_how-question.d.mts +0 -341
  238. package/api/theme-edit/_how-question.mjs +0 -33291
  239. package/api/theme-edit/_how-sides.d.mts +0 -22
  240. package/api/theme-edit/_how-sides.mjs +0 -173
  241. package/api/theme-edit/_how-steps.d.mts +0 -42
  242. package/api/theme-edit/_how-steps.mjs +0 -208
  243. package/api/theme-edit/_how-values.d.mts +0 -29
  244. package/api/theme-edit/_how-values.mjs +0 -111
  245. package/api/theme-edit/_how-words.d.mts +0 -15
  246. package/api/theme-edit/_how-words.mjs +0 -239
  247. package/api/theme-edit/_how.d.mts +0 -55
  248. package/api/theme-edit/_how.mjs +0 -2388
  249. package/api/theme-edit/_importers.d.mts +0 -38
  250. package/api/theme-edit/_importers.mjs +0 -188
  251. package/api/theme-edit/_marks.d.mts +0 -39
  252. package/api/theme-edit/_marks.mjs +0 -67
  253. package/api/theme-edit/_missed.d.mts +0 -56
  254. package/api/theme-edit/_missed.mjs +0 -1128
  255. package/api/theme-edit/_name-rule.d.mts +0 -11
  256. package/api/theme-edit/_name-rule.mjs +0 -12
  257. package/api/theme-edit/_normal.d.mts +0 -365
  258. package/api/theme-edit/_normal.mjs +0 -1978
  259. package/api/theme-edit/_overview.d.mts +0 -9
  260. package/api/theme-edit/_overview.mjs +0 -293
  261. package/api/theme-edit/_palette.d.mts +0 -616
  262. package/api/theme-edit/_palette.mjs +0 -2776
  263. package/api/theme-edit/_part-pieces.d.mts +0 -54
  264. package/api/theme-edit/_part-pieces.mjs +0 -179
  265. package/api/theme-edit/_part-words.d.mts +0 -39
  266. package/api/theme-edit/_part-words.mjs +0 -242
  267. package/api/theme-edit/_parts.d.mts +0 -402
  268. package/api/theme-edit/_parts.mjs +0 -2294
  269. package/api/theme-edit/_picture-traits.d.mts +0 -259
  270. package/api/theme-edit/_picture-traits.mjs +0 -1030
  271. package/api/theme-edit/_png.d.mts +0 -94
  272. package/api/theme-edit/_png.mjs +0 -479
  273. package/api/theme-edit/_preview-app.d.mts +0 -172
  274. package/api/theme-edit/_preview-app.mjs +0 -6430
  275. package/api/theme-edit/_preview.d.mts +0 -549
  276. package/api/theme-edit/_preview.mjs +0 -3264
  277. package/api/theme-edit/_project.d.mts +0 -207
  278. package/api/theme-edit/_project.mjs +0 -643
  279. package/api/theme-edit/_resolved.d.mts +0 -46
  280. package/api/theme-edit/_resolved.mjs +0 -800
  281. package/api/theme-edit/_set-line.d.mts +0 -29
  282. package/api/theme-edit/_set-line.mjs +0 -100
  283. package/api/theme-edit/_settings.d.mts +0 -2426
  284. package/api/theme-edit/_settings.mjs +0 -18435
  285. package/api/theme-edit/_tables.d.mts +0 -227
  286. package/api/theme-edit/_tables.mjs +0 -1128
  287. package/api/theme-edit/_text-looks.d.mts +0 -78
  288. package/api/theme-edit/_text-looks.mjs +0 -376
  289. package/api/theme-edit/_vet.d.mts +0 -50
  290. package/api/theme-edit/_vet.mjs +0 -166
  291. package/api/theme-edit/how/how.d.mts +0 -17
  292. package/api/theme-edit/how/how.mjs +0 -28
  293. package/api/theme-edit/new/new.d.mts +0 -11
  294. package/api/theme-edit/new/new.mjs +0 -22
  295. package/api/theme-edit/preview-add/preview-add.d.mts +0 -14
  296. package/api/theme-edit/preview-add/preview-add.mjs +0 -25
  297. package/api/theme-edit/preview-app/preview-app.d.mts +0 -13
  298. package/api/theme-edit/preview-app/preview-app.mjs +0 -24
  299. package/api/theme-edit/preview-list/preview-list.d.mts +0 -10
  300. package/api/theme-edit/preview-list/preview-list.mjs +0 -21
  301. package/api/theme-edit/preview-remove/preview-remove.d.mts +0 -12
  302. package/api/theme-edit/preview-remove/preview-remove.mjs +0 -23
  303. package/api/theme-edit/set/set.d.mts +0 -13
  304. package/api/theme-edit/set/set.mjs +0 -24
  305. package/api/theme-edit/show/show.d.mts +0 -13
  306. package/api/theme-edit/show/show.mjs +0 -24
  307. package/api/theme-edit/theme-edit.d.mts +0 -12
  308. package/api/theme-edit/theme-edit.mjs +0 -36
  309. package/api/theme-edit/theme-edit.type.d.mts +0 -730
  310. package/api/theme-edit/theme-edit.type.mjs +0 -342
  311. package/api/theme-edit/themeEditHow.doc.d.mts +0 -6
  312. package/api/theme-edit/themeEditHow.doc.mjs +0 -105
  313. package/api/theme-edit/themeEditNew.doc.d.mts +0 -5
  314. package/api/theme-edit/themeEditNew.doc.mjs +0 -112
  315. package/api/theme-edit/themeEditPreviewAdd.doc.d.mts +0 -6
  316. package/api/theme-edit/themeEditPreviewAdd.doc.mjs +0 -121
  317. package/api/theme-edit/themeEditPreviewApp.doc.d.mts +0 -6
  318. package/api/theme-edit/themeEditPreviewApp.doc.mjs +0 -87
  319. package/api/theme-edit/themeEditPreviewList.doc.d.mts +0 -6
  320. package/api/theme-edit/themeEditPreviewList.doc.mjs +0 -62
  321. package/api/theme-edit/themeEditPreviewRemove.doc.d.mts +0 -6
  322. package/api/theme-edit/themeEditPreviewRemove.doc.mjs +0 -96
  323. package/api/theme-edit/themeEditSet.doc.d.mts +0 -6
  324. package/api/theme-edit/themeEditSet.doc.mjs +0 -175
  325. package/api/theme-edit/themeEditShow.doc.d.mts +0 -6
  326. package/api/theme-edit/themeEditShow.doc.mjs +0 -118
  327. package/api/theme-edit/themeEditUndo.doc.d.mts +0 -6
  328. package/api/theme-edit/themeEditUndo.doc.mjs +0 -133
  329. package/api/theme-edit/undo/undo.d.mts +0 -13
  330. package/api/theme-edit/undo/undo.mjs +0 -24
  331. package/assets/preview-app/README.md +0 -6
  332. package/assets/preview-app/css.d.ts +0 -5
  333. package/assets/preview-app/gitignore +0 -4
  334. package/assets/preview-app/next.config.mjs +0 -12
  335. package/assets/preview-app/package.json +0 -24
  336. package/assets/preview-app/src/app/globals.css +0 -6
  337. package/assets/preview-app/src/app/layout.tsx +0 -21
  338. package/assets/preview-app/src/app/page.tsx +0 -94
  339. package/assets/preview-app/src/app/providers.tsx +0 -16
  340. package/assets/preview-app/tsconfig.json +0 -27
  341. package/clients/cli/commands/experimental/theme.mjs +0 -2990
  342. package/clients/cli/commands/experimental-theme-add.doc.mjs +0 -80
  343. package/clients/cli/commands/experimental-theme-compile.doc.mjs +0 -98
  344. package/clients/cli/commands/experimental-theme-editor-how.doc.mjs +0 -196
  345. package/clients/cli/commands/experimental-theme-editor-new.doc.mjs +0 -174
  346. package/clients/cli/commands/experimental-theme-editor-set.doc.mjs +0 -139
  347. package/clients/cli/commands/experimental-theme-editor-show.doc.mjs +0 -77
  348. package/clients/cli/commands/experimental-theme-editor-undo.doc.mjs +0 -105
  349. package/clients/cli/commands/experimental-theme-editor.doc.mjs +0 -49
  350. package/clients/cli/commands/experimental-theme-eject.doc.mjs +0 -72
  351. package/clients/cli/commands/experimental-theme-list.doc.mjs +0 -49
  352. package/clients/cli/commands/experimental-theme-preview-add.doc.mjs +0 -88
  353. package/clients/cli/commands/experimental-theme-preview-app.doc.mjs +0 -61
  354. package/clients/cli/commands/experimental-theme-preview-list.doc.mjs +0 -48
  355. package/clients/cli/commands/experimental-theme-preview-remove.doc.mjs +0 -59
  356. package/clients/cli/commands/experimental-theme-preview.doc.mjs +0 -41
  357. package/clients/cli/commands/experimental-theme-remove.doc.mjs +0 -57
  358. package/clients/cli/commands/experimental-theme-targets.doc.mjs +0 -62
  359. package/clients/cli/commands/experimental-theme-template.doc.mjs +0 -63
  360. package/clients/cli/commands/experimental-theme-use.doc.mjs +0 -57
  361. package/clients/cli/commands/experimental-theme.doc.mjs +0 -60
  362. package/foundation/fonts/fontsource-families.generated.d.mts +0 -5
  363. package/foundation/fonts/fontsource-families.generated.mjs +0 -2110
package/CHANGELOG.md CHANGED
@@ -1,4 +1,170 @@
1
- # @xds/cli
1
+ # @astryxdesign/cli
2
+
3
+ # 0.7.18
4
+
5
+ #### Experimental APIs
6
+
7
+ - The icon-set doctype's `drag` definition becomes a built-in one, as Core's shared icon names gain `drag`. An icon set maps every built-in definition, so `astryx integration check` reports `icon_builtin_definition_missing` for a set without `drag` until it maps one.
8
+ - Core's palette source, and the CLI's generated copy of it, measure a status role's border like its icon, so a role whose border reads at no shade keeps the base theme's colors, as one whose icon reads at no shade already does. Every border and icon take the same search, so no theme output changes.
9
+ - `astryx experimental export --pictures` also takes pictures of the written file, to check how it looks before sharing it: a phone in light and dark, and a desktop window, after the page's script ran, with a browser already on the machine (the project's Playwright, else Chrome or Chromium). The pictures go into a temp folder, and the JSON adds `data.pictures` with their paths. With no browser, it says why in one line and the file stands as written. Without the flag nothing changes.
10
+ - `astryx experimental export`'s `unknown-prop-value` warning also checks each branch of a conditional prop value whose branches are all string literals: `<Button variant={busy ? 'ghost' : 'danger'}>` warns that Button has no variant "danger". A branch that is `null` or `undefined` gives no value; a value with a branch the export cannot be certain of (a parameter, a call) is not checked.
11
+ - `astryx experimental export`'s `unknown-prop-value` warning also names a value of the wrong kind for a Core prop: "page.tsx:12: VStack gap expects one of 0, 0.5, 1, 1.5, 2, 3, 4, 5, 6, 8, 10; got a string." for `<VStack gap="md">`, which draws no gap It warns only when the written value is certain (a literal, a conditional of certain branches, a logical expression whose result JavaScript certainly picks (`'' || 'primary'` gives only `'primary'`), a `const` bound to one, or the first value of `useState`) and the prop's declared type in the page's Core is one it can read; anything else is not checked. The same wrong kind for one prop on several lines of a file is one warning that lists the lines. The has-no-value check reads the same certain values, so it also checks a `const` bound to a string and the first value of `useState('…')`. A prop written before a spread attribute (`variant="danger" {...rest}`) is no longer checked, since the spread can replace it. A value cast to `never`, `any` or `unknown` (`variant={'brand' as never}`) is not checked. A page that throws while rendering (`<TextInput status="error">`, whose status takes an object) gets the render error and no warnings.
12
+ - `astryx experimental export` says once when it cannot check a page's Core prop names (no Core installed, or no TypeScript or React types), with doctor's reason and, in a project, what to install; React's console lines for a prop it names no longer hide what the page printed itself, and a cut prop list names the `component <Name> --package @astryxdesign/core` command that lists the rest.
13
+ - `astryx experimental export` warns for a prop a page gives a Core component that the component does not take, judged as `astryx doctor` judges it, with the documented prop of the same words or the props the component takes.
14
+ - With no icon set installed, `experimental icon` lists the built-in that draws in place of a matching definition Core does not draw, since Core draws only built-in names without a set: `question` now lists `info` before `help`. A built-in that the query also matches takes the better of its own place and that definition's place; one that only this brings comes after the built-ins that match, so `review check` still lists `check` first. A match ranked above it with no built-in to fall back to keeps it out: `settings` still lists `settings` first.
15
+ - `astryx experimental icon` reads the words after the icon word that name a component of the project's Core as where the icon goes: they count only to break a tie, so `information icon popover links` finds the info icon, not a link icon.
16
+ - The API docs of `icon()`, `iconAdd()`, `iconMap()`, `iconNewDefinition()` and `iconNewSet()` say "icon meaning". Function names, options and JSON keys do not change.
17
+ - The icon-set checks of `integration check` and Doctor say "icon meaning": the optional list is headed "Unmapped icon meanings (optional)", and the issues for built-in, replaced, declared and unknown meanings use the same word. Issue codes and JSON fields do not change.
18
+ - The help and command docs of `astryx experimental icon` and its subcommands say "icon meaning" for an entry of Astryx's shared list of what icons are for; `add` and `map` no longer say they "register" an icon. One row takes its text from the API docs and changes with them: `map`'s first argument. Commands and flags do not change.
19
+ - An icon match found through an icon meaning gives `reason` `meaning "close"` instead of `definition "close"`, in JSON and text.
20
+ - Some icon command messages say "icon meaning" where they said "icon definition": the `experimental icon --definitions` listing and the no-set matches, and the receipts, errors and suggestions of `add`, `map`, `new-set` and `new-definition`. The icon-set check messages are reworded separately. Commands, flags, placeholders, error codes and JSON keys do not change.
21
+ - Three parser rules say "icon meaning": an icon set's `map` keys, an icon meaning's `words` and `replaces`, and a template's `icons` values.
22
+ - The icon response types (`icon.type.mjs` and the icon rows of the response type docs) say "icon meaning". Type names, members and JSON keys do not change.
23
+ - Template copy receipts say "icon meaning", `integration check`'s notes on undeclared template icons say "icon meaning", and the hint with no icon set installed says "Find an icon set".
24
+ - The icon commands' messages call the style, size and weight words in a library's export names "look words" (`new-set --from` and its default-look checks). Commands, flags, error codes and JSON keys do not change.
25
+ - When `astryx experimental export --pictures` finds no system temp folder to write the pictures to, its skip reason now says what to do: set TMPDIR (TEMP on Windows) to a writable folder outside the home folder, then run the command again.
26
+ - `astryx experimental theme` is removed: the theme editor (`editor new`, `set`, `show`, `undo` and `how`), its previews (`preview add`, `app`, `list` and `remove`), and the group's copies of the theme commands (`add`, `remove`, `use`, `list`, `eject`, `compile`, `template` and `targets`). `@astryxdesign/cli/api/experimental` no longer exports the editor's functions (`themeEditHow`, `themeEditNew`, `themeEditPreviewAdd`, `themeEditPreviewApp`, `themeEditPreviewList`, `themeEditPreviewRemove`, `themeEditSet`, `themeEditShow` and `themeEditUndo`) or their types, among them `ThemeEditHowResult`, `ThemeEditPartValue` and `ThemeEditShowPartResponse`; there is no replacement on main, and `render` stays. The experimental error codes that only the editor used stay in the error-code set, and no command uses them now.
27
+ Compatibility: these JSON ids of v0.7.17 belonged only to `astryx experimental theme` and `@astryxdesign/cli/api/experimental`, which are experimental: no stable command or stable export returns them, so a consumer of v0.7.17's stable surface keeps working. The response types are `themeEdit.how`, `themeEdit.new`, `themeEdit.previewAdd`, `themeEdit.previewApp`, `themeEdit.previewList`, `themeEdit.previewRemove`, `themeEdit.set`, `themeEdit.show`, `themeEdit.undo`. The fields are `ThemeEditChangeData.action`, `ThemeEditChangeData.alsoRemoved`, `ThemeEditChangeData.appCopy`, `ThemeEditChangeData.appCopyStale`, `ThemeEditChangeData.changedPartTokens`, `ThemeEditChangeData.changedTokens`, `ThemeEditChangeData.group`, `ThemeEditChangeData.kept`, `ThemeEditChangeData.leftOut`, `ThemeEditChangeData.lifted`, `ThemeEditChangeData.missed`, `ThemeEditChangeData.missedOn`, `ThemeEditChangeData.missedParts`, `ThemeEditChangeData.missedWhere`, `ThemeEditChangeData.newProblems`, `ThemeEditChangeData.notChecked`, `ThemeEditChangeData.notes`, `ThemeEditChangeData.now`, `ThemeEditChangeData.parts`, `ThemeEditChangeData.pictureProblem`, `ThemeEditChangeData.pictures`, `ThemeEditChangeData.preview`, `ThemeEditChangeData.previewStale`, `ThemeEditChangeData.problems`, `ThemeEditChangeData.removed`, `ThemeEditChangeData.replaced`, `ThemeEditChangeData.see`, `ThemeEditChangeData.setting`, `ThemeEditChangeData.sheetStale`, `ThemeEditChangeData.styled`, `ThemeEditChangeData.theme`, `ThemeEditChangeData.warnings`, `ThemeEditChangeData.was`, `ThemeEditChangeOptions.cwd`, `ThemeEditChangeOptions.mode`, `ThemeEditChangeOptions.on`, `ThemeEditChangeOptions.only`, `ThemeEditChangeOptions.png`, `ThemeEditChangeOptions.state`, `ThemeEditChangeOptions.when`, `ThemeEditChangeResponse.data`, `ThemeEditChangeResponse.type`, `ThemeEditColor.color`, `ThemeEditColor.seed`, `ThemeEditColor.tokens`, `ThemeEditHowOptions.at`, `ThemeEditHowOptions.count`, `ThemeEditHowOptions.cwd`, `ThemeEditHowOptions.list`, `ThemeEditHowOptions.theme`, `ThemeEditHowOptions.words`, `ThemeEditHowResponse.data`, `ThemeEditHowResponse.type`, `ThemeEditNewOptions.cwd`, `ThemeEditNewOptions.like`, `ThemeEditNewOptions.png`, `ThemeEditNewOptions.settings`, `ThemeEditNewResponse.data`, `ThemeEditNewResponse.type`, `ThemeEditPreviewAddOptions.cwd`, `ThemeEditPreviewAddOptions.path`, `ThemeEditPreviewAddOptions.template`, `ThemeEditPreviewAddOptions.theme`, `ThemeEditPreviewAddOptions.top`, `ThemeEditPreviewAddResponse.data`, `ThemeEditPreviewAddResponse.data.added`, `ThemeEditPreviewAddResponse.data.files`, `ThemeEditPreviewAddResponse.data.folder`, `ThemeEditPreviewAddResponse.data.matched`, `ThemeEditPreviewAddResponse.data.notes`, `ThemeEditPreviewAddResponse.data.open`, `ThemeEditPreviewAddResponse.data.pages`, `ThemeEditPreviewAddResponse.data.refreshed`, `ThemeEditPreviewAddResponse.data.skipped`, `ThemeEditPreviewAddResponse.data.theme`, `ThemeEditPreviewAddResponse.data.urls`, `ThemeEditPreviewAddResponse.type`, `ThemeEditPreviewAppOptions.cwd`, `ThemeEditPreviewAppOptions.theme`, `ThemeEditPreviewAppResponse.data`, `ThemeEditPreviewAppResponse.data.files`, `ThemeEditPreviewAppResponse.data.folder`, `ThemeEditPreviewAppResponse.data.notes`, `ThemeEditPreviewAppResponse.data.open`, `ThemeEditPreviewAppResponse.data.pages`, `ThemeEditPreviewAppResponse.data.theme`, `ThemeEditPreviewAppResponse.data.urls`, `ThemeEditPreviewAppResponse.type`, `ThemeEditPreviewFields.appCopy`, `ThemeEditPreviewFields.appCopyStale`, `ThemeEditPreviewFields.notChecked`, `ThemeEditPreviewFields.pictureProblem`, `ThemeEditPreviewFields.pictures`, `ThemeEditPreviewFields.preview`, `ThemeEditPreviewFields.previewStale`, `ThemeEditPreviewFields.see`, `ThemeEditPreviewFields.sheetStale`, `ThemeEditPreviewListOptions.cwd`, `ThemeEditPreviewListOptions.path`, `ThemeEditPreviewListResponse.data`, `ThemeEditPreviewListResponse.type`, `ThemeEditPreviewRemoveResponse.data`, `ThemeEditPreviewRemoveResponse.data.folder`, `ThemeEditPreviewRemoveResponse.data.kept`, `ThemeEditPreviewRemoveResponse.data.missing`, `ThemeEditPreviewRemoveResponse.data.notes`, `ThemeEditPreviewRemoveResponse.data.pages`, `ThemeEditPreviewRemoveResponse.data.removed`, `ThemeEditPreviewRemoveResponse.data.rewritten`, `ThemeEditPreviewRemoveResponse.type`, `ThemeEditProblem.fix`, `ThemeEditProblem.problem`, `ThemeEditSetting.axis`, `ThemeEditSetting.mode`, `ThemeEditSetting.note`, `ThemeEditSetting.on`, `ThemeEditSetting.only`, `ThemeEditSetting.source`, `ThemeEditSetting.state`, `ThemeEditSetting.thing`, `ThemeEditSetting.value`, `ThemeEditSetting.when`, `ThemeEditShowOptions.cwd`, `ThemeEditShowOptions.png`, `ThemeEditShowOptions.section`, `ThemeEditShowResponse.data`, `ThemeEditShowResponse.data.appCopy`, `ThemeEditShowResponse.data.appCopyStale`, `ThemeEditShowResponse.data.colorFiles`, `ThemeEditShowResponse.data.colorNotes`, `ThemeEditShowResponse.data.colors`, `ThemeEditShowResponse.data.like`, `ThemeEditShowResponse.data.look`, `ThemeEditShowResponse.data.missed`, `ThemeEditShowResponse.data.mode`, `ThemeEditShowResponse.data.notes`, `ThemeEditShowResponse.data.openProblems`, `ThemeEditShowResponse.data.partValues`, `ThemeEditShowResponse.data.pictureProblem`, `ThemeEditShowResponse.data.pictures`, `ThemeEditShowResponse.data.preview`, `ThemeEditShowResponse.data.previewStale`, `ThemeEditShowResponse.data.problems`, `ThemeEditShowResponse.data.resolved`, `ThemeEditShowResponse.data.settings`, `ThemeEditShowResponse.data.sheet`, `ThemeEditShowResponse.data.sheetComponents`, `ThemeEditShowResponse.data.skipped`, `ThemeEditShowResponse.data.theme`, `ThemeEditShowResponse.data.unreached`, `ThemeEditShowResponse.data.vibrancy`, `ThemeEditShowResponse.data.wiring`, `ThemeEditShowResponse.type`, `ThemeEditUndoOptions.cwd`, `ThemeEditUndoOptions.mode`, `ThemeEditUndoOptions.on`, `ThemeEditUndoOptions.only`, `ThemeEditUndoOptions.png`, `ThemeEditUndoOptions.state`, `ThemeEditUndoOptions.thing`, `ThemeEditUndoOptions.value`, `ThemeEditUndoOptions.when`, `ThemeEditUndoResponse.data`, `ThemeEditUndoResponse.type`.
28
+ - `astryx experimental export`: the note at the top of a rendered file says how to get ready to work offline. npx cannot fetch the CLI without a network, so the note tells the reader to install `@astryxdesign/cli` for their computer while online, at the version that rendered the file, to run steps 1 and 3 once with it while still online, so it keeps the Core a render needs, and then to run the same commands as `astryx` offline.
29
+ - The citation blocks and the Markdown cited-content block import their icons by meaning from the template icon placeholders, like every other bundled template. A new `article` meaning draws the cited-content block's newspaper icon and falls back to `document`, so icon sets that do not map `article` draw their document icon.
30
+ - Where icon features are on, the `experimental icon` help runs that an unknown `icon` or `icons` names keep the program options you typed: `astryx icons --json` names `astryx experimental icon --help --json`, and `astryx icon --json add trash` names `astryx experimental icon add --help --json`.
31
+ - Where icon features are on, an unknown `icon` or `icons` also names `astryx experimental icon` with the words to look for that follow it (`icon search arrow` names `experimental icon arrow`), its `--list` when the words ask only for the list, and the help of a subcommand that the first word to look for names (`icon add trash` and `icon search use lucide` name `experimental icon add --help` and `experimental icon use --help`).
32
+
33
+ #### New Features
34
+
35
+ - In a project whose CLI has `experimental export`, the agent block that `astryx init` writes says what to do when asked to share a page as one file: run `astryx experimental export <page.tsx>`; `--reverse` gets the source back. Asked to share a page as one file, agents built their own single HTML file instead; with the line, they export the page.
36
+ - When `astryx docs <namespace>/<name>` finds nothing and exactly one page further down that namespace has that name or title, the error suggests that page: a miss on `authoring/define-the-theme` suggests `authoring/building-blocks/themes/define-the-theme` first. When the route names the namespace's first child by route, that child stays first and the page comes right after it; the other children follow.
37
+ - Text fields and checkbox and radio boxes now have an edge people can find. A new theme role, `--color-border-control`, is the edge of a field shell and of a checkbox or radio box, at 3:1 or more against the surface and the page body (WCAG 2.2 non-text contrast). Before, these edges used `--color-border-emphasized`, which reached only 1.4–2.2:1 in Core's default theme, and the field surface differs from the page by only about 1.1:1, so the edge was the only cue.
38
+ What changes on screen:
39
+
40
+ - Core's default control edge is `#878D95` (light) and `#666A70` (dark), instead of `#CCD3DB` and `#494D53`.
41
+ - Every field built on the shared field shell uses it: TextInput, TextArea, NumberInput, DateInput, DateRangeInput, DateTimeInput, TimeInput, FileInput, Selector, MultiSelector, ComplexSelector, Typeahead, Tokenizer, PanelSearchInput, PowerSearch, RichTextEditor, and InputGroupText inside an InputGroup. The field shell's hover ring is mixed from the same edge; FileInput keeps its accent hover ring.
42
+ - Unchecked CheckboxInput, CheckboxList, RadioList, and DropdownMenu checkbox and radio boxes use it. Checked and disabled boxes are unchanged.
43
+ - A flat ChatComposer (`elevation="none"`) uses it too, because its edge is the only cue to where you type. The raised default keeps its shadow and draws no border.
44
+ - Every first-party theme sets its own value at 3:1 or more against its own surface and page body, and generated themes (`defineTheme({color})`) derive one.
45
+ - Cards, dividers, and every other use of `--color-border-emphasized` keep their lighter edge.
46
+
47
+ Custom themes: a theme that doesn't set `--color-border-control` gets Core's default. A custom theme that set only `--color-border-emphasized` for its field edges now gets Core's default control edge; set `--color-border-control` to a value that suits your palette and reaches 3:1 against your surface and page body.
48
+
49
+ This builds on rubyycheung's contrast work in #7662 and #7766.
50
+ - The `dashboard-scorecard` template shows its headline numbers two to a row below 768px, instead of one to a row at every width below 768px, when two tiles fit with room for five times the value's type size inside their own padding; otherwise it keeps one to a row. It never puts two numbers in a row where they do not fit, whether the phone is narrow, the theme's tile inset is wide or the text size is larger, set in the browser or on the phone. Below 768px a tile's change figure moves under the value when the two do not fit side by side. Widths of 768px and up are unchanged.
51
+ - `astryx theme remove` of a shared theme keeps the whole copy, with its receipt and the packages it installed, when a file of it changed since the add, so the folder stays a whole copy instead of a part of one. Adding the same theme again over it names the changed files and says to delete them (or move the changes out) first.
52
+
53
+ #### Fixes
54
+
55
+ - `astryx theme build` and `astryx doctor` no longer report `SFMono-Regular` as a font the theme does not load. It is the PostScript name of SF Mono, which Core's own reset lists after `ui-monospace`.
56
+ - When `astryx component <Name>` finds nothing and a run of the name's words is a hook's name without its verb, the error suggests that hook: `astryx component TopLayer` suggests `astryx hook useLayer`, and `astryx component Reorderable` suggests `astryx hook createReorderable`. The longest such run wins, and a suggested component whose name carries those words stays ahead of the hint.
57
+ - When a docs path finds nothing and its last part names a Core component or a Core hook by its full name, as typed or as a plural (`s` or `es`), the error suggests that command: a miss on `widgets/Buttons` suggests `astryx component Button`. A stable doc or topic with that name still wins, so a miss on `guides/icons` suggests docs.
58
+ - `astryx doctor`'s `core-props` check, when the pages find no installed Core or TypeScript cannot read React's types, now ends its reason with what to install.
59
+ - In a Next.js app whose root layout imports `next/font/google`, `next/font/local` or a `geist/font` entry, `astryx doctor`'s theme-fonts fix for the app's own (local) themes and `astryx theme build`'s font notes now name the fix the app needs: set the theme's font family to the font's CSS variable, such as `var(--font-geist-sans)`. A package theme keeps its font stylesheet fix. next/font loads each family under a name of its own, so a theme that names the family (`'Geist'`) does not use the loaded font, and the warning stays. `astryx docs font-setup` adds the next/font recipe.
60
+ Reported by @phenomen.
61
+ - The editor page template is no wider than a phone screen before its script runs, as in an exported page: the side panel takes no room below 769 px in CSS. Before, the 320 px panel docked at the side until the script moved it into the header, and the page was 384 px wide on a 320 px or 375 px phone. Until the script runs, the blocks table is cut to its area; then it scrolls, as before. Desktop is unchanged. The template now imports StyleX for this rule.
62
+ - `theme build --family` builds a family whose member imports a local TypeScript or JSX icon registry, as a single `theme build` of that member does, and compiles it into `<family-key>.modules/`. The family build now checks each compiled registry by importing its compiled copy with Node, as the family module will, before it writes its outputs. Before, it imported the registry's source with Node and stopped with `Cannot import family registry …` on a `.tsx` or `.jsx` file, on a `.ts` file before Node 22.18, or on a local import written without its extension. A registry whose imports plain Node cannot load (such as a package whose entry is `.tsx`) still stops the build, naming that file, and nothing is written.
63
+ - `theme build --family --check` reports a family whose member has a local TypeScript or JSX registry up to date right after its build: when every module the build compiles matches its committed copy in `<family-key>.modules/`, it checks each compiled registry by importing that committed copy, and writes nothing. A copy that is stale or missing is reported by the comparison of the outputs.
64
+ - ChatComposerInput restores a token when a whitespace-delimited word in a loaded or recalled draft deserializes to a token with the same value. Serialized token values containing whitespace remain plain text. Mention examples include deserializers.
65
+ - The SideNav showcase now includes support and settings destinations in its footer so the Overview preview demonstrates the complete navigation surface.
66
+ - `importTemplateModule` builds its file URL with `pathToFileURL`, so a template doc in a folder whose path contains `#`, `?` or `%` loads.
67
+ - Outside a project, when an integration that the folder loads itself (its own source, or a package it declares) has issues, commands such as `astryx search` and `astryx discover` now say to run `astryx doctor integration validate <package>`, which checks that copy. Before, they said to run `astryx doctor`, which outside a project checks only the integrations installed for the computer, so it named none of these issues. Those commands now print in full an issue that `astryx doctor integration validate` does not check, such as a template that replaces a template id Core does not have. For an integration installed for the computer that cannot load because a package it imports is missing, those commands now point to `astryx doctor integration validate <package>`, the command `astryx doctor` names for it.
68
+ - A lookup that misses now suggests a component family that `astryx component <Name>` opens by its own doc, such as Chat. Before, `astryx docs Chat` listed every docs namespace; now it suggests `astryx component Chat`.
69
+ - `astryx hook <name>` prints a hook documented with props (such as `useTableSelectionState`, `useTableSelection` and the other Table plugin hooks) in the component read's layout: its description and usage text, its props and its examples, where the default read printed only the title (and, for `useTableSortable`, `useTablePagination` and `useTableInfiniteScroll`, the usage text). The short and brief reads print the component read's description and prop lines, without its import line. The JSON is unchanged.
70
+ - On a package that is its own icon library, and whose root re-exports the set's generated module (`export * from './icon-sets/<set>/<set>.generated.js'`, the line the CLI suggests), every `astryx experimental icon` read of that library now leaves out the set's own names: a `new-set --from` refresh, `add --variant <look> --all`, `add <Export>` (which names the icon by its glyph again, and neither accepts nor suggests the set's own names as the library's exports), and a `new-set --default-variant` change without `--from`. Before, the set's own short names in the root were read as library icons, so the refresh refused with "The generated icons module already exports …" or would have re-exported the set from itself.
71
+ - In the Tool: IDE page template, the History tab's entries show a clock icon from the icon set instead of a hand-drawn dot.
72
+ - `astryx doctor` and `astryx theme build` name the next/font fix (the theme's font family set to the font's CSS variable) in a Pages Router app that loads next/font in `pages/_app`, and when the root layout imports its fonts, by a relative path (such as `./fonts`) or a tsconfig or jsconfig `paths` alias (such as `@/app/fonts`), from a module that itself imports or re-exports next/font. `theme build --detail full` and `theme build --family` print that fix once instead of once per family.
73
+ - When an integration has a component that replaces a name Core does not have, commands such as `astryx search` and `astryx discover` now print that issue themselves where `astryx doctor` cannot check it: outside a project, and in a project with no Core installed. Before, outside a project they said to run `astryx doctor`, which passed without naming it; in a project with no Core installed, `astryx doctor` reported every replacement, correct or not, as replacing a name that is not a Core component. Where no Core is available to compare with, a correct replacement is no longer reported as an error.
74
+ - When `astryx experimental export --pictures` takes its pictures with an installed Google Chrome or Chromium, the browser no longer asks the macOS keychain or the Linux password store for access. Before, each browser start could open a keychain dialog.
75
+ - Inside a recorded run, `fs.promises.readFile` given a URL that names no local file (a non-`file:` scheme, or a `file:` URL with an encoded `/`) now returns a rejected promise, as it does outside a run, instead of throwing at the call.
76
+ - `astryx search` puts an entry that is not a doc in its every-word tier only when two of the query's words match it strongly (a keyword-strength hit, or a word or the start of a word of its own name, display name or title). `astryx build` ranks as before.
77
+ - `astryx search` counts a query word of 3+ letters that is a whole word of a component's or hook's name as a name match, however short the word is against the name: `list of details` now leads with MetadataList, and `power` with PowerSearch. Such a word can add an entry to the answer, and `rankSearchIndex()` answers the same way. A hook's leading `use` and template names keep today's name rule, and `astryx build` ranks as before.
78
+ - Search: a family's root now moves ahead of a part from another run only when its own hits on the part's words have keyword strength (its whole name, its name's head word, or a keyword, also one edit away), not a word inside its name or a mention in its description or guidance. `astryx search router` and `astryx search "react router"` list LinkProvider first again, and `astryx search close` no longer lifts Dialog, which only its guidance links to closing, to second place; at the default limit a few such roots now fall out of the first 20. Matches, scores, reasons and counts are unchanged; `build` is unchanged.
79
+ - Search: an entry whose name has three or more words now comes first in its group of results when the query writes every word of that name, in order and apart, with at most one word misspelled (same first letter). `astryx search "pagination dots carousle"` lists the PaginationDotsCarousel block before the Pagination component, and `toggle button gropu` lists ToggleButtonGroup before ToggleButton. Matches, scores, reasons and counts are unchanged; `build` is unchanged.
80
+ - A SegmentedControl's segments grow with their labels when the text size grows past their height (iOS Dynamic Type at its accessibility sizes, or a browser's larger text), instead of holding a fixed height that the label runs out of. At the default text size every segment keeps its height, on a desktop and on a phone.
81
+ - The SideNav header-menu block builds its account menu from NavHeadingMenu items, so assistive technology reads a valid menu of menu items instead of list items inside a menu.
82
+ - When `astryx template <name> <path>` refuses a destination outside the project and also names the command that writes it from the destination's folder, its message now says so too: the template is written only inside the folder the command runs in, and running the command from the destination's folder is one of the ways on. It no longer says the template is written only inside the project just above that command.
83
+ - The payment form template and the citation example blocks load no images from other sites. Payment options and card networks show as text with icons, and citation sources show an icon, so the pages look complete offline.
84
+ - `theme build --check` no longer reads a theme family as out of date when only the command named in its built-by lines differs. A built family module names the command that built it once per member theme, and outputs an earlier release built with another command (`pnpm dlx … theme build`, for example) failed the check with otherwise identical content. The check already ignored that line in a single theme's module; it now ignores it on every member's line, and `integration verify` does the same. A second line for one theme, or any other change to the module, is still out of date.
85
+ - Stable commands no longer point to the removed experimental theme editor's commands; only the protections for folders an earlier editor made still name it. The root help now points to `docs author-a-theme`. The `theme` help, `docs theme` (its sections keep their names), the agent docs, `init`'s next steps, the `theme eject` and `theme palette generate` results, the theme template, and `theme`'s answer to a word it does not know name only stable commands. `theme build` no longer warns about a theme the editor made, and it answers a missing file that the editor writes as not found. When the working theme of a theme copy that an earlier editor wrote is still in `themes/<name>/`, `doctor`'s fix for the copy builds that working theme into the copy's folder, then the copy's own entry; for a copy with one color mode, it first asks that the working theme declare that mode, naming the mode when the copy's build files, or those the editor built beside the working theme, state it. Stable commands, their options and JSON keep the shape of the latest release. Folders the editor made keep their protection: `theme eject` refuses such a folder as its target (a subfolder of one is written, with a warning), `theme template --overwrite` does not replace its files, and `theme build` warns when `--out` puts the outputs of a source outside that folder there.
86
+ - `astryx doctor`'s font check no longer asks you to confirm a font service stylesheet (such as a Google Fonts `@import`) that names its families. A family the stylesheet does not name is a warning that names it, and the fix names the package that loads it when one does (`@fontsource/jetbrains-mono`).
87
+ [fix] `astryx theme build`: a `.js` theme source named after its theme (`brand.js` for theme `brand`) is offered a free folder for its outputs (`--out design/brand-2/brand.css`), not the same command again; in a theme source whose default export is the theme, a base imported as a package's default export, or as the whole package, is told the named import that works (`import {neutralTheme} from '@astryxdesign/theme-neutral'`). `astryx theme add` of a theme it does not find says where a theme you wrote must live to be added by name, and that a theme you built elsewhere needs only its imports.
88
+ - `astryx theme add`: when a theme name is one typo from a real theme, the unknown-theme answer leads with that theme's add command; the doc on where a theme you wrote must live comes after it.
89
+ - `astryx doctor` follows the project's tsconfig path aliases when it checks that a theme's stylesheet is imported, so an import through an alias (`@/astryx-themes`) counts, and a stylesheet that is not imported anywhere is reported where it was missed before.
90
+ - `astryx <word>`, for a word that names no command, no longer sends a reader to a command they did not mean. When nothing fits, the answer names `astryx help`, which lists every command with what it does, instead of a list of every command led by `init` (a command that writes files). A word that names one of the project's own package.json scripts names that script's run first, with the project's package manager (`astryx test` names `npm run test`). A command is named for a typo of it only: one edit in a word of up to four letters, two in a longer one, two swapped letters counting as one, so `templat`, `compnent` and `serach` still name `template`, `component` and `search`, and `mpc` now names `mcp`; `edit` and `lint` no longer name `init`, and `start` and `serve` no longer name `search`. `update` names `upgrade --from <old-version>`, as `migrate` does. An unknown `icon` or `icons` names the icons guide, `astryx docs icons`. A suggestion is never run for you. `astryx help <word>` is unchanged: it lists every command, as the help does.
91
+ - A help run that an unknown command names keeps the program options you typed: `astryx frobnicate --json` names `astryx help --json`, `astryx eject --json` names `astryx theme eject --help --json`, and a typo beside an option the CLI does not take (`astryx compnent --bogus --json`) names `astryx help --json` where it named `astryx --help`, so a reader of JSON output gets the help as JSON. Words written after `--` are words, so a help run carries none of them as options.
92
+ - When the word you typed is both one of the project's package.json scripts and a typo of a command, the answer names the script's run first and still names the command after it: with a `doc` script, `astryx doc` names `npm run doc`, then `docs`. When the run also carries an option the CLI does not take, the answer names the script's run, then the help, with the program options you typed.
93
+
94
+ #### Performance
95
+
96
+ - `astryx build` no longer parses its start template's source when the template draws icons by meaning: the published package stores the imports of each template's filled copy, as it stores the template's own, so build's setup notes read them without loading a parser. Build's answer is unchanged.
97
+ - `astryx experimental export` resolves each package name and `#` import that a page's ES modules import once for each folder they are imported from, instead of once for each module, so a page that uses many Core components renders faster. Every import resolves as before.
98
+ - `astryx experimental export` renders a page that uses a linked package faster when the page reaches the package's files by their path first: the worker now takes each package linked into the page's `node_modules` folders as linked before it renders, by the same rule, so imports between that package's own files resolve by path from the start. Pages render as before.
99
+ - `astryx experimental export` renders a page that imports a linked package (a workspace package, or one added with `npm link` or a `file:` dependency) faster, when the package's own package.json is the nearest one above the files the page reaches: imports between that package's own files resolve by path, as they already do for an installed package. A linked package that keeps another package.json nearer its files (as some packages built for both module formats do) resolves as before. Pages render as before.
100
+ - `astryx build` and long `astryx search` queries read compound names faster: for each entry, only the runs of adjacent query words that can name it are compared with it. They are found by looking up the entry's joined names, their plurals and starts, the stretches of their words, and its one-word keywords. Results are unchanged.
101
+ - `astryx search` and `astryx build` score each word of a query faster. The word's forms are worked out once per word, not once for every entry. Whether it has a space is tested once per entry, not for every name and keyword, and the word without its spaces is worked out once per entry, not for every name. A one-word term is no longer joined or read as a spelled-out name, which needs a space. Results are unchanged.
102
+ - A second copy from the same package in one process (a script or host that calls the swizzle API in-process, or the test suite) no longer parses the whole package again: it drops from about 2.1 s to under 60 ms, because the package's public surface is kept while every file it read is unchanged. Recording what that read touched makes a single `astryx swizzle` run, including a tool call through `astryx mcp`, about 0.1 s slower.
103
+ - `astryx theme build` finds Core's folder faster: a package.json on the way up is read and parsed once while its file is unchanged, not on every look-up. Builds are unchanged.
104
+
105
+ #### Documentation
106
+
107
+ - The `preserve-bottom-sheet-content-padding` codemod's own description (its `meta.description`, in the published transform) now says that a theme which sets `bottom-sheet` padding on some edges only is affected too: the added `padding={0}` zeroes every edge, including the ones the theme sets.
108
+ - Each package's CHANGELOG now starts with that package's own name, and older entries name packages by their current `@astryxdesign/*` names.
109
+ - The "Use a theme" guide says where a theme's page color shows: inside `AppShell`. It says to wrap the page in `AppShell`, or, if you can't, to add `body { background: var(--color-background-body) }` to global CSS. For a theme with only one mode, it adds that the page must use the theme's page color in every OS mode.
110
+ - Add live interactive example block for `useIndicatorFocusRing` demonstrating custom checkbox indicator focus-ring painting on `:focus-visible`.
111
+ - Add live interactive example block for `useLongPress` hook demonstrating touch press-and-hold, pointer `onContextMenu` parity, and an accessible fallback trigger.
112
+ - `astryx docs icons` calls Core's icon names "built-in meanings" (was "semantic icon names") and the drawings a theme gives them its "theme icons" (was "icon registry"). The old words stay as search keywords, so a search for "semantic icon names" or "icon registry" still finds the guide.
113
+ - The icon-set guide says where a match's related meanings show: on every match in JSON (`relatives`), and in text only under the first match, at most four. The template icons guide says "icon component" or "icon" where it said "icon definition" for an icon component.
114
+ - The `useLayer` and `Popover` docs and the browser support guide say a layer has no top layer without the `Popover` API. It opens in place, without the top layer, so content with a higher `z-index` can cover it. A layer anchored to a trigger stays in the page flow, where an ancestor that clips overflow can clip it. A transformed ancestor can move and clip a fixed-position layer. No behavior change.
115
+ - The Motion foundations doc shows how to use the `--duration-*` and `--ease-*` motion tokens in your own CSS, with the Reduce Motion fallback: no travel, an immediate change with a mouse, and an opacity cross-fade of 200 ms or less under a finger.
116
+ - MultiSelector's prop docs now list `labelTooltip` and `ref`. The Chinese and dense docs gain `variant` (Chinese only), `indicatorPosition`, `width`, `startIcon`, `hasClear`, `isDefaultOpen`, `labelTooltip`, and `ref`, and the dense `onKeyDown` entry says it is skipped for keys the built-in keyboard model handles and cancels. A new best practice names the WAI-ARIA combobox pattern it implements and its keys.
117
+ - NavIcon's docs and its `astryx search` entry now name the headings it belongs in (TopNavHeading and SideNavHeading) instead of a component that does not exist, no longer list it under icon-button search terms, and say that NavIcon adds no role or name, so the icon you pass decides what assistive technology announces.
118
+ - New `visualization` docs namespace with a guide, "Use Astryx data colors in chart renderers": `dataVars` or raw CSS variables for SVG and DOM renderers such as Recharts and D3, and resolved values from `useTheme().token()` for Canvas and configuration-driven renderers such as Vega-Lite.
119
+ - The update docs (`global/updates`, "Turn it off") and the CI page no longer say that `NO_UPDATE_NOTIFIER` stops all registry traffic. It turns off the update check and the notice; only `CI` also stops a global install's one-time background download of its own Core, which never runs on Windows.
120
+ - NumberInput's docs now say that the clear button shows only while the field is editable, and that a focused field shows the plain number with the locale's decimal separator.
121
+ - `astryx docs author-a-theme generate-a-palette` says that a `themePalette()` accent or status seed is pinned exactly at its nearest light shade and in dark only when it reads there, so the dark accent fill can be a different shade, and shows how to keep one brand fill in both modes: set both halves of `--color-accent` and `--color-on-accent` as explicit tokens.
122
+ Reported by @ejc3.
123
+ - PowerSearch's docs now list `menuWidth` and `maxOperatorMenuItems` once each, with what they do: `menuWidth` sets the width of the main field menu, never narrower than the input, and `maxOperatorMenuItems` caps the string and entity value suggestions. The docs also list the `components` prop, add `tokenOverflowBehavior`, `onFocus` and `onBlur` to the Chinese docs, and name the field's parts.
124
+ - The SelectableCard showcase and elevated examples are multi-select: each card is a checkbox that toggles on its own, so the examples no longer show a single-choice picker built from checkboxes. The showcase is an add-on picker.
125
+ - A new `Table — Custom Row` block shows how to render your own row with a Table plugin: a cancelled order becomes one full-width row with a message. `transformBodyRow` replaces the row's cells with one `TableCell` that spans every column, before the cells mount, so the column renderers do not run for that row. Read it with `astryx template TableCustomRowTable`.
126
+ - `astryx docs cli/commands/theme-build` says the built module keeps the theme's name, so a theme named for its source file (`ocean.ts` holding the theme `ocean`) needs `--out` into another folder in an app whose bundler resolves a `.js` import to a `.ts` source first (webpack or Next.js `extensionAlias`), where `ocean.js` beside `ocean.ts` would load the source.
127
+ Reported by @ejc3.
128
+ - `theme build --icons-specifier` now gives the right default: a TypeScript or JSX registry's compiled copy in `<name>.modules/`, or a plain JavaScript registry's own path, and says a given specifier is not compiled. "Author a theme" adds that a theme family imports a member's plain JavaScript registry by its path from the family module.
129
+ - "Author a theme" lists the `<name>.modules/` folder among `theme build`'s outputs (the compiled local modules the built module imports, which ship with it), and its icon registry and slot sections now say that a TypeScript or JSX registry or slot module is compiled into that folder, when `--icons-specifier` fits (a registry you build yourself, or a plain JavaScript registry with `--out` elsewhere), and that a plain JavaScript file is not copied into the folder.
130
+ - `astryx docs tokens` names the chart neutral and the sequential data ramps for ordered scales and heatmaps (`--color-data-<ramp>-1` to `-5`), read from the token sources.
131
+ - The `useLongPress` example's Actions button now opens a Core `DropdownMenu`, which opens below the button when there is room and above it when only the room above fits. Opening it closes the at-point panel. The example drops the placement code its Actions button used, so the hook wiring is easy to find. Long press and right-click on the card still open the panel at the press point, except on a phone or tablet while the Actions menu is still opening; a long press on the Actions button opens its menu.
132
+ - Keep the `useLongPress` example's Actions panel off its button on narrow cards by opening below the button when neither side has room.
133
+
134
+ #### Other Changes
135
+
136
+ - The official package list `astryx discover` reads is derived from the repository when the CLI is packed, and is no longer committed. A checkout derives the same list, so adding a Lab component needs no CLI edit. `discover` lists the same packages.
137
+ - Internal: the test helper that builds Core keeps its lock in the checkout's node_modules/.cache folder instead of the system temp folder. No installed command uses it.
138
+ - Internal: a comment in the theme build names the module that now holds the default width points. No command changes.
139
+ - Internal: single-statement blocks in Core's palette and syntax-theme code, and in the CLI's generated copy of the palette engine, now use braces. Nothing they do changes.
140
+ - Internal: when a caller asks the palette for one mode, its code colors and the text on each status fill now hold both modes, taking the drawn mode's stop as the other derivations do. A dark-only call no longer throws. Every caller passes both modes, so no output changes.
141
+ - The browser runner that takes pictures of pages moves to a shared module, so commands take pictures the same way.
142
+ - The SideNav showcase block takes its Home, Folder, Analytics and Documents icons from `@astryxdesign/template-icons` instead of drawing them as inline SVG. The rendered icons are unchanged.
143
+ - Internal: split `readStaticDescriptorValue`, `isIgnoredThemeEntry`, and helpers from `theme-discovery.mjs` into `static-descriptor.mjs` so `icon-set-discovery.mjs` and `icon-definition-discovery.mjs` no longer import `doc-compiler/compile.mjs`, whose graph reaches the dynamic `import(url)` in `fs/import-url.mjs`.
144
+ - Internal: the template fixture scanner, `mapFixtureRefs`, has its own module, so a bundler that tracks a loader's imports can follow every one of them.
145
+ - Internal: the helper that reads a per-user folder setting reads a Windows path with Windows rules on any computer when asked for Windows folders, so the Windows folder test runs everywhere. Installed commands work out the same folders as before on every system.
146
+
147
+ #### Contributors
148
+
149
+ Thanks to everyone who contributed to this release:
150
+
151
+ - @bezabyte
152
+ - @cixzhang
153
+ - @dante01yoon
154
+ - @ernestt
155
+ - @HelloOjasMutreja
156
+ - @humbertovirtudes
157
+ - @josephfarina
158
+ - @korkt-kim
159
+ - @marie-lucas
160
+ - @Rajratna-D
161
+ - @rheatkhs
162
+ - @rubyycheung
163
+ - @SajanGhimire1
164
+ - @utkarshpatwa393-sys
165
+ - @vjeux
166
+
167
+ ---
2
168
 
3
169
  # 0.7.17
4
170
 
@@ -4278,7 +4444,7 @@ Thanks to everyone who contributed to this release:
4278
4444
  - The CLI README now shows `apiVersion` in every hand-written envelope shape and example, and lists `astryx search --verbose` in place of `--detail`, which needs a level and does not add a result's score or reason. (#6587)
4279
4445
  - The response-type docs, and the CLI README table generated from them, now name the fields of the `component.detail`, `docs.index`, `search`, `build.kit`, `gap-report.file`, `theme.build`, `theme.targets`, and `integration.pack-check` responses by their JSON keys, including `parentDoc`, `hint`, `notices`, `deprecatedFor`, each gap-report delivery's fields, and the pack-check contribution identities and issue fields. The `component.detail` response type declares `parentDoc`. (#6588)
4280
4446
  - `astryx template --help` and the manifest now say which flags win when they are combined: `--cdn` overrides everything else and writes to its value, else to `<path>`, else `cdn.template.html`; `--list` ignores a name, a path, `--skeleton` and `--overwrite`; and `--skeleton` needs a name and writes nothing. (#6591)
4281
- - `astryx upgrade --help` and the manifest now state how its flags combine: `--list` ignores every other flag, `--registry` refuses `--list` and the migration flags, and `--codemod` is the only way to run an optional codemod and also skips the ShadCN composition check. The `--from` help names the legacy `@xds/core` fallback, and the documented exit codes now include a missing core, a missing jscodeshift, an invalid `astryx.config`, a post-codemod hook failure and the refused flag combinations. (#6590)
4447
+ - `astryx upgrade --help` and the manifest now state how its flags combine: `--list` ignores every other flag, `--registry` refuses `--list` and the migration flags, and `--codemod` is the only way to run an optional codemod and also skips the ShadCN composition check. The `--from` help names the legacy core-package fallback, and the documented exit codes now include a missing core, a missing jscodeshift, an invalid `astryx.config`, a post-codemod hook failure and the refused flag combinations. (#6590)
4282
4448
  - `astryx docs authoring` now says where loading a doc is looser than its published type (stamped component and function docs, older generic docs, and templates), and which doc kinds accept fields they do not know. Nothing about how docs load has changed. (#6492)
4283
4449
 
4284
4450
  #### Other Changes
@@ -5120,7 +5286,7 @@ Thanks to everyone who contributed to this release:
5120
5286
  #### Fixes
5121
5287
 
5122
5288
  - theme build: generated custom Button variants now type-check through the public `@astryxdesign/core/Button` subpath.
5123
- - Remove the `@xds/theme-default` → `@astryxdesign/theme-neutral` collapse from the v0.1.0 upgrade codemods (module-specifiers, css-surfaces, and declare-module). `theme-default` was dropped at the v0.1.0 scope move, so no v0.1.x consumer imported it — the collapse was dead and could rewrite unrelated source (including `@xds/theme-default/theme.css` CSS imports) to a `@astryxdesign/theme-neutral` package the app never declared. The `@xds/theme-daily` → `theme-neutral` collapse (and its `defaultTheme` → `neutralTheme` export remap) is unchanged.
5289
+ - Remove the earlier scope's `theme-default` → `@astryxdesign/theme-neutral` collapse from the v0.1.0 upgrade codemods (module-specifiers, css-surfaces, and declare-module). `theme-default` was dropped at the v0.1.0 scope move, so no v0.1.x consumer imported it — the collapse was dead and could rewrite unrelated source (including the earlier scope's `theme-default/theme.css` CSS imports) to a `@astryxdesign/theme-neutral` package the app never declared. The earlier scope's `theme-daily` → `theme-neutral` collapse (and its `defaultTheme` → `neutralTheme` export remap) is unchanged.
5124
5290
  - cli — confine user-controlled file paths, close DoS vectors, and repair paths broken by the authoring reorg (#4637)
5125
5291
  - cli hardening pass — validate inputs at the API layer, close path-safety gaps, and prevent agent-docs content loss. The API is a public surface (`@astryxdesign/cli/api`), so guards that lived only in the CLI wrapper are pushed into the API.
5126
5292
  Path safety (the guard the write commands all depend on):
@@ -5296,7 +5462,7 @@ Thanks to everyone who contributed to this release:
5296
5462
 
5297
5463
  - Stop suggesting bare `npx astryx` before the CLI is installed — it resolves to an unrelated package on the npm registry.
5298
5464
  The CLI now emits an install-aware invocation everywhere it prints a command:
5299
- - Extend the v0.1.0 upgrade codemods to cover test files that mock `@xds/core` modules, which were previously left half-migrated and broke after upgrade:
5465
+ - Extend the v0.1.0 upgrade codemods to cover test files that mock the earlier scope's `core` modules, which were previously left half-migrated and broke after upgrade:
5300
5466
  - `astryx upgrade` now keeps the managed agent-docs block (`<!-- ASTRYX:START --> … <!-- ASTRYX:END -->`) in sync with the installed version on **every** path — including the up-to-date and no-codemods short-circuits that previously returned before any refresh, leaving AI agents reading a stale component index and superseded rules. The block documents the installed library, so it's now refreshed up front (independent of codemods) and reported in the `--json` receipt as `agentDocs`. One detection pass covers three cases: a stale block is rewritten (`--apply`) or reported as a pending change (dry-run, which no longer writes); a project with core installed but no managed block is nudged to run `astryx init --features agents`; an already-current block stays silent. (#4168, #4169)
5301
5467
 
5302
5468
  #### Documentation
@@ -5307,8 +5473,8 @@ Thanks to everyone who contributed to this release:
5307
5473
 
5308
5474
  - Installed / global / dev runs suggest `<pm> astryx <cmd>` (e.g. `pnpm exec astryx …`), unchanged.
5309
5475
  - One-off runs (launched via `npx`/`pnpm dlx`/`yarn dlx`/`bunx`) suggest the scoped package `<dlx> @astryxdesign/cli <cmd>`, which always resolves to us.
5310
- - **migrate-xds-module-specifiers**: rewrite the mocked-module path in `vi.mock`/`vi.doMock`/`jest.mock`/`jest.doMock` (and bare `mock`) calls, plus `import(...)` specifiers used in TS type positions (`typeof import('@xds/core/Text')`), so the mock still intercepts the renamed `@astryxdesign/*` import.
5311
- - **drop-xds-prefix-imports**: un-prefix partial-mock override keys inside an `@xds/core` mock factory (e.g. `useXDSTruncation` → `useTruncation`) so the override matches the renamed export instead of silently overriding nothing. Scoped to recognized `@xds/core` mock factories only; unrelated object keys are untouched.
5476
+ - **migrate-xds-module-specifiers**: rewrite the mocked-module path in `vi.mock`/`vi.doMock`/`jest.mock`/`jest.doMock` (and bare `mock`) calls, plus `import(...)` specifiers used in TS type positions (`typeof import(…)` of the earlier scope's `core/Text`), so the mock still intercepts the renamed `@astryxdesign/*` import.
5477
+ - **drop-xds-prefix-imports**: un-prefix partial-mock override keys inside the earlier scope's `core` mock factory (e.g. `useXDSTruncation` → `useTruncation`) so the override matches the renamed export instead of silently overriding nothing. Scoped to recognized mock factories of the earlier scope's `core` only; unrelated object keys are untouched.
5312
5478
 
5313
5479
  #### Contributors
5314
5480
 
@@ -5414,9 +5580,9 @@ Thanks to everyone who contributed to this release:
5414
5580
 
5415
5581
  #### Other Changes
5416
5582
 
5417
- - **drop-xds-prefix-imports**: when un-prefixing an `@xds/core` import (e.g. `XDSCodeBlock` → `CodeBlock`) would collide with a same-named local binding in the file (such as a local `export function CodeBlock` wrapper), alias the import to `Astryx<Name>` and rewrite its usages instead of producing a duplicate declaration that breaks the build.
5418
- - **migrate-xds-css-surfaces**: rewrite CSS `@import` of `@xds/*` package stylesheets (both `'…'`/`"…"` and `url(…)` forms), including the `@xds/core/xds.css` → `@astryxdesign/core/astryx.css` file rename and the `theme-default`/`theme-daily` → `theme-neutral` collapse.
5419
- - **migrate-xds-module-specifiers**: when collapsing `@xds/theme-default`/`@xds/theme-daily` to `@astryxdesign/theme-neutral`, remap the `defaultTheme` export to `neutralTheme`, aliasing back to the original local name (`neutralTheme as defaultTheme`) so downstream usages keep working.
5583
+ - **drop-xds-prefix-imports**: when un-prefixing an import from the earlier scope's `core` (e.g. `XDSCodeBlock` → `CodeBlock`) would collide with a same-named local binding in the file (such as a local `export function CodeBlock` wrapper), alias the import to `Astryx<Name>` and rewrite its usages instead of producing a duplicate declaration that breaks the build.
5584
+ - **migrate-xds-css-surfaces**: rewrite CSS `@import` of the earlier scope's package stylesheets (both `'…'`/`"…"` and `url(…)` forms), including the earlier scope's `core/xds.css` → `@astryxdesign/core/astryx.css` file rename and the `theme-default`/`theme-daily` → `theme-neutral` collapse.
5585
+ - **migrate-xds-module-specifiers**: when collapsing the earlier scope's `theme-default`/`theme-daily` to `@astryxdesign/theme-neutral`, remap the `defaultTheme` export to `neutralTheme`, aliasing back to the original local name (`neutralTheme as defaultTheme`) so downstream usages keep working.
5420
5586
 
5421
5587
  #### Contributors
5422
5588
 
@@ -5440,7 +5606,7 @@ Thanks to everyone who contributed to this release:
5440
5606
  - Add a Kanban Board page template: color-coded status columns, draggable task cards with priority tags, and board toolbar. Based on a design by @cg-hub18.
5441
5607
  - Add frame-first layout guidance: new `astryx docs layout` topic (shell choice, region budgets, app archetypes, cards-vs-rows policy, responsive contracts), layout rules in the generated agent cheat sheet, and layout anti-patterns in `docs principles`.
5442
5608
  - Add a v0.1.3 config codemod that migrates astryx.config layout.components to experimental.xle.components.
5443
- - Add v0.1.0 codemods for migrating `declare module "@xds/core/..."` type augmentations and `.xds-*` / `[data-xds-theme]` / `@layer xds-theme` CSS surfaces to their `@astryxdesign`/`astryx-*` equivalents.
5609
+ - Add v0.1.0 codemods for migrating `declare module` type augmentations of the earlier scope's `core/...` modules and `.xds-*` / `[data-xds-theme]` / `@layer xds-theme` CSS surfaces to their `@astryxdesign`/`astryx-*` equivalents.
5444
5610
  - Introduce the Project configuration API as the single entry point for reading resolved project config, components, templates, codemods, and issue routing, replacing loadConfig. Misconfigured integrations are now skipped with a warning during upgrade instead of hard-failing, and a new --skip-codemod flag lets you re-run past a failed codemod.
5445
5611
  - Add a Shell page-template category to the CLI: Top Nav, Side Nav, and Shell Nav app-shell scaffolds (#3245, #3246, #3247)
5446
5612
  - Static template authoring API (createPageTemplate/createBlockTemplate) with the @astryxdesign/cli/template export and type-driven, package-scoped template discovery.
@@ -5454,7 +5620,7 @@ Thanks to everyone who contributed to this release:
5454
5620
  - Align the CLI error-code type declarations with the runtime error codes (add the missing ERR_AMBIGUOUS_TEMPLATE declaration).
5455
5621
  - Correct the `doctor` theme-wiring hint to reference the real `astryx.theme` config field (was `xds.theme`) and update the agent-docs check wording to say "Astryx".
5456
5622
  - Update the API/CLI parity harness for the package-qualified `component --list` shape, and make the component API reject a non-string name with a clean error instead of throwing.
5457
- - The XDS-prefix drop codemod now runs as a mandatory v0.1.0 upgrade step, so upgrading from 0.0.x rewrites prefixed imports (useXDSTheme, XDSButton, XDSIconRegistry, ...) to their bare names alongside the @xds/_ → @astryxdesign/_ scope rename.
5623
+ - The XDS-prefix drop codemod now runs as a mandatory v0.1.0 upgrade step, so upgrading from 0.0.x rewrites prefixed imports (useXDSTheme, XDSButton, XDSIconRegistry, ...) to their bare names alongside the scope rename to `@astryxdesign/*`.
5458
5624
  - upgrade now runs core codemods before loading config, so a config codemod can repair an otherwise-invalid config; dry-run reports a fixable config and suggests the command to apply it.
5459
5625
 
5460
5626
  #### Documentation
@@ -5583,7 +5749,7 @@ Thanks to everyone who contributed to this release:
5583
5749
  (realpath of `import.meta.url`), working whether invoked via symlink, copy, or
5584
5750
  Windows shim. Also fixes the non-interactive `init`/`theme` error to say
5585
5751
  `astryx <command>` instead of the stale `xds <command>`.
5586
- - Add a v0.1.0 upgrade codemod that migrates legacy `@xds/*` module specifiers and config surfaces to the Astryx v0.1.0 names.
5752
+ - Add a v0.1.0 upgrade codemod that migrates legacy module specifiers and config surfaces to the Astryx v0.1.0 names.
5587
5753
  [breaking] Remove legacy `astryx.versionFile` update-hint support from package.json.
5588
5754
 
5589
5755
  #### Documentation
@@ -5627,7 +5793,7 @@ Thanks to everyone who contributed to this release:
5627
5793
  name should switch to `astryx`. Part of removing `xds` naming from the public API.
5628
5794
  - Rename the exported `XDSError` class to `AstryxError`
5629
5795
  The CLI's programmatic API error class is renamed `XDSError` -> `AstryxError`
5630
- (exported from `@xds/cli` + declared in its types). Consumers that catch or
5796
+ (exported from `@astryxdesign/cli` + declared in its types). Consumers that catch or
5631
5797
  reference `XDSError` from the CLI's API should switch to `AstryxError`. Part of
5632
5798
  removing `xds` naming from the public API.
5633
5799
  - Remove the XDS-prefix compatibility layer — astryx is now the only public surface
@@ -5640,9 +5806,9 @@ Thanks to everyone who contributed to this release:
5640
5806
 
5641
5807
  - `theme build` generates valid bare type imports (IconRegistry/DefinedTheme)
5642
5808
  `astryx theme build` emitted `.d.ts` files importing `XDSIconRegistry` /
5643
- `XDSDefinedTheme` from `@xds/core`, but those aliases were removed — the
5809
+ `XDSDefinedTheme` from `@astryxdesign/core`, but those aliases were removed — the
5644
5810
  generated types failed to resolve. Generate `IconRegistry` / `DefinedTheme`
5645
- (the bare names `@xds/core` now exports) instead.
5811
+ (the bare names `@astryxdesign/core` now exports) instead.
5646
5812
 
5647
5813
  #### Documentation
5648
5814
 
@@ -5686,8 +5852,8 @@ Thanks to everyone who contributed to this release:
5686
5852
 
5687
5853
  - Remove an internal-only codemod from the public repository (#2970)
5688
5854
  It was an optional, version-independent transform and not part of any standard upgrade path, so removing it does not affect the public `0.0.13 → 0.0.15` migration.
5689
- - Rename the npm package scope from `@xds/*` to `@astryxdesign/*`
5690
- All published packages move to the new `@astryxdesign` scope (e.g. `@xds/core` → `@astryxdesign/core`), along with the workspace lockfile, build/runtime scope-directory scans, and docsite slug derivation. Consumers must update their imports and dependency names. The internal ESLint plugin namespace (`@xds/*` rules) is intentionally untouched and tracked separately. Existing `@xds/*` codemods continue to target the old scope so projects still on `@xds/*` can migrate.
5855
+ - Move every package to the npm package scope `@astryxdesign/*`
5856
+ All published packages move to the new `@astryxdesign` scope, along with the workspace lockfile, build/runtime scope-directory scans, and docsite slug derivation. Consumers must update their imports and dependency names. The ESLint plugin namespace is unchanged. The existing upgrade codemods still migrate projects from the earlier scope.
5691
5857
 
5692
5858
  #### Contributors
5693
5859
 
@@ -5716,7 +5882,7 @@ npx astryx upgrade --apply
5716
5882
  - **`astryx doctor`** — New health-check command for diagnosing project/setup issues. (#2565)
5717
5883
  - **Unified search** — `astryx search` searches across components, hooks, docs, and templates in one query. (#2564)
5718
5884
  - **Capability manifest** — Full machine-readable capability manifest for agent discovery, plus stable machine-readable error codes on every error. (#2562, #2563)
5719
- - **`@xds/cli/api` hook export** — The `hook` is exposed via `@xds/cli/api` with types and parity coverage. (#2558)
5885
+ - **`@astryxdesign/cli/api` hook export** — The `hook` is exposed via `@astryxdesign/cli/api` with types and parity coverage. (#2558)
5720
5886
  - **CLI exit-code policy** — Every user-visible error now exits with code 1 in both human and `--json` modes (previously several command-layer errors printed a message but exited 0, invisible to CI scripts and AI agents). `xds bogus-cmd`, `astryx theme bogus-subcommand`, the bare `theme` group with an unknown subcommand, and "command not found"/"did you mean…" paths all exit 1. Help, version, and bare-list invocations still exit 0. Introduces `lib/cli-error.mjs` as the canonical exit-code helper.
5721
5887
  - **Migration guide** — Added an explicit guide for moving existing Tailwind, shadcn, and Radix applications to XDS incrementally.
5722
5888
  - **Data-attribute selector docs** — Documented the data-attribute selector surface in CLI docs alongside the core dual-emit change.
@@ -5732,7 +5898,7 @@ npx astryx upgrade --apply
5732
5898
  - **`astryx discover --json`** — Includes `meta: { configured: false }` when no packages are configured, distinguishing "configured but empty" from "not configured".
5733
5899
  - **`xds gap-report --json`** — Returns a structured error instead of starting an interactive prompt when required flags are missing; the "gh CLI missing" path also emits a JSON error.
5734
5900
  - **`astryx theme --json`** — The `theme` parent command (without a subcommand) rejects `--json` cleanly; `theme build --json` continues to work.
5735
- - **Theme CSS prose regression** — `astryx theme build` now uses a single CSS generation path (`@xds/core`'s generator) and treats a failed `@xds/core/theme` import as a hard build error instead of a silent fallback, fixing the docsite Markdown typography regression after the XDS-prefix migration. (#2964)
5901
+ - **Theme CSS prose regression** — `astryx theme build` now uses a single CSS generation path (`@astryxdesign/core`'s generator) and treats a failed `@astryxdesign/core/theme` import as a hard build error instead of a silent fallback, fixing the docsite Markdown typography regression after the XDS-prefix migration. (#2964)
5736
5902
 
5737
5903
  #### Contributors
5738
5904
 
package/README.md CHANGED
@@ -101,25 +101,25 @@ Every run reads one base: Core, or an installed integration whose manifest decla
101
101
 
102
102
  <!-- BEGIN GENERATED: commands -->
103
103
 
104
- | Command | Description | Outside a project |
105
- | -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- |
106
- | `blog` | Read the Astryx blog from the published feed | `same` |
107
- | `build` | Build a page: the template to start from, or the workflow playbook (no query) | `same` |
108
- | `component` | List components or print component docs | `same` |
109
- | `discover` | Browse and search integrations: the ones you have and the ones you could add | `same` |
110
- | `docs` | Print reference docs | `same` |
111
- | `doctor` | Diagnose Astryx projects and integration packages | `own` |
112
- | `experimental` | [experimental] Try features that may change in a patch release: icon sets, one self-contained HTML file from a page built with Astryx components (not for other pages), checked theme editing | by subcommand |
113
- | `gap-report` | Report a missing component or feature to the package that owns it | `same` |
114
- | `hook` | List hooks or print hook docs | `same` |
115
- | `init` | Initialize the design system in your project | `own` |
116
- | `integration` | Author and verify an Astryx integration package | by subcommand |
117
- | `mcp` | For AI tools that cannot run commands: serve every astryx command as an MCP tool, over stdio | `same` |
118
- | `search` | Search components, hooks, docs, templates, and themes in one ranked list | `same` |
119
- | `swizzle` | Copy component source for customization | `refuse` |
120
- | `template` | List, show, or scaffold page and block templates | `same` |
121
- | `theme` | Add, switch, build, and author themes (to make or change one, use experimental theme editor) | by subcommand |
122
- | `upgrade` | Update your code after upgrading Astryx, and refresh ShadCN-copied components | `own` |
104
+ | Command | Description | Outside a project |
105
+ | -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- |
106
+ | `blog` | Read the Astryx blog from the published feed | `same` |
107
+ | `build` | Build a page: the template to start from, or the workflow playbook (no query) | `same` |
108
+ | `component` | List components or print component docs | `same` |
109
+ | `discover` | Browse and search integrations: the ones you have and the ones you could add | `same` |
110
+ | `docs` | Print reference docs | `same` |
111
+ | `doctor` | Diagnose Astryx projects and integration packages | `own` |
112
+ | `experimental` | [experimental] Try features that may change in a patch release: icon sets, one self-contained HTML file from a page built with Astryx components (not for other pages) | by subcommand |
113
+ | `gap-report` | Report a missing component or feature to the package that owns it | `same` |
114
+ | `hook` | List hooks or print hook docs | `same` |
115
+ | `init` | Initialize the design system in your project | `own` |
116
+ | `integration` | Author and verify an Astryx integration package | by subcommand |
117
+ | `mcp` | For AI tools that cannot run commands: serve every astryx command as an MCP tool, over stdio | `same` |
118
+ | `search` | Search components, hooks, docs, templates, and themes in one ranked list | `same` |
119
+ | `swizzle` | Copy component source for customization | `refuse` |
120
+ | `template` | List, show, or scaffold page and block templates | `same` |
121
+ | `theme` | Add, switch, build, and author themes | by subcommand |
122
+ | `upgrade` | Update your code after upgrading Astryx, and refresh ShadCN-copied components | `own` |
123
123
 
124
124
  <!-- END GENERATED: commands -->
125
125
  <!-- Generated by scripts/generate-cli-readme.mjs from `astryx manifest`. Run `pnpm -F @astryxdesign/cli readme`. -->
@@ -321,7 +321,8 @@ export function withExampleBlockPointer(error: unknown, dirName: string, { coreD
321
321
  /**
322
322
  * When `error` is the unknown-component error for a name that matches a hook,
323
323
  * template or docs topic (exact, folded or last segment, or a hook it nearly
324
- * spells or whose keyword it is, as foundation/suggest/other-command.mjs
324
+ * spells, whose keyword it is, or whose name without its verb its words
325
+ * carry, as foundation/suggest/other-command.mjs
325
326
  * ranks it), returns the same error with the command that reads that entry
326
327
  * among its suggestions, in the place foundation/suggest/other-command.mjs
327
328
  * gives it: a hint at the folded tier or a worse one stays behind a
@@ -989,7 +989,8 @@ export async function withExampleBlockPointer(error, dirName, {coreDir, cwd}) {
989
989
  /**
990
990
  * When `error` is the unknown-component error for a name that matches a hook,
991
991
  * template or docs topic (exact, folded or last segment, or a hook it nearly
992
- * spells or whose keyword it is, as foundation/suggest/other-command.mjs
992
+ * spells, whose keyword it is, or whose name without its verb its words
993
+ * carry, as foundation/suggest/other-command.mjs
993
994
  * ranks it), returns the same error with the command that reads that entry
994
995
  * among its suggestions, in the place foundation/suggest/other-command.mjs
995
996
  * gives it: a hint at the folded tier or a worse one stays behind a
@@ -489,11 +489,12 @@ export function withPageBelow<T extends {
489
489
  * hyphens; failing that, the topics and top-level namespaces,
490
490
  * closest first and cut where the matches get weaker (every one of them when
491
491
  * none shares a word with the argument, with the names a slip or two from it
492
- * first). When the argument matches a component, hook or template
493
- * (exact, folded or last segment), the command that reads that entry joins the list as
494
- * foundation/suggest/other-command.mjs places it, and the list keeps its
495
- * length; when no suggested doc
496
- * shares a word with the argument, that command is the only suggestion.
492
+ * first). When the argument matches a component, hook or template (exact,
493
+ * folded or last segment, or a Core component or hook its last path segment
494
+ * names, unless a stable doc has that name), the command that reads that
495
+ * entry joins the list as foundation/suggest/other-command.mjs places it, and
496
+ * the list keeps its length; when no suggested doc shares a word with the
497
+ * argument, that command is the only suggestion.
497
498
  * When no command joins, the docs whose route, title or declared keywords
498
499
  * carry a typed word ({@link wordMatches}) take the place of the topics and
499
500
  * namespaces, the named route that list leads with first, in a list no
@@ -2517,11 +2517,12 @@ export function withPageBelow(topic, byRoute, ordered, deeper) {
2517
2517
  * hyphens; failing that, the topics and top-level namespaces,
2518
2518
  * closest first and cut where the matches get weaker (every one of them when
2519
2519
  * none shares a word with the argument, with the names a slip or two from it
2520
- * first). When the argument matches a component, hook or template
2521
- * (exact, folded or last segment), the command that reads that entry joins the list as
2522
- * foundation/suggest/other-command.mjs places it, and the list keeps its
2523
- * length; when no suggested doc
2524
- * shares a word with the argument, that command is the only suggestion.
2520
+ * first). When the argument matches a component, hook or template (exact,
2521
+ * folded or last segment, or a Core component or hook its last path segment
2522
+ * names, unless a stable doc has that name), the command that reads that
2523
+ * entry joins the list as foundation/suggest/other-command.mjs places it, and
2524
+ * the list keeps its length; when no suggested doc shares a word with the
2525
+ * argument, that command is the only suggestion.
2525
2526
  * When no command joins, the docs whose route, title or declared keywords
2526
2527
  * carry a typed word ({@link wordMatches}) take the place of the topics and
2527
2528
  * namespaces, the named route that list leads with first, in a list no
@@ -2583,8 +2584,11 @@ export async function unknownTopicError(topic, catalog, {cwd} = {}) {
2583
2584
  ...catalog.names().map(name => ({name, reason: 'available topic'})),
2584
2585
  ];
2585
2586
  }
2587
+ // A child the route names stays first, ahead of another command's entry.
2588
+ let namedChild = 0;
2586
2589
  if (typeof topic === 'string' && routeChildren) {
2587
2590
  const byRoute = orderRouteSuggestions(topic, suggestions, {closest: false});
2591
+ namedChild = namesRoute(topic, byRoute[0]?.name ?? '') ? 1 : 0;
2588
2592
  suggestions = withPageBelow(
2589
2593
  topic,
2590
2594
  byRoute,
@@ -2644,6 +2648,7 @@ export async function unknownTopicError(topic, catalog, {cwd} = {}) {
2644
2648
  // Kept with the project's one name index (the docs catalog itself
2645
2649
  // is not asked from here).
2646
2650
  docsRoutes: routes.docsRoutesLazily,
2651
+ tail: componentTail(String(topic), hint.tailForms, tree, catalog),
2647
2652
  })
2648
2653
  : null;
2649
2654
  if (hint && elsewhere) {
@@ -2655,6 +2660,7 @@ export async function unknownTopicError(topic, catalog, {cwd} = {}) {
2655
2660
  hint.withOtherCommand(suggestions, elsewhere, String(topic), {
2656
2661
  from: 'docs',
2657
2662
  alone: !sharesAWord,
2663
+ pinned: namedChild,
2658
2664
  }) ?? [];
2659
2665
  } else if (byWords.length > 0) {
2660
2666
  suggestions = fewerWordMatches(String(topic), suggestions, byWords, 0);
@@ -2666,6 +2672,31 @@ export async function unknownTopicError(topic, catalog, {cwd} = {}) {
2666
2672
  );
2667
2673
  }
2668
2674
 
2675
+ /**
2676
+ * The names a typed last route segment may give a Core component or hook by,
2677
+ * or none when a stable doc or topic name, as typed or with its words
2678
+ * singular, is one of them: a doc wins (`icons` is a topic, so `guides/icon`
2679
+ * names no component), while an experimental doc changes no stable answer.
2680
+ * @param {string} topic
2681
+ * @param {(name: string) => string[]} formsOf other-command.mjs tailForms
2682
+ * @param {DocsTree} tree
2683
+ * @param {DocsCatalog} catalog
2684
+ * @returns {string[]}
2685
+ */
2686
+ function componentTail(topic, formsOf, tree, catalog) {
2687
+ const forms = formsOf(topic);
2688
+ const docNames = [
2689
+ ...[...tree.nodes.values()]
2690
+ .filter(node => !isExperimentalTreeNode(tree, node))
2691
+ .map(node => node.name),
2692
+ ...catalog.names(),
2693
+ ];
2694
+ const namesADoc = docNames.some(name =>
2695
+ formsOf(name).some(form => forms.includes(form)),
2696
+ );
2697
+ return namesADoc ? [] : forms;
2698
+ }
2699
+
2669
2700
  /**
2670
2701
  * The project a catalog came from, loaded again when the catalog is not one
2671
2702
  * {@link loadDocsCatalog} made. Undefined when the project does not load.
@@ -439,8 +439,8 @@ export function readBuiltPath(target: string, { fileLimit }?: {
439
439
  export function builtIntegrationPackages(target: string, cwd: string): string[];
440
440
  /**
441
441
  * The install line for the font families a known package loads (an open
442
- * font the editor's table names), as the project's integration install
443
- * guidance gives it, else in the project's package manager, and
442
+ * font with a known Fontsource package), as the project's integration
443
+ * install guidance gives it, else in the project's package manager, and
444
444
  * whether it loads every family given. A family no known package loads (a
445
445
  * self-hosted face) gets none: its package name would be a guess.
446
446
  * @param {string} projectDir
@@ -480,6 +480,7 @@ export { placeholderFixes } from "../../foundation/discovery/template-icons.mjs"
480
480
  export { iconFeatureGate } from "../../foundation/integrations/icon-features.mjs";
481
481
  export { addMatchingCore } from "../../foundation/release/notices.mjs";
482
482
  export { fontServiceFamilies } from "../../foundation/fonts/font-stylesheet.mjs";
483
+ export { declaredColorModes } from "../../foundation/discovery/color-modes.mjs";
483
484
  export { resolveRecordedTheme } from "../theme/theme.mjs";
484
485
  export { themeIdentifier } from "../theme/_fork.mjs";
485
486
  export { collectUnloadedFonts } from "../theme/build/font-warning.mjs";
@@ -578,6 +579,8 @@ export { listProjectSourceFiles, SOURCE_EXTENSIONS } from "../../foundation/fs/p
578
579
  export { projectImportsModule, specifierTargets } from "../../foundation/fs/project-sources.mjs";
579
580
  export { iconUseCommand, unlistedIconSets } from "../../foundation/discovery/icon-set-discovery.mjs";
580
581
  export { isLocalThemeOwner, planThemeAppWrite, readThemeState, resolveThemeModule } from "../../foundation/config/theme-state.mjs";
581
- export { fileMark, generatedSourceCommand, isPrivateVarRefusal, missingThemePackage, themeBuild, validateThemePrivateInputs } from "../theme/build/build.mjs";
582
+ export { fileMark, isPrivateVarRefusal, missingThemePackage, themeBuild, validateThemePrivateInputs } from "../theme/build/build.mjs";
582
583
  export { installCommandFor as packageInstallCommand, installStepFor as packageInstallStep } from "../../foundation/discovery/template-needs.mjs";
584
+ export { nextFontFix, rootLayoutImportsNextFont } from "../../foundation/fonts/next-font.mjs";
585
+ export { APP_ROOT_LAYOUT_FILES, parseAppModule } from "../../foundation/discovery/app-layout.mjs";
583
586
  export { AUTHORING_AUDIT, authoringAudit, authoringAuditData } from "./_authoring-audit.mjs";