allyhub 0.10.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 +8 -0
- package/dist/commands/dev.js +2 -2
- package/dist/commands/frames/report.js +2 -0
- package/dist/commands/frames.js +11 -9
- package/dist/commands/render.js +2 -2
- package/dist/node_modules/@allyhub/3d-extension/dist/stage-routes.js +1 -1
- package/dist/node_modules/@allyhub/3d-extension/package.json +1 -1
- 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 +1 -1
- package/dist/node_modules/@allyhub/canvas-model/package.json +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.js +1 -1
- 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/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/html.js +15 -59
- package/dist/node_modules/@allyhub/doc/dist/page.js +1 -1
- 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 +12 -14
- 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/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-host/package.json +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/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 +1 -6
- 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/package.json +1 -1
- package/dist/node_modules/@allyhub/model/package.json +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/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 +12 -0
- package/dist/node_modules/@allyhub/piece/package.json +1 -1
- package/dist/node_modules/@allyhub/project/package.json +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +8 -0
- package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +4 -0
- package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +6 -0
- package/dist/node_modules/@allyhub/protocol/dist/editor.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +61 -1
- package/dist/node_modules/@allyhub/protocol/dist/frame.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +0 -1
- package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +41 -3
- 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 +12 -0
- package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/protocol/package.json +1 -5
- 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/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/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/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.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/export.js +2 -4
- package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
- 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 +3 -7
- 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 +3 -16
- package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +1 -1
- 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/install.js +1 -1
- 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 +14 -14
- package/dist/node_modules/@allyhub/stage-runtime/package.json +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 +2 -4
- package/dist/node_modules/@allyhub/video-measure/package.json +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/preview.js +5 -5
- package/dist/node_modules/@allyhub/website-extension/dist/project-tools.js +2 -2
- package/dist/node_modules/@allyhub/website-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/x-extension/dist/build.js +4 -3
- package/dist/node_modules/@allyhub/x-extension/package.json +10 -12
- package/dist/node_modules/@allyhub/x-model/package.json +1 -1
- package/dist/node_modules/@allyhub/x-view/package.json +1 -1
- package/dist/package.json +12 -10
- package/dist/works.js +1 -1
- package/editor-web/assets/{abnfDiagram-WEYOIA3C-CjAmWsNR.js → abnfDiagram-WEYOIA3C-BKmMA6gn.js} +1 -1
- package/editor-web/assets/{architecture-WOLXFQ4H-DeeKhyhZ.js → architecture-WOLXFQ4H-BEFBgb4k.js} +1 -1
- package/editor-web/assets/{architectureDiagram-ZHVYKT53-b32qTaJg.js → architectureDiagram-ZHVYKT53-_u5YfCjY.js} +1 -1
- package/editor-web/assets/{arrow-up-L4YV_65f.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-BFcM7G2L.js → audio-lines-CzuzsGjI.js} +1 -1
- package/editor-web/assets/{blockDiagram-RJAE7QA3-BNbnMNmw.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-BEuemvMw.js → c4Diagram-XDPPPE54-BfqLHB5i.js} +1 -1
- 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-Zb5nPx_e.js → chunk-2E7WHVMD-BVp1I_d0.js} +1 -1
- package/editor-web/assets/{chunk-4EMNKR2T-DSEM2reX.js → chunk-4EMNKR2T-CTdgWEMr.js} +1 -1
- package/editor-web/assets/{chunk-55XCU76K-BOZa_65H.js → chunk-55XCU76K-7pnsxeaP.js} +1 -1
- package/editor-web/assets/{chunk-7S6XSTFO-DeiGeVpB.js → chunk-7S6XSTFO-Dc0Dvkq7.js} +1 -1
- package/editor-web/assets/{chunk-AQDTSKZB-fPuQFBJc.js → chunk-AQDTSKZB-VAILIsfx.js} +1 -1
- package/editor-web/assets/{chunk-DSNLSHJZ-5vdnoak2.js → chunk-DSNLSHJZ-CUDx1Rv5.js} +1 -1
- package/editor-web/assets/{chunk-HAGFOTED-DFF2mZJ1.js → chunk-HAGFOTED-DAoEe-dJ.js} +1 -1
- package/editor-web/assets/{chunk-HNE4Q36P-g6-ZLbTg.js → chunk-HNE4Q36P-g0akya12.js} +1 -1
- package/editor-web/assets/{chunk-NQOKRVIF-o3hNcHMJ.js → chunk-NQOKRVIF-hTGjzXdJ.js} +1 -1
- package/editor-web/assets/{chunk-UHW7PFBP-BQiDI9dK.js → chunk-UHW7PFBP-BgLV8BIJ.js} +1 -1
- package/editor-web/assets/{chunk-VQ5W62QI-CJlMXWWz.js → chunk-VQ5W62QI-Bw19OOSD.js} +1 -1
- package/editor-web/assets/{chunk-WQQL4CDK-pNBU8dXv.js → chunk-WQQL4CDK-CMST9dyE.js} +1 -1
- package/editor-web/assets/{chunk-YZO67HFG-2x-BiWd-.js → chunk-YZO67HFG-Bbpu36XF.js} +1 -1
- package/editor-web/assets/{chunk-ZAUX2LTX-etFStEM8.js → chunk-ZAUX2LTX-C48Ri0Gs.js} +1 -1
- package/editor-web/assets/{chunk-ZCHMQSOR-B3AYRhIY.js → chunk-ZCHMQSOR-DN1g01Oe.js} +1 -1
- package/editor-web/assets/{classDiagram-v2-4MYWR3UA-6y2yX0oq.js → classDiagram-v2-4MYWR3UA-U6jbPr2d.js} +1 -1
- package/editor-web/assets/{collaborator-LRd0hELn.js → collaborator-B1u2td9m.js} +1 -1
- package/editor-web/assets/{createLucideIcon-CPS-TrJJ.js → createLucideIcon-GFZ_fxLc.js} +1 -1
- package/editor-web/assets/{cynefin-EF2NZ3EQ-CX4BTQQe.js → cynefin-EF2NZ3EQ-gzkai_7-.js} +1 -1
- package/editor-web/assets/{cynefinDiagram-WF24UDRP-LbDkOTy3.js → cynefinDiagram-WF24UDRP-DtSekSr6.js} +1 -1
- package/editor-web/assets/{dagre-NK4GIZVX-wCKQk7hi.js → dagre-NK4GIZVX-CiUwYVT6.js} +1 -1
- package/editor-web/assets/{diagram-CBK3MWTC-a9fofQwk.js → diagram-CBK3MWTC-r9XHCV-k.js} +1 -1
- package/editor-web/assets/{diagram-I5XIIV2D-UCLZWch5.js → diagram-I5XIIV2D-DxVsDZ34.js} +1 -1
- package/editor-web/assets/{diagram-ODIL2UCW-CAEe88Lp.js → diagram-ODIL2UCW-B0eNQoHV.js} +1 -1
- package/editor-web/assets/{diagram-PFBEJUXE-Cp1o45bs.js → diagram-PFBEJUXE-C7f2MfJT.js} +1 -1
- package/editor-web/assets/{diagram-RJA3I4VV-c6OVxDyq.js → diagram-RJA3I4VV-CSXcnvct.js} +1 -1
- package/editor-web/assets/{diagram-TYUNFSNR-BVRWslDM.js → diagram-TYUNFSNR-DXzOD_ii.js} +1 -1
- package/editor-web/assets/dist-BGRwhCQO.js +1 -0
- package/editor-web/assets/{dist-DwGhfliS.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-j6ZLVcgf.js → dist-CX-fiPSn.js} +16 -16
- 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-KdOTJgFu.js → ebnfDiagram-V4P3TTPT-Cs4YRvDD.js} +1 -1
- package/editor-web/assets/{elk-QONTBCTQ-Cmlrp7qB.js → elk-QONTBCTQ-Bh3LZ9WI.js} +1 -1
- package/editor-web/assets/{erDiagram-KYQIGQAA-CBM7-aQm.js → erDiagram-KYQIGQAA-C4vYTYXp.js} +1 -1
- package/editor-web/assets/{eventmodeling-K75KTNOO-CEoJkbuW.js → eventmodeling-K75KTNOO-BN1kkHWS.js} +1 -1
- package/editor-web/assets/flowDiagram-IUGLLWBU-B04NGsyi.js +1 -0
- package/editor-web/assets/{ganttDiagram-R7GPNTJY-D4S6ZSYD.js → ganttDiagram-R7GPNTJY-CA1LkkC5.js} +1 -1
- package/editor-web/assets/{gitGraph-VSP46ZUC-BvkL6RSh.js → gitGraph-VSP46ZUC-Dy5tA7dG.js} +1 -1
- package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-lTGguloH.js → gitGraphDiagram-PDYL7XHY-hJIB8EkH.js} +1 -1
- package/editor-web/assets/{hint-BimUgJms.js → hint-B8JpEypy.js} +1 -1
- package/editor-web/assets/index-CgB5osVc.js +28 -0
- package/editor-web/assets/index-Daytem9N.css +2 -0
- package/editor-web/assets/{info-OHQRW6UA-DvKzqNvp.js → info-OHQRW6UA-DvzSf7rQ.js} +1 -1
- package/editor-web/assets/{infoDiagram-MVDRKAX5-D7hCpehs.js → infoDiagram-MVDRKAX5-BjIMm4Af.js} +1 -1
- package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-Bg93sZQe.js → ishikawaDiagram-HPEHV2GE-Bpz71S40.js} +1 -1
- package/editor-web/assets/{italic-BQBwRTe8.js → italic-D10w8n6C.js} +1 -1
- package/editor-web/assets/{journeyDiagram-BOSHW7O7-CKm_KONJ.js → journeyDiagram-BOSHW7O7-DAB-pZjD.js} +1 -1
- package/editor-web/assets/{kanban-definition-FNSA4HC5-BKknnpTR.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-BzqkDnqL.js → mermaid-parser.core-req5LE0X.js} +3 -3
- package/editor-web/assets/{mermaid.core-CEpvTOAe.js → mermaid.core-zFwZug4C.js} +4 -4
- package/editor-web/assets/{mindmap-definition-6OY57UG3-BJ0qG8Wi.js → mindmap-definition-6OY57UG3-TStWb7DG.js} +1 -1
- package/editor-web/assets/minus-DaWs5i8B.js +1 -0
- package/editor-web/assets/{packet-JDAUHWVQ-ew3kvyFm.js → packet-JDAUHWVQ-smFhVKcB.js} +1 -1
- package/editor-web/assets/palette-BIOudGkm.js +1 -0
- package/editor-web/assets/{pegDiagram-ECIUJNBX-DqUS2xit.js → pegDiagram-ECIUJNBX-DvSNRv0-.js} +1 -1
- package/editor-web/assets/{pie-XZMESJXO-DTIAMPGm.js → pie-XZMESJXO-qjaGsBZG.js} +1 -1
- package/editor-web/assets/{pieDiagram-GNMPY74T-DoKOE02-.js → pieDiagram-GNMPY74T-Dd9P-Pdc.js} +1 -1
- package/editor-web/assets/play-CrMmPghG.js +1 -0
- package/editor-web/assets/{progress-CPEbDOoN.js → progress-DE4C5_3x.js} +1 -1
- package/editor-web/assets/props-form-CsmDBqzy.js +1 -0
- package/editor-web/assets/{quadrantDiagram-D57K4MC3-DauOpYun.js → quadrantDiagram-D57K4MC3-h2IIKUUA.js} +1 -1
- package/editor-web/assets/{radar-ABXABTNO-BvMJXUU-.js → radar-ABXABTNO-DlVrSA1d.js} +1 -1
- package/editor-web/assets/{railroad-I3PHUGI6-D3jdJmhM.js → railroad-I3PHUGI6-nFbuLAtc.js} +1 -1
- package/editor-web/assets/{railroad-abnf-LNEFI6M7-Dm8ZpmPj.js → railroad-abnf-LNEFI6M7-Daj8h2iV.js} +1 -1
- package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-oc0Du7Ag.js → railroad-ebnf-DWYD2UWJ-eYJyl5PH.js} +1 -1
- package/editor-web/assets/{railroad-peg-JR7BVNR7-CMrQL_7U.js → railroad-peg-JR7BVNR7-BTRhKZQq.js} +1 -1
- package/editor-web/assets/{railroadDiagram-Y72NRBL7-y99z0C7i.js → railroadDiagram-Y72NRBL7-CeLGUjdp.js} +1 -1
- package/editor-web/assets/{react-DztDSW4P.js → react-WA6wlt8S.js} +1 -1
- package/editor-web/assets/{repeat-2-DJi4LW5C.js → repeat-2-VQP1EVOZ.js} +1 -1
- package/editor-web/assets/{requirementDiagram-EQYSW5RA-jMr_uoF6.js → requirementDiagram-EQYSW5RA-Dmk9XRM5.js} +1 -1
- package/editor-web/assets/{row-ClBisiBs.js → row-BRlEWRrK.js} +1 -1
- package/editor-web/assets/{sankeyDiagram-SY24JHO5-DcUyx03Q.js → sankeyDiagram-SY24JHO5-Yn4zlrAM.js} +1 -1
- package/editor-web/assets/{schemas-68mjUjP5.js → schemas-VikZYZIK.js} +1 -1
- package/editor-web/assets/{sequenceDiagram-BLEHNHQU-R4X8wRCd.js → sequenceDiagram-BLEHNHQU-BTRnp_PW.js} +1 -1
- package/editor-web/assets/{session-2u9U7koW.js → session-Do9AqS38.js} +1 -1
- package/editor-web/assets/{slides-BByblSSR.js → slides-diTEQ3C5.js} +1 -1
- package/editor-web/assets/{snapshots-C9KV-Y2_.js → snapshots-BUGlKQIB.js} +1 -1
- package/editor-web/assets/{sound-DExlNJbb.js → sound-Bj3o9_Fa.js} +1 -1
- package/editor-web/assets/split-CNU1RHcX.js +3 -0
- package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-BqvXKbCA.js → stateDiagram-v2-A6IESKWZ-kstrRKv2.js} +1 -1
- package/editor-web/assets/{strikethrough-CyUBnGTl.js → strikethrough-CfXx6IYH.js} +1 -1
- package/editor-web/assets/{svg-lBRT-uhy.js → svg-Cx50MpxK.js} +1 -1
- package/editor-web/assets/{swatch-1c1uVn1z.js → swatch-WeJD41aW.js} +1 -1
- package/editor-web/assets/{swimlanes-B3ENRKFQ-hjTXIc6M.js → swimlanes-B3ENRKFQ-DaZsZkeP.js} +1 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-CBZAujYY.js +8 -0
- package/editor-web/assets/{switch-D0K-K8-C.js → switch-N0G_sbqt.js} +1 -1
- 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-CxxOnGLR.js → tabs-DIFDqj-l.js} +1 -1
- package/editor-web/assets/{textarea-Fu93tFO3.js → textarea-tEWvBY9p.js} +1 -1
- package/editor-web/assets/{timeline-definition-JXYKGLGB-BcSoN4Dq.js → timeline-definition-JXYKGLGB-CLCvY-Yf.js} +1 -1
- package/editor-web/assets/{trash-2-BAKAeziW.js → trash-2-BP6nqpg2.js} +1 -1
- package/editor-web/assets/{treeView-D4JQ5SDB-CsFN2jrc.js → treeView-D4JQ5SDB-BmN0gwdC.js} +1 -1
- package/editor-web/assets/{treemap-SAJKECNS-DP1eqXJ2.js → treemap-SAJKECNS-DN29G_E_.js} +1 -1
- package/editor-web/assets/{undo-2-DQ5CBmki.js → undo-2-CHR0nvWL.js} +1 -1
- package/editor-web/assets/{usecaseDiagram-WPOLBNNX-BGxa0osF.js → usecaseDiagram-WPOLBNNX-DTRS54cB.js} +1 -1
- package/editor-web/assets/{vennDiagram-Q3Y3IDCW-D2XhTF49.js → vennDiagram-Q3Y3IDCW-DAAc11Hx.js} +1 -1
- package/editor-web/assets/{video-CDbPX4Cr.js → video-BlvmR8BK.js} +1 -1
- package/editor-web/assets/{wardley-7MLQ67FV-DM3jMAbZ.js → wardley-7MLQ67FV-B-UYkmdB.js} +1 -1
- package/editor-web/assets/{wardleyDiagram-IVAIDKWA-Bf-DaZEg.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-dp-mdcWd.js → xychartDiagram-4URNHDU4-ChAfAq1U.js} +1 -1
- package/editor-web/index.html +6 -6
- package/package.json +8 -2
- package/dist/node_modules/@allyhub/protocol/dist/browser-bridge.d.ts +0 -337
- package/dist/node_modules/@allyhub/protocol/dist/browser-bridge.js +0 -2
- package/editor-web/assets/alt-DnBZJzEh.js +0 -4
- package/editor-web/assets/article-DLMjAdbP.js +0 -73
- package/editor-web/assets/button-Chk675Xu.js +0 -41
- package/editor-web/assets/channel-EzYq4r0d.js +0 -1
- package/editor-web/assets/chart-Be9Hj5GL.js +0 -1
- package/editor-web/assets/choice-BgmBh4yu.js +0 -1
- package/editor-web/assets/dist--KKyT5zP.js +0 -340
- package/editor-web/assets/dist-1k0MHB3i.js +0 -1
- package/editor-web/assets/dist-B9KHJqL5.js +0 -4
- package/editor-web/assets/dist-BbJyrhIY.js +0 -1
- package/editor-web/assets/dist-CJXCQxQM.js +0 -37
- package/editor-web/assets/dist-D9xQGwe9.js +0 -5
- package/editor-web/assets/dist-DFiLzbx8.js +0 -219
- package/editor-web/assets/dist-DIPV6xfF.js +0 -2
- package/editor-web/assets/dist-Dp-fQMtx.js +0 -6
- package/editor-web/assets/dist-Duw28VxJ.js +0 -16
- package/editor-web/assets/dist-OBE2IIYP.js +0 -24
- package/editor-web/assets/flowDiagram-IUGLLWBU-Xm2E2ib_.js +0 -1
- package/editor-web/assets/index-C-i_iuxN.js +0 -28
- package/editor-web/assets/index-Cxh_Shkm.css +0 -2
- package/editor-web/assets/minus-oPj1GxwA.js +0 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-BLfytmPY.js +0 -8
- package/editor-web/assets/syntax-Bih_jv7W.js +0 -1
|
@@ -0,0 +1,600 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* A LinkedIn post and article as LinkedIn's web lays them out
|
|
3
|
+
* (docs/design/linkedin.md §6): its sizes and colours, measured in the
|
|
4
|
+
* light theme; the dark theme (`data-theme="dark"` on a container) is
|
|
5
|
+
* LinkedIn's look by eye, not measured. Inter, the stage's pinned face,
|
|
6
|
+
* stands in for the system face LinkedIn draws in, so a picture is the
|
|
7
|
+
* same on every computer.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
.ak-li {
|
|
11
|
+
--ak-li-fg: rgba(0, 0, 0, 0.9);
|
|
12
|
+
--ak-li-muted: rgba(0, 0, 0, 0.6);
|
|
13
|
+
--ak-li-border: rgba(140, 140, 140, 0.2);
|
|
14
|
+
--ak-li-pill: rgba(140, 140, 140, 0.2);
|
|
15
|
+
--ak-li-card: #ffffff;
|
|
16
|
+
--ak-li-page: #f4f2ee;
|
|
17
|
+
--ak-li-link: #0a66c2;
|
|
18
|
+
--ak-li-quote: #56687a;
|
|
19
|
+
--ak-li-made: #eef3f8;
|
|
20
|
+
--ak-li-code: #f4f2ee;
|
|
21
|
+
--ak-li-over: #cb112d;
|
|
22
|
+
--ak-li-avatar: #0a66c2;
|
|
23
|
+
color: var(--ak-li-fg);
|
|
24
|
+
font-family:
|
|
25
|
+
"Inter Variable",
|
|
26
|
+
Inter,
|
|
27
|
+
-apple-system,
|
|
28
|
+
system-ui,
|
|
29
|
+
"Segoe UI",
|
|
30
|
+
Roboto,
|
|
31
|
+
Helvetica,
|
|
32
|
+
Arial,
|
|
33
|
+
"Noto Sans SC",
|
|
34
|
+
"Noto Color Emoji",
|
|
35
|
+
sans-serif;
|
|
36
|
+
font-size: 14px;
|
|
37
|
+
line-height: 20px;
|
|
38
|
+
width: 552px;
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ak-li[data-theme="dark"] {
|
|
43
|
+
--ak-li-fg: rgba(255, 255, 255, 0.9);
|
|
44
|
+
--ak-li-muted: rgba(255, 255, 255, 0.6);
|
|
45
|
+
--ak-li-border: rgba(140, 140, 140, 0.3);
|
|
46
|
+
--ak-li-pill: rgba(140, 140, 140, 0.3);
|
|
47
|
+
--ak-li-card: #1b1f23;
|
|
48
|
+
--ak-li-page: #000000;
|
|
49
|
+
--ak-li-link: #71b7fb;
|
|
50
|
+
--ak-li-quote: #a8b5c2;
|
|
51
|
+
--ak-li-made: #293138;
|
|
52
|
+
--ak-li-code: #293138;
|
|
53
|
+
--ak-li-avatar: #71b7fb;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.ak-li *,
|
|
57
|
+
.ak-li *::before,
|
|
58
|
+
.ak-li *::after {
|
|
59
|
+
box-sizing: border-box;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* An article's page: its column. */
|
|
63
|
+
.ak-li.ak-li-page {
|
|
64
|
+
width: 632px;
|
|
65
|
+
background: var(--ak-li-card);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* The post's card in the feed: 552 wide, a 1 px border, 8 px corners. */
|
|
69
|
+
.ak-li-post {
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
border: 1px solid var(--ak-li-border);
|
|
72
|
+
border-radius: 8px;
|
|
73
|
+
background: var(--ak-li-card);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.ak-li-author {
|
|
77
|
+
display: flex;
|
|
78
|
+
gap: 8px;
|
|
79
|
+
padding: 12px 16px 0 12px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.ak-li-avatar {
|
|
83
|
+
display: grid;
|
|
84
|
+
flex: none;
|
|
85
|
+
place-items: center;
|
|
86
|
+
border-radius: 9999px;
|
|
87
|
+
background: var(--ak-li-avatar);
|
|
88
|
+
color: var(--ak-li-card);
|
|
89
|
+
font-size: 20px;
|
|
90
|
+
font-weight: 600;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.ak-li-who {
|
|
94
|
+
display: flex;
|
|
95
|
+
min-width: 0;
|
|
96
|
+
flex-direction: column;
|
|
97
|
+
padding-top: 1px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.ak-li-name {
|
|
101
|
+
font-size: 16px;
|
|
102
|
+
font-weight: 600;
|
|
103
|
+
line-height: 20px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.ak-li-headline,
|
|
107
|
+
.ak-li-when {
|
|
108
|
+
overflow: hidden;
|
|
109
|
+
color: var(--ak-li-muted);
|
|
110
|
+
font-size: 12px;
|
|
111
|
+
line-height: 15px;
|
|
112
|
+
text-overflow: ellipsis;
|
|
113
|
+
white-space: nowrap;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.ak-li-when {
|
|
117
|
+
display: flex;
|
|
118
|
+
align-items: center;
|
|
119
|
+
gap: 4px;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.ak-li-when svg {
|
|
123
|
+
width: 14px;
|
|
124
|
+
height: 14px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/* Its words: 14 on 20, 12 px each side, 4 above and 8 below. */
|
|
128
|
+
.ak-li-words {
|
|
129
|
+
padding: 4px 12px 8px;
|
|
130
|
+
margin-top: 4px;
|
|
131
|
+
overflow-wrap: anywhere;
|
|
132
|
+
white-space: pre-wrap;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.ak-li-link {
|
|
136
|
+
color: var(--ak-li-link);
|
|
137
|
+
font-weight: 600;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.ak-li-more {
|
|
141
|
+
color: var(--ak-li-muted);
|
|
142
|
+
white-space: nowrap;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.ak-li-content {
|
|
146
|
+
position: relative;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.ak-li-single img,
|
|
150
|
+
.ak-li-content > img {
|
|
151
|
+
display: block;
|
|
152
|
+
width: 100%;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.ak-li-made {
|
|
156
|
+
display: grid;
|
|
157
|
+
min-height: 160px;
|
|
158
|
+
padding: 24px;
|
|
159
|
+
place-items: center;
|
|
160
|
+
background: var(--ak-li-made);
|
|
161
|
+
color: var(--ak-li-muted);
|
|
162
|
+
font-size: 14px;
|
|
163
|
+
text-align: center;
|
|
164
|
+
overflow-wrap: anywhere;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/* Pictures in the feed's grid, 3 px apart: the first large (two thirds), the others beside it, or under it when it is wide. */
|
|
168
|
+
.ak-li-grid {
|
|
169
|
+
display: grid;
|
|
170
|
+
gap: 3px;
|
|
171
|
+
aspect-ratio: 1;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.ak-li-grid[data-count="2"] {
|
|
175
|
+
grid-template-columns: 1fr 1fr;
|
|
176
|
+
aspect-ratio: 2;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.ak-li-grid[data-count="3"] {
|
|
180
|
+
grid-template-columns: 2fr 1fr;
|
|
181
|
+
grid-template-rows: 1fr 1fr;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.ak-li-grid[data-count="4"] {
|
|
185
|
+
grid-template-columns: 2fr 1fr;
|
|
186
|
+
grid-template-rows: 1fr 1fr 1fr;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.ak-li-grid[data-count="3"] > :first-child {
|
|
190
|
+
grid-row: 1 / 3;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.ak-li-grid[data-count="4"] > :first-child {
|
|
194
|
+
grid-row: 1 / 4;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.ak-li-grid[data-wide][data-count="3"] {
|
|
198
|
+
grid-template-columns: 1fr 1fr;
|
|
199
|
+
grid-template-rows: 2fr 1fr;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.ak-li-grid[data-wide][data-count="4"] {
|
|
203
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
204
|
+
grid-template-rows: 2fr 1fr;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.ak-li-grid[data-wide][data-count="3"] > :first-child {
|
|
208
|
+
grid-row: auto;
|
|
209
|
+
grid-column: 1 / 3;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.ak-li-grid[data-wide][data-count="4"] > :first-child {
|
|
213
|
+
grid-row: auto;
|
|
214
|
+
grid-column: 1 / 4;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.ak-li-cell {
|
|
218
|
+
position: relative;
|
|
219
|
+
min-width: 0;
|
|
220
|
+
min-height: 0;
|
|
221
|
+
overflow: hidden;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.ak-li-cell > img,
|
|
225
|
+
.ak-li-cell > .ak-li-made {
|
|
226
|
+
display: block;
|
|
227
|
+
width: 100%;
|
|
228
|
+
height: 100%;
|
|
229
|
+
min-height: 0;
|
|
230
|
+
object-fit: cover;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.ak-li-hidden {
|
|
234
|
+
position: absolute;
|
|
235
|
+
inset: 0;
|
|
236
|
+
display: grid;
|
|
237
|
+
place-items: center;
|
|
238
|
+
background: rgba(0, 0, 0, 0.55);
|
|
239
|
+
color: #ffffff;
|
|
240
|
+
font-size: 32px;
|
|
241
|
+
font-weight: 600;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/* A video before it plays: its frame, a play button, its length. */
|
|
245
|
+
.ak-li-video {
|
|
246
|
+
position: relative;
|
|
247
|
+
aspect-ratio: 16 / 9;
|
|
248
|
+
overflow: hidden;
|
|
249
|
+
background: #000000;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.ak-li-video video {
|
|
253
|
+
display: block;
|
|
254
|
+
width: 100%;
|
|
255
|
+
height: 100%;
|
|
256
|
+
object-fit: contain;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.ak-li-play {
|
|
260
|
+
position: absolute;
|
|
261
|
+
top: 50%;
|
|
262
|
+
left: 50%;
|
|
263
|
+
width: 64px;
|
|
264
|
+
height: 64px;
|
|
265
|
+
border-radius: 9999px;
|
|
266
|
+
background: rgba(0, 0, 0, 0.6);
|
|
267
|
+
transform: translate(-50%, -50%);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.ak-li-play::after {
|
|
271
|
+
position: absolute;
|
|
272
|
+
top: 50%;
|
|
273
|
+
left: 54%;
|
|
274
|
+
border-width: 12px 0 12px 20px;
|
|
275
|
+
border-style: solid;
|
|
276
|
+
border-color: transparent transparent transparent #ffffff;
|
|
277
|
+
content: "";
|
|
278
|
+
transform: translate(-50%, -50%);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.ak-li-clock {
|
|
282
|
+
position: absolute;
|
|
283
|
+
bottom: 8px;
|
|
284
|
+
left: 8px;
|
|
285
|
+
padding: 0 6px;
|
|
286
|
+
border-radius: 4px;
|
|
287
|
+
background: rgba(0, 0, 0, 0.6);
|
|
288
|
+
color: #ffffff;
|
|
289
|
+
font-size: 12px;
|
|
290
|
+
line-height: 20px;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/* A document: a bar with its title over its first page. */
|
|
294
|
+
.ak-li-document {
|
|
295
|
+
background: var(--ak-li-made);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.ak-li-doc-bar {
|
|
299
|
+
display: flex;
|
|
300
|
+
align-items: center;
|
|
301
|
+
height: 40px;
|
|
302
|
+
padding: 0 12px;
|
|
303
|
+
background: rgba(0, 0, 0, 0.75);
|
|
304
|
+
color: #ffffff;
|
|
305
|
+
font-size: 14px;
|
|
306
|
+
font-weight: 600;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.ak-li-doc-title {
|
|
310
|
+
overflow: hidden;
|
|
311
|
+
text-overflow: ellipsis;
|
|
312
|
+
white-space: nowrap;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.ak-li-document img {
|
|
316
|
+
display: block;
|
|
317
|
+
width: 100%;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.ak-li-doc-page {
|
|
321
|
+
display: flex;
|
|
322
|
+
min-height: 420px;
|
|
323
|
+
flex-direction: column;
|
|
324
|
+
align-items: center;
|
|
325
|
+
justify-content: center;
|
|
326
|
+
gap: 8px;
|
|
327
|
+
padding: 24px;
|
|
328
|
+
color: var(--ak-li-muted);
|
|
329
|
+
overflow-wrap: anywhere;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.ak-li-doc-page svg {
|
|
333
|
+
width: 40px;
|
|
334
|
+
height: 40px;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/* A link's card: its picture, then its title and site on the page's grey. */
|
|
338
|
+
.ak-li-card {
|
|
339
|
+
margin: 0 12px 8px;
|
|
340
|
+
overflow: hidden;
|
|
341
|
+
border: 1px solid var(--ak-li-border);
|
|
342
|
+
border-radius: 8px;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.ak-li-card-picture img,
|
|
346
|
+
.ak-li-card-picture .ak-li-made {
|
|
347
|
+
display: block;
|
|
348
|
+
width: 100%;
|
|
349
|
+
aspect-ratio: 1.91;
|
|
350
|
+
object-fit: cover;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.ak-li-card-text {
|
|
354
|
+
display: flex;
|
|
355
|
+
flex-direction: column;
|
|
356
|
+
gap: 2px;
|
|
357
|
+
padding: 8px 12px;
|
|
358
|
+
background: var(--ak-li-page);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.ak-li-card-title {
|
|
362
|
+
font-weight: 600;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.ak-li-card-site {
|
|
366
|
+
display: flex;
|
|
367
|
+
align-items: center;
|
|
368
|
+
gap: 4px;
|
|
369
|
+
color: var(--ak-li-muted);
|
|
370
|
+
font-size: 12px;
|
|
371
|
+
line-height: 16px;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.ak-li-card-site svg {
|
|
375
|
+
width: 12px;
|
|
376
|
+
height: 12px;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
/* A poll: its question, its options as buttons, its votes and time left. */
|
|
380
|
+
.ak-li-poll {
|
|
381
|
+
margin: 0 12px 8px;
|
|
382
|
+
padding: 12px 16px;
|
|
383
|
+
border: 1px solid var(--ak-li-border);
|
|
384
|
+
border-radius: 8px;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.ak-li-poll-question {
|
|
388
|
+
font-size: 16px;
|
|
389
|
+
font-weight: 600;
|
|
390
|
+
line-height: 20px;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.ak-li-poll-hint {
|
|
394
|
+
margin: 2px 0 8px;
|
|
395
|
+
color: var(--ak-li-muted);
|
|
396
|
+
font-size: 12px;
|
|
397
|
+
line-height: 15px;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.ak-li-option {
|
|
401
|
+
margin-top: 8px;
|
|
402
|
+
padding: 6px 16px;
|
|
403
|
+
border: 1px solid var(--ak-li-link);
|
|
404
|
+
border-radius: 9999px;
|
|
405
|
+
color: var(--ak-li-link);
|
|
406
|
+
font-size: 16px;
|
|
407
|
+
font-weight: 600;
|
|
408
|
+
line-height: 20px;
|
|
409
|
+
text-align: center;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.ak-li-poll-foot {
|
|
413
|
+
margin-top: 12px;
|
|
414
|
+
color: var(--ak-li-muted);
|
|
415
|
+
font-size: 12px;
|
|
416
|
+
line-height: 15px;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
/* What people do with a post (measured): 20 px icons in a row 44 high, 48 px apart, from 16 px in. */
|
|
420
|
+
.ak-li-actions {
|
|
421
|
+
display: flex;
|
|
422
|
+
align-items: center;
|
|
423
|
+
gap: 28px;
|
|
424
|
+
height: 44px;
|
|
425
|
+
padding: 0 24px;
|
|
426
|
+
color: var(--ak-li-muted);
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.ak-li-actions svg {
|
|
430
|
+
width: 20px;
|
|
431
|
+
height: 20px;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/* An article's page: the cover across the column, the title 32 / 38.4 inset 24, the body 16 / 24. */
|
|
435
|
+
.ak-li-article {
|
|
436
|
+
padding-bottom: 32px;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.ak-li-a-cover img,
|
|
440
|
+
.ak-li-a-cover .ak-li-video {
|
|
441
|
+
display: block;
|
|
442
|
+
width: 100%;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.ak-li-a-title {
|
|
446
|
+
margin: 16px 24px;
|
|
447
|
+
font-size: 32px;
|
|
448
|
+
font-weight: 600;
|
|
449
|
+
line-height: 38.4px;
|
|
450
|
+
overflow-wrap: anywhere;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.ak-li-a-by {
|
|
454
|
+
display: flex;
|
|
455
|
+
align-items: center;
|
|
456
|
+
gap: 8px;
|
|
457
|
+
margin: 0 24px 32px;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.ak-li-a-tools {
|
|
461
|
+
display: flex;
|
|
462
|
+
gap: 12px;
|
|
463
|
+
margin-left: auto;
|
|
464
|
+
color: var(--ak-li-muted);
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.ak-li-a-tools svg {
|
|
468
|
+
width: 20px;
|
|
469
|
+
height: 20px;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.ak-li-a-body {
|
|
473
|
+
font-size: 16px;
|
|
474
|
+
line-height: 24px;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
.ak-li-a-body > p {
|
|
478
|
+
margin: 0 0 32px;
|
|
479
|
+
overflow-wrap: anywhere;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.ak-li-a-body > h2 {
|
|
483
|
+
margin: 0 0 16px;
|
|
484
|
+
font-size: 24px;
|
|
485
|
+
font-weight: 600;
|
|
486
|
+
line-height: 30px;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.ak-li-a-body > h3 {
|
|
490
|
+
margin: 0 0 16px;
|
|
491
|
+
font-size: 20px;
|
|
492
|
+
font-weight: 600;
|
|
493
|
+
line-height: 25px;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.ak-li-a-body strong {
|
|
497
|
+
font-weight: 600;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.ak-li-a-link {
|
|
501
|
+
color: var(--ak-li-link);
|
|
502
|
+
font-weight: 600;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.ak-li-a-body > ul,
|
|
506
|
+
.ak-li-a-body > ol {
|
|
507
|
+
margin: 0 0 32px;
|
|
508
|
+
padding-left: 32px;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.ak-li-a-body > ul {
|
|
512
|
+
list-style: disc;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.ak-li-a-body > ol {
|
|
516
|
+
list-style: decimal;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.ak-li-a-body li {
|
|
520
|
+
margin-bottom: 8px;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.ak-li-a-body > blockquote {
|
|
524
|
+
margin: 0 0 32px;
|
|
525
|
+
padding-left: 16px;
|
|
526
|
+
border-left: 4px solid var(--ak-li-quote);
|
|
527
|
+
color: var(--ak-li-quote);
|
|
528
|
+
font-size: 20px;
|
|
529
|
+
line-height: 25px;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
.ak-li-a-body > pre {
|
|
533
|
+
margin: 0 0 32px;
|
|
534
|
+
padding: 16px;
|
|
535
|
+
overflow-x: auto;
|
|
536
|
+
border-radius: 8px;
|
|
537
|
+
background: var(--ak-li-code);
|
|
538
|
+
font-family: "SF Mono", Menlo, Consolas, monospace;
|
|
539
|
+
font-size: 14px;
|
|
540
|
+
line-height: 20px;
|
|
541
|
+
white-space: pre;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.ak-li-a-body > hr {
|
|
545
|
+
margin: 0 0 32px;
|
|
546
|
+
border: none;
|
|
547
|
+
border-top: 1px solid var(--ak-li-border);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.ak-li-a-body > figure {
|
|
551
|
+
margin: 0 0 32px;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.ak-li-a-body > figure img {
|
|
555
|
+
display: block;
|
|
556
|
+
width: 100%;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.ak-li-a-body figcaption {
|
|
560
|
+
margin-top: 8px;
|
|
561
|
+
color: var(--ak-li-muted);
|
|
562
|
+
font-size: 14px;
|
|
563
|
+
line-height: 20px;
|
|
564
|
+
text-align: center;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.ak-li-embed {
|
|
568
|
+
display: flex;
|
|
569
|
+
align-items: center;
|
|
570
|
+
gap: 12px;
|
|
571
|
+
margin: 0 0 32px;
|
|
572
|
+
padding: 16px;
|
|
573
|
+
border: 1px solid var(--ak-li-border);
|
|
574
|
+
border-radius: 8px;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
.ak-li-embed svg {
|
|
578
|
+
flex: none;
|
|
579
|
+
width: 32px;
|
|
580
|
+
height: 32px;
|
|
581
|
+
color: var(--ak-li-muted);
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.ak-li-embed-text {
|
|
585
|
+
display: flex;
|
|
586
|
+
min-width: 0;
|
|
587
|
+
flex-direction: column;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.ak-li-embed-site {
|
|
591
|
+
font-weight: 600;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
.ak-li-embed-url {
|
|
595
|
+
overflow: hidden;
|
|
596
|
+
color: var(--ak-li-muted);
|
|
597
|
+
font-size: 12px;
|
|
598
|
+
text-overflow: ellipsis;
|
|
599
|
+
white-space: nowrap;
|
|
600
|
+
}
|
|
@@ -110,6 +110,8 @@ export interface StageContext {
|
|
|
110
110
|
code: string;
|
|
111
111
|
message: string;
|
|
112
112
|
level?: "error" | "warn";
|
|
113
|
+
/** A fact of the page drawing it (its browser), not of the piece (`Problem.ofPage`). */
|
|
114
|
+
ofPage?: true;
|
|
113
115
|
}): void;
|
|
114
116
|
/**
|
|
115
117
|
* The caption cues shown in this part, on its own clock (seconds from
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
export{consoleAt,consoleAtAsync,consoleLog,consoleParts,installConsole,resetConsole}from"./console.js";export{locateLayers}from"./locate.js";
|
|
2
|
+
export{consoleAt,consoleAtAsync,consoleLog,consoleParts,installConsole,resetConsole}from"./console.js";export{locateLayers,pickLayer}from"./locate.js";
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
import { type NoteShape } from "@allyhub/formats";
|
|
2
|
-
import type { LocatedLayer } from "../stage.js";
|
|
2
|
+
import type { LocatedLayer, PickedLayer } from "../stage.js";
|
|
3
3
|
export declare function locateLayers(root: ParentNode, mark: NoteShape): LocatedLayer[];
|
|
4
|
+
/**
|
|
5
|
+
* The one thing in front at a point of the stage (px of its window), as a
|
|
6
|
+
* browser's inspector finds the element under the pointer: the first
|
|
7
|
+
* element there, front to back, that shows and draws something of its own,
|
|
8
|
+
* in a layer or a footage. A piece of a run of words (a letter or a word
|
|
9
|
+
* in its own span, for its motion) is its run. Its edge is a box with room
|
|
10
|
+
* round it (`edgeOf`): the element's own, turned with it, where it paints
|
|
11
|
+
* one or is a picture; else the box round its words.
|
|
12
|
+
*/
|
|
13
|
+
export declare function pickLayer(doc: Document, at: {
|
|
14
|
+
x: number;
|
|
15
|
+
y: number;
|
|
16
|
+
}): PickedLayer | undefined;
|
|
4
17
|
//# sourceMappingURL=locate.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{touches as
|
|
2
|
+
import{touches as $}from"@allyhub/formats";import{LAYER_NAME as C}from"../layer.js";const A=3,E=120,T=t=>t.width*t.height;function S(t){if(t instanceof HTMLImageElement||t instanceof HTMLVideoElement||t instanceof HTMLCanvasElement||t instanceof SVGElement||k(t)!=="")return!0;const e=getComputedStyle(t);return e.backgroundColor!=="transparent"&&!/^rgba\(.*,\s*0\)$/u.test(e.backgroundColor)||e.backgroundImage!=="none"||parseFloat(e.borderTopWidth)+parseFloat(e.borderRightWidth)+parseFloat(e.borderBottomWidth)+parseFloat(e.borderLeftWidth)>0}const m=t=>t.closest("[data-ak-piece]")?.dataset.akPiece;function k(t){return[...t.childNodes].filter(e=>e.nodeType===Node.TEXT_NODE).map(e=>e.textContent).join("").trim()}export function locateLayers(t,e){const r=i=>i.width>0&&i.height>0&&$(e,i),d=[],s=[];for(const i of t.querySelectorAll(".ak-layer")){if(!i.checkVisibility({opacityProperty:!0,visibilityProperty:!0})||!r(i.getBoundingClientRect())||![i,...i.querySelectorAll("*")].filter(f=>r(f.getBoundingClientRect())).some(S))continue;const c=i.getAttribute(C)??void 0,a=m(i),l={part:i.closest(".ak-part")?.dataset.key??"",layer:i.dataset.component??"",...c===void 0||c===""?{}:{key:c},...a===void 0?{}:{piece:a}};let y;for(const f of[i,...i.querySelectorAll("*")]){const p=f.getBoundingClientRect();!r(p)||k(f)===""&&!f.hasAttribute("data-ak")||(!y||T(p)<T(y.getBoundingClientRect()))&&(y=f)}if(!y){s.push(l);continue}const x=y.closest("[data-ak]")?.getAttribute("data-ak"),h=k(y).slice(0,E);d.push({...l,...x?{name:x}:{},...h===""?{}:{text:h}})}const o=[];for(const i of t.querySelectorAll(".ak-footage")){const u=i.dataset.akFile,c=(i.querySelector("video")??i).checkVisibility({opacityProperty:!0,visibilityProperty:!0});if(u===void 0||!c||!r(i.getBoundingClientRect()))continue;const a=m(i);o.push({part:i.dataset.akPart??"",layer:"footage",file:u,...a===void 0?{}:{piece:a}})}return[...d,...o,...s].slice(0,A)}const v=t=>t.checkVisibility({opacityProperty:!0,visibilityProperty:!0});function M(t){if(t instanceof HTMLImageElement||t instanceof HTMLVideoElement||t instanceof HTMLCanvasElement||t instanceof SVGElement)return!0;const e=getComputedStyle(t);return e.backgroundColor!=="transparent"&&!/^rgba\(.*,\s*0\)$/u.test(e.backgroundColor)||e.backgroundImage!=="none"||parseFloat(e.borderTopWidth)+parseFloat(e.borderRightWidth)+parseFloat(e.borderBottomWidth)+parseFloat(e.borderLeftWidth)>0}const R={px:2,share:.02};function L(t){if(!(t instanceof HTMLElement)||!t.parentElement)return;const e=t.getBoundingClientRect(),r=getComputedStyle(t),d=t.ownerDocument,s=d.createElement("div");s.style.cssText=["position:absolute","margin:0","padding:0","border:0","box-sizing:border-box","visibility:hidden","pointer-events:none",`left:${String(t.offsetLeft)}px`,`top:${String(t.offsetTop)}px`,`width:${String(t.offsetWidth)}px`,`height:${String(t.offsetHeight)}px`,`transform:${r.transform}`,`transform-origin:${r.transformOrigin}`,`rotate:${r.rotate}`,`scale:${r.scale}`,`translate:${r.translate}`].join(";");const o=(f,p)=>{const g=d.createElement("div");return g.style.cssText=`position:absolute;width:0;height:0;left:${f};top:${p}`,s.append(g),g},i=[o("0","0"),o("100%","0"),o("0","100%")];t.after(s);let u;try{u=i.map(f=>{const p=f.getBoundingClientRect();return{x:p.x,y:p.y}})}finally{s.remove()}const[n,c,a]=u;if(!n||!c||!a)return;const l={x:c.x+a.x-n.x,y:c.y+a.y-n.y},y=[n.x,c.x,a.x,l.x],x=[n.y,c.y,a.y,l.y],h=(f,p,g)=>Math.abs(f-p)>Math.max(R.px,g*R.share);if(!(h(Math.min(...y),e.left,e.width)||h(Math.max(...y),e.right,e.width)||h(Math.min(...x),e.top,e.height)||h(Math.max(...x),e.bottom,e.height)))return{o:n,a:c,b:a}}const F=t=>Math.abs(t.a.y-t.o.y)<.5&&Math.abs(t.b.x-t.o.x)<.5,b={share:.008,least:3};function B(t){const e=t.ownerDocument.defaultView,r=Math.max(b.least,Math.min(e?.innerWidth??0,e?.innerHeight??0)*b.share);let d,s,o;const i=L(t),u=t instanceof SVGGraphicsElement?t.getScreenCTM():null;if(i)({o:d,a:s,b:o}=i);else if(t instanceof SVGGraphicsElement&&u){const n=t.getBBox(),c=getComputedStyle(t),a=c.stroke==="none"?0:(parseFloat(c.strokeWidth)||0)/2,l=(y,x)=>{const h=new DOMPoint(y,x).matrixTransform(u);return{x:h.x,y:h.y}};d=l(n.x-a,n.y-a),s=l(n.x+n.width+a,n.y-a),o=l(n.x-a,n.y+n.height+a)}else{const n=t.getBoundingClientRect();d={x:n.left,y:n.top},s={x:n.right,y:n.top},o={x:n.left,y:n.bottom}}return[W(d,s,o,r)]}function W(t,e,r,d){const s=(n,c)=>{const a=Math.hypot(c.x-n.x,c.y-n.y)||1;return{x:(c.x-n.x)/a*d,y:(c.y-n.y)/a*d}},o=s(t,e),i=s(t,r),u={x:e.x+r.x-t.x,y:e.y+r.y-t.y};return[{x:t.x-o.x-i.x,y:t.y-o.y-i.y},{x:e.x+o.x-i.x,y:e.y+o.y-i.y},{x:u.x+o.x+i.x,y:u.y+o.y+i.y},{x:r.x-o.x+i.x,y:r.y-o.y+i.y}]}function H(t){const e=t.ownerDocument.createRange();e.selectNodeContents(t);const r=[...e.getClientRects()].filter(o=>o.width>0&&o.height>0);if(r.length===0)return;const d=Math.min(...r.map(o=>o.left)),s=Math.min(...r.map(o=>o.top));return{x:d,y:s,width:Math.max(...r.map(o=>o.right))-d,height:Math.max(...r.map(o=>o.bottom))-s}}export function pickLayer(t,e){const r=t.createElement("style");r.textContent="* { pointer-events: auto !important; }",t.head.append(r);let d;try{d=t.elementsFromPoint(e.x,e.y)}finally{r.remove()}for(const s of d){const o=s.closest(".ak-footage"),i=o?.dataset.akFile;if(o&&i!==void 0){if(!v(o.querySelector("video")??o))continue;const w=m(o);return{part:o.dataset.akPart??"",layer:"footage",file:i,...w===void 0?{}:{piece:w},outline:B(o)}}const u=s.closest(".ak-layer");if(!u||!v(s)||!S(s))continue;let n=s;for(;n!==u&&n.parentElement&&getComputedStyle(n).display.startsWith("inline")&&!M(n);)n=n.parentElement;const c=M(n)?void 0:L(n),a=c!==void 0&&!F(c),l=M(n)||a?void 0:H(n),y=t.defaultView,x=l?[W({x:l.x,y:l.y},{x:l.x+l.width,y:l.y},{x:l.x,y:l.y+l.height},Math.max(b.least,Math.min(y?.innerWidth??0,y?.innerHeight??0)*b.share))]:B(n),h=u.getAttribute(C)??void 0,f=m(u),p=n.closest("[data-ak]")?.getAttribute("data-ak"),g=(n instanceof HTMLElement?n.innerText:n.textContent).trim().replace(/\s+/gu," ");return{part:u.closest(".ak-part")?.dataset.key??"",layer:u.dataset.component??"",...h===void 0||h===""?{}:{key:h},...f===void 0?{}:{piece:f},...p?{name:p}:{},...g===""?{}:{text:g.slice(0,E)},outline:x}}}
|