@astryxdesign/cli 0.7.16 → 0.7.17-canary.g16fe6a8

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 (380) hide show
  1. package/README.md +76 -86
  2. package/api/build/_adapter.d.mts +12 -0
  3. package/api/build/_adapter.mjs +51 -34
  4. package/api/build/blocks/blocks.d.mts +7 -5
  5. package/api/build/blocks/blocks.mjs +113 -26
  6. package/api/build/build.doc.mjs +4 -3
  7. package/api/build/build.type.d.mts +2 -2
  8. package/api/build/build.type.mjs +3 -3
  9. package/api/build/kit/kind.d.mts +2 -1
  10. package/api/build/kit/kind.mjs +199 -10
  11. package/api/build/kit/kit.mjs +6 -4
  12. package/api/build/kit/rank.d.mts +4 -2
  13. package/api/build/kit/rank.mjs +125 -24
  14. package/api/build/kit/start.d.mts +5 -4
  15. package/api/build/kit/start.mjs +12 -8
  16. package/api/build/kit/weights.d.mts +39 -3
  17. package/api/build/kit/weights.json +1 -1
  18. package/api/build/kit/weights.mjs +340 -43
  19. package/api/build/kit/word-model.d.mts +23 -0
  20. package/api/build/kit/word-model.mjs +46 -0
  21. package/api/build/kit/words.d.mts +48 -0
  22. package/api/build/kit/words.mjs +90 -1
  23. package/api/component/__fixtures__/resolutions/modules.txt +4 -5
  24. package/api/component/list/list.d.mts +1 -1
  25. package/api/component/list/list.mjs +48 -6
  26. package/api/discover/_adapter.d.mts +1 -1
  27. package/api/discover/search/search.mjs +3 -2
  28. package/api/docs/_adapter.d.mts +28 -2
  29. package/api/docs/_adapter.mjs +249 -10
  30. package/api/docs/docs.d.mts +3 -0
  31. package/api/docs/docs.doc.mjs +7 -1
  32. package/api/docs/docs.mjs +12 -0
  33. package/api/docs/docs.type.d.mts +5 -0
  34. package/api/docs/docs.type.mjs +2 -0
  35. package/api/docs/node/node.mjs +1 -1
  36. package/api/doctor/_adapter.d.mts +27 -5
  37. package/api/doctor/_adapter.mjs +83 -10
  38. package/api/doctor/built-checks.mjs +40 -14
  39. package/api/doctor/doctor.d.mts +4 -3
  40. package/api/doctor/doctor.mjs +14 -7
  41. package/api/doctor/theme-checks.mjs +121 -17
  42. package/api/icon/_records.mjs +2 -1
  43. package/api/index.d.mts +2 -0
  44. package/api/index.mjs +2 -0
  45. package/api/integration/_adapter.d.mts +44 -0
  46. package/api/integration/_adapter.mjs +77 -1
  47. package/api/integration/authoring-checks.mjs +6 -6
  48. package/api/integration/example-scope.d.mts +14 -0
  49. package/api/integration/example-scope.mjs +44 -0
  50. package/api/integration/example-scope.type.d.mts +29 -0
  51. package/api/integration/example-scope.type.mjs +25 -0
  52. package/api/integration/integrationExampleScope.doc.d.mts +11 -0
  53. package/api/integration/integrationExampleScope.doc.mjs +59 -0
  54. package/api/integration/validate-integration.mjs +19 -1
  55. package/api/integration/validate-integration.type.d.mts +9 -0
  56. package/api/integration/validate-integration.type.mjs +1 -1
  57. package/api/integration/validateIntegration.doc.mjs +1 -1
  58. package/api/render/_adapter.mjs +591 -195
  59. package/api/render/render.doc.mjs +11 -3
  60. package/api/render/render.type.d.mts +52 -0
  61. package/api/render/render.type.mjs +31 -1
  62. package/api/search/ORDERING.md +1 -1
  63. package/api/search/_adapter.d.mts +9 -0
  64. package/api/search/_adapter.mjs +85 -0
  65. package/api/search/_candidate-score.mjs +51 -32
  66. package/api/search/_fit-order.mjs +3 -3
  67. package/api/search/_gather-components.d.mts +3 -2
  68. package/api/search/_gather-components.mjs +12 -3
  69. package/api/search/_lexical.d.mts +5 -0
  70. package/api/search/_lexical.mjs +8 -2
  71. package/api/search/_result.d.mts +11 -9
  72. package/api/search/_result.mjs +4 -4
  73. package/api/search/_score.d.mts +6 -1
  74. package/api/search/_score.mjs +15 -3
  75. package/api/search/search-index.mjs +7 -1
  76. package/api/search/search.d.mts +1 -1
  77. package/api/theme/_adapter.mjs +12 -1
  78. package/api/theme/build/build.d.mts +132 -1
  79. package/api/theme/build/build.mjs +482 -157
  80. package/api/theme/build/core-interception.d.mts +10 -0
  81. package/api/theme/build/core-interception.mjs +10 -0
  82. package/api/theme/build/font-warning.d.mts +44 -5
  83. package/api/theme/build/font-warning.mjs +118 -10
  84. package/api/theme/build/icon-imports.mjs +51 -9
  85. package/api/theme/theme.type.d.mts +10 -0
  86. package/api/theme/theme.type.mjs +7 -1
  87. package/api/theme-edit/_adapter.d.mts +115 -4
  88. package/api/theme-edit/_adapter.mjs +997 -83
  89. package/api/theme-edit/_catalog.d.mts +20 -2
  90. package/api/theme-edit/_catalog.mjs +50 -10
  91. package/api/theme-edit/_check.d.mts +75 -24
  92. package/api/theme-edit/_check.mjs +2672 -422
  93. package/api/theme-edit/_color.d.mts +10 -0
  94. package/api/theme-edit/_color.mjs +54 -1
  95. package/api/theme-edit/_compiler.d.mts +1 -0
  96. package/api/theme-edit/_compiler.mjs +133 -15
  97. package/api/theme-edit/_context.d.mts +14 -3
  98. package/api/theme-edit/_context.mjs +225 -65
  99. package/api/theme-edit/_css.d.mts +14 -0
  100. package/api/theme-edit/_css.mjs +46 -1
  101. package/api/theme-edit/_edit.d.mts +54 -4
  102. package/api/theme-edit/_edit.mjs +2966 -286
  103. package/api/theme-edit/_how-commands.d.mts +72 -1
  104. package/api/theme-edit/_how-commands.mjs +770 -9
  105. package/api/theme-edit/_how-question.d.mts +82 -5
  106. package/api/theme-edit/_how-question.mjs +6983 -701
  107. package/api/theme-edit/_how.d.mts +2 -1
  108. package/api/theme-edit/_how.mjs +237 -41
  109. package/api/theme-edit/_importers.d.mts +38 -0
  110. package/api/theme-edit/_importers.mjs +188 -0
  111. package/api/theme-edit/_marks.d.mts +31 -5
  112. package/api/theme-edit/_marks.mjs +57 -5
  113. package/api/theme-edit/_name-rule.d.mts +11 -0
  114. package/api/theme-edit/_name-rule.mjs +12 -0
  115. package/api/theme-edit/_normal.d.mts +303 -0
  116. package/api/theme-edit/_normal.mjs +1517 -0
  117. package/api/theme-edit/_palette.d.mts +12 -0
  118. package/api/theme-edit/_palette.mjs +37 -4
  119. package/api/theme-edit/_part-words.d.mts +31 -0
  120. package/api/theme-edit/_part-words.mjs +126 -0
  121. package/api/theme-edit/_parts.d.mts +28 -2
  122. package/api/theme-edit/_parts.mjs +267 -31
  123. package/api/theme-edit/_preview-app.d.mts +7 -13
  124. package/api/theme-edit/_preview-app.mjs +814 -406
  125. package/api/theme-edit/_preview.d.mts +116 -16
  126. package/api/theme-edit/_preview.mjs +649 -152
  127. package/api/theme-edit/_project.d.mts +22 -1
  128. package/api/theme-edit/_project.mjs +83 -3
  129. package/api/theme-edit/_settings.d.mts +467 -42
  130. package/api/theme-edit/_settings.mjs +3527 -468
  131. package/api/theme-edit/_tables.d.mts +21 -0
  132. package/api/theme-edit/_tables.mjs +97 -3
  133. package/api/theme-edit/_vet.d.mts +31 -0
  134. package/api/theme-edit/_vet.mjs +114 -8
  135. package/api/theme-edit/theme-edit.type.d.mts +16 -2
  136. package/api/theme-edit/theme-edit.type.mjs +6 -3
  137. package/api/theme-edit/themeEditHow.doc.mjs +1 -1
  138. package/api/theme-edit/themeEditNew.doc.d.mts +0 -1
  139. package/api/theme-edit/themeEditNew.doc.mjs +7 -4
  140. package/api/theme-edit/themeEditPreviewApp.doc.mjs +3 -3
  141. package/api/theme-edit/themeEditPreviewRemove.doc.mjs +2 -2
  142. package/api/upgrade/run/run.mjs +4 -3
  143. package/assets/codemods/integration-discovery.mjs +2 -1
  144. package/assets/codemods/run-codemod.mjs +87 -7
  145. package/assets/codemods/transforms/next/index.mjs +11 -1
  146. package/assets/codemods/transforms/next/migrate-item-swipe-actions-to-swipe.mjs +394 -0
  147. package/assets/component-list.generated.json +1 -0
  148. package/assets/docs/author-a-theme.doc.mjs +1 -0
  149. package/assets/docs/theme.doc.dense.mjs +2 -2
  150. package/assets/docs/theme.doc.mjs +1 -1
  151. package/assets/docs/tree/check-your-docs.doc.mjs +1 -1
  152. package/assets/docs/tree/checks.doc.mjs +1 -1
  153. package/assets/docs/tree/cli-command.doc.mjs +2 -3
  154. package/assets/docs/tree/render-pages.doc.mjs +44 -3
  155. package/assets/docs/tree/share-a-page.doc.mjs +157 -0
  156. package/assets/docs/tree/single-component.doc.mjs +4 -0
  157. package/assets/docs/tree/template-doc-overview.doc.mjs +1 -1
  158. package/assets/docs/tree/test-in-an-app.doc.mjs +1 -1
  159. package/assets/docs/use-a-theme.doc.mjs +1 -1
  160. package/assets/docs.generated.json +2 -2
  161. package/assets/search-catalog.generated.json +2 -0
  162. package/assets/self-audit.generated.json +1 -1
  163. package/assets/templates/blocks/components/ChatComposerInput/useChatDictationHookUsage.doc.mjs +14 -0
  164. package/assets/templates/blocks/components/ChatComposerInput/useChatDictationHookUsage.tsx +38 -0
  165. package/assets/templates/blocks/components/Hooks/useContainerRevealHookUsage.tsx +2 -2
  166. package/assets/templates/blocks/components/SyntaxTheme/useSyntaxThemeHookUsage.doc.mjs +14 -0
  167. package/assets/templates/blocks/components/SyntaxTheme/useSyntaxThemeHookUsage.tsx +36 -0
  168. package/assets/templates/components.generated.json +1 -1
  169. package/assets/templates/pages/ai-chat/template.doc.mjs +5 -4
  170. package/assets/templates/pages/ai-chat-landing/template.doc.mjs +5 -1
  171. package/assets/templates/pages/blank/template.doc.mjs +1 -1
  172. package/assets/templates/pages/canvas-editor/template.doc.mjs +4 -2
  173. package/assets/templates/pages/centered-hero/template.doc.mjs +9 -1
  174. package/assets/templates/pages/classic-gallery/template.doc.mjs +1 -1
  175. package/assets/templates/pages/contact-form/template.doc.mjs +2 -1
  176. package/assets/templates/pages/dashboard/template.doc.mjs +3 -2
  177. package/assets/templates/pages/dashboard-alert-rail/template.doc.mjs +2 -1
  178. package/assets/templates/pages/dashboard-cohort-funnel/template.doc.mjs +2 -1
  179. package/assets/templates/pages/dashboard-composition/template.doc.mjs +2 -1
  180. package/assets/templates/pages/dashboard-progress/template.doc.mjs +6 -3
  181. package/assets/templates/pages/detail-page/template.doc.mjs +10 -3
  182. package/assets/templates/pages/documentation/template.doc.mjs +4 -1
  183. package/assets/templates/pages/documentation-design/template.doc.mjs +7 -1
  184. package/assets/templates/pages/documentation-technical/template.doc.mjs +7 -1
  185. package/assets/templates/pages/editor/template.doc.mjs +2 -8
  186. package/assets/templates/pages/file-explorer/template.doc.mjs +1 -1
  187. package/assets/templates/pages/form-two-column/template.doc.mjs +4 -3
  188. package/assets/templates/pages/form-wizard/template.doc.mjs +5 -3
  189. package/assets/templates/pages/gallery-hero/template.doc.mjs +4 -2
  190. package/assets/templates/pages/ide/page.tsx +24 -2
  191. package/assets/templates/pages/kanban-board/template.doc.mjs +1 -9
  192. package/assets/templates/pages/library/template.doc.mjs +4 -1
  193. package/assets/templates/pages/login/template.doc.mjs +2 -1
  194. package/assets/templates/pages/login-card/template.doc.mjs +2 -1
  195. package/assets/templates/pages/login-split/template.doc.mjs +2 -1
  196. package/assets/templates/pages/login-sso/template.doc.mjs +4 -2
  197. package/assets/templates/pages/mixed-gallery/template.doc.mjs +2 -1
  198. package/assets/templates/pages/product-detail/template.doc.mjs +4 -2
  199. package/assets/templates/pages/product-gallery/template.doc.mjs +2 -1
  200. package/assets/templates/pages/settings-dialog/template.doc.mjs +2 -1
  201. package/assets/templates/pages/settings-sidebar/template.doc.mjs +2 -1
  202. package/assets/templates/pages/shell-nav/template.doc.mjs +4 -2
  203. package/assets/templates/pages/shell-side-nav/template.doc.mjs +5 -3
  204. package/assets/templates/pages/shell-top-nav/template.doc.mjs +2 -1
  205. package/assets/templates/pages/side-gallery/template.doc.mjs +9 -1
  206. package/assets/templates/pages/table-filter/template.doc.mjs +9 -8
  207. package/assets/templates/pages/table-grouped/template.doc.mjs +4 -2
  208. package/assets/templates/pages/table-page/template.doc.mjs +5 -4
  209. package/assets/templates/pages/table-tree/template.doc.mjs +6 -3
  210. package/assets/templates/pages/theme-showcase/template.doc.mjs +2 -9
  211. package/assets/templates/pages/work-item-detail/template.doc.mjs +1 -0
  212. package/assets/theme.template.ts +6 -0
  213. package/authoring/debug/parse.d.mts +3 -3
  214. package/authoring/doctypes/_schema.d.mts +3 -3
  215. package/authoring/doctypes/command/command.doc.mjs +1 -1
  216. package/authoring/doctypes/component/categories.d.mts +37 -0
  217. package/authoring/doctypes/component/categories.mjs +54 -0
  218. package/authoring/doctypes/template/template.doc.mjs +1 -1
  219. package/authoring/doctypes/template/type.ts +9 -0
  220. package/authoring/example/example.doc.d.mts +12 -0
  221. package/authoring/example/example.doc.mjs +69 -0
  222. package/authoring/example/preview.d.mts +92 -0
  223. package/authoring/example/preview.mjs +994 -0
  224. package/authoring/example/type.ts +102 -0
  225. package/authoring/index.d.mts +1 -0
  226. package/authoring/index.d.ts +12 -0
  227. package/authoring/index.mjs +3 -1
  228. package/clients/cli/bin/astryx.mjs +6 -9
  229. package/clients/cli/build-id.generated.json +1 -1
  230. package/clients/cli/commands/component.doc.mjs +1 -1
  231. package/clients/cli/commands/component.mjs +22 -3
  232. package/clients/cli/commands/docs.doc.mjs +7 -1
  233. package/clients/cli/commands/docs.mjs +3 -1
  234. package/clients/cli/commands/doctor.mjs +32 -14
  235. package/clients/cli/commands/experimental/render.mjs +42 -1
  236. package/clients/cli/commands/experimental/theme.mjs +573 -119
  237. package/clients/cli/commands/experimental-render.doc.mjs +2 -2
  238. package/clients/cli/commands/experimental-theme-compile.doc.mjs +3 -3
  239. package/clients/cli/commands/experimental-theme-editor-how.doc.mjs +87 -1
  240. package/clients/cli/commands/experimental-theme-editor-new.doc.mjs +10 -3
  241. package/clients/cli/commands/experimental-theme-editor-set.doc.mjs +1 -1
  242. package/clients/cli/commands/experimental-theme-editor-show.doc.mjs +2 -2
  243. package/clients/cli/commands/experimental-theme-editor-undo.doc.mjs +2 -2
  244. package/clients/cli/commands/experimental-theme-editor.doc.mjs +1 -1
  245. package/clients/cli/commands/experimental-theme-preview-app.doc.mjs +1 -1
  246. package/clients/cli/commands/experimental-theme-preview-remove.doc.mjs +2 -2
  247. package/clients/cli/commands/experimental-theme-preview.doc.mjs +2 -1
  248. package/clients/cli/commands/experimental-theme.doc.mjs +5 -1
  249. package/clients/cli/commands/search.doc.mjs +2 -1
  250. package/clients/cli/commands/search.mjs +6 -1
  251. package/clients/cli/commands/template.mjs +4 -2
  252. package/clients/cli/commands/theme-build.doc.mjs +5 -1
  253. package/clients/cli/commands/theme.doc.mjs +1 -1
  254. package/clients/cli/commands/theme.mjs +718 -438
  255. package/clients/cli/commands/upgrade.mjs +42 -7
  256. package/clients/cli/index.mjs +1 -1
  257. package/clients/cli/lib/cli-error.mjs +2 -1
  258. package/clients/cli/lib/component-format.mjs +205 -98
  259. package/clients/cli/lib/hook-format.mjs +9 -19
  260. package/clients/cli/lib/json-shim.mjs +132 -24
  261. package/clients/cli/lib/manifest.mjs +3 -2
  262. package/clients/cli/manifest.generated.json +1 -1
  263. package/foundation/agent-docs/agent-docs.mjs +1 -1
  264. package/foundation/config/theme-state.d.mts +13 -1
  265. package/foundation/config/theme-state.mjs +47 -7
  266. package/foundation/discovery/authoring-self-docs.mjs +1 -0
  267. package/foundation/discovery/component-discovery.d.mts +11 -0
  268. package/foundation/discovery/component-discovery.mjs +56 -8
  269. package/foundation/discovery/component-replacement.mjs +130 -1
  270. package/foundation/discovery/copied-passages.mjs +2 -1
  271. package/foundation/discovery/core-component-docs.d.mts +29 -0
  272. package/foundation/discovery/core-component-docs.mjs +83 -0
  273. package/foundation/discovery/doc-types.mjs +4 -3
  274. package/foundation/discovery/entry-name-files.d.mts +43 -0
  275. package/foundation/discovery/entry-name-files.mjs +264 -0
  276. package/foundation/discovery/hook-discovery.d.mts +8 -2
  277. package/foundation/discovery/hook-discovery.mjs +22 -8
  278. package/foundation/discovery/icon-definition-discovery.mjs +2 -1
  279. package/foundation/discovery/icon-set-checks.mjs +2 -1
  280. package/foundation/discovery/icon-set-discovery.mjs +2 -1
  281. package/foundation/discovery/integration-doc-files.mjs +2 -1
  282. package/foundation/discovery/package-exports.d.mts +10 -0
  283. package/foundation/discovery/package-exports.mjs +56 -3
  284. package/foundation/discovery/prop-drift.mjs +9 -9
  285. package/foundation/discovery/runner-allowlist.d.mts +1 -0
  286. package/foundation/discovery/runner-allowlist.mjs +2 -0
  287. package/foundation/discovery/stored-component-list.d.mts +43 -0
  288. package/foundation/discovery/stored-component-list.mjs +90 -0
  289. package/foundation/discovery/stored-search-catalog.d.mts +115 -0
  290. package/foundation/discovery/stored-search-catalog.mjs +297 -0
  291. package/foundation/discovery/stored-self-audit.d.mts +26 -10
  292. package/foundation/discovery/stored-self-audit.mjs +38 -18
  293. package/foundation/discovery/template-adapter.d.mts +53 -1
  294. package/foundation/discovery/template-adapter.mjs +176 -12
  295. package/foundation/discovery/template-icons.mjs +2 -1
  296. package/foundation/discovery/theme-discovery.mjs +31 -4
  297. package/foundation/discovery/theme-imports.d.mts +14 -0
  298. package/foundation/discovery/theme-imports.mjs +43 -1
  299. package/foundation/discovery/theming-targets.d.mts +6 -5
  300. package/foundation/discovery/theming-targets.mjs +31 -47
  301. package/foundation/doc-compiler/import.mjs +7 -1
  302. package/foundation/doc-compiler/inputs.mjs +3 -2
  303. package/foundation/doc-compiler/parse-readable.mjs +4 -1
  304. package/foundation/doc-compiler/stored-docs.d.mts +22 -0
  305. package/foundation/doc-compiler/stored-docs.mjs +49 -0
  306. package/foundation/env/semver.mjs +3 -1
  307. package/foundation/fonts/font-stylesheet.d.mts +38 -0
  308. package/foundation/fonts/font-stylesheet.mjs +141 -0
  309. package/foundation/fs/cache-eviction.d.mts +21 -0
  310. package/foundation/fs/cache-eviction.mjs +73 -0
  311. package/foundation/fs/exact-codec.d.mts +12 -2
  312. package/foundation/fs/exact-codec.mjs +23 -6
  313. package/foundation/fs/file-protection.mjs +4 -3
  314. package/foundation/fs/gather-cache.d.mts +62 -4
  315. package/foundation/fs/gather-cache.mjs +517 -91
  316. package/foundation/fs/jiti-cache.d.mts +19 -1
  317. package/foundation/fs/jiti-cache.mjs +130 -6
  318. package/foundation/fs/kept-tree.d.mts +60 -0
  319. package/foundation/fs/kept-tree.mjs +154 -0
  320. package/foundation/fs/listing-cache.d.mts +7 -0
  321. package/foundation/fs/listing-cache.mjs +10 -0
  322. package/foundation/fs/module-loader.d.mts +24 -2
  323. package/foundation/fs/module-loader.mjs +94 -21
  324. package/foundation/fs/paths.d.mts +18 -0
  325. package/foundation/fs/paths.mjs +15 -2
  326. package/foundation/fs/read-record.d.mts +9 -0
  327. package/foundation/fs/read-record.mjs +19 -11
  328. package/foundation/fs/stop-cleanup.d.mts +12 -0
  329. package/foundation/fs/stop-cleanup.mjs +66 -0
  330. package/foundation/identity/provider-identity.d.mts +6 -0
  331. package/foundation/identity/provider-identity.mjs +10 -1
  332. package/foundation/integrations/contribution-inventory.mjs +4 -3
  333. package/foundation/integrations/example-code.d.mts +63 -0
  334. package/foundation/integrations/example-code.mjs +416 -0
  335. package/foundation/integrations/public-imports.d.mts +9 -0
  336. package/foundation/integrations/public-imports.mjs +3 -2
  337. package/foundation/integrations/validate-contributions.mjs +17 -45
  338. package/foundation/render/embedded-files.d.mts +6 -0
  339. package/foundation/render/embedded-files.mjs +25 -5
  340. package/foundation/render/embedded-imports.d.mts +39 -7
  341. package/foundation/render/embedded-imports.mjs +66 -27
  342. package/foundation/render/file-header.d.mts +66 -0
  343. package/foundation/render/file-header.mjs +118 -0
  344. package/foundation/render/host-answer.d.mts +18 -0
  345. package/foundation/render/host-answer.mjs +46 -0
  346. package/foundation/render/host-exit.d.mts +1 -0
  347. package/foundation/render/host-exit.mjs +6 -1
  348. package/foundation/render/html-reader.d.mts +55 -2
  349. package/foundation/render/html-reader.mjs +145 -26
  350. package/foundation/render/markup-edits.d.mts +57 -0
  351. package/foundation/render/markup-edits.mjs +182 -0
  352. package/foundation/render/page-host.mjs +29 -12
  353. package/foundation/render/page-worker.mjs +121 -13
  354. package/foundation/render/picture-chrome.d.mts +4 -0
  355. package/foundation/render/picture-chrome.mjs +185 -0
  356. package/foundation/render/picture-playwright.d.mts +4 -0
  357. package/foundation/render/picture-playwright.mjs +34 -0
  358. package/foundation/render/rebuild.mjs +2 -1
  359. package/foundation/render/render-page.d.mts +35 -3
  360. package/foundation/render/render-page.mjs +641 -96
  361. package/foundation/render/source-block.d.mts +85 -6
  362. package/foundation/render/source-block.mjs +211 -20
  363. package/foundation/render/ts-paths.d.mts +69 -6
  364. package/foundation/render/ts-paths.mjs +326 -40
  365. package/foundation/response/error-codes.d.mts +3 -1
  366. package/foundation/response/error-codes.d.ts +1 -0
  367. package/foundation/response/error-codes.doc.mjs +12 -1
  368. package/foundation/response/error-codes.mjs +11 -1
  369. package/foundation/response/response-types.doc.mjs +2 -2
  370. package/foundation/text/compare-text.d.mts +14 -0
  371. package/foundation/text/compare-text.mjs +68 -0
  372. package/foundation/text/css-escape.d.mts +18 -0
  373. package/foundation/text/css-escape.mjs +35 -0
  374. package/foundation/text/string-utils.d.mts +3 -2
  375. package/foundation/text/string-utils.mjs +18 -4
  376. package/foundation/text/suggest-order.d.mts +9 -0
  377. package/foundation/text/suggest-order.mjs +15 -1
  378. package/foundation/xle/expand.mjs +2 -1
  379. package/host/index.mjs +8 -6
  380. package/package.json +7 -6
@@ -0,0 +1 @@
1
+ {"core":{"inputs":{".":"dir:a27d055bb3d67a0699aa239d25809636","package.json":"pkg:6ba99ea67d8073072157f152a44c37fa","src":"dir:b56bba8531df179f2c48b6ea15981c3a","src/AlertDialog":"dir:0b61ecd4c142c5bffac57b1e5db42847","src/AlertDialog/AlertDialog.doc.mjs":"5c3d0c892d7bda33ba78e1dc69295101","src/AppShell":"dir:942a5e5cde915ca30947eef1be16ee26","src/AppShell/AppShell.doc.mjs":"65eae099012d0d1e8b6266c0eb0ba662","src/AspectRatio":"dir:4c328443658e180d8edce720fa01a109","src/AspectRatio/AspectRatio.doc.mjs":"38682f538a1e5bf8576cf32e6cf28d79","src/Avatar":"dir:e61ec106a9f3ddc030641db78835ae0c","src/Avatar/Avatar.doc.mjs":"8772ab710a3cdee227270625fe4e4227","src/Avatar/AvatarStatusDot.doc.mjs":"441ca6283b6e4759baa9d39ffc5cf7dd","src/AvatarGroup":"dir:e0244ef3e7486b5a9942237b1cf6fafd","src/AvatarGroup/AvatarGroup.doc.mjs":"1eb9d9f177877ffae4f0c1c08ba335ea","src/AvatarGroup/AvatarGroupOverflow.doc.mjs":"f60cec2c7930f9bef2e15523ea4fe004","src/Badge":"dir:8e925387c93f7172a402284745b839c4","src/Badge/Badge.doc.mjs":"c62c6a8ab396c688dbb47ad80440ebf0","src/Banner":"dir:60ac2c7e87a3880d37ef6c8fb89c4148","src/Banner/Banner.doc.mjs":"e0444b2cca77fe31d4f2dac9eff2d33b","src/Blockquote":"dir:ee008a5127fb19e9ca87bfad5b5e337f","src/Blockquote/Blockquote.doc.mjs":"b81c88eb3719f6349d71697f4814130b","src/BottomSheet":"dir:9cefe2749af83fd33d99b3f20207eb96","src/BottomSheet/BottomSheet.doc.mjs":"a228f349c5ee1fe66b76232da62951c8","src/BottomSheet/BottomSheetSwitcher.doc.mjs":"ab9bc8f9347cea14fb267953481b6eb6","src/Breadcrumbs":"dir:e2cfce0bb76a3be117438e3971ee9f78","src/Breadcrumbs/BreadcrumbItem.doc.mjs":"cbbbf19ddaaf947891c74f9e8807b2a6","src/Breadcrumbs/Breadcrumbs.doc.mjs":"265e9dd0a9281df352faf19b02365c0f","src/Button":"dir:568cb19c3a135b900c3dc65ebc0b85f1","src/Button/Button.doc.mjs":"c8ca4b7fe8747a08e0d008fb60d5c0d2","src/ButtonGroup":"dir:e750ed61311993a84da9fa7fc87d4ad0","src/ButtonGroup/ButtonGroup.doc.mjs":"888a92282256ebd64bbb60852f1a4213","src/Calendar":"dir:582bf7b5fe3f1d5d1c511bf82e6442cf","src/Calendar/Calendar.doc.mjs":"bbd5efb3ca8b05c59a8d895ef6e4a017","src/Calendar/hooks":"dir:117f62683a6ade899330e8e04e00e58a","src/Card":"dir:a67fdf70898d2e41b4fa3b46610fb66b","src/Card/Card.doc.mjs":"96665072fa7afc90b634cd812cef70a4","src/Carousel":"dir:95ef173828e8fd7b0cda6faeb63847d2","src/Carousel/Carousel.doc.mjs":"09aa7f5193218c93f5014317c06cb5b2","src/Center":"dir:da775d2c74a426e8593635ad74991bed","src/Center/Center.doc.mjs":"27417644075bc1a52c912b80631561c2","src/Chat":"dir:f06cf5b4dd9067e86ea8b74af28facc1","src/Chat/Chat.doc.mjs":"1b33214abffd2a9246c25c43647f1fde","src/Chat/ChatComposer.doc.mjs":"9417b045b00aa65bfe18827315898e91","src/Chat/ChatComposerDrawer.doc.mjs":"164a94b429c5823e5e9b84e1135a4189","src/Chat/ChatComposerInput.doc.mjs":"49923a481075f37287dea80d0b54bd27","src/Chat/ChatDictationButton.doc.mjs":"948dbe73cf193cabb295ea357aa1f32b","src/Chat/ChatLayout.doc.mjs":"3b615040073ee1e8a70fa4a369dfe5c1","src/Chat/ChatLayoutScrollButton.doc.mjs":"b5fd5eaca66e3b34d9f73bbbf1e9cec2","src/Chat/ChatMessage.doc.mjs":"12d7d2694f1f2f08073c0f58802aaca2","src/Chat/ChatMessageBubble.doc.mjs":"d1892fcc03363ab7d6de6b1f6a2d0612","src/Chat/ChatMessageList.doc.mjs":"05f997f06d4c9ded9a789563f1a6c09c","src/Chat/ChatMessageMetadata.doc.mjs":"3aac145a6c1d89786946516052735ea5","src/Chat/ChatSendButton.doc.mjs":"3dcf0265101f4bb049dc1b0f5d2b600c","src/Chat/ChatSystemMessage.doc.mjs":"96a4a168c76b5489fd3788cdd7d80ed8","src/Chat/ChatTokenizedText.doc.mjs":"9cdd6de94685a5652f4268f49a096e57","src/Chat/ChatToolCalls.doc.mjs":"b19d346cd14b221d57fbf5bdc09a1095","src/CheckboxInput":"dir:97ff2c04f0ae6a76e3e872e2aa6dedf7","src/CheckboxInput/CheckboxInput.doc.mjs":"65a2357215cc25473c74b41092825eac","src/CheckboxList":"dir:cc9a2f93576111de06a18e8175672cd6","src/CheckboxList/CheckboxList.doc.mjs":"c7fe1048c2d1dc30df33fd9268fb92aa","src/CheckboxList/CheckboxListItem.doc.mjs":"25d26d6e08eea70ad1f9d9a876ed4628","src/Citation":"dir:12aac2463f50fb14d590fa40e17b44f9","src/Citation/Citation.doc.mjs":"9b92133161a181734dd1c1b97e590f0c","src/ClickableCard":"dir:c7b0754afe3c29d8749badfe338f849d","src/ClickableCard/ClickableCard.doc.mjs":"4024a0b5159277e1d5657c9a3b878d8c","src/Code":"dir:bf2d1b4e904d13dc7d3f44c4f8a4e43f","src/Code/Code.doc.mjs":"41ad17d1135448c3b1455d3f1bd4330f","src/CodeBlock":"dir:411df29d5bd006c56d13a5a84baba3e3","src/CodeBlock/CodeBlock.doc.mjs":"5f7e3208ecbe50a1e9e29424e6ec4874","src/CodeBlock/languages":"dir:466a52f577930530fbc07dbbbdebeac2","src/Collapsible":"dir:0b101db06c0e5accb3e733ffa3e06d26","src/Collapsible/Collapsible.doc.mjs":"c65b2bb4916606c77d682994ae533e83","src/Collapsible/CollapsibleGroup.doc.mjs":"d29003b247682363037d149b339f082f","src/CommandPalette":"dir:d324b17a40a02a1330873956288f6f25","src/CommandPalette/CommandPalette.doc.mjs":"d6b2b64775b17dcd08622e9c7405c957","src/CommandPalette/CommandPaletteEmpty.doc.mjs":"76850b086e6cfc704d3b31247e92c4cf","src/CommandPalette/CommandPaletteFooter.doc.mjs":"8d373a76154c80f191a34be5408e8ef9","src/CommandPalette/CommandPaletteGroup.doc.mjs":"189f87ef5caa1a4a4929b627bd46cddc","src/CommandPalette/CommandPaletteInput.doc.mjs":"a48b347b05157c842fd2c7c28f3e208b","src/CommandPalette/CommandPaletteItem.doc.mjs":"4435796b21638556265e244efde46ab2","src/CommandPalette/CommandPaletteList.doc.mjs":"18f21721bbf31225f8ed518df73f5701","src/ComplexSelector":"dir:b8e631813454303314a06c53e24fffb1","src/ComplexSelector/ComplexSelector.doc.mjs":"dd1ea98141596a186bd39395d02e3162","src/ContextMenu":"dir:9b03b225c171073dab75a4895df3bfc8","src/ContextMenu/ContextMenu.doc.mjs":"a39c3b9f7551b23e66dd2859dbe5255d","src/DateInput":"dir:db181b61dbb6396d466d34e3193cc5ef","src/DateInput/DateInput.doc.mjs":"e32a360e6aa7781d0c93ea343ef695a8","src/DateRangeInput":"dir:84015447c380484c921d25594fd3b768","src/DateRangeInput/DateRangeInput.doc.mjs":"e75da05b26c4dfb99de17a02eb7a6be0","src/DateTimeInput":"dir:f77bf06356b6450c28fa2da41949da1a","src/DateTimeInput/DateTimeInput.doc.mjs":"ab1ec32757c1e62f8e3c5f5386d0f5f7","src/Dialog":"dir:6cc3b6abb622ccfe59024b9e4a422876","src/Dialog/Dialog.doc.mjs":"4aa3d1c530289cc0f849379c153783e2","src/Dialog/DialogHeader.doc.mjs":"548bf15ef7e22b9e7e3b0ae17518a3fa","src/Divider":"dir:7890908634f785c6d97ee72ecb0f4493","src/Divider/Divider.doc.mjs":"4a84d7de32aa602fc875fedbb8bd6634","src/Drawer":"dir:34e1b16edbd65360bc5359df41af9431","src/Drawer/Drawer.doc.mjs":"ba2cff3c3827b39eb088c73804d7231b","src/Drawer/DrawerHeader.doc.mjs":"e3fe76e8c807a8f220930077e2622238","src/DropdownMenu":"dir:bb89f1e1ee9297c10af704eef3f2b860","src/DropdownMenu/DropdownMenu.doc.mjs":"01c92c1fdfe83b535a4694ebb60c6b0f","src/DropdownMenu/DropdownMenuCheckboxItem.doc.mjs":"5442593988be40d6041b28ea161ef545","src/DropdownMenu/DropdownMenuDivider.doc.mjs":"6b9b04a310a0f290b6915e3f8a73092a","src/DropdownMenu/DropdownMenuGroup.doc.mjs":"21ff48e89fc8d5238b7019c246d2bab4","src/DropdownMenu/DropdownMenuItem.doc.mjs":"7fc8d46ce07d81947fcee64426698ad6","src/DropdownMenu/DropdownMenuRadioGroup.doc.mjs":"8eb7c9344d6186af28e0863c71e7e729","src/DropdownMenu/DropdownMenuRadioItem.doc.mjs":"f05d02dc22dd91e141c4d8359f38c317","src/DropdownMenu/DropdownMenuSubMenu.doc.mjs":"ce191b33515d1f7b52ca4689445ae8f4","src/EmptyState":"dir:f0e40988ffe257f48ced6500092143c9","src/EmptyState/EmptyState.doc.mjs":"70b2a4fdc063f21619bfd205ae99712e","src/Field":"dir:5cdea1e06359502d724626e9bb0810c5","src/Field/Field.doc.mjs":"469f6fcbad534885b297d6ecff4b3733","src/Field/FieldLabel.doc.mjs":"859c207d1bbac76ac4c8c049c402ec1f","src/FieldStatus":"dir:460e331609abc640cc70f5533eae455b","src/FieldStatus/FieldStatus.doc.mjs":"85f1570bfe8d4e7875daea64a87f2ee6","src/FileInput":"dir:5bfab3cf0cf3be71593e93d694a38a75","src/FileInput/FileInput.doc.mjs":"7303a24eb0520c4f4ab936db5dd0e7bb","src/FormLayout":"dir:2d3ebfd15fe13808b094999f40d19f1b","src/FormLayout/FormLayout.doc.mjs":"ef055a8659f6fffb98449d765b0dbd75","src/Grid":"dir:a562d3286ee62d8e585bc67609b355bf","src/Grid/Grid.doc.mjs":"2402f536835fe7ac63d49f3cd7fdfd95","src/Grid/GridSpan.doc.mjs":"86a258912b6c068d045c108b1d218893","src/HStack":"dir:15dec07948593336ba7d20c2d5f3f8e8","src/HStack/HStack.tsx":"6b2e9e8a6631e61f7f7cd20d6a7de343","src/Heading":"dir:b672cad6507e7651776b1e69cefee3b4","src/HoverCard":"dir:ec940c2e73b68c2f445eb49fffaeea45","src/HoverCard/HoverCard.doc.mjs":"109a6d4ca5cf1ce5d09f453fc70e3fcd","src/Icon":"dir:9ead04cce7ae2051220a520446a9ae49","src/Icon/Icon.doc.mjs":"705a38ee0e340816510e86a66461075c","src/IconButton":"dir:dcc2607763d4cb9935470d0c792970e0","src/IconButton/IconButton.doc.mjs":"1d463e512ef29d3b0525ab226446489a","src/Indicator":"dir:ae26e6a60aaa6ddaf7e83d8513114764","src/InfoTip":"dir:d74bbf4a3561ee6154b7a38a9498db28","src/InfoTip/InfoTip.doc.mjs":"24276681a98d1aadba5fe8edf4d0c1c4","src/InputGroup":"dir:e2d0c581df0df74a21b468b96eaa79db","src/InputGroup/InputGroup.doc.mjs":"1cb28949befb362032acd86b342d1cb2","src/InputGroup/InputGroupText.doc.mjs":"571750b69836f8838e4f9ad30705f9f5","src/InteractiveRoleContext":"dir:e3635bf1ecd60e34f9dafcb1a5d887a8","src/Item":"dir:f2d556428c557e08a3a8c16544a1eb40","src/Item/Item.doc.mjs":"aac092a8c31070a5fa07fdea4b734fa0","src/Kbd":"dir:c7d41c23e577c41f4ff81c5729dc110c","src/Kbd/Kbd.doc.mjs":"a254b315341645535cc851caf1fb30fb","src/Layer":"dir:5254132ad3664959d8a929ff3a04afbe","src/Layout":"dir:84c7b16bcab5ca94f467e86b3d2a106c","src/Layout/Layout.doc.mjs":"9369b3b98afb3c317e5a577f038b83e9","src/Layout/LayoutContent.doc.mjs":"a6fcc82abdc44db4d1c7bd6555870c3a","src/Layout/LayoutFooter.doc.mjs":"477273cf53e93d37db63b921de82704d","src/Layout/LayoutHeader.doc.mjs":"4589ae0464d2a8c122a94f08417bad1a","src/Layout/LayoutPanel.doc.mjs":"2f7d7b328be8054b0b8866ff5f6f4d88","src/Lightbox":"dir:3dcd2acb7006f414327b8516a0fb4366","src/Lightbox/Lightbox.doc.mjs":"bfce6309c6e633e3a267ca12fb3e4bf4","src/Link":"dir:811e9a881ee4f3f5d8303e3639344d79","src/Link/Link.doc.mjs":"8a21210604c6af134a7f97e2e062b67e","src/Link/LinkProvider.doc.mjs":"5483b3b891e5c226f25e21bec6810a57","src/List":"dir:a3fcdef2e2ba37af8340a9467363fa64","src/List/List.doc.mjs":"2a3d3ff2b5507bcb7ea2a65d58e96413","src/List/ListItem.doc.mjs":"ad8a634e54c797d37547821ea4ca7650","src/Markdown":"dir:aeafa494a87995d8c34c3aa4c44394f0","src/Markdown/Markdown.doc.mjs":"c1dfb26820f7a3d8f3b55be915307ab0","src/Markdown/parser":"dir:dcdc3e0b3362edb8fec2a51d3fa51f8f","src/Markdown/plugin-renderer":"dir:124b9dd70f5f31f86823e9cb3d3950e9","src/Markdown/plugins":"dir:00846c611ae64460f2d33fe62ca52c93","src/MetadataList":"dir:fc21c9fca2d75d359ed12f779ae20674","src/MetadataList/MetadataList.doc.mjs":"f21a2bb9a3e5ac79794d65e8d9295d77","src/MetadataList/MetadataListItem.doc.mjs":"b2f79041613d5108a28c45d135c945f1","src/MobileNav":"dir:c875181c70855f717ed9e84fa94b33e5","src/MobileNav/MobileNav.doc.mjs":"662f9f5e41504f23653a90de66572ed1","src/MoreMenu":"dir:2b359be8ab7b06efe324efc4e8ba312a","src/MoreMenu/MoreMenu.doc.mjs":"684abfd0827550d0e4660a399ad71151","src/MultiSelector":"dir:92ca61432c472377d596e58c8a0f8436","src/MultiSelector/MultiSelector.doc.mjs":"654c2ab19e19f9417a3d5f3a41562b10","src/NavIcon":"dir:0cfead8a79a9a4ac084aaf5880770c26","src/NavIcon/NavIcon.doc.mjs":"00c63ceebdcf37c8a59be162d0585069","src/NavItem":"dir:162c0523a88be1f61176d668d18702dc","src/NavMenu":"dir:cc240d0d9d79269a49374b1c69ddd69c","src/NumberInput":"dir:afb7447533fb54258aae39cc089d05d8","src/NumberInput/NumberInput.doc.mjs":"9da5cbe72eaaacd821527343ca75477a","src/Outline":"dir:6ad12361692c64af47602d00971c8fd6","src/Outline/Outline.doc.mjs":"3601235c5d81069e066ef2ab34ee54c8","src/OverflowList":"dir:ae97d4dada67ae7722b15d1facd472b8","src/OverflowList/OverflowList.doc.mjs":"a5ee9ef54f326dc0ff2f1c0d96a7a5c3","src/Overlay":"dir:888c5a990521383df28e8d656d261c62","src/Overlay/Overlay.doc.mjs":"48faf7d6af9a522508310973fd478e3a","src/Pagination":"dir:559e1e1a53045c2be6959ae232aa9ba9","src/Pagination/Pagination.doc.mjs":"39db907a37cb40e290053cb806c73f9e","src/Popover":"dir:17b53249ed2ef6490f36baef677dcb95","src/Popover/Popover.doc.mjs":"a00c61e898a4df7b8b79f64a328119e1","src/PowerSearch":"dir:6c7653b7e7001021216762fbc2e3fc2f","src/PowerSearch/PowerSearch.doc.mjs":"9ce737a2c845e4f98ec14ad0b586cef9","src/ProgressBar":"dir:5f3e8b6d32a062d421956e8230195370","src/ProgressBar/ProgressBar.doc.mjs":"79edb094552a107958f08779304962c8","src/RadioList":"dir:7f99ada06b9aaeae1035c54535559110","src/RadioList/RadioList.doc.mjs":"7d3e818727e94a66ba0e27bd1a0d3759","src/RadioList/RadioListItem.doc.mjs":"68a74220f45fe3072a44055c94e13796","src/Resizable":"dir:1f964d52cfc102ab47b7087d384aeb15","src/ScrollableArea":"dir:863f82abf88745d64f95ded52aee103a","src/ScrollableArea/ScrollableArea.doc.mjs":"bc6a10cfd158a36cfda5c7fda4c861b2","src/Section":"dir:0c1740adddb3836d37acc96fd10a7d19","src/Section/Section.doc.mjs":"271e50094d43495d3a184a594d90f2ac","src/SegmentedControl":"dir:30d0b19dbd495d2714924caaaf7ae852","src/SegmentedControl/SegmentedControl.doc.mjs":"27403cd6402b87687d894353ed5e89fd","src/SegmentedControl/SegmentedControlItem.doc.mjs":"8bcf352c4616afa30ddb3689260d39bc","src/SelectableCard":"dir:2d10adf6da28be02d9cd7d0d9f358a6f","src/SelectableCard/SelectableCard.doc.mjs":"a0afa4fcc5492409ed6caa818bc6d0b4","src/Selector":"dir:ea9c67e0cdf93bef795b0189ac945de6","src/Selector/Selector.doc.mjs":"fbcd79c0a25635e76155c336c68fdfe0","src/Selector/SelectorOption.doc.mjs":"18845e8689c89f11885f3a26478d2190","src/SideNav":"dir:e5a1cb01e9b88b0f0404c99817c7dcc8","src/SideNav/SideNav.doc.mjs":"f0ebc2ec4e44cab7e20637942ebf3cfa","src/SideNav/SideNavCollapseButton.doc.mjs":"ef8e0220aec4ceff9abb38f1efd06dfc","src/SideNav/SideNavHeading.doc.mjs":"f9e85f61583611d783e5436886b9a6c2","src/SideNav/SideNavItem.doc.mjs":"61e01e85dbf0e17a05ce70ec517d6b95","src/SideNav/SideNavSection.doc.mjs":"ced37440092cc816052372603db902b4","src/SizeContext":"dir:32f8279c8dac60ebe1565524d93ad783","src/Skeleton":"dir:900f69d5b60a3f23bea13787fb2d4849","src/Skeleton/Skeleton.doc.mjs":"76e6767f1e5650d2cdf6f78b0becf28c","src/Slider":"dir:6563d80a103d7180edfc926e4826f400","src/Slider/Slider.doc.mjs":"3e776295e649f650f908515e3b156ab3","src/SnapPaging":"dir:c13be54f9e39b1c6796334c45d2759a4","src/Spinner":"dir:684ad8386cfcf72d4d62e704dbf218f8","src/Spinner/Spinner.doc.mjs":"9ab824af4a4463eccb21d35f2b30c1be","src/Stack":"dir:dae293893d93520ba2d087950207c763","src/Stack/Stack.doc.mjs":"21959f1525d93ade24ec38f9c038a453","src/StatusDot":"dir:acc55e24d29b327431a8b1163550c003","src/StatusDot/StatusDot.doc.mjs":"24c6740c1662d2d77b41d8eac5d862f8","src/Stepper":"dir:69091340c998cfc447d1b40135087f9a","src/Stepper/Step.doc.mjs":"b7aa7a96c1357c526e88247e41fabf17","src/Stepper/Stepper.doc.mjs":"7280e077248df2c47ff2f5313e27cce1","src/Swipe":"dir:10d2b599679dba310e2839cf27eb5bf1","src/Switch":"dir:44bb15f57985d0e5fcdbbe439f559d09","src/Switch/Switch.doc.mjs":"0c9050d82f28e2df2da4b04be6e91548","src/TabList":"dir:0a975b7c2a169510b72c2508edd53f2a","src/TabList/Tab.doc.mjs":"f256cb042cdc0dfd9f9049b9b83d39b5","src/TabList/TabList.doc.mjs":"a8074268bed606ff90c2e20a7894b2d3","src/TabList/TabMenu.doc.mjs":"09bdc7e7c76d2e68b327f132a6175218","src/Table":"dir:51617a77e3cb823a947ff542716ebbe8","src/Table/Table.doc.mjs":"c0a2fed8e36b9a9e3858888e6d832670","src/Table/TableBody.doc.mjs":"da5aa1641061498cf964940fb3a81c12","src/Table/TableCell.doc.mjs":"0e87604a78fb8a88a9e5da416bd1dd60","src/Table/TableFooter.doc.mjs":"a340c8546140f2f9f6dd61e9f91b667c","src/Table/TableHeader.doc.mjs":"652abfeed436f7f5477e74f09ff83bd7","src/Table/TableHeaderCell.doc.mjs":"930351fcb16952a74b753881aa70cc77","src/Table/TableRow.doc.mjs":"a266cea74744cbda2fe7efb5f70d63de","src/Table/TableSelectionToolbar.doc.mjs":"2f4f569010fb4f4bcde2689795ad29a5","src/Table/plugins":"dir:6281df4fdffb484c9a7910bc7b45c54a","src/Table/plugins/columnResize":"dir:882e9c61a1bc9409c85dd81aee3a49d7","src/Table/plugins/columnSettings":"dir:384a8810b91d8289e7becc5427d097e8","src/Table/plugins/filtering":"dir:acf5b70f1e3179aed7b9fe4acc7fbad3","src/Table/plugins/groupedRows":"dir:d9042974a5856e98a857085668df616c","src/Table/plugins/infiniteScroll":"dir:468dd23b472204bf06365878c057c884","src/Table/plugins/pagination":"dir:2af4392f3817041e8aa8e32c15602a61","src/Table/plugins/rowExpansion":"dir:cb2b196656ecd29e2326b7a36b1e869f","src/Table/plugins/rowIndex":"dir:56dff6c162315f8c45181ef5f456b92c","src/Table/plugins/rowStatus":"dir:e22745ad9322d5fce4364875dc53d62e","src/Table/plugins/selection":"dir:eff9d38fdb87a1ce3f2096c193bd9c4d","src/Table/plugins/sortable":"dir:67dfe3c1c9aaea47158bb5f11167b970","src/Table/plugins/stickyColumns":"dir:260edcfebb03d8d75151bf75f1237c37","src/Table/plugins/tree":"dir:19007fd72c966b723ec2fa222b269d84","src/Table/plugins/virtualization":"dir:24d22b66572c2c1031d6f65c0168ce77","src/Text":"dir:40939322c0cdb6bc21146c163b4df3b7","src/Text/Heading.doc.mjs":"7550391761894bab725c7d6ed3b5bdba","src/Text/Text.doc.mjs":"c2aa89c61a9b2f0db1685dee0f4493be","src/TextArea":"dir:544db7de293228429d6f21516e40fe34","src/TextArea/TextArea.doc.mjs":"ca2dad732d8b15c4a7a729599aa6bb32","src/TextInput":"dir:49fd784981d89764444c04262e172494","src/TextInput/TextInput.doc.mjs":"200601dde65418d48ff29a36954dad48","src/Thumbnail":"dir:5ca525d66efe48d7eff3443f051ccec4","src/Thumbnail/Thumbnail.doc.mjs":"e9d5affc9b7876e8236f5f5c48d38a4b","src/TimeInput":"dir:25f56f363046f0c597f5286f9449e5f3","src/TimeInput/TimeInput.doc.mjs":"f4f02458f39907f6e31b3c526deec8c2","src/Timer":"dir:a4ab1409f35e0fff71cbce411c163df0","src/Timer/Timer.doc.mjs":"28a76089ba5ada99b2775ecda5e02588","src/Timestamp":"dir:a05c6047de68f189ee9e1036ecf32846","src/Timestamp/Timestamp.doc.mjs":"d6687a4afb937fdc8cf8aca9067e0285","src/Toast":"dir:0a67cace4ab1ca618fade2ed6fc66e42","src/Toast/Toast.doc.mjs":"13271b7b542393b412253ab263e3d3cb","src/ToggleButton":"dir:64dc2b204b1e00fe29cd9be0af712112","src/ToggleButton/ToggleButton.doc.mjs":"3f61f96297af247d8dbd2b2763c8d54a","src/ToggleButton/ToggleButtonGroup.doc.mjs":"9255219ea607fe5fc1c570d85a062799","src/Token":"dir:41a82f88fb56ea5b4c6b90c09ccb626b","src/Token/Token.doc.mjs":"bae5d24fd8bf827380d12304c1ef4d96","src/Tokenizer":"dir:4772d922300ef3b7287373e3a572cdeb","src/Tokenizer/Tokenizer.doc.mjs":"8b601dcb24e61a835739c93747d9a8d5","src/Toolbar":"dir:a4adf6390dd65633ebb7ae294135d7ff","src/Toolbar/Toolbar.doc.mjs":"a4a7068e9866999d6fe6d3a5d15ba9e5","src/Tooltip":"dir:2bfa98f6836e06f3e7f72f6db1e9c872","src/Tooltip/Tooltip.doc.mjs":"6bb8a91786d4e243c2ded9efbd6fc438","src/TopNav":"dir:42ce492d5d93945211b4f57054f4424c","src/TopNav/TopNav.doc.mjs":"6bc4e3a84a3c778c4e128572bf362190","src/TopNav/TopNavHeading.doc.mjs":"0cb1848baefb8cb690cca0374de5c3a2","src/TopNav/TopNavItem.doc.mjs":"0c165a8244ebd08d0ee435a78ca61110","src/TopNav/TopNavMegaMenu.doc.mjs":"79cd792e09e2236774c0c3956a9bf472","src/TopNav/TopNavMegaMenuFeaturedCard.doc.mjs":"d9e601b68e4902f2b11dadd45efb6358","src/TopNav/TopNavMegaMenuItem.doc.mjs":"5e9e8176d7ec93ec0e729f05f1ef3ae8","src/TopNav/TopNavMenu.doc.mjs":"6fab5c942a779ff0e246c8f2a2716466","src/TreeList":"dir:f288a516372b546461a6fdcedaf34e7a","src/TreeList/TreeList.doc.mjs":"7e506f201e3c10b8ad54d6a43efe1091","src/Typeahead":"dir:2db2a2c9ad686aa6bc71633349a3e7f8","src/Typeahead/BaseTypeahead.doc.mjs":"44c260d494d68835630c20c87707f5fe","src/Typeahead/Typeahead.doc.mjs":"99aa85f0a64323d0289a330bf6fc8fd2","src/Typeahead/TypeaheadItem.doc.mjs":"c06e4de8d308955b53d21cdc17cdb3da","src/VStack":"dir:9228c4f1dcc552f5fd99652c311e0ed0","src/VStack/VStack.tsx":"9ced0693b8a81822468840a324e81808","src/VisuallyHidden":"dir:58b1b5ff320c3e23fcabcad3a7b9ad69","src/VisuallyHidden/VisuallyHidden.doc.mjs":"9fdb77a73fc1be668aee69f9f5b65e86","src/animator":"dir:8333557f27eae3b4ba02ff0a77fc03a9","src/dragToSnapPoints":"dir:671ad946b478d004cf9edb48f71f6128","src/gestures":"dir:ceae616c7862854ca30af016bad4a2ab","src/hooks":"dir:41a9953878e63f506f7d5b11b2957cd2","src/i18n":"dir:a026321398909fe9af6cf0319658b974","src/i18n/InternationalizationProvider.doc.mjs":"a64ddf063883ae0f76a79bf5a5e35a21","src/i18n/generated-english":"dir:a0b450dd5548f4156f29ff352ff0b496","src/i18n/generated-english/AlertDialog":"dir:febf8ff13632867c236e798f5194fca8","src/i18n/generated-english/AppShell":"dir:e10725b866a3c8e7f7a82423a1b43d7c","src/i18n/generated-english/Avatar":"dir:633333e80538913632d2811aa3296551","src/i18n/generated-english/AvatarGroup":"dir:13c369db4d99892e39ef4a1eb85aeb49","src/i18n/generated-english/Banner":"dir:e5eb157cc8c9861d6bdc3c7f36d2d5ab","src/i18n/generated-english/Breadcrumbs":"dir:0bed97aabbe96ac01a76c3fd44a89eb8","src/i18n/generated-english/Button":"dir:c34073813db92320582e218bd69c572b","src/i18n/generated-english/Calendar":"dir:3d3d61412c8c8cd729314a38d64b79cd","src/i18n/generated-english/Carousel":"dir:e27fedb4e5b3d5abd220d963857b0f98","src/i18n/generated-english/Chat":"dir:abb0bb28354cbdc16662b0f6379c878c","src/i18n/generated-english/CheckboxInput":"dir:1715903ef891679929fb12bea2c77de1","src/i18n/generated-english/CheckboxList":"dir:1c4d6db163bd49a2ffc99bd055bc221d","src/i18n/generated-english/Citation":"dir:75df4e9388f5d4325ce8082b96b0f139","src/i18n/generated-english/CodeBlock":"dir:6d781b97cf4a0d34729d58e149c0e6cb","src/i18n/generated-english/CommandPalette":"dir:c40c516585dbf9dc66272810b77584e5","src/i18n/generated-english/ComplexSelector":"dir:0f7defd7786f1ac918b6ec7b55fbc2fc","src/i18n/generated-english/ContextMenu":"dir:7ca67b06d43d4b4273bcfac0360a37e1","src/i18n/generated-english/DateInput":"dir:1ae2134bc1db198fa5930961b81e5170","src/i18n/generated-english/DateRangeInput":"dir:1006c25b0cbc1f3dceac9156f53dce98","src/i18n/generated-english/DateTimeInput":"dir:e2a715b2efdb7edf013d36431cba6634","src/i18n/generated-english/Dialog":"dir:e1e90fa3b775d3860de32f4333454310","src/i18n/generated-english/Drawer":"dir:115ad546bf2358cd8137416b59475b7b","src/i18n/generated-english/DropdownMenu":"dir:c283d6a0a5afc8044060d7861e2f5e97","src/i18n/generated-english/Field":"dir:696277eae81f04ee9501beb7ee854317","src/i18n/generated-english/FileInput":"dir:46a9cdd9420ca364afe268519c15de4b","src/i18n/generated-english/InfoTip":"dir:47d9be1d336a9301cc475eb7955947ca","src/i18n/generated-english/Kbd":"dir:d93407740960bb171f4d00bc03e6c9c1","src/i18n/generated-english/Lightbox":"dir:9ca3a9adb8dc4347ce5fc03510e236ac","src/i18n/generated-english/Link":"dir:c43a9bb400efda2d19824147e016671d","src/i18n/generated-english/List":"dir:c6af6f87f0dccbbd983c02aaa6915951","src/i18n/generated-english/Markdown":"dir:d1dc3cf5fda7621bcb18cf8a7717e806","src/i18n/generated-english/Markdown/plugins":"dir:5450297a7243591a40401c57255a74e3","src/i18n/generated-english/MetadataList":"dir:c0ea1bbb43cbb1351b171298be6cf280","src/i18n/generated-english/MobileNav":"dir:22579fe2a82ae11f8631cd102eb70fd3","src/i18n/generated-english/MoreMenu":"dir:109193e3be60049586a288920e7fdce4","src/i18n/generated-english/MultiSelector":"dir:d0f3708c6cf5406a569909475005f3e7","src/i18n/generated-english/NumberInput":"dir:c36683eba3ddf0e9c95e0a134c4ead2d","src/i18n/generated-english/Outline":"dir:f82f97cd6eb7ee35d48628bb4010d8f9","src/i18n/generated-english/Pagination":"dir:ae5ada33d28cdbdf6f718360ac73e7c5","src/i18n/generated-english/Popover":"dir:e2480bbaf739f488673d0d9a1d238256","src/i18n/generated-english/PowerSearch":"dir:d1525d140e60756888a9bb524b47c38f","src/i18n/generated-english/Resizable":"dir:770f9c085f936b5b7ea60f32703e66b9","src/i18n/generated-english/Selector":"dir:036215245dade253bb69ac0050686e3c","src/i18n/generated-english/SideNav":"dir:86f63df2065bfe1b5bb8472c6ccc8d81","src/i18n/generated-english/Slider":"dir:23f3e54d65b212ada958e38d4bc4617e","src/i18n/generated-english/Spinner":"dir:81975a7b1683c8767e28c6b231c24bab","src/i18n/generated-english/Stepper":"dir:4a6d4aeb48d113206bf397ba46c97a21","src/i18n/generated-english/Switch":"dir:99f224109e2a6297d745edf5e1d17de9","src/i18n/generated-english/TabList":"dir:cabc51614888aacbd7d4cb9d96c41504","src/i18n/generated-english/Table":"dir:9c7a0e399171dd11a570e7636d863dfd","src/i18n/generated-english/Table/plugins":"dir:78846d635b213d3976209aa7cd5a411b","src/i18n/generated-english/Table/plugins/columnResize":"dir:89a7c7989c73dfe73ecb5ae2514afac5","src/i18n/generated-english/Table/plugins/filtering":"dir:ff4c76851e370a6ecb3688068149166a","src/i18n/generated-english/Table/plugins/groupedRows":"dir:6d7067079b8c829af44bd0ccc95d7e8c","src/i18n/generated-english/Table/plugins/infiniteScroll":"dir:7d9940ffeba285f5a11fe42750ef525c","src/i18n/generated-english/Table/plugins/pagination":"dir:41369987385e7a21812b47a8181590dc","src/i18n/generated-english/Table/plugins/rowExpansion":"dir:fef50f3ae2ff63d2c3ad3cd3815e0c9e","src/i18n/generated-english/Table/plugins/rowStatus":"dir:91d504cfe9298a22503917962728c415","src/i18n/generated-english/Table/plugins/selection":"dir:c8e97b6b60788c5fe62554a4e67b01b3","src/i18n/generated-english/Table/plugins/sortable":"dir:374c9c8345bcfc9d341d73f82bf8bc18","src/i18n/generated-english/Table/plugins/tree":"dir:27f47039a25eeaae30f89c3dcb128379","src/i18n/generated-english/TextArea":"dir:413581101348d99bb140099f67de4550","src/i18n/generated-english/TextInput":"dir:eb6491f46e41c315cf834e0eb6ac3052","src/i18n/generated-english/Thumbnail":"dir:95e5f7224bc07390327a79d021cb5c9a","src/i18n/generated-english/TimeInput":"dir:10c79b4aa1946ce36bf51f2946a81972","src/i18n/generated-english/Timestamp":"dir:e654ae84aa57cfa5db24d738a0bbf396","src/i18n/generated-english/Toast":"dir:67f2465d6965de676541f8facecc7881","src/i18n/generated-english/Token":"dir:eaa690098cc130f169416953013deccd","src/i18n/generated-english/Tokenizer":"dir:e0723b520b4a6777eac39fd4f740cd29","src/i18n/generated-english/TopNav":"dir:1ac078211121f75019160a6f58a430e5","src/i18n/generated-english/TreeList":"dir:b4631d7993872311d08617a746133792","src/i18n/generated-english/Typeahead":"dir:870406a7567c510962d18cc954efd5a9","src/i18n/generated-english/hooks":"dir:e03cd43599a3bf3c70a5ef61a81e7d58","src/i18n/generated-locales":"dir:bbdcb5e44b6c5860e86ea1bb45592438","src/internal":"dir:8a04e3ff580718b8a71fa5d13ecf1cc4","src/keyboard":"dir:71d33b1408b77b860805870906202fdd","src/motion":"dir:820fe3582177128e56a05fbf205ffb86","src/motion/android":"dir:ae8ad0099bd90656bb5b2dcb6637ac5b","src/motion/uikit":"dir:6e203af43665af970df1d3b3405dfe2f","src/privateAttributes":"dir:658539969d3870238532f56f3d281d36","src/reorderable":"dir:5b213f840966d0881e9c458102b3020a","src/theme":"dir:40237e926d287d0831a0062a8ebbd437","src/theme/MediaTheme.doc.mjs":"0bccfb8ce2ad622d6de2c7372c508192","src/theme/Theme.doc.mjs":"3c8bd15f018a5aaebe85e03574416d69","src/theme/domainTokens":"dir:aa5124c00c043755d10f8ed5b227a27c","src/theme/syntax":"dir:dc683aaef72272ce5968220f73bacdf5","src/utils":"dir:91c6ca6c5a70dcb5e322d719a3c0242b","src/virtualization":"dir:75fa151c61c9256e47d9735449166348"},"groups":{"AppShell":["AppShell"],"AspectRatio":["AspectRatio"],"Avatar":["Avatar","AvatarGroup","AvatarGroupOverflow","AvatarStatusDot"],"Badge":["Badge"],"Banner":["Banner"],"Blockquote":["Blockquote"],"BottomSheet":["BottomSheet","BottomSheetSwitcher"],"Breadcrumbs":["BreadcrumbItem","Breadcrumbs"],"Button":["Button","ButtonGroup","IconButton","ToggleButton","ToggleButtonGroup"],"Calendar":["Calendar"],"Card":["Card","ClickableCard","SelectableCard"],"Carousel":["Carousel"],"Chat":["ChatComposer","ChatComposerDrawer","ChatComposerInput","ChatDictationButton","ChatLayout","ChatLayoutScrollButton","ChatMessage","ChatMessageBubble","ChatMessageList","ChatMessageMetadata","ChatSendButton","ChatSystemMessage","ChatTokenizedText","ChatToolCalls"],"Checkbox":["CheckboxInput","CheckboxList","CheckboxListItem"],"Citation":["Citation"],"Code":["Code"],"CodeBlock":["CodeBlock"],"Collapsible":["Collapsible","CollapsibleGroup"],"CommandPalette":["CommandPalette","CommandPaletteEmpty","CommandPaletteFooter","CommandPaletteGroup","CommandPaletteInput","CommandPaletteItem","CommandPaletteList"],"ContextMenu":["ContextMenu"],"DateInput":["DateInput","DateRangeInput","DateTimeInput"],"Dialog":["AlertDialog","Dialog","DialogHeader"],"Divider":["Divider"],"Drawer":["Drawer","DrawerHeader"],"DropdownMenu":["DropdownMenu","DropdownMenuCheckboxItem","DropdownMenuDivider","DropdownMenuGroup","DropdownMenuItem","DropdownMenuRadioGroup","DropdownMenuRadioItem","DropdownMenuSubMenu"],"EmptyState":["EmptyState"],"Field":["Field","FieldLabel","FieldStatus","InputGroup","InputGroupText"],"FileInput":["FileInput"],"Heading":["Heading"],"HoverCard":["HoverCard"],"Icon":["Icon"],"InfoTip":["InfoTip"],"Item":["Item"],"Kbd":["Kbd"],"Layout":["Center","FormLayout","Grid","GridSpan","HStack","Layout","LayoutContent","LayoutFooter","LayoutHeader","LayoutPanel","Section","Stack","VStack"],"Lightbox":["Lightbox"],"Link":["Link"],"List":["List","ListItem"],"Markdown":["Markdown"],"MetadataList":["MetadataList","MetadataListItem"],"MoreMenu":["MoreMenu"],"Navigation":["MobileNav","NavIcon","SideNav","SideNavCollapseButton","SideNavHeading","SideNavItem","SideNavSection","TopNav","TopNavHeading","TopNavItem","TopNavMegaMenu","TopNavMegaMenuFeaturedCard","TopNavMegaMenuItem","TopNavMenu"],"NumberInput":["NumberInput"],"Outline":["Outline"],"OverflowList":["OverflowList"],"Overlay":["Overlay"],"Pagination":["Pagination"],"Popover":["Popover"],"PowerSearch":["PowerSearch"],"ProgressBar":["ProgressBar"],"Radio":["RadioList","RadioListItem"],"ScrollableArea":["ScrollableArea"],"SegmentedControl":["SegmentedControl","SegmentedControlItem"],"Selector":["ComplexSelector","MultiSelector","Selector","SelectorOption"],"Skeleton":["Skeleton"],"Slider":["Slider"],"Spinner":["Spinner"],"StatusDot":["StatusDot"],"Stepper":["Step","Stepper"],"Switch":["Switch"],"Table":["Table","TableBody","TableCell","TableFooter","TableHeader","TableHeaderCell","TableRow","TableSelectionToolbar"],"Tabs":["Tab","TabList","TabMenu"],"Text":["Text"],"TextArea":["TextArea"],"TextInput":["TextInput"],"Thumbnail":["Thumbnail"],"TimeInput":["TimeInput"],"Timer":["Timer"],"Timestamp":["Timestamp"],"Toast":["Toast"],"Token":["Token"],"Tokenizer":["Tokenizer"],"Toolbar":["Toolbar"],"Tooltip":["Tooltip"],"TreeList":["TreeList"],"Typeahead":["BaseTypeahead","Typeahead","TypeaheadItem"],"Utilities":["InternationalizationProvider","LinkProvider","MediaTheme","Theme"],"VisuallyHidden":["VisuallyHidden"]},"imports":{"AppShell":"@astryxdesign/core/AppShell","AspectRatio":"@astryxdesign/core/AspectRatio","Avatar":"@astryxdesign/core/Avatar","AvatarGroup":"@astryxdesign/core/AvatarGroup","AvatarGroupOverflow":"@astryxdesign/core/AvatarGroup","AvatarStatusDot":"@astryxdesign/core/Avatar","Badge":"@astryxdesign/core/Badge","Banner":"@astryxdesign/core/Banner","Blockquote":"@astryxdesign/core/Blockquote","BottomSheet":"@astryxdesign/core/BottomSheet","BottomSheetSwitcher":"@astryxdesign/core/BottomSheet","BreadcrumbItem":"@astryxdesign/core/Breadcrumbs","Breadcrumbs":"@astryxdesign/core/Breadcrumbs","Button":"@astryxdesign/core/Button","ButtonGroup":"@astryxdesign/core/ButtonGroup","IconButton":"@astryxdesign/core/IconButton","ToggleButton":"@astryxdesign/core/ToggleButton","ToggleButtonGroup":"@astryxdesign/core/ToggleButton","Calendar":"@astryxdesign/core/Calendar","Card":"@astryxdesign/core/Card","ClickableCard":"@astryxdesign/core/ClickableCard","SelectableCard":"@astryxdesign/core/SelectableCard","Carousel":"@astryxdesign/core/Carousel","ChatComposer":"@astryxdesign/core/Chat","ChatComposerDrawer":"@astryxdesign/core/Chat","ChatComposerInput":"@astryxdesign/core/Chat","ChatDictationButton":"@astryxdesign/core/Chat","ChatLayout":"@astryxdesign/core/Chat","ChatLayoutScrollButton":"@astryxdesign/core/Chat","ChatMessage":"@astryxdesign/core/Chat","ChatMessageBubble":"@astryxdesign/core/Chat","ChatMessageList":"@astryxdesign/core/Chat","ChatMessageMetadata":"@astryxdesign/core/Chat","ChatSendButton":"@astryxdesign/core/Chat","ChatSystemMessage":"@astryxdesign/core/Chat","ChatTokenizedText":"@astryxdesign/core/Chat","ChatToolCalls":"@astryxdesign/core/Chat","CheckboxInput":"@astryxdesign/core/CheckboxInput","CheckboxList":"@astryxdesign/core/CheckboxList","CheckboxListItem":"@astryxdesign/core/CheckboxList","Citation":"@astryxdesign/core/Citation","Code":"@astryxdesign/core/Code","CodeBlock":"@astryxdesign/core/CodeBlock","Collapsible":"@astryxdesign/core/Collapsible","CollapsibleGroup":"@astryxdesign/core/Collapsible","CommandPalette":"@astryxdesign/core/CommandPalette","CommandPaletteEmpty":"@astryxdesign/core/CommandPalette","CommandPaletteFooter":"@astryxdesign/core/CommandPalette","CommandPaletteGroup":"@astryxdesign/core/CommandPalette","CommandPaletteInput":"@astryxdesign/core/CommandPalette","CommandPaletteItem":"@astryxdesign/core/CommandPalette","CommandPaletteList":"@astryxdesign/core/CommandPalette","ContextMenu":"@astryxdesign/core/ContextMenu","DateInput":"@astryxdesign/core/DateInput","DateRangeInput":"@astryxdesign/core/DateRangeInput","DateTimeInput":"@astryxdesign/core/DateTimeInput","AlertDialog":"@astryxdesign/core/AlertDialog","Dialog":"@astryxdesign/core/Dialog","DialogHeader":"@astryxdesign/core/Dialog","Divider":"@astryxdesign/core/Divider","Drawer":"@astryxdesign/core/Drawer","DrawerHeader":"@astryxdesign/core/Drawer","DropdownMenu":"@astryxdesign/core/DropdownMenu","DropdownMenuCheckboxItem":"@astryxdesign/core/DropdownMenu","DropdownMenuDivider":"@astryxdesign/core/DropdownMenu","DropdownMenuGroup":"@astryxdesign/core/DropdownMenu","DropdownMenuItem":"@astryxdesign/core/DropdownMenu","DropdownMenuRadioGroup":"@astryxdesign/core/DropdownMenu","DropdownMenuRadioItem":"@astryxdesign/core/DropdownMenu","DropdownMenuSubMenu":"@astryxdesign/core/DropdownMenu","EmptyState":"@astryxdesign/core/EmptyState","Field":"@astryxdesign/core/Field","FieldLabel":"@astryxdesign/core/Field","FieldStatus":"@astryxdesign/core/FieldStatus","InputGroup":"@astryxdesign/core/InputGroup","InputGroupText":"@astryxdesign/core/InputGroup","FileInput":"@astryxdesign/core/FileInput","Heading":"@astryxdesign/core/Heading","HoverCard":"@astryxdesign/core/HoverCard","Icon":"@astryxdesign/core/Icon","InfoTip":"@astryxdesign/core/InfoTip","Item":"@astryxdesign/core/Item","Kbd":"@astryxdesign/core/Kbd","Center":"@astryxdesign/core/Center","FormLayout":"@astryxdesign/core/FormLayout","Grid":"@astryxdesign/core/Grid","GridSpan":"@astryxdesign/core/Grid","HStack":"@astryxdesign/core/HStack","Layout":"@astryxdesign/core/Layout","LayoutContent":"@astryxdesign/core/Layout","LayoutFooter":"@astryxdesign/core/Layout","LayoutHeader":"@astryxdesign/core/Layout","LayoutPanel":"@astryxdesign/core/Layout","Section":"@astryxdesign/core/Section","Stack":"@astryxdesign/core/Stack","VStack":"@astryxdesign/core/VStack","Lightbox":"@astryxdesign/core/Lightbox","Link":"@astryxdesign/core/Link","List":"@astryxdesign/core/List","ListItem":"@astryxdesign/core/List","Markdown":"@astryxdesign/core/Markdown","MetadataList":"@astryxdesign/core/MetadataList","MetadataListItem":"@astryxdesign/core/MetadataList","MoreMenu":"@astryxdesign/core/MoreMenu","MobileNav":"@astryxdesign/core/MobileNav","NavIcon":"@astryxdesign/core/NavIcon","SideNav":"@astryxdesign/core/SideNav","SideNavCollapseButton":"@astryxdesign/core/SideNav","SideNavHeading":"@astryxdesign/core/SideNav","SideNavItem":"@astryxdesign/core/SideNav","SideNavSection":"@astryxdesign/core/SideNav","TopNav":"@astryxdesign/core/TopNav","TopNavHeading":"@astryxdesign/core/TopNav","TopNavItem":"@astryxdesign/core/TopNav","TopNavMegaMenu":"@astryxdesign/core/TopNav","TopNavMegaMenuFeaturedCard":"@astryxdesign/core/TopNav","TopNavMegaMenuItem":"@astryxdesign/core/TopNav","TopNavMenu":"@astryxdesign/core/TopNav","NumberInput":"@astryxdesign/core/NumberInput","Outline":"@astryxdesign/core/Outline","OverflowList":"@astryxdesign/core/OverflowList","Overlay":"@astryxdesign/core/Overlay","Pagination":"@astryxdesign/core/Pagination","Popover":"@astryxdesign/core/Popover","PowerSearch":"@astryxdesign/core/PowerSearch","ProgressBar":"@astryxdesign/core/ProgressBar","RadioList":"@astryxdesign/core/RadioList","RadioListItem":"@astryxdesign/core/RadioList","ScrollableArea":"@astryxdesign/core/ScrollableArea","SegmentedControl":"@astryxdesign/core/SegmentedControl","SegmentedControlItem":"@astryxdesign/core/SegmentedControl","ComplexSelector":"@astryxdesign/core/ComplexSelector","MultiSelector":"@astryxdesign/core/MultiSelector","Selector":"@astryxdesign/core/Selector","SelectorOption":"@astryxdesign/core/Selector","Skeleton":"@astryxdesign/core/Skeleton","Slider":"@astryxdesign/core/Slider","Spinner":"@astryxdesign/core/Spinner","StatusDot":"@astryxdesign/core/StatusDot","Step":"@astryxdesign/core/Stepper","Stepper":"@astryxdesign/core/Stepper","Switch":"@astryxdesign/core/Switch","Table":"@astryxdesign/core/Table","TableBody":"@astryxdesign/core/Table","TableCell":"@astryxdesign/core/Table","TableFooter":"@astryxdesign/core/Table","TableHeader":"@astryxdesign/core/Table","TableHeaderCell":"@astryxdesign/core/Table","TableRow":"@astryxdesign/core/Table","TableSelectionToolbar":"@astryxdesign/core/Table","Tab":"@astryxdesign/core/TabList","TabList":"@astryxdesign/core/TabList","TabMenu":"@astryxdesign/core/TabList","Text":"@astryxdesign/core/Text","TextArea":"@astryxdesign/core/TextArea","TextInput":"@astryxdesign/core/TextInput","Thumbnail":"@astryxdesign/core/Thumbnail","TimeInput":"@astryxdesign/core/TimeInput","Timer":"@astryxdesign/core/Timer","Timestamp":"@astryxdesign/core/Timestamp","Toast":"@astryxdesign/core/Toast","Token":"@astryxdesign/core/Token","Tokenizer":"@astryxdesign/core/Tokenizer","Toolbar":"@astryxdesign/core/Toolbar","Tooltip":"@astryxdesign/core/Tooltip","TreeList":"@astryxdesign/core/TreeList","BaseTypeahead":"@astryxdesign/core/Typeahead","Typeahead":"@astryxdesign/core/Typeahead","TypeaheadItem":"@astryxdesign/core/Typeahead","InternationalizationProvider":"@astryxdesign/core/i18n","LinkProvider":"@astryxdesign/core/Link","MediaTheme":"@astryxdesign/core/theme","Theme":"@astryxdesign/core/theme","VisuallyHidden":"@astryxdesign/core/VisuallyHidden"}}}
@@ -46,6 +46,7 @@ export const docs = {
46
46
  ['motion', 'Every --duration-* token, --ease-entrance and --ease-move (tempo also times the touch springs)', 'tempo? (0.75–1.5), character? (crisp|standard|expressive); and/or a duration scale: fast (ms), medium (ms), ratio, slow?, easing?. The scale wins over tempo for the durations it sets, and explicit tokens win over both. Fixed whatever the knobs say: drags and momentum, rubber band, keyboard, press onset/cancel/flash, hover intent, gesture thresholds, Spinner/Skeleton loops, the 200 ms Reduce Motion cap. See {@link generic:motion}.'],
47
47
  ]},
48
48
  {type: 'prose', text: 'For dark mode tuples in token values, see the Dark mode section of {@link generic:use-a-theme}.'},
49
+ {type: 'prose', text: "A theme with one color mode exports `colorModes` beside it: `export const colorModes = ['light'];` (or `['dark']`). `theme build` copies the export into the built module, and `theme add` reads it so the app wires the theme in that mode. A theme with both modes exports none. Any other value is ignored without a warning, and a `--family` build never writes the export."},
49
50
  ],
50
51
  },
51
52
  {
@@ -3,7 +3,7 @@
3
3
  /** @type {import('@astryxdesign/cli/authoring').ReferenceTranslationDoc} */
4
4
 
5
5
  export const docsDense = {
6
- description: 'make/change a theme (experimental theme editor): astryx experimental theme editor new <name> --like neutral; editor set|how; theme add <name>; after each change look: experimental theme editor show <name> --png (pictures, changes nothing in the app); not done until you have looked. use + create themes: see use-a-theme and author-a-theme.',
6
+ description: 'make/change a theme (experimental theme editor): astryx experimental theme editor new <name> --like neutral; editor set|how; theme add <name>; after each change look: experimental theme editor show <name> --png (takes pictures of real components); not done until you have looked. denser/roomier app = theme: editor set <name> spacing tight|roomy, not page code. one kind of part (sidebar, its selected item, form gaps) = theme too: editor how "<ask>" names set … --on <part>. no app yet: experimental theme preview app <dir> = starter app showing the theme. use + create themes: see use-a-theme and author-a-theme.',
7
7
  sections: [
8
8
  {
9
9
  section: 'Wrap your app in a theme',
@@ -33,7 +33,7 @@ export const docsDense = {
33
33
  section: 'Dark mode',
34
34
  title: 'Dark mode',
35
35
  content: [
36
- {type: 'prose', text: "[light, dark] tuples, mode='system'. {@link generic:use-a-theme} for full guide."},
36
+ {type: 'prose', text: "[light, dark] tuples, mode='system'. A one-mode theme exports `colorModes`; wire `mode={themeModes[defaultThemeSlug] ?? 'system'}`. {@link generic:use-a-theme} for full guide."},
37
37
  ],
38
38
  },
39
39
  {
@@ -8,7 +8,7 @@ export const docs = {
8
8
  category: 'guide',
9
9
  keywords: ['theme', 'theming', 'theme system', 'dark mode', 'defineTheme', 'provider'],
10
10
  description:
11
- 'To create or change a theme, use the experimental theme editor: `astryx experimental theme editor new <name> --like neutral`, then `editor set` / `editor how "<what you want>"`, wire it with `astryx theme add <name>`, and after each change look at it with `astryx experimental theme editor show <name> --png` (pictures of real components; nothing changes in the app): a theme change is not done until you have looked. How to use and create themes: see Use a theme for applying themes, and Author a theme for creating and customizing them.',
11
+ 'To create or change a theme, use the experimental theme editor: `astryx experimental theme editor new <name> --like neutral`, then `editor set` / `editor how "<what you want>"`, wire it with `astryx theme add <name>`, and after each change look at it with `astryx experimental theme editor show <name> --png` (takes pictures of real components): a theme change is not done until you have looked. A denser or roomier app is a theme change too, not page code: `astryx experimental theme editor set <name> spacing tight` (or `roomy`), then look again. A change to one kind of part (the sidebar, its selected item, the gaps in a form) is a theme change too, not props or styles on one page: `astryx experimental theme editor how "<ask>"` names the `set … --on <part>` line. No app yet: `astryx experimental theme preview app <dir>` makes a starter app that shows the theme. How to use and create themes: see Use a theme for applying themes, and Author a theme for creating and customizing them.',
12
12
 
13
13
  sections: [
14
14
  {
@@ -154,7 +154,7 @@ fix: Remove \`summary\`: SingleComponentDoc has no field \`summary\`.`,
154
154
  {
155
155
  type: 'code',
156
156
  lang: 'text',
157
- code: 'id: docs-progressive-disclosure\nstatus: [warn]\nlabel: Documentation navigation and size\nmessage: acme/deploying build-before-you-ship: 46 KB, over the 32 KB one read may return',
157
+ code: '[warn] docs-progressive-disclosure - Documentation navigation and size - acme/deploying build-before-you-ship: 46 KB,\n over the 32 KB one read may return',
158
158
  },
159
159
  {
160
160
  type: 'prose',
@@ -32,7 +32,7 @@ export const docs = {
32
32
  '`{@command doctor integration validate}`',
33
33
  'The manifest loads, each root holds contributions the CLI can read, and each doc matches its authoring type. Notes list a malformed `cliCommand` (`invalid_cli_command`) and, for each topic, a command written with a package runner (`runner_command`), bare (`plain_command`) or for one package manager (`package_manager_command`), and a token that does not parse (`doc_token`; see {@link generic:doc-syntax}). Two notes, which fail nothing under any flag, say what a catalog needs to list the package: no logo (`package_without_logo`) and no example block (`package_without_example`; see the section below). Notes fail nothing by default; `integration check --strict --next` fails on the ones marked `next`, and the next minor release counts them',
34
34
  'A declared root is missing (`missing_root`), a contribution does not load (`invalid_doc`, `invalid_component`, `invalid_theme`), or two templates in the package replace one Core id (`ambiguous_template_replacement`)',
35
- "The manifest has a key this CLI does not know (`unknown_manifest_key`), or a doc field does not match the doc's authoring type: a field the type does not have, a missing required field, or a value outside the field's type. It also warns on what no reader can serve: a prop listed twice (`duplicate_prop`), a `propDescriptions` key that names no documented prop (`unknown_translated_prop`), a section with no content (`empty_section`), two sections of a topic with one key (`duplicate_section_key`), or a `.doc.zh.mjs` or `.doc.dense.mjs` overlay beside no topic file (`orphan_doc_overlay`). Since 0.7.3 it also lists, from source and without failing, what the package tells apps to import that they cannot: a component's import (the doc's `import`, or the one the CLI derives) or a template's public import whose subpath package.json `exports` does not declare (`component_import_not_exported`, `template_import_not_exported`) or that names another package (`component_import_other_package`); an example that imports an undeclared subpath (`example_import_not_exported`); a template that imports a path outside the templates root (`template_import_outside_root`) or a path its package or Core does not export (`template_private_import`). It lists the same way a component's import whose module does not export the component (`component_import_missing_name`), an example or a template that imports a name its package does not export (`example_import_missing_name`, `template_import_missing_name`), and a template source with no default export (`template_no_default_export`). Each is a note, printed with its fix, that fails `--strict` from the next minor; an import it cannot judge, such as an `exports` target not built yet or a deep path into a `dist/` not built yet, is listed under `publicImports` as not checked. It checks docs with your installed `typescript`, or, where that is missing or has no JavaScript compiler API (TypeScript 7), with an installed `@typescript/typescript6`; without either, it prints `[skip] Docs not type-checked`. With no `astryx.integration.mjs` it prints a hint and exits 0",
35
+ "The manifest has a key this CLI does not know (`unknown_manifest_key`), or a doc field does not match the doc's authoring type: a field the type does not have, a missing required field, or a value outside the field's type. It also warns on what no reader can serve: a prop listed twice (`duplicate_prop`), a `propDescriptions` key that names no documented prop (`unknown_translated_prop`), a section with no content (`empty_section`), two sections of a topic with one key (`duplicate_section_key`), or a `.doc.zh.mjs` or `.doc.dense.mjs` overlay beside no topic file (`orphan_doc_overlay`). Since 0.7.3 it also lists, from source and without failing, what the package tells apps to import that they cannot: a component's import (the doc's `import`, or the one the CLI derives) or a template's public import whose subpath package.json `exports` does not declare (`component_import_not_exported`, `template_import_not_exported`) or that names another package (`component_import_other_package`); an example that imports an undeclared subpath (`example_import_not_exported`); a template that imports a path outside the templates root (`template_import_outside_root`) or a path its package or Core does not export (`template_private_import`). It lists the same way a component's import whose module does not export the component (`component_import_missing_name`), an example or a template that imports a name its package does not export (`example_import_missing_name`, `template_import_missing_name`), and a template source with no default export (`template_no_default_export`). It lists the same way each component example that is not `kind: 'setup'` but cannot run on its own, as a live preview runs it: code that does not compile (`example_does_not_compile`), renders nothing (`example_renders_nothing`), uses a name it never defines or imports (`example_undefined_name`), imports or renders code that runs only on a server, or reads `process.env` (`example_server_only`), or imports a relative path or a package the package does not declare (`example_import_unresolvable`). Each is a note, printed with its fix, that fails `--strict` from the next minor; an import it cannot judge, such as an `exports` target not built yet or a deep path into a `dist/` not built yet, is listed under `publicImports` as not checked, and an example it cannot judge, such as one whose names it cannot judge without Core or React installed, under `exampleCode`. It checks docs with your installed `typescript`, or, where that is missing or has no JavaScript compiler API (TypeScript 7), with an installed `@typescript/typescript6`; without either, it prints `[skip] Docs not type-checked`. With no `astryx.integration.mjs` it prints a hint and exits 0",
36
36
  ],
37
37
  [
38
38
  '`{@command doctor integration components}`',
@@ -99,9 +99,8 @@ export default {
99
99
  {
100
100
  type: 'code',
101
101
  lang: 'text',
102
- code: `status: [warn]
103
- label: CLI command
104
- message: Loaded integrations declare different CLI commands: @acme/astryx-widgets (\`acme astryx\`), @other/kit (\`other astryx\`). Neither is used, so printed commands start with \`pnpm exec astryx\`.`,
102
+ code: `[warn] cli-command - CLI command - Loaded integrations declare different CLI commands: @acme/astryx-widgets (\`acme
103
+ astryx\`), @other/kit (\`other astryx\`). Neither is used, so printed commands start with \`pnpm exec astryx\`.`,
105
104
  },
106
105
  {
107
106
  type: 'prose',
@@ -24,6 +24,9 @@ export const docs = {
24
24
  'embed',
25
25
  'sandboxed iframe',
26
26
  'reverse',
27
+ 'unrender',
28
+ 'version',
29
+ 'hand edits',
27
30
  ],
28
31
  description:
29
32
  'Experimental. Render a page to one self-contained HTML file for sharing or embedding, and get the page back from it.',
@@ -53,7 +56,7 @@ export const docs = {
53
56
  },
54
57
  {
55
58
  type: 'prose',
56
- text: 'The result is ONE file with nothing beside it: the markup, only the CSS rules the page uses (from Core and from any stylesheet it imports, such as a theme), the page\u2019s own StyleX styles, and local images as data: URIs. It runs no script and loads nothing from the network, so it opens from disk, attaches to a message, and displays inside a sandboxed frame that blocks network and script. Colors follow the viewer\u2019s light or dark setting, and a `data-theme` of `light` or `dark` on the root element picks one. The file also carries the source of the page and of every local module, stylesheet, JSON file and image it imports, so whoever you share it with can read that code; keep secrets out of what the page imports.',
59
+ text: 'The result is ONE file with nothing beside it: the markup, only the CSS rules the page uses (from Core and from any stylesheet it imports, such as a theme), the page\u2019s own StyleX styles, and local images as data: URIs. For `--reverse`, it also carries every image, font or media file (up to 8 MB each) that a carried module or stylesheet names by a relative path inside the folder that holds the carried files, also when the page does not show it. It runs no script and loads nothing from the network, so it opens from disk, attaches to a message, and displays inside a sandboxed frame that blocks network and script. Colors follow the viewer\u2019s light or dark setting, and a `data-theme` of `light` or `dark` on the root element picks one. The file also carries the source of the page and of every local module, stylesheet, JSON file and image it imports, so whoever you share it with can read that code; keep secrets out of what the page imports.',
57
60
  },
58
61
  {
59
62
  type: 'prose',
@@ -82,11 +85,49 @@ export const docs = {
82
85
  },
83
86
  {
84
87
  type: 'prose',
85
- text: 'Every rendered file carries its source, so this writes the page back byte for byte; edit it and render again. A file whose source block was removed but whose markup came from Astryx components is rebuilt from that markup instead: the components, their recorded props and the text come back, while styling, icons and behavior do not, so treat it as a starting point. HTML that was never an Astryx page is refused with ERR_RENDER_NOT_ASTRYX; describe the page to `astryx build` to start one.',
88
+ text: 'This is the way back (unrender). Every rendered file carries its source, so this writes the page back byte for byte; edit it and render again. A file whose source block was removed but whose markup came from Astryx components is rebuilt from that markup instead: the components, their recorded props and the text come back, while styling, icons and behavior do not, so treat it as a starting point. HTML that was never an Astryx page is refused with ERR_RENDER_NOT_ASTRYX; describe the page to `astryx build` to start one.',
86
89
  },
87
90
  {
88
91
  type: 'prose',
89
- text: 'It writes the page, the modules, stylesheets and JSON files the page reaches through its own imports, and the images, fonts and media the render carried (however the page named them, as long as their bytes really are one): each goes where the page\'s relative imports find it from wherever you put the page, and a file the page imports through a path alias (`@/components/Header`) goes where your project\'s `tsconfig.json` or `jsconfig.json` alias points. Every file but the page goes inside the one new folder the restore creates (the topmost folder on the page\'s path that does not exist yet), never into a folder that already exists: a page that imports other files comes back into a new folder (`--out restored/app/page.tsx`), and a file it imports through a path alias comes back only when that alias points inside the new folder. Nor does it write a file that a test, story or benchmark runner would run by its default patterns (Jest, Vitest, Bun, AVA, Playwright, Storybook, Cypress and `node --test`: names such as `*.test.*`, `*.spec.*`, `*_test.*`, `*-test.*`, `*.bench.*`, `*.stories.*`, `*.cy.*`, and anything under `test/`, `tests/` or `__tests__/`), judged from the repository root (every folder above the file up to it), else the topmost folder with a package.json. Restored files are the sender\'s code: read them before you run or import them. Without `--out`, everything comes back into a new folder beside the HTML file, named after it (`page.html` comes back into `page-restored/`). A received file that carries anything else (a file the page never imports, a dotfile, `package.json`, a tool configuration, a path that leaves the folder) is refused with nothing written. A rendered file that lost its embedded source on the way (a sanitizer or an editor strips `<script>` blocks) and has no Astryx components to rebuild from is refused with `ERR_RENDER_SOURCE_DAMAGED`. An existing file is never replaced unless you pass `--overwrite`, and the refusal names every one; a generated, vendored or ignored file, and any path through a symbolic link, is not written even then. Add `--json` for the result as data: what was written, how big it is, and every warning.',
92
+ text: 'It writes the page, the modules, stylesheets and JSON files the page reaches through its own imports, and the images, fonts and media the render carried (however the page named them, as long as their bytes really are one): each goes where the page\'s relative imports find it from wherever you put the page, and a file the page imports through a path alias (`@/components/Header`) goes where your project\'s `tsconfig.json` or `jsconfig.json` alias points. Every file but the page goes inside the one new folder the restore creates (the topmost folder on the page\'s path that does not exist yet), never into a folder that already exists: a page that imports other files comes back into a new folder (`--out restored/app/page.tsx`), and a file it imports through a path alias comes back only when that alias points inside the new folder. Where no alias of yours names such an import, the file comes back in the page\'s own layout inside the new folder, and the result (`aliased`) names each such import, the whole `paths` the page needs to build (the entries your config has now, with the new ones), and the tsconfig.json or jsconfig.json they belong in. Only an import that cannot be a package name or a package\'s own subpath import is followed this way (`@/…`, `~/…`), so a received file can never remap a package or your own imports. Nor does it write a file that a test, story or benchmark runner would run by its default patterns (Jest, Vitest, Bun, AVA, Playwright, Storybook, Cypress and `node --test`: names such as `*.test.*`, `*.spec.*`, `*_test.*`, `*-test.*`, `*.bench.*`, `*.stories.*`, `*.cy.*`, and anything under `test/`, `tests/` or `__tests__/`), judged from the repository root (every folder above the file up to it), else the topmost folder with a package.json. Restored files are the sender\'s code: read them before you run or import them. Without `--out`, everything comes back into a new folder beside the HTML file, named after it (`page.html` comes back into `page-restored/`). A received file that carries anything else (a file the page never imports, a dotfile, `package.json`, a tool configuration, a path that leaves the folder) is refused with nothing written. A rendered file that lost its embedded source on the way (a sanitizer or an editor strips `<script>` blocks) and has no Astryx components to rebuild from is refused with `ERR_RENDER_SOURCE_DAMAGED`, as is a rendered file cut short before its embedded source, and a file a merge left with conflict markers (keep the whole file from one side, or render the merged page again). An existing file is never replaced unless you pass `--overwrite`, and the refusal names every one; a generated, vendored or ignored file, and any path through a symbolic link, is not written even then. Add `--json` for the result as data: what was written, how big it is, and every warning.',
93
+ },
94
+ ],
95
+ },
96
+ {
97
+ id: 'file-notes',
98
+ title: 'What the file says about itself',
99
+ content: [
100
+ {
101
+ type: 'prose',
102
+ text: 'A rendered file explains itself to whoever opens it next, a person or an agent with no other context. A plain note at its top names the CLI version and render format that made it, the page\u2019s path in its project, the files it carries, and the packages it rendered with and their versions. It then gives the exact commands, pinned to that CLI version with `npx @astryxdesign/cli@<version>`, that get the source back, and the one that renders the restored page over the same file again. A short note after the embedded source repeats the first command for a reader who starts at the end. The embedded source records the same facts as JSON.',
103
+ },
104
+ {
105
+ type: 'prose',
106
+ text: 'Change a page through its source, not through the HTML: the carried source never sees edits made to the markup. A render replaces an HTML file only when a render wrote it, so rendering the restored page with `--out` over the old file is safe.',
107
+ },
108
+ ],
109
+ },
110
+ {
111
+ id: 'changed-after-render',
112
+ title: 'Edits made to the HTML',
113
+ content: [
114
+ {
115
+ type: 'prose',
116
+ text: 'The embedded source also keeps checksums of the markup and the styles, the text of the markup and the title, as rendered. When someone edits the HTML after the render, `--reverse` still writes the page as rendered, and the result says `edited: true` and lists each run of text that changed, the title first: what it was, what it is now, and the restored file and line that hold the old text when it appears there once. `stylesEdited: true` says the styles changed. Make the same changes in the restored files, then render again. A change to attributes, elements or formatting alone shows as `edited: true` with no text changes.',
117
+ },
118
+ ],
119
+ },
120
+ {
121
+ id: 'versions',
122
+ title: 'Across CLI versions',
123
+ content: [
124
+ {
125
+ type: 'prose',
126
+ text: 'The embedded source carries a render format number. Every CLI reads each format up to its own, and a new optional field never changes the number, so an older CLI keeps reading files a newer one writes. A file that carries a kind of file an older CLI does not take (an `.mts`, `.cts` or `.cjs` module, or a module or JSON file named like configuration, such as `config.ts` or `data/config.json`) says format 2; every other file says format 1. A file in a newer format than the running CLI reads is refused with `ERR_RENDER_NEWER_FORMAT`, and the message names the CLI version that wrote it, which reads it. A file from an older CLI carries no note, but its `generator` meta names the version that wrote it, and `--reverse` reports that version as `renderedBy`.',
127
+ },
128
+ {
129
+ type: 'prose',
130
+ text: 'The note names the Core version the page was written for. To bring restored code to a project on a newer Core, run that project\u2019s own upgrade over the restored folder: `astryx upgrade --from <that version> --path <restored folder> --apply`.',
90
131
  },
91
132
  ],
92
133
  },
@@ -0,0 +1,157 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ /**
4
+ * @file `astryx docs cli/experimental/share-a-page`: write a page, render it
5
+ * to one HTML file, share or upload that file, and turn it back into source
6
+ * to change it.
7
+ */
8
+
9
+ /** @type {import('@astryxdesign/cli/authoring').ReferenceDoc} */
10
+ export const docs = {
11
+ type: 'generic',
12
+ name: 'share-a-page',
13
+ placement: {parent: 'namespace:experimental', slot: 'guides', order: 18},
14
+ stability: 'experimental',
15
+ title: 'Make a shareable page',
16
+ category: 'guide',
17
+ keywords: [
18
+ 'share',
19
+ 'shareable page',
20
+ 'one html file',
21
+ 'single file',
22
+ 'artifact',
23
+ 'upload',
24
+ 'report',
25
+ 'status page',
26
+ 'dashboard',
27
+ 'edit a shared page',
28
+ 'back to source',
29
+ 'render',
30
+ ],
31
+ description:
32
+ 'Experimental. Write a page with Astryx components, render it to one HTML file, share or upload that file, and turn it back into source to change it.',
33
+ sections: [
34
+ {
35
+ id: 'overview',
36
+ title: 'Four steps',
37
+ content: [
38
+ {
39
+ type: 'prose',
40
+ text: 'A shareable page is one HTML file. It opens in a browser, as an attachment, or in an artifact viewer that shows HTML in a sandboxed frame. It runs no script and loads nothing from the network. It also carries its own source, so anyone who has the file can turn it back into code, change it, and render it again. The render command is experimental: its options and its output can change in a patch release.',
41
+ },
42
+ {
43
+ type: 'list',
44
+ style: 'ordered',
45
+ items: [
46
+ 'Write the page: one `.tsx` file built from Astryx components.',
47
+ 'Render it to one HTML file.',
48
+ 'Share or upload that file.',
49
+ 'To change it, turn the file back into source, edit the source, and render again.',
50
+ ],
51
+ },
52
+ ],
53
+ },
54
+ {
55
+ id: 'write',
56
+ title: '1. Write the page',
57
+ content: [
58
+ {
59
+ type: 'prose',
60
+ text: 'Make a folder and write one file, such as `page.tsx`. Its default export is a React component built from Astryx components. In a folder that is not an Astryx project, the CLI renders the page with its own Astryx, React and StyleX, so the folder needs no package.json and no install.',
61
+ },
62
+ {
63
+ type: 'code',
64
+ lang: 'tsx',
65
+ code: "import {VStack} from '@astryxdesign/core/VStack';\nimport {HStack} from '@astryxdesign/core/HStack';\nimport {Card} from '@astryxdesign/core/Card';\nimport {Heading} from '@astryxdesign/core/Heading';\nimport {Text} from '@astryxdesign/core/Text';\nimport {Badge} from '@astryxdesign/core/Badge';\n\nexport default function Page() {\n return (\n <VStack gap={5} padding={6}>\n <HStack gap={2} vAlign=\"center\">\n <Heading level={1}>Project Atlas</Heading>\n <Badge label=\"At risk\" variant=\"warning\" />\n </HStack>\n <Card padding={5}>\n <Text type=\"body\">38% of traffic is on the new stack.</Text>\n </Card>\n </VStack>\n );\n}",
66
+ },
67
+ {
68
+ type: 'prose',
69
+ text: 'Find a component with `{@command search "progress bar"}` and read its props with `{@command component ProgressBar}` before you use it. Use components and tokens, not colors or CSS of your own: the page then follows the reader\u2019s light or dark setting, and a viewer that sets Astryx theme variables gives it that viewer\u2019s theme.',
70
+ },
71
+ {
72
+ type: 'list',
73
+ style: 'unordered',
74
+ items: [
75
+ 'Readers open the file on phones and on wide screens. Put cards in a row with `<Grid columns={{minWidth: 220, max: 3}}>`, which drops to fewer columns on a narrow screen, down to one. Do not pick a layout with script, such as useMediaQuery: the file runs no script, so every reader, on any screen, gets the one layout that the query\u2019s server answer (false) picks.',
76
+ 'Each Table column keeps its share of the width at every size, so the column with the smallest share sets the table\u2019s minimum width: a column with 1 of 11 shares and the default 120 px floor makes the table at least 1,320 px wide, and a narrower screen scrolls it sideways. Give small columns a small floor: `width: proportional(1, {minWidth: 80})`.',
77
+ 'Charts use recharts: install it in the page\u2019s folder first (`{@pm install recharts}`). Size a chart with `<ResponsiveContainer width="100%" aspect={2.5}>`, and color each series with a theme variable, such as `stroke="var(--color-data-categorical-blue)"`, so it follows the theme too.',
78
+ 'Leave out controls that need a browser. Buttons, filters, tabs and menus show in the file but do nothing.',
79
+ ],
80
+ },
81
+ ],
82
+ },
83
+ {
84
+ id: 'render',
85
+ title: '2. Render it to one file',
86
+ content: [
87
+ {
88
+ type: 'code',
89
+ lang: 'bash',
90
+ code: 'astryx experimental render page.tsx --out page.html',
91
+ },
92
+ {
93
+ type: 'prose',
94
+ text: 'Read what the command prints. A warning names something that can look different from what you meant, such as a component that ignores its children or a remote image the viewer cannot load, and says what to change; fix it and render again. When the command says a package is not installed, install that package in the page\u2019s folder and render again. Then check the file: open it in a browser if you have one, or run the reverse command in step 4 to see that its source comes back.',
95
+ },
96
+ ],
97
+ },
98
+ {
99
+ id: 'share',
100
+ title: '3. Share or upload the file',
101
+ content: [
102
+ {
103
+ type: 'prose',
104
+ text: 'The file is the whole page: send it, put it on a web host, or upload it to an artifact viewer that accepts one HTML file. A viewer that shows HTML in a frame with no network and no script shows it as it is. Upload it with the host\u2019s own command, and keep the link or ID it gives back: you update that same artifact later, so readers keep the same link.',
105
+ },
106
+ {
107
+ type: 'prose',
108
+ text: 'The file carries the page\u2019s source and every local file the page imports. Whoever has the file can read them, so keep secrets out of the page and its imports.',
109
+ },
110
+ ],
111
+ },
112
+ {
113
+ id: 'change',
114
+ title: '4. Change it later',
115
+ content: [
116
+ {
117
+ type: 'prose',
118
+ text: 'Change the page through its source, never by editing the HTML: the source inside the file does not change with the markup, so the next person who turns it back gets the old page.',
119
+ },
120
+ {
121
+ type: 'list',
122
+ style: 'ordered',
123
+ items: [
124
+ 'Get the current file, such as the latest version of the artifact: the shared copy can be newer than yours.',
125
+ 'Turn it back into source. `astryx experimental render --reverse page.html` writes the page and every local file it imports into a new folder beside the file: `page-restored/`, or `page-restored-2/` when that folder exists. The command prints the folder it wrote.',
126
+ 'Edit the page in that folder, such as `page-restored/page.tsx`.',
127
+ 'Render it over the old file: `astryx experimental render page-restored/page.tsx --out page.html`. The command replaces a file only when a render wrote it.',
128
+ 'Share the new file, or upload it as a new version of the same artifact.',
129
+ ],
130
+ },
131
+ {
132
+ type: 'prose',
133
+ text: 'Run each command from the folder that holds the file: the command writes only inside the folder you run it from, so the page and `--out` must both be inside it. When the restored page imports a package, such as recharts or an icon set, install it in that folder first; the render names each package that is missing.',
134
+ },
135
+ ],
136
+ },
137
+ {
138
+ id: 'problems',
139
+ title: 'When a step fails',
140
+ content: [
141
+ {
142
+ type: 'list',
143
+ style: 'unordered',
144
+ items: [
145
+ '`ERR_RENDER_BROWSER_API`: the page reads `window` or `document` while it renders. Move that into an effect, or remove it.',
146
+ 'The page looks wrong on a phone: a layout picked by script, or a table with large column floors. See step 1.',
147
+ 'The render refuses to write the output: it replaces only a file a render wrote. Choose another `--out` name.',
148
+ ],
149
+ },
150
+ {
151
+ type: 'prose',
152
+ text: 'Every detail of the command, such as what it carries, its warnings, and files from other CLI versions: {@link generic:render-pages}.',
153
+ },
154
+ ],
155
+ },
156
+ ],
157
+ };
@@ -162,6 +162,10 @@ export default {
162
162
  type: 'prose',
163
163
  text: "An example's `kind` is `'demo'` by default: it runs on its own, so a docs site may show it as a live preview. Set `kind: 'setup'` for code that cannot run on its own, such as an app setup file, a server route, or a snippet that uses variables defined elsewhere; it is always shown as code only.",
164
164
  },
165
+ {
166
+ type: 'prose',
167
+ text: "A demo runs on its own when its code compiles as a TSX module, ends with the JSX it renders (or declares a component, or default-exports one), and imports only the package, the packages it declares, React and Core: no relative path, and no code that runs only on a server. Every name it uses must be defined in it or imported, except the components the package documents, the components and hooks Core documents, React's exports, and browser globals such as `window`. A sample value is enough: `const viewer = {name: 'Ada'};`. `{@command doctor integration validate}` lists each demo that does not run on its own, with the fix.",
168
+ },
165
169
  ],
166
170
  },
167
171
  {
@@ -67,7 +67,7 @@ export const docs = {
67
67
  'Set `type` to the kind you chose in {@link generic:start-a-template}. It decides which other fields the doc accepts.',
68
68
  'The file name sets the template id ({@link generic:start-a-template}). Labels live in the doc: the terminal list prints `name`, and JSON listings print `displayName`. Changing either never changes the id.',
69
69
  'Write the description for someone choosing between templates. The Doc metadata category in {@link generic:template-grading-rubric} defines what a complete description covers.',
70
- "Name the ideas the template serves in `keywords`: the domains, tasks, and other names a builder might use for it, in lowercase, such as `['monitoring', 'uptime', 'on-call']` for a service-health dashboard. How search and build use them is in {@link generic:field-reference}, so the description can stay about the layout.",
70
+ "Name the ideas the template serves in `keywords`: the domains, tasks, and other names a builder might use for it, in lowercase, such as `['monitoring', 'uptime', 'on-call']` for a service-health dashboard. Describe the page in the words its users would use for it: name what the page is and what it is for, taken from its source and purpose. Give each keyword one concept. {@link generic:field-reference} says how to write a phrase and how search and build use keywords, so the description can stay about the layout.",
71
71
  'Add `isReady: false` as soon as you generate the doc, because a doc without `isReady` is listed as ready. Keep it until the template passes {@link generic:test-template-in-app} and the quality review.',
72
72
  ],
73
73
  },
@@ -98,7 +98,7 @@ export const docs = {
98
98
  {
99
99
  type: 'code',
100
100
  lang: 'text',
101
- code: 'id: implicit-integrations\nstatus: [info]\nlabel: Implicitly linked integrations\nmessage: 1 integration loaded from installed dependencies with no astryx.config entry: @acme/astryx-widgets@1.0.0 from dependencies, contributing components, templates, themes, docs, codemods.',
101
+ code: '[info] implicit-integrations - Implicitly linked integrations - 1 integration loaded from installed dependencies with\n no astryx.config entry: @acme/astryx-widgets@1.0.0 from dependencies, contributing components, templates,\n themes, docs, codemods.',
102
102
  },
103
103
  {
104
104
  type: 'list',
@@ -127,7 +127,7 @@ export const docs = {
127
127
  content: [
128
128
  {
129
129
  type: 'prose',
130
- text: "Use [light, dark] tuples in token values for automatic mode switching. Use mode='system' (default) on Theme to follow OS preference.",
130
+ text: "Use [light, dark] tuples in token values for automatic mode switching. Use mode='system' (default) on Theme to follow OS preference. A theme with one color mode (its built module exports `colorModes`) is listed in the generated module's `themeModes`, and the wiring `theme add` prints passes `mode={themeModes[defaultThemeSlug] ?? 'system'}`, so the selected theme shows its own mode.",
131
131
  },
132
132
  {
133
133
  type: 'code',