animl-cli 0.0.0-stage → 0.1.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 +21 -0
- package/NOTICE +34 -0
- package/README.md +21 -2
- package/docs/AUTHORING.md +1530 -0
- package/docs/CLI.md +627 -0
- package/docs/parity/inventory.json +34570 -0
- package/examples/bell.ani +359 -0
- package/examples/bell.animl +114 -0
- package/examples/composite.ani +110 -0
- package/examples/composite.animl +21 -0
- package/examples/feather.ani +56 -0
- package/examples/feather.animl +20 -0
- package/examples/image-paints.ani +32 -0
- package/examples/image-paints.animl +8 -0
- package/examples/lib/cards.animl +9 -0
- package/examples/lib/shared.animl +10 -0
- package/examples/lib/ui.animl +8 -0
- package/examples/moon-toggle.png +0 -0
- package/examples/moon.ani +250 -0
- package/examples/moon.animl +55 -0
- package/examples/motion.ani +94 -0
- package/examples/motion.animl +24 -0
- package/examples/paint.ani +91 -0
- package/examples/paint.animl +21 -0
- package/examples/photo.ani +29 -0
- package/examples/photo.animl +6 -0
- package/examples/progress.ani +43 -0
- package/examples/progress.animl +6 -0
- package/examples/shapes.ani +109 -0
- package/examples/shapes.animl +16 -0
- package/examples/slice.ani +32 -0
- package/examples/slice.animl +9 -0
- package/examples/switch.ani +91 -0
- package/examples/switch.animl +22 -0
- package/examples/toolbar.ani +480 -0
- package/examples/toolbar.animl +115 -0
- package/examples/trash-ring.png +0 -0
- package/examples/trash.ani +357 -0
- package/examples/trash.animl +88 -0
- package/examples/web/index.html +520 -0
- package/examples/web/template.html +162 -0
- package/fixtures/bell/rive-reference/frames/00-rest.png +0 -0
- package/fixtures/bell/rive-reference/frames/01-hover.png +0 -0
- package/fixtures/bell/rive-reference/frames/02-ring-f3.png +0 -0
- package/fixtures/bell/rive-reference/frames/03-ring-f7.png +0 -0
- package/fixtures/bell/rive-reference/frames/04-ring-f17.png +0 -0
- package/fixtures/bell/rive-reference/frames/05-ring-f27.png +0 -0
- package/fixtures/bell/rive-reference/frames/06-ring-f57.png +0 -0
- package/fixtures/bell/rive-reference/frames/07-rested.png +0 -0
- package/fixtures/bell/rive-reference/frames/08-out.png +0 -0
- package/fixtures/bell/rive-reference/frames/commands.txt +24 -0
- package/llms.txt +30 -0
- package/modules/a11y/AUTHORING.md +108 -0
- package/modules/a11y/SPEC.md +304 -0
- package/modules/a11y/capabilities/a11y-focus-condition/example.ani +69 -0
- package/modules/a11y/capabilities/a11y-focus-condition/example.animl +17 -0
- package/modules/a11y/capabilities/a11y-inferred-text/example.ani +47 -0
- package/modules/a11y/capabilities/a11y-inferred-text/example.animl +13 -0
- package/modules/a11y/capabilities/a11y-property-heading-level/example.ani +26 -0
- package/modules/a11y/capabilities/a11y-property-heading-level/example.animl +6 -0
- package/modules/a11y/capabilities/a11y-tree-bounds/example.ani +88 -0
- package/modules/a11y/capabilities/a11y-tree-bounds/example.animl +18 -0
- package/modules/a11y/capabilities/a11y-tree-visibility/example.ani +16 -0
- package/modules/a11y/capabilities/a11y-tree-visibility/example.animl +4 -0
- package/modules/a11y/core/commands.source +135 -0
- package/modules/a11y/examples/contract.ani +74 -0
- package/modules/a11y/examples/contract.animl +15 -0
- package/modules/a11y/examples/focus-ancestor-policy.ani +72 -0
- package/modules/a11y/examples/focus-ancestor-policy.animl +16 -0
- package/modules/a11y/examples/painted-extents.ani +331 -0
- package/modules/a11y/examples/painted-extents.animl +62 -0
- package/modules/a11y/examples/painted-groups.ani +88 -0
- package/modules/a11y/examples/painted-groups.animl +18 -0
- package/modules/a11y/examples/slider-value-text.ani +53 -0
- package/modules/a11y/examples/slider-value-text.animl +11 -0
- package/modules/a11y/manifest.source +49 -0
- package/modules/a11y-actions/manifest.source +22 -0
- package/modules/a11y-dom/AUTHORING.md +35 -0
- package/modules/a11y-dom/SPEC.md +165 -0
- package/modules/a11y-dom/examples/mute.ani +28 -0
- package/modules/a11y-dom/examples/mute.animl +6 -0
- package/modules/a11y-dom/examples/navigation.ani +152 -0
- package/modules/a11y-dom/examples/navigation.animl +35 -0
- package/modules/a11y-dom/manifest.source +22 -0
- package/modules/assetio/SPEC.md +16 -0
- package/modules/assetio/manifest.source +12 -0
- package/modules/assets/SPEC.md +23 -0
- package/modules/assets/capabilities/assets-audio/example.ani +60 -0
- package/modules/assets/capabilities/assets-audio/example.animl +16 -0
- package/modules/assets/capabilities/assets-audio-clip/example.ani +62 -0
- package/modules/assets/capabilities/assets-audio-clip/example.animl +17 -0
- package/modules/assets/capabilities/assets-audio-export-source/example.ani +60 -0
- package/modules/assets/capabilities/assets-audio-export-source/example.animl +16 -0
- package/modules/assets/capabilities/assets-audio-import-flac/example.ani +63 -0
- package/modules/assets/capabilities/assets-audio-import-flac/example.animl +17 -0
- package/modules/assets/capabilities/assets-audio-import-mp3/example.ani +63 -0
- package/modules/assets/capabilities/assets-audio-import-mp3/example.animl +17 -0
- package/modules/assets/capabilities/assets-audio-import-wav/example.ani +60 -0
- package/modules/assets/capabilities/assets-audio-import-wav/example.animl +16 -0
- package/modules/assets/capabilities/assets-blob/example.ani +52 -0
- package/modules/assets/capabilities/assets-blob/example.animl +13 -0
- package/modules/assets/capabilities/assets-cdn-disable/example.ani +48 -0
- package/modules/assets/capabilities/assets-cdn-disable/example.animl +12 -0
- package/modules/assets/capabilities/assets-exclude-export/example.ani +49 -0
- package/modules/assets/capabilities/assets-exclude-export/example.animl +12 -0
- package/modules/assets/capabilities/assets-host-decode-audio/example.ani +60 -0
- package/modules/assets/capabilities/assets-host-decode-audio/example.animl +16 -0
- package/modules/assets/capabilities/assets-image-encoding-jpeg/example.ani +50 -0
- package/modules/assets/capabilities/assets-image-encoding-jpeg/example.animl +12 -0
- package/modules/assets/capabilities/assets-image-encoding-png/example.ani +50 -0
- package/modules/assets/capabilities/assets-image-encoding-png/example.animl +12 -0
- package/modules/assets/capabilities/assets-image-encoding-webp/example.ani +50 -0
- package/modules/assets/capabilities/assets-image-encoding-webp/example.animl +12 -0
- package/modules/assets/capabilities/assets-image-export-controls/example.ani +49 -0
- package/modules/assets/capabilities/assets-image-export-controls/example.animl +12 -0
- package/modules/assets/capabilities/assets-image-filter-bilinear/example.ani +49 -0
- package/modules/assets/capabilities/assets-image-filter-bilinear/example.animl +12 -0
- package/modules/assets/capabilities/assets-image-filter-nearest/example.ani +49 -0
- package/modules/assets/capabilities/assets-image-filter-nearest/example.animl +12 -0
- package/modules/assets/capabilities/assets-image-import-jpeg/example.ani +49 -0
- package/modules/assets/capabilities/assets-image-import-jpeg/example.animl +12 -0
- package/modules/assets/capabilities/assets-image-import-jpg/example.ani +49 -0
- package/modules/assets/capabilities/assets-image-import-jpg/example.animl +12 -0
- package/modules/assets/capabilities/assets-image-import-png/example.ani +49 -0
- package/modules/assets/capabilities/assets-image-import-png/example.animl +12 -0
- package/modules/assets/capabilities/assets-image-import-webp/example.ani +49 -0
- package/modules/assets/capabilities/assets-image-import-webp/example.animl +12 -0
- package/modules/assets/capabilities/assets-image-wrap-x-clamp/example.ani +50 -0
- package/modules/assets/capabilities/assets-image-wrap-x-clamp/example.animl +12 -0
- package/modules/assets/capabilities/assets-image-wrap-x-mirror/example.ani +50 -0
- package/modules/assets/capabilities/assets-image-wrap-x-mirror/example.animl +12 -0
- package/modules/assets/capabilities/assets-image-wrap-x-repeat/example.ani +50 -0
- package/modules/assets/capabilities/assets-image-wrap-x-repeat/example.animl +12 -0
- package/modules/assets/capabilities/assets-image-wrap-y-clamp/example.ani +50 -0
- package/modules/assets/capabilities/assets-image-wrap-y-clamp/example.animl +12 -0
- package/modules/assets/capabilities/assets-image-wrap-y-mirror/example.ani +50 -0
- package/modules/assets/capabilities/assets-image-wrap-y-mirror/example.animl +12 -0
- package/modules/assets/capabilities/assets-image-wrap-y-repeat/example.ani +50 -0
- package/modules/assets/capabilities/assets-image-wrap-y-repeat/example.animl +12 -0
- package/modules/assets/capabilities/assets-lottie-import/example.ani +58 -0
- package/modules/assets/capabilities/assets-lottie-import/example.animl +20 -0
- package/modules/assets/capabilities/assets-metadata/example.ani +53 -0
- package/modules/assets/capabilities/assets-metadata/example.animl +12 -0
- package/modules/assets/capabilities/assets-replacement-scope-image/example.ani +48 -0
- package/modules/assets/capabilities/assets-replacement-scope-image/example.animl +12 -0
- package/modules/assets/capabilities/assets-svg-import/example.ani +52 -0
- package/modules/assets/capabilities/assets-svg-import/example.animl +11 -0
- package/modules/assets/capabilities/host-api-asset-cdn-policy/example.ani +48 -0
- package/modules/assets/capabilities/host-api-asset-cdn-policy/example.animl +12 -0
- package/modules/assets/capabilities/host-api-asset-loader/example.ani +48 -0
- package/modules/assets/capabilities/host-api-asset-loader/example.animl +12 -0
- package/modules/assets/capabilities/host-api-asset-metadata/example.ani +53 -0
- package/modules/assets/capabilities/host-api-asset-metadata/example.animl +12 -0
- package/modules/assets/manifest.source +79 -0
- package/modules/bind/AUTHORING.md +49 -0
- package/modules/bind/capabilities/data-bind-listener-actions/example.ani +30 -0
- package/modules/bind/capabilities/data-bind-listener-actions/example.animl +5 -0
- package/modules/bind/core/expression.source +224 -0
- package/modules/bind/examples/filtering-list.ani +122 -0
- package/modules/bind/examples/filtering-list.animl +29 -0
- package/modules/bind/manifest.source +58 -0
- package/modules/canvas/capabilities/host-api-device-pixel-ratio/example.ani +16 -0
- package/modules/canvas/capabilities/host-api-device-pixel-ratio/example.animl +3 -0
- package/modules/canvas/capabilities/host-api-resize-backing-surface/example.ani +16 -0
- package/modules/canvas/capabilities/host-api-resize-backing-surface/example.animl +3 -0
- package/modules/canvas/capabilities/platforms-web-canvas/example.ani +16 -0
- package/modules/canvas/capabilities/platforms-web-canvas/example.animl +3 -0
- package/modules/canvas/manifest.source +16 -0
- package/modules/colormix/examples/switch.ani +51 -0
- package/modules/colormix/examples/switch.animl +13 -0
- package/modules/colormix/manifest.source +39 -0
- package/modules/componentpaint/capabilities/drawing-paint-paint-artboard/example.ani +72 -0
- package/modules/componentpaint/capabilities/drawing-paint-paint-artboard/example.animl +13 -0
- package/modules/componentpaint/examples/live.ani +72 -0
- package/modules/componentpaint/examples/live.animl +13 -0
- package/modules/componentpaint/manifest.source +29 -0
- package/modules/components/manifest.source +61 -0
- package/modules/composite/manifest.source +49 -0
- package/modules/contour/capabilities/drawing-paint-asymmetric-vertex/example.ani +32 -0
- package/modules/contour/capabilities/drawing-paint-asymmetric-vertex/example.animl +5 -0
- package/modules/contour/capabilities/drawing-paint-detached-vertex/example.ani +32 -0
- package/modules/contour/capabilities/drawing-paint-detached-vertex/example.animl +5 -0
- package/modules/contour/capabilities/drawing-paint-effect-order/example.ani +28 -0
- package/modules/contour/capabilities/drawing-paint-effect-order/example.animl +3 -0
- package/modules/contour/capabilities/drawing-paint-fill-rule-clockwise/example.ani +17 -0
- package/modules/contour/capabilities/drawing-paint-fill-rule-clockwise/example.animl +3 -0
- package/modules/contour/capabilities/drawing-paint-geometry-origin/example.ani +35 -0
- package/modules/contour/capabilities/drawing-paint-geometry-origin/example.animl +5 -0
- package/modules/contour/capabilities/drawing-paint-mirrored-vertex/example.ani +31 -0
- package/modules/contour/capabilities/drawing-paint-mirrored-vertex/example.animl +5 -0
- package/modules/contour/capabilities/drawing-paint-rounded-vertex/example.ani +31 -0
- package/modules/contour/capabilities/drawing-paint-rounded-vertex/example.animl +5 -0
- package/modules/contour/capabilities/drawing-paint-shared-effects/example.ani +26 -0
- package/modules/contour/capabilities/drawing-paint-shared-effects/example.animl +3 -0
- package/modules/contour/capabilities/drawing-paint-straight-vertex/example.ani +30 -0
- package/modules/contour/capabilities/drawing-paint-straight-vertex/example.animl +5 -0
- package/modules/contour/capabilities/drawing-paint-trim-sequential/example.ani +22 -0
- package/modules/contour/capabilities/drawing-paint-trim-sequential/example.animl +3 -0
- package/modules/contour/capabilities/drawing-paint-trim-synchronized/example.ani +22 -0
- package/modules/contour/capabilities/drawing-paint-trim-synchronized/example.animl +3 -0
- package/modules/contour/manifest.source +47 -0
- package/modules/convert/SPEC.md +140 -0
- package/modules/convert/capabilities/data-converter-color-formatting/example.ani +44 -0
- package/modules/convert/capabilities/data-converter-color-formatting/example.animl +8 -0
- package/modules/convert/capabilities/data-converter-trigger/example.ani +78 -0
- package/modules/convert/capabilities/data-converter-trigger/example.animl +22 -0
- package/modules/convert/core/math.source +126 -0
- package/modules/convert/examples/score.ani +60 -0
- package/modules/convert/examples/score.animl +12 -0
- package/modules/convert/examples/travelling-indicator.ani +41 -0
- package/modules/convert/examples/travelling-indicator.animl +8 -0
- package/modules/convert/manifest.source +53 -0
- package/modules/corners/examples/switch.ani +20 -0
- package/modules/corners/examples/switch.animl +3 -0
- package/modules/corners/manifest.source +25 -0
- package/modules/data/SPEC.md +216 -0
- package/modules/data/capabilities/data-bind-conditions/example.ani +52 -0
- package/modules/data/capabilities/data-bind-conditions/example.animl +17 -0
- package/modules/data/capabilities/data-bind-converter-options/example.ani +16 -0
- package/modules/data/capabilities/data-bind-converter-options/example.animl +4 -0
- package/modules/data/capabilities/data-bind-instance-values/example.ani +66 -0
- package/modules/data/capabilities/data-bind-instance-values/example.animl +17 -0
- package/modules/data/capabilities/data-bind-keyframes/example.ani +16 -0
- package/modules/data/capabilities/data-bind-keyframes/example.animl +4 -0
- package/modules/data/capabilities/data-bind-script-inputs/example.ani +16 -0
- package/modules/data/capabilities/data-bind-script-inputs/example.animl +4 -0
- package/modules/data/capabilities/data-bind-text/example.ani +16 -0
- package/modules/data/capabilities/data-bind-text/example.animl +4 -0
- package/modules/data/capabilities/data-binding-absolute/example.ani +43 -0
- package/modules/data/capabilities/data-binding-absolute/example.animl +13 -0
- package/modules/data/capabilities/data-binding-once/example.ani +58 -0
- package/modules/data/capabilities/data-binding-once/example.animl +20 -0
- package/modules/data/capabilities/data-binding-relative/example.ani +16 -0
- package/modules/data/capabilities/data-binding-relative/example.animl +4 -0
- package/modules/data/capabilities/data-binding-to-source/example.ani +58 -0
- package/modules/data/capabilities/data-binding-to-source/example.animl +20 -0
- package/modules/data/capabilities/data-binding-two-way-prefer-source/example.ani +59 -0
- package/modules/data/capabilities/data-binding-two-way-prefer-source/example.animl +20 -0
- package/modules/data/capabilities/data-binding-two-way-prefer-target/example.ani +59 -0
- package/modules/data/capabilities/data-binding-two-way-prefer-target/example.animl +20 -0
- package/modules/data/capabilities/data-component-public-data/example.ani +66 -0
- package/modules/data/capabilities/data-component-public-data/example.animl +17 -0
- package/modules/data/capabilities/data-custom-property-boolean/example.ani +35 -0
- package/modules/data/capabilities/data-custom-property-boolean/example.animl +9 -0
- package/modules/data/capabilities/data-custom-property-color/example.ani +38 -0
- package/modules/data/capabilities/data-custom-property-color/example.animl +9 -0
- package/modules/data/capabilities/data-custom-property-enum/example.ani +40 -0
- package/modules/data/capabilities/data-custom-property-enum/example.animl +9 -0
- package/modules/data/capabilities/data-custom-property-number/example.ani +35 -0
- package/modules/data/capabilities/data-custom-property-number/example.animl +9 -0
- package/modules/data/capabilities/data-custom-property-string/example.ani +35 -0
- package/modules/data/capabilities/data-custom-property-string/example.animl +9 -0
- package/modules/data/capabilities/data-custom-property-trigger/example.ani +52 -0
- package/modules/data/capabilities/data-custom-property-trigger/example.animl +15 -0
- package/modules/data/capabilities/data-default-instance/example.ani +43 -0
- package/modules/data/capabilities/data-default-instance/example.animl +13 -0
- package/modules/data/capabilities/data-editor-preview-instance/example.ani +16 -0
- package/modules/data/capabilities/data-editor-preview-instance/example.animl +4 -0
- package/modules/data/capabilities/data-enum-members/example.ani +41 -0
- package/modules/data/capabilities/data-enum-members/example.animl +8 -0
- package/modules/data/capabilities/data-global-model/example.ani +64 -0
- package/modules/data/capabilities/data-global-model/example.animl +17 -0
- package/modules/data/capabilities/data-instance-export/example.ani +41 -0
- package/modules/data/capabilities/data-instance-export/example.animl +8 -0
- package/modules/data/capabilities/data-list-items/example.ani +55 -0
- package/modules/data/capabilities/data-list-items/example.animl +16 -0
- package/modules/data/capabilities/data-model-definition/example.ani +43 -0
- package/modules/data/capabilities/data-model-definition/example.animl +13 -0
- package/modules/data/capabilities/data-named-instances/example.ani +43 -0
- package/modules/data/capabilities/data-named-instances/example.animl +13 -0
- package/modules/data/capabilities/data-operation-operand-view-model/example.ani +32 -0
- package/modules/data/capabilities/data-operation-operand-view-model/example.animl +9 -0
- package/modules/data/capabilities/data-property-artboard/example.ani +16 -0
- package/modules/data/capabilities/data-property-artboard/example.animl +4 -0
- package/modules/data/capabilities/data-property-asset-blob/example.ani +40 -0
- package/modules/data/capabilities/data-property-asset-blob/example.animl +10 -0
- package/modules/data/capabilities/data-property-asset-font/example.ani +40 -0
- package/modules/data/capabilities/data-property-asset-font/example.animl +10 -0
- package/modules/data/capabilities/data-property-asset-image/example.ani +40 -0
- package/modules/data/capabilities/data-property-asset-image/example.animl +12 -0
- package/modules/data/capabilities/data-property-boolean/example.ani +28 -0
- package/modules/data/capabilities/data-property-boolean/example.animl +7 -0
- package/modules/data/capabilities/data-property-color/example.ani +29 -0
- package/modules/data/capabilities/data-property-color/example.animl +7 -0
- package/modules/data/capabilities/data-property-enum-custom/example.ani +29 -0
- package/modules/data/capabilities/data-property-enum-custom/example.animl +7 -0
- package/modules/data/capabilities/data-property-enum-system/example.ani +29 -0
- package/modules/data/capabilities/data-property-enum-system/example.animl +7 -0
- package/modules/data/capabilities/data-property-list/example.ani +55 -0
- package/modules/data/capabilities/data-property-list/example.animl +16 -0
- package/modules/data/capabilities/data-property-number/example.ani +29 -0
- package/modules/data/capabilities/data-property-number/example.animl +7 -0
- package/modules/data/capabilities/data-property-string/example.ani +29 -0
- package/modules/data/capabilities/data-property-string/example.animl +7 -0
- package/modules/data/capabilities/data-property-symbol-list-index/example.ani +16 -0
- package/modules/data/capabilities/data-property-symbol-list-index/example.animl +4 -0
- package/modules/data/capabilities/data-property-text-style/example.ani +16 -0
- package/modules/data/capabilities/data-property-text-style/example.animl +4 -0
- package/modules/data/capabilities/data-property-trigger/example.ani +51 -0
- package/modules/data/capabilities/data-property-trigger/example.animl +17 -0
- package/modules/data/capabilities/data-property-view-model/example.ani +55 -0
- package/modules/data/capabilities/data-property-view-model/example.animl +16 -0
- package/modules/data/capabilities/data-script-model-api/example.ani +16 -0
- package/modules/data/capabilities/data-script-model-api/example.animl +4 -0
- package/modules/data/capabilities/data-scripted-converter/example.ani +16 -0
- package/modules/data/capabilities/data-scripted-converter/example.animl +4 -0
- package/modules/data/capabilities/data-state-action-trigger/example.ani +51 -0
- package/modules/data/capabilities/data-state-action-trigger/example.animl +17 -0
- package/modules/data/capabilities/data-system-enum-horizontal-text-align/example.ani +29 -0
- package/modules/data/capabilities/data-system-enum-horizontal-text-align/example.animl +7 -0
- package/modules/data/capabilities/data-system-enum-layout-alignment/example.ani +29 -0
- package/modules/data/capabilities/data-system-enum-layout-alignment/example.animl +7 -0
- package/modules/data/capabilities/data-system-enum-layout-direction/example.ani +29 -0
- package/modules/data/capabilities/data-system-enum-layout-direction/example.animl +7 -0
- package/modules/data/capabilities/data-system-enum-layout-display/example.ani +29 -0
- package/modules/data/capabilities/data-system-enum-layout-display/example.animl +7 -0
- package/modules/data/capabilities/data-system-enum-layout-flex-direction/example.ani +29 -0
- package/modules/data/capabilities/data-system-enum-layout-flex-direction/example.animl +7 -0
- package/modules/data/capabilities/data-system-enum-layout-position/example.ani +29 -0
- package/modules/data/capabilities/data-system-enum-layout-position/example.animl +7 -0
- package/modules/data/capabilities/data-system-enum-layout-position-units/example.ani +29 -0
- package/modules/data/capabilities/data-system-enum-layout-position-units/example.animl +7 -0
- package/modules/data/capabilities/data-system-enum-layout-scale-type/example.ani +29 -0
- package/modules/data/capabilities/data-system-enum-layout-scale-type/example.animl +7 -0
- package/modules/data/capabilities/data-system-enum-layout-wrap/example.ani +29 -0
- package/modules/data/capabilities/data-system-enum-layout-wrap/example.animl +7 -0
- package/modules/data/capabilities/data-system-enum-scroll-direction/example.ani +29 -0
- package/modules/data/capabilities/data-system-enum-scroll-direction/example.animl +7 -0
- package/modules/data/capabilities/data-system-enum-semantic-check-state/example.ani +29 -0
- package/modules/data/capabilities/data-system-enum-semantic-check-state/example.animl +7 -0
- package/modules/data/capabilities/data-system-enum-text-box/example.ani +29 -0
- package/modules/data/capabilities/data-system-enum-text-box/example.animl +7 -0
- package/modules/data/capabilities/data-system-enum-text-overflow/example.ani +29 -0
- package/modules/data/capabilities/data-system-enum-text-overflow/example.animl +7 -0
- package/modules/data/capabilities/data-system-enum-text-trim-bottom/example.ani +29 -0
- package/modules/data/capabilities/data-system-enum-text-trim-bottom/example.animl +7 -0
- package/modules/data/capabilities/data-system-enum-text-trim-top/example.ani +29 -0
- package/modules/data/capabilities/data-system-enum-text-trim-top/example.animl +7 -0
- package/modules/data/capabilities/data-system-enum-vertical-text-align/example.ani +29 -0
- package/modules/data/capabilities/data-system-enum-vertical-text-align/example.animl +7 -0
- package/modules/data/capabilities/data-system-enum-word-wrap/example.ani +29 -0
- package/modules/data/capabilities/data-system-enum-word-wrap/example.animl +7 -0
- package/modules/data/capabilities/drawing-paint-gradient-channel-binding/example.ani +46 -0
- package/modules/data/capabilities/drawing-paint-gradient-channel-binding/example.animl +14 -0
- package/modules/data/capabilities/input-data-listener/example.ani +41 -0
- package/modules/data/capabilities/input-data-listener/example.animl +10 -0
- package/modules/data/capabilities/input-write-data-constant/example.ani +41 -0
- package/modules/data/capabilities/input-write-data-constant/example.animl +10 -0
- package/modules/data/capabilities/input-write-data-copy/example.ani +39 -0
- package/modules/data/capabilities/input-write-data-copy/example.animl +10 -0
- package/modules/data/capabilities/input-write-focused/example.ani +39 -0
- package/modules/data/capabilities/input-write-focused/example.animl +11 -0
- package/modules/data/capabilities/input-write-gamepad-axis/example.ani +38 -0
- package/modules/data/capabilities/input-write-gamepad-axis/example.animl +9 -0
- package/modules/data/capabilities/input-write-gamepad-button-pressed/example.ani +38 -0
- package/modules/data/capabilities/input-write-gamepad-button-pressed/example.animl +9 -0
- package/modules/data/capabilities/input-write-gamepad-button-value/example.ani +38 -0
- package/modules/data/capabilities/input-write-gamepad-button-value/example.animl +9 -0
- package/modules/data/capabilities/input-write-gamepad-changed-value/example.ani +38 -0
- package/modules/data/capabilities/input-write-gamepad-changed-value/example.animl +9 -0
- package/modules/data/examples/data-extras.ani +109 -0
- package/modules/data/examples/data-extras.animl +28 -0
- package/modules/data/examples/scoreboard.ani +74 -0
- package/modules/data/examples/scoreboard.animl +18 -0
- package/modules/data/manifest.source +111 -0
- package/modules/data-artboard/SPEC.md +94 -0
- package/modules/data-artboard/capabilities/components-host-artboard-reference/example.ani +16 -0
- package/modules/data-artboard/capabilities/components-host-artboard-reference/example.animl +26 -0
- package/modules/data-artboard/capabilities/data-host-artboard/example.ani +16 -0
- package/modules/data-artboard/capabilities/data-host-artboard/example.animl +18 -0
- package/modules/data-artboard/capabilities/host-api-bindable-artboards/example.ani +16 -0
- package/modules/data-artboard/capabilities/host-api-bindable-artboards/example.animl +34 -0
- package/modules/data-artboard/capabilities/host-api-data-artboard/example.ani +16 -0
- package/modules/data-artboard/capabilities/host-api-data-artboard/example.animl +18 -0
- package/modules/data-artboard/manifest.source +41 -0
- package/modules/data-host/SPEC.md +50 -0
- package/modules/data-host/examples/nested.ani +82 -0
- package/modules/data-host/examples/nested.animl +21 -0
- package/modules/data-host/manifest.source +26 -0
- package/modules/derive/SPEC.md +66 -0
- package/modules/derive/examples/scoreboard.ani +121 -0
- package/modules/derive/examples/scoreboard.animl +27 -0
- package/modules/derive/manifest.source +24 -0
- package/modules/devtools/SPEC.md +25 -0
- package/modules/devtools/capabilities/host-api-deprecation-policy/example.ani +16 -0
- package/modules/devtools/capabilities/host-api-deprecation-policy/example.animl +3 -0
- package/modules/devtools/capabilities/host-api-fps-counter/example.ani +16 -0
- package/modules/devtools/capabilities/host-api-fps-counter/example.animl +9 -0
- package/modules/devtools/capabilities/host-api-performance-marks/example.ani +16 -0
- package/modules/devtools/capabilities/host-api-performance-marks/example.animl +3 -0
- package/modules/devtools/capabilities/host-api-stop/example.ani +16 -0
- package/modules/devtools/capabilities/host-api-stop/example.animl +3 -0
- package/modules/devtools/manifest.source +13 -0
- package/modules/events/examples/events.ani +75 -0
- package/modules/events/examples/events.animl +23 -0
- package/modules/events/examples/share-evidence/README.md +48 -0
- package/modules/events/examples/share-evidence/clicks.jsonl +51 -0
- package/modules/events/examples/share-evidence/clicks.script +102 -0
- package/modules/events/examples/share-evidence/interrupt.jsonl +3 -0
- package/modules/events/examples/share-evidence/interrupt.script +7 -0
- package/modules/events/examples/share-evidence/perf.txt +4 -0
- package/modules/events/examples/share-evidence/pulse.jsonl +10 -0
- package/modules/events/examples/share-evidence/pulse.script +20 -0
- package/modules/events/examples/share-evidence/rest-diff.txt +1 -0
- package/modules/events/examples/share-evidence/size.txt +18 -0
- package/modules/events/examples/share-evidence/verify.py +48 -0
- package/modules/events/examples/share-tone.wav +0 -0
- package/modules/events/examples/share.ani +186 -0
- package/modules/events/examples/share.animl +40 -0
- package/modules/events/manifest.source +74 -0
- package/modules/focus/capabilities/input-focus-clear/example.ani +116 -0
- package/modules/focus/capabilities/input-focus-clear/example.animl +28 -0
- package/modules/focus/capabilities/input-focus-down/example.ani +116 -0
- package/modules/focus/capabilities/input-focus-down/example.animl +28 -0
- package/modules/focus/capabilities/input-focus-edge-closed-loop/example.ani +116 -0
- package/modules/focus/capabilities/input-focus-edge-closed-loop/example.animl +28 -0
- package/modules/focus/capabilities/input-focus-edge-parent-scope/example.ani +116 -0
- package/modules/focus/capabilities/input-focus-edge-parent-scope/example.animl +28 -0
- package/modules/focus/capabilities/input-focus-edge-stop/example.ani +116 -0
- package/modules/focus/capabilities/input-focus-edge-stop/example.animl +28 -0
- package/modules/focus/capabilities/input-focus-enabled/example.ani +116 -0
- package/modules/focus/capabilities/input-focus-enabled/example.animl +28 -0
- package/modules/focus/capabilities/input-focus-left/example.ani +116 -0
- package/modules/focus/capabilities/input-focus-left/example.animl +28 -0
- package/modules/focus/capabilities/input-focus-next/example.ani +116 -0
- package/modules/focus/capabilities/input-focus-next/example.animl +28 -0
- package/modules/focus/capabilities/input-focus-pointer/example.ani +116 -0
- package/modules/focus/capabilities/input-focus-pointer/example.animl +28 -0
- package/modules/focus/capabilities/input-focus-previous/example.ani +116 -0
- package/modules/focus/capabilities/input-focus-previous/example.animl +28 -0
- package/modules/focus/capabilities/input-focus-right/example.ani +116 -0
- package/modules/focus/capabilities/input-focus-right/example.animl +28 -0
- package/modules/focus/capabilities/input-focus-target/example.ani +116 -0
- package/modules/focus/capabilities/input-focus-target/example.animl +28 -0
- package/modules/focus/capabilities/input-focus-traverse/example.ani +116 -0
- package/modules/focus/capabilities/input-focus-traverse/example.animl +28 -0
- package/modules/focus/capabilities/input-focus-up/example.ani +116 -0
- package/modules/focus/capabilities/input-focus-up/example.animl +28 -0
- package/modules/focus/capabilities/input-listen-blur/example.ani +116 -0
- package/modules/focus/capabilities/input-listen-blur/example.animl +28 -0
- package/modules/focus/capabilities/input-listen-focus/example.ani +116 -0
- package/modules/focus/capabilities/input-listen-focus/example.animl +28 -0
- package/modules/focus/examples/README.md +10 -0
- package/modules/focus/examples/traversal.ani +70 -0
- package/modules/focus/examples/traversal.animl +16 -0
- package/modules/focus/manifest.source +48 -0
- package/modules/fonts/SPEC.md +92 -0
- package/modules/fonts/capabilities/assets-font/example.ani +23 -0
- package/modules/fonts/capabilities/assets-font/example.animl +5 -0
- package/modules/fonts/capabilities/assets-host-decode-font/example.ani +23 -0
- package/modules/fonts/capabilities/assets-host-decode-font/example.animl +5 -0
- package/modules/fonts/capabilities/assets-replacement-scope-font/example.ani +23 -0
- package/modules/fonts/capabilities/assets-replacement-scope-font/example.animl +5 -0
- package/modules/fonts/capabilities/data-host-font/example.ani +23 -0
- package/modules/fonts/capabilities/data-host-font/example.animl +5 -0
- package/modules/fonts/capabilities/host-api-data-font/example.ani +23 -0
- package/modules/fonts/capabilities/host-api-data-font/example.animl +5 -0
- package/modules/fonts/capabilities/host-api-font-fallback/example.ani +23 -0
- package/modules/fonts/capabilities/host-api-font-fallback/example.animl +5 -0
- package/modules/fonts/capabilities/text-font-assets/example.ani +23 -0
- package/modules/fonts/capabilities/text-font-assets/example.animl +5 -0
- package/modules/fonts/capabilities/text-font-decoding/example.ani +43 -0
- package/modules/fonts/capabilities/text-font-decoding/example.animl +9 -0
- package/modules/fonts/capabilities/text-font-fallback/example.ani +23 -0
- package/modules/fonts/capabilities/text-font-fallback/example.animl +5 -0
- package/modules/fonts/capabilities/text-font-metrics/example.ani +40 -0
- package/modules/fonts/capabilities/text-font-metrics/example.animl +9 -0
- package/modules/fonts/capabilities/text-opentype-features/example.ani +23 -0
- package/modules/fonts/capabilities/text-opentype-features/example.animl +7 -0
- package/modules/fonts/capabilities/text-variable-axes/example.ani +23 -0
- package/modules/fonts/capabilities/text-variable-axes/example.animl +9 -0
- package/modules/fonts/manifest.source +57 -0
- package/modules/host/AUTHORING.md +33 -0
- package/modules/host/SPEC.md +76 -0
- package/modules/host/examples/page.html +23 -0
- package/modules/host/examples/score.ani +48 -0
- package/modules/host/examples/score.animl +10 -0
- package/modules/host/manifest.source +19 -0
- package/modules/host-edit/AUTHORING.md +66 -0
- package/modules/host-edit/SPEC.md +96 -0
- package/modules/host-edit/examples/board.ani +72 -0
- package/modules/host-edit/examples/board.animl +17 -0
- package/modules/host-edit/examples/page.html +34 -0
- package/modules/host-edit/manifest.source +21 -0
- package/modules/host-fit/capabilities/host-api-fit-layout/example.ani +55 -0
- package/modules/host-fit/capabilities/host-api-fit-layout/example.animl +11 -0
- package/modules/host-fit/examples/tile.ani +19 -0
- package/modules/host-fit/examples/tile.animl +3 -0
- package/modules/host-fit/manifest.source +22 -0
- package/modules/host-values/SPEC.md +9 -0
- package/modules/host-values/manifest.source +22 -0
- package/modules/ik/capabilities/rigging-ik/example.ani +16 -0
- package/modules/ik/capabilities/rigging-ik/example.animl +11 -0
- package/modules/ik/capabilities/rigging-ik-bend/example.ani +16 -0
- package/modules/ik/capabilities/rigging-ik-bend/example.animl +11 -0
- package/modules/ik/examples/reach.ani +100 -0
- package/modules/ik/examples/reach.animl +18 -0
- package/modules/ik/manifest.source +30 -0
- package/modules/input/SPEC.md +397 -0
- package/modules/input/capabilities/host-api-coordinate-mapping/example.ani +32 -0
- package/modules/input/capabilities/host-api-coordinate-mapping/example.animl +7 -0
- package/modules/input/capabilities/host-api-dom-listener-control/example.ani +32 -0
- package/modules/input/capabilities/host-api-dom-listener-control/example.animl +7 -0
- package/modules/input/capabilities/host-api-gamepad/example.ani +34 -0
- package/modules/input/capabilities/host-api-gamepad/example.animl +7 -0
- package/modules/input/capabilities/host-api-low-level-pointer/example.ani +32 -0
- package/modules/input/capabilities/host-api-low-level-pointer/example.animl +7 -0
- package/modules/input/capabilities/host-api-low-level-scroll/example.ani +32 -0
- package/modules/input/capabilities/host-api-low-level-scroll/example.animl +7 -0
- package/modules/input/capabilities/host-api-manual-gamepad-batch/example.ani +34 -0
- package/modules/input/capabilities/host-api-manual-gamepad-batch/example.animl +7 -0
- package/modules/input/capabilities/host-api-multitouch/example.ani +32 -0
- package/modules/input/capabilities/host-api-multitouch/example.animl +7 -0
- package/modules/input/capabilities/host-api-pointer-exit/example.ani +31 -0
- package/modules/input/capabilities/host-api-pointer-exit/example.animl +7 -0
- package/modules/input/capabilities/host-api-scroll-hit-policy/example.ani +32 -0
- package/modules/input/capabilities/host-api-scroll-hit-policy/example.animl +7 -0
- package/modules/input/capabilities/host-api-scroll-latching/example.ani +32 -0
- package/modules/input/capabilities/host-api-scroll-latching/example.animl +7 -0
- package/modules/input/capabilities/input-align-preserve/example.ani +43 -0
- package/modules/input/capabilities/input-align-preserve/example.animl +9 -0
- package/modules/input/capabilities/input-align-snap/example.ani +43 -0
- package/modules/input/capabilities/input-align-snap/example.animl +9 -0
- package/modules/input/capabilities/input-bounded-hit-tests/example.ani +32 -0
- package/modules/input/capabilities/input-bounded-hit-tests/example.animl +7 -0
- package/modules/input/capabilities/input-button-middle/example.ani +33 -0
- package/modules/input/capabilities/input-button-middle/example.animl +7 -0
- package/modules/input/capabilities/input-button-secondary/example.ani +33 -0
- package/modules/input/capabilities/input-button-secondary/example.animl +7 -0
- package/modules/input/capabilities/input-capture-phase/example.ani +60 -0
- package/modules/input/capabilities/input-capture-phase/example.animl +11 -0
- package/modules/input/capabilities/input-cursor-arrow/example.ani +33 -0
- package/modules/input/capabilities/input-cursor-arrow/example.animl +7 -0
- package/modules/input/capabilities/input-cursor-hidden/example.ani +33 -0
- package/modules/input/capabilities/input-cursor-hidden/example.animl +7 -0
- package/modules/input/capabilities/input-cursor-intent/example.ani +33 -0
- package/modules/input/capabilities/input-cursor-intent/example.animl +7 -0
- package/modules/input/capabilities/input-cursor-pointer/example.ani +33 -0
- package/modules/input/capabilities/input-cursor-pointer/example.animl +7 -0
- package/modules/input/capabilities/input-cursor-resize-horizontal/example.ani +33 -0
- package/modules/input/capabilities/input-cursor-resize-horizontal/example.animl +7 -0
- package/modules/input/capabilities/input-cursor-resize-vertical/example.ani +33 -0
- package/modules/input/capabilities/input-cursor-resize-vertical/example.animl +7 -0
- package/modules/input/capabilities/input-cursor-text/example.ani +33 -0
- package/modules/input/capabilities/input-cursor-text/example.animl +7 -0
- package/modules/input/capabilities/input-disable-listeners/example.ani +32 -0
- package/modules/input/capabilities/input-disable-listeners/example.animl +7 -0
- package/modules/input/capabilities/input-gamepad-axis/example.ani +34 -0
- package/modules/input/capabilities/input-gamepad-axis/example.animl +7 -0
- package/modules/input/capabilities/input-gamepad-button/example.ani +32 -0
- package/modules/input/capabilities/input-gamepad-button/example.animl +7 -0
- package/modules/input/capabilities/input-gamepad-button-phases/example.ani +33 -0
- package/modules/input/capabilities/input-gamepad-button-phases/example.animl +7 -0
- package/modules/input/capabilities/input-gamepad-connected/example.ani +31 -0
- package/modules/input/capabilities/input-gamepad-connected/example.animl +7 -0
- package/modules/input/capabilities/input-gamepad-disconnected/example.ani +31 -0
- package/modules/input/capabilities/input-gamepad-disconnected/example.animl +7 -0
- package/modules/input/capabilities/input-gamepad-host/example.ani +34 -0
- package/modules/input/capabilities/input-gamepad-host/example.animl +7 -0
- package/modules/input/capabilities/input-gamepad-index-mapping/example.ani +34 -0
- package/modules/input/capabilities/input-gamepad-index-mapping/example.animl +7 -0
- package/modules/input/capabilities/input-hit-occlusion-query/example.ani +42 -0
- package/modules/input/capabilities/input-hit-occlusion-query/example.animl +8 -0
- package/modules/input/capabilities/input-hit-parent-chain/example.ani +39 -0
- package/modules/input/capabilities/input-hit-parent-chain/example.animl +9 -0
- package/modules/input/capabilities/input-hit-shape-geometry/example.ani +32 -0
- package/modules/input/capabilities/input-hit-shape-geometry/example.animl +7 -0
- package/modules/input/capabilities/input-hit-test-host/example.ani +32 -0
- package/modules/input/capabilities/input-hit-test-host/example.animl +7 -0
- package/modules/input/capabilities/input-key-down/example.ani +32 -0
- package/modules/input/capabilities/input-key-down/example.animl +7 -0
- package/modules/input/capabilities/input-key-filter/example.ani +32 -0
- package/modules/input/capabilities/input-key-filter/example.animl +7 -0
- package/modules/input/capabilities/input-key-modifiers/example.ani +33 -0
- package/modules/input/capabilities/input-key-modifiers/example.animl +7 -0
- package/modules/input/capabilities/input-key-repeat/example.ani +32 -0
- package/modules/input/capabilities/input-key-repeat/example.animl +7 -0
- package/modules/input/capabilities/input-key-up/example.ani +32 -0
- package/modules/input/capabilities/input-key-up/example.animl +7 -0
- package/modules/input/capabilities/input-keyboard-bubbling/example.ani +45 -0
- package/modules/input/capabilities/input-keyboard-bubbling/example.animl +10 -0
- package/modules/input/capabilities/input-multi-touch/example.ani +32 -0
- package/modules/input/capabilities/input-multi-touch/example.animl +7 -0
- package/modules/input/capabilities/input-multi-trigger-listener/example.ani +32 -0
- package/modules/input/capabilities/input-multi-trigger-listener/example.animl +7 -0
- package/modules/input/capabilities/input-opaque-targets/example.ani +42 -0
- package/modules/input/capabilities/input-opaque-targets/example.animl +8 -0
- package/modules/input/capabilities/input-pointer-cancel/example.ani +31 -0
- package/modules/input/capabilities/input-pointer-cancel/example.animl +7 -0
- package/modules/input/capabilities/input-pointer-drag/example.ani +58 -0
- package/modules/input/capabilities/input-pointer-drag/example.animl +17 -0
- package/modules/input/capabilities/input-pointer-drag-end/example.ani +58 -0
- package/modules/input/capabilities/input-pointer-drag-end/example.animl +17 -0
- package/modules/input/capabilities/input-pointer-drag-start/example.ani +58 -0
- package/modules/input/capabilities/input-pointer-drag-start/example.animl +17 -0
- package/modules/input/capabilities/input-pointer-enable/example.ani +32 -0
- package/modules/input/capabilities/input-pointer-enable/example.animl +7 -0
- package/modules/input/capabilities/input-touch-page-scroll/example.ani +32 -0
- package/modules/input/capabilities/input-touch-page-scroll/example.animl +7 -0
- package/modules/input/capabilities/input-trackpad-scroll/example.ani +32 -0
- package/modules/input/capabilities/input-trackpad-scroll/example.animl +7 -0
- package/modules/input/capabilities/input-wheel-scroll/example.ani +32 -0
- package/modules/input/capabilities/input-wheel-scroll/example.animl +7 -0
- package/modules/input/capabilities/input-write-key-pressed/example.ani +39 -0
- package/modules/input/capabilities/input-write-key-pressed/example.animl +7 -0
- package/modules/input/capabilities/input-write-pointer-delta-x/example.ani +39 -0
- package/modules/input/capabilities/input-write-pointer-delta-x/example.animl +7 -0
- package/modules/input/capabilities/input-write-pointer-delta-y/example.ani +39 -0
- package/modules/input/capabilities/input-write-pointer-delta-y/example.animl +7 -0
- package/modules/input/capabilities/input-write-pointer-x/example.ani +39 -0
- package/modules/input/capabilities/input-write-pointer-x/example.animl +7 -0
- package/modules/input/capabilities/input-write-pointer-y/example.ani +39 -0
- package/modules/input/capabilities/input-write-pointer-y/example.animl +7 -0
- package/modules/input/capabilities/transforms-collapse/example.ani +39 -0
- package/modules/input/capabilities/transforms-collapse/example.animl +9 -0
- package/modules/input/capabilities/transforms-solo/example.ani +48 -0
- package/modules/input/capabilities/transforms-solo/example.animl +10 -0
- package/modules/input/core/commands.source +64 -0
- package/modules/input/core/types.source +97 -0
- package/modules/input/examples/README.md +9 -0
- package/modules/input/examples/drag-slider.ani +50 -0
- package/modules/input/examples/drag-slider.animl +11 -0
- package/modules/input/manifest.source +98 -0
- package/modules/layout/SPEC.md +210 -0
- package/modules/layout/capabilities/data-bind-layout/example.ani +60 -0
- package/modules/layout/capabilities/data-bind-layout/example.animl +10 -0
- package/modules/layout/capabilities/layout-alignment/example.ani +44 -0
- package/modules/layout/capabilities/layout-alignment/example.animl +6 -0
- package/modules/layout/capabilities/layout-animated-reflow/example.ani +62 -0
- package/modules/layout/capabilities/layout-animated-reflow/example.animl +12 -0
- package/modules/layout/capabilities/layout-containers/example.ani +62 -0
- package/modules/layout/capabilities/layout-containers/example.animl +9 -0
- package/modules/layout/capabilities/layout-fill-sizing/example.ani +45 -0
- package/modules/layout/capabilities/layout-fill-sizing/example.animl +6 -0
- package/modules/layout/capabilities/layout-fixed-sizing/example.ani +46 -0
- package/modules/layout/capabilities/layout-fixed-sizing/example.animl +6 -0
- package/modules/layout/capabilities/layout-flex-align-items/example.ani +43 -0
- package/modules/layout/capabilities/layout-flex-align-items/example.animl +6 -0
- package/modules/layout/capabilities/layout-flex-direction/example.ani +43 -0
- package/modules/layout/capabilities/layout-flex-direction/example.animl +6 -0
- package/modules/layout/capabilities/layout-flex-justify/example.ani +42 -0
- package/modules/layout/capabilities/layout-flex-justify/example.animl +6 -0
- package/modules/layout/capabilities/layout-hug-sizing/example.ani +42 -0
- package/modules/layout/capabilities/layout-hug-sizing/example.animl +6 -0
- package/modules/layout/capabilities/layout-intrinsic/example.ani +40 -0
- package/modules/layout/capabilities/layout-intrinsic/example.animl +6 -0
- package/modules/layout/capabilities/layout-paint/example.ani +60 -0
- package/modules/layout/capabilities/layout-paint/example.animl +8 -0
- package/modules/layout/capabilities/layout-participants/example.ani +40 -0
- package/modules/layout/capabilities/layout-participants/example.animl +6 -0
- package/modules/layout/capabilities/layout-self-alignment/example.ani +45 -0
- package/modules/layout/capabilities/layout-self-alignment/example.animl +6 -0
- package/modules/layout/capabilities/layout-size-bounds/example.ani +49 -0
- package/modules/layout/capabilities/layout-size-bounds/example.animl +6 -0
- package/modules/layout/capabilities/layout-spacing/example.ani +45 -0
- package/modules/layout/capabilities/layout-spacing/example.animl +6 -0
- package/modules/layout/capabilities/layout-visibility/example.ani +56 -0
- package/modules/layout/capabilities/layout-visibility/example.animl +7 -0
- package/modules/layout/examples/button.ani +61 -0
- package/modules/layout/examples/button.animl +12 -0
- package/modules/layout/examples/reflow.ani +62 -0
- package/modules/layout/examples/reflow.animl +12 -0
- package/modules/layout/examples/wrapped.ani +55 -0
- package/modules/layout/examples/wrapped.animl +11 -0
- package/modules/layout/manifest.source +73 -0
- package/modules/lists/SPEC.md +44 -0
- package/modules/lists/capabilities/components-explicit-context/example.ani +81 -0
- package/modules/lists/capabilities/components-explicit-context/example.animl +22 -0
- package/modules/lists/capabilities/components-inherited-context/example.ani +99 -0
- package/modules/lists/capabilities/components-inherited-context/example.animl +24 -0
- package/modules/lists/capabilities/components-list/example.ani +77 -0
- package/modules/lists/capabilities/components-list/example.animl +19 -0
- package/modules/lists/capabilities/components-list-map/example.ani +116 -0
- package/modules/lists/capabilities/components-list-map/example.animl +29 -0
- package/modules/lists/capabilities/components-list-size-override/example.ani +83 -0
- package/modules/lists/capabilities/components-list-size-override/example.animl +20 -0
- package/modules/lists/capabilities/data-binding-relative/example.ani +77 -0
- package/modules/lists/capabilities/data-binding-relative/example.animl +19 -0
- package/modules/lists/capabilities/data-converter-number-to-list/example.ani +109 -0
- package/modules/lists/capabilities/data-converter-number-to-list/example.animl +29 -0
- package/modules/lists/capabilities/data-property-symbol-list-index/example.ani +77 -0
- package/modules/lists/capabilities/data-property-symbol-list-index/example.animl +19 -0
- package/modules/lists/examples/players.ani +77 -0
- package/modules/lists/examples/players.animl +19 -0
- package/modules/lists/manifest.source +43 -0
- package/modules/machine/capabilities/state-machine-any-state/example.ani +62 -0
- package/modules/machine/capabilities/state-machine-any-state/example.animl +22 -0
- package/modules/machine/capabilities/state-machine-blend-1d-data/example.ani +74 -0
- package/modules/machine/capabilities/state-machine-blend-1d-data/example.animl +23 -0
- package/modules/machine/capabilities/state-machine-blend-1d-input/example.ani +70 -0
- package/modules/machine/capabilities/state-machine-blend-1d-input/example.animl +23 -0
- package/modules/machine/capabilities/state-machine-blend-additive/example.ani +69 -0
- package/modules/machine/capabilities/state-machine-blend-additive/example.animl +23 -0
- package/modules/machine/capabilities/state-machine-blend-direct/example.ani +64 -0
- package/modules/machine/capabilities/state-machine-blend-direct/example.animl +21 -0
- package/modules/machine/capabilities/state-machine-blend-exit-clock/example.ani +72 -0
- package/modules/machine/capabilities/state-machine-blend-exit-clock/example.animl +25 -0
- package/modules/machine/capabilities/state-machine-blend-weight-constant/example.ani +64 -0
- package/modules/machine/capabilities/state-machine-blend-weight-constant/example.animl +21 -0
- package/modules/machine/capabilities/state-machine-blend-weight-data/example.ani +71 -0
- package/modules/machine/capabilities/state-machine-blend-weight-data/example.animl +23 -0
- package/modules/machine/capabilities/state-machine-blend-weight-input/example.ani +69 -0
- package/modules/machine/capabilities/state-machine-blend-weight-input/example.animl +23 -0
- package/modules/machine/capabilities/state-machine-condition-artboard/example.ani +50 -0
- package/modules/machine/capabilities/state-machine-condition-artboard/example.animl +13 -0
- package/modules/machine/capabilities/state-machine-condition-component/example.ani +76 -0
- package/modules/machine/capabilities/state-machine-condition-component/example.animl +19 -0
- package/modules/machine/capabilities/state-machine-condition-data/example.ani +54 -0
- package/modules/machine/capabilities/state-machine-condition-data/example.animl +15 -0
- package/modules/machine/capabilities/state-machine-condition-focus/example.ani +49 -0
- package/modules/machine/capabilities/state-machine-condition-focus/example.animl +13 -0
- package/modules/machine/capabilities/state-machine-continue-on-exit/example.ani +58 -0
- package/modules/machine/capabilities/state-machine-continue-on-exit/example.animl +21 -0
- package/modules/machine/capabilities/state-machine-entry-state/example.ani +56 -0
- package/modules/machine/capabilities/state-machine-entry-state/example.animl +19 -0
- package/modules/machine/capabilities/state-machine-exit-state/example.ani +46 -0
- package/modules/machine/capabilities/state-machine-exit-state/example.animl +15 -0
- package/modules/machine/capabilities/state-machine-exit-time-relative/example.ani +52 -0
- package/modules/machine/capabilities/state-machine-exit-time-relative/example.animl +19 -0
- package/modules/machine/capabilities/state-machine-literal-asset/example.ani +62 -0
- package/modules/machine/capabilities/state-machine-literal-asset/example.animl +18 -0
- package/modules/machine/capabilities/state-machine-literal-boolean/example.ani +53 -0
- package/modules/machine/capabilities/state-machine-literal-boolean/example.animl +15 -0
- package/modules/machine/capabilities/state-machine-literal-color/example.ani +54 -0
- package/modules/machine/capabilities/state-machine-literal-color/example.animl +15 -0
- package/modules/machine/capabilities/state-machine-literal-enum/example.ani +54 -0
- package/modules/machine/capabilities/state-machine-literal-enum/example.animl +15 -0
- package/modules/machine/capabilities/state-machine-literal-string/example.ani +54 -0
- package/modules/machine/capabilities/state-machine-literal-string/example.animl +15 -0
- package/modules/machine/capabilities/state-machine-literal-trigger/example.ani +53 -0
- package/modules/machine/capabilities/state-machine-literal-trigger/example.animl +15 -0
- package/modules/machine/capabilities/state-machine-state-entry-actions/example.ani +56 -0
- package/modules/machine/capabilities/state-machine-state-entry-actions/example.animl +16 -0
- package/modules/machine/capabilities/state-machine-state-exit-actions/example.ani +56 -0
- package/modules/machine/capabilities/state-machine-state-exit-actions/example.animl +16 -0
- package/modules/machine/capabilities/state-machine-state-random/example.ani +53 -0
- package/modules/machine/capabilities/state-machine-state-random/example.animl +17 -0
- package/modules/machine/capabilities/state-machine-state-reset/example.ani +52 -0
- package/modules/machine/capabilities/state-machine-state-reset/example.animl +18 -0
- package/modules/machine/capabilities/state-machine-transition-actions/example.ani +56 -0
- package/modules/machine/capabilities/state-machine-transition-actions/example.animl +16 -0
- package/modules/machine/capabilities/state-machine-transition-disabled/example.ani +57 -0
- package/modules/machine/capabilities/state-machine-transition-disabled/example.animl +19 -0
- package/modules/machine/capabilities/state-machine-transition-duration-relative/example.ani +57 -0
- package/modules/machine/capabilities/state-machine-transition-duration-relative/example.animl +21 -0
- package/modules/machine/capabilities/state-machine-transition-end-actions/example.ani +56 -0
- package/modules/machine/capabilities/state-machine-transition-end-actions/example.animl +16 -0
- package/modules/machine/capabilities/state-machine-transition-random-weight/example.ani +53 -0
- package/modules/machine/capabilities/state-machine-transition-random-weight/example.animl +17 -0
- package/modules/machine/examples/README.md +12 -0
- package/modules/machine/examples/blend-pulse.ani +115 -0
- package/modules/machine/examples/blend-pulse.animl +32 -0
- package/modules/machine/manifest.source +73 -0
- package/modules/markup/manifest.source +26 -0
- package/modules/markup-animation/manifest.source +23 -0
- package/modules/markup-hooks/manifest.source +13 -0
- package/modules/markup-libraries/SPEC.md +56 -0
- package/modules/markup-libraries/capabilities/components-library-export/example.ani +45 -0
- package/modules/markup-libraries/capabilities/components-library-export/example.animl +4 -0
- package/modules/markup-libraries/capabilities/components-library-models/example.ani +45 -0
- package/modules/markup-libraries/capabilities/components-library-models/example.animl +4 -0
- package/modules/markup-libraries/capabilities/components-library-update/example.ani +45 -0
- package/modules/markup-libraries/capabilities/components-library-update/example.animl +4 -0
- package/modules/markup-libraries/manifest.source +38 -0
- package/modules/media/manifest.source +21 -0
- package/modules/mesh/capabilities/rigging-mesh/example.ani +50 -0
- package/modules/mesh/capabilities/rigging-mesh/example.animl +9 -0
- package/modules/mesh/capabilities/rigging-mesh-animation/example.ani +65 -0
- package/modules/mesh/capabilities/rigging-mesh-animation/example.animl +15 -0
- package/modules/mesh/examples/flag.ani +108 -0
- package/modules/mesh/examples/flag.animl +23 -0
- package/modules/mesh/manifest.source +37 -0
- package/modules/mix/capabilities/drawing-paint-additive-strength/example.ani +34 -0
- package/modules/mix/capabilities/drawing-paint-additive-strength/example.animl +4 -0
- package/modules/mix/capabilities/drawing-paint-blend-additive/example.ani +33 -0
- package/modules/mix/capabilities/drawing-paint-blend-additive/example.animl +4 -0
- package/modules/mix/capabilities/drawing-paint-paint-blend-override/example.ani +37 -0
- package/modules/mix/capabilities/drawing-paint-paint-blend-override/example.animl +4 -0
- package/modules/mix/capabilities/host-api-factory/example.ani +16 -0
- package/modules/mix/capabilities/host-api-factory/example.animl +3 -0
- package/modules/mix/capabilities/host-api-renderer/example.ani +16 -0
- package/modules/mix/capabilities/host-api-renderer/example.animl +3 -0
- package/modules/mix/manifest.source +36 -0
- package/modules/motion/capabilities/animation-cubic-value/example.ani +40 -0
- package/modules/motion/capabilities/animation-cubic-value/example.animl +9 -0
- package/modules/motion/capabilities/animation-elastic-in/example.ani +40 -0
- package/modules/motion/capabilities/animation-elastic-in/example.animl +9 -0
- package/modules/motion/capabilities/animation-elastic-in-out/example.ani +40 -0
- package/modules/motion/capabilities/animation-elastic-in-out/example.animl +9 -0
- package/modules/motion/capabilities/animation-host-loop-override/example.ani +28 -0
- package/modules/motion/capabilities/animation-host-loop-override/example.animl +6 -0
- package/modules/motion/capabilities/animation-host-play-pause-stop/example.ani +28 -0
- package/modules/motion/capabilities/animation-host-play-pause-stop/example.animl +6 -0
- package/modules/motion/capabilities/animation-keys-reference/example.ani +55 -0
- package/modules/motion/capabilities/animation-keys-reference/example.animl +12 -0
- package/modules/motion/capabilities/animation-keys-signed-integer/example.ani +46 -0
- package/modules/motion/capabilities/animation-keys-signed-integer/example.animl +11 -0
- package/modules/motion/capabilities/animation-keys-string/example.ani +46 -0
- package/modules/motion/capabilities/animation-keys-string/example.animl +11 -0
- package/modules/motion/capabilities/animation-keys-unsigned-integer/example.ani +46 -0
- package/modules/motion/capabilities/animation-keys-unsigned-integer/example.animl +11 -0
- package/modules/motion/capabilities/animation-mix-discrete/example.ani +38 -0
- package/modules/motion/capabilities/animation-mix-discrete/example.animl +9 -0
- package/modules/motion/capabilities/animation-mix-numeric/example.ani +42 -0
- package/modules/motion/capabilities/animation-mix-numeric/example.animl +11 -0
- package/modules/motion/capabilities/animation-quantized-playback/example.ani +41 -0
- package/modules/motion/capabilities/animation-quantized-playback/example.animl +9 -0
- package/modules/motion/capabilities/animation-reverse/example.ani +47 -0
- package/modules/motion/capabilities/animation-reverse/example.animl +12 -0
- package/modules/motion/capabilities/animation-seek/example.ani +28 -0
- package/modules/motion/capabilities/animation-seek/example.animl +6 -0
- package/modules/motion/capabilities/animation-work-area/example.ani +42 -0
- package/modules/motion/capabilities/animation-work-area/example.animl +9 -0
- package/modules/motion/capabilities/data-bind-keyframes/example.ani +52 -0
- package/modules/motion/capabilities/data-bind-keyframes/example.animl +15 -0
- package/modules/motion/capabilities/host-api-animation-metadata/example.ani +31 -0
- package/modules/motion/capabilities/host-api-animation-metadata/example.animl +6 -0
- package/modules/motion/capabilities/host-api-low-level-animation/example.ani +28 -0
- package/modules/motion/capabilities/host-api-low-level-animation/example.animl +6 -0
- package/modules/motion/capabilities/host-api-low-level-scene-query/example.ani +41 -0
- package/modules/motion/capabilities/host-api-low-level-scene-query/example.animl +9 -0
- package/modules/motion/capabilities/host-api-multi-state-machine/example.ani +62 -0
- package/modules/motion/capabilities/host-api-multi-state-machine/example.animl +22 -0
- package/modules/motion/capabilities/host-api-scrub/example.ani +29 -0
- package/modules/motion/capabilities/host-api-scrub/example.animl +6 -0
- package/modules/motion/capabilities/state-machine-exit-time-seconds/example.ani +60 -0
- package/modules/motion/capabilities/state-machine-exit-time-seconds/example.animl +15 -0
- package/modules/motion/capabilities/transforms-origin-animation/example.ani +45 -0
- package/modules/motion/capabilities/transforms-origin-animation/example.animl +10 -0
- package/modules/motion/examples/README.md +42 -0
- package/modules/motion/examples/data-keys.ani +52 -0
- package/modules/motion/examples/data-keys.animl +15 -0
- package/modules/motion/examples/evidence/hover.jsonl +8 -0
- package/modules/motion/examples/evidence/phase.jsonl +9 -0
- package/modules/motion/examples/evidence/reduced.jsonl +6 -0
- package/modules/motion/examples/evidence/rest.jsonl +1 -0
- package/modules/motion/examples/evidence/spin.jsonl +6 -0
- package/modules/motion/examples/evidence/stop.jsonl +10 -0
- package/modules/motion/examples/evidence/sweep.jsonl +26 -0
- package/modules/motion/examples/scripts/hover.txt +21 -0
- package/modules/motion/examples/scripts/phase.txt +28 -0
- package/modules/motion/examples/scripts/reduced.txt +16 -0
- package/modules/motion/examples/scripts/rest.txt +2 -0
- package/modules/motion/examples/scripts/spin.txt +14 -0
- package/modules/motion/examples/scripts/stop.txt +26 -0
- package/modules/motion/examples/scripts/sweep.txt +71 -0
- package/modules/motion/examples/sync.ani +272 -0
- package/modules/motion/examples/sync.animl +64 -0
- package/modules/motion/examples/verify.py +71 -0
- package/modules/motion/manifest.source +67 -0
- package/modules/nested/SPEC.md +79 -0
- package/modules/nested/capabilities/components-leaf-fit/example.ani +50 -0
- package/modules/nested/capabilities/components-leaf-fit/example.animl +9 -0
- package/modules/nested/capabilities/components-nested-quantize/example.ani +65 -0
- package/modules/nested/capabilities/components-nested-quantize/example.animl +15 -0
- package/modules/nested/capabilities/components-nested-remap/example.ani +65 -0
- package/modules/nested/capabilities/components-nested-remap/example.animl +15 -0
- package/modules/nested/capabilities/components-stateful-output/example.ani +51 -0
- package/modules/nested/capabilities/components-stateful-output/example.animl +12 -0
- package/modules/nested/capabilities/data-property-artboard/example.ani +63 -0
- package/modules/nested/capabilities/data-property-artboard/example.animl +14 -0
- package/modules/nested/capabilities/state-machine-literal-artboard/example.ani +76 -0
- package/modules/nested/capabilities/state-machine-literal-artboard/example.animl +19 -0
- package/modules/nested/examples/component-guard.ani +76 -0
- package/modules/nested/examples/component-guard.animl +19 -0
- package/modules/nested/examples/controls.ani +100 -0
- package/modules/nested/examples/controls.animl +21 -0
- package/modules/nested/manifest.source +39 -0
- package/modules/paint/capabilities/drawing-paint-gradient-angular/example.ani +33 -0
- package/modules/paint/capabilities/drawing-paint-gradient-angular/example.animl +8 -0
- package/modules/paint/capabilities/drawing-paint-gradient-transform/example.ani +34 -0
- package/modules/paint/capabilities/drawing-paint-gradient-transform/example.animl +8 -0
- package/modules/paint/capabilities/drawing-paint-image-fit-resize/example.ani +49 -0
- package/modules/paint/capabilities/drawing-paint-image-fit-resize/example.animl +12 -0
- package/modules/paint/capabilities/drawing-paint-image-wrap-clamp/example.ani +50 -0
- package/modules/paint/capabilities/drawing-paint-image-wrap-clamp/example.animl +12 -0
- package/modules/paint/capabilities/drawing-paint-image-wrap-mirror/example.ani +50 -0
- package/modules/paint/capabilities/drawing-paint-image-wrap-mirror/example.animl +12 -0
- package/modules/paint/capabilities/drawing-paint-image-wrap-repeat/example.ani +50 -0
- package/modules/paint/capabilities/drawing-paint-image-wrap-repeat/example.animl +12 -0
- package/modules/paint/manifest.source +77 -0
- package/modules/pathfollow/capabilities/rigging-follow-path/example.ani +16 -0
- package/modules/pathfollow/capabilities/rigging-follow-path/example.animl +7 -0
- package/modules/pathfollow/capabilities/rigging-list-follow-path/example.ani +16 -0
- package/modules/pathfollow/capabilities/rigging-list-follow-path/example.animl +9 -0
- package/modules/pathfollow/examples/orbit.ani +130 -0
- package/modules/pathfollow/examples/orbit.animl +17 -0
- package/modules/pathfollow/manifest.source +35 -0
- package/modules/posepad/examples/look.ani +124 -0
- package/modules/posepad/examples/look.animl +22 -0
- package/modules/posepad/manifest.source +43 -0
- package/modules/rig/AUTHORING.md +24 -0
- package/modules/rig/capabilities/rigging-bone-chains/example.ani +61 -0
- package/modules/rig/capabilities/rigging-bone-chains/example.animl +22 -0
- package/modules/rig/capabilities/rigging-constraint-order/example.ani +123 -0
- package/modules/rig/capabilities/rigging-constraint-order/example.animl +33 -0
- package/modules/rig/capabilities/rigging-constraint-strength/example.ani +105 -0
- package/modules/rig/capabilities/rigging-constraint-strength/example.animl +28 -0
- package/modules/rig/capabilities/rigging-distance-closer/example.ani +160 -0
- package/modules/rig/capabilities/rigging-distance-closer/example.animl +44 -0
- package/modules/rig/capabilities/rigging-distance-exact/example.ani +160 -0
- package/modules/rig/capabilities/rigging-distance-exact/example.animl +44 -0
- package/modules/rig/capabilities/rigging-distance-further/example.ani +160 -0
- package/modules/rig/capabilities/rigging-distance-further/example.animl +44 -0
- package/modules/rig/capabilities/rigging-root-bones/example.ani +63 -0
- package/modules/rig/capabilities/rigging-root-bones/example.animl +22 -0
- package/modules/rig/capabilities/rigging-rotation/example.ani +143 -0
- package/modules/rig/capabilities/rigging-rotation/example.animl +32 -0
- package/modules/rig/capabilities/rigging-scale/example.ani +144 -0
- package/modules/rig/capabilities/rigging-scale/example.animl +32 -0
- package/modules/rig/capabilities/rigging-transform/example.ani +132 -0
- package/modules/rig/capabilities/rigging-transform/example.animl +30 -0
- package/modules/rig/capabilities/rigging-translation/example.ani +248 -0
- package/modules/rig/capabilities/rigging-translation/example.animl +54 -0
- package/modules/rig/examples/arm.ani +120 -0
- package/modules/rig/examples/arm.animl +29 -0
- package/modules/rig/manifest.source +55 -0
- package/modules/scroll/capabilities/rigging-scroll/example.ani +16 -0
- package/modules/scroll/capabilities/rigging-scroll/example.animl +11 -0
- package/modules/scroll/examples/list.ani +115 -0
- package/modules/scroll/examples/list.animl +15 -0
- package/modules/scroll/manifest.source +31 -0
- package/modules/skin/capabilities/rigging-cubic-weights/example.ani +66 -0
- package/modules/skin/capabilities/rigging-cubic-weights/example.animl +17 -0
- package/modules/skin/capabilities/rigging-skin/example.ani +165 -0
- package/modules/skin/capabilities/rigging-skin/example.animl +33 -0
- package/modules/skin/capabilities/rigging-weights/example.ani +147 -0
- package/modules/skin/capabilities/rigging-weights/example.animl +37 -0
- package/modules/skin/examples/sleeve.ani +91 -0
- package/modules/skin/examples/sleeve.animl +14 -0
- package/modules/skin/manifest.source +41 -0
- package/modules/surface/manifest.source +52 -0
- package/modules/text/SPEC.md +269 -0
- package/modules/text/capabilities/data-bind-text/example.ani +63 -0
- package/modules/text/capabilities/data-bind-text/example.animl +8 -0
- package/modules/text/capabilities/data-property-text-style/example.ani +63 -0
- package/modules/text/capabilities/data-property-text-style/example.animl +8 -0
- package/modules/text/capabilities/host-api-nested-text-run/example.ani +44 -0
- package/modules/text/capabilities/host-api-nested-text-run/example.animl +10 -0
- package/modules/text/capabilities/host-api-text-run/example.ani +27 -0
- package/modules/text/capabilities/host-api-text-run/example.animl +6 -0
- package/modules/text/capabilities/text-fit-baseline/example.ani +30 -0
- package/modules/text/capabilities/text-fit-baseline/example.animl +6 -0
- package/modules/text/capabilities/text-fit-layout-measure/example.ani +30 -0
- package/modules/text/capabilities/text-fit-layout-measure/example.animl +6 -0
- package/modules/text/capabilities/text-flatten/example.ani +16 -0
- package/modules/text/capabilities/text-flatten/example.animl +6 -0
- package/modules/text/capabilities/text-font-size/example.ani +59 -0
- package/modules/text/capabilities/text-font-size/example.animl +15 -0
- package/modules/text/capabilities/text-horizontal-alignment/example.ani +28 -0
- package/modules/text/capabilities/text-horizontal-alignment/example.animl +6 -0
- package/modules/text/capabilities/text-line-spacing/example.ani +28 -0
- package/modules/text/capabilities/text-line-spacing/example.animl +6 -0
- package/modules/text/capabilities/text-origin/example.ani +32 -0
- package/modules/text/capabilities/text-origin/example.animl +6 -0
- package/modules/text/capabilities/text-overflow-clipped/example.ani +29 -0
- package/modules/text/capabilities/text-overflow-clipped/example.animl +6 -0
- package/modules/text/capabilities/text-overflow-ellipsis/example.ani +29 -0
- package/modules/text/capabilities/text-overflow-ellipsis/example.animl +6 -0
- package/modules/text/capabilities/text-overflow-fit/example.ani +29 -0
- package/modules/text/capabilities/text-overflow-fit/example.animl +6 -0
- package/modules/text/capabilities/text-overflow-fit-font-size/example.ani +29 -0
- package/modules/text/capabilities/text-overflow-fit-font-size/example.animl +6 -0
- package/modules/text/capabilities/text-overflow-hidden/example.ani +29 -0
- package/modules/text/capabilities/text-overflow-hidden/example.animl +7 -0
- package/modules/text/capabilities/text-overflow-visible/example.ani +29 -0
- package/modules/text/capabilities/text-overflow-visible/example.animl +6 -0
- package/modules/text/capabilities/text-paint/example.ani +30 -0
- package/modules/text/capabilities/text-paint/example.animl +6 -0
- package/modules/text/capabilities/text-paragraph-spacing/example.ani +28 -0
- package/modules/text/capabilities/text-paragraph-spacing/example.animl +7 -0
- package/modules/text/capabilities/text-rich-runs/example.ani +34 -0
- package/modules/text/capabilities/text-rich-runs/example.animl +8 -0
- package/modules/text/capabilities/text-run-list/example.ani +59 -0
- package/modules/text/capabilities/text-run-list/example.animl +7 -0
- package/modules/text/capabilities/text-script-hit-testing/example.ani +47 -0
- package/modules/text/capabilities/text-script-hit-testing/example.animl +10 -0
- package/modules/text/capabilities/text-sizing-auto-height/example.ani +28 -0
- package/modules/text/capabilities/text-sizing-auto-height/example.animl +6 -0
- package/modules/text/capabilities/text-sizing-auto-width/example.ani +27 -0
- package/modules/text/capabilities/text-sizing-auto-width/example.animl +6 -0
- package/modules/text/capabilities/text-sizing-fixed/example.ani +26 -0
- package/modules/text/capabilities/text-sizing-fixed/example.animl +6 -0
- package/modules/text/capabilities/text-style-reference/example.ani +31 -0
- package/modules/text/capabilities/text-style-reference/example.animl +7 -0
- package/modules/text/capabilities/text-tracking/example.ani +28 -0
- package/modules/text/capabilities/text-tracking/example.animl +6 -0
- package/modules/text/capabilities/text-vertical-alignment/example.ani +28 -0
- package/modules/text/capabilities/text-vertical-alignment/example.animl +6 -0
- package/modules/text/capabilities/text-vertical-trim/example.ani +29 -0
- package/modules/text/capabilities/text-vertical-trim/example.animl +6 -0
- package/modules/text/capabilities/text-word-break/example.ani +28 -0
- package/modules/text/capabilities/text-word-break/example.animl +6 -0
- package/modules/text/capabilities/text-wrap/example.ani +28 -0
- package/modules/text/capabilities/text-wrap/example.animl +6 -0
- package/modules/text/manifest.source +92 -0
- package/modules/text-effects/SPEC.md +134 -0
- package/modules/text-effects/capabilities/text-background/example.ani +32 -0
- package/modules/text-effects/capabilities/text-background/example.animl +7 -0
- package/modules/text-effects/capabilities/text-modifier-follow-path/example.ani +34 -0
- package/modules/text-effects/capabilities/text-modifier-follow-path/example.animl +8 -0
- package/modules/text-effects/capabilities/text-modifier-opacity/example.ani +34 -0
- package/modules/text-effects/capabilities/text-modifier-opacity/example.animl +8 -0
- package/modules/text-effects/capabilities/text-modifier-origin/example.ani +36 -0
- package/modules/text-effects/capabilities/text-modifier-origin/example.animl +8 -0
- package/modules/text-effects/capabilities/text-modifier-rotation/example.ani +34 -0
- package/modules/text-effects/capabilities/text-modifier-rotation/example.animl +8 -0
- package/modules/text-effects/capabilities/text-modifier-scale/example.ani +35 -0
- package/modules/text-effects/capabilities/text-modifier-scale/example.animl +8 -0
- package/modules/text-effects/capabilities/text-modifier-translation/example.ani +35 -0
- package/modules/text-effects/capabilities/text-modifier-translation/example.animl +8 -0
- package/modules/text-effects/capabilities/text-modifier-variation/example.ani +36 -0
- package/modules/text-effects/capabilities/text-modifier-variation/example.animl +8 -0
- package/modules/text-effects/capabilities/text-range-combine/example.ani +47 -0
- package/modules/text-effects/capabilities/text-range-combine/example.animl +11 -0
- package/modules/text-effects/capabilities/text-range-easing/example.ani +38 -0
- package/modules/text-effects/capabilities/text-range-easing/example.animl +8 -0
- package/modules/text-effects/capabilities/text-range-falloff/example.ani +37 -0
- package/modules/text-effects/capabilities/text-range-falloff/example.animl +8 -0
- package/modules/text-effects/capabilities/text-range-run/example.ani +37 -0
- package/modules/text-effects/capabilities/text-range-run/example.animl +8 -0
- package/modules/text-effects/capabilities/text-range-units/example.ani +37 -0
- package/modules/text-effects/capabilities/text-range-units/example.animl +8 -0
- package/modules/text-effects/capabilities/text-script-direction/example.ani +30 -0
- package/modules/text-effects/capabilities/text-script-direction/example.animl +7 -0
- package/modules/text-effects/examples/title-wave.ani +68 -0
- package/modules/text-effects/examples/title-wave.animl +15 -0
- package/modules/text-effects/manifest.source +58 -0
- package/modules/text-input/SPEC.md +189 -0
- package/modules/text-input/capabilities/text-input-placeholder/example.ani +16 -0
- package/modules/text-input/capabilities/text-input-placeholder/example.animl +13 -0
- package/modules/text-input/capabilities/text-input-selection/example.ani +66 -0
- package/modules/text-input/capabilities/text-input-selection/example.animl +13 -0
- package/modules/text-input/examples/search-card.ani +195 -0
- package/modules/text-input/examples/search-card.animl +49 -0
- package/modules/text-input/examples/search.txt +6 -0
- package/modules/text-input/manifest.source +79 -0
- package/modules/tooling/capabilities/tooling-benchmark/example.ani +16 -0
- package/modules/tooling/capabilities/tooling-benchmark/example.animl +13 -0
- package/modules/tooling/capabilities/tooling-data-breakpoints/example.ani +75 -0
- package/modules/tooling/capabilities/tooling-data-breakpoints/example.animl +13 -0
- package/modules/tooling/capabilities/tooling-data-debugger/example.ani +16 -0
- package/modules/tooling/capabilities/tooling-data-debugger/example.animl +13 -0
- package/modules/tooling/capabilities/tooling-headless-command-session/example.ani +16 -0
- package/modules/tooling/capabilities/tooling-headless-command-session/example.animl +13 -0
- package/modules/tooling/capabilities/tooling-headless-data/example.ani +16 -0
- package/modules/tooling/capabilities/tooling-headless-data/example.animl +13 -0
- package/modules/tooling/capabilities/tooling-headless-data-dump/example.ani +16 -0
- package/modules/tooling/capabilities/tooling-headless-data-dump/example.animl +13 -0
- package/modules/tooling/capabilities/tooling-headless-data-filter/example.ani +16 -0
- package/modules/tooling/capabilities/tooling-headless-data-filter/example.animl +13 -0
- package/modules/tooling/capabilities/tooling-headless-data-stream/example.ani +16 -0
- package/modules/tooling/capabilities/tooling-headless-data-stream/example.animl +13 -0
- package/modules/tooling/capabilities/tooling-headless-gamepad/example.ani +16 -0
- package/modules/tooling/capabilities/tooling-headless-gamepad/example.animl +13 -0
- package/modules/tooling/capabilities/tooling-headless-key/example.ani +16 -0
- package/modules/tooling/capabilities/tooling-headless-key/example.animl +13 -0
- package/modules/tooling/capabilities/tooling-headless-pointer/example.ani +16 -0
- package/modules/tooling/capabilities/tooling-headless-pointer/example.animl +13 -0
- package/modules/tooling/capabilities/tooling-headless-touch/example.ani +16 -0
- package/modules/tooling/capabilities/tooling-headless-touch/example.animl +13 -0
- package/modules/tooling/capabilities/tooling-headless-wheel/example.ani +16 -0
- package/modules/tooling/capabilities/tooling-headless-wheel/example.animl +13 -0
- package/modules/tooling/capabilities/tooling-seed/example.ani +76 -0
- package/modules/tooling/capabilities/tooling-seed/example.animl +21 -0
- package/modules/tooling/capabilities/tooling-test-assertions/example.ani +16 -0
- package/modules/tooling/capabilities/tooling-test-assertions/example.animl +13 -0
- package/modules/tooling/examples/agent-tools.ani +75 -0
- package/modules/tooling/examples/agent-tools.animl +13 -0
- package/modules/tooling/manifest.source +15 -0
- package/package.json +57 -4
- package/packages/cli/package.json +4 -0
- package/packages/cli/src/asset-info.d.ts +8 -0
- package/packages/cli/src/asset-info.js +122 -0
- package/packages/cli/src/assets.d.ts +8 -0
- package/packages/cli/src/assets.js +66 -0
- package/packages/cli/src/audio.d.ts +3 -0
- package/packages/cli/src/audio.js +77 -0
- package/packages/cli/src/bench.d.ts +32 -0
- package/packages/cli/src/bench.js +46 -0
- package/packages/cli/src/build-assets.d.ts +10 -0
- package/packages/cli/src/build-assets.js +139 -0
- package/packages/cli/src/bundle.d.ts +7 -0
- package/packages/cli/src/bundle.js +53 -0
- package/packages/cli/src/cli.d.ts +19 -0
- package/packages/cli/src/cli.js +1532 -0
- package/packages/cli/src/commands.d.ts +47 -0
- package/packages/cli/src/commands.js +608 -0
- package/packages/cli/src/compare-png.d.ts +21 -0
- package/packages/cli/src/compare-png.js +39 -0
- package/packages/cli/src/compare.d.ts +7 -0
- package/packages/cli/src/compare.js +84 -0
- package/packages/cli/src/completion.d.ts +2 -0
- package/packages/cli/src/completion.js +153 -0
- package/packages/cli/src/discover/api.d.ts +55 -0
- package/packages/cli/src/discover/api.js +185 -0
- package/packages/cli/src/discover/build.d.ts +14 -0
- package/packages/cli/src/discover/build.js +590 -0
- package/packages/cli/src/discover/synonyms.d.ts +1 -0
- package/packages/cli/src/discover/synonyms.js +68 -0
- package/packages/cli/src/docs-view.d.ts +4 -0
- package/packages/cli/src/docs-view.js +279 -0
- package/packages/cli/src/doctor.d.ts +11 -0
- package/packages/cli/src/doctor.js +151 -0
- package/packages/cli/src/encode.d.ts +9 -0
- package/packages/cli/src/encode.js +100 -0
- package/packages/cli/src/font/README.md +45 -0
- package/packages/cli/src/font/binary.d.ts +8 -0
- package/packages/cli/src/font/binary.js +54 -0
- package/packages/cli/src/font/browser.d.ts +4 -0
- package/packages/cli/src/font/browser.js +54 -0
- package/packages/cli/src/font/cff.d.ts +6 -0
- package/packages/cli/src/font/cff.js +154 -0
- package/packages/cli/src/font/container.d.ts +5 -0
- package/packages/cli/src/font/container.js +97 -0
- package/packages/cli/src/font/document.d.ts +28 -0
- package/packages/cli/src/font/document.js +143 -0
- package/packages/cli/src/font/features.d.ts +1 -0
- package/packages/cli/src/font/features.js +1 -0
- package/packages/cli/src/font/flatten.d.ts +5 -0
- package/packages/cli/src/font/flatten.js +146 -0
- package/packages/cli/src/font/import.d.ts +12 -0
- package/packages/cli/src/font/import.js +92 -0
- package/packages/cli/src/font/index.d.ts +8 -0
- package/packages/cli/src/font/index.js +27 -0
- package/packages/cli/src/font/measure.d.ts +37 -0
- package/packages/cli/src/font/measure.js +131 -0
- package/packages/cli/src/font/reader.d.ts +13 -0
- package/packages/cli/src/font/reader.js +26 -0
- package/packages/cli/src/font/subset.d.ts +6 -0
- package/packages/cli/src/font/subset.js +87 -0
- package/packages/cli/src/font/svg.d.ts +3 -0
- package/packages/cli/src/font/svg.js +109 -0
- package/packages/cli/src/font/truetype.d.ts +3 -0
- package/packages/cli/src/font/truetype.js +38 -0
- package/packages/cli/src/font/variation.d.ts +1 -0
- package/packages/cli/src/font/variation.js +1 -0
- package/packages/cli/src/font/woff2.d.ts +3 -0
- package/packages/cli/src/font/woff2.js +166 -0
- package/packages/cli/src/glyphs.d.ts +5 -0
- package/packages/cli/src/glyphs.js +59 -0
- package/packages/cli/src/help.d.ts +5 -0
- package/packages/cli/src/help.js +149 -0
- package/packages/cli/src/html.d.ts +5 -0
- package/packages/cli/src/html.js +119 -0
- package/packages/cli/src/import-lottie.d.ts +2 -0
- package/packages/cli/src/import-lottie.js +274 -0
- package/packages/cli/src/import-svg.d.ts +8 -0
- package/packages/cli/src/import-svg.js +300 -0
- package/packages/cli/src/index.d.ts +1 -0
- package/packages/cli/src/index.js +4 -0
- package/packages/cli/src/inspect-summary.d.ts +7 -0
- package/packages/cli/src/inspect-summary.js +158 -0
- package/packages/cli/src/library.d.ts +6 -0
- package/packages/cli/src/library.js +67 -0
- package/packages/cli/src/locate.d.ts +13 -0
- package/packages/cli/src/locate.js +118 -0
- package/packages/cli/src/main.d.ts +2 -0
- package/packages/cli/src/main.js +13 -0
- package/packages/cli/src/playground.d.ts +11 -0
- package/packages/cli/src/playground.js +169 -0
- package/packages/cli/src/project.d.ts +15 -0
- package/packages/cli/src/project.js +160 -0
- package/packages/cli/src/render-options.d.ts +6 -0
- package/packages/cli/src/render-options.js +40 -0
- package/packages/cli/src/render.d.ts +30 -0
- package/packages/cli/src/render.js +90 -0
- package/packages/cli/src/scaffold.d.ts +17 -0
- package/packages/cli/src/scaffold.js +96 -0
- package/packages/cli/src/schema-view.d.ts +9 -0
- package/packages/cli/src/schema-view.js +493 -0
- package/packages/cli/src/session.d.ts +8 -0
- package/packages/cli/src/session.js +96 -0
- package/packages/cli/src/suggest.d.ts +3 -0
- package/packages/cli/src/suggest.js +62 -0
- package/packages/cli/src/video.d.ts +2 -0
- package/packages/cli/src/video.js +73 -0
- package/packages/core/src/script.source +897 -0
- package/spec/ANIML.md +598 -0
- package/spec/MODULES.md +406 -0
- package/spec/SPEC.md +4083 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<anima version="0.1" name="feather" grid="24" requires="paint assets surface">
|
|
2
|
+
<asset name="tile" type="image"
|
|
3
|
+
src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='8'%20height='8'%3E%3Cpath%20fill='%23ff0000'%20d='M0%200h4v8H0z'/%3E%3Cpath%20fill='%230000ff'%20d='M4%200h4v8H4z'/%3E%3C/svg%3E"
|
|
4
|
+
width="8" height="8"/>
|
|
5
|
+
|
|
6
|
+
<rect id="tile" x0="4" y0="4" width="16" height="16" fill="#ff0000">
|
|
7
|
+
<feather inner="3" outer="3" offset="1 0" enabled="true"/>
|
|
8
|
+
</rect>
|
|
9
|
+
|
|
10
|
+
<timeline name="move" duration="1">
|
|
11
|
+
<track target="tile.fill.feather.outer">
|
|
12
|
+
0 3
|
|
13
|
+
1 6
|
|
14
|
+
</track>
|
|
15
|
+
</timeline>
|
|
16
|
+
|
|
17
|
+
<layer name="main" initial="run">
|
|
18
|
+
<state name="run" play="move"/>
|
|
19
|
+
</layer>
|
|
20
|
+
</anima>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"anima": "0.1",
|
|
3
|
+
"name": "image-paints",
|
|
4
|
+
"grid": 24,
|
|
5
|
+
"requires": ["paint", "assets", "surface"],
|
|
6
|
+
"nodes": [
|
|
7
|
+
{
|
|
8
|
+
"id": "tile",
|
|
9
|
+
"type": "rect",
|
|
10
|
+
"x0": 4,
|
|
11
|
+
"y0": 4,
|
|
12
|
+
"w": 16,
|
|
13
|
+
"h": 16,
|
|
14
|
+
"fill": {
|
|
15
|
+
"type": "image",
|
|
16
|
+
"asset": "tile",
|
|
17
|
+
"imageWidth": 8,
|
|
18
|
+
"imageHeight": 8,
|
|
19
|
+
"imageRotate": 0,
|
|
20
|
+
"modulate": "#ffffff"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"assets": {
|
|
25
|
+
"tile": {
|
|
26
|
+
"type": "image",
|
|
27
|
+
"source": "data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='8'%20height='8'%3E%3Cpath%20fill='%23ff0000'%20d='M0%200h4v8H0z'/%3E%3Cpath%20fill='%230000ff'%20d='M4%200h4v8H4z'/%3E%3C/svg%3E",
|
|
28
|
+
"width": 8,
|
|
29
|
+
"height": 8
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<anima version="0.1" name="image-paints" grid="24" requires="paint assets surface">
|
|
2
|
+
<asset name="tile" type="image"
|
|
3
|
+
src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='8'%20height='8'%3E%3Cpath%20fill='%23ff0000'%20d='M0%200h4v8H0z'/%3E%3Cpath%20fill='%230000ff'%20d='M4%200h4v8H4z'/%3E%3C/svg%3E"
|
|
4
|
+
width="8" height="8"/>
|
|
5
|
+
<rect id="tile" x0="4" y0="4" width="16" height="16">
|
|
6
|
+
<imagePaint asset="tile" image-width="8" image-height="8" image-rotate="0" modulate="#ffffff"/>
|
|
7
|
+
</rect>
|
|
8
|
+
</anima>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<library name="cards" exports="row Score">
|
|
2
|
+
<model name="Score">
|
|
3
|
+
<number name="points" default="3"/>
|
|
4
|
+
</model>
|
|
5
|
+
<component name="row" grid="10" data="Score">
|
|
6
|
+
<circle id="dot" cx="5" cy="5" r="1" fill="#000"/>
|
|
7
|
+
<bind target="dot.r" value="$points"/>
|
|
8
|
+
</component>
|
|
9
|
+
</library>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<library name="shared" export="Person main Mood">
|
|
2
|
+
<enum name="Mood" values="calm busy"/>
|
|
3
|
+
<model name="Person">
|
|
4
|
+
<number name="score" default="3"/>
|
|
5
|
+
<enum name="mood" enum="Mood" default="busy"/>
|
|
6
|
+
</model>
|
|
7
|
+
<instance name="main" model="Person" default="true">
|
|
8
|
+
<set path="score" value="7"/>
|
|
9
|
+
</instance>
|
|
10
|
+
</library>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<library name="ui">
|
|
2
|
+
<template name="press" params="hover=hover down=down">
|
|
3
|
+
<listener on="enter" set="{hover}=true"/>
|
|
4
|
+
<listener on="leave" set="{hover}=false {down}=false"/>
|
|
5
|
+
<listener on="down" set="{down}=true"/>
|
|
6
|
+
<listener on="up" set="{down}=false"/>
|
|
7
|
+
</template>
|
|
8
|
+
</library>
|
|
Binary file
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
{
|
|
2
|
+
"anima": "0.1",
|
|
3
|
+
"name": "moon",
|
|
4
|
+
"title": "Moon",
|
|
5
|
+
"grid": 20,
|
|
6
|
+
"colors": {
|
|
7
|
+
"ink": "currentColor",
|
|
8
|
+
"accent": "#d9a441"
|
|
9
|
+
},
|
|
10
|
+
"glyphs": {
|
|
11
|
+
"moon": {
|
|
12
|
+
"source": "svg",
|
|
13
|
+
"sha256": "c92583be2d63d2811f8ace875b597dcfeb0ffdc5eb6dc42544cb9bf79d03d720",
|
|
14
|
+
"d": "M8.749 4.908C8.749 4.906 8.749 4.904 8.749 4.903C8.751 4.884 8.752 4.873 8.743 4.857L9.111 4.348C9.142 4.305 9.182 4.268 9.211 4.223C9.222 4.208 9.229 4.171 9.241 4.16L9.855 3.545C9.952 3.449 9.968 3.317 10.006 3.192C10.057 3.022 10.043 2.858 9.965 2.698C9.826 2.415 9.594 2.297 9.288 2.287C9.243 2.285 9.154 2.273 9.113 2.285C9.105 2.287 9.097 2.298 9.089 2.302C9.064 2.315 9.035 2.32 9.008 2.324C8.945 2.333 8.853 2.322 8.798 2.335L8.084 2.503L7.626 2.666C7.562 2.689 7.489 2.708 7.428 2.736L6.785 3.036C6.745 3.054 6.747 3.066 6.718 3.085C6.704 3.094 6.683 3.094 6.671 3.101L6.206 3.385C6.137 3.427 6.037 3.493 5.974 3.541L5.465 3.929C5.425 3.96 5.386 4.035 5.335 4.04L4.639 4.736C4.617 4.758 4.61 4.789 4.59 4.815C4.567 4.846 4.535 4.871 4.512 4.899L4.141 5.357C4.133 5.367 4.119 5.384 4.113 5.393L3.652 6.136C3.653 6.153 3.644 6.148 3.638 6.16L3.351 6.731L3.129 7.298L2.965 7.792C2.951 7.835 2.955 7.919 2.918 7.947L2.786 8.568C2.78 8.594 2.787 8.648 2.769 8.663L2.711 9.239C2.708 9.264 2.718 9.281 2.696 9.296L2.696 9.993L2.766 10.645C2.767 10.655 2.778 10.663 2.778 10.672C2.778 10.679 2.772 10.684 2.773 10.691C2.784 10.78 2.807 10.869 2.824 10.956C2.831 10.992 2.834 11.036 2.843 11.07L3.013 11.72L3.197 12.221L3.381 12.64L3.634 13.14C3.66 13.192 3.7 13.233 3.727 13.286C3.735 13.302 3.756 13.374 3.757 13.375L4.086 13.864C4.112 13.901 4.17 13.945 4.17 13.992L4.494 14.404C4.544 14.467 4.603 14.527 4.656 14.588C4.69 14.628 4.722 14.677 4.758 14.712L5.291 15.246C5.305 15.26 5.312 15.27 5.333 15.27L5.757 15.634L6.184 15.939L6.687 16.258L7.356 16.594C7.39 16.612 7.441 16.61 7.464 16.644L8.121 16.886L8.831 17.069L9.312 17.143L10.166 17.217C10.26 17.225 10.372 17.218 10.465 17.201C10.494 17.196 10.523 17.178 10.551 17.175C10.569 17.172 10.59 17.185 10.606 17.183L11.102 17.13L11.629 17.038C11.646 17.035 11.666 17.016 11.687 17.011C11.723 17.002 11.768 17.007 11.801 16.997L12.509 16.784C12.54 16.774 12.585 16.761 12.613 16.748L13.457 16.355L14.109 15.957L14.677 15.525C14.729 15.485 14.777 15.434 14.826 15.391C14.866 15.355 14.915 15.321 14.952 15.284L15.513 14.722C15.525 14.711 15.523 14.693 15.534 14.679C15.547 14.664 15.569 14.654 15.58 14.64L15.901 14.244C15.94 14.196 15.975 14.136 16.013 14.085C16.067 14.009 16.133 13.933 16.173 13.851C16.186 13.825 16.223 13.781 16.24 13.753C16.32 13.624 16.402 13.496 16.471 13.362C16.476 13.353 16.489 13.347 16.492 13.34L16.822 12.684C16.828 12.673 16.827 12.661 16.831 12.652L17.067 12.049L17.261 11.338C17.402 10.818 17.198 10.286 16.59 10.283C16.445 10.283 16.273 10.315 16.15 10.397C16.095 10.435 16.056 10.491 16.018 10.545C16.008 10.559 15.998 10.582 15.988 10.592L15.405 11.175C15.326 11.253 15.185 11.359 15.089 11.412L14.473 11.754C14.4 11.795 14.272 11.851 14.193 11.875L13.719 12.018C13.683 12.028 13.641 12.049 13.605 12.055L13.138 12.137L12.616 12.192C12.592 12.195 12.558 12.198 12.536 12.196L11.819 12.134C11.659 12.121 11.495 12.07 11.343 12.022C11.3 12.009 11.249 11.997 11.209 11.98L10.617 11.723L10.083 11.401C10.037 11.374 9.979 11.336 9.939 11.302L9.373 10.817L8.895 10.26L8.567 9.773L8.271 9.186C8.24 9.125 8.206 9.046 8.189 8.982L8.042 8.421C8.017 8.323 8.011 8.215 7.996 8.115C7.988 8.068 7.97 8.012 7.97 7.967L7.97 7.267C7.97 7.206 7.997 7.145 8.003 7.082C8.007 7.046 8 6.955 8.005 6.933L8.126 6.366C8.139 6.302 8.166 6.234 8.183 6.169C8.195 6.126 8.202 6.073 8.218 6.033L8.423 5.508L8.732 4.894C8.738 4.898 8.743 4.903 8.749 4.908ZM8.748 3.336L8.25 3.95C8.205 4.006 8.164 4.075 8.122 4.135C8.116 4.144 8.099 4.15 8.095 4.156L7.779 4.665C7.742 4.725 7.711 4.793 7.677 4.855C7.654 4.896 7.623 4.939 7.604 4.981L7.418 5.396L7.225 5.89L7.043 6.558C7.04 6.569 7.043 6.578 7.042 6.587L6.96 7.109C6.953 7.153 6.981 7.218 6.938 7.248L6.938 7.961C6.938 7.98 6.938 8.005 6.94 8.022L7.043 8.693C7.05 8.736 7.065 8.793 7.078 8.834L7.283 9.467L7.504 9.97C7.536 10.044 7.582 10.118 7.619 10.192C7.657 10.267 7.692 10.354 7.738 10.423L8.142 11.022L8.459 11.391C8.499 11.437 8.588 11.476 8.578 11.546L9.272 12.142C9.339 12.199 9.417 12.249 9.491 12.298C9.497 12.303 9.502 12.315 9.507 12.318L9.939 12.578C9.982 12.604 10.042 12.61 10.067 12.659L10.658 12.916C10.688 12.929 10.722 12.916 10.745 12.947L11.305 13.113C11.369 13.132 11.45 13.155 11.515 13.16L12.15 13.215L12.717 13.215C12.728 13.215 12.74 13.215 12.751 13.213C12.788 13.169 12.826 13.213 12.868 13.205L13.41 13.111C13.449 13.104 13.493 13.076 13.532 13.096L14.192 12.897L14.641 12.716C14.684 12.698 14.731 12.642 14.781 12.659L15.292 12.376C15.308 12.367 15.317 12.352 15.335 12.355L15.804 12.032C15.902 11.965 15.98 11.874 16.084 11.815C16.031 11.953 15.983 12.098 15.917 12.231C15.913 12.24 15.914 12.254 15.911 12.261L15.609 12.862L15.282 13.389C15.272 13.404 15.255 13.412 15.246 13.425L14.878 13.935C14.848 13.975 14.787 13.984 14.777 14.042L14.106 14.713C14.065 14.754 14.012 14.802 13.966 14.834L13.509 15.148C13.462 15.18 13.413 15.223 13.365 15.249L12.749 15.591L12.138 15.838C12.095 15.856 12.043 15.864 11.999 15.878C11.874 15.915 11.75 15.951 11.623 15.981C11.602 15.986 11.578 16.006 11.56 16.009L10.898 16.125L10.272 16.157L9.701 16.131L9.095 16.037L8.528 15.891L7.98 15.689C7.948 15.678 7.927 15.645 7.889 15.651L7.36 15.385L6.909 15.113L6.399 14.747L5.952 14.364L5.463 13.875L5.078 13.427C5.062 13.408 5.058 13.383 5.043 13.362C5.025 13.339 4.996 13.319 4.981 13.296L4.677 12.845L4.376 12.305L4.162 11.819C4.138 11.763 4.121 11.697 4.1 11.639C4.07 11.558 4.025 11.471 4.006 11.386C4.004 11.375 4.006 11.363 4.003 11.351C3.999 11.339 3.989 11.326 3.986 11.315L3.831 10.725L3.753 10.217C3.744 10.16 3.767 10.091 3.728 10.043L3.728 9.12L3.822 8.527L3.929 8.023C3.933 8.006 3.952 7.984 3.958 7.964C3.986 7.858 4.013 7.742 4.053 7.639L4.328 6.937L4.738 6.197L5.144 5.634C5.156 5.617 5.172 5.617 5.176 5.592L5.644 5.066L6.111 4.653L6.617 4.268L7.211 3.906L7.939 3.566C7.976 3.549 8.015 3.554 8.054 3.539C8.28 3.457 8.515 3.384 8.748 3.336Z"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"a11y": {
|
|
18
|
+
"role": "switch",
|
|
19
|
+
"label": "Dark mode",
|
|
20
|
+
"activate": "dark",
|
|
21
|
+
"pressed": "dark",
|
|
22
|
+
"held": "down"
|
|
23
|
+
},
|
|
24
|
+
"inputs": {
|
|
25
|
+
"dark": {
|
|
26
|
+
"type": "bool",
|
|
27
|
+
"default": false
|
|
28
|
+
},
|
|
29
|
+
"hover": {
|
|
30
|
+
"type": "bool"
|
|
31
|
+
},
|
|
32
|
+
"down": {
|
|
33
|
+
"type": "bool"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"nodes": [
|
|
37
|
+
{
|
|
38
|
+
"id": "interaction",
|
|
39
|
+
"type": "group",
|
|
40
|
+
"pivot": [10, 10],
|
|
41
|
+
"children": [
|
|
42
|
+
{
|
|
43
|
+
"id": "moon",
|
|
44
|
+
"type": "group",
|
|
45
|
+
"pivot": [10, 10],
|
|
46
|
+
"children": [
|
|
47
|
+
{
|
|
48
|
+
"id": "glyph",
|
|
49
|
+
"type": "path",
|
|
50
|
+
"glyph": "moon",
|
|
51
|
+
"fill": {
|
|
52
|
+
"color": "ink",
|
|
53
|
+
"rule": "evenodd"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "star-a",
|
|
60
|
+
"type": "circle",
|
|
61
|
+
"center": [12, 3.5],
|
|
62
|
+
"r": 0.45,
|
|
63
|
+
"pivot": [12, 3.5],
|
|
64
|
+
"scale": 0,
|
|
65
|
+
"fill": {
|
|
66
|
+
"color": "accent"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "star-b",
|
|
71
|
+
"type": "circle",
|
|
72
|
+
"center": [16, 5],
|
|
73
|
+
"r": 0.6,
|
|
74
|
+
"pivot": [16, 5],
|
|
75
|
+
"scale": 0,
|
|
76
|
+
"fill": {
|
|
77
|
+
"color": "accent"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "star-c",
|
|
82
|
+
"type": "circle",
|
|
83
|
+
"center": [17.5, 8],
|
|
84
|
+
"r": 0.35,
|
|
85
|
+
"pivot": [17.5, 8],
|
|
86
|
+
"scale": 0,
|
|
87
|
+
"fill": {
|
|
88
|
+
"color": "accent"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"timelines": {
|
|
95
|
+
"nightfall": {
|
|
96
|
+
"duration": 0.6,
|
|
97
|
+
"reducedMotion": "end",
|
|
98
|
+
"tracks": {
|
|
99
|
+
"moon.rotate": [
|
|
100
|
+
[0, 0, "out"],
|
|
101
|
+
[0.1, -30, "out"],
|
|
102
|
+
[0.34, 5, "inOut"],
|
|
103
|
+
[0.6, 0]
|
|
104
|
+
],
|
|
105
|
+
"star-a.scale": [
|
|
106
|
+
[0, 0, "hold"],
|
|
107
|
+
[0.12, 0, "out"],
|
|
108
|
+
[0.27, 1.25, "inOut"],
|
|
109
|
+
[0.4, 1]
|
|
110
|
+
],
|
|
111
|
+
"star-b.scale": [
|
|
112
|
+
[0, 0, "hold"],
|
|
113
|
+
[0.2, 0, "out"],
|
|
114
|
+
[0.35, 1.25, "inOut"],
|
|
115
|
+
[0.48, 1]
|
|
116
|
+
],
|
|
117
|
+
"star-c.scale": [
|
|
118
|
+
[0, 0, "hold"],
|
|
119
|
+
[0.28, 0, "out"],
|
|
120
|
+
[0.43, 1.25, "inOut"],
|
|
121
|
+
[0.56, 1]
|
|
122
|
+
]
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"machine": {
|
|
127
|
+
"layers": {
|
|
128
|
+
"mode": {
|
|
129
|
+
"initial": "light",
|
|
130
|
+
"states": {
|
|
131
|
+
"light": {
|
|
132
|
+
"pose": {},
|
|
133
|
+
"on": [
|
|
134
|
+
{
|
|
135
|
+
"when": "dark",
|
|
136
|
+
"to": "dark",
|
|
137
|
+
"blend": 0.12,
|
|
138
|
+
"ease": "out",
|
|
139
|
+
"interruptible": true
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
"dark": {
|
|
144
|
+
"play": "nightfall",
|
|
145
|
+
"on": [
|
|
146
|
+
{
|
|
147
|
+
"when": "!dark",
|
|
148
|
+
"to": "light",
|
|
149
|
+
"blend": 0.24,
|
|
150
|
+
"ease": "inOut",
|
|
151
|
+
"interruptible": true
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"feedback": {
|
|
158
|
+
"initial": "rest",
|
|
159
|
+
"states": {
|
|
160
|
+
"rest": {
|
|
161
|
+
"pose": {},
|
|
162
|
+
"on": [
|
|
163
|
+
{
|
|
164
|
+
"when": "down",
|
|
165
|
+
"to": "pressed",
|
|
166
|
+
"blend": 0.08,
|
|
167
|
+
"interruptible": true
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"when": "hover",
|
|
171
|
+
"to": "hovered",
|
|
172
|
+
"blend": 0.16,
|
|
173
|
+
"interruptible": true
|
|
174
|
+
}
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
"hovered": {
|
|
178
|
+
"pose": {
|
|
179
|
+
"interaction.scale": 1.05
|
|
180
|
+
},
|
|
181
|
+
"on": [
|
|
182
|
+
{
|
|
183
|
+
"when": "down",
|
|
184
|
+
"to": "pressed",
|
|
185
|
+
"blend": 0.08,
|
|
186
|
+
"interruptible": true
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"when": "!hover",
|
|
190
|
+
"to": "rest",
|
|
191
|
+
"blend": 0.18,
|
|
192
|
+
"interruptible": true
|
|
193
|
+
}
|
|
194
|
+
]
|
|
195
|
+
},
|
|
196
|
+
"pressed": {
|
|
197
|
+
"pose": {
|
|
198
|
+
"interaction.scale": 0.95
|
|
199
|
+
},
|
|
200
|
+
"on": [
|
|
201
|
+
{
|
|
202
|
+
"when": "!down && hover",
|
|
203
|
+
"to": "hovered",
|
|
204
|
+
"blend": 0.14,
|
|
205
|
+
"interruptible": true
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"when": "!down && !hover",
|
|
209
|
+
"to": "rest",
|
|
210
|
+
"blend": 0.18,
|
|
211
|
+
"interruptible": true
|
|
212
|
+
}
|
|
213
|
+
]
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"listeners": [
|
|
220
|
+
{
|
|
221
|
+
"on": "click",
|
|
222
|
+
"toggle": "dark"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"on": "enter",
|
|
226
|
+
"set": {
|
|
227
|
+
"hover": true
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"on": "leave",
|
|
232
|
+
"set": {
|
|
233
|
+
"hover": false,
|
|
234
|
+
"down": false
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"on": "down",
|
|
239
|
+
"set": {
|
|
240
|
+
"down": true
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"on": "up",
|
|
245
|
+
"set": {
|
|
246
|
+
"down": false
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
]
|
|
250
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
<anima version="0.1" name="moon" title="Moon" grid="20">
|
|
2
|
+
<import src="lib/ui.animl" as="ui"/>
|
|
3
|
+
<color name="ink" value="currentColor"/>
|
|
4
|
+
|
|
5
|
+
<glyph name="moon"
|
|
6
|
+
d="M8.749 4.908C8.749 4.906 8.749 4.904 8.749 4.903C8.751 4.884 8.752 4.873 8.743 4.857L9.111 4.348C9.142 4.305 9.182 4.268 9.211 4.223C9.222 4.208 9.229 4.171 9.241 4.16L9.855 3.545C9.952 3.449 9.968 3.317 10.006 3.192C10.057 3.022 10.043 2.858 9.965 2.698C9.826 2.415 9.594 2.297 9.288 2.287C9.243 2.285 9.154 2.273 9.113 2.285C9.105 2.287 9.097 2.298 9.089 2.302C9.064 2.315 9.035 2.32 9.008 2.324C8.945 2.333 8.853 2.322 8.798 2.335L8.084 2.503L7.626 2.666C7.562 2.689 7.489 2.708 7.428 2.736L6.785 3.036C6.745 3.054 6.747 3.066 6.718 3.085C6.704 3.094 6.683 3.094 6.671 3.101L6.206 3.385C6.137 3.427 6.037 3.493 5.974 3.541L5.465 3.929C5.425 3.96 5.386 4.035 5.335 4.04L4.639 4.736C4.617 4.758 4.61 4.789 4.59 4.815C4.567 4.846 4.535 4.871 4.512 4.899L4.141 5.357C4.133 5.367 4.119 5.384 4.113 5.393L3.652 6.136C3.653 6.153 3.644 6.148 3.638 6.16L3.351 6.731L3.129 7.298L2.965 7.792C2.951 7.835 2.955 7.919 2.918 7.947L2.786 8.568C2.78 8.594 2.787 8.648 2.769 8.663L2.711 9.239C2.708 9.264 2.718 9.281 2.696 9.296L2.696 9.993L2.766 10.645C2.767 10.655 2.778 10.663 2.778 10.672C2.778 10.679 2.772 10.684 2.773 10.691C2.784 10.78 2.807 10.869 2.824 10.956C2.831 10.992 2.834 11.036 2.843 11.07L3.013 11.72L3.197 12.221L3.381 12.64L3.634 13.14C3.66 13.192 3.7 13.233 3.727 13.286C3.735 13.302 3.756 13.374 3.757 13.375L4.086 13.864C4.112 13.901 4.17 13.945 4.17 13.992L4.494 14.404C4.544 14.467 4.603 14.527 4.656 14.588C4.69 14.628 4.722 14.677 4.758 14.712L5.291 15.246C5.305 15.26 5.312 15.27 5.333 15.27L5.757 15.634L6.184 15.939L6.687 16.258L7.356 16.594C7.39 16.612 7.441 16.61 7.464 16.644L8.121 16.886L8.831 17.069L9.312 17.143L10.166 17.217C10.26 17.225 10.372 17.218 10.465 17.201C10.494 17.196 10.523 17.178 10.551 17.175C10.569 17.172 10.59 17.185 10.606 17.183L11.102 17.13L11.629 17.038C11.646 17.035 11.666 17.016 11.687 17.011C11.723 17.002 11.768 17.007 11.801 16.997L12.509 16.784C12.54 16.774 12.585 16.761 12.613 16.748L13.457 16.355L14.109 15.957L14.677 15.525C14.729 15.485 14.777 15.434 14.826 15.391C14.866 15.355 14.915 15.321 14.952 15.284L15.513 14.722C15.525 14.711 15.523 14.693 15.534 14.679C15.547 14.664 15.569 14.654 15.58 14.64L15.901 14.244C15.94 14.196 15.975 14.136 16.013 14.085C16.067 14.009 16.133 13.933 16.173 13.851C16.186 13.825 16.223 13.781 16.24 13.753C16.32 13.624 16.402 13.496 16.471 13.362C16.476 13.353 16.489 13.347 16.492 13.34L16.822 12.684C16.828 12.673 16.827 12.661 16.831 12.652L17.067 12.049L17.261 11.338C17.402 10.818 17.198 10.286 16.59 10.283C16.445 10.283 16.273 10.315 16.15 10.397C16.095 10.435 16.056 10.491 16.018 10.545C16.008 10.559 15.998 10.582 15.988 10.592L15.405 11.175C15.326 11.253 15.185 11.359 15.089 11.412L14.473 11.754C14.4 11.795 14.272 11.851 14.193 11.875L13.719 12.018C13.683 12.028 13.641 12.049 13.605 12.055L13.138 12.137L12.616 12.192C12.592 12.195 12.558 12.198 12.536 12.196L11.819 12.134C11.659 12.121 11.495 12.07 11.343 12.022C11.3 12.009 11.249 11.997 11.209 11.98L10.617 11.723L10.083 11.401C10.037 11.374 9.979 11.336 9.939 11.302L9.373 10.817L8.895 10.26L8.567 9.773L8.271 9.186C8.24 9.125 8.206 9.046 8.189 8.982L8.042 8.421C8.017 8.323 8.011 8.215 7.996 8.115C7.988 8.068 7.97 8.012 7.97 7.967L7.97 7.267C7.97 7.206 7.997 7.145 8.003 7.082C8.007 7.046 8 6.955 8.005 6.933L8.126 6.366C8.139 6.302 8.166 6.234 8.183 6.169C8.195 6.126 8.202 6.073 8.218 6.033L8.423 5.508L8.732 4.894C8.738 4.898 8.743 4.903 8.749 4.908ZM8.748 3.336L8.25 3.95C8.205 4.006 8.164 4.075 8.122 4.135C8.116 4.144 8.099 4.15 8.095 4.156L7.779 4.665C7.742 4.725 7.711 4.793 7.677 4.855C7.654 4.896 7.623 4.939 7.604 4.981L7.418 5.396L7.225 5.89L7.043 6.558C7.04 6.569 7.043 6.578 7.042 6.587L6.96 7.109C6.953 7.153 6.981 7.218 6.938 7.248L6.938 7.961C6.938 7.98 6.938 8.005 6.94 8.022L7.043 8.693C7.05 8.736 7.065 8.793 7.078 8.834L7.283 9.467L7.504 9.97C7.536 10.044 7.582 10.118 7.619 10.192C7.657 10.267 7.692 10.354 7.738 10.423L8.142 11.022L8.459 11.391C8.499 11.437 8.588 11.476 8.578 11.546L9.272 12.142C9.339 12.199 9.417 12.249 9.491 12.298C9.497 12.303 9.502 12.315 9.507 12.318L9.939 12.578C9.982 12.604 10.042 12.61 10.067 12.659L10.658 12.916C10.688 12.929 10.722 12.916 10.745 12.947L11.305 13.113C11.369 13.132 11.45 13.155 11.515 13.16L12.15 13.215L12.717 13.215C12.728 13.215 12.74 13.215 12.751 13.213C12.788 13.169 12.826 13.213 12.868 13.205L13.41 13.111C13.449 13.104 13.493 13.076 13.532 13.096L14.192 12.897L14.641 12.716C14.684 12.698 14.731 12.642 14.781 12.659L15.292 12.376C15.308 12.367 15.317 12.352 15.335 12.355L15.804 12.032C15.902 11.965 15.98 11.874 16.084 11.815C16.031 11.953 15.983 12.098 15.917 12.231C15.913 12.24 15.914 12.254 15.911 12.261L15.609 12.862L15.282 13.389C15.272 13.404 15.255 13.412 15.246 13.425L14.878 13.935C14.848 13.975 14.787 13.984 14.777 14.042L14.106 14.713C14.065 14.754 14.012 14.802 13.966 14.834L13.509 15.148C13.462 15.18 13.413 15.223 13.365 15.249L12.749 15.591L12.138 15.838C12.095 15.856 12.043 15.864 11.999 15.878C11.874 15.915 11.75 15.951 11.623 15.981C11.602 15.986 11.578 16.006 11.56 16.009L10.898 16.125L10.272 16.157L9.701 16.131L9.095 16.037L8.528 15.891L7.98 15.689C7.948 15.678 7.927 15.645 7.889 15.651L7.36 15.385L6.909 15.113L6.399 14.747L5.952 14.364L5.463 13.875L5.078 13.427C5.062 13.408 5.058 13.383 5.043 13.362C5.025 13.339 4.996 13.319 4.981 13.296L4.677 12.845L4.376 12.305L4.162 11.819C4.138 11.763 4.121 11.697 4.1 11.639C4.07 11.558 4.025 11.471 4.006 11.386C4.004 11.375 4.006 11.363 4.003 11.351C3.999 11.339 3.989 11.326 3.986 11.315L3.831 10.725L3.753 10.217C3.744 10.16 3.767 10.091 3.728 10.043L3.728 9.12L3.822 8.527L3.929 8.023C3.933 8.006 3.952 7.984 3.958 7.964C3.986 7.858 4.013 7.742 4.053 7.639L4.328 6.937L4.738 6.197L5.144 5.634C5.156 5.617 5.172 5.617 5.176 5.592L5.644 5.066L6.111 4.653L6.617 4.268L7.211 3.906L7.939 3.566C7.976 3.549 8.015 3.554 8.054 3.539C8.28 3.457 8.515 3.384 8.748 3.336Z"
|
|
7
|
+
source="svg" sha256="c92583be2d63d2811f8ace875b597dcfeb0ffdc5eb6dc42544cb9bf79d03d720"/>
|
|
8
|
+
|
|
9
|
+
<color name="accent" value="#d9a441"/>
|
|
10
|
+
<bool name="dark" default="false"/>
|
|
11
|
+
<bool name="hover"/>
|
|
12
|
+
<bool name="down"/>
|
|
13
|
+
<a11y role="switch" label="Dark mode" activate="dark" pressed="dark" held="down"/>
|
|
14
|
+
<!-- Keep the glyph geometry intact; separate nodes compose interaction and rotation. -->
|
|
15
|
+
<group id="interaction" pivot="10 10">
|
|
16
|
+
<group id="moon" pivot="10 10">
|
|
17
|
+
<path id="glyph" glyph="moon" fill="ink" fill-rule="evenodd"/>
|
|
18
|
+
</group>
|
|
19
|
+
<circle id="star-a" cx="12" cy="3.5" r="0.45" pivot="12 3.5" scale="0" fill="accent"/>
|
|
20
|
+
<circle id="star-b" cx="16" cy="5" r="0.6" pivot="16 5" scale="0" fill="accent"/>
|
|
21
|
+
<circle id="star-c" cx="17.5" cy="8" r="0.35" pivot="17.5 8" scale="0" fill="accent"/>
|
|
22
|
+
</group>
|
|
23
|
+
<timeline name="nightfall" duration="0.6" reducedMotion="end">
|
|
24
|
+
<track target="moon.rotate">0 0 out; 0.1 -30 out; 0.34 5 inOut; 0.6 0</track>
|
|
25
|
+
<track target="star-a.scale">0 0 hold; 0.12 0 out; 0.27 1.25 inOut; 0.4 1</track>
|
|
26
|
+
<track target="star-b.scale">0 0 hold; 0.2 0 out; 0.35 1.25 inOut; 0.48 1</track>
|
|
27
|
+
<track target="star-c.scale">0 0 hold; 0.28 0 out; 0.43 1.25 inOut; 0.56 1</track>
|
|
28
|
+
</timeline>
|
|
29
|
+
<layer name="mode" initial="light">
|
|
30
|
+
<state name="light">
|
|
31
|
+
<on when="dark" to="dark" blend="0.12" ease="out" interruptible="true"/>
|
|
32
|
+
</state>
|
|
33
|
+
<state name="dark" play="nightfall">
|
|
34
|
+
<on when="!dark" to="light" blend="0.24" ease="inOut" interruptible="true"/>
|
|
35
|
+
</state>
|
|
36
|
+
</layer>
|
|
37
|
+
<layer name="feedback" initial="rest">
|
|
38
|
+
<state name="rest">
|
|
39
|
+
<on when="down" to="pressed" blend="0.08" interruptible="true"/>
|
|
40
|
+
<on when="hover" to="hovered" blend="0.16" interruptible="true"/>
|
|
41
|
+
</state>
|
|
42
|
+
<state name="hovered">
|
|
43
|
+
<pose interaction.scale="1.05"/>
|
|
44
|
+
<on when="down" to="pressed" blend="0.08" interruptible="true"/>
|
|
45
|
+
<on when="!hover" to="rest" blend="0.18" interruptible="true"/>
|
|
46
|
+
</state>
|
|
47
|
+
<state name="pressed">
|
|
48
|
+
<pose interaction.scale="0.95"/>
|
|
49
|
+
<on when="!down and hover" to="hovered" blend="0.14" interruptible="true"/>
|
|
50
|
+
<on when="!down and !hover" to="rest" blend="0.18" interruptible="true"/>
|
|
51
|
+
</state>
|
|
52
|
+
</layer>
|
|
53
|
+
<listener on="click" toggle="dark"/>
|
|
54
|
+
<apply template="ui:press"/>
|
|
55
|
+
</anima>
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"anima": "0.1",
|
|
3
|
+
"name": "motion",
|
|
4
|
+
"grid": 20,
|
|
5
|
+
"requires": ["motion"],
|
|
6
|
+
"nodes": [
|
|
7
|
+
{
|
|
8
|
+
"id": "dot",
|
|
9
|
+
"type": "circle",
|
|
10
|
+
"center": [10, 10],
|
|
11
|
+
"r": 2,
|
|
12
|
+
"pivot": [10, 10],
|
|
13
|
+
"fill": {
|
|
14
|
+
"color": "#000"
|
|
15
|
+
},
|
|
16
|
+
"pivotX": 10,
|
|
17
|
+
"pivotY": 10,
|
|
18
|
+
"channels": {
|
|
19
|
+
"count": {
|
|
20
|
+
"type": "int",
|
|
21
|
+
"value": 0
|
|
22
|
+
},
|
|
23
|
+
"label": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"value": "Ready"
|
|
26
|
+
},
|
|
27
|
+
"target": {
|
|
28
|
+
"type": "reference",
|
|
29
|
+
"value": "dot"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"timelines": {
|
|
35
|
+
"bounce": {
|
|
36
|
+
"duration": 2,
|
|
37
|
+
"loop": "pingpong",
|
|
38
|
+
"tracks": {
|
|
39
|
+
"dot.y": [
|
|
40
|
+
[0, 0, "value-cubic(0.3333333333333333, -8, 0.6666666666666666, -8)"],
|
|
41
|
+
[2, 0]
|
|
42
|
+
],
|
|
43
|
+
"dot.pivotX": [
|
|
44
|
+
[0, 10],
|
|
45
|
+
[2, 14]
|
|
46
|
+
],
|
|
47
|
+
"dot.channels.count": [
|
|
48
|
+
[0, 0],
|
|
49
|
+
[1, -1],
|
|
50
|
+
[2, 2]
|
|
51
|
+
],
|
|
52
|
+
"dot.channels.label": [
|
|
53
|
+
[0, "Ready"],
|
|
54
|
+
[1, "Bouncing"],
|
|
55
|
+
[2, "Done"]
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"events": [
|
|
59
|
+
[1, "apex"]
|
|
60
|
+
],
|
|
61
|
+
"speed": 1,
|
|
62
|
+
"quantize": 12,
|
|
63
|
+
"work": [0.25, 1.75]
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"machine": {
|
|
67
|
+
"layers": {
|
|
68
|
+
"main": {
|
|
69
|
+
"initial": "bounce",
|
|
70
|
+
"states": {
|
|
71
|
+
"bounce": {
|
|
72
|
+
"play": "bounce"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"machines": {
|
|
79
|
+
"accent": {
|
|
80
|
+
"layers": {
|
|
81
|
+
"tone": {
|
|
82
|
+
"initial": "small",
|
|
83
|
+
"states": {
|
|
84
|
+
"small": {
|
|
85
|
+
"pose": {
|
|
86
|
+
"dot.scale": 0.75
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<anima version="0.1" name="motion" grid="20" requires="motion">
|
|
2
|
+
<circle id="dot" cx="10" cy="10" r="2" pivotX="10" pivotY="10" pivot="10 10" fill="#000">
|
|
3
|
+
<channel name="count" type="int" value="0"/>
|
|
4
|
+
<channel name="label" type="string" value=""Ready""/>
|
|
5
|
+
<channel name="target" type="reference" value=""dot""/>
|
|
6
|
+
</circle>
|
|
7
|
+
<timeline name="bounce" duration="2" loop="pingpong" speed="1" quantize="12" work="0.25 1.75">
|
|
8
|
+
<track target="dot.y">0 0 value-cubic(0.3333333333333333, -8, 0.6666666666666666, -8); 2 0</track>
|
|
9
|
+
<track target="dot.pivotX">0 10; 2 14</track>
|
|
10
|
+
<track target="dot.channels.count">0 0; 1 -1; 2 2</track>
|
|
11
|
+
<track target="dot.channels.label">0 "Ready"; 1 "Bouncing"; 2 "Done"</track>
|
|
12
|
+
<event at="1" name="apex"/>
|
|
13
|
+
</timeline>
|
|
14
|
+
<layer name="main" initial="bounce">
|
|
15
|
+
<state name="bounce" play="bounce"/>
|
|
16
|
+
</layer>
|
|
17
|
+
<machine name="accent">
|
|
18
|
+
<layer name="tone" initial="small">
|
|
19
|
+
<state name="small">
|
|
20
|
+
<pose dot.scale="0.75"/>
|
|
21
|
+
</state>
|
|
22
|
+
</layer>
|
|
23
|
+
</machine>
|
|
24
|
+
</anima>
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
{
|
|
2
|
+
"anima": "0.1",
|
|
3
|
+
"name": "paint",
|
|
4
|
+
"title": "Paint module",
|
|
5
|
+
"grid": 20,
|
|
6
|
+
"requires": ["paint"],
|
|
7
|
+
"colors": {
|
|
8
|
+
"accent": "#d97757"
|
|
9
|
+
},
|
|
10
|
+
"nodes": [
|
|
11
|
+
{
|
|
12
|
+
"id": "panel",
|
|
13
|
+
"type": "rect",
|
|
14
|
+
"x0": 2,
|
|
15
|
+
"y0": 2,
|
|
16
|
+
"w": 16,
|
|
17
|
+
"h": 16,
|
|
18
|
+
"rx": 3,
|
|
19
|
+
"fill": {
|
|
20
|
+
"type": "linear",
|
|
21
|
+
"x1": 2,
|
|
22
|
+
"y1": 2,
|
|
23
|
+
"x2": 18,
|
|
24
|
+
"y2": 18,
|
|
25
|
+
"stops": [
|
|
26
|
+
{
|
|
27
|
+
"position": 0,
|
|
28
|
+
"color": "#4263eb"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"position": 1,
|
|
32
|
+
"color": "#4263eb00"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"stroke": {
|
|
37
|
+
"width": 0.6,
|
|
38
|
+
"type": "radial",
|
|
39
|
+
"cx": 10,
|
|
40
|
+
"cy": 10,
|
|
41
|
+
"r": 12,
|
|
42
|
+
"fx": 7,
|
|
43
|
+
"fy": 7,
|
|
44
|
+
"stops": [
|
|
45
|
+
{
|
|
46
|
+
"position": 0,
|
|
47
|
+
"color": "accent"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"position": 1,
|
|
51
|
+
"color": "#4263eb"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"dash": ["8%", "4%"],
|
|
55
|
+
"dashOffset": 0
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"timelines": {
|
|
60
|
+
"shine": {
|
|
61
|
+
"duration": 2,
|
|
62
|
+
"loop": "pingpong",
|
|
63
|
+
"tracks": {
|
|
64
|
+
"panel.fill.x2": [
|
|
65
|
+
[0, 18],
|
|
66
|
+
[2, 10]
|
|
67
|
+
],
|
|
68
|
+
"panel.fill.stops.0.color": [
|
|
69
|
+
[0, "#4263eb"],
|
|
70
|
+
[2, "#d97757"]
|
|
71
|
+
],
|
|
72
|
+
"panel.stroke.dashOffset": [
|
|
73
|
+
[0, 0],
|
|
74
|
+
[2, -0.24]
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"machine": {
|
|
80
|
+
"layers": {
|
|
81
|
+
"paint": {
|
|
82
|
+
"initial": "shine",
|
|
83
|
+
"states": {
|
|
84
|
+
"shine": {
|
|
85
|
+
"play": "shine"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<anima version="0.1" name="paint" title="Paint module" grid="20" requires="paint">
|
|
2
|
+
<color name="accent" value="#d97757"/>
|
|
3
|
+
<rect id="panel" x0="2" y0="2" width="16" height="16" rx="3" stroke-width="0.6" stroke-dasharray="8% 4%" stroke-dashoffset="0">
|
|
4
|
+
<linearGradient x1="2" y1="2" x2="18" y2="18">
|
|
5
|
+
<stop offset="0" stop-color="#4263eb"/>
|
|
6
|
+
<stop offset="1" stop-color="#4263eb00"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
<radialGradient paint="stroke" cx="10" cy="10" r="12" fx="7" fy="7">
|
|
9
|
+
<stop offset="0" stop-color="accent"/>
|
|
10
|
+
<stop offset="1" stop-color="#4263eb"/>
|
|
11
|
+
</radialGradient>
|
|
12
|
+
</rect>
|
|
13
|
+
<timeline name="shine" duration="2" loop="pingpong">
|
|
14
|
+
<track target="panel.fill.x2">0 18; 2 10</track>
|
|
15
|
+
<track target="panel.fill.stops.0.color">0 #4263eb; 2 #d97757</track>
|
|
16
|
+
<track target="panel.stroke-dashoffset">0 0; 2 -0.24</track>
|
|
17
|
+
</timeline>
|
|
18
|
+
<layer name="paint" initial="shine">
|
|
19
|
+
<state name="shine" play="shine"/>
|
|
20
|
+
</layer>
|
|
21
|
+
</anima>
|