@m0saic/templates 0.2.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/LICENSE +13 -0
- package/README.md +7 -0
- package/dist/freeze.d.ts +406 -0
- package/dist/freeze.js +855 -0
- package/dist/gen-geometry-matrix.d.ts +1 -0
- package/dist/gen-geometry-matrix.js +177 -0
- package/dist/gen-geometry-proof.d.ts +1 -0
- package/dist/gen-geometry-proof.js +259 -0
- package/dist/gen-layout-envelope.d.ts +1 -0
- package/dist/gen-layout-envelope.js +120 -0
- package/dist/gen-precision-sweep.d.ts +1 -0
- package/dist/gen-precision-sweep.js +219 -0
- package/dist/gen-props-shape.d.ts +1 -0
- package/dist/gen-props-shape.js +269 -0
- package/dist/gen-template-audit.d.ts +1 -0
- package/dist/gen-template-audit.js +379 -0
- package/dist/gen-template-manifest.d.ts +1 -0
- package/dist/gen-template-manifest.js +162 -0
- package/dist/gen-web-template-ids.d.ts +1 -0
- package/dist/gen-web-template-ids.js +65 -0
- package/dist/geometry-audit.d.ts +149 -0
- package/dist/geometry-audit.js +368 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +29 -0
- package/dist/m0saic/_shared/onboarding-cover.d.ts +95 -0
- package/dist/m0saic/_shared/onboarding-cover.js +247 -0
- package/dist/m0saic/_shared/raster.d.ts +28 -0
- package/dist/m0saic/_shared/raster.js +146 -0
- package/dist/m0saic/_shared/svgRaster.d.ts +40 -0
- package/dist/m0saic/_shared/svgRaster.js +142 -0
- package/dist/m0saic/agents/commit-feed/index.d.ts +1 -0
- package/dist/m0saic/agents/commit-feed/index.js +17 -0
- package/dist/m0saic/agents/commit-feed/v1/commit-feed.d.ts +68 -0
- package/dist/m0saic/agents/commit-feed/v1/commit-feed.js +293 -0
- package/dist/m0saic/agents/commit-feed/v1/index.d.ts +2 -0
- package/dist/m0saic/agents/commit-feed/v1/index.js +11 -0
- package/dist/m0saic/agents/index.d.ts +7 -0
- package/dist/m0saic/agents/index.js +25 -0
- package/dist/m0saic/agents/trace-timeline/index.d.ts +1 -0
- package/dist/m0saic/agents/trace-timeline/index.js +17 -0
- package/dist/m0saic/agents/trace-timeline/v1/index.d.ts +2 -0
- package/dist/m0saic/agents/trace-timeline/v1/index.js +15 -0
- package/dist/m0saic/agents/trace-timeline/v1/trace-timeline.d.ts +73 -0
- package/dist/m0saic/agents/trace-timeline/v1/trace-timeline.js +356 -0
- package/dist/m0saic/alpine/_shared/alpine-anim.d.ts +65 -0
- package/dist/m0saic/alpine/_shared/alpine-anim.js +142 -0
- package/dist/m0saic/alpine/_shared/alpine-card.d.ts +114 -0
- package/dist/m0saic/alpine/_shared/alpine-card.js +193 -0
- package/dist/m0saic/alpine/_shared/alpine-glyphs.d.ts +23 -0
- package/dist/m0saic/alpine/_shared/alpine-glyphs.js +46 -0
- package/dist/m0saic/alpine/_shared/alpine-theme.d.ts +84 -0
- package/dist/m0saic/alpine/_shared/alpine-theme.js +155 -0
- package/dist/m0saic/alpine/bar-graph/v1/bar-graph.d.ts +85 -0
- package/dist/m0saic/alpine/bar-graph/v1/bar-graph.js +558 -0
- package/dist/m0saic/alpine/bar-graph/v1/index.d.ts +5 -0
- package/dist/m0saic/alpine/bar-graph/v1/index.js +9 -0
- package/dist/m0saic/alpine/commit-feed/v1/commit-feed.d.ts +64 -0
- package/dist/m0saic/alpine/commit-feed/v1/commit-feed.js +261 -0
- package/dist/m0saic/alpine/commit-feed/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/commit-feed/v1/index.js +5 -0
- package/dist/m0saic/alpine/commit-feed/v2/commit-feed.d.ts +78 -0
- package/dist/m0saic/alpine/commit-feed/v2/commit-feed.js +509 -0
- package/dist/m0saic/alpine/commit-feed/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/commit-feed/v2/index.js +5 -0
- package/dist/m0saic/alpine/contributor-table/v1/assets/README.md +13 -0
- package/dist/m0saic/alpine/contributor-table/v1/assets/layout-lite.m0 +9 -0
- package/dist/m0saic/alpine/contributor-table/v1/assets/layout-standard.m0 +9 -0
- package/dist/m0saic/alpine/contributor-table/v1/contributor-table.d.ts +76 -0
- package/dist/m0saic/alpine/contributor-table/v1/contributor-table.js +651 -0
- package/dist/m0saic/alpine/contributor-table/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/contributor-table/v1/index.js +5 -0
- package/dist/m0saic/alpine/donut/v1/donut.d.ts +55 -0
- package/dist/m0saic/alpine/donut/v1/donut.js +322 -0
- package/dist/m0saic/alpine/donut/v1/index.d.ts +5 -0
- package/dist/m0saic/alpine/donut/v1/index.js +9 -0
- package/dist/m0saic/alpine/donut/v2/donut.d.ts +58 -0
- package/dist/m0saic/alpine/donut/v2/donut.js +268 -0
- package/dist/m0saic/alpine/donut/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/donut/v2/index.js +5 -0
- package/dist/m0saic/alpine/donut/v3/donut.d.ts +65 -0
- package/dist/m0saic/alpine/donut/v3/donut.js +428 -0
- package/dist/m0saic/alpine/donut/v3/index.d.ts +1 -0
- package/dist/m0saic/alpine/donut/v3/index.js +5 -0
- package/dist/m0saic/alpine/heatmap/v1/heatmap.d.ts +68 -0
- package/dist/m0saic/alpine/heatmap/v1/heatmap.js +370 -0
- package/dist/m0saic/alpine/heatmap/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/heatmap/v1/index.js +5 -0
- package/dist/m0saic/alpine/heatmap/v2/heatmap.d.ts +73 -0
- package/dist/m0saic/alpine/heatmap/v2/heatmap.js +582 -0
- package/dist/m0saic/alpine/heatmap/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/heatmap/v2/index.js +5 -0
- package/dist/m0saic/alpine/index.d.ts +20 -0
- package/dist/m0saic/alpine/index.js +37 -0
- package/dist/m0saic/alpine/kpi-card/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/kpi-card/v1/index.js +5 -0
- package/dist/m0saic/alpine/kpi-card/v1/kpi-card.d.ts +54 -0
- package/dist/m0saic/alpine/kpi-card/v1/kpi-card.js +311 -0
- package/dist/m0saic/alpine/kpi-card/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/kpi-card/v2/index.js +5 -0
- package/dist/m0saic/alpine/kpi-card/v2/kpi-card.d.ts +60 -0
- package/dist/m0saic/alpine/kpi-card/v2/kpi-card.js +362 -0
- package/dist/m0saic/alpine/leaderboard/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/leaderboard/v1/index.js +5 -0
- package/dist/m0saic/alpine/leaderboard/v1/leaderboard.d.ts +58 -0
- package/dist/m0saic/alpine/leaderboard/v1/leaderboard.js +313 -0
- package/dist/m0saic/alpine/line-chart/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/line-chart/v1/index.js +5 -0
- package/dist/m0saic/alpine/line-chart/v1/line-chart.d.ts +70 -0
- package/dist/m0saic/alpine/line-chart/v1/line-chart.js +408 -0
- package/dist/m0saic/alpine/line-chart/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/line-chart/v2/index.js +5 -0
- package/dist/m0saic/alpine/line-chart/v2/line-chart.d.ts +72 -0
- package/dist/m0saic/alpine/line-chart/v2/line-chart.js +434 -0
- package/dist/m0saic/alpine/progress-card/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/progress-card/v1/index.js +5 -0
- package/dist/m0saic/alpine/progress-card/v1/progress-card.d.ts +53 -0
- package/dist/m0saic/alpine/progress-card/v1/progress-card.js +333 -0
- package/dist/m0saic/alpine/stat-card/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/stat-card/v1/index.js +5 -0
- package/dist/m0saic/alpine/stat-card/v1/stat-card.d.ts +76 -0
- package/dist/m0saic/alpine/stat-card/v1/stat-card.js +295 -0
- package/dist/m0saic/alpine/timeline/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/timeline/v1/index.js +5 -0
- package/dist/m0saic/alpine/timeline/v1/timeline.d.ts +55 -0
- package/dist/m0saic/alpine/timeline/v1/timeline.js +266 -0
- package/dist/m0saic/alpine/timeline/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/timeline/v2/index.js +5 -0
- package/dist/m0saic/alpine/timeline/v2/timeline.d.ts +61 -0
- package/dist/m0saic/alpine/timeline/v2/timeline.js +371 -0
- package/dist/m0saic/alpine/treemap/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/treemap/v1/index.js +5 -0
- package/dist/m0saic/alpine/treemap/v1/treemap.d.ts +56 -0
- package/dist/m0saic/alpine/treemap/v1/treemap.js +326 -0
- package/dist/m0saic/alpine/treemap/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/treemap/v2/index.js +5 -0
- package/dist/m0saic/alpine/treemap/v2/treemap.d.ts +59 -0
- package/dist/m0saic/alpine/treemap/v2/treemap.js +323 -0
- package/dist/m0saic/benchmark/battery/assets/media/README.md +16 -0
- package/dist/m0saic/benchmark/battery/assets/media/bbb-av.mp4 +0 -0
- package/dist/m0saic/benchmark/battery/assets/media/bbb-clip-01.mp4 +0 -0
- package/dist/m0saic/benchmark/battery/assets/media/bbb-clip-02.mp4 +0 -0
- package/dist/m0saic/benchmark/battery/assets/media/bbb-clip-03.mp4 +0 -0
- package/dist/m0saic/benchmark/battery/assets/media/bbb-clip-04.mp4 +0 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/duration-long.mosaic +80 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/encoders-base.mosaic +32 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/geometry-grid.mosaic +592 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/lifetime-window-fade.mosaic +28 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/real-bar-graph.mosaic +1980 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/real-donut.mosaic +797 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/real-screencap-grid.mosaic +4591 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/real-stat-card.mosaic +187 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-audio.mosaic +31 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-lavfi.mosaic +32 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-media.mosaic +73 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-nested.mosaic +48 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-ref.mosaic +24 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-text.mosaic +120 -0
- package/dist/m0saic/benchmark/battery/manifest.d.ts +65 -0
- package/dist/m0saic/benchmark/battery/manifest.js +97 -0
- package/dist/m0saic/benchmark/index.d.ts +2 -0
- package/dist/m0saic/benchmark/index.js +22 -0
- package/dist/m0saic/benchmark/report/v1/assets/m-logo.png +0 -0
- package/dist/m0saic/benchmark/report/v1/assets/sample-session/benchmark.json +41 -0
- package/dist/m0saic/benchmark/report/v1/index.d.ts +1 -0
- package/dist/m0saic/benchmark/report/v1/index.js +17 -0
- package/dist/m0saic/benchmark/report/v1/report.d.ts +23 -0
- package/dist/m0saic/benchmark/report/v1/report.js +242 -0
- package/dist/m0saic/benchmark/run/v1/benchmarkRun.d.ts +57 -0
- package/dist/m0saic/benchmark/run/v1/benchmarkRun.js +151 -0
- package/dist/m0saic/benchmark/run/v1/confirmation.d.ts +11 -0
- package/dist/m0saic/benchmark/run/v1/confirmation.js +48 -0
- package/dist/m0saic/benchmark/run/v1/index.d.ts +1 -0
- package/dist/m0saic/benchmark/run/v1/index.js +17 -0
- package/dist/m0saic/benchmark/run/v1/renderScenario.d.ts +12 -0
- package/dist/m0saic/benchmark/run/v1/renderScenario.js +122 -0
- package/dist/m0saic/benchmark/run/v1/runner.d.ts +10 -0
- package/dist/m0saic/benchmark/run/v1/runner.js +208 -0
- package/dist/m0saic/brand/business-card/v1/back-catalog.d.ts +68 -0
- package/dist/m0saic/brand/business-card/v1/back-catalog.js +121 -0
- package/dist/m0saic/brand/business-card/v1/business-card.d.ts +82 -0
- package/dist/m0saic/brand/business-card/v1/business-card.js +517 -0
- package/dist/m0saic/brand/business-card/v1/index.d.ts +4 -0
- package/dist/m0saic/brand/business-card/v1/index.js +16 -0
- package/dist/m0saic/brand/business-card/v1/layout.d.ts +163 -0
- package/dist/m0saic/brand/business-card/v1/layout.js +369 -0
- package/dist/m0saic/brand/community-m/v1/camera.d.ts +45 -0
- package/dist/m0saic/brand/community-m/v1/camera.js +44 -0
- package/dist/m0saic/brand/community-m/v1/caption.d.ts +5 -0
- package/dist/m0saic/brand/community-m/v1/caption.js +18 -0
- package/dist/m0saic/brand/community-m/v1/community-m.d.ts +25 -0
- package/dist/m0saic/brand/community-m/v1/community-m.js +117 -0
- package/dist/m0saic/brand/community-m/v1/community-m.web.d.ts +3 -0
- package/dist/m0saic/brand/community-m/v1/community-m.web.js +172 -0
- package/dist/m0saic/brand/community-m/v1/gen-seed-piece.d.ts +1 -0
- package/dist/m0saic/brand/community-m/v1/gen-seed-piece.js +59 -0
- package/dist/m0saic/brand/community-m/v1/geometry.d.ts +44 -0
- package/dist/m0saic/brand/community-m/v1/geometry.js +68 -0
- package/dist/m0saic/brand/community-m/v1/imageSize.node.d.ts +3 -0
- package/dist/m0saic/brand/community-m/v1/imageSize.node.js +60 -0
- package/dist/m0saic/brand/community-m/v1/index.d.ts +1 -0
- package/dist/m0saic/brand/community-m/v1/index.js +5 -0
- package/dist/m0saic/brand/community-m/v1/loadPiece.node.d.ts +14 -0
- package/dist/m0saic/brand/community-m/v1/loadPiece.node.js +69 -0
- package/dist/m0saic/brand/community-m/v1/manifest.d.ts +22 -0
- package/dist/m0saic/brand/community-m/v1/manifest.js +81 -0
- package/dist/m0saic/brand/community-m/v1/mark.d.ts +76 -0
- package/dist/m0saic/brand/community-m/v1/mark.js +136 -0
- package/dist/m0saic/brand/community-m/v1/paths.d.ts +14 -0
- package/dist/m0saic/brand/community-m/v1/paths.js +61 -0
- package/dist/m0saic/brand/community-m/v1/piece.d.ts +28 -0
- package/dist/m0saic/brand/community-m/v1/piece.js +35 -0
- package/dist/m0saic/brand/community-m/v1/pipeline.d.ts +122 -0
- package/dist/m0saic/brand/community-m/v1/pipeline.js +461 -0
- package/dist/m0saic/brand/community-m/v1/preview.d.ts +75 -0
- package/dist/m0saic/brand/community-m/v1/preview.js +214 -0
- package/dist/m0saic/brand/community-m/v1/props.d.ts +101 -0
- package/dist/m0saic/brand/community-m/v1/props.js +178 -0
- package/dist/m0saic/brand/community-m/v1/reveal.d.ts +129 -0
- package/dist/m0saic/brand/community-m/v1/reveal.js +155 -0
- package/dist/m0saic/brand/community-m/v1/seedPiece.d.ts +57 -0
- package/dist/m0saic/brand/community-m/v1/seedPiece.js +153 -0
- package/dist/m0saic/brand/community-m/v1/target.d.ts +88 -0
- package/dist/m0saic/brand/community-m/v1/target.js +132 -0
- package/dist/m0saic/brand/community-m/v1/timing.d.ts +32 -0
- package/dist/m0saic/brand/community-m/v1/timing.js +57 -0
- package/dist/m0saic/brand/community-m/v1/webPiece.d.ts +23 -0
- package/dist/m0saic/brand/community-m/v1/webPiece.js +42 -0
- package/dist/m0saic/brand/community-m/v1/wordmark.d.ts +34 -0
- package/dist/m0saic/brand/community-m/v1/wordmark.js +62 -0
- package/dist/m0saic/brand/index.d.ts +7 -0
- package/dist/m0saic/brand/index.js +17 -0
- package/dist/m0saic/brand/logo/v1/index.d.ts +1 -0
- package/dist/m0saic/brand/logo/v1/index.js +5 -0
- package/dist/m0saic/brand/logo/v1/logo.d.ts +30 -0
- package/dist/m0saic/brand/logo/v1/logo.js +471 -0
- package/dist/m0saic/brand/logo/v2/index.d.ts +1 -0
- package/dist/m0saic/brand/logo/v2/index.js +5 -0
- package/dist/m0saic/brand/logo/v2/logo.d.ts +30 -0
- package/dist/m0saic/brand/logo/v2/logo.js +615 -0
- package/dist/m0saic/brand/logo/v3/index.d.ts +1 -0
- package/dist/m0saic/brand/logo/v3/index.js +5 -0
- package/dist/m0saic/brand/logo/v3/logo.d.ts +36 -0
- package/dist/m0saic/brand/logo/v3/logo.js +666 -0
- package/dist/m0saic/brand/logo/v3/logo_runner.d.ts +36 -0
- package/dist/m0saic/brand/logo/v3/logo_runner.js +216 -0
- package/dist/m0saic/brand/qr-stamp/assets/brand-qr-with-logo.svg +8 -0
- package/dist/m0saic/brand/qr-stamp/assets/qr-animate.dark.mp4 +0 -0
- package/dist/m0saic/brand/qr-stamp/assets/qr-animate.dark.static.png +0 -0
- package/dist/m0saic/brand/qr-stamp/assets/qr-animate.light.mp4 +0 -0
- package/dist/m0saic/brand/qr-stamp/assets/qr-animate.light.static.png +0 -0
- package/dist/m0saic/brand/qr-stamp/still/v1/index.d.ts +2 -0
- package/dist/m0saic/brand/qr-stamp/still/v1/index.js +10 -0
- package/dist/m0saic/brand/qr-stamp/still/v1/qr-stamp-still.d.ts +45 -0
- package/dist/m0saic/brand/qr-stamp/still/v1/qr-stamp-still.js +347 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/index.d.ts +2 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/index.js +9 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/qr-stamp.d.ts +43 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/qr-stamp.js +447 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/windows.d.ts +19 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/windows.js +24 -0
- package/dist/m0saic/charts/_shared/index.d.ts +8 -0
- package/dist/m0saic/charts/_shared/index.js +24 -0
- package/dist/m0saic/charts/_shared/line.d.ts +100 -0
- package/dist/m0saic/charts/_shared/line.js +134 -0
- package/dist/m0saic/charts/_shared/scale.d.ts +9 -0
- package/dist/m0saic/charts/_shared/scale.js +17 -0
- package/dist/m0saic/charts/bar-graph/v1/anim.d.ts +83 -0
- package/dist/m0saic/charts/bar-graph/v1/anim.js +104 -0
- package/dist/m0saic/charts/bar-graph/v1/axis.d.ts +51 -0
- package/dist/m0saic/charts/bar-graph/v1/axis.js +73 -0
- package/dist/m0saic/charts/bar-graph/v1/bar-graph.d.ts +44 -0
- package/dist/m0saic/charts/bar-graph/v1/bar-graph.js +316 -0
- package/dist/m0saic/charts/bar-graph/v1/defaults.d.ts +88 -0
- package/dist/m0saic/charts/bar-graph/v1/defaults.js +157 -0
- package/dist/m0saic/charts/bar-graph/v1/format.d.ts +46 -0
- package/dist/m0saic/charts/bar-graph/v1/format.js +95 -0
- package/dist/m0saic/charts/bar-graph/v1/index.d.ts +31 -0
- package/dist/m0saic/charts/bar-graph/v1/index.js +36 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bar-cell.d.ts +53 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bar-cell.js +198 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bar-fill.d.ts +4 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bar-fill.js +154 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bars-stack.d.ts +41 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bars-stack.js +208 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/chart-frame.d.ts +32 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/chart-frame.js +124 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/labels.d.ts +52 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/labels.js +504 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/plot-area.d.ts +24 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/plot-area.js +180 -0
- package/dist/m0saic/charts/bar-graph/v1/types.d.ts +326 -0
- package/dist/m0saic/charts/bar-graph/v1/types.js +36 -0
- package/dist/m0saic/charts/bar-graph/v2/bar-graph.d.ts +131 -0
- package/dist/m0saic/charts/bar-graph/v2/bar-graph.js +768 -0
- package/dist/m0saic/charts/bar-graph/v2/index.d.ts +10 -0
- package/dist/m0saic/charts/bar-graph/v2/index.js +14 -0
- package/dist/m0saic/charts/donut/v1/anim.d.ts +54 -0
- package/dist/m0saic/charts/donut/v1/anim.js +84 -0
- package/dist/m0saic/charts/donut/v1/donut.d.ts +87 -0
- package/dist/m0saic/charts/donut/v1/donut.js +400 -0
- package/dist/m0saic/charts/donut/v1/geometry.d.ts +55 -0
- package/dist/m0saic/charts/donut/v1/geometry.js +115 -0
- package/dist/m0saic/charts/donut/v1/index.d.ts +11 -0
- package/dist/m0saic/charts/donut/v1/index.js +17 -0
- package/dist/m0saic/charts/donut/v2/donut.d.ts +67 -0
- package/dist/m0saic/charts/donut/v2/donut.js +307 -0
- package/dist/m0saic/charts/donut/v2/index.d.ts +10 -0
- package/dist/m0saic/charts/donut/v2/index.js +14 -0
- package/dist/m0saic/charts/donut/v3/anim.d.ts +47 -0
- package/dist/m0saic/charts/donut/v3/anim.js +77 -0
- package/dist/m0saic/charts/donut/v3/donut.d.ts +54 -0
- package/dist/m0saic/charts/donut/v3/donut.js +531 -0
- package/dist/m0saic/charts/donut/v3/geometry.d.ts +74 -0
- package/dist/m0saic/charts/donut/v3/geometry.js +152 -0
- package/dist/m0saic/charts/donut/v3/index.d.ts +10 -0
- package/dist/m0saic/charts/donut/v3/index.js +14 -0
- package/dist/m0saic/charts/donut/v4/donut.d.ts +63 -0
- package/dist/m0saic/charts/donut/v4/donut.js +546 -0
- package/dist/m0saic/charts/donut/v4/index.d.ts +10 -0
- package/dist/m0saic/charts/donut/v4/index.js +14 -0
- package/dist/m0saic/charts/index.d.ts +8 -0
- package/dist/m0saic/charts/index.js +25 -0
- package/dist/m0saic/charts/line-chart/v1/anim.d.ts +78 -0
- package/dist/m0saic/charts/line-chart/v1/anim.js +119 -0
- package/dist/m0saic/charts/line-chart/v1/axis.d.ts +48 -0
- package/dist/m0saic/charts/line-chart/v1/axis.js +55 -0
- package/dist/m0saic/charts/line-chart/v1/card.d.ts +27 -0
- package/dist/m0saic/charts/line-chart/v1/card.js +44 -0
- package/dist/m0saic/charts/line-chart/v1/chrome-spec.d.ts +110 -0
- package/dist/m0saic/charts/line-chart/v1/chrome-spec.js +208 -0
- package/dist/m0saic/charts/line-chart/v1/chrome.d.ts +30 -0
- package/dist/m0saic/charts/line-chart/v1/chrome.js +335 -0
- package/dist/m0saic/charts/line-chart/v1/defaults.d.ts +65 -0
- package/dist/m0saic/charts/line-chart/v1/defaults.js +151 -0
- package/dist/m0saic/charts/line-chart/v1/format.d.ts +26 -0
- package/dist/m0saic/charts/line-chart/v1/format.js +76 -0
- package/dist/m0saic/charts/line-chart/v1/frame.d.ts +50 -0
- package/dist/m0saic/charts/line-chart/v1/frame.js +62 -0
- package/dist/m0saic/charts/line-chart/v1/geometry.d.ts +15 -0
- package/dist/m0saic/charts/line-chart/v1/geometry.js +34 -0
- package/dist/m0saic/charts/line-chart/v1/index.d.ts +16 -0
- package/dist/m0saic/charts/line-chart/v1/index.js +21 -0
- package/dist/m0saic/charts/line-chart/v1/line-chart.d.ts +26 -0
- package/dist/m0saic/charts/line-chart/v1/line-chart.js +634 -0
- package/dist/m0saic/charts/line-chart/v1/line-series.d.ts +69 -0
- package/dist/m0saic/charts/line-chart/v1/line-series.js +259 -0
- package/dist/m0saic/charts/line-chart/v1/types.d.ts +328 -0
- package/dist/m0saic/charts/line-chart/v1/types.js +24 -0
- package/dist/m0saic/charts/stat-card/v1/index.d.ts +10 -0
- package/dist/m0saic/charts/stat-card/v1/index.js +15 -0
- package/dist/m0saic/charts/stat-card/v1/stat-card.d.ts +78 -0
- package/dist/m0saic/charts/stat-card/v1/stat-card.js +475 -0
- package/dist/m0saic/code/_shared/code-diff.d.ts +73 -0
- package/dist/m0saic/code/_shared/code-diff.js +220 -0
- package/dist/m0saic/code/_shared/code-lexer.d.ts +28 -0
- package/dist/m0saic/code/_shared/code-lexer.js +226 -0
- package/dist/m0saic/code/_shared/code-metrics.d.ts +58 -0
- package/dist/m0saic/code/_shared/code-metrics.js +140 -0
- package/dist/m0saic/code/_shared/code-theme.d.ts +30 -0
- package/dist/m0saic/code/_shared/code-theme.js +141 -0
- package/dist/m0saic/code/index.d.ts +1 -0
- package/dist/m0saic/code/index.js +17 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/chrome.d.ts +60 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/chrome.js +252 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/plan.d.ts +90 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/plan.js +226 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/steps.d.ts +103 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/steps.js +313 -0
- package/dist/m0saic/code/snippet-morph/v1/snippet-morph.d.ts +61 -0
- package/dist/m0saic/code/snippet-morph/v1/snippet-morph.js +462 -0
- package/dist/m0saic/collage/image-collage/v1/demo-fixture.d.ts +18 -0
- package/dist/m0saic/collage/image-collage/v1/demo-fixture.js +30 -0
- package/dist/m0saic/collage/image-collage/v1/emit.d.ts +81 -0
- package/dist/m0saic/collage/image-collage/v1/emit.js +163 -0
- package/dist/m0saic/collage/image-collage/v1/image-collage.d.ts +63 -0
- package/dist/m0saic/collage/image-collage/v1/image-collage.js +386 -0
- package/dist/m0saic/collage/image-collage/v1/index.d.ts +2 -0
- package/dist/m0saic/collage/image-collage/v1/index.js +5 -0
- package/dist/m0saic/collage/image-collage/v1/packer/candidates.d.ts +71 -0
- package/dist/m0saic/collage/image-collage/v1/packer/candidates.js +211 -0
- package/dist/m0saic/collage/image-collage/v1/packer/classify.d.ts +26 -0
- package/dist/m0saic/collage/image-collage/v1/packer/classify.js +70 -0
- package/dist/m0saic/collage/image-collage/v1/packer/index.d.ts +7 -0
- package/dist/m0saic/collage/image-collage/v1/packer/index.js +23 -0
- package/dist/m0saic/collage/image-collage/v1/packer/paging.d.ts +39 -0
- package/dist/m0saic/collage/image-collage/v1/packer/paging.js +139 -0
- package/dist/m0saic/collage/image-collage/v1/packer/score.d.ts +25 -0
- package/dist/m0saic/collage/image-collage/v1/packer/score.js +69 -0
- package/dist/m0saic/collage/image-collage/v1/packer/solve.d.ts +27 -0
- package/dist/m0saic/collage/image-collage/v1/packer/solve.js +84 -0
- package/dist/m0saic/collage/image-collage/v1/packer/tiler.d.ts +65 -0
- package/dist/m0saic/collage/image-collage/v1/packer/tiler.js +607 -0
- package/dist/m0saic/collage/image-collage/v1/packer/types.d.ts +99 -0
- package/dist/m0saic/collage/image-collage/v1/packer/types.js +10 -0
- package/dist/m0saic/collage/image-collage/v1/tutorial.d.ts +17 -0
- package/dist/m0saic/collage/image-collage/v1/tutorial.js +269 -0
- package/dist/m0saic/collage/index.d.ts +2 -0
- package/dist/m0saic/collage/index.js +18 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/grid-fixture.d.ts +7 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/grid-fixture.js +11 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/index.d.ts +1 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/index.js +5 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/spread-grid-mock.d.ts +29 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/spread-grid-mock.js +78 -0
- package/dist/m0saic/dsl-tutorial/index.d.ts +1 -0
- package/dist/m0saic/dsl-tutorial/index.js +18 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/brand-glyphs.d.ts +24 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/brand-glyphs.js +17 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/m0saic-logo.d.ts +6 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/m0saic-logo.js +9 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/node-kit.d.ts +57 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/node-kit.js +156 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/text-fit.d.ts +76 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/text-fit.js +127 -0
- package/dist/m0saic/dsl-tutorial/v1/dsl-tutorial.d.ts +124 -0
- package/dist/m0saic/dsl-tutorial/v1/dsl-tutorial.js +675 -0
- package/dist/m0saic/dsl-tutorial/v1/index.d.ts +24 -0
- package/dist/m0saic/dsl-tutorial/v1/index.js +35 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/canvas/v1/dsl-canvas.d.ts +113 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/canvas/v1/dsl-canvas.js +573 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/chrome/v1/dsl-chrome.d.ts +83 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/chrome/v1/dsl-chrome.js +373 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/dsl-string/v1/dsl-string.d.ts +48 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/dsl-string/v1/dsl-string.js +366 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/inspector/v1/dsl-inspector.d.ts +54 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/inspector/v1/dsl-inspector.js +304 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/buildSteps.d.ts +110 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/buildSteps.js +443 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/camera.d.ts +64 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/camera.js +177 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/cursor.d.ts +47 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/cursor.js +64 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/dslString.d.ts +61 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/dslString.js +135 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/inspector.d.ts +62 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/inspector.js +197 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/timing.d.ts +117 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/timing.js +180 -0
- package/dist/m0saic/dsl-tutorial/v1/theme/tokens.d.ts +87 -0
- package/dist/m0saic/dsl-tutorial/v1/theme/tokens.js +96 -0
- package/dist/m0saic/forensic/index.d.ts +1 -0
- package/dist/m0saic/forensic/index.js +17 -0
- package/dist/m0saic/forensic/watermark/_shared/cellLuminance.d.ts +37 -0
- package/dist/m0saic/forensic/watermark/_shared/cellLuminance.js +62 -0
- package/dist/m0saic/forensic/watermark/index.d.ts +2 -0
- package/dist/m0saic/forensic/watermark/index.js +18 -0
- package/dist/m0saic/forensic/watermark/verify/index.d.ts +1 -0
- package/dist/m0saic/forensic/watermark/verify/index.js +17 -0
- package/dist/m0saic/forensic/watermark/verify/v1/decode.d.ts +83 -0
- package/dist/m0saic/forensic/watermark/verify/v1/decode.js +270 -0
- package/dist/m0saic/forensic/watermark/verify/v1/index.d.ts +2 -0
- package/dist/m0saic/forensic/watermark/verify/v1/index.js +23 -0
- package/dist/m0saic/forensic/watermark/verify/v1/report.d.ts +71 -0
- package/dist/m0saic/forensic/watermark/verify/v1/report.js +428 -0
- package/dist/m0saic/forensic/watermark/verify/v1/verify.d.ts +55 -0
- package/dist/m0saic/forensic/watermark/verify/v1/verify.js +286 -0
- package/dist/m0saic/forensic/watermark/video/index.d.ts +1 -0
- package/dist/m0saic/forensic/watermark/video/index.js +17 -0
- package/dist/m0saic/forensic/watermark/video/v1/forensic-watermark.d.ts +119 -0
- package/dist/m0saic/forensic/watermark/video/v1/forensic-watermark.js +629 -0
- package/dist/m0saic/forensic/watermark/video/v1/index.d.ts +2 -0
- package/dist/m0saic/forensic/watermark/video/v1/index.js +9 -0
- package/dist/m0saic/forensic/watermark/video/v1/maskAsset.d.ts +67 -0
- package/dist/m0saic/forensic/watermark/video/v1/maskAsset.js +125 -0
- package/dist/m0saic/forensic/watermark/video/v1/probeHost.d.ts +69 -0
- package/dist/m0saic/forensic/watermark/video/v1/probeHost.js +83 -0
- package/dist/m0saic/github/client.d.ts +200 -0
- package/dist/m0saic/github/client.js +161 -0
- package/dist/m0saic/github/connection.d.ts +24 -0
- package/dist/m0saic/github/connection.js +91 -0
- package/dist/m0saic/github/index.d.ts +20 -0
- package/dist/m0saic/github/index.js +42 -0
- package/dist/m0saic/github/repo-facts-fetcher/index.d.ts +4 -0
- package/dist/m0saic/github/repo-facts-fetcher/index.js +20 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/build-facts.d.ts +54 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/build-facts.js +238 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/facts.d.ts +112 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/facts.js +12 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/repo-facts-fetcher.d.ts +67 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/repo-facts-fetcher.js +210 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/sample-facts.d.ts +16 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/sample-facts.js +175 -0
- package/dist/m0saic/github/week-math.d.ts +50 -0
- package/dist/m0saic/github/week-math.js +96 -0
- package/dist/m0saic/github/weekly-pulse/index.d.ts +1 -0
- package/dist/m0saic/github/weekly-pulse/index.js +17 -0
- package/dist/m0saic/github/weekly-pulse/v1/weekly-pulse.d.ts +51 -0
- package/dist/m0saic/github/weekly-pulse/v1/weekly-pulse.js +153 -0
- package/dist/m0saic/github/weekly-pulse-adapter/index.d.ts +2 -0
- package/dist/m0saic/github/weekly-pulse-adapter/index.js +18 -0
- package/dist/m0saic/github/weekly-pulse-adapter/v1/derive-pulse.d.ts +24 -0
- package/dist/m0saic/github/weekly-pulse-adapter/v1/derive-pulse.js +257 -0
- package/dist/m0saic/github/weekly-pulse-adapter/v1/weekly-pulse-adapter.d.ts +35 -0
- package/dist/m0saic/github/weekly-pulse-adapter/v1/weekly-pulse-adapter.js +131 -0
- package/dist/m0saic/github/year-card/index.d.ts +1 -0
- package/dist/m0saic/github/year-card/index.js +17 -0
- package/dist/m0saic/github/year-card/v1/index.d.ts +2 -0
- package/dist/m0saic/github/year-card/v1/index.js +16 -0
- package/dist/m0saic/github/year-card/v1/year-card.d.ts +90 -0
- package/dist/m0saic/github/year-card/v1/year-card.js +476 -0
- package/dist/m0saic/hello-world/index.d.ts +1 -0
- package/dist/m0saic/hello-world/index.js +18 -0
- package/dist/m0saic/hello-world/v1/hello-world.d.ts +4 -0
- package/dist/m0saic/hello-world/v1/hello-world.js +36 -0
- package/dist/m0saic/hello-world/v1/index.d.ts +5 -0
- package/dist/m0saic/hello-world/v1/index.js +9 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/bake-fin-qr.sh +11 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/ffmpeg-logo.png +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/ffmpeg_logo_480x480.svg +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/m-hero.png +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/qr-fin.mp4 +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-desktop.mp4 +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-layout.m0p +5146 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-mobile.mp4 +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-square.mp4 +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/title-layout.m0p +130 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-chrome.d.ts +151 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-chrome.js +305 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-data.d.ts +178 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-data.js +238 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-glyphs.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-glyphs.js +12 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-theme.d.ts +67 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-theme.js +59 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/scatter.d.ts +54 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/scatter.js +173 -0
- package/dist/m0saic/hero/ffmpeg-pulse/activity-trend/v1/activity-trend.d.ts +37 -0
- package/dist/m0saic/hero/ffmpeg-pulse/activity-trend/v1/activity-trend.js +178 -0
- package/dist/m0saic/hero/ffmpeg-pulse/activity-trend/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/activity-trend/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/changes-breakdown/v1/changes-breakdown.d.ts +37 -0
- package/dist/m0saic/hero/ffmpeg-pulse/changes-breakdown/v1/changes-breakdown.js +164 -0
- package/dist/m0saic/hero/ffmpeg-pulse/changes-breakdown/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/changes-breakdown/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/contributions/v1/contributions.d.ts +37 -0
- package/dist/m0saic/hero/ffmpeg-pulse/contributions/v1/contributions.js +159 -0
- package/dist/m0saic/hero/ffmpeg-pulse/contributions/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/contributions/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/fin/v1/fin.d.ts +31 -0
- package/dist/m0saic/hero/ffmpeg-pulse/fin/v1/fin.js +154 -0
- package/dist/m0saic/hero/ffmpeg-pulse/fin/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/fin/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/index.d.ts +10 -0
- package/dist/m0saic/hero/ffmpeg-pulse/index.js +24 -0
- package/dist/m0saic/hero/ffmpeg-pulse/kpi-overview/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/kpi-overview/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/kpi-overview/v1/kpi-overview.d.ts +38 -0
- package/dist/m0saic/hero/ffmpeg-pulse/kpi-overview/v1/kpi-overview.js +161 -0
- package/dist/m0saic/hero/ffmpeg-pulse/notable-commits/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/notable-commits/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/notable-commits/v1/notable-commits.d.ts +36 -0
- package/dist/m0saic/hero/ffmpeg-pulse/notable-commits/v1/notable-commits.js +151 -0
- package/dist/m0saic/hero/ffmpeg-pulse/runner/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/runner/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/runner/v1/runner.d.ts +54 -0
- package/dist/m0saic/hero/ffmpeg-pulse/runner/v1/runner.js +128 -0
- package/dist/m0saic/hero/ffmpeg-pulse/scatter-bake/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/scatter-bake/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/scatter-bake/v1/scatter-bake.d.ts +29 -0
- package/dist/m0saic/hero/ffmpeg-pulse/scatter-bake/v1/scatter-bake.js +47 -0
- package/dist/m0saic/hero/ffmpeg-pulse/title/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/title/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/title/v1/title.d.ts +20 -0
- package/dist/m0saic/hero/ffmpeg-pulse/title/v1/title.js +365 -0
- package/dist/m0saic/hero/ffmpeg-pulse/top-contributors/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/top-contributors/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/top-contributors/v1/top-contributors.d.ts +38 -0
- package/dist/m0saic/hero/ffmpeg-pulse/top-contributors/v1/top-contributors.js +174 -0
- package/dist/m0saic/hero/index.d.ts +1 -0
- package/dist/m0saic/hero/index.js +18 -0
- package/dist/m0saic/index.d.ts +20 -0
- package/dist/m0saic/index.js +56 -0
- package/dist/m0saic/media/barcode/v1/barcode.d.ts +22 -0
- package/dist/m0saic/media/barcode/v1/barcode.js +218 -0
- package/dist/m0saic/media/barcode/v1/index.d.ts +1 -0
- package/dist/m0saic/media/barcode/v1/index.js +9 -0
- package/dist/m0saic/media/blur-regions/index.d.ts +1 -0
- package/dist/m0saic/media/blur-regions/index.js +17 -0
- package/dist/m0saic/media/blur-regions/v1/blur-regions.d.ts +58 -0
- package/dist/m0saic/media/blur-regions/v1/blur-regions.js +303 -0
- package/dist/m0saic/media/blur-regions/v1/index.d.ts +2 -0
- package/dist/m0saic/media/blur-regions/v1/index.js +20 -0
- package/dist/m0saic/media/blur-regions/v1/plan.d.ts +125 -0
- package/dist/m0saic/media/blur-regions/v1/plan.js +204 -0
- package/dist/m0saic/media/blur-regions/v1/tutorial.d.ts +18 -0
- package/dist/m0saic/media/blur-regions/v1/tutorial.js +428 -0
- package/dist/m0saic/media/highlights/index.d.ts +1 -0
- package/dist/m0saic/media/highlights/index.js +17 -0
- package/dist/m0saic/media/highlights/v1/assets/cover-ranges.jpg +0 -0
- package/dist/m0saic/media/highlights/v1/highlights.d.ts +49 -0
- package/dist/m0saic/media/highlights/v1/highlights.js +222 -0
- package/dist/m0saic/media/highlights/v1/index.d.ts +3 -0
- package/dist/m0saic/media/highlights/v1/index.js +19 -0
- package/dist/m0saic/media/highlights/v1/pipeline.d.ts +35 -0
- package/dist/m0saic/media/highlights/v1/pipeline.js +91 -0
- package/dist/m0saic/media/highlights/v1/plan.d.ts +46 -0
- package/dist/m0saic/media/highlights/v1/plan.js +68 -0
- package/dist/m0saic/media/index.d.ts +13 -0
- package/dist/m0saic/media/index.js +31 -0
- package/dist/m0saic/media/logo-animate/index.d.ts +1 -0
- package/dist/m0saic/media/logo-animate/index.js +17 -0
- package/dist/m0saic/media/logo-animate/v1/default-logo.d.ts +12 -0
- package/dist/m0saic/media/logo-animate/v1/default-logo.js +49 -0
- package/dist/m0saic/media/logo-animate/v1/expressions.d.ts +66 -0
- package/dist/m0saic/media/logo-animate/v1/expressions.js +107 -0
- package/dist/m0saic/media/logo-animate/v1/index.d.ts +2 -0
- package/dist/m0saic/media/logo-animate/v1/index.js +5 -0
- package/dist/m0saic/media/logo-animate/v1/layout.d.ts +29 -0
- package/dist/m0saic/media/logo-animate/v1/layout.js +43 -0
- package/dist/m0saic/media/logo-animate/v1/logo-animate.d.ts +106 -0
- package/dist/m0saic/media/logo-animate/v1/logo-animate.js +732 -0
- package/dist/m0saic/media/logo-animate/v1/svg-source.d.ts +63 -0
- package/dist/m0saic/media/logo-animate/v1/svg-source.js +127 -0
- package/dist/m0saic/media/logo-animate/v1/tutorial.d.ts +16 -0
- package/dist/m0saic/media/logo-animate/v1/tutorial.js +378 -0
- package/dist/m0saic/media/metadata-stamp/index.d.ts +1 -0
- package/dist/m0saic/media/metadata-stamp/index.js +17 -0
- package/dist/m0saic/media/metadata-stamp/v1/assets/cover-frame.jpg +0 -0
- package/dist/m0saic/media/metadata-stamp/v1/format-date.d.ts +52 -0
- package/dist/m0saic/media/metadata-stamp/v1/format-date.js +128 -0
- package/dist/m0saic/media/metadata-stamp/v1/index.d.ts +4 -0
- package/dist/m0saic/media/metadata-stamp/v1/index.js +10 -0
- package/dist/m0saic/media/metadata-stamp/v1/metadata-stamp.d.ts +58 -0
- package/dist/m0saic/media/metadata-stamp/v1/metadata-stamp.js +534 -0
- package/dist/m0saic/media/qr/_shared/brandMCenter.d.ts +28 -0
- package/dist/m0saic/media/qr/_shared/brandMCenter.js +52 -0
- package/dist/m0saic/media/qr/animate/v1/expressions.d.ts +164 -0
- package/dist/m0saic/media/qr/animate/v1/expressions.js +251 -0
- package/dist/m0saic/media/qr/animate/v1/index.d.ts +2 -0
- package/dist/m0saic/media/qr/animate/v1/index.js +9 -0
- package/dist/m0saic/media/qr/animate/v1/qr-animate.d.ts +171 -0
- package/dist/m0saic/media/qr/animate/v1/qr-animate.js +775 -0
- package/dist/m0saic/media/qr/animate/v2/index.d.ts +2 -0
- package/dist/m0saic/media/qr/animate/v2/index.js +9 -0
- package/dist/m0saic/media/qr/animate/v2/qr-animate.d.ts +64 -0
- package/dist/m0saic/media/qr/animate/v2/qr-animate.js +341 -0
- package/dist/m0saic/media/qr/basic/v1/index.d.ts +1 -0
- package/dist/m0saic/media/qr/basic/v1/index.js +10 -0
- package/dist/m0saic/media/qr/basic/v1/qr.d.ts +24 -0
- package/dist/m0saic/media/qr/basic/v1/qr.js +132 -0
- package/dist/m0saic/media/qr/code/v1/index.d.ts +2 -0
- package/dist/m0saic/media/qr/code/v1/index.js +9 -0
- package/dist/m0saic/media/qr/code/v1/qr-code.d.ts +135 -0
- package/dist/m0saic/media/qr/code/v1/qr-code.js +611 -0
- package/dist/m0saic/media/qr/index.d.ts +7 -0
- package/dist/m0saic/media/qr/index.js +19 -0
- package/dist/m0saic/media/qr/rounded/v1/index.d.ts +1 -0
- package/dist/m0saic/media/qr/rounded/v1/index.js +9 -0
- package/dist/m0saic/media/qr/rounded/v1/qr-rounded.d.ts +68 -0
- package/dist/m0saic/media/qr/rounded/v1/qr-rounded.js +338 -0
- package/dist/m0saic/media/qr/stamp/v1/assets/cover-frame.jpg +0 -0
- package/dist/m0saic/media/qr/stamp/v1/qr-stamp-custom.d.ts +44 -0
- package/dist/m0saic/media/qr/stamp/v1/qr-stamp-custom.js +389 -0
- package/dist/m0saic/media/qr/stamp-video/v1/expressions.d.ts +10 -0
- package/dist/m0saic/media/qr/stamp-video/v1/expressions.js +18 -0
- package/dist/m0saic/media/qr/stamp-video/v1/gleamBand.d.ts +115 -0
- package/dist/m0saic/media/qr/stamp-video/v1/gleamBand.js +206 -0
- package/dist/m0saic/media/qr/stamp-video/v1/index.d.ts +2 -0
- package/dist/m0saic/media/qr/stamp-video/v1/index.js +9 -0
- package/dist/m0saic/media/qr/stamp-video/v1/qr-stamp.d.ts +82 -0
- package/dist/m0saic/media/qr/stamp-video/v1/qr-stamp.js +424 -0
- package/dist/m0saic/media/screencap_grid/index.d.ts +3 -0
- package/dist/m0saic/media/screencap_grid/index.js +9 -0
- package/dist/m0saic/media/screencap_grid/internal/index.d.ts +1 -0
- package/dist/m0saic/media/screencap_grid/internal/index.js +5 -0
- package/dist/m0saic/media/screencap_grid/internal/info_pane.d.ts +13 -0
- package/dist/m0saic/media/screencap_grid/internal/info_pane.js +130 -0
- package/dist/m0saic/media/screencap_grid/v1/index.d.ts +1 -0
- package/dist/m0saic/media/screencap_grid/v1/index.js +5 -0
- package/dist/m0saic/media/screencap_grid/v1/screencap-grid.d.ts +162 -0
- package/dist/m0saic/media/screencap_grid/v1/screencap-grid.js +690 -0
- package/dist/m0saic/media/screencap_grid/v2/assets/tutorial-sheet.jpg +0 -0
- package/dist/m0saic/media/screencap_grid/v2/index.d.ts +1 -0
- package/dist/m0saic/media/screencap_grid/v2/index.js +5 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-cover-assets.d.ts +9 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-cover-assets.js +12 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-cover.d.ts +97 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-cover.js +367 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-tutorial.d.ts +38 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-tutorial.js +530 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid.d.ts +194 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid.js +615 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/index.d.ts +1 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/index.js +5 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/assets/pair-sheet.jpg +0 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/index.d.ts +1 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/index.js +5 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe-cover.d.ts +18 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe-cover.js +191 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe-tutorial.d.ts +13 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe-tutorial.js +355 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe.d.ts +179 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe.js +544 -0
- package/dist/m0saic/media/scroll_wall/index.d.ts +1 -0
- package/dist/m0saic/media/scroll_wall/index.js +5 -0
- package/dist/m0saic/media/scroll_wall/v1/geometry.d.ts +131 -0
- package/dist/m0saic/media/scroll_wall/v1/geometry.js +172 -0
- package/dist/m0saic/media/scroll_wall/v1/index.d.ts +1 -0
- package/dist/m0saic/media/scroll_wall/v1/index.js +5 -0
- package/dist/m0saic/media/scroll_wall/v1/motion.d.ts +114 -0
- package/dist/m0saic/media/scroll_wall/v1/motion.js +141 -0
- package/dist/m0saic/media/scroll_wall/v1/scroll-wall.d.ts +182 -0
- package/dist/m0saic/media/scroll_wall/v1/scroll-wall.js +432 -0
- package/dist/m0saic/media/subtitle-burn/index.d.ts +1 -0
- package/dist/m0saic/media/subtitle-burn/index.js +17 -0
- package/dist/m0saic/media/subtitle-burn/v1/assets/cover-frame.jpg +0 -0
- package/dist/m0saic/media/subtitle-burn/v1/index.d.ts +1 -0
- package/dist/m0saic/media/subtitle-burn/v1/index.js +6 -0
- package/dist/m0saic/media/subtitle-burn/v1/subtitle-burn-cover.d.ts +13 -0
- package/dist/m0saic/media/subtitle-burn/v1/subtitle-burn-cover.js +196 -0
- package/dist/m0saic/media/subtitle-burn/v1/subtitle-burn.d.ts +137 -0
- package/dist/m0saic/media/subtitle-burn/v1/subtitle-burn.js +603 -0
- package/dist/m0saic/media/trickplay/index.d.ts +1 -0
- package/dist/m0saic/media/trickplay/index.js +17 -0
- package/dist/m0saic/media/trickplay/v1/index.d.ts +4 -0
- package/dist/m0saic/media/trickplay/v1/index.js +18 -0
- package/dist/m0saic/media/trickplay/v1/pipeline.d.ts +51 -0
- package/dist/m0saic/media/trickplay/v1/pipeline.js +180 -0
- package/dist/m0saic/media/trickplay/v1/plan.d.ts +65 -0
- package/dist/m0saic/media/trickplay/v1/plan.js +76 -0
- package/dist/m0saic/media/trickplay/v1/sidecars.d.ts +79 -0
- package/dist/m0saic/media/trickplay/v1/sidecars.js +89 -0
- package/dist/m0saic/media/trickplay/v1/trickplay.d.ts +40 -0
- package/dist/m0saic/media/trickplay/v1/trickplay.js +123 -0
- package/dist/m0saic/media/video_to_png_sequence/index.d.ts +1 -0
- package/dist/m0saic/media/video_to_png_sequence/index.js +5 -0
- package/dist/m0saic/media/video_to_png_sequence/v1/index.d.ts +1 -0
- package/dist/m0saic/media/video_to_png_sequence/v1/index.js +5 -0
- package/dist/m0saic/media/video_to_png_sequence/v1/video-to-png-sequence.d.ts +37 -0
- package/dist/m0saic/media/video_to_png_sequence/v1/video-to-png-sequence.js +234 -0
- package/dist/m0saic/media/watermark/index.d.ts +1 -0
- package/dist/m0saic/media/watermark/index.js +17 -0
- package/dist/m0saic/media/watermark/v1/adaptive.d.ts +85 -0
- package/dist/m0saic/media/watermark/v1/adaptive.js +162 -0
- package/dist/m0saic/media/watermark/v1/content.d.ts +56 -0
- package/dist/m0saic/media/watermark/v1/content.js +160 -0
- package/dist/m0saic/media/watermark/v1/geometry.d.ts +138 -0
- package/dist/m0saic/media/watermark/v1/geometry.js +247 -0
- package/dist/m0saic/media/watermark/v1/index.d.ts +3 -0
- package/dist/m0saic/media/watermark/v1/index.js +5 -0
- package/dist/m0saic/media/watermark/v1/pageGrid.d.ts +105 -0
- package/dist/m0saic/media/watermark/v1/pageGrid.js +203 -0
- package/dist/m0saic/media/watermark/v1/pipeline.d.ts +68 -0
- package/dist/m0saic/media/watermark/v1/pipeline.js +324 -0
- package/dist/m0saic/media/watermark/v1/watermark.d.ts +88 -0
- package/dist/m0saic/media/watermark/v1/watermark.js +452 -0
- package/dist/m0saic/meta/camera-debug/index.d.ts +1 -0
- package/dist/m0saic/meta/camera-debug/index.js +17 -0
- package/dist/m0saic/meta/camera-debug/v1/camera-debug.d.ts +98 -0
- package/dist/m0saic/meta/camera-debug/v1/camera-debug.js +490 -0
- package/dist/m0saic/meta/fixture-fetcher/index.d.ts +1 -0
- package/dist/m0saic/meta/fixture-fetcher/index.js +17 -0
- package/dist/m0saic/meta/fixture-fetcher/v1/fixture-fetcher.d.ts +76 -0
- package/dist/m0saic/meta/fixture-fetcher/v1/fixture-fetcher.js +159 -0
- package/dist/m0saic/meta/hot-reload-smoke/index.d.ts +1 -0
- package/dist/m0saic/meta/hot-reload-smoke/index.js +17 -0
- package/dist/m0saic/meta/hot-reload-smoke/v1/hot-reload-smoke.d.ts +50 -0
- package/dist/m0saic/meta/hot-reload-smoke/v1/hot-reload-smoke.js +131 -0
- package/dist/m0saic/meta/index.d.ts +13 -0
- package/dist/m0saic/meta/index.js +29 -0
- package/dist/m0saic/meta/post-mortem/index.d.ts +1 -0
- package/dist/m0saic/meta/post-mortem/index.js +17 -0
- package/dist/m0saic/meta/post-mortem/v1/assets/human.png +0 -0
- package/dist/m0saic/meta/post-mortem/v1/assets/robot.png +0 -0
- package/dist/m0saic/meta/post-mortem/v1/post-mortem.d.ts +47 -0
- package/dist/m0saic/meta/post-mortem/v1/post-mortem.js +634 -0
- package/dist/m0saic/meta/upstream-echo/index.d.ts +1 -0
- package/dist/m0saic/meta/upstream-echo/index.js +17 -0
- package/dist/m0saic/meta/upstream-echo/v1/upstream-echo.d.ts +52 -0
- package/dist/m0saic/meta/upstream-echo/v1/upstream-echo.js +138 -0
- package/dist/m0saic/primitives/grid/index.d.ts +2 -0
- package/dist/m0saic/primitives/grid/index.js +7 -0
- package/dist/m0saic/primitives/grid/v1/grid.d.ts +85 -0
- package/dist/m0saic/primitives/grid/v1/grid.js +217 -0
- package/dist/m0saic/primitives/grid/v2/grid.d.ts +80 -0
- package/dist/m0saic/primitives/grid/v2/grid.js +150 -0
- package/dist/m0saic/primitives/index.d.ts +1 -0
- package/dist/m0saic/primitives/index.js +17 -0
- package/dist/m0saic/social/index.d.ts +1 -0
- package/dist/m0saic/social/index.js +17 -0
- package/dist/m0saic/social/quote-card/index.d.ts +1 -0
- package/dist/m0saic/social/quote-card/index.js +17 -0
- package/dist/m0saic/social/quote-card/v1/index.d.ts +2 -0
- package/dist/m0saic/social/quote-card/v1/index.js +5 -0
- package/dist/m0saic/social/quote-card/v1/layout.d.ts +119 -0
- package/dist/m0saic/social/quote-card/v1/layout.js +323 -0
- package/dist/m0saic/social/quote-card/v1/quote-card.d.ts +51 -0
- package/dist/m0saic/social/quote-card/v1/quote-card.js +310 -0
- package/dist/m0saic/story/index.d.ts +2 -0
- package/dist/m0saic/story/index.js +20 -0
- package/dist/m0saic/story/narrated-chapters/index.d.ts +1 -0
- package/dist/m0saic/story/narrated-chapters/index.js +17 -0
- package/dist/m0saic/story/narrated-chapters/v1/captions.d.ts +42 -0
- package/dist/m0saic/story/narrated-chapters/v1/captions.js +200 -0
- package/dist/m0saic/story/narrated-chapters/v1/demo-fixture.d.ts +13 -0
- package/dist/m0saic/story/narrated-chapters/v1/demo-fixture.js +52 -0
- package/dist/m0saic/story/narrated-chapters/v1/index.d.ts +2 -0
- package/dist/m0saic/story/narrated-chapters/v1/index.js +5 -0
- package/dist/m0saic/story/narrated-chapters/v1/kenburns.d.ts +50 -0
- package/dist/m0saic/story/narrated-chapters/v1/kenburns.js +0 -0
- package/dist/m0saic/story/narrated-chapters/v1/layout.d.ts +103 -0
- package/dist/m0saic/story/narrated-chapters/v1/layout.js +162 -0
- package/dist/m0saic/story/narrated-chapters/v1/narrated-chapters.d.ts +22 -0
- package/dist/m0saic/story/narrated-chapters/v1/narrated-chapters.js +160 -0
- package/dist/m0saic/story/narrated-chapters/v1/pipeline.d.ts +43 -0
- package/dist/m0saic/story/narrated-chapters/v1/pipeline.js +94 -0
- package/dist/m0saic/story/narrated-chapters/v1/plan.d.ts +144 -0
- package/dist/m0saic/story/narrated-chapters/v1/plan.js +372 -0
- package/dist/m0saic/story/narrated-chapters/v1/props.d.ts +147 -0
- package/dist/m0saic/story/narrated-chapters/v1/props.js +205 -0
- package/dist/m0saic/story/narrated-chapters/v1/scenes/body.d.ts +64 -0
- package/dist/m0saic/story/narrated-chapters/v1/scenes/body.js +253 -0
- package/dist/m0saic/story/narrated-chapters/v1/scenes/card.d.ts +40 -0
- package/dist/m0saic/story/narrated-chapters/v1/scenes/card.js +201 -0
- package/dist/m0saic/story/narrated-chapters/v1/theme.d.ts +25 -0
- package/dist/m0saic/story/narrated-chapters/v1/theme.js +38 -0
- package/dist/m0saic/story/scrapbook/v1/document.d.ts +41 -0
- package/dist/m0saic/story/scrapbook/v1/document.js +124 -0
- package/dist/m0saic/story/scrapbook/v1/index.d.ts +1 -0
- package/dist/m0saic/story/scrapbook/v1/index.js +9 -0
- package/dist/m0saic/story/scrapbook/v1/page.d.ts +34 -0
- package/dist/m0saic/story/scrapbook/v1/page.js +121 -0
- package/dist/m0saic/story/scrapbook/v1/pages.d.ts +29 -0
- package/dist/m0saic/story/scrapbook/v1/pages.js +37 -0
- package/dist/m0saic/story/scrapbook/v1/pipeline.d.ts +44 -0
- package/dist/m0saic/story/scrapbook/v1/pipeline.js +130 -0
- package/dist/m0saic/story/scrapbook/v1/placeholder.d.ts +22 -0
- package/dist/m0saic/story/scrapbook/v1/placeholder.js +51 -0
- package/dist/m0saic/story/scrapbook/v1/props.d.ts +66 -0
- package/dist/m0saic/story/scrapbook/v1/props.js +80 -0
- package/dist/m0saic/story/scrapbook/v1/scrapbook.d.ts +23 -0
- package/dist/m0saic/story/scrapbook/v1/scrapbook.js +77 -0
- package/dist/m0saic/theming/index.d.ts +1 -0
- package/dist/m0saic/theming/index.js +17 -0
- package/dist/m0saic/theming/v1/brand-m-glyph.d.ts +14 -0
- package/dist/m0saic/theming/v1/brand-m-glyph.js +12 -0
- package/dist/m0saic/theming/v1/index.d.ts +2 -0
- package/dist/m0saic/theming/v1/index.js +16 -0
- package/dist/m0saic/theming/v1/theme-tokens.d.ts +71 -0
- package/dist/m0saic/theming/v1/theme-tokens.js +111 -0
- package/dist/m0saic/theming/v1/theming.d.ts +18 -0
- package/dist/m0saic/theming/v1/theming.js +94 -0
- package/dist/m0saic/theming/v1/token-sheet.d.ts +23 -0
- package/dist/m0saic/theming/v1/token-sheet.js +191 -0
- package/dist/m0saic/web/index.d.ts +1 -0
- package/dist/m0saic/web/index.js +17 -0
- package/dist/m0saic/web/page-skeleton/v1/capture/capture-snippet-source.d.ts +1 -0
- package/dist/m0saic/web/page-skeleton/v1/capture/capture-snippet-source.js +528 -0
- package/dist/m0saic/web/page-skeleton/v1/index.d.ts +1 -0
- package/dist/m0saic/web/page-skeleton/v1/index.js +5 -0
- package/dist/m0saic/web/page-skeleton/v1/layout.d.ts +107 -0
- package/dist/m0saic/web/page-skeleton/v1/layout.js +246 -0
- package/dist/m0saic/web/page-skeleton/v1/page-skeleton.d.ts +148 -0
- package/dist/m0saic/web/page-skeleton/v1/page-skeleton.js +787 -0
- package/dist/m0saic/web/page-skeleton/v1/sample-capture.d.ts +7 -0
- package/dist/m0saic/web/page-skeleton/v1/sample-capture.js +50 -0
- package/dist/m0saic/web/page-skeleton/v1/schema.d.ts +35 -0
- package/dist/m0saic/web/page-skeleton/v1/schema.js +132 -0
- package/dist/m0saic/wireframe/animated/v1/animated-wireframe.d.ts +93 -0
- package/dist/m0saic/wireframe/animated/v1/animated-wireframe.js +580 -0
- package/dist/m0saic/wireframe/animated/v1/index.d.ts +1 -0
- package/dist/m0saic/wireframe/animated/v1/index.js +5 -0
- package/dist/m0saic/wireframe/base/v1/index.d.ts +1 -0
- package/dist/m0saic/wireframe/base/v1/index.js +5 -0
- package/dist/m0saic/wireframe/base/v1/wireframe.d.ts +68 -0
- package/dist/m0saic/wireframe/base/v1/wireframe.js +372 -0
- package/dist/m0saic/wireframe/base/v2/index.d.ts +2 -0
- package/dist/m0saic/wireframe/base/v2/index.js +9 -0
- package/dist/m0saic/wireframe/base/v2/wireframe.d.ts +166 -0
- package/dist/m0saic/wireframe/base/v2/wireframe.js +1181 -0
- package/dist/m0saic/wireframe/index.d.ts +4 -0
- package/dist/m0saic/wireframe/index.js +16 -0
- package/dist/m0saic/wireframe/utils/paperGrid.d.ts +53 -0
- package/dist/m0saic/wireframe/utils/paperGrid.js +91 -0
- package/dist/m0saic/wireframe/utils/wireframeCell.d.ts +35 -0
- package/dist/m0saic/wireframe/utils/wireframeCell.js +278 -0
- package/dist/registry.d.ts +4 -0
- package/dist/registry.js +7 -0
- package/dist/repo.d.ts +11 -0
- package/dist/repo.js +39 -0
- package/dist/template-registry.d.ts +18 -0
- package/dist/template-registry.js +888 -0
- package/dist/web.d.ts +35 -0
- package/dist/web.js +88 -0
- package/dist/webTemplateIds.d.ts +6 -0
- package/dist/webTemplateIds.js +80 -0
- package/package.json +52 -0
- package/template-manifest.json +1635 -0
- package/web-template-ids.json +84 -0
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ============================================================================
|
|
3
|
+
* Alpine pack — shared card chrome + geometry kit
|
|
4
|
+
* ============================================================================
|
|
5
|
+
*
|
|
6
|
+
* The signature Alpine surface: a rounded white card with a hairline border and
|
|
7
|
+
* a left-aligned title / subtitle header band, with the chart body laid out in
|
|
8
|
+
* the region below. Every template in the pack wraps its content in
|
|
9
|
+
* {@link alpineCard} so the whole pack looks like one set.
|
|
10
|
+
*
|
|
11
|
+
* Geometry follows the construction-strategy hard rule (real m0 cells, not
|
|
12
|
+
* full-frame drawtext): the card is a rounded `makeColorTile` overlay base, the
|
|
13
|
+
* header + body are a row split, all placed via the small {@link Node} combinator
|
|
14
|
+
* kit below (lifted from `@m0saic/charts/bar-graph/v2`, the canonical tight-rect
|
|
15
|
+
* template). The kit is exported so Alpine templates build their interiors with
|
|
16
|
+
* the same primitives.
|
|
17
|
+
*
|
|
18
|
+
* `alpineCard` returns a two-part contract:
|
|
19
|
+
* - `contentRect` — the pixel rect available to the body (so the template can
|
|
20
|
+
* size fonts / rails against real dimensions);
|
|
21
|
+
* - `compose(content)` — wraps that body in the card + header and returns the
|
|
22
|
+
* root {@link Node}.
|
|
23
|
+
* ============================================================================
|
|
24
|
+
*/
|
|
25
|
+
import type { MosaicColor, MosaicSource, MosaicTextSource } from "@m0saic/types";
|
|
26
|
+
import { tag, fitEmUnits } from "@m0saic/template-utils";
|
|
27
|
+
import type { AlpineTheme } from "./alpine-theme";
|
|
28
|
+
/** One cell's m0 plus the sources its painted leaves contribute, in order. */
|
|
29
|
+
export type Node = {
|
|
30
|
+
m0: string;
|
|
31
|
+
sources: MosaicSource[];
|
|
32
|
+
};
|
|
33
|
+
export type Band = {
|
|
34
|
+
weight: number;
|
|
35
|
+
node: Node;
|
|
36
|
+
};
|
|
37
|
+
export declare const EMPTY: Node;
|
|
38
|
+
export declare const paint: (source: MosaicSource) => Node;
|
|
39
|
+
/** Resolve a user color field to a concrete color: a cleared / "none" / blank
|
|
40
|
+
* picker falls back to the default. A bare `props.color ?? fallback` keeps `""`
|
|
41
|
+
* (not nullish), which renders the element in no color — i.e. invisible. Every
|
|
42
|
+
* Alpine color knob goes through this so clearing the field never blanks a mark. */
|
|
43
|
+
export declare function resolveColor(value: string | undefined | null, fallback: MosaicColor): MosaicColor;
|
|
44
|
+
/** Weighted split along an axis; drops zero/neg-weight bands, collapses singletons. */
|
|
45
|
+
export declare function split(axis: "row" | "col", bands: Band[]): Node;
|
|
46
|
+
export declare const rowSplit: (bands: Band[]) => Node;
|
|
47
|
+
export declare const colSplit: (bands: Band[]) => Node;
|
|
48
|
+
/** Overlay layers as nested overlays: base{l1{l2{…}}}. Sources concat in order. */
|
|
49
|
+
export declare function overlay(layers: Node[]): Node;
|
|
50
|
+
/** Wrap a node in empty margins so it occupies an inset rect of the parent. */
|
|
51
|
+
export declare function insetNode(node: Node, top: number, right: number, bottom: number, left: number, W: number, H: number): Node;
|
|
52
|
+
type HAlign = "left" | "center" | "right";
|
|
53
|
+
type VAlign = "top" | "middle" | "bottom";
|
|
54
|
+
/** A single fitted text cell. */
|
|
55
|
+
export declare function textCell(text: string, fontSize: number, color: MosaicColor, hAlign?: HAlign, vAlign?: VAlign, padding?: {
|
|
56
|
+
top?: number;
|
|
57
|
+
right?: number;
|
|
58
|
+
bottom?: number;
|
|
59
|
+
left?: number;
|
|
60
|
+
}): MosaicTextSource;
|
|
61
|
+
export { tag, fitEmUnits };
|
|
62
|
+
/** Which template props the header displays — `bindProp` targets for Make's
|
|
63
|
+
* double-click edit. Every curated alpine template names them `title` /
|
|
64
|
+
* `subtitle`, so that is the default; pass `false` for a header that shows
|
|
65
|
+
* derived text (nothing to edit). */
|
|
66
|
+
export type AlpineHeaderBinding = {
|
|
67
|
+
title?: string;
|
|
68
|
+
subtitle?: string;
|
|
69
|
+
} | false;
|
|
70
|
+
/** Pixel rect (canvas coordinates). */
|
|
71
|
+
export type AlpineRect = {
|
|
72
|
+
x: number;
|
|
73
|
+
y: number;
|
|
74
|
+
w: number;
|
|
75
|
+
h: number;
|
|
76
|
+
};
|
|
77
|
+
export type AlpineCardResult = {
|
|
78
|
+
/** The rect available to the chart body (inside padding, below the header). */
|
|
79
|
+
contentRect: AlpineRect;
|
|
80
|
+
/** Wrap a body node in the card surface + header; returns the root node.
|
|
81
|
+
* `extraLayers` overlay ON TOP of the content within the card's overlay chain
|
|
82
|
+
* (for full-canvas absolutely-positioned content). */
|
|
83
|
+
compose: (content: Node, ...extraLayers: Node[]) => Node;
|
|
84
|
+
/** Canvas color behind the card. */
|
|
85
|
+
backgroundColor: MosaicColor;
|
|
86
|
+
/** Layout-contract entries the card chrome contributes (header text-fit).
|
|
87
|
+
* Templates spread these into their `withLayoutContract` constraints so a
|
|
88
|
+
* clipping title/subtitle reds the debug wireframe during stress. */
|
|
89
|
+
constraints: Array<{
|
|
90
|
+
label: string;
|
|
91
|
+
textFits: {
|
|
92
|
+
charWidthEm?: number;
|
|
93
|
+
padPx?: number;
|
|
94
|
+
};
|
|
95
|
+
}>;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Build the Alpine card chrome for a `W×H` canvas. Returns the body's pixel rect
|
|
99
|
+
* plus a `compose(body)` that stacks card surface → (header) → body.
|
|
100
|
+
*/
|
|
101
|
+
export declare function alpineCard(opts: {
|
|
102
|
+
theme: AlpineTheme;
|
|
103
|
+
W: number;
|
|
104
|
+
H: number;
|
|
105
|
+
title?: string;
|
|
106
|
+
subtitle?: string;
|
|
107
|
+
/** Outer padding in px. Defaults to ~5.5% of the shorter side. */
|
|
108
|
+
padding?: number;
|
|
109
|
+
/** Corner radius fraction (0..1). Defaults to the theme's. */
|
|
110
|
+
cornerRadius?: number;
|
|
111
|
+
/** Prop keys the header displays (Make inline-edit). Default `title` /
|
|
112
|
+
* `subtitle`; `false` = the header is not editable. */
|
|
113
|
+
headerBinding?: AlpineHeaderBinding;
|
|
114
|
+
}): AlpineCardResult;
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ============================================================================
|
|
4
|
+
* Alpine pack — shared card chrome + geometry kit
|
|
5
|
+
* ============================================================================
|
|
6
|
+
*
|
|
7
|
+
* The signature Alpine surface: a rounded white card with a hairline border and
|
|
8
|
+
* a left-aligned title / subtitle header band, with the chart body laid out in
|
|
9
|
+
* the region below. Every template in the pack wraps its content in
|
|
10
|
+
* {@link alpineCard} so the whole pack looks like one set.
|
|
11
|
+
*
|
|
12
|
+
* Geometry follows the construction-strategy hard rule (real m0 cells, not
|
|
13
|
+
* full-frame drawtext): the card is a rounded `makeColorTile` overlay base, the
|
|
14
|
+
* header + body are a row split, all placed via the small {@link Node} combinator
|
|
15
|
+
* kit below (lifted from `@m0saic/charts/bar-graph/v2`, the canonical tight-rect
|
|
16
|
+
* template). The kit is exported so Alpine templates build their interiors with
|
|
17
|
+
* the same primitives.
|
|
18
|
+
*
|
|
19
|
+
* `alpineCard` returns a two-part contract:
|
|
20
|
+
* - `contentRect` — the pixel rect available to the body (so the template can
|
|
21
|
+
* size fonts / rails against real dimensions);
|
|
22
|
+
* - `compose(content)` — wraps that body in the card + header and returns the
|
|
23
|
+
* root {@link Node}.
|
|
24
|
+
* ============================================================================
|
|
25
|
+
*/
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.fitEmUnits = exports.tag = exports.colSplit = exports.rowSplit = exports.paint = exports.EMPTY = void 0;
|
|
28
|
+
exports.resolveColor = resolveColor;
|
|
29
|
+
exports.split = split;
|
|
30
|
+
exports.overlay = overlay;
|
|
31
|
+
exports.insetNode = insetNode;
|
|
32
|
+
exports.textCell = textCell;
|
|
33
|
+
exports.alpineCard = alpineCard;
|
|
34
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
35
|
+
Object.defineProperty(exports, "tag", { enumerable: true, get: function () { return template_utils_1.tag; } });
|
|
36
|
+
Object.defineProperty(exports, "fitEmUnits", { enumerable: true, get: function () { return template_utils_1.fitEmUnits; } });
|
|
37
|
+
const dsl_stdlib_1 = require("@m0saic/dsl-stdlib");
|
|
38
|
+
exports.EMPTY = { m0: "-", sources: [] };
|
|
39
|
+
const paint = (source) => ({ m0: "F", sources: [source] });
|
|
40
|
+
exports.paint = paint;
|
|
41
|
+
/** Resolve a user color field to a concrete color: a cleared / "none" / blank
|
|
42
|
+
* picker falls back to the default. A bare `props.color ?? fallback` keeps `""`
|
|
43
|
+
* (not nullish), which renders the element in no color — i.e. invisible. Every
|
|
44
|
+
* Alpine color knob goes through this so clearing the field never blanks a mark. */
|
|
45
|
+
function resolveColor(value, fallback) {
|
|
46
|
+
const v = (value !== null && value !== void 0 ? value : "").trim();
|
|
47
|
+
return v && v.toLowerCase() !== "none" ? v : fallback;
|
|
48
|
+
}
|
|
49
|
+
// Cap on a single split's cell count — scale weights to a small basis before
|
|
50
|
+
// weightedSplit so coprime pixel weights don't expand the DSL to their sum.
|
|
51
|
+
// 120 is the per-axis gcd of the modern canvas family (1080/1920/2160/3840…):
|
|
52
|
+
// a total of exactly 120 GCD-reduces to a divisor of 120, which is 5-smooth and
|
|
53
|
+
// pixel-exact on every family member (handbook composition-arithmetic §2).
|
|
54
|
+
const SPLIT_BASIS_CAP = 120;
|
|
55
|
+
/** Weighted split along an axis; drops zero/neg-weight bands, collapses singletons. */
|
|
56
|
+
function split(axis, bands) {
|
|
57
|
+
const bs = bands.filter((b) => b.weight > 0);
|
|
58
|
+
if (bs.length === 0)
|
|
59
|
+
return exports.EMPTY;
|
|
60
|
+
// A split whose every cell paints nothing is itself empty — collapse to EMPTY
|
|
61
|
+
// so it doesn't reach weightedSplit as an all-`-` container (NO_SOURCES). This
|
|
62
|
+
// happens when a card has no header and its content lives in an overlay layer.
|
|
63
|
+
if (bs.every((b) => b.node.sources.length === 0))
|
|
64
|
+
return exports.EMPTY;
|
|
65
|
+
if (bs.length === 1)
|
|
66
|
+
return bs[0].node;
|
|
67
|
+
const weights = bs.map((b) => Math.max(1, Math.round(b.weight)));
|
|
68
|
+
// Basis on the 5-smooth lattice (latticeWeights, @m0saic/template-utils):
|
|
69
|
+
// over the cap the bands are Hamilton-scaled to EXACTLY the cap (GCD ⇒ a
|
|
70
|
+
// divisor of it); a rough pixel sum under the cap drifts ≤ 1 px onto the
|
|
71
|
+
// nearest smooth basis; a symmetric inset or an item/gutter list is rewritten
|
|
72
|
+
// as the same pattern on a smooth total (every item stays equal to its
|
|
73
|
+
// siblings); smooth, tiny and equal-weight splits keep their basis.
|
|
74
|
+
const m0 = String((0, dsl_stdlib_1.weightedSplit)((0, template_utils_1.latticeWeights)(weights, { cap: SPLIT_BASIS_CAP }), axis, { claimants: bs.map((b) => b.node.m0) }));
|
|
75
|
+
return { m0, sources: bs.flatMap((b) => b.node.sources) };
|
|
76
|
+
}
|
|
77
|
+
const rowSplit = (bands) => split("row", bands);
|
|
78
|
+
exports.rowSplit = rowSplit;
|
|
79
|
+
const colSplit = (bands) => split("col", bands);
|
|
80
|
+
exports.colSplit = colSplit;
|
|
81
|
+
/** Overlay layers as nested overlays: base{l1{l2{…}}}. Sources concat in order. */
|
|
82
|
+
function overlay(layers) {
|
|
83
|
+
const ls = layers.filter((l) => l.sources.length > 0 || l.m0 !== "-");
|
|
84
|
+
if (ls.length === 0)
|
|
85
|
+
return exports.EMPTY;
|
|
86
|
+
if (ls.length === 1)
|
|
87
|
+
return ls[0];
|
|
88
|
+
let m0 = ls[ls.length - 1].m0;
|
|
89
|
+
for (let i = ls.length - 2; i >= 0; i--)
|
|
90
|
+
m0 = `${ls[i].m0}{${m0}}`;
|
|
91
|
+
return { m0, sources: ls.flatMap((l) => l.sources) };
|
|
92
|
+
}
|
|
93
|
+
/** Wrap a node in empty margins so it occupies an inset rect of the parent. */
|
|
94
|
+
function insetNode(node, top, right, bottom, left, W, H) {
|
|
95
|
+
const mid = (0, exports.colSplit)([{ weight: left, node: exports.EMPTY }, { weight: W - left - right, node }, { weight: right, node: exports.EMPTY }]);
|
|
96
|
+
return (0, exports.rowSplit)([{ weight: top, node: exports.EMPTY }, { weight: H - top - bottom, node: mid }, { weight: bottom, node: exports.EMPTY }]);
|
|
97
|
+
}
|
|
98
|
+
/** A single fitted text cell. */
|
|
99
|
+
function textCell(text, fontSize, color, hAlign = "center", vAlign = "middle", padding) {
|
|
100
|
+
const placement = { fit: "contain", hAlign, vAlign };
|
|
101
|
+
if (padding)
|
|
102
|
+
placement.padding = padding;
|
|
103
|
+
return {
|
|
104
|
+
type: "text",
|
|
105
|
+
visual: { backgroundColor: "black@0" },
|
|
106
|
+
layers: [{ content: { kind: "literal", text: text || " " }, style: { fontSize, fontColor: color }, placement }],
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
const DEFAULT_HEADER_BINDING = { title: "title", subtitle: "subtitle" };
|
|
110
|
+
/** Left-aligned title (top) + subtitle (bottom) — the Alpine header signature.
|
|
111
|
+
* One source, two layers: each layer binds its own prop (Make opens the rect
|
|
112
|
+
* as a stacked Title / Subtitle form). */
|
|
113
|
+
function headerCell(opts) {
|
|
114
|
+
const layers = [];
|
|
115
|
+
if (opts.title)
|
|
116
|
+
layers.push({ content: { kind: "literal", text: opts.title }, style: { fontSize: opts.titleFont, fontColor: opts.titleColor }, placement: { fit: "contain", hAlign: "left", vAlign: opts.subtitle ? "top" : "middle" } });
|
|
117
|
+
if (opts.subtitle)
|
|
118
|
+
layers.push({ content: { kind: "literal", text: opts.subtitle }, style: { fontSize: opts.subFont, fontColor: opts.subColor }, placement: { fit: "contain", hAlign: "left", vAlign: opts.title ? "bottom" : "middle" } });
|
|
119
|
+
const src = (0, template_utils_1.tag)({ type: "text", visual: { backgroundColor: "black@0" }, layers }, "card-header");
|
|
120
|
+
if (!opts.binding)
|
|
121
|
+
return src;
|
|
122
|
+
const entries = [];
|
|
123
|
+
if (opts.title && opts.binding.title)
|
|
124
|
+
entries.push({ propKey: opts.binding.title, layer: 0 });
|
|
125
|
+
if (opts.subtitle && opts.binding.subtitle)
|
|
126
|
+
entries.push({ propKey: opts.binding.subtitle, layer: opts.title ? 1 : 0 });
|
|
127
|
+
if (entries.length === 0)
|
|
128
|
+
return src;
|
|
129
|
+
return entries.length === 1 ? (0, template_utils_1.bindProp)(src, entries[0].propKey) : (0, template_utils_1.bindProps)(src, entries);
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Build the Alpine card chrome for a `W×H` canvas. Returns the body's pixel rect
|
|
133
|
+
* plus a `compose(body)` that stacks card surface → (header) → body.
|
|
134
|
+
*/
|
|
135
|
+
function alpineCard(opts) {
|
|
136
|
+
var _a, _b, _c;
|
|
137
|
+
const { theme, W, H } = opts;
|
|
138
|
+
const pad = (_a = opts.padding) !== null && _a !== void 0 ? _a : Math.round(Math.min(W, H) * 0.055);
|
|
139
|
+
const cornerRadius = (_b = opts.cornerRadius) !== null && _b !== void 0 ? _b : theme.cornerRadius;
|
|
140
|
+
const hasTitle = !!(opts.title && opts.title.trim());
|
|
141
|
+
const hasSubtitle = !!(opts.subtitle && opts.subtitle.trim());
|
|
142
|
+
const hasHeader = hasTitle || hasSubtitle;
|
|
143
|
+
// Width-capped: H-scaled fonts clip long titles at the canvas edge (the
|
|
144
|
+
// header text is plain, hAlign left — it runs off the card). 0.72em/char:
|
|
145
|
+
// titles render ALL-CAPS-ish wide. Script-aware length (textEmUnits):
|
|
146
|
+
// Cyrillic/CJK run wider than a Latin char — a flat .length let a Cyrillic
|
|
147
|
+
// title clip at the card edge. Caps bind only when the string would
|
|
148
|
+
// overflow the inner width — ASCII titles render byte-identical.
|
|
149
|
+
const capW = (px, text, slotPx, min) => Math.max(min, Math.min(px, Math.floor(slotPx / (Math.max(1, (0, template_utils_1.textEmUnits)(text !== null && text !== void 0 ? text : "")) * 0.72))));
|
|
150
|
+
const titleFont = capW(Math.max(12, Math.round(H * 0.05)), opts.title, (W - 2 * pad) * 0.96, 12);
|
|
151
|
+
const subFont = capW(Math.max(10, Math.round(H * 0.026)), opts.subtitle, (W - 2 * pad) * 0.96, 10);
|
|
152
|
+
const headerH = hasHeader
|
|
153
|
+
? Math.round((hasSubtitle ? titleFont * 1.25 + subFont * 1.6 : titleFont * 1.5) + H * 0.018)
|
|
154
|
+
: 0;
|
|
155
|
+
const innerW = W - 2 * pad;
|
|
156
|
+
const innerH = H - 2 * pad;
|
|
157
|
+
const contentRect = { x: pad, y: pad + headerH, w: innerW, h: innerH - headerH };
|
|
158
|
+
const headerNode = hasHeader
|
|
159
|
+
? (0, exports.paint)(headerCell({
|
|
160
|
+
title: hasTitle ? opts.title : undefined,
|
|
161
|
+
subtitle: hasSubtitle ? opts.subtitle : undefined,
|
|
162
|
+
titleFont, subFont,
|
|
163
|
+
titleColor: theme.title, subColor: theme.subtitle,
|
|
164
|
+
binding: (_c = opts.headerBinding) !== null && _c !== void 0 ? _c : DEFAULT_HEADER_BINDING,
|
|
165
|
+
}))
|
|
166
|
+
: exports.EMPTY;
|
|
167
|
+
const cardSurface = (0, exports.paint)((0, template_utils_1.makeColorTile)(theme.card, {
|
|
168
|
+
effects: {
|
|
169
|
+
rounding: { cornerStyle: "rounded", borderRadius: cornerRadius },
|
|
170
|
+
stroke: { position: "inner", width: 0.002, color: theme.border, alpha: theme.borderAlpha },
|
|
171
|
+
},
|
|
172
|
+
}));
|
|
173
|
+
// `extraLayers` are full-canvas overlay layers composited ON TOP of the
|
|
174
|
+
// content, INSIDE the card's overlay chain (so the chain stays legal:
|
|
175
|
+
// cardSurface{ content{ layer1{ … } } }). Use for absolutely-positioned
|
|
176
|
+
// content (e.g. a donut ring placed on the full-canvas grid) that must NOT go
|
|
177
|
+
// through a scaled child cell.
|
|
178
|
+
const compose = (content, ...extraLayers) => {
|
|
179
|
+
const stack = hasHeader
|
|
180
|
+
? (0, exports.rowSplit)([{ weight: headerH, node: headerNode }, { weight: contentRect.h, node: content }])
|
|
181
|
+
: content;
|
|
182
|
+
return overlay([cardSurface, insetNode(stack, pad, pad, pad, pad, W, H), ...extraLayers]);
|
|
183
|
+
};
|
|
184
|
+
return {
|
|
185
|
+
contentRect,
|
|
186
|
+
compose,
|
|
187
|
+
backgroundColor: theme.canvas,
|
|
188
|
+
// capW sizes header fonts so text fits by construction; the contract entry
|
|
189
|
+
// turns that from a convention into a guarantee (breaks loudly if capW or
|
|
190
|
+
// the header geometry ever regress).
|
|
191
|
+
constraints: hasHeader ? [{ label: "card-header", textFits: {} }] : [],
|
|
192
|
+
};
|
|
193
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Named 24×24 glyph catalog — the human-friendly door to the raw `iconPath`
|
|
3
|
+
* agent props.
|
|
4
|
+
*
|
|
5
|
+
* The agent-prop pattern (founder ruling 2026-08-20): the RAW prop stores the
|
|
6
|
+
* code-friendly value (an SVG path `d` string) and stays agent-scoped; where
|
|
7
|
+
* it makes sense, a friendly named knob (`icon: "commits"`) drives the SAME
|
|
8
|
+
* underlying value through this catalog. The raw prop always wins as the
|
|
9
|
+
* override, so programmatic callers (the ffmpeg-pulse beats) are unaffected.
|
|
10
|
+
*
|
|
11
|
+
* Paths are GitHub Octicon (MIT) SVG `d` strings, 24×24 viewBox, drawn as
|
|
12
|
+
* inline-mask lavfi tiles (NOT media images, which mis-lay-out the cards).
|
|
13
|
+
* Formerly `hero/ffmpeg-pulse/_shared/pulse-glyphs.ts` (which now re-exports
|
|
14
|
+
* this catalog as `KPI_GLYPHS`).
|
|
15
|
+
*/
|
|
16
|
+
export declare const ALPINE_GLYPHS: Record<string, string>;
|
|
17
|
+
/** The friendly-knob option list (schema `oneOf` + error messages). */
|
|
18
|
+
export declare const ALPINE_GLYPH_NAMES: string[];
|
|
19
|
+
/**
|
|
20
|
+
* Resolve the (friendly `icon`, raw `iconPath`) pair to one SVG path.
|
|
21
|
+
* The RAW agent prop wins; an unknown friendly name fails fast.
|
|
22
|
+
*/
|
|
23
|
+
export declare function resolveAlpineGlyph(icon: string | undefined, rawPath: string | undefined, templateId: string): string | undefined;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ALPINE_GLYPH_NAMES = exports.ALPINE_GLYPHS = void 0;
|
|
4
|
+
exports.resolveAlpineGlyph = resolveAlpineGlyph;
|
|
5
|
+
/**
|
|
6
|
+
* Named 24×24 glyph catalog — the human-friendly door to the raw `iconPath`
|
|
7
|
+
* agent props.
|
|
8
|
+
*
|
|
9
|
+
* The agent-prop pattern (founder ruling 2026-08-20): the RAW prop stores the
|
|
10
|
+
* code-friendly value (an SVG path `d` string) and stays agent-scoped; where
|
|
11
|
+
* it makes sense, a friendly named knob (`icon: "commits"`) drives the SAME
|
|
12
|
+
* underlying value through this catalog. The raw prop always wins as the
|
|
13
|
+
* override, so programmatic callers (the ffmpeg-pulse beats) are unaffected.
|
|
14
|
+
*
|
|
15
|
+
* Paths are GitHub Octicon (MIT) SVG `d` strings, 24×24 viewBox, drawn as
|
|
16
|
+
* inline-mask lavfi tiles (NOT media images, which mis-lay-out the cards).
|
|
17
|
+
* Formerly `hero/ffmpeg-pulse/_shared/pulse-glyphs.ts` (which now re-exports
|
|
18
|
+
* this catalog as `KPI_GLYPHS`).
|
|
19
|
+
*/
|
|
20
|
+
exports.ALPINE_GLYPHS = {
|
|
21
|
+
commits: "M16.944 11h4.306a.75.75 0 0 1 0 1.5h-4.306a5.001 5.001 0 0 1-9.888 0H2.75a.75.75 0 0 1 0-1.5h4.306a5.001 5.001 0 0 1 9.888 0Zm-1.444.75a3.5 3.5 0 1 0-7 0 3.5 3.5 0 0 0 7 0Z",
|
|
22
|
+
pullRequests: "M16 19.25a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0Zm-14.5 0a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0Zm0-14.5a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0ZM4.75 3a1.75 1.75 0 1 0 .001 3.501A1.75 1.75 0 0 0 4.75 3Zm0 14.5a1.75 1.75 0 1 0 .001 3.501A1.75 1.75 0 0 0 4.75 17.5Zm14.5 0a1.75 1.75 0 1 0 .001 3.501 1.75 1.75 0 0 0-.001-3.501Z M13.405 1.72a.75.75 0 0 1 0 1.06L12.185 4h4.065A3.75 3.75 0 0 1 20 7.75v8.75a.75.75 0 0 1-1.5 0V7.75a2.25 2.25 0 0 0-2.25-2.25h-4.064l1.22 1.22a.75.75 0 0 1-1.061 1.06l-2.5-2.5a.75.75 0 0 1 0-1.06l2.5-2.5a.75.75 0 0 1 1.06 0ZM4.75 7.25A.75.75 0 0 1 5.5 8v8A.75.75 0 0 1 4 16V8a.75.75 0 0 1 .75-.75Z",
|
|
23
|
+
mergedPrs: "M15 13.25a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0Zm-12.5 6a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0Zm0-14.5a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0ZM5.75 6.5a1.75 1.75 0 1 0-.001-3.501A1.75 1.75 0 0 0 5.75 6.5Zm0 14.5a1.75 1.75 0 1 0-.001-3.501A1.75 1.75 0 0 0 5.75 21Zm12.5-6a1.75 1.75 0 1 0-.001-3.501A1.75 1.75 0 0 0 18.25 15Z M6.5 7.25c0 2.9 2.35 5.25 5.25 5.25h4.5V14h-4.5A6.75 6.75 0 0 1 5 7.25Z M5.75 16.75A.75.75 0 0 1 5 16V8a.75.75 0 0 1 1.5 0v8a.75.75 0 0 1-.75.75Z",
|
|
24
|
+
openIssues: "M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1ZM2.5 12a9.5 9.5 0 0 0 9.5 9.5 9.5 9.5 0 0 0 9.5-9.5A9.5 9.5 0 0 0 12 2.5 9.5 9.5 0 0 0 2.5 12Zm9.5 2a2 2 0 1 1-.001-3.999A2 2 0 0 1 12 14Z",
|
|
25
|
+
contributors: "M3.5 8a5.5 5.5 0 1 1 8.596 4.547 9.005 9.005 0 0 1 5.9 8.18.751.751 0 0 1-1.5.045 7.5 7.5 0 0 0-14.993 0 .75.75 0 0 1-1.499-.044 9.005 9.005 0 0 1 5.9-8.181A5.496 5.496 0 0 1 3.5 8ZM9 4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm8.29 4c-.148 0-.292.01-.434.03a.75.75 0 1 1-.212-1.484 4.53 4.53 0 0 1 3.38 8.097 6.69 6.69 0 0 1 3.956 6.107.75.75 0 0 1-1.5 0 5.193 5.193 0 0 0-3.696-4.972l-.534-.16v-1.676l.41-.209A3.03 3.03 0 0 0 17.29 8Z",
|
|
26
|
+
additions: "M12.75 7a.75.75 0 0 0-1.5 0v4.25H7a.75.75 0 0 0 0 1.5h4.25V17a.75.75 0 0 0 1.5 0v-4.25H17a.75.75 0 0 0 0-1.5h-4.25V7Z M3.75 2A1.75 1.75 0 0 0 2 3.75v16.5c0 .966.784 1.75 1.75 1.75h16.5A1.75 1.75 0 0 0 22 20.25V3.75A1.75 1.75 0 0 0 20.25 2H3.75ZM3.5 3.75a.25.25 0 0 1 .25-.25h16.5a.25.25 0 0 1 .25.25v16.5a.25.25 0 0 1-.25.25H3.75a.25.25 0 0 1-.25-.25V3.75Z",
|
|
27
|
+
deletions: "M7.313 11.25a.75.75 0 0 0 0 1.5h9.937a.75.75 0 0 0 0-1.5H7.312Z M3.75 2A1.75 1.75 0 0 0 2 3.75v16.5c0 .966.784 1.75 1.75 1.75h16.5A1.75 1.75 0 0 0 22 20.25V3.75A1.75 1.75 0 0 0 20.25 2H3.75ZM3.5 3.75a.25.25 0 0 1 .25-.25h16.5a.25.25 0 0 1 .25.25v16.5a.25.25 0 0 1-.25.25H3.75a.25.25 0 0 1-.25-.25V3.75Z",
|
|
28
|
+
stars: "M12 .25a.75.75 0 0 1 .673.418l3.058 6.197 6.839.994a.75.75 0 0 1 .415 1.279l-4.948 4.823 1.168 6.811a.751.751 0 0 1-1.088.791L12 18.347l-6.117 3.216a.75.75 0 0 1-1.088-.79l1.168-6.812-4.948-4.823a.75.75 0 0 1 .416-1.28l6.838-.993L11.328.668A.75.75 0 0 1 12 .25Zm0 2.445L9.44 7.882a.75.75 0 0 1-.565.41l-5.725.832 4.143 4.038a.748.748 0 0 1 .215.664l-.978 5.702 5.121-2.692a.75.75 0 0 1 .698 0l5.12 2.692-.977-5.702a.748.748 0 0 1 .215-.664l4.143-4.038-5.725-.831a.75.75 0 0 1-.565-.41L12 2.694Z",
|
|
29
|
+
};
|
|
30
|
+
/** The friendly-knob option list (schema `oneOf` + error messages). */
|
|
31
|
+
exports.ALPINE_GLYPH_NAMES = Object.keys(exports.ALPINE_GLYPHS);
|
|
32
|
+
/**
|
|
33
|
+
* Resolve the (friendly `icon`, raw `iconPath`) pair to one SVG path.
|
|
34
|
+
* The RAW agent prop wins; an unknown friendly name fails fast.
|
|
35
|
+
*/
|
|
36
|
+
function resolveAlpineGlyph(icon, rawPath, templateId) {
|
|
37
|
+
if (rawPath)
|
|
38
|
+
return rawPath;
|
|
39
|
+
if (!icon)
|
|
40
|
+
return undefined;
|
|
41
|
+
const path = exports.ALPINE_GLYPHS[icon];
|
|
42
|
+
if (!path) {
|
|
43
|
+
throw new Error(`${templateId}: unknown icon "${icon}" — one of: ${exports.ALPINE_GLYPH_NAMES.join(", ")}`);
|
|
44
|
+
}
|
|
45
|
+
return path;
|
|
46
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ============================================================================
|
|
3
|
+
* Alpine pack — shared theme tokens
|
|
4
|
+
* ============================================================================
|
|
5
|
+
*
|
|
6
|
+
* The Alpine data-viz pack (`@m0saic/alpine/*`) is a single brand flavor: a
|
|
7
|
+
* friendly, mobile-marketing aesthetic — white rounded cards, soft borders, a
|
|
8
|
+
* clean type scale, and a warm-but-trustworthy palette. Every Alpine template
|
|
9
|
+
* pulls its colors from ONE {@link AlpineTheme} so the whole pack reads as a
|
|
10
|
+
* coherent set.
|
|
11
|
+
*
|
|
12
|
+
* These tokens are pack-local on purpose: Alpine is standalone, NOT a re-skin of
|
|
13
|
+
* the generic `@m0saic/charts/*` primitives. The generic charts keep their own
|
|
14
|
+
* presets; Alpine owns this look.
|
|
15
|
+
*
|
|
16
|
+
* Palette derived from the Alpine dashboard reference: a #2563EB primary, slate
|
|
17
|
+
* text, hairline gridlines, and a six-color categorical ramp matching the
|
|
18
|
+
* reference treemap/donut colors.
|
|
19
|
+
* ============================================================================
|
|
20
|
+
*/
|
|
21
|
+
import type { MosaicColor, MosaicEngineContext, MosaicThemeTokens } from "@m0saic/types";
|
|
22
|
+
import { type ThemeSourceConfig } from "@m0saic/template-utils";
|
|
23
|
+
/** One coherent Alpine look. Consumed by every template in the pack. */
|
|
24
|
+
export type AlpineTheme = {
|
|
25
|
+
/** Page/canvas behind the card. */
|
|
26
|
+
canvas: MosaicColor;
|
|
27
|
+
/** Card surface (the rounded panel a chart sits on). */
|
|
28
|
+
card: MosaicColor;
|
|
29
|
+
/** Hairline card border color. */
|
|
30
|
+
border: MosaicColor;
|
|
31
|
+
/** Card border opacity (0..1). */
|
|
32
|
+
borderAlpha: number;
|
|
33
|
+
/** Card title (bold, dominant). */
|
|
34
|
+
title: MosaicColor;
|
|
35
|
+
/** Card subtitle (muted caption under the title). */
|
|
36
|
+
subtitle: MosaicColor;
|
|
37
|
+
/** In-chart labels (categories, axis values). */
|
|
38
|
+
label: MosaicColor;
|
|
39
|
+
/** De-emphasized text (secondary captions, ticks). */
|
|
40
|
+
muted: MosaicColor;
|
|
41
|
+
/** Primary series / bar / line color. */
|
|
42
|
+
primary: MosaicColor;
|
|
43
|
+
/** Positive delta / up-trend. */
|
|
44
|
+
positive: MosaicColor;
|
|
45
|
+
/** Negative delta / down-trend. */
|
|
46
|
+
negative: MosaicColor;
|
|
47
|
+
/** Gridline color. */
|
|
48
|
+
grid: MosaicColor;
|
|
49
|
+
/** Gridline opacity (0..1). */
|
|
50
|
+
gridAlpha: number;
|
|
51
|
+
/** Axis line color. */
|
|
52
|
+
axis: MosaicColor;
|
|
53
|
+
/** Axis line opacity (0..1). */
|
|
54
|
+
axisAlpha: number;
|
|
55
|
+
/** Card corner radius as a fraction of the shorter side (0..1). Friendly = generous. */
|
|
56
|
+
cornerRadius: number;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Categorical ramp for multi-series / multi-segment marks (donut slices, stacked
|
|
60
|
+
* bars, treemap tiles). Index 0 is the primary; cycle for additional series.
|
|
61
|
+
* Mirrors the reference dashboard's tile colors.
|
|
62
|
+
*/
|
|
63
|
+
export declare const ALPINE_PALETTE: MosaicColor[];
|
|
64
|
+
/** Theme presets. `light` is the canonical Alpine look; `dark` is the night variant. */
|
|
65
|
+
export declare const ALPINE_PRESETS: Record<"light" | "dark", AlpineTheme>;
|
|
66
|
+
/** Preset id union — the `preset` prop type Alpine templates expose. */
|
|
67
|
+
export type AlpinePreset = keyof typeof ALPINE_PRESETS;
|
|
68
|
+
/** Resolve a preset id to its theme (defaults to `light`). */
|
|
69
|
+
export declare function alpineTheme(preset?: AlpinePreset): AlpineTheme;
|
|
70
|
+
/** Map an `AlpineTheme` onto the 21-key `MosaicThemeTokens` (the resolver fallback). */
|
|
71
|
+
export declare function alpineToTokens(t: AlpineTheme): MosaicThemeTokens;
|
|
72
|
+
/** Overlay resolved `MosaicThemeTokens` back onto `AlpineTheme` keys. `base`
|
|
73
|
+
* supplies the scalars with no token home (`borderAlpha`). Inverse of
|
|
74
|
+
* `alpineToTokens` on the used keys → round-trip identity when unthemed. */
|
|
75
|
+
export declare function tokensToAlpine(tk: MosaicThemeTokens, base: AlpineTheme): AlpineTheme;
|
|
76
|
+
/**
|
|
77
|
+
* Producer-overridable theme resolver — the Family-A theming chokepoint. Drop-in
|
|
78
|
+
* async replacement for `alpineTheme(preset)`: builds the preset fallback, runs it
|
|
79
|
+
* through `resolveThemeTokens` (which overlays `ctx.upstreamData["theme"]` / a
|
|
80
|
+
* seeded `config.slug` per-key), and maps back to `AlpineTheme`. Unthemed →
|
|
81
|
+
* returns the preset unchanged (byte-identical). `props.theme` (producer) wins over
|
|
82
|
+
* `props.preset`; explicit per-mark color props still win at each callsite.
|
|
83
|
+
*/
|
|
84
|
+
export declare function resolveAlpineTheme(preset: AlpinePreset | undefined, ctx: MosaicEngineContext, config?: ThemeSourceConfig): Promise<AlpineTheme>;
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ============================================================================
|
|
4
|
+
* Alpine pack — shared theme tokens
|
|
5
|
+
* ============================================================================
|
|
6
|
+
*
|
|
7
|
+
* The Alpine data-viz pack (`@m0saic/alpine/*`) is a single brand flavor: a
|
|
8
|
+
* friendly, mobile-marketing aesthetic — white rounded cards, soft borders, a
|
|
9
|
+
* clean type scale, and a warm-but-trustworthy palette. Every Alpine template
|
|
10
|
+
* pulls its colors from ONE {@link AlpineTheme} so the whole pack reads as a
|
|
11
|
+
* coherent set.
|
|
12
|
+
*
|
|
13
|
+
* These tokens are pack-local on purpose: Alpine is standalone, NOT a re-skin of
|
|
14
|
+
* the generic `@m0saic/charts/*` primitives. The generic charts keep their own
|
|
15
|
+
* presets; Alpine owns this look.
|
|
16
|
+
*
|
|
17
|
+
* Palette derived from the Alpine dashboard reference: a #2563EB primary, slate
|
|
18
|
+
* text, hairline gridlines, and a six-color categorical ramp matching the
|
|
19
|
+
* reference treemap/donut colors.
|
|
20
|
+
* ============================================================================
|
|
21
|
+
*/
|
|
22
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
|
+
exports.ALPINE_PRESETS = exports.ALPINE_PALETTE = void 0;
|
|
24
|
+
exports.alpineTheme = alpineTheme;
|
|
25
|
+
exports.alpineToTokens = alpineToTokens;
|
|
26
|
+
exports.tokensToAlpine = tokensToAlpine;
|
|
27
|
+
exports.resolveAlpineTheme = resolveAlpineTheme;
|
|
28
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
29
|
+
/**
|
|
30
|
+
* Categorical ramp for multi-series / multi-segment marks (donut slices, stacked
|
|
31
|
+
* bars, treemap tiles). Index 0 is the primary; cycle for additional series.
|
|
32
|
+
* Mirrors the reference dashboard's tile colors.
|
|
33
|
+
*/
|
|
34
|
+
exports.ALPINE_PALETTE = [
|
|
35
|
+
"#2563EB", // blue (primary)
|
|
36
|
+
"#10B981", // emerald
|
|
37
|
+
"#F59E0B", // amber
|
|
38
|
+
"#EF4444", // red
|
|
39
|
+
"#8B5CF6", // violet
|
|
40
|
+
"#0EA5E9", // sky
|
|
41
|
+
];
|
|
42
|
+
/** Theme presets. `light` is the canonical Alpine look; `dark` is the night variant. */
|
|
43
|
+
exports.ALPINE_PRESETS = {
|
|
44
|
+
light: {
|
|
45
|
+
canvas: "#F8FAFC",
|
|
46
|
+
card: "#FFFFFF",
|
|
47
|
+
border: "#E5E7EB",
|
|
48
|
+
borderAlpha: 1,
|
|
49
|
+
title: "#0F172A",
|
|
50
|
+
subtitle: "#64748B",
|
|
51
|
+
label: "#334155",
|
|
52
|
+
muted: "#94A3B8",
|
|
53
|
+
primary: "#2563EB",
|
|
54
|
+
positive: "#16A34A",
|
|
55
|
+
negative: "#DC2626",
|
|
56
|
+
grid: "#E2E8F0",
|
|
57
|
+
gridAlpha: 1,
|
|
58
|
+
axis: "#CBD5E1",
|
|
59
|
+
axisAlpha: 1,
|
|
60
|
+
cornerRadius: 0.08,
|
|
61
|
+
},
|
|
62
|
+
dark: {
|
|
63
|
+
canvas: "#0B1120",
|
|
64
|
+
card: "#111827",
|
|
65
|
+
border: "#1F2937",
|
|
66
|
+
borderAlpha: 1,
|
|
67
|
+
title: "#F1F5F9",
|
|
68
|
+
subtitle: "#94A3B8",
|
|
69
|
+
label: "#CBD5E1",
|
|
70
|
+
muted: "#64748B",
|
|
71
|
+
primary: "#3B82F6",
|
|
72
|
+
positive: "#22C55E",
|
|
73
|
+
negative: "#F87171",
|
|
74
|
+
grid: "#1E293B",
|
|
75
|
+
gridAlpha: 1,
|
|
76
|
+
axis: "#334155",
|
|
77
|
+
axisAlpha: 1,
|
|
78
|
+
cornerRadius: 0.08,
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
/** Resolve a preset id to its theme (defaults to `light`). */
|
|
82
|
+
function alpineTheme(preset) {
|
|
83
|
+
return exports.ALPINE_PRESETS[preset !== null && preset !== void 0 ? preset : "light"];
|
|
84
|
+
}
|
|
85
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
86
|
+
// Producer theming (F4 U-A0). Bridge the pack-local `AlpineTheme` (20 keys) to
|
|
87
|
+
// the repo's 21-key `MosaicThemeTokens` so a producer (`@m0saic/theming/v1`) can
|
|
88
|
+
// re-skin every Family-A alpine template through ONE resolver. The two maps are
|
|
89
|
+
// exact inverses on the used keys, so an UNTHEMED render is byte-identical to the
|
|
90
|
+
// old `alpineTheme(preset)` path (verified by round-trip). The categorical
|
|
91
|
+
// `ALPINE_PALETTE` stays local for now — per-mark colors already resolve with
|
|
92
|
+
// explicit-prop-wins at each callsite (`resolveColor(item.color ?? …, palette)`).
|
|
93
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
94
|
+
/** Map an `AlpineTheme` onto the 21-key `MosaicThemeTokens` (the resolver fallback). */
|
|
95
|
+
function alpineToTokens(t) {
|
|
96
|
+
return {
|
|
97
|
+
surfaceApp: t.canvas,
|
|
98
|
+
surface: t.card,
|
|
99
|
+
surfaceRaised: t.card,
|
|
100
|
+
surfaceInset: t.canvas,
|
|
101
|
+
border: t.border,
|
|
102
|
+
borderStrong: t.border,
|
|
103
|
+
textPrimary: t.title,
|
|
104
|
+
textSecondary: t.subtitle,
|
|
105
|
+
textMuted: t.label,
|
|
106
|
+
eyebrow: t.muted,
|
|
107
|
+
accent: t.primary,
|
|
108
|
+
accentSoft: t.primary,
|
|
109
|
+
accentGlow: t.primary,
|
|
110
|
+
positive: t.positive,
|
|
111
|
+
negative: t.negative,
|
|
112
|
+
grid: t.grid,
|
|
113
|
+
gridAlpha: t.gridAlpha,
|
|
114
|
+
axis: t.axis,
|
|
115
|
+
axisAlpha: t.axisAlpha,
|
|
116
|
+
radius: t.cornerRadius,
|
|
117
|
+
dataPalette: exports.ALPINE_PALETTE,
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
/** Overlay resolved `MosaicThemeTokens` back onto `AlpineTheme` keys. `base`
|
|
121
|
+
* supplies the scalars with no token home (`borderAlpha`). Inverse of
|
|
122
|
+
* `alpineToTokens` on the used keys → round-trip identity when unthemed. */
|
|
123
|
+
function tokensToAlpine(tk, base) {
|
|
124
|
+
return {
|
|
125
|
+
canvas: tk.surfaceApp,
|
|
126
|
+
card: tk.surface,
|
|
127
|
+
border: tk.border,
|
|
128
|
+
borderAlpha: base.borderAlpha,
|
|
129
|
+
title: tk.textPrimary,
|
|
130
|
+
subtitle: tk.textSecondary,
|
|
131
|
+
label: tk.textMuted,
|
|
132
|
+
muted: tk.eyebrow,
|
|
133
|
+
primary: tk.accent,
|
|
134
|
+
positive: tk.positive,
|
|
135
|
+
negative: tk.negative,
|
|
136
|
+
grid: tk.grid,
|
|
137
|
+
gridAlpha: tk.gridAlpha,
|
|
138
|
+
axis: tk.axis,
|
|
139
|
+
axisAlpha: tk.axisAlpha,
|
|
140
|
+
cornerRadius: tk.radius,
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Producer-overridable theme resolver — the Family-A theming chokepoint. Drop-in
|
|
145
|
+
* async replacement for `alpineTheme(preset)`: builds the preset fallback, runs it
|
|
146
|
+
* through `resolveThemeTokens` (which overlays `ctx.upstreamData["theme"]` / a
|
|
147
|
+
* seeded `config.slug` per-key), and maps back to `AlpineTheme`. Unthemed →
|
|
148
|
+
* returns the preset unchanged (byte-identical). `props.theme` (producer) wins over
|
|
149
|
+
* `props.preset`; explicit per-mark color props still win at each callsite.
|
|
150
|
+
*/
|
|
151
|
+
async function resolveAlpineTheme(preset, ctx, config) {
|
|
152
|
+
const base = alpineTheme(preset);
|
|
153
|
+
const resolved = await (0, template_utils_1.resolveThemeTokens)(alpineToTokens(base), ctx, config);
|
|
154
|
+
return tokensToAlpine(resolved, base);
|
|
155
|
+
}
|