@astryxdesign/cli 0.7.16 → 0.7.17-canary.g0404a74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +76 -86
- package/api/build/_adapter.d.mts +17 -0
- package/api/build/_adapter.mjs +53 -34
- package/api/build/blocks/blocks.d.mts +7 -5
- package/api/build/blocks/blocks.mjs +113 -26
- package/api/build/blocks/blocks.weights.json +1 -1
- package/api/build/build.doc.mjs +4 -3
- package/api/build/build.type.d.mts +2 -2
- package/api/build/build.type.mjs +3 -3
- package/api/build/kit/kind.d.mts +2 -1
- package/api/build/kit/kind.mjs +199 -10
- package/api/build/kit/kit.mjs +6 -4
- package/api/build/kit/rank.d.mts +6 -4
- package/api/build/kit/rank.mjs +132 -28
- package/api/build/kit/signals.d.mts +7 -1
- package/api/build/kit/signals.mjs +21 -10
- package/api/build/kit/start.d.mts +5 -4
- package/api/build/kit/start.mjs +14 -9
- package/api/build/kit/weights.d.mts +39 -3
- package/api/build/kit/weights.json +1 -1
- package/api/build/kit/weights.mjs +351 -46
- package/api/build/kit/word-model.d.mts +23 -0
- package/api/build/kit/word-model.mjs +46 -0
- package/api/build/kit/words.d.mts +86 -0
- package/api/build/kit/words.mjs +241 -1
- package/api/build/tree.mjs +1 -1
- package/api/component/__fixtures__/resolutions/modules.txt +5 -6
- package/api/component/_adapter.d.mts +26 -2
- package/api/component/_adapter.mjs +135 -8
- package/api/component/component.mjs +14 -1
- package/api/component/list/list.d.mts +1 -1
- package/api/component/list/list.mjs +48 -6
- package/api/discover/_adapter.d.mts +11 -1
- package/api/discover/_adapter.mjs +95 -1
- package/api/discover/detail/item/item.mjs +5 -0
- package/api/discover/discover.mjs +12 -3
- package/api/discover/discover.type.d.mts +16 -3
- package/api/discover/discover.type.mjs +13 -3
- package/api/discover/search/search.mjs +3 -2
- package/api/docs/_adapter.d.mts +57 -2
- package/api/docs/_adapter.mjs +266 -33
- package/api/docs/_entry-names-lazily.d.mts +22 -0
- package/api/docs/_entry-names-lazily.mjs +25 -0
- package/api/docs/_entry-names.d.mts +23 -0
- package/api/docs/_entry-names.mjs +105 -0
- package/api/docs/docs.d.mts +3 -0
- package/api/docs/docs.doc.mjs +7 -1
- package/api/docs/docs.mjs +12 -0
- package/api/docs/docs.type.d.mts +5 -0
- package/api/docs/docs.type.mjs +2 -0
- package/api/docs/node/node.mjs +1 -1
- package/api/doctor/_adapter.d.mts +54 -5
- package/api/doctor/_adapter.mjs +162 -11
- package/api/doctor/built-checks.mjs +40 -14
- package/api/doctor/doctor.d.mts +15 -3
- package/api/doctor/doctor.doc.mjs +1 -1
- package/api/doctor/doctor.mjs +31 -7
- package/api/doctor/theme-checks.d.mts +35 -3
- package/api/doctor/theme-checks.mjs +377 -29
- package/api/hook/_adapter.d.mts +10 -4
- package/api/hook/_adapter.mjs +41 -5
- package/api/hook/detail/detail.mjs +5 -2
- package/api/hook/detail/params/params.mjs +10 -3
- package/api/icon/_records.mjs +2 -1
- package/api/index.d.mts +2 -0
- package/api/index.mjs +2 -0
- package/api/integration/_adapter.d.mts +44 -0
- package/api/integration/_adapter.mjs +77 -1
- package/api/integration/add-helpers.mjs +10 -0
- package/api/integration/authoring-checks.mjs +11 -8
- package/api/integration/example-scope.d.mts +14 -0
- package/api/integration/example-scope.mjs +44 -0
- package/api/integration/example-scope.type.d.mts +29 -0
- package/api/integration/example-scope.type.mjs +25 -0
- package/api/integration/integrationExampleScope.doc.d.mts +11 -0
- package/api/integration/integrationExampleScope.doc.mjs +59 -0
- package/api/integration/pack-check.mjs +16 -1
- package/api/integration/validate-integration.d.mts +18 -6
- package/api/integration/validate-integration.mjs +129 -15
- package/api/integration/validate-integration.type.d.mts +22 -0
- package/api/integration/validate-integration.type.mjs +2 -1
- package/api/integration/validateIntegration.doc.mjs +1 -1
- package/api/render/_adapter.mjs +591 -195
- package/api/render/render.doc.mjs +11 -3
- package/api/render/render.type.d.mts +53 -1
- package/api/render/render.type.mjs +32 -2
- package/api/search/ORDERING.md +2 -2
- package/api/search/_adapter.d.mts +9 -0
- package/api/search/_adapter.mjs +85 -0
- package/api/search/_candidate-score.d.mts +9 -4
- package/api/search/_candidate-score.mjs +133 -46
- package/api/search/_fit-order.mjs +3 -3
- package/api/search/_gather-components.d.mts +3 -2
- package/api/search/_gather-components.mjs +12 -3
- package/api/search/_lexical.d.mts +14 -0
- package/api/search/_lexical.mjs +93 -11
- package/api/search/_result.d.mts +11 -9
- package/api/search/_result.mjs +4 -4
- package/api/search/_score.d.mts +6 -1
- package/api/search/_score.mjs +15 -3
- package/api/search/search-index.mjs +7 -1
- package/api/search/search.d.mts +1 -1
- package/api/template/_adapter.d.mts +16 -0
- package/api/template/_adapter.mjs +39 -2
- package/api/template/cdn/cdn.mjs +37 -8
- package/api/template/copy/copy.d.mts +6 -3
- package/api/template/copy/copy.mjs +40 -8
- package/api/template/template.doc.mjs +3 -3
- package/api/template/template.mjs +63 -11
- package/api/template/template.type.d.mts +1 -0
- package/api/template/template.type.mjs +1 -0
- package/api/theme/_adapter.d.mts +12 -1
- package/api/theme/_adapter.mjs +132 -13
- package/api/theme/_app-provider.d.mts +31 -0
- package/api/theme/_app-provider.mjs +135 -0
- package/api/theme/add/add.mjs +3 -1
- package/api/theme/build/build.d.mts +142 -1
- package/api/theme/build/build.mjs +692 -284
- package/api/theme/build/core-interception.d.mts +10 -0
- package/api/theme/build/core-interception.mjs +10 -0
- package/api/theme/build/font-warning.d.mts +80 -5
- package/api/theme/build/font-warning.mjs +323 -55
- package/api/theme/build/icon-imports.mjs +51 -9
- package/api/theme/build/null-values.d.mts +28 -0
- package/api/theme/build/null-values.mjs +191 -0
- package/api/theme/list/list.mjs +17 -1
- package/api/theme/remove/remove.d.mts +2 -1
- package/api/theme/remove/remove.mjs +7 -3
- package/api/theme/theme.type.d.mts +78 -1
- package/api/theme/theme.type.mjs +38 -2
- package/api/theme/themeAdd.doc.mjs +1 -1
- package/api/theme/themeListAvailable.doc.mjs +1 -1
- package/api/theme/themeRemove.doc.mjs +8 -5
- package/api/theme-edit/_adapter.d.mts +116 -4
- package/api/theme-edit/_adapter.mjs +1058 -93
- package/api/theme-edit/_catalog.d.mts +46 -2
- package/api/theme-edit/_catalog.mjs +115 -14
- package/api/theme-edit/_check.d.mts +133 -24
- package/api/theme-edit/_check.mjs +3392 -531
- package/api/theme-edit/_color.d.mts +26 -0
- package/api/theme-edit/_color.mjs +92 -2
- package/api/theme-edit/_compiler.d.mts +5 -1
- package/api/theme-edit/_compiler.mjs +141 -17
- package/api/theme-edit/_context.d.mts +74 -6
- package/api/theme-edit/_context.mjs +468 -76
- package/api/theme-edit/_css.d.mts +21 -0
- package/api/theme-edit/_css.mjs +87 -14
- package/api/theme-edit/_edit.d.mts +74 -7
- package/api/theme-edit/_edit.mjs +4426 -319
- package/api/theme-edit/_how-commands.d.mts +76 -1
- package/api/theme-edit/_how-commands.mjs +793 -9
- package/api/theme-edit/_how-question.d.mts +97 -6
- package/api/theme-edit/_how-question.mjs +9184 -747
- package/api/theme-edit/_how.d.mts +5 -2
- package/api/theme-edit/_how.mjs +255 -46
- package/api/theme-edit/_importers.d.mts +38 -0
- package/api/theme-edit/_importers.mjs +188 -0
- package/api/theme-edit/_marks.d.mts +31 -5
- package/api/theme-edit/_marks.mjs +57 -5
- package/api/theme-edit/_name-rule.d.mts +11 -0
- package/api/theme-edit/_name-rule.mjs +12 -0
- package/api/theme-edit/_normal.d.mts +322 -0
- package/api/theme-edit/_normal.mjs +1630 -0
- package/api/theme-edit/_palette.d.mts +49 -0
- package/api/theme-edit/_palette.mjs +180 -38
- package/api/theme-edit/_part-words.d.mts +39 -0
- package/api/theme-edit/_part-words.mjs +152 -0
- package/api/theme-edit/_parts.d.mts +55 -3
- package/api/theme-edit/_parts.mjs +421 -36
- package/api/theme-edit/_preview-app.d.mts +7 -13
- package/api/theme-edit/_preview-app.mjs +1108 -599
- package/api/theme-edit/_preview.d.mts +156 -19
- package/api/theme-edit/_preview.mjs +809 -180
- package/api/theme-edit/_project.d.mts +61 -1
- package/api/theme-edit/_project.mjs +177 -6
- package/api/theme-edit/_settings.d.mts +619 -48
- package/api/theme-edit/_settings.mjs +4910 -617
- package/api/theme-edit/_tables.d.mts +41 -0
- package/api/theme-edit/_tables.mjs +261 -41
- package/api/theme-edit/_vet.d.mts +31 -0
- package/api/theme-edit/_vet.mjs +114 -8
- package/api/theme-edit/theme-edit.type.d.mts +34 -2
- package/api/theme-edit/theme-edit.type.mjs +18 -3
- package/api/theme-edit/themeEditHow.doc.mjs +1 -1
- package/api/theme-edit/themeEditNew.doc.d.mts +0 -1
- package/api/theme-edit/themeEditNew.doc.mjs +7 -4
- package/api/theme-edit/themeEditPreviewApp.doc.mjs +3 -3
- package/api/theme-edit/themeEditPreviewRemove.doc.mjs +2 -2
- package/api/upgrade/run/run.mjs +4 -3
- package/api/upgrade/upgrade.mjs +16 -1
- package/assets/codemods/integration-discovery.mjs +2 -1
- package/assets/codemods/integration-runner.mjs +1 -1
- package/assets/codemods/jscodeshift.d.ts +1 -1
- package/assets/codemods/run-codemod.mjs +151 -18
- package/assets/codemods/runner.mjs +1 -4
- package/assets/codemods/transforms/next/index.mjs +11 -1
- package/assets/codemods/transforms/next/migrate-item-swipe-actions-to-swipe.mjs +394 -0
- package/assets/component-list.generated.json +1 -0
- package/assets/docs/author-a-theme.doc.mjs +2 -0
- package/assets/docs/theme.doc.dense.mjs +76 -7
- package/assets/docs/theme.doc.mjs +66 -2
- package/assets/docs/theme.doc.zh.mjs +51 -1
- package/assets/docs/tree/check-your-docs.doc.mjs +1 -1
- package/assets/docs/tree/checks.doc.mjs +2 -2
- package/assets/docs/tree/cli-command.doc.mjs +2 -3
- package/assets/docs/tree/document-the-theme.doc.mjs +1 -1
- package/assets/docs/tree/font-setup.doc.mjs +1 -1
- package/assets/docs/tree/fonts-and-assets.doc.mjs +1 -1
- package/assets/docs/tree/render-pages.doc.mjs +46 -5
- package/assets/docs/tree/share-a-page.doc.mjs +157 -0
- package/assets/docs/tree/single-component.doc.mjs +4 -0
- package/assets/docs/tree/template-doc-overview.doc.mjs +1 -1
- package/assets/docs/tree/test-in-an-app.doc.mjs +1 -1
- package/assets/docs/tree/write-good-templates.doc.mjs +1 -1
- package/assets/docs/use-a-theme.doc.mjs +2 -2
- package/assets/docs-routes.generated.json +1 -0
- package/assets/docs.generated.json +2 -2
- package/assets/search-catalog.generated.json +2 -0
- package/assets/self-audit.generated.json +1 -1
- package/assets/templates/blocks/components/ChatComposerInput/useChatDictationHookUsage.doc.mjs +14 -0
- package/assets/templates/blocks/components/ChatComposerInput/useChatDictationHookUsage.tsx +38 -0
- package/assets/templates/blocks/components/ChatComposerInput/useSpeechRecognitionHookUsage.doc.mjs +14 -0
- package/assets/templates/blocks/components/ChatComposerInput/useSpeechRecognitionHookUsage.tsx +43 -0
- package/assets/templates/blocks/components/Hooks/useContainerRevealHookUsage.tsx +2 -2
- package/assets/templates/blocks/components/SyntaxTheme/useSyntaxThemeHookUsage.doc.mjs +14 -0
- package/assets/templates/blocks/components/SyntaxTheme/useSyntaxThemeHookUsage.tsx +36 -0
- package/assets/templates/components.generated.json +1 -1
- package/assets/templates/pages/ai-chat/template.doc.mjs +5 -4
- package/assets/templates/pages/ai-chat-landing/page.tsx +31 -4
- package/assets/templates/pages/ai-chat-landing/template.doc.mjs +5 -1
- package/assets/templates/pages/blank/template.doc.mjs +1 -1
- package/assets/templates/pages/canvas-editor/template.doc.mjs +4 -2
- package/assets/templates/pages/centered-hero/template.doc.mjs +9 -1
- package/assets/templates/pages/classic-gallery/template.doc.mjs +1 -1
- package/assets/templates/pages/contact-form/template.doc.mjs +2 -1
- package/assets/templates/pages/dashboard/template.doc.mjs +3 -2
- package/assets/templates/pages/dashboard-alert-rail/page.tsx +1 -1
- package/assets/templates/pages/dashboard-alert-rail/template.doc.mjs +2 -1
- package/assets/templates/pages/dashboard-cohort-funnel/page.tsx +1 -1
- package/assets/templates/pages/dashboard-cohort-funnel/template.doc.mjs +2 -1
- package/assets/templates/pages/dashboard-comparison/page.tsx +2 -2
- package/assets/templates/pages/dashboard-composition/template.doc.mjs +2 -1
- package/assets/templates/pages/dashboard-progress/page.tsx +1 -1
- package/assets/templates/pages/dashboard-progress/template.doc.mjs +6 -3
- package/assets/templates/pages/detail-page/page.tsx +60 -7
- package/assets/templates/pages/detail-page/template.doc.mjs +10 -3
- package/assets/templates/pages/documentation/template.doc.mjs +4 -1
- package/assets/templates/pages/documentation-design/template.doc.mjs +7 -1
- package/assets/templates/pages/documentation-technical/page.tsx +13 -13
- package/assets/templates/pages/documentation-technical/template.doc.mjs +7 -1
- package/assets/templates/pages/editor/page.tsx +14 -2
- package/assets/templates/pages/editor/template.doc.mjs +2 -8
- package/assets/templates/pages/file-explorer/page.tsx +9 -0
- package/assets/templates/pages/file-explorer/template.doc.mjs +1 -1
- package/assets/templates/pages/form-two-column/template.doc.mjs +4 -3
- package/assets/templates/pages/form-wizard/template.doc.mjs +5 -3
- package/assets/templates/pages/form-wizard-vertical/page.tsx +23 -3
- package/assets/templates/pages/gallery-hero/template.doc.mjs +4 -2
- package/assets/templates/pages/ide/page.tsx +33 -2
- package/assets/templates/pages/kanban-board/page.tsx +12 -2
- package/assets/templates/pages/kanban-board/template.doc.mjs +1 -9
- package/assets/templates/pages/library/template.doc.mjs +4 -1
- package/assets/templates/pages/login/template.doc.mjs +2 -1
- package/assets/templates/pages/login-card/page.tsx +16 -0
- package/assets/templates/pages/login-card/template.doc.mjs +2 -1
- package/assets/templates/pages/login-split/page.tsx +19 -6
- package/assets/templates/pages/login-split/template.doc.mjs +2 -1
- package/assets/templates/pages/login-sso/template.doc.mjs +4 -2
- package/assets/templates/pages/messaging-shell/template.doc.mjs +6 -0
- package/assets/templates/pages/mixed-gallery/template.doc.mjs +2 -1
- package/assets/templates/pages/payment-form/page.tsx +30 -4
- package/assets/templates/pages/product-detail/page.tsx +26 -2
- package/assets/templates/pages/product-detail/template.doc.mjs +4 -2
- package/assets/templates/pages/product-gallery/template.doc.mjs +2 -1
- package/assets/templates/pages/settings-dialog/page.tsx +162 -12
- package/assets/templates/pages/settings-dialog/template.doc.mjs +2 -1
- package/assets/templates/pages/settings-sidebar/template.doc.mjs +2 -1
- package/assets/templates/pages/shell-nav/template.doc.mjs +4 -2
- package/assets/templates/pages/shell-side-nav/page.tsx +11 -3
- package/assets/templates/pages/shell-side-nav/template.doc.mjs +5 -3
- package/assets/templates/pages/shell-top-nav/template.doc.mjs +2 -1
- package/assets/templates/pages/side-gallery/template.doc.mjs +9 -1
- package/assets/templates/pages/table-filter/page.tsx +9 -0
- package/assets/templates/pages/table-filter/template.doc.mjs +9 -8
- package/assets/templates/pages/table-grouped/page.tsx +161 -133
- package/assets/templates/pages/table-grouped/template.doc.mjs +4 -2
- package/assets/templates/pages/table-page/page.tsx +14 -1
- package/assets/templates/pages/table-page/template.doc.mjs +5 -4
- package/assets/templates/pages/table-tree/template.doc.mjs +6 -3
- package/assets/templates/pages/theme-showcase/template.doc.mjs +2 -9
- package/assets/templates/pages/work-item-detail/page.tsx +47 -7
- package/assets/templates/pages/work-item-detail/template.doc.mjs +1 -0
- package/assets/theme.template.ts +9 -2
- package/authoring/debug/parse.d.mts +3 -3
- package/authoring/doctypes/_schema.d.mts +9 -9
- package/authoring/doctypes/command/command.doc.mjs +1 -1
- package/authoring/doctypes/component/categories.d.mts +37 -0
- package/authoring/doctypes/component/categories.mjs +54 -0
- package/authoring/doctypes/template/template.doc.mjs +1 -1
- package/authoring/doctypes/template/type.ts +9 -0
- package/authoring/example/example.doc.d.mts +12 -0
- package/authoring/example/example.doc.mjs +69 -0
- package/authoring/example/preview.d.mts +92 -0
- package/authoring/example/preview.mjs +994 -0
- package/authoring/example/type.ts +102 -0
- package/authoring/index.d.mts +1 -0
- package/authoring/index.d.ts +12 -0
- package/authoring/index.mjs +3 -1
- package/authoring/integration/integration.doc.mjs +8 -0
- package/authoring/integration/schema.d.mts +24 -1
- package/authoring/integration/schema.mjs +126 -4
- package/authoring/integration/type.ts +14 -0
- package/clients/cli/bin/astryx.mjs +6 -9
- package/clients/cli/build-id.generated.json +1 -1
- package/clients/cli/commands/component.doc.mjs +1 -1
- package/clients/cli/commands/component.mjs +22 -3
- package/clients/cli/commands/discover.mjs +70 -3
- package/clients/cli/commands/docs.doc.mjs +7 -1
- package/clients/cli/commands/docs.mjs +44 -6
- package/clients/cli/commands/doctor.mjs +84 -16
- package/clients/cli/commands/experimental/render.mjs +42 -1
- package/clients/cli/commands/experimental/theme.mjs +1032 -134
- package/clients/cli/commands/experimental-render.doc.mjs +2 -2
- package/clients/cli/commands/experimental-theme-compile.doc.mjs +3 -3
- package/clients/cli/commands/experimental-theme-editor-how.doc.mjs +87 -1
- package/clients/cli/commands/experimental-theme-editor-new.doc.mjs +10 -3
- package/clients/cli/commands/experimental-theme-editor-set.doc.mjs +2 -2
- package/clients/cli/commands/experimental-theme-editor-show.doc.mjs +2 -2
- package/clients/cli/commands/experimental-theme-editor-undo.doc.mjs +2 -2
- package/clients/cli/commands/experimental-theme-editor.doc.mjs +1 -1
- package/clients/cli/commands/experimental-theme-preview-app.doc.mjs +2 -2
- package/clients/cli/commands/experimental-theme-preview-remove.doc.mjs +2 -2
- package/clients/cli/commands/experimental-theme-preview.doc.mjs +2 -1
- package/clients/cli/commands/experimental-theme-remove.doc.mjs +4 -4
- package/clients/cli/commands/experimental-theme.doc.mjs +5 -1
- package/clients/cli/commands/search.doc.mjs +2 -1
- package/clients/cli/commands/search.mjs +6 -1
- package/clients/cli/commands/template.doc.mjs +1 -1
- package/clients/cli/commands/template.mjs +15 -2
- package/clients/cli/commands/theme-add.doc.mjs +1 -1
- package/clients/cli/commands/theme-build.doc.mjs +5 -1
- package/clients/cli/commands/theme-list.doc.mjs +1 -1
- package/clients/cli/commands/theme-remove.doc.mjs +13 -5
- package/clients/cli/commands/theme.doc.mjs +1 -1
- package/clients/cli/commands/theme.mjs +849 -441
- package/clients/cli/commands/upgrade.mjs +46 -8
- package/clients/cli/index.mjs +9 -19
- package/clients/cli/lib/cli-error.mjs +2 -1
- package/clients/cli/lib/component-format.mjs +205 -98
- package/clients/cli/lib/hook-format.mjs +9 -19
- package/clients/cli/lib/json-shim.mjs +265 -29
- package/clients/cli/lib/manifest.mjs +3 -2
- package/clients/cli/lib/stray-option.mjs +478 -0
- package/clients/cli/lib/unknown-command.mjs +353 -0
- package/clients/cli/manifest.generated.json +1 -1
- package/foundation/agent-docs/agent-docs.mjs +1 -1
- package/foundation/config/project.d.mts +8 -0
- package/foundation/config/project.mjs +26 -29
- package/foundation/config/theme-state.d.mts +31 -2
- package/foundation/config/theme-state.mjs +140 -8
- package/foundation/discovery/authoring-self-docs.mjs +1 -0
- package/foundation/discovery/cli-self-doc-names.d.mts +13 -0
- package/foundation/discovery/cli-self-doc-names.mjs +51 -0
- package/foundation/discovery/cli-self-docs.d.mts +0 -2
- package/foundation/discovery/cli-self-docs.mjs +2 -15
- package/foundation/discovery/component-discovery.d.mts +11 -0
- package/foundation/discovery/component-discovery.mjs +59 -10
- package/foundation/discovery/component-replacement.mjs +130 -1
- package/foundation/discovery/copied-passages.mjs +2 -1
- package/foundation/discovery/core-component-docs.d.mts +29 -0
- package/foundation/discovery/core-component-docs.mjs +83 -0
- package/foundation/discovery/core-theme-facts.d.mts +70 -0
- package/foundation/discovery/core-theme-facts.mjs +384 -0
- package/foundation/discovery/doc-types.mjs +4 -3
- package/foundation/discovery/docs-discovery.d.mts +66 -9
- package/foundation/discovery/docs-discovery.mjs +126 -60
- package/foundation/discovery/entry-name-files.d.mts +106 -0
- package/foundation/discovery/entry-name-files.mjs +354 -0
- package/foundation/discovery/hook-discovery.d.mts +18 -2
- package/foundation/discovery/hook-discovery.mjs +93 -42
- package/foundation/discovery/icon-definition-discovery.mjs +2 -1
- package/foundation/discovery/icon-set-checks.mjs +2 -1
- package/foundation/discovery/icon-set-discovery.mjs +2 -1
- package/foundation/discovery/integration-component-views.d.mts +15 -0
- package/foundation/discovery/integration-component-views.mjs +91 -0
- package/foundation/discovery/integration-doc-files.mjs +2 -1
- package/foundation/discovery/module-exports.d.mts +26 -1
- package/foundation/discovery/module-exports.mjs +114 -40
- package/foundation/discovery/name-roots.d.mts +38 -0
- package/foundation/discovery/name-roots.mjs +108 -0
- package/foundation/discovery/next-routes.d.mts +48 -0
- package/foundation/discovery/next-routes.mjs +181 -0
- package/foundation/discovery/package-exports.d.mts +10 -0
- package/foundation/discovery/package-exports.mjs +56 -3
- package/foundation/discovery/prop-drift.mjs +9 -9
- package/foundation/discovery/runner-allowlist.d.mts +1 -0
- package/foundation/discovery/runner-allowlist.mjs +2 -0
- package/foundation/discovery/stored-component-list.d.mts +43 -0
- package/foundation/discovery/stored-component-list.mjs +90 -0
- package/foundation/discovery/stored-search-catalog.d.mts +115 -0
- package/foundation/discovery/stored-search-catalog.mjs +297 -0
- package/foundation/discovery/stored-self-audit.d.mts +26 -10
- package/foundation/discovery/stored-self-audit.mjs +40 -18
- package/foundation/discovery/template-adapter.d.mts +49 -29
- package/foundation/discovery/template-adapter.mjs +89 -99
- package/foundation/discovery/template-destination.d.mts +28 -0
- package/foundation/discovery/template-destination.mjs +104 -0
- package/foundation/discovery/template-icons.mjs +2 -1
- package/foundation/discovery/template-ids.d.mts +69 -0
- package/foundation/discovery/template-ids.mjs +199 -0
- package/foundation/discovery/theme-discovery.d.mts +12 -0
- package/foundation/discovery/theme-discovery.mjs +34 -4
- package/foundation/discovery/theme-imports.d.mts +24 -0
- package/foundation/discovery/theme-imports.mjs +61 -4
- package/foundation/discovery/theming-targets.d.mts +13 -5
- package/foundation/discovery/theming-targets.mjs +41 -47
- package/foundation/doc-compiler/generated-levels.d.mts +43 -0
- package/foundation/doc-compiler/generated-levels.mjs +72 -0
- package/foundation/doc-compiler/import.mjs +7 -1
- package/foundation/doc-compiler/inputs.mjs +3 -2
- package/foundation/doc-compiler/literal-doc.d.mts +12 -0
- package/foundation/doc-compiler/literal-doc.mjs +322 -0
- package/foundation/doc-compiler/parse-readable.mjs +4 -1
- package/foundation/doc-compiler/stored-docs.d.mts +29 -0
- package/foundation/doc-compiler/stored-docs.mjs +63 -1
- package/foundation/doc-compiler/tree.d.mts +4 -84
- package/foundation/doc-compiler/tree.mjs +4 -62
- package/foundation/env/semver.mjs +3 -1
- package/foundation/fonts/font-stylesheet.d.mts +46 -0
- package/foundation/fonts/font-stylesheet.mjs +173 -0
- package/foundation/fs/cache-eviction.d.mts +21 -0
- package/foundation/fs/cache-eviction.mjs +73 -0
- package/foundation/fs/exact-codec.d.mts +12 -2
- package/foundation/fs/exact-codec.mjs +23 -6
- package/foundation/fs/file-protection.mjs +16 -5
- package/foundation/fs/gather-cache.d.mts +94 -4
- package/foundation/fs/gather-cache.mjs +671 -106
- package/foundation/fs/glob.d.mts +16 -0
- package/foundation/fs/glob.mjs +105 -0
- package/foundation/fs/jiti-cache.d.mts +19 -1
- package/foundation/fs/jiti-cache.mjs +130 -6
- package/foundation/fs/kept-tree.d.mts +80 -0
- package/foundation/fs/kept-tree.mjs +240 -0
- package/foundation/fs/listing-cache.d.mts +7 -0
- package/foundation/fs/listing-cache.mjs +10 -0
- package/foundation/fs/module-loader.d.mts +24 -2
- package/foundation/fs/module-loader.mjs +94 -21
- package/foundation/fs/path-safety.d.mts +11 -2
- package/foundation/fs/path-safety.mjs +108 -18
- package/foundation/fs/paths.d.mts +18 -0
- package/foundation/fs/paths.mjs +15 -2
- package/foundation/fs/read-record.d.mts +56 -7
- package/foundation/fs/read-record.mjs +280 -56
- package/foundation/fs/regular-file.d.mts +29 -0
- package/foundation/fs/regular-file.mjs +77 -0
- package/foundation/fs/stop-cleanup.d.mts +12 -0
- package/foundation/fs/stop-cleanup.mjs +66 -0
- package/foundation/identity/provider-identity.d.mts +6 -0
- package/foundation/identity/provider-identity.mjs +10 -1
- package/foundation/integrations/contribution-inventory.mjs +4 -3
- package/foundation/integrations/example-code.d.mts +63 -0
- package/foundation/integrations/example-code.mjs +416 -0
- package/foundation/integrations/integrations.d.mts +23 -1
- package/foundation/integrations/integrations.mjs +18 -1
- package/foundation/integrations/pack-state.d.mts +75 -0
- package/foundation/integrations/pack-state.mjs +314 -0
- package/foundation/integrations/public-imports.d.mts +9 -0
- package/foundation/integrations/public-imports.mjs +3 -2
- package/foundation/integrations/shipped-imports.d.mts +122 -0
- package/foundation/integrations/shipped-imports.mjs +497 -0
- package/foundation/integrations/validate-contributions.d.mts +0 -17
- package/foundation/integrations/validate-contributions.mjs +59 -333
- package/foundation/render/assets.mjs +52 -7
- package/foundation/render/charts.d.mts +78 -27
- package/foundation/render/charts.mjs +266 -90
- package/foundation/render/embedded-files.d.mts +6 -0
- package/foundation/render/embedded-files.mjs +25 -5
- package/foundation/render/embedded-imports.d.mts +70 -7
- package/foundation/render/embedded-imports.mjs +132 -41
- package/foundation/render/file-header.d.mts +66 -0
- package/foundation/render/file-header.mjs +118 -0
- package/foundation/render/host-answer.d.mts +18 -0
- package/foundation/render/host-answer.mjs +46 -0
- package/foundation/render/host-exit.d.mts +1 -0
- package/foundation/render/host-exit.mjs +6 -1
- package/foundation/render/html-reader.d.mts +55 -2
- package/foundation/render/html-reader.mjs +145 -26
- package/foundation/render/layers.d.mts +30 -0
- package/foundation/render/layers.mjs +158 -0
- package/foundation/render/markup-edits.d.mts +57 -0
- package/foundation/render/markup-edits.mjs +182 -0
- package/foundation/render/offline.d.mts +32 -0
- package/foundation/render/offline.mjs +56 -0
- package/foundation/render/page-host.mjs +29 -12
- package/foundation/render/page-worker.mjs +354 -21
- package/foundation/render/picture-chrome.d.mts +4 -0
- package/foundation/render/picture-chrome.mjs +192 -0
- package/foundation/render/picture-playwright.d.mts +4 -0
- package/foundation/render/picture-playwright.mjs +46 -0
- package/foundation/render/rebuild.mjs +2 -1
- package/foundation/render/render-page.d.mts +79 -5
- package/foundation/render/render-page.mjs +735 -109
- package/foundation/render/source-block.d.mts +85 -6
- package/foundation/render/source-block.mjs +211 -20
- package/foundation/render/ts-paths.d.mts +69 -6
- package/foundation/render/ts-paths.mjs +326 -40
- package/foundation/response/error-codes.d.mts +3 -1
- package/foundation/response/error-codes.d.ts +1 -0
- package/foundation/response/error-codes.doc.mjs +12 -1
- package/foundation/response/error-codes.mjs +11 -1
- package/foundation/response/response-types.doc.mjs +6 -6
- package/foundation/suggest/name-index.d.mts +148 -0
- package/foundation/suggest/name-index.mjs +317 -0
- package/foundation/suggest/other-command.d.mts +140 -0
- package/foundation/suggest/other-command.mjs +756 -0
- package/foundation/text/compare-text.d.mts +14 -0
- package/foundation/text/compare-text.mjs +68 -0
- package/foundation/text/css-escape.d.mts +18 -0
- package/foundation/text/css-escape.mjs +35 -0
- package/foundation/text/entry-names.d.mts +14 -0
- package/foundation/text/entry-names.mjs +14 -0
- package/foundation/text/string-utils.d.mts +46 -6
- package/foundation/text/string-utils.mjs +118 -20
- package/foundation/text/suggest-order.d.mts +47 -4
- package/foundation/text/suggest-order.mjs +174 -5
- package/foundation/xle/browser.d.mts +2 -2
- package/foundation/xle/expand.mjs +2 -1
- package/host/index.mjs +8 -6
- package/package.json +7 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"core":{"inputs":{".":"dir:a27d055bb3d67a0699aa239d25809636","package.json":"pkg:4ff2bb75458f041e88094da5a7009373","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:2f1bb72526554e024510672862e377ae","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":"f3300abc99c29cb35a1bd4684884df01","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":"ad0d928cf7eeba80db33da10b99dc8a7","src/MoreMenu":"dir:2b359be8ab7b06efe324efc4e8ba312a","src/MoreMenu/MoreMenu.doc.mjs":"6f528f077d3500c814987d01dd8bca32","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:849af2bee119066d2860ce1c093c0e67","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"}}}
|
|
@@ -14,6 +14,7 @@ export const docs = {
|
|
|
14
14
|
id: 'creating-a-custom-theme',
|
|
15
15
|
title: 'Custom themes',
|
|
16
16
|
content: [
|
|
17
|
+
{type: 'prose', text: 'To make or change a theme (brand colors, fonts, corners), use the theme editor, which checks each change against what components read: `astryx experimental theme editor new <name> --like neutral`, then {@link generic:theme} for the rest. What follows is by hand.'},
|
|
17
18
|
{type: 'prose', text: "Use an installed built theme as the base for ordinary customization. Import it into your source and pass it as `extends` to `defineTheme({extends: importedTheme, ...})`. Build the result, then add the local slug. Only eject when you need to own and maintain a full source fork."},
|
|
18
19
|
{type: 'prose', text: "A local theme is a folder in `src/themes/<slug>/` holding a `<name>Theme.ts` source that exports `<name>Theme`, and a same-stem `<name>Theme.doc.mjs` descriptor that `theme add` reads. The stem must be a valid export name, so a hyphenated slug drops the hyphen: `brand-dark` lives in `src/themes/brand-dark/brandDarkTheme.ts` exporting `brandDarkTheme`, beside `brandDarkTheme.doc.mjs`. The descriptor's `name` is the folder's slug, and it must declare its type or `theme add` and `theme list` refuse it. {@command docs authoring theme-doc} lists every field."},
|
|
19
20
|
{type: 'code', lang: 'js', label: 'src/themes/brand-dark/brandDarkTheme.doc.mjs', code: "/** @type {import('@astryxdesign/cli/authoring').ThemeDoc} */\nexport default {\n type: 'theme',\n name: 'brand-dark',\n displayName: 'Brand Dark',\n description: 'The brand accent, tuned for dark mode.',\n maintained: false,\n};"},
|
|
@@ -46,6 +47,7 @@ export const docs = {
|
|
|
46
47
|
['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
48
|
]},
|
|
48
49
|
{type: 'prose', text: 'For dark mode tuples in token values, see the Dark mode section of {@link generic:use-a-theme}.'},
|
|
50
|
+
{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
51
|
],
|
|
50
52
|
},
|
|
51
53
|
{
|
|
@@ -3,29 +3,92 @@
|
|
|
3
3
|
/** @type {import('@astryxdesign/cli/authoring').ReferenceTranslationDoc} */
|
|
4
4
|
|
|
5
5
|
export const docsDense = {
|
|
6
|
-
description:
|
|
6
|
+
description:
|
|
7
|
+
'how themes work: wrap app in a theme; create/change one (also denser/roomier, one kind of part): astryx experimental theme editor new <name> --like neutral (rest = first sections).',
|
|
7
8
|
sections: [
|
|
9
|
+
{
|
|
10
|
+
section: 'Make or change a theme',
|
|
11
|
+
title: 'Make or change a theme',
|
|
12
|
+
content: [
|
|
13
|
+
{
|
|
14
|
+
type: 'prose',
|
|
15
|
+
text: 'make/change a theme (experimental theme editor): astryx experimental theme editor new <name> --like neutral; editor set|how; theme add <name>.',
|
|
16
|
+
},
|
|
17
|
+
],
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
section: 'Look after each change',
|
|
21
|
+
title: 'Look after each change',
|
|
22
|
+
content: [
|
|
23
|
+
{
|
|
24
|
+
type: 'prose',
|
|
25
|
+
text: 'after each change look: experimental theme editor show <name> --png (takes pictures of real components); not done until you have looked.',
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
section: 'A denser or roomier app',
|
|
31
|
+
title: 'A denser or roomier app',
|
|
32
|
+
content: [
|
|
33
|
+
{
|
|
34
|
+
type: 'prose',
|
|
35
|
+
text: 'denser/roomier app = theme: editor set <name> spacing tight|roomy, not page code.',
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
section: 'One kind of part',
|
|
41
|
+
title: 'One kind of part',
|
|
42
|
+
content: [
|
|
43
|
+
{
|
|
44
|
+
type: 'prose',
|
|
45
|
+
text: 'one kind of part (sidebar, its selected item, form gaps) = theme too: editor how "<ask>" names set … --on <part>.',
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
section: 'No app yet',
|
|
51
|
+
title: 'No app yet',
|
|
52
|
+
content: [
|
|
53
|
+
{
|
|
54
|
+
type: 'prose',
|
|
55
|
+
text: 'experimental theme preview app <dir> = starter app showing the theme. use + create themes: see use-a-theme and author-a-theme.',
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
},
|
|
8
59
|
{
|
|
9
60
|
section: 'Wrap your app in a theme',
|
|
10
61
|
title: 'Quick start',
|
|
11
62
|
content: [
|
|
12
|
-
{
|
|
63
|
+
{
|
|
64
|
+
type: 'prose',
|
|
65
|
+
text: "Install a theme, wrap in `<Theme>` (`import {Theme} from '@astryxdesign/core/theme'`). {@link generic:use-a-theme} for full guide.",
|
|
66
|
+
},
|
|
13
67
|
],
|
|
14
68
|
},
|
|
15
69
|
{
|
|
16
70
|
section: 'Create a custom theme',
|
|
17
71
|
title: 'Custom themes',
|
|
18
72
|
content: [
|
|
19
|
-
{
|
|
73
|
+
{
|
|
74
|
+
type: 'prose',
|
|
75
|
+
text: '`defineTheme` + token overrides + component overrides. {@link generic:author-a-theme} for full guide.',
|
|
76
|
+
},
|
|
20
77
|
null,
|
|
21
|
-
{
|
|
78
|
+
{
|
|
79
|
+
type: 'prose',
|
|
80
|
+
text: "new palette: `astryx theme palette generate palette.config.json --out palette.generated.ts` → review + commit module and receipt → `import {palette} from './palette.generated';` → map semantic tokens to stable stops such as `palette.neutral.light[100]` / `palette.neutral.dark[15]`. regeneration updates mapped roles; generation does not rewrite the theme.",
|
|
81
|
+
},
|
|
22
82
|
],
|
|
23
83
|
},
|
|
24
84
|
{
|
|
25
85
|
section: 'Icon sizes',
|
|
26
86
|
title: 'Icon sizes',
|
|
27
87
|
content: [
|
|
28
|
-
{
|
|
88
|
+
{
|
|
89
|
+
type: 'prose',
|
|
90
|
+
text: "theme sets each Icon size's glyph dimension: `width` + `height` on `components.icon['size:sm']` (or xsm/md/lg); semantic names + SVG components alike. px or rem only: a semantic icon takes its font size from the dimension, so em also grows its box. unstyled: xsm/sm/md/lg = 12/16/20/24px at 16px root, scale w/ root font size (rem keeps it). size names are fixed.",
|
|
91
|
+
},
|
|
29
92
|
null,
|
|
30
93
|
],
|
|
31
94
|
},
|
|
@@ -33,14 +96,20 @@ export const docsDense = {
|
|
|
33
96
|
section: 'Dark mode',
|
|
34
97
|
title: 'Dark mode',
|
|
35
98
|
content: [
|
|
36
|
-
{
|
|
99
|
+
{
|
|
100
|
+
type: 'prose',
|
|
101
|
+
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.",
|
|
102
|
+
},
|
|
37
103
|
],
|
|
38
104
|
},
|
|
39
105
|
{
|
|
40
106
|
section: 'Integration themes',
|
|
41
107
|
title: 'Integration themes',
|
|
42
108
|
content: [
|
|
43
|
-
{
|
|
109
|
+
{
|
|
110
|
+
type: 'prose',
|
|
111
|
+
text: 'Install integration. `astryx theme add` imports, and `theme eject` forks source. {@link generic:use-a-theme} for full guide.',
|
|
112
|
+
},
|
|
44
113
|
],
|
|
45
114
|
},
|
|
46
115
|
],
|
|
@@ -6,11 +6,75 @@ export const docs = {
|
|
|
6
6
|
name: 'theme',
|
|
7
7
|
title: 'Theming',
|
|
8
8
|
category: 'guide',
|
|
9
|
-
keywords: [
|
|
9
|
+
keywords: [
|
|
10
|
+
'theme',
|
|
11
|
+
'theming',
|
|
12
|
+
'theme system',
|
|
13
|
+
'dark mode',
|
|
14
|
+
'defineTheme',
|
|
15
|
+
'provider',
|
|
16
|
+
'brand colors',
|
|
17
|
+
'brand theme',
|
|
18
|
+
'custom theme',
|
|
19
|
+
'create theme',
|
|
20
|
+
'make a theme',
|
|
21
|
+
'change theme colors',
|
|
22
|
+
'accent color',
|
|
23
|
+
],
|
|
10
24
|
description:
|
|
11
|
-
'
|
|
25
|
+
'How Astryx themes work: wrap your app in a theme, and create or change one (also to make the app denser or roomier, or to change one kind of part) with `astryx experimental theme editor new <name> --like neutral` (the first sections of this topic give the rest).',
|
|
12
26
|
|
|
13
27
|
sections: [
|
|
28
|
+
{
|
|
29
|
+
id: 'make-or-change',
|
|
30
|
+
title: 'Make or change a theme',
|
|
31
|
+
content: [
|
|
32
|
+
{
|
|
33
|
+
type: 'prose',
|
|
34
|
+
text: 'Use the experimental theme editor: `astryx experimental theme editor new <name> --like neutral`, then `editor set` / `editor how "<what you want>"`, and wire it with `astryx theme add <name>`.',
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
id: 'look-after-each-change',
|
|
40
|
+
title: 'Look after each change',
|
|
41
|
+
content: [
|
|
42
|
+
{
|
|
43
|
+
type: 'prose',
|
|
44
|
+
text: '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.',
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: 'denser-or-roomier',
|
|
50
|
+
title: 'A denser or roomier app',
|
|
51
|
+
content: [
|
|
52
|
+
{
|
|
53
|
+
type: 'prose',
|
|
54
|
+
text: '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.',
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
id: 'one-kind-of-part',
|
|
60
|
+
title: 'One kind of part',
|
|
61
|
+
content: [
|
|
62
|
+
{
|
|
63
|
+
type: 'prose',
|
|
64
|
+
text: '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.',
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
id: 'no-app-yet',
|
|
70
|
+
title: 'No app yet',
|
|
71
|
+
content: [
|
|
72
|
+
{
|
|
73
|
+
type: 'prose',
|
|
74
|
+
text: '`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.',
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
},
|
|
14
78
|
{
|
|
15
79
|
id: 'quick-start',
|
|
16
80
|
title: 'Wrap your app in a theme',
|
|
@@ -4,8 +4,58 @@
|
|
|
4
4
|
|
|
5
5
|
export const docsZh = {
|
|
6
6
|
description:
|
|
7
|
-
'
|
|
7
|
+
'Astryx 主题的工作方式:用主题包裹应用,并用 `astryx experimental theme editor new <name> --like neutral` 创建或修改主题(让应用更紧凑或更宽松、修改某一类部件,也用它;其余步骤见本主题最前面的几节)。',
|
|
8
8
|
sections: [
|
|
9
|
+
{
|
|
10
|
+
section: 'Make or change a theme',
|
|
11
|
+
title: '创建或修改主题',
|
|
12
|
+
content: [
|
|
13
|
+
{
|
|
14
|
+
type: 'prose',
|
|
15
|
+
text: '请使用实验性主题编辑器:`astryx experimental theme editor new <name> --like neutral`,然后使用 `editor set` / `editor how "<你想要的效果>"`,并用 `astryx theme add <name>` 接入应用。',
|
|
16
|
+
},
|
|
17
|
+
],
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
section: 'Look after each change',
|
|
21
|
+
title: '每次修改后查看',
|
|
22
|
+
content: [
|
|
23
|
+
{
|
|
24
|
+
type: 'prose',
|
|
25
|
+
text: '每次修改后用 `astryx experimental theme editor show <name> --png` 查看(生成真实组件的图片,不改动应用):看过图片之前,主题修改不算完成。',
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
section: 'A denser or roomier app',
|
|
31
|
+
title: '更紧凑或更宽松的应用',
|
|
32
|
+
content: [
|
|
33
|
+
{
|
|
34
|
+
type: 'prose',
|
|
35
|
+
text: '更紧凑或更宽松的应用也是主题修改,而不是页面代码:`astryx experimental theme editor set <name> spacing tight`(或 `roomy`),然后再查看一次。',
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
section: 'One kind of part',
|
|
41
|
+
title: '某一类部件',
|
|
42
|
+
content: [
|
|
43
|
+
{
|
|
44
|
+
type: 'prose',
|
|
45
|
+
text: '修改某一类部件(侧边栏、它的选中项、表单中的间距)也是主题修改,而不是某个页面上的属性或样式:`astryx experimental theme editor how "<要求>"` 会给出对应的 `set … --on <part>` 命令。',
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
section: 'No app yet',
|
|
51
|
+
title: '还没有应用',
|
|
52
|
+
content: [
|
|
53
|
+
{
|
|
54
|
+
type: 'prose',
|
|
55
|
+
text: '`astryx experimental theme preview app <dir>` 会创建一个展示该主题的入门应用。如何使用和创建主题:请参阅"使用主题"了解如何应用主题,参阅"创作主题"了解如何创建和自定义主题。',
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
},
|
|
9
59
|
{
|
|
10
60
|
section: 'Wrap your app in a theme',
|
|
11
61
|
title: '为应用添加主题',
|
|
@@ -154,7 +154,7 @@ fix: Remove \`summary\`: SingleComponentDoc has no field \`summary\`.`,
|
|
|
154
154
|
{
|
|
155
155
|
type: 'code',
|
|
156
156
|
lang: 'text',
|
|
157
|
-
code: '
|
|
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',
|
|
@@ -30,9 +30,9 @@ export const docs = {
|
|
|
30
30
|
rows: [
|
|
31
31
|
[
|
|
32
32
|
'`{@command doctor integration validate}`',
|
|
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',
|
|
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}). A `next` note names each relative import of a module or stylesheet an app loads from the package, `@import` and `url()` included, that no file npm packs answers the way a bundler resolves it (`relative_import_not_shipped`); the next minor release makes it a warning, which fails `--strict`. 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
|
|
35
|
+
"The manifest has a key this CLI does not know (`unknown_manifest_key`) or a field it drops because it cannot use it, such as a `themeProvider` prop that names no prop (`ignored_manifest_field`), 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: `
|
|
103
|
-
|
|
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',
|
|
@@ -50,7 +50,7 @@ export default {
|
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
type: 'prose',
|
|
53
|
-
text: 'Keep the section short: how to install the package, run `theme add`, apply the generated module ({@link generic:use-a-theme-in-an-app}), and customize with `extends`. When the theme uses a custom font, name the families and the optional exported font stylesheet that `theme add` imports ({@link generic:fonts-and-assets}).
|
|
53
|
+
text: 'Keep the section short: how to install the package, run `theme add`, apply the generated module ({@link generic:use-a-theme-in-an-app}), and customize with `extends`. When the theme uses a custom font, name the families and the optional exported font stylesheet that `theme add` imports ({@link generic:fonts-and-assets}). Your section stays when another package the app installs replaces `theme`, in whatever order the app lists them, and the top of {@link generic:theme} names it.',
|
|
54
54
|
},
|
|
55
55
|
],
|
|
56
56
|
},
|
|
@@ -45,7 +45,7 @@ export const docs = {
|
|
|
45
45
|
content: [
|
|
46
46
|
{
|
|
47
47
|
type: 'prose',
|
|
48
|
-
text:
|
|
48
|
+
text: "Three font roles: body (UI text), heading (titles and headings), and code (monospace). By default, body and heading share the same system font stack; code uses a monospace stack. Custom themes can assign different families per role, and a heading with no family of its own uses the body's; the rest of the heading rule is in {@link generic:fonts-and-assets}.",
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
type: 'token-ref',
|
|
@@ -21,7 +21,7 @@ export const docs = {
|
|
|
21
21
|
content: [
|
|
22
22
|
{
|
|
23
23
|
type: 'prose',
|
|
24
|
-
text:
|
|
24
|
+
text: "A theme names its typefaces in `typography`: `body`, `heading`, and `code`, each with a `family` and `fallbacks`. These set the `--font-family-*` tokens every component reads. Always give real `fallbacks` so text stays readable before the font loads, or if it never does. A heading with no `family` takes the body's whole font list; with its own `family`, only its own `fallbacks`; `fallbacks` with no `family` build nothing.",
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
type: 'code',
|
|
@@ -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,11 +56,11 @@ 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',
|
|
60
|
-
text: 'What it cannot keep: anything that needs a browser while running. State, effects, click handlers and data loaded after the first paint are gone. Charts made with recharts are the exception: the render draws each chart and ResponsiveContainer a module of the page (not an installed package) imports from recharts by name (`import {LineChart} from \'recharts\'`), inside the page, so a custom tick, label or shape sees the page\'s React context. A chart sized by its container
|
|
63
|
+
text: 'What it cannot keep: anything that needs a browser while running. State, effects, click handlers and data loaded after the first paint are gone. Charts made with recharts are the exception: the render draws each chart and ResponsiveContainer a module of the page (not an installed package) imports from recharts by name (`import {LineChart} from \'recharts\'`), inside the page, so a custom tick, label or shape sees the page\'s React context. A chart sized by its container is drawn at a set of widths, and the file shows the drawing nearest the width the reader\'s browser gives it, with no script. The widths run from 60 pixels (a sparkline in a narrow table cell) to 1920 (a chart across a wide screen), each the square root of two times the one before, so the drawing shown scales by at most the fourth root of two (about 1.19) either way. The chart keeps the height the page gives it (a number, the width over `aspect`, or its share of the height that the box it fills states in its own style) and fits that box whole, so its text stays within a fifth of its own size. A box whose height comes from a stylesheet gives no height the render can read: the chart is drawn 300 pixels high and fits inside the box, scaled down in a shorter box (its text shrinks with it) and with empty space above and below in a taller one. Each such chart carries eleven drawings, so it takes several times the room in the file that one drawing takes. A legend keeps the place its props give it, in a chart of either kind. Charts show the data and props of the page\'s first render, before its effects run: when the page cannot be drawn again without a browser, or its effects change its charts or re-render the component that makes them, each chart is drawn by itself and its parts see React context defaults. A value a chart\'s parts read from a React context that an effect changes may still show its later value. A `chart-size` warning counts the charts the render cannot draw (one used through `import * as R`, say), and says when charts were drawn by themselves. Read browser-only values such as window inside an effect, or the render stops with ERR_RENDER_BROWSER_API.',
|
|
61
64
|
},
|
|
62
65
|
],
|
|
63
66
|
},
|
|
@@ -67,7 +70,7 @@ export const docs = {
|
|
|
67
70
|
content: [
|
|
68
71
|
{
|
|
69
72
|
type: 'prose',
|
|
70
|
-
text: 'Each warning names something that may look different from what you meant, and what to change. The most common is a component that ignores its children: `<ListItem>Save</ListItem>` renders an empty row because ListItem takes `label="Save"`. Others flag remote images (a sandboxed viewer cannot load them; save the image next to the page and import it), a `<script>`, `<link>` or `<iframe>` the page itself renders (the file promises to run and load nothing, so remove them), missing images, and output the page printed while rendering. A `node-crash` warning names a Node build that crashes in `Intl.Segmenter` (its version and path). The page rendered without it, so the output may differ slightly: initials and character counts (such as Avatar initials) can split a joined emoji, a flag, or a letter written with a separate accent mark. Names in ordinary composed letters (`José`, `Zoë`, `李小龙`) come out the same. Render with an official Node.js build to remove the difference.',
|
|
73
|
+
text: 'Each warning names something that may look different from what you meant, and what to change. The most common is a component that ignores its children: `<ListItem>Save</ListItem>` renders an empty row because ListItem takes `label="Save"`. Others flag remote images (a sandboxed viewer cannot load them; save the image next to the page and import it), a `<script>`, `<link>` or `<iframe>` the page itself renders (the file promises to run and load nothing, so remove them), missing images, and output the page printed while rendering. A `screen-query` warning names each media query the page asks in JavaScript (Core\'s `useMediaQuery`, or `matchMedia`): the file runs no script, so readers on every screen get the answer the page got on the server. Fold such a layout with CSS instead: `Grid` with `columns={{minWidth}}`, or a StyleX `@media` or `@container` style. A `node-crash` warning names a Node build that crashes in `Intl.Segmenter` (its version and path). The page rendered without it, so the output may differ slightly: initials and character counts (such as Avatar initials) can split a joined emoji, a flag, or a letter written with a separate accent mark. Names in ordinary composed letters (`José`, `Zoë`, `李小龙`) come out the same. Render with an official Node.js build to remove the difference.',
|
|
71
74
|
},
|
|
72
75
|
],
|
|
73
76
|
},
|
|
@@ -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
|
|
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
|
},
|