allyhub 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/commands/auth.js +4 -4
- package/dist/commands/cloud-tools.js +11 -11
- package/dist/commands/dev.js +2 -2
- package/dist/commands/frames/compare.js +2 -2
- package/dist/commands/frames/piece.js +1 -1
- package/dist/commands/frames/report.js +2 -0
- package/dist/commands/frames.js +11 -9
- package/dist/commands/index.js +1 -1
- package/dist/commands/inspect/common.js +4 -2
- package/dist/commands/inspect/facts.js +3 -3
- package/dist/commands/inspect/layout.js +1 -1
- package/dist/commands/orgs.js +2 -2
- package/dist/commands/render.js +2 -2
- package/dist/help.js +4 -4
- package/dist/main.js +8 -7
- package/dist/node_modules/@allyhub/3d-extension/dist/stage-routes.js +1 -1
- package/dist/node_modules/@allyhub/3d-extension/package.json +34 -2
- package/dist/node_modules/@allyhub/audio/package.json +1 -1
- package/dist/node_modules/@allyhub/browser/dist/emoji.d.ts +29 -0
- package/dist/node_modules/@allyhub/browser/dist/emoji.js +57 -0
- package/dist/node_modules/@allyhub/browser/dist/picture.d.ts +18 -0
- package/dist/node_modules/@allyhub/browser/dist/picture.js +2 -0
- package/dist/node_modules/@allyhub/browser/package.json +9 -1
- package/dist/node_modules/@allyhub/build/dist/index.d.ts +1 -0
- package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/kind-build.d.ts +7 -0
- package/dist/node_modules/@allyhub/build/dist/made-notes.d.ts +9 -0
- package/dist/node_modules/@allyhub/build/dist/made-notes.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/project-tool.d.ts +17 -0
- package/dist/node_modules/@allyhub/build/dist/stage-route.d.ts +7 -0
- package/dist/node_modules/@allyhub/build/package.json +1 -1
- package/dist/node_modules/@allyhub/canvas-extension/package.json +2 -1
- package/dist/node_modules/@allyhub/canvas-extension/skills/allyhub/references/canvas.md +4 -24
- package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
- package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +2 -2
- package/dist/node_modules/@allyhub/chart/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub/chart/package.json +1 -1
- package/dist/node_modules/@allyhub/check/package.json +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/client.d.ts +10 -0
- package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/config.d.ts +9 -0
- package/dist/node_modules/@allyhub/cloud/dist/config.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/credentials.d.ts +4 -4
- package/dist/node_modules/@allyhub/cloud/dist/credentials.js +2 -2
- package/dist/node_modules/@allyhub/cloud/dist/device.d.ts +12 -0
- package/dist/node_modules/@allyhub/cloud/dist/device.js +2 -0
- package/dist/node_modules/@allyhub/cloud/package.json +1 -1
- package/dist/node_modules/@allyhub/components/package.json +1 -1
- package/dist/node_modules/@allyhub/components/r/callout.json +1 -1
- package/dist/node_modules/@allyhub/components/src/callout.ts +98 -13
- package/dist/node_modules/@allyhub/dev-server/dist/exports.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/inputs.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/pages.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/ports.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/respond.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/reveal.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/routes.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
- package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/watcher.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
- package/dist/node_modules/@allyhub/diagnostics/dist/problem.d.ts +7 -0
- package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
- package/dist/node_modules/@allyhub/doc/dist/captions.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/docx.js +4 -4
- package/dist/node_modules/@allyhub/doc/dist/html.js +51 -92
- package/dist/node_modules/@allyhub/doc/dist/model.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/page.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/table.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/write.js +22 -22
- package/dist/node_modules/@allyhub/doc/package.json +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/package.json +19 -6
- package/dist/node_modules/@allyhub/doc-print/dist/pages.js +5 -5
- package/dist/node_modules/@allyhub/doc-print/dist/print.js +10 -10
- package/dist/node_modules/@allyhub/doc-print/package.json +1 -1
- package/dist/node_modules/@allyhub/export/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/export/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-host/dist/points.js +1 -1
- package/dist/node_modules/@allyhub/extension-host/package.json +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +87 -1
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +89 -0
- package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/note-shape.d.ts +20 -0
- package/dist/node_modules/@allyhub/formats/dist/note-shape.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +50 -0
- package/dist/node_modules/@allyhub/formats/package.json +1 -1
- package/dist/node_modules/@allyhub/i18n/package.json +1 -1
- package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
- package/dist/node_modules/@allyhub/image-extension/dist/export.js +4 -1
- package/dist/node_modules/@allyhub/image-extension/package.json +16 -6
- package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +7 -39
- package/dist/node_modules/@allyhub/image-measure/package.json +1 -1
- package/dist/node_modules/@allyhub/image-psd/package.json +1 -1
- package/dist/node_modules/@allyhub/image-render/package.json +1 -1
- package/dist/node_modules/@allyhub/image-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/image-sdk/package.json +1 -1
- package/dist/node_modules/@allyhub/jobs/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/article-build.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/article-kind.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/build.js +5 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/media.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/stage-module.js +82 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-extension/package.json +287 -0
- package/dist/node_modules/@allyhub/linkedin-extension/skills/allyhub/references/linkedin.md +12 -0
- package/dist/node_modules/@allyhub/linkedin-model/LICENSE +241 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/article-check.js +5 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/article.js +3 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/check.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/count.js +3 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/edit.js +3 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/html.js +19 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/limits.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/little.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/post.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/requests.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-model/package.json +14 -0
- package/dist/node_modules/@allyhub/linkedin-view/LICENSE +241 -0
- package/dist/node_modules/@allyhub/linkedin-view/dist/article.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-view/dist/fold.js +3 -0
- package/dist/node_modules/@allyhub/linkedin-view/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-view/dist/post.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-view/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-view/dist/text.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-view/package.json +21 -0
- package/dist/node_modules/@allyhub/linkedin-view/src/style.css +600 -0
- package/dist/node_modules/@allyhub/measure/package.json +1 -1
- package/dist/node_modules/@allyhub/media/package.json +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/package.json +7 -4
- package/dist/node_modules/@allyhub/model/package.json +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
- package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +2 -0
- package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +16 -0
- package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +1 -1
- package/dist/node_modules/@allyhub/piece/dist/page/index.js +1 -1
- package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +14 -1
- package/dist/node_modules/@allyhub/piece/dist/page/locate.js +1 -1
- package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +18 -0
- package/dist/node_modules/@allyhub/piece/package.json +1 -1
- package/dist/node_modules/@allyhub/project/dist/version.js +1 -1
- package/dist/node_modules/@allyhub/project/package.json +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +140 -0
- package/dist/node_modules/@allyhub/protocol/dist/account.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/auth.d.ts +19 -1
- package/dist/node_modules/@allyhub/protocol/dist/auth.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +157 -0
- package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +10 -2
- package/dist/node_modules/@allyhub/protocol/dist/editor.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +101 -186
- package/dist/node_modules/@allyhub/protocol/dist/frame.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +1 -0
- package/dist/node_modules/@allyhub/protocol/dist/mail.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +92 -94
- package/dist/node_modules/@allyhub/protocol/dist/notes.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +17 -0
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/teams.d.ts +7 -0
- package/dist/node_modules/@allyhub/protocol/dist/teams.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +15 -3
- package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/protocol/package.json +1 -1
- package/dist/node_modules/@allyhub/registry/package.json +1 -1
- package/dist/node_modules/@allyhub/render/dist/encode.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/look.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/render.js +2 -2
- package/dist/node_modules/@allyhub/render/package.json +1 -1
- package/dist/node_modules/@allyhub/report-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/report-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/check.js +3 -0
- package/dist/node_modules/@allyhub/report-extension/dist/cli/find.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/cli/index.js +5 -0
- package/dist/node_modules/@allyhub/report-extension/dist/cli/picture.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/inline.js +58 -0
- package/dist/node_modules/@allyhub/report-extension/dist/page.js +21 -0
- package/dist/node_modules/@allyhub/report-extension/dist/project-tools.js +21 -0
- package/dist/node_modules/@allyhub/report-extension/dist/styles.js +5 -0
- package/dist/node_modules/@allyhub/report-extension/dist/theme.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/package.json +182 -0
- package/dist/node_modules/@allyhub/report-extension/styles/allyhub/STYLE.md +132 -0
- package/dist/node_modules/@allyhub/report-extension/styles/allyhub/style.css +105 -0
- package/dist/node_modules/@allyhub/report-extension/styles/allyhub/style.json +17 -0
- package/dist/node_modules/@allyhub/report-extension/styles/allyhub/tokens.js +38 -0
- package/dist/node_modules/@allyhub/runtime/dist/compose.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/embed.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/player/clips.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/player/player.js +1 -1
- package/dist/node_modules/@allyhub/runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
- package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery/dist/index.d.ts +2 -2
- package/dist/node_modules/@allyhub/scenery/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/scenery/dist/moire.d.ts +45 -5
- package/dist/node_modules/@allyhub/scenery/dist/moire.js +2 -2
- package/dist/node_modules/@allyhub/scenery/dist/phone.d.ts +4 -3
- package/dist/node_modules/@allyhub/scenery/dist/phone.js +1 -1
- package/dist/node_modules/@allyhub/scenery/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/grade.d.ts +7 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/grade.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.d.ts +4 -3
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.d.ts +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/facts.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/page/screens.d.ts +8 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/page/screens.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/viewer.d.ts +6 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/viewer.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/coerce.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/engine.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/criteria.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/date.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/define.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/info.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/kernels.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/lookup.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/maths.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/text.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/indexes.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/types.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/export.js +2 -4
- package/dist/node_modules/@allyhub/sheet/dist/formula/move.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/formula/parse.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/formula/print.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/inspect.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/printed.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/values.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/write.js +15 -15
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/formula.js +2 -2
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +2 -2
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/sax.js +3 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/xml.js +3 -2
- package/dist/node_modules/@allyhub/sheet/package.json +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +2 -6
- package/dist/node_modules/@allyhub/sheet-extension/package.json +24 -9
- package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
- package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/enums.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/measure.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/sdk.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-extension/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/slides-extension/package.json +22 -16
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/common.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/text.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/text.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/xml.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
- package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +5 -5
- package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/stage/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400-italic.css +19 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400.css +19 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700-italic.css +19 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700.css +19 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/cambria.css +76 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400-italic.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700-italic.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/courier-new.css +316 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400-italic.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700-italic.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/times-new-roman.css +316 -0
- package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/install.js +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.html +3 -0
- package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.js +1 -1
- package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +18 -18
- package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/schema.js +1 -1
- package/dist/node_modules/@allyhub/video-core/package.json +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/video-extension/package.json +17 -4
- package/dist/node_modules/@allyhub/video-measure/dist/version.js +1 -1
- package/dist/node_modules/@allyhub/video-measure/package.json +1 -1
- package/dist/node_modules/@allyhub/video-sdk/dist/phone.js +1 -1
- package/dist/node_modules/@allyhub/video-sdk/package.json +1 -1
- package/dist/node_modules/@allyhub/website/package.json +1 -1
- package/dist/node_modules/@allyhub/website-extension/dist/held.js +2 -0
- package/dist/node_modules/@allyhub/website-extension/dist/preview.js +5 -5
- package/dist/node_modules/@allyhub/website-extension/dist/project-tools.js +24 -1
- package/dist/node_modules/@allyhub/website-extension/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/website-extension/package.json +49 -2
- package/dist/node_modules/@allyhub/x-extension/dist/build.js +4 -3
- package/dist/node_modules/@allyhub/x-extension/package.json +43 -15
- package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +7 -62
- package/dist/node_modules/@allyhub/x-model/package.json +1 -1
- package/dist/node_modules/@allyhub/x-view/dist/article.js +1 -1
- package/dist/node_modules/@allyhub/x-view/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/x-view/dist/post.js +2 -2
- package/dist/node_modules/@allyhub/x-view/package.json +1 -1
- package/dist/package.json +12 -10
- package/dist/text/facts-text.js +5 -5
- package/dist/text/index.js +1 -1
- package/dist/text/long-text.js +4 -0
- package/dist/works.js +1 -1
- package/editor-web/assets/{abnfDiagram-WEYOIA3C-CN5PiJYY.js → abnfDiagram-WEYOIA3C-BKmMA6gn.js} +1 -1
- package/editor-web/assets/{architecture-WOLXFQ4H-BnvZtQYk.js → architecture-WOLXFQ4H-BEFBgb4k.js} +1 -1
- package/editor-web/assets/{architectureDiagram-ZHVYKT53-tkcEcFQ8.js → architectureDiagram-ZHVYKT53-_u5YfCjY.js} +1 -1
- package/editor-web/assets/{arrow-up-DTP2yVSU.js → arrow-up-B5rJbBv0.js} +1 -1
- package/editor-web/assets/article-BUmD3xtR.js +8 -0
- package/editor-web/assets/article-DNioBb3p.js +7 -0
- package/editor-web/assets/{audio-lines-Ti8-m7H2.js → audio-lines-CzuzsGjI.js} +1 -1
- package/editor-web/assets/{blockDiagram-RJAE7QA3-DhqEIpie.js → blockDiagram-RJAE7QA3-DybfaO3Z.js} +1 -1
- package/editor-web/assets/bookmark-Dsd3kHJJ.js +1 -0
- package/editor-web/assets/button-eGxLxbv9.js +41 -0
- package/editor-web/assets/{c4Diagram-XDPPPE54-Bg9G95tl.js → c4Diagram-XDPPPE54-BfqLHB5i.js} +1 -1
- package/editor-web/assets/calc-worker-D2pGis6e.js +45 -0
- package/editor-web/assets/channel-TNPgFDrw.js +1 -0
- package/editor-web/assets/chart-C37xvZT2.js +1 -0
- package/editor-web/assets/chart-no-axes-column-BVkeF_Mr.js +1 -0
- package/editor-web/assets/{chunk-2E7WHVMD-C8Ve9lAa.js → chunk-2E7WHVMD-BVp1I_d0.js} +1 -1
- package/editor-web/assets/{chunk-4EMNKR2T-BDWwPUnT.js → chunk-4EMNKR2T-CTdgWEMr.js} +1 -1
- package/editor-web/assets/{chunk-55XCU76K-BQiNPKgx.js → chunk-55XCU76K-7pnsxeaP.js} +1 -1
- package/editor-web/assets/{chunk-7S6XSTFO-QoEt-6jf.js → chunk-7S6XSTFO-Dc0Dvkq7.js} +1 -1
- package/editor-web/assets/{chunk-AQDTSKZB-BeuwIv0-.js → chunk-AQDTSKZB-VAILIsfx.js} +1 -1
- package/editor-web/assets/{chunk-DSNLSHJZ-BHW7sLAz.js → chunk-DSNLSHJZ-CUDx1Rv5.js} +1 -1
- package/editor-web/assets/{chunk-HAGFOTED-bbGED0hu.js → chunk-HAGFOTED-DAoEe-dJ.js} +1 -1
- package/editor-web/assets/{chunk-HNE4Q36P-FltWp8yo.js → chunk-HNE4Q36P-g0akya12.js} +1 -1
- package/editor-web/assets/{chunk-NQOKRVIF-NeQzr6kH.js → chunk-NQOKRVIF-hTGjzXdJ.js} +1 -1
- package/editor-web/assets/{chunk-UHW7PFBP-eA4-WUhn.js → chunk-UHW7PFBP-BgLV8BIJ.js} +1 -1
- package/editor-web/assets/{chunk-VQ5W62QI-BPPv325z.js → chunk-VQ5W62QI-Bw19OOSD.js} +1 -1
- package/editor-web/assets/{chunk-WQQL4CDK-DOCIz7Te.js → chunk-WQQL4CDK-CMST9dyE.js} +1 -1
- package/editor-web/assets/{chunk-YZO67HFG-Dc_ihQJi.js → chunk-YZO67HFG-Bbpu36XF.js} +1 -1
- package/editor-web/assets/{chunk-ZAUX2LTX-CoqwCPSm.js → chunk-ZAUX2LTX-C48Ri0Gs.js} +1 -1
- package/editor-web/assets/{chunk-ZCHMQSOR-CZUQPkJx.js → chunk-ZCHMQSOR-DN1g01Oe.js} +1 -1
- package/editor-web/assets/{classDiagram-v2-4MYWR3UA-DUh9c50k.js → classDiagram-v2-4MYWR3UA-U6jbPr2d.js} +1 -1
- package/editor-web/assets/collaborator-B1u2td9m.js +1 -0
- package/editor-web/assets/createLucideIcon-GFZ_fxLc.js +1 -0
- package/editor-web/assets/{cynefin-EF2NZ3EQ-DUTZiog0.js → cynefin-EF2NZ3EQ-gzkai_7-.js} +1 -1
- package/editor-web/assets/{cynefinDiagram-WF24UDRP-oAjpfbrU.js → cynefinDiagram-WF24UDRP-DtSekSr6.js} +1 -1
- package/editor-web/assets/{dagre-NK4GIZVX-BrKvKCvb.js → dagre-NK4GIZVX-CiUwYVT6.js} +1 -1
- package/editor-web/assets/{diagram-CBK3MWTC-GekVRnmm.js → diagram-CBK3MWTC-r9XHCV-k.js} +1 -1
- package/editor-web/assets/{diagram-I5XIIV2D-CDd1VFRT.js → diagram-I5XIIV2D-DxVsDZ34.js} +1 -1
- package/editor-web/assets/{diagram-ODIL2UCW-535RISTn.js → diagram-ODIL2UCW-B0eNQoHV.js} +1 -1
- package/editor-web/assets/{diagram-PFBEJUXE-MXzzKCGG.js → diagram-PFBEJUXE-C7f2MfJT.js} +1 -1
- package/editor-web/assets/{diagram-RJA3I4VV-vKVwkQxY.js → diagram-RJA3I4VV-CSXcnvct.js} +1 -1
- package/editor-web/assets/{diagram-TYUNFSNR-UwGAiQLx.js → diagram-TYUNFSNR-DXzOD_ii.js} +1 -1
- package/editor-web/assets/dist-BGRwhCQO.js +1 -0
- package/editor-web/assets/{dist-9ymlIMhr.js → dist-BW4X7BrF.js} +1 -1
- package/editor-web/assets/dist-BgDRE85b.js +2 -0
- package/editor-web/assets/dist-Blq5nJnU.js +24 -0
- package/editor-web/assets/dist-BuWaZ3Y4.js +274 -0
- package/editor-web/assets/dist-C1emZ9wX.js +37 -0
- package/editor-web/assets/dist-CC7OeU1e.js +6 -0
- package/editor-web/assets/dist-CX-fiPSn.js +38 -0
- package/editor-web/assets/dist-C_VvG-_9.js +5 -0
- package/editor-web/assets/dist-Ce7HrBxv.js +3 -0
- package/editor-web/assets/dist-D2k6w-_a.js +1 -0
- package/editor-web/assets/dist-DDv_SbKw.js +84 -0
- package/editor-web/assets/dist-DEoEO4zs.js +1 -0
- package/editor-web/assets/dist-DlDxxPIP.js +16 -0
- package/editor-web/assets/dist-Gz6NDS0J.js +4 -0
- package/editor-web/assets/{ebnfDiagram-V4P3TTPT-73yGokYa.js → ebnfDiagram-V4P3TTPT-Cs4YRvDD.js} +1 -1
- package/editor-web/assets/{elk-QONTBCTQ-BW6V9y6a.js → elk-QONTBCTQ-Bh3LZ9WI.js} +1 -1
- package/editor-web/assets/{erDiagram-KYQIGQAA-BPqIJ22h.js → erDiagram-KYQIGQAA-C4vYTYXp.js} +1 -1
- package/editor-web/assets/{eventmodeling-K75KTNOO-_VZ8jvuy.js → eventmodeling-K75KTNOO-BN1kkHWS.js} +1 -1
- package/editor-web/assets/flowDiagram-IUGLLWBU-B04NGsyi.js +1 -0
- package/editor-web/assets/{ganttDiagram-R7GPNTJY-DZ157JN2.js → ganttDiagram-R7GPNTJY-CA1LkkC5.js} +1 -1
- package/editor-web/assets/{gitGraph-VSP46ZUC-fmcNL9bq.js → gitGraph-VSP46ZUC-Dy5tA7dG.js} +1 -1
- package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-DiZDyksR.js → gitGraphDiagram-PDYL7XHY-hJIB8EkH.js} +1 -1
- package/editor-web/assets/hint-B8JpEypy.js +1 -0
- package/editor-web/assets/index-CgB5osVc.js +28 -0
- package/editor-web/assets/index-Daytem9N.css +2 -0
- package/editor-web/assets/{info-OHQRW6UA-V06620kN.js → info-OHQRW6UA-DvzSf7rQ.js} +1 -1
- package/editor-web/assets/{infoDiagram-MVDRKAX5-CbIgheWX.js → infoDiagram-MVDRKAX5-BjIMm4Af.js} +1 -1
- package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-D5oJQPkG.js → ishikawaDiagram-HPEHV2GE-Bpz71S40.js} +1 -1
- package/editor-web/assets/{italic-CDhZKo_q.js → italic-D10w8n6C.js} +1 -1
- package/editor-web/assets/{journeyDiagram-BOSHW7O7-BZEv6JI4.js → journeyDiagram-BOSHW7O7-DAB-pZjD.js} +1 -1
- package/editor-web/assets/{kanban-definition-FNSA4HC5-CLG1R8y_.js → kanban-definition-FNSA4HC5-cYeyh3P6.js} +1 -1
- package/editor-web/assets/katex-5Z2zF-9g.js +257 -0
- package/editor-web/assets/link-BC5xK1-1.js +1 -0
- package/editor-web/assets/{mermaid-parser.core-DxDwXM7z.js → mermaid-parser.core-req5LE0X.js} +3 -3
- package/editor-web/assets/{mermaid.core-tU55ZwVG.js → mermaid.core-zFwZug4C.js} +4 -4
- package/editor-web/assets/{mindmap-definition-6OY57UG3-CYf4zzAh.js → mindmap-definition-6OY57UG3-TStWb7DG.js} +1 -1
- package/editor-web/assets/minus-DaWs5i8B.js +1 -0
- package/editor-web/assets/{packet-JDAUHWVQ-DsHeKYNL.js → packet-JDAUHWVQ-smFhVKcB.js} +1 -1
- package/editor-web/assets/palette-BIOudGkm.js +1 -0
- package/editor-web/assets/{pegDiagram-ECIUJNBX-CQyh6TTa.js → pegDiagram-ECIUJNBX-DvSNRv0-.js} +1 -1
- package/editor-web/assets/{pie-XZMESJXO-3vCIvpNB.js → pie-XZMESJXO-qjaGsBZG.js} +1 -1
- package/editor-web/assets/{pieDiagram-GNMPY74T-DF5yGBLn.js → pieDiagram-GNMPY74T-Dd9P-Pdc.js} +1 -1
- package/editor-web/assets/play-CrMmPghG.js +1 -0
- package/editor-web/assets/progress-DE4C5_3x.js +6 -0
- package/editor-web/assets/props-form-CsmDBqzy.js +1 -0
- package/editor-web/assets/{quadrantDiagram-D57K4MC3-B7pxlDYP.js → quadrantDiagram-D57K4MC3-h2IIKUUA.js} +1 -1
- package/editor-web/assets/{radar-ABXABTNO-cpEA41mL.js → radar-ABXABTNO-DlVrSA1d.js} +1 -1
- package/editor-web/assets/{railroad-I3PHUGI6-BLyy5R2c.js → railroad-I3PHUGI6-nFbuLAtc.js} +1 -1
- package/editor-web/assets/{railroad-abnf-LNEFI6M7-Y-oyol19.js → railroad-abnf-LNEFI6M7-Daj8h2iV.js} +1 -1
- package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-o58wHZsr.js → railroad-ebnf-DWYD2UWJ-eYJyl5PH.js} +1 -1
- package/editor-web/assets/{railroad-peg-JR7BVNR7-CcD3PXZ8.js → railroad-peg-JR7BVNR7-BTRhKZQq.js} +1 -1
- package/editor-web/assets/{railroadDiagram-Y72NRBL7-BuCC4eyy.js → railroadDiagram-Y72NRBL7-CeLGUjdp.js} +1 -1
- package/editor-web/assets/react-WA6wlt8S.js +1 -0
- package/editor-web/assets/{repeat-2-C5PCbNsg.js → repeat-2-VQP1EVOZ.js} +1 -1
- package/editor-web/assets/{requirementDiagram-EQYSW5RA-Dp-JFGn4.js → requirementDiagram-EQYSW5RA-Dmk9XRM5.js} +1 -1
- package/editor-web/assets/row-BRlEWRrK.js +1 -0
- package/editor-web/assets/{sankeyDiagram-SY24JHO5-rYuCqEvw.js → sankeyDiagram-SY24JHO5-Yn4zlrAM.js} +1 -1
- package/editor-web/assets/schemas-VikZYZIK.js +1 -0
- package/editor-web/assets/{sequenceDiagram-BLEHNHQU-DryW8x6d.js → sequenceDiagram-BLEHNHQU-BTRnp_PW.js} +1 -1
- package/editor-web/assets/session-Do9AqS38.js +1 -0
- package/editor-web/assets/slides-diTEQ3C5.js +1 -0
- package/editor-web/assets/snapshots-BUGlKQIB.js +56 -0
- package/editor-web/assets/sound-Bj3o9_Fa.js +1 -0
- package/editor-web/assets/split-CNU1RHcX.js +3 -0
- package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-Bnp0XfpT.js → stateDiagram-v2-A6IESKWZ-kstrRKv2.js} +1 -1
- package/editor-web/assets/{strikethrough-DJckA35o.js → strikethrough-CfXx6IYH.js} +1 -1
- package/editor-web/assets/{svg-BjM9RazX.js → svg-Cx50MpxK.js} +1 -1
- package/editor-web/assets/swatch-WeJD41aW.js +1 -0
- package/editor-web/assets/{swimlanes-B3ENRKFQ-BiRRhhbd.js → swimlanes-B3ENRKFQ-DaZsZkeP.js} +1 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-CBZAujYY.js +8 -0
- package/editor-web/assets/switch-N0G_sbqt.js +1 -0
- package/editor-web/assets/syntax-BVsgRJ4I.js +66 -0
- package/editor-web/assets/syntax-oWsKBWFw.js +1 -0
- package/editor-web/assets/table-B6hVZAMi.js +1 -0
- package/editor-web/assets/tabs-DIFDqj-l.js +1 -0
- package/editor-web/assets/{textarea-BGtPqZdB.js → textarea-tEWvBY9p.js} +1 -1
- package/editor-web/assets/{timeline-definition-JXYKGLGB-D-Q5ZtDF.js → timeline-definition-JXYKGLGB-CLCvY-Yf.js} +1 -1
- package/editor-web/assets/{trash-2-Bjj6cWzP.js → trash-2-BP6nqpg2.js} +1 -1
- package/editor-web/assets/{treeView-D4JQ5SDB-B6DDatXq.js → treeView-D4JQ5SDB-BmN0gwdC.js} +1 -1
- package/editor-web/assets/{treemap-SAJKECNS-D7j5ZhiI.js → treemap-SAJKECNS-DN29G_E_.js} +1 -1
- package/editor-web/assets/{undo-2-yOSG766T.js → undo-2-CHR0nvWL.js} +1 -1
- package/editor-web/assets/{usecaseDiagram-WPOLBNNX-tkrdKUJB.js → usecaseDiagram-WPOLBNNX-DTRS54cB.js} +1 -1
- package/editor-web/assets/{vennDiagram-Q3Y3IDCW-Ch4XbSnD.js → vennDiagram-Q3Y3IDCW-DAAc11Hx.js} +1 -1
- package/editor-web/assets/video-BlvmR8BK.js +1 -0
- package/editor-web/assets/{wardley-7MLQ67FV-Bynt7qNQ.js → wardley-7MLQ67FV-B-UYkmdB.js} +1 -1
- package/editor-web/assets/{wardleyDiagram-IVAIDKWA-DRuSgm_L.js → wardleyDiagram-IVAIDKWA-BmbwCaky.js} +1 -1
- package/editor-web/assets/words-D_4T9Adq.js +3 -0
- package/editor-web/assets/words-WgdEQdYP.js +2 -0
- package/editor-web/assets/{xychartDiagram-4URNHDU4-DctpvfkL.js → xychartDiagram-4URNHDU4-ChAfAq1U.js} +1 -1
- package/editor-web/index.html +6 -5
- package/package.json +8 -2
- package/editor-web/assets/alt-BOVao_9S.js +0 -4
- package/editor-web/assets/article-B6YCzhj8.js +0 -73
- package/editor-web/assets/calc-worker-B5-fDWnb.js +0 -45
- package/editor-web/assets/channel-C26aBI4o.js +0 -1
- package/editor-web/assets/chart-BOnxneyw.js +0 -1
- package/editor-web/assets/choice-O5nwc2N0.js +0 -1
- package/editor-web/assets/collaborator-BJU5qwHd.js +0 -1
- package/editor-web/assets/createLucideIcon-B3B95oX5.js +0 -1
- package/editor-web/assets/dist-C6NqUEG4.js +0 -16
- package/editor-web/assets/dist-C9UGmCG9.js +0 -6
- package/editor-web/assets/dist-CAk5bjBm.js +0 -1
- package/editor-web/assets/dist-CKyfo5RM.js +0 -340
- package/editor-web/assets/dist-CRaWqNwq.js +0 -37
- package/editor-web/assets/dist-CwIBc7HQ.js +0 -1
- package/editor-web/assets/dist-DXRmkezB.js +0 -38
- package/editor-web/assets/dist-EKK5i0dG.js +0 -219
- package/editor-web/assets/dist-hHJlpLWo.js +0 -5
- package/editor-web/assets/dist-oYKcwWUj.js +0 -4
- package/editor-web/assets/dist-shKo7XVN.js +0 -2
- package/editor-web/assets/dist-wrKxBrVu.js +0 -24
- package/editor-web/assets/flowDiagram-IUGLLWBU-ouDQYiTr.js +0 -1
- package/editor-web/assets/hint-_AQWCDMj.js +0 -1
- package/editor-web/assets/index-BsstP-cI.js +0 -28
- package/editor-web/assets/index-DQRcmxBO.css +0 -2
- package/editor-web/assets/minus-Cgmm6ncD.js +0 -1
- package/editor-web/assets/progress-0B_TVsPi.js +0 -6
- package/editor-web/assets/react-BP46yLMB.js +0 -1
- package/editor-web/assets/react-pgBZqVxJ.js +0 -96
- package/editor-web/assets/schemas-Ewwjtbf4.js +0 -1
- package/editor-web/assets/session-DiI9KYRI.js +0 -1
- package/editor-web/assets/slides-CCwgBcGH.js +0 -1
- package/editor-web/assets/sound-CqryteNl.js +0 -1
- package/editor-web/assets/swatch-DL3HqIjW.js +0 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-BkOls8Tv.js +0 -8
- package/editor-web/assets/switch-DltnKqN-.js +0 -1
- package/editor-web/assets/syntax-CC6QYhCz.js +0 -1
- package/editor-web/assets/tabs-C-re0Kxn.js +0 -1
- package/editor-web/assets/video-DXFiCNGc.js +0 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{problem as p}from"@allyhub/diagnostics";const T=3e3;export async function systemFaces(n){const s=n.session;await s.send("DOM.enable"),await s.send("CSS.enable");const{root:f}=await s.send("DOM.getDocument",{depth:-1}),r=new Set(["SCRIPT","STYLE","NOSCRIPT","TEMPLATE","HEAD"]),o=[],c=e=>{if(o.length>=T||r.has(e.nodeName))return;const i=(e.children??[]).filter(a=>a.nodeType===3).map(a=>a.nodeValue).join("").trim();e.nodeType===1&&i!==""&&o.push({node:e,text:i});for(const a of e.children??[])c(a)};c(f);const t=new Map;for(const{node:e,text:i}of o){const a=await s.send("CSS.getPlatformFontsForNode",{nodeId:e.nodeId}).catch(()=>{});for(const l of a?.fonts??[]){if(l.isCustomFont)continue;const d=t.get(l.familyName),u=e.attributes??[],m=S=>{const h=u.indexOf(S);return h>=0&&h%2===0?u[h+1]:void 0},$=m("id"),w=m("class")?.trim().split(/\s+/u)[0],g=`${e.localName}${$?`#${$}`:w?`.${w}`:""}`,y=i.replace(/\s+/gu," ").slice(0,40);t.set(l.familyName,{family:l.familyName,glyphs:(d?.glyphs??0)+l.glyphCount,sample:d?.sample??`${g} "${y}"`})}}return[...t.values()].sort((e,i)=>i.glyphs-e.glyphs)}export function reportProblems(n,s,f){const r={where:{file:n}},o=[],c=new Set;for(const t of s.missing)c.has(t.path)||(c.add(t.path),o.push(p("AK-A001",`${n} asks for ${t.path}, which is not in the project (${String(t.status)}).`,r)));for(const t of new Set(s.outside))o.push(p("AK-N003",`${n} asks for ${t}, outside the project: a report is drawn offline, from its project's files alone. Put the file in the project (a package installed, or a file beside the report) and name it by its path.`,r));for(const t of s.thrown)o.push(p("AK-R001",`${n}: ${t.text.split(`
|
|
3
|
+
`)[0]??t.text}${t.url?` (${t.url.replace(/^https?:\/\/[^/]+\//u,"")}:${String(t.line)})`:""}.`,{where:{file:n,...t.url?{}:{line:t.line}}}));s.unsettled!==void 0&&o.push(p("AK-P004",`${n}: ${s.unsettled}`,r));for(const t of f)o.push(p("AK-L006",`${n} draws ${String(t.glyphs)} glyph${t.glyphs===1?"":"s"} in ${t.family}, a face of this computer and no file of the project (${t.sample}): another computer draws them in its own. Load a face for that text as a file (@font-face).`,r));return o}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{stat as d}from"node:fs/promises";import{join as a,relative as m,resolve as c,sep as l}from"node:path";import{readWork as u}from"@allyhub/build";import{itemIdOf as k,listedWork as h}from"@allyhub/formats";import{HTML as x}from"../build.js";export{reportPicture}from"./picture.js";export{REPORT_DEFAULTS}from"../page.js";export async function findReport(t,p,i){const r=c(p,i),o=m(t,r).split(l).join("/"),n=h((await u(t)).work);if(x.test(r)&&(await d(r).catch(()=>{}))?.isFile())return n.some(e=>e.file===o&&e.kind==="report")?r:void 0;const s=new Set([o,i.replace(/^\.\//u,"").replace(/\/+$/u,"")]),f=n.find(e=>e.kind==="report"&&s.has(k(e.file)));return f===void 0?void 0:a(t,f.file)}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{readFile as b}from"node:fs/promises";import{join as f,relative as w}from"node:path";import{z as r}from"zod";import{PROJECT_DIR as $,defineCliCommand as l}from"@allyhub/build";import{CommandError as m,EXIT as h}from"@allyhub/protocol";import{SHARED_DIR as y,StyleError as j,reportStyle as c,reportStyles as d,useReportStyle as g}from"../styles.js";import{findReport as S}from"./find.js";const u=async t=>new m("not-found",`AllyHub brings no report style ${t}.`,{exit:h.notFound,hint:`The report styles: ${(await d()).map(e=>e.name).join(", ")} (allyhub report style list).`}),x=l({input:r.strictObject({}),output:r.looseObject({}),examples:["allyhub report style list"],async run(){const t=(await d()).map(e=>({name:e.name,about:e.about,themes:e.themes}));return{value:{styles:t},text:t.map(e=>`${e.name} ${e.about}
|
|
3
|
+
themes: ${e.themes.join(", ")}`).join(`
|
|
4
|
+
`)}}}),T=l({input:r.strictObject({name:r.string().describe("The report style (allyhub report style list)")}),positional:["name"],output:r.looseObject({}),examples:["allyhub report style show allyhub"],async run(t){const e=await c(t.name);if(!e)throw await u(t.name);const a=await b(f(e.dir,"STYLE.md"),"utf8");return{value:{name:e.name,themes:e.themes,style:a},text:a.trimEnd()}}}),v=l({input:r.strictObject({report:r.string().describe("The report, by its file or its id in allyhub.yaml"),name:r.string().describe("The report style (allyhub report style list)"),force:r.boolean().default(!1).describe("Write style.css and tokens.js again over the report's own; its other files are kept"),dir:$}),positional:["report","name"],output:r.looseObject({}),examples:["allyhub report style use research/channels/channels allyhub","allyhub report style use q3/review.html allyhub --force"],about:{lines:[`Its faces and libraries are copied once into the project's ${y}/<style>/, which every report in it shares; style.css and tokens.js go in the report's style/ folder. Choose a theme on the page: <html data-theme="moss">.`]},async run(t,e){const a=await e.root(t.dir),p=await S(a,e.cwd,t.report);if(p===void 0)throw new m("not-found",`${t.report} is not a report.`,{exit:h.notFound,hint:"Name a report by its file or its id in allyhub.yaml (kind: report)."});const o=await c(t.name);if(!o)throw await u(t.name);const i=w(a,p).split("\\").join("/");let s;try{s=await g(a,i,o,{force:t.force})}catch(n){throw n instanceof j?new m("exists",n.message,{exit:h.usage,hint:"Change it as the report needs, or write it again with --force."}):n}return{value:{report:i,...s,themes:o.themes},text:[`${i}: the ${o.name} report style, ${s.written.join(" and ")}${s.copied.length>0?`; ${String(s.copied.length)} file${s.copied.length===1?"":"s"} copied into ${y}/${o.name}/`:""}.`,"Link them in its <head>:",...s.links.map(n=>` ${n}`),`Themes, on <html data-theme="…">: ${o.themes.join(", ")}. Its words: allyhub report style show ${o.name}.`].join(`
|
|
5
|
+
`)}}}),E={"report style list":x,"report style show":T,"report style use":v};export default E;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{startBrowser as d}from"@allyhub/browser";import{blankImage as p,cropImage as u,pasteImage as w,readPng as h,writePng as f}from"@allyhub/measure";import{openReport as m,pageHeight as b,pagePicture as g}from"../page.js";const l=24,y=[200,200,200,255];export const BANDS={most:6,tall:1.6};export class ReportPictureError extends Error{code;constructor(i){super(i),this.name="ReportPictureError",this.code="no-element"}}function x(n,i){const t=h(n),e=Math.min(BANDS.most,Math.max(1,Math.ceil(t.height/(i*BANDS.tall))));if(e===1)return{png:n,bands:1};const o=Math.ceil(t.height/e),a=p(e*t.width+(e-1)*l,o,[...y]);for(let r=0;r<e;r++){const s=u(t,[0,r*o,t.width,o]);s&&w(a,s,r*(t.width+l),0)}return{png:f(a),bands:e}}export async function reportPicture(n){const i=await d();try{const t=await m(i,n.root,n.file,n);try{const e=t.page,o=await b(e);if(n.at!==void 0){const c=await e.evaluate(`(() => { const el = document.querySelector(${JSON.stringify(n.at)}); if (!el) return null; const r = el.getBoundingClientRect(); if (r.width === 0 || r.height === 0) return null; return { x: r.x + scrollX, y: r.y + scrollY, width: r.width, height: r.height }; })()`);if(!c)throw new ReportPictureError(`Nothing drawn on the page matches ${n.at}.`);return{...await g(e,c),pageHeight:o,bands:1,findings:t.findings()}}const a=await g(e),r=x(a.png,a.width),s=r.bands===1?a:h(r.png);return{png:r.png,width:s.width,height:s.height,pageHeight:o,bands:r.bands,findings:t.findings()}}finally{await t.close()}}finally{await i.close()}}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{mkdir as P,readFile as R,writeFile as w}from"node:fs/promises";import{dirname as k,join as F}from"node:path";import{startBrowser as E}from"@allyhub/browser";import{emojiPicturesScript as S}from"@allyhub/browser/emoji";import{InlineError as $,inlineReport as v}from"./inline.js";import{REPORT_DEFAULTS as T,openReport as x,pagePicture as B}from"./page.js";export const REPORT_TYPES=["html","pdf","png"],PAPERS={letter:{width:8.5,height:11},a4:{width:8.27,height:11.69}},RENDER_DEFAULTS={...T,paper:"letter",dark:!1};function d(t,r,i){const e=t[r],n=typeof e=="number"?e:typeof e=="string"?Number(e):NaN;return Number.isFinite(n)&&n>0?n:i}export function viewOf(t){const r=RENDER_DEFAULTS;return{width:d(t,"width",r.width),height:d(t,"height",r.height),scale:d(t,"scale",r.scale),timeout:d(t,"timeout",r.timeout),network:d(t,"network",r.network),quiet:d(t,"quiet",r.quiet),dark:t.dark===!0||t.dark==="true"}}const y=t=>`${(t/1e6).toFixed(1)} MB`,m=(t,r,i)=>({type:t,failure:{code:"report-not-made",message:r,...i===void 0?{}:{hint:i}}});export async function renderReportFiles(t,r){if(r.types.length===0)return[];const{root:i,log:e,types:n,params:u}=r,g=viewOf(u);e?.(`Rendering ${t.entry}…`);const p=[];let l;try{l=await E();let o=0;for(const c of n){if(r.signal?.aborted)break;const s=r.out(c);await P(k(s),{recursive:!0});const f=await L(l,i,t,c,s,g,u,e);p.push(f),r.onProgress?.(++o/n.length)}}finally{await l?.close()}return p}async function L(t,r,i,e,n,u,g,p){const l=e==="pdf",o=await x(t,r,i.entry,{...u,print:l},{keep:e==="html"});try{const c=o.findings();if(c.unsettled!==void 0)return m(e,`${i.entry}: ${c.unsettled}`,"allyhub check names what kept it.");if(e==="html"){const s=await R(F(r,i.entry),"utf8");let f;try{f=v(s,o.url,o.loaded)}catch(a){if(a instanceof $)return m(e,a.message);throw a}await w(n,f);const h=[...o.loaded.values()].filter(a=>a.type==="Font").reduce((a,b)=>a+Math.ceil(b.body.length/3)*4,0);return p?.(`${i.entry}: the HTML file is ${y(Buffer.byteLength(f))}, ${y(h)} of it the ${String([...o.loaded.values()].filter(a=>a.type==="Font").length)} font files the page loaded.`),{type:e,files:[n]}}if(e==="pdf"){await o.page.evaluate(S());const s=g.paper,f=typeof s=="string"?s.toLowerCase():RENDER_DEFAULTS.paper,h=f in PAPERS?PAPERS[f]:PAPERS[RENDER_DEFAULTS.paper],a=await o.page.session.send("Page.printToPDF",{printBackground:!0,preferCSSPageSize:!0,paperWidth:h.width,paperHeight:h.height});return await w(n,Buffer.from(a.data,"base64")),{type:e,files:[n]}}if(e==="png"){const{png:s}=await B(o.page);return await w(n,s),{type:e,files:[n]}}return m(e,`A report is not made into ${e}.`)}finally{await o.close()}}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import C from"dom-serializer";import{Element as O,Text as R,isTag as I}from"domhandler";import{parseDocument as M}from"htmlparser2";export class InlineError extends Error{name="InlineError"}const v=e=>e.replace(/<\/(script)/giu,"<\\/$1"),$=e=>e.replace(/<\/(style)/giu,"<\\/$1"),T=/(?:^|[;\s}])import\s*(?:[\w*{][^'"]*?\sfrom\s*)?["']|(?:^|[^.\w])import\s*\(/mu,F=e=>`data:${e.mime||"application/octet-stream"};base64,${e.body.toString("base64")}`;function k(e,t){const o=e.trim();if(!(o===""||/^(data|blob|javascript|mailto|tel|about):/iu.test(o))&&!o.startsWith("#"))try{const n=new URL(o,t);return n.hash="",n.href}catch{return}}function L(e,t,o){const n=k(t,o),l=n===void 0?void 0:e.files.get(n);return!l||n===void 0?t:(e.used.add(n),F(l))}function S(e,t,o,n=0){return t.replace(/@import\s+(?:url\(\s*)?(["']?)([^"')\s;]+)\1\s*\)?([^;]*);/gu,(f,g,a,b)=>{const p=k(a,o),w=p===void 0?void 0:e.files.get(p);if(!w||p===void 0||n>8)return f;e.used.add(p);const s=S(e,w.body.toString("utf8"),p,n+1),m=b.trim();return m===""?s:`@media ${m} {
|
|
3
|
+
${s}
|
|
4
|
+
}`}).replace(/url\(\s*(["']?)([^"')]+)\1\s*\)/gu,(f,g,a)=>{const b=L(e,a,o);return b===a?f:`url(${g}${b}${g})`})}const H={img:["src"],source:["src"],video:["src","poster"],audio:["src"],track:["src"],input:["src"],embed:["src"],object:["data"],image:["href","xlink:href"],use:[]};function x(e,t){const o={};for(const n of t)o[n.url]=[n.mime,n.body.toString("base64")];return`(() => {
|
|
5
|
+
const BASE = ${JSON.stringify(e)};
|
|
6
|
+
const FILES = ${JSON.stringify(o)};
|
|
7
|
+
const has = (k) => Object.prototype.hasOwnProperty.call(FILES, k);
|
|
8
|
+
// A URL as the page asked for it, as it was where the render drew the
|
|
9
|
+
// page: a relative one from the report's address there; an address on
|
|
10
|
+
// this page's own origin by its path from this page's folder.
|
|
11
|
+
const keyOf = (u) => {
|
|
12
|
+
const s = String(u);
|
|
13
|
+
let abs;
|
|
14
|
+
try {
|
|
15
|
+
if (!/^[a-z][a-z0-9+.-]*:|^\\/\\//iu.test(s)) abs = new URL(s, BASE);
|
|
16
|
+
else {
|
|
17
|
+
const asked = new URL(s, document.baseURI);
|
|
18
|
+
if (asked.origin !== location.origin || asked.protocol !== location.protocol) abs = asked;
|
|
19
|
+
else {
|
|
20
|
+
const from = location.pathname.split("/").slice(0, -1);
|
|
21
|
+
const to = asked.pathname.split("/");
|
|
22
|
+
let i = 0;
|
|
23
|
+
while (i < from.length && i < to.length - 1 && from[i] === to[i]) i++;
|
|
24
|
+
const rel = "../".repeat(from.length - i) + to.slice(i).join("/");
|
|
25
|
+
abs = new URL(rel + asked.search, BASE);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
} catch { return undefined; }
|
|
29
|
+
abs.hash = "";
|
|
30
|
+
return has(abs.href) ? abs.href : undefined;
|
|
31
|
+
};
|
|
32
|
+
const bytes = (b) => Uint8Array.from(atob(b), (c) => c.charCodeAt(0));
|
|
33
|
+
const blobs = new Map();
|
|
34
|
+
const blobOf = (k) => {
|
|
35
|
+
if (!blobs.has(k)) blobs.set(k, URL.createObjectURL(new Blob([bytes(FILES[k][1])], { type: FILES[k][0] })));
|
|
36
|
+
return blobs.get(k);
|
|
37
|
+
};
|
|
38
|
+
const swap = (u) => { const k = keyOf(String(u)); return k ? blobOf(k) : u; };
|
|
39
|
+
const fetch0 = window.fetch.bind(window);
|
|
40
|
+
window.fetch = (input, init) => {
|
|
41
|
+
const u = typeof input === "string" ? input : input instanceof URL ? input.href : input.url;
|
|
42
|
+
const k = keyOf(u);
|
|
43
|
+
if (!k) return fetch0(input, init);
|
|
44
|
+
return Promise.resolve(new Response(bytes(FILES[k][1]), { status: 200, headers: { "content-type": FILES[k][0] } }));
|
|
45
|
+
};
|
|
46
|
+
const open0 = XMLHttpRequest.prototype.open;
|
|
47
|
+
XMLHttpRequest.prototype.open = function (method, url, ...rest) { return open0.call(this, method, swap(url), ...rest); };
|
|
48
|
+
const props = [[HTMLImageElement, "src"], [HTMLScriptElement, "src"], [HTMLLinkElement, "href"], [HTMLSourceElement, "src"], [HTMLMediaElement, "src"]];
|
|
49
|
+
for (const [C, p] of props) {
|
|
50
|
+
const d = Object.getOwnPropertyDescriptor(C.prototype, p);
|
|
51
|
+
if (d && d.set) Object.defineProperty(C.prototype, p, { ...d, set(v) { d.set.call(this, swap(v)); } });
|
|
52
|
+
}
|
|
53
|
+
const setAttribute0 = Element.prototype.setAttribute;
|
|
54
|
+
Element.prototype.setAttribute = function (name, value) {
|
|
55
|
+
const n = String(name).toLowerCase();
|
|
56
|
+
return setAttribute0.call(this, name, n === "src" || n === "href" || n === "poster" ? swap(value) : value);
|
|
57
|
+
};
|
|
58
|
+
})();`}function*j(e){for(const t of e.children)I(t)&&(yield t,yield*j(t))}const A=e=>e.children.map(t=>t instanceof R?t.data:"").join(""),E=(e,t)=>{const o=new R(t);o.parent=e,e.children=[o]};export function inlineReport(e,t,o){const n={files:o,used:new Set([t])},l=M(e,{decodeEntities:!0}),f=[...j(l)];for(const s of f){const m=s.name.toLowerCase(),i=s.attribs;if(m==="script"){const c=(i.type??"").trim().toLowerCase(),d=c==="module";if(c==="importmap")continue;let r;const h=i.src;if(h!==void 0){const u=k(h,t),y=u===void 0?void 0:o.get(u);if(!y||u===void 0)continue;n.used.add(u),r=y.body.toString("utf8"),delete i.src,delete i.integrity,delete i.crossorigin}else r=A(s);if(d&&T.test(r))throw new InlineError(`${h??"a module script"} imports another file, which a page in one file cannot load: bundle the module into one file, or use a classic script (a library's UMD build, such as chart.umd.min.js).`);h!==void 0&&E(s,v(r));continue}if(m==="link"){const c=(i.rel??"").toLowerCase().split(/\s+/u),d=i.href;if(d===void 0)continue;if(c.includes("stylesheet")){const r=k(d,t),h=r===void 0?void 0:o.get(r);if(!h||r===void 0)continue;n.used.add(r);const u=new O("style",{...i.media===void 0?{}:{media:i.media}});E(u,$(S(n,h.body.toString("utf8"),r))),u.parent=s.parent;const y=s.parent?.children;y&&y.splice(y.indexOf(s),1,u);continue}if(c.includes("preload")||c.includes("modulepreload")){const r=s.parent?.children;r&&r.splice(r.indexOf(s),1);continue}c.some(r=>r==="icon"||r==="apple-touch-icon")&&(i.href=L(n,d,t));continue}if(m==="style"){E(s,$(S(n,A(s),t)));continue}for(const c of H[m]??[])i[c]!==void 0&&(i[c]=L(n,i[c],t));i.srcset!==void 0&&(i.srcset=i.srcset.split(",").map(c=>{const[d,...r]=c.trim().split(/\s+/u);return d===void 0?c:[L(n,d,t),...r].join(" ")}).join(", ")),i.style!==void 0&&(i.style=S(n,i.style,t))}const g=[...o.values()].filter(s=>!n.used.has(s.url)&&s.type!=="Document"&&s.type!=="Font"),a=new O("script",{});E(a,v(x(t,g)));const b=f.find(s=>s.name.toLowerCase()==="head"),p=f.find(s=>s.name.toLowerCase()==="html"),w=b??p??l;return a.parent=w,w.children.unshift(a),C(l,{encodeEntities:"utf8"})}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{readFile as x}from"node:fs/promises";import{join as I,posix as S}from"node:path";import{setTimeout as w}from"node:timers/promises";import{openPage as q,startServer as M}from"@allyhub/browser";export const REPORT_DEFAULTS={width:1440,height:900,scale:1,timeout:3e4,network:3e3,quiet:1200};const $=`(() => {
|
|
3
|
+
let s = 0x2f6b9a1d;
|
|
4
|
+
Math.random = () => {
|
|
5
|
+
s = (s + 0x6d2b79f5) | 0;
|
|
6
|
+
let t = Math.imul(s ^ (s >>> 15), 1 | s);
|
|
7
|
+
t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t;
|
|
8
|
+
return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
|
|
9
|
+
};
|
|
10
|
+
})();`,j=`(async () => {
|
|
11
|
+
await document.fonts.ready;
|
|
12
|
+
await Promise.all(Array.from(document.images).map((i) => i.decode().catch(() => undefined)));
|
|
13
|
+
if (window.allyhubReady) await window.allyhubReady;
|
|
14
|
+
for (const a of document.getAnimations()) {
|
|
15
|
+
const t = a.effect && a.effect.getComputedTiming ? a.effect.getComputedTiming() : undefined;
|
|
16
|
+
if (t && Number.isFinite(t.endTime)) a.finish();
|
|
17
|
+
else { a.pause(); a.currentTime = 0; }
|
|
18
|
+
}
|
|
19
|
+
await document.fonts.ready;
|
|
20
|
+
return true;
|
|
21
|
+
})()`,v=o=>{const i=S.normalize(o.split("\\").join("/"));if(i.startsWith("../")||i.startsWith("/"))throw new Error(`${o} is not inside the project.`);return i};function C(o,i){if(i.startsWith(`${o}/`))try{return decodeURIComponent(new URL(i).pathname.slice(1))}catch{return}}export async function openReport(o,i,c,e={},l={}){const s=REPORT_DEFAULTS,u=e.width??s.width,m=e.height??s.height,p=e.timeout??s.timeout,a=await M([{at:"/",dir:i}]);let n;try{n=await q(o,{width:u,height:m,scale:e.scale??s.scale,allow:a.allow});const r=n.session,g=[],y=new Map,E=new Map,P=[];r.on("Network.responseReceived",t=>{const d=C(a.origin,t.response.url);d!==void 0&&(t.response.status>=400?g.push({path:d,status:t.response.status}):l.keep&&E.set(t.requestId,{url:t.response.url,path:d,type:t.type,mime:t.response.mimeType}))}),r.on("Network.loadingFinished",t=>{const d=E.get(t.requestId);if(!d)return;const{path:k,mime:b}=d;P.push(x(I(i,k)).then(R=>{y.set(d.url,{url:d.url,path:k,mime:b,type:d.type,body:R})}).catch(()=>{}))}),await Promise.all([r.send("Network.enable",{}),r.send("Page.addScriptToEvaluateOnNewDocument",{source:$}),r.send("Emulation.setEmulatedMedia",{media:e.print?"print":"",features:[{name:"prefers-reduced-motion",value:e.motion?"no-preference":"reduce"},{name:"prefers-color-scheme",value:e.dark?"dark":"light"}]})]);const T=`${a.origin}/${v(c).split("/").map(encodeURIComponent).join("/")}`;let h;try{await N(n,T,{timeout:p,network:e.network??s.network,quiet:e.quiet??s.quiet})}catch(t){h=t instanceof Error?t.message:String(t)}await Promise.all(P);const f=n;return{page:f,url:T,origin:a.origin,loaded:y,findings:()=>({missing:[...g],outside:f.refused(),thrown:f.errors(),...h===void 0?{}:{unsettled:h}}),async close(){await f.close(),await a.close()}}}catch(r){throw await n?.close(),await a.close(),r}}async function N(o,i,c){const e=o.session;await e.send("Page.setLifecycleEventsEnabled",{enabled:!0});const l=new AbortController,s=n=>e.once("Page.lifecycleEvent",{match:r=>r.name===n,signal:l.signal}),u=s("load"),m=s("networkIdle"),p=n=>w(c.timeout,void 0,{signal:l.signal}).then(()=>{throw new Error(n)}),a=String(c.timeout/1e3);try{const n=await e.send("Page.navigate",{url:i});if(n.errorText)throw new Error(`It did not load: ${n.errorText}.`);await Promise.race([u,p(`It did not finish loading within ${a} s.`)]),await Promise.race([m,w(c.network,void 0,{signal:l.signal})]),await Promise.race([o.evaluate(j,{timeoutMs:c.timeout}),p(`It did not settle within ${a} s: its fonts, its pictures or window.allyhubReady never finished.`)]),await w(c.quiet)}finally{l.abort(),await Promise.allSettled([u,m])}}export{pageHeight,pagePicture}from"@allyhub/browser/picture";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{randomUUID as y}from"node:crypto";import{defineProjectTool as l}from"@allyhub/build";import{startBrowser as m}from"@allyhub/browser";import{RPC_ERROR as w,RpcError as f}from"@allyhub/protocol";import{openReport as u}from"./page.js";import{REPORT_TOOLS as p}from"./tools.js";async function h(n,e){const t=(await n.items()).find(a=>a.id===e&&a.kind==="report");if(!t)throw new f(w.notFound,`There is no report ${e}.`);return t.entry}const T=`(points) => {
|
|
3
|
+
const part = (e) => e.tagName.toLowerCase() + (e.id ? "#" + e.id : "") +
|
|
4
|
+
[...e.classList].slice(0, 3).map((c) => "." + c).join("");
|
|
5
|
+
const seen = new Set();
|
|
6
|
+
const elements = [];
|
|
7
|
+
for (const p of points) {
|
|
8
|
+
const el = document.elementFromPoint(p.x, p.y);
|
|
9
|
+
if (!el || seen.has(el)) continue;
|
|
10
|
+
seen.add(el);
|
|
11
|
+
const path = [];
|
|
12
|
+
for (let e = el; e && path.length < 5; e = e.parentElement) path.unshift(part(e));
|
|
13
|
+
elements.push({
|
|
14
|
+
selector: path.join(" > "),
|
|
15
|
+
tag: el.tagName.toLowerCase(),
|
|
16
|
+
text: (el.innerText ?? el.textContent ?? "").trim().slice(0, 200),
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
const inner = elements.filter((e) => e.tag !== "html" && e.tag !== "body");
|
|
20
|
+
return inner.length > 0 ? inner : elements;
|
|
21
|
+
}`,E=30*6e4;class R{held=new Map;async hold(e,t,a){const o=await m();try{const r=await u(o,e,t,a),s=y(),i=setTimeout(()=>{this.release(s)},E);return i.unref(),this.held.set(s,{browser:o,opened:r,timer:i}),s}catch(r){throw await o.close(),r}}page(e){const t=this.held.get(e);if(!t)throw new f(w.notFound,`No page is held as ${e}: it was let go.`);return t.opened.page}async release(e){const t=this.held.get(e);t&&(this.held.delete(e),clearTimeout(t.timer),await t.opened.close().catch(()=>{}),await t.browser.close())}async dispose(){for(const e of[...this.held.keys()])await this.release(e)}}const c=n=>n.held("report/held",()=>new R);async function g(n,e,t,a){const o=await m();try{const r=await u(o,n.root,e,t);try{return await a(r.page)}finally{await r.close()}}finally{await o.close()}}const P={"report/still":l(p["report/still"],async({item:n,width:e,height:t,scale:a,hold:o},r)=>{const s=d=>d.capture({format:"png"});return{image:{mime:"image/png",data:(o!==void 0?await s(c(r).page(o)):await g(r,await h(r,n),{width:e,height:t,scale:a},s)).toString("base64")}}}),"report/at":l(p["report/at"],async({item:n,width:e,height:t,points:a,hold:o},r)=>{const s=d=>d.evaluate(`(${T})(${JSON.stringify(a)})`);return{elements:o!==void 0?await s(c(r).page(o)):await g(r,await h(r,n),{width:e,height:t},s)}}),"report/hold":l(p["report/hold"],async({item:n,width:e,height:t,scale:a},o)=>({hold:await c(o).hold(o.root,await h(o,n),{width:e,height:t,scale:a})})),"report/release":l(p["report/release"],async({hold:n},e)=>(await c(e).release(n),{}))};export default P;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{copyFile as L,mkdir as D,readFile as u,readdir as T,stat as j,writeFile as R}from"node:fs/promises";import{createRequire as q}from"node:module";import{dirname as d,join as r,posix as E,relative as l,sep as m}from"node:path";import{fileURLToPath as N}from"node:url";import{z as n}from"zod";import{themesIn as O}from"./theme.js";export const STYLES_DIR=N(new URL("../styles/",import.meta.url)),SHARED_DIR="assets/report-styles";const F=q(import.meta.url),U=n.object({about:n.string(),theme:n.string(),faces:n.array(n.object({package:n.string(),css:n.array(n.string())})),files:n.array(n.object({package:n.string(),path:n.string()}))}),W=t=>O(t).map(e=>e.name);export async function reportStyles(){const t=(await T(STYLES_DIR,{withFileTypes:!0})).filter(e=>e.isDirectory()).map(e=>e.name).sort();return Promise.all(t.map(reportStyle))}export async function reportStyle(t){if(!/^[a-z][\w-]*$/u.test(t))return;const e=r(STYLES_DIR,t),s=await u(r(e,"style.json"),"utf8").catch(()=>{});if(s===void 0)return;const a=U.parse(JSON.parse(s)),p=W(await u(r(e,"style.css"),"utf8"));return{name:t,about:a.about,themes:[a.theme,...p.filter(o=>o!==a.theme)],dir:e,spec:a}}function v(t){try{return d(F.resolve(`${t}/package.json`))}catch{let e=d(F.resolve(t));for(;!e.endsWith(`${m}${t.split("/").join(m)}`);){const s=d(e);if(s===e)throw new Error(`${t}'s folder was not found.`);e=s}return e}}const z=(t,e)=>{const s=l(t,e).split(m).join("/");return s.startsWith(".")?s:`./${s}`};async function I(t,e){const[s,a]=await Promise.all([j(t),j(e).catch(()=>{})]);return a?.size===s.size?!1:(await D(d(e),{recursive:!0}),await L(t,e),!0)}function _(t,e,s){const a=[];return{rules:t.replace(/src:\s*([^;]+);/gu,(o,w)=>{const c=/url\(\s*["']?\.\/files\/([^"')]+\.woff2)["']?\s*\)\s*format\(\s*["']([\w-]+)["']\s*\)/u.exec(w);return c?.[1]?(a.push(c[1]),`src: url(${z(s,r(e,c[1]))}) format("${c[2]??"woff2"}");`):o}),files:a}}export class StyleError extends Error{name="StyleError"}export async function useReportStyle(t,e,s,a={}){const p=r(t,E.dirname(e)),o=r(p,"style"),w=r(t,SHARED_DIR,s.name),c=r(w,"faces"),h=r(o,"style.css");if(!a.force&&await j(h).catch(()=>{}))throw new StyleError(`${l(t,h)} is there already: it is the report's own now.`);const y=[],k=[];for(const i of s.spec.faces){const f=v(i.package);for(const x of i.css){const b=_(await u(r(f,x),"utf8"),c,o);k.push(`/* ${i.package}/${x} */
|
|
3
|
+
${b.rules.trim()}`);for(const g of b.files)await I(r(f,"files",g),r(c,g))&&y.push(l(t,r(c,g)))}}const $=[];for(const i of s.spec.files){const f=r(w,E.basename(i.path));await I(r(v(i.package),i.path),f)&&y.push(l(t,f)),$.push(z(p,f))}const P=(await u(r(s.dir,"style.css"),"utf8")).replace("/* @faces */",k.join(`
|
|
4
|
+
|
|
5
|
+
`));await D(o,{recursive:!0}),await R(h,P),await R(r(o,"tokens.js"),await u(r(s.dir,"tokens.js"),"utf8"));const S=i=>l(t,i).split(m).join("/");return{style:s.name,written:[S(h),S(r(o,"tokens.js"))],copied:y.map(i=>i.split(m).join("/")),links:['<link rel="stylesheet" href="style/style.css">','<script src="style/tokens.js"><\/script>',...$.map(i=>`<script src="${i}"><\/script>`)]}}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
const l=/^(#[0-9a-f]{3,8}|(?:rgb|rgba|hsl|hsla|oklch|oklab|lab|lch)\([^)]*\))$/iu;export function themesIn(n){const t=new Map;for(const e of n.matchAll(/\[data-theme="([\w-]+)"\]\s*\{([^}]*)\}/gu)){const s=e[1]??"";if(s===""||t.has(s))continue;const o=[];for(const c of(e[2]??"").split(";")){const a=c.slice(c.indexOf(":")+1).trim();c.includes(":")&&l.test(a)&&o.push(a)}t.set(s,{name:s,colors:o})}return[...t.values()]}function u(n,t){const e=new RegExp(`\\s${t}\\s*=\\s*(?:"([^"]*)"|'([^']*)'|([^\\s"'=<>\`]+))`,"iu").exec(n);if(e)return{value:e[1]??e[2]??e[3]??"",at:e.index,length:e[0].length}}export function stylesheetsOf(n){const t=[];for(const e of n.matchAll(/<link\b[^>]*>/giu)){const s=e[0],o=u(s,"rel")?.value.toLowerCase().split(/\s+/u)??[],c=u(s,"href")?.value;o.includes("stylesheet")&&c&&t.push(c)}return t}const i=n=>/<html\b[^>]*>/iu.exec(n);export function themeOf(n){const t=i(n),e=t?u(t[0],"data-theme")?.value:void 0;return e===void 0||e===""?void 0:e}export function withTheme(n,t){const e=i(n);if(!e)return;const s=e.index,o=u(e[0],"data-theme"),c=o?`${e[0].slice(0,o.at)} data-theme="${t}"${e[0].slice(o.at+o.length)}`:`<html data-theme="${t}"${e[0].slice(5)}`;return`${n.slice(0,s)}${c}${n.slice(s+e[0].length)}`}export function pathFrom(n,t){if(/^[a-z][a-z0-9+.-]*:|^\/\//iu.test(t))return;const e=new URL(t,`file:///${n}`),s=decodeURIComponent(e.pathname).replace(/^\/+/u,"");return s===""?void 0:s}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{z as t}from"zod";import{PathSchema as s,method as e,toolCaller as i}from"@allyhub/protocol";const r=t.strictObject({item:s}),a={width:t.number().int().positive().max(4096),height:t.number().int().positive().max(4096)};export const REPORT_TOOLS={"report/still":e(r.extend({...a,scale:t.number().positive().max(4).default(1),hold:t.string().optional()}),t.strictObject({image:t.strictObject({mime:t.string(),data:t.string()})}),"A report's page drawn as the render draws it, at a frame's size from its top: what Mark up lays over a report's frame, which the window cannot read."),"report/hold":e(r.extend({...a,scale:t.number().positive().max(4).default(1)}),t.strictObject({hold:t.string()}),"A report's page opened at a frame's size and kept as it is while a person marks it: report/still and report/at draw and read it as it was, until report/release."),"report/release":e(t.strictObject({hold:t.string()}),t.strictObject({}),"Lets a page held for notes go."),"report/at":e(r.extend({...a,points:t.array(t.strictObject({x:t.number(),y:t.number()})).min(1).max(24),hold:t.string().optional()}),t.strictObject({elements:t.array(t.strictObject({selector:t.string(),tag:t.string(),text:t.string()}))}),"What is at places of a report's page drawn at a frame's size from its top (as report/still draws it): what a person's mark on its frame is on.")},callReportTool=i(REPORT_TOOLS);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{readFile as o}from"node:fs/promises";import{join as s}from"node:path";const u={amp:"&",lt:"<",gt:">",quot:'"',apos:"'",nbsp:" "};export function titleOf(e){const t=/<title[^>]*>([\s\S]*?)<\/title>/iu.exec(e)?.[1]?.replace(/&(#x[0-9a-f]+|#\d+|[a-z]+);/giu,(r,i)=>i.startsWith("#x")||i.startsWith("#X")?String.fromCodePoint(Number.parseInt(i.slice(2),16)):i.startsWith("#")?String.fromCodePoint(Number.parseInt(i.slice(1),10)):u[i.toLowerCase()]??r).replace(/\s+/gu," ").trim();return t===void 0||t===""?void 0:t}async function a(e,n){const t=await o(s(e,n.entry),"utf8").catch(()=>{});return t===void 0?void 0:titleOf(t)}const c=()=>Promise.resolve({page:{}});export function activate(e){e.subscriptions.push(e.allyhub.kinds.registerKindProvider("report",{title:(n,{root:t})=>a(t,n),snapshot:c}))}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@allyhub/report-extension",
|
|
3
|
+
"version": "0.11.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"exports": {
|
|
6
|
+
"./cli": {
|
|
7
|
+
"types": "./dist/cli/find.d.ts",
|
|
8
|
+
"default": "./dist/cli/find.js"
|
|
9
|
+
},
|
|
10
|
+
"./theme": {
|
|
11
|
+
"types": "./dist/theme.d.ts",
|
|
12
|
+
"default": "./dist/theme.js"
|
|
13
|
+
},
|
|
14
|
+
"./tools": {
|
|
15
|
+
"types": "./dist/tools.d.ts",
|
|
16
|
+
"default": "./dist/tools.js"
|
|
17
|
+
},
|
|
18
|
+
"./package.json": "./package.json",
|
|
19
|
+
"./dist/*": "./dist/*"
|
|
20
|
+
},
|
|
21
|
+
"allyhub": {
|
|
22
|
+
"id": "allyhub.report",
|
|
23
|
+
"engines": "^0.1.0",
|
|
24
|
+
"main": "./dist/workspace.js",
|
|
25
|
+
"contributes": {
|
|
26
|
+
"kinds": [
|
|
27
|
+
{
|
|
28
|
+
"id": "report",
|
|
29
|
+
"name": {
|
|
30
|
+
"en": "Report",
|
|
31
|
+
"zh-cn": "报告",
|
|
32
|
+
"zh-tw": "報告",
|
|
33
|
+
"ja": "レポート",
|
|
34
|
+
"ko": "리포트",
|
|
35
|
+
"es": "Informe",
|
|
36
|
+
"fr": "Rapport",
|
|
37
|
+
"de": "Bericht",
|
|
38
|
+
"pt": "Relatório"
|
|
39
|
+
},
|
|
40
|
+
"plural": {
|
|
41
|
+
"en": "Reports",
|
|
42
|
+
"zh-cn": "报告",
|
|
43
|
+
"zh-tw": "報告",
|
|
44
|
+
"ja": "レポート",
|
|
45
|
+
"ko": "리포트",
|
|
46
|
+
"es": "Informes",
|
|
47
|
+
"fr": "Rapports",
|
|
48
|
+
"de": "Berichte",
|
|
49
|
+
"pt": "Relatórios"
|
|
50
|
+
},
|
|
51
|
+
"noun": "report",
|
|
52
|
+
"icon": "chart-pie",
|
|
53
|
+
"color": "kind-teal",
|
|
54
|
+
"exports": {
|
|
55
|
+
"types": [
|
|
56
|
+
"png",
|
|
57
|
+
"pdf",
|
|
58
|
+
"html"
|
|
59
|
+
],
|
|
60
|
+
"extras": []
|
|
61
|
+
},
|
|
62
|
+
"renders": {
|
|
63
|
+
"types": [
|
|
64
|
+
"html",
|
|
65
|
+
"pdf",
|
|
66
|
+
"png"
|
|
67
|
+
],
|
|
68
|
+
"defaults": [
|
|
69
|
+
"html"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"starter": {
|
|
73
|
+
"files": {
|
|
74
|
+
"{{name}}.html": "<!doctype html>\n<html lang=\"{{locale}}\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>{{title}}</title>\n</head>\n<body>\n<h1>{{title}}</h1>\n</body>\n</html>\n"
|
|
75
|
+
},
|
|
76
|
+
"entry": "{{name}}.html"
|
|
77
|
+
},
|
|
78
|
+
"share": true,
|
|
79
|
+
"build": "./dist/build.js",
|
|
80
|
+
"editor": "allyhub.report.view",
|
|
81
|
+
"shown": {
|
|
82
|
+
"line": {
|
|
83
|
+
"en": "Research and reviews, for any screen",
|
|
84
|
+
"zh-cn": "调研和分析报告,适配任何屏幕",
|
|
85
|
+
"zh-tw": "調研和分析報告,適配任何螢幕",
|
|
86
|
+
"ja": "リサーチと分析を、どの画面でも",
|
|
87
|
+
"ko": "리서치와 분석, 어떤 화면에서든",
|
|
88
|
+
"es": "Investigaciones y análisis, para cualquier pantalla",
|
|
89
|
+
"pt": "Pesquisas e análises, para qualquer tela",
|
|
90
|
+
"de": "Recherchen und Analysen, für jeden Bildschirm",
|
|
91
|
+
"fr": "Recherches et analyses, sur tous les écrans"
|
|
92
|
+
},
|
|
93
|
+
"order": 15
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"editors": [
|
|
98
|
+
{
|
|
99
|
+
"id": "allyhub.report.view",
|
|
100
|
+
"kinds": [
|
|
101
|
+
"report"
|
|
102
|
+
],
|
|
103
|
+
"module": "@allyhub/report-view",
|
|
104
|
+
"markup": "./markup"
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"rules": [
|
|
108
|
+
{
|
|
109
|
+
"code": "AK-M017",
|
|
110
|
+
"level": "error",
|
|
111
|
+
"rule": "A report's file is not an HTML file, or is not there"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"code": "AK-P004",
|
|
115
|
+
"level": "error",
|
|
116
|
+
"rule": "A report's page did not load, or did not settle within its timeout"
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"cliCommands": [
|
|
120
|
+
{
|
|
121
|
+
"name": "report style list",
|
|
122
|
+
"summary": "The report styles AllyHub brings, each with its themes: a look written down for a report to start from when the person gives no style",
|
|
123
|
+
"work": "reports",
|
|
124
|
+
"module": "./dist/cli/index.js"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "report style show",
|
|
128
|
+
"summary": "A report style in words and numbers (its STYLE.md): its themes, tokens, type, page and example parts, for reference and never a limit",
|
|
129
|
+
"work": "reports",
|
|
130
|
+
"module": "./dist/cli/index.js"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "report style use",
|
|
134
|
+
"summary": "Copies a report style beside a report: its style.css and tokens.js in the report's style/ folder, its faces and chart library once in the project's assets/report-styles/; the files are then the report's own",
|
|
135
|
+
"work": "reports",
|
|
136
|
+
"module": "./dist/cli/index.js"
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
"skills": [
|
|
140
|
+
{
|
|
141
|
+
"path": "./skills/allyhub"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"projectTools": [
|
|
145
|
+
{
|
|
146
|
+
"name": "report/still",
|
|
147
|
+
"source": "asleep",
|
|
148
|
+
"does": {
|
|
149
|
+
"files": "the project's files; the report's page drawn in a browser"
|
|
150
|
+
},
|
|
151
|
+
"module": "./dist/project-tools.js"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "report/at",
|
|
155
|
+
"source": "asleep",
|
|
156
|
+
"does": {
|
|
157
|
+
"files": "the project's files; the report's page read in a browser"
|
|
158
|
+
},
|
|
159
|
+
"module": "./dist/project-tools.js"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "report/hold",
|
|
163
|
+
"source": "asleep",
|
|
164
|
+
"does": {
|
|
165
|
+
"files": "the project's files; the report's page kept open in a browser"
|
|
166
|
+
},
|
|
167
|
+
"module": "./dist/project-tools.js"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "report/release",
|
|
171
|
+
"source": "asleep",
|
|
172
|
+
"does": {
|
|
173
|
+
"files": "nothing the agent does: a page kept open for a person's notes closed"
|
|
174
|
+
},
|
|
175
|
+
"module": "./dist/project-tools.js"
|
|
176
|
+
}
|
|
177
|
+
]
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"private": true,
|
|
181
|
+
"license": "SEE LICENSE IN LICENSE.md"
|
|
182
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# The allyhub report style
|
|
2
|
+
|
|
3
|
+
A look for a report when the person names no style of their own. Everything here is for reference and never a limit: design and use any part or chart that fits the report. Be creative.
|
|
4
|
+
|
|
5
|
+
## Files
|
|
6
|
+
|
|
7
|
+
`allyhub report style use <report> allyhub` writes `style/style.css` and `style/tokens.js` beside the report, and copies the faces and Chart.js once into the project's `assets/report-styles/allyhub/`. Link them:
|
|
8
|
+
|
|
9
|
+
```html
|
|
10
|
+
<html lang="en" data-theme="moss">
|
|
11
|
+
<head>
|
|
12
|
+
<link rel="stylesheet" href="style/style.css" />
|
|
13
|
+
<script src="style/tokens.js"></script>
|
|
14
|
+
<script src="../../assets/report-styles/allyhub/chart.umd.min.js"></script>
|
|
15
|
+
</head>
|
|
16
|
+
</html>
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
(The script's path is from the report's folder to the project's `assets/`; the command prints it.) `style.css` holds the tokens as CSS variables, each theme as `[data-theme="…"]`, the faces' `@font-face` rules and reduced motion; no class for any part. The files are the report's own: change them as the report needs.
|
|
20
|
+
|
|
21
|
+
## Content
|
|
22
|
+
|
|
23
|
+
- Cite the sources in the text where they support a claim, and list them all in a references section near the footer: each an address of a product, a post, an author or an article. Every link to a source opens in a new tab (`target="_blank"`). No links to the report's own sections.
|
|
24
|
+
- Numbers come from the project's data files: fetch the CSV or JSON by its path and draw from it, so a figure in the text, a legend and a chart are one number. A number you work out (a total, a growth rate) is worked out in code from that data.
|
|
25
|
+
- Add charts where they make the report clearer.
|
|
26
|
+
|
|
27
|
+
## Themes
|
|
28
|
+
|
|
29
|
+
`blue` (default), `sage`, `sand`, `rose`, `slate`, `moss`, `plum`, `ember`, `mist`, `clay`: set one on `<html data-theme="…">`, chosen by the report's subject. A theme changes only `--hero-bg`, `--hero-deco` and `--hero-deco2`. The person may change it from the report's view, which rewrites that attribute alone; a theme you add to `style.css` as `[data-theme="…"]` is offered there too.
|
|
30
|
+
|
|
31
|
+
## Interactivity, motion, mobile
|
|
32
|
+
|
|
33
|
+
- Prefer interactive reports: charts with tooltips, a switch between views.
|
|
34
|
+
- Prefer subtle motion where it fits (in the hero's background). The render draws with `prefers-reduced-motion: reduce`, which `style.css` honours; motion made by a script checks `matchMedia("(prefers-reduced-motion: reduce)")` itself (Chart.js: `animation: false` then).
|
|
35
|
+
- Mobile first. On a phone the outer frame collapses to nothing: no outer padding, no side margins, no page corner radius; the report fills the screen's width.
|
|
36
|
+
|
|
37
|
+
## Tokens
|
|
38
|
+
|
|
39
|
+
| Group | Token | Value |
|
|
40
|
+
| ------ | ------------------------------------------ | ----------------- |
|
|
41
|
+
| Base | `--outer-bg` | #E4E1DC |
|
|
42
|
+
| | `--page-bg` | #FDFCF9 |
|
|
43
|
+
| | `--surface` | #FFFFFF |
|
|
44
|
+
| | `--border` | #E8E6E2 |
|
|
45
|
+
| | `--divider` | #C5C0BA |
|
|
46
|
+
| Text | `--text-primary` | #151515 |
|
|
47
|
+
| | `--text-body` | #3D3D3D |
|
|
48
|
+
| | `--text-secondary` | #717171 |
|
|
49
|
+
| Hero | `--hero-bg`, `--hero-deco`, `--hero-deco2` | by theme |
|
|
50
|
+
| Status | `--success-bg` / `--success-fg` | #E8FBCF / #3D4826 |
|
|
51
|
+
| | `--warning-bg` / `--warning-fg` | #FFF0DC / #E47700 |
|
|
52
|
+
| | `--info-bg` / `--info-fg` | #DEE5F7 / #3E54CE |
|
|
53
|
+
| | `--error-bg` / `--error-fg` | #FDECEA / #C4433A |
|
|
54
|
+
| | `--neutral-bg` / `--neutral-fg` | #FDF9F2 / #7C746F |
|
|
55
|
+
|
|
56
|
+
Themes (`--hero-bg` / `--hero-deco` / `--hero-deco2`): blue #DEE5F7 / #A3AEEE / #7F8FE0, sage #D7EDE2 / #8FC5A8 / #5FA882, sand #EDE8DE / #C8BB9F / #A99778, rose #F0E4E1 / #C4A8A2 / #A88078, slate #DDE3E8 / #9BADB0 / #6E9298, moss #DDE8D8 / #93B888 / #5E8F52, plum #E8DDEF / #B89AC8 / #8F6AAF, ember #F0E4D8 / #D4A882 / #B87D50, mist #E2E8E8 / #96B4B4 / #6A9898, clay #EDE4DC / #C4A890 / #A07858.
|
|
57
|
+
|
|
58
|
+
Code that cannot read CSS (a canvas chart) reads the same values from `tokens.js`: `reportToken("hero-deco2")` is the current theme's colour, `reportTokens()` all of them. Never type a token's hex into a chart: a theme then changes every chart.
|
|
59
|
+
|
|
60
|
+
## Type
|
|
61
|
+
|
|
62
|
+
`var(--font-sans)` (Inter Tight, then Noto Sans SC for Chinese and Japanese, then Noto Color Emoji) everywhere; `var(--font-serif)` (Noto Serif) for the hero's figures only.
|
|
63
|
+
|
|
64
|
+
| Role | Size | Weight |
|
|
65
|
+
| ------------- | ---- | ---------------------------------- |
|
|
66
|
+
| section title | 17px | 600 |
|
|
67
|
+
| card title | 15px | 600 |
|
|
68
|
+
| body | 14px | 400 |
|
|
69
|
+
| body small | 13px | 400 |
|
|
70
|
+
| meta | 12px | 400 |
|
|
71
|
+
| tag, badge | 11px | 500 |
|
|
72
|
+
| hero figure | 48px | 500, serif, letter-spacing -0.02em |
|
|
73
|
+
|
|
74
|
+
Korean has no face here: a Korean report loads one (a `@fontsource` package's files), or `allyhub check` warns that its text is drawn in a face of the computer.
|
|
75
|
+
|
|
76
|
+
Chinese and Japanese are set in Noto Sans SC at 400 and 700 alone: text at 500 or 600 shows at the nearer of them. Its faces are split by Unicode ranges, so a page loads only those its text needs, and the self-contained HTML export carries them (about 2 MB for a Chinese report; `allyhub render` says how much of the file they are).
|
|
77
|
+
|
|
78
|
+
## Dark
|
|
79
|
+
|
|
80
|
+
The style has no dark scheme: a reader who asks for dark sees the light page (`allyhub frames --dark` shows the same). For one, write `@media (prefers-color-scheme: dark)` over the tokens in `style.css`.
|
|
81
|
+
|
|
82
|
+
## Page
|
|
83
|
+
|
|
84
|
+
The page is a canvas 1200px wide at most, centred, on `--page-bg`, its corners 24px, overflow hidden, on a body of `--outer-bg`.
|
|
85
|
+
|
|
86
|
+
## Hero and footer
|
|
87
|
+
|
|
88
|
+
Both on `--hero-bg`. A few organic shapes behind the content (no more than four), filled with `--hero-deco` and `--hero-deco2` at an opacity of about 0.15 to 0.2: irregular, as if drawn by hand, never circles or ellipses; loosely scattered in varied sizes, not gathered at a corner or an edge; texture that never draws the eye.
|
|
89
|
+
|
|
90
|
+
**Hero**: an eyebrow, a headline or a hero figure, a subtitle, a white hairline, a compact row of figures (value and label), each optional. Keep it compact and dense; no landing-page header or large empty space unless the person asks for one.
|
|
91
|
+
|
|
92
|
+
The shapes are decoration: `position: absolute`, never making the hero or the footer taller. Never write a rule for every child (`.hero > *`, `footer > *`) that sets `position` or `z-index`: it is as specific as the shapes' class and, later in the sheet, turns every shape into a block in the flow. Lift the content over the shapes in a named wrapper (`.hero-content { position: relative; z-index: 1 }`).
|
|
93
|
+
|
|
94
|
+
**Footer**: a title and a line under it at the left, two columns of facts at the right, a white hairline, then a bar with the report's details at the left and the copyright at the right, with `Generated by <a href="https://allyhub.com" target="_blank">AllyHub AI</a>`.
|
|
95
|
+
|
|
96
|
+
## Example parts
|
|
97
|
+
|
|
98
|
+
Examples, not a limit.
|
|
99
|
+
|
|
100
|
+
- **Section heading**: a title (17px/600), an optional line under it (12px, `--text-secondary`), then a full-width `0.5px` rule of `--border`.
|
|
101
|
+
- **Cards**: `--surface`, a `0.5px` border of `--border`, corners 12px, two to a row (one on a phone). A header of a title and a line of facts, an avatar or an icon where it helps; a body of quotes one under another, a `0.5px` line of `--border` between them, none after the last.
|
|
102
|
+
- **Post list**: full-width cards (corners 12px, `0.5px` border) 10px apart, each an avatar at the left, the title, handle and date, its numbers (♥ ↺ 💬) at the top right, the text, and tags.
|
|
103
|
+
- **Tags**: 11px/500, padding 3px 9px, corners 20px, in a status pair's colours.
|
|
104
|
+
- **Figures**: a grid that fits as many 140px cells as it can; each a label (12px, `--text-secondary`), a value (26px/600), how it moved (12px/500, `--success-fg` or `--error-fg`).
|
|
105
|
+
- **A large figure**: a label (13px), a value (36px/600, tight letter-spacing), how it moved against its target, and an optional sparkline (40px tall, no axes).
|
|
106
|
+
- **Alert**: corners 10px, padding 14px 16px, an optional bold title over the text, in a status pair's colours.
|
|
107
|
+
- **Table**: a head of 12px/500 in `--text-secondary` over a `1px` line of `--divider`; cells 13px, a `0.5px` line of `--border` between rows and none under the last; always in a box that scrolls sideways. Its last column is often a tag.
|
|
108
|
+
- **Bars**: a label and its value on a line, then a 4px track of `--border` with a coloured fill, the colour its legend's.
|
|
109
|
+
|
|
110
|
+
## Charts
|
|
111
|
+
|
|
112
|
+
Chart.js 4 (`chart.umd.min.js`, a classic script: one file, which the self-contained HTML export can carry). Use other charts where they fit.
|
|
113
|
+
|
|
114
|
+
- Every chart sits in a box of fixed height with its options `responsive: true` and `maintainAspectRatio: false`:
|
|
115
|
+
|
|
116
|
+
```html
|
|
117
|
+
<div style="position: relative; height: 280px">
|
|
118
|
+
<canvas id="revenue"></canvas>
|
|
119
|
+
</div>
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
- Its colours from `reportToken(…)`.
|
|
123
|
+
- Its own legend off; a legend in HTML instead, a small coloured square and the label and value on a line, drawn from the same data as the chart.
|
|
124
|
+
- Give the canvas an `aria-label` that says what it shows: the Markdown export and a screen reader read it.
|
|
125
|
+
- **Line**: `tension: 0.4`, `pointRadius: 0`, `borderWidth: 1.5`, no x grid, a y grid of `--border`.
|
|
126
|
+
- **Pie, doughnut**: `borderWidth: 0`; a doughnut `cutout: "65%"`, its figure in the hole an absolutely placed element.
|
|
127
|
+
- **Sparkline**: a line with every axis and grid hidden, about 40px tall.
|
|
128
|
+
- **A switch between ranges**: change the chart's data in place and call `chart.update()`; never make the chart again.
|
|
129
|
+
|
|
130
|
+
## Look at it
|
|
131
|
+
|
|
132
|
+
`allyhub frames <report>` draws it as the render does (`--width 375` for a phone, `--dark`, `--print`); `allyhub check` names what is missing, refused or thrown.
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/* The allyhub report style: its tokens, its themes, its faces and reduced
|
|
2
|
+
motion. No class for any part: the report's own CSS draws every part. */
|
|
3
|
+
|
|
4
|
+
:root {
|
|
5
|
+
/* Base */
|
|
6
|
+
--outer-bg: #e4e1dc;
|
|
7
|
+
--page-bg: #fdfcf9;
|
|
8
|
+
--surface: #ffffff;
|
|
9
|
+
--border: #e8e6e2;
|
|
10
|
+
--divider: #c5c0ba;
|
|
11
|
+
|
|
12
|
+
/* Text */
|
|
13
|
+
--text-primary: #151515;
|
|
14
|
+
--text-body: #3d3d3d;
|
|
15
|
+
--text-secondary: #717171;
|
|
16
|
+
|
|
17
|
+
/* Hero: the blue theme's */
|
|
18
|
+
--hero-bg: #dee5f7;
|
|
19
|
+
--hero-deco: #a3aeee;
|
|
20
|
+
--hero-deco2: #7f8fe0;
|
|
21
|
+
|
|
22
|
+
/* Status */
|
|
23
|
+
--success-bg: #e8fbcf;
|
|
24
|
+
--success-fg: #3d4826;
|
|
25
|
+
--warning-bg: #fff0dc;
|
|
26
|
+
--warning-fg: #e47700;
|
|
27
|
+
--info-bg: #dee5f7;
|
|
28
|
+
--info-fg: #3e54ce;
|
|
29
|
+
--error-bg: #fdecea;
|
|
30
|
+
--error-fg: #c4433a;
|
|
31
|
+
--neutral-bg: #fdf9f2;
|
|
32
|
+
--neutral-fg: #7c746f;
|
|
33
|
+
|
|
34
|
+
/* Type */
|
|
35
|
+
--font-sans:
|
|
36
|
+
"Inter Tight Variable", "Noto Sans SC", "Noto Color Emoji", sans-serif;
|
|
37
|
+
--font-serif: "Noto Serif", "Noto Sans SC", "Noto Color Emoji", serif;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Themes: each changes the hero's three colours alone. */
|
|
41
|
+
[data-theme="blue"] {
|
|
42
|
+
--hero-bg: #dee5f7;
|
|
43
|
+
--hero-deco: #a3aeee;
|
|
44
|
+
--hero-deco2: #7f8fe0;
|
|
45
|
+
}
|
|
46
|
+
[data-theme="sage"] {
|
|
47
|
+
--hero-bg: #d7ede2;
|
|
48
|
+
--hero-deco: #8fc5a8;
|
|
49
|
+
--hero-deco2: #5fa882;
|
|
50
|
+
}
|
|
51
|
+
[data-theme="sand"] {
|
|
52
|
+
--hero-bg: #ede8de;
|
|
53
|
+
--hero-deco: #c8bb9f;
|
|
54
|
+
--hero-deco2: #a99778;
|
|
55
|
+
}
|
|
56
|
+
[data-theme="rose"] {
|
|
57
|
+
--hero-bg: #f0e4e1;
|
|
58
|
+
--hero-deco: #c4a8a2;
|
|
59
|
+
--hero-deco2: #a88078;
|
|
60
|
+
}
|
|
61
|
+
[data-theme="slate"] {
|
|
62
|
+
--hero-bg: #dde3e8;
|
|
63
|
+
--hero-deco: #9badb0;
|
|
64
|
+
--hero-deco2: #6e9298;
|
|
65
|
+
}
|
|
66
|
+
[data-theme="moss"] {
|
|
67
|
+
--hero-bg: #dde8d8;
|
|
68
|
+
--hero-deco: #93b888;
|
|
69
|
+
--hero-deco2: #5e8f52;
|
|
70
|
+
}
|
|
71
|
+
[data-theme="plum"] {
|
|
72
|
+
--hero-bg: #e8ddef;
|
|
73
|
+
--hero-deco: #b89ac8;
|
|
74
|
+
--hero-deco2: #8f6aaf;
|
|
75
|
+
}
|
|
76
|
+
[data-theme="ember"] {
|
|
77
|
+
--hero-bg: #f0e4d8;
|
|
78
|
+
--hero-deco: #d4a882;
|
|
79
|
+
--hero-deco2: #b87d50;
|
|
80
|
+
}
|
|
81
|
+
[data-theme="mist"] {
|
|
82
|
+
--hero-bg: #e2e8e8;
|
|
83
|
+
--hero-deco: #96b4b4;
|
|
84
|
+
--hero-deco2: #6a9898;
|
|
85
|
+
}
|
|
86
|
+
[data-theme="clay"] {
|
|
87
|
+
--hero-bg: #ede4dc;
|
|
88
|
+
--hero-deco: #c4a890;
|
|
89
|
+
--hero-deco2: #a07858;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Motion stops for a reader who asks (and for the render, which asks). */
|
|
93
|
+
@media (prefers-reduced-motion: reduce) {
|
|
94
|
+
*,
|
|
95
|
+
*::before,
|
|
96
|
+
*::after {
|
|
97
|
+
animation-duration: 0.01ms !important;
|
|
98
|
+
animation-iteration-count: 1 !important;
|
|
99
|
+
transition-duration: 0.01ms !important;
|
|
100
|
+
scroll-behavior: auto !important;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* Faces: written by `allyhub report style use`, their files in the project. */
|
|
105
|
+
/* @faces */
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"about": "Warm neutral pages on a soft tint, organic shapes behind a compact hero and the footer, Inter Tight with Noto Serif figures, Chart.js charts: AllyHub's own look for research reports",
|
|
3
|
+
"theme": "blue",
|
|
4
|
+
"faces": [
|
|
5
|
+
{
|
|
6
|
+
"package": "@fontsource-variable/inter-tight",
|
|
7
|
+
"css": ["wght.css", "wght-italic.css"]
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"package": "@fontsource/noto-serif",
|
|
11
|
+
"css": ["500.css", "500-italic.css"]
|
|
12
|
+
},
|
|
13
|
+
{ "package": "@fontsource/noto-sans-sc", "css": ["400.css", "700.css"] },
|
|
14
|
+
{ "package": "@fontsource/noto-color-emoji", "css": ["emoji.css"] }
|
|
15
|
+
],
|
|
16
|
+
"files": [{ "package": "chart.js", "path": "dist/chart.umd.min.js" }]
|
|
17
|
+
}
|