@motionscript/core 0.1.0-alpha.9 → 0.1.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/dist/assets/asset-index.d.ts +1 -8
- package/dist/assets/asset-index.d.ts.map +1 -1
- package/dist/assets/asset-index.js +1 -8
- package/dist/assets/asset-index.js.map +1 -1
- package/dist/assets/catalog.d.ts +10 -72
- package/dist/assets/catalog.d.ts.map +1 -1
- package/dist/assets/catalog.js +3 -29
- package/dist/assets/catalog.js.map +1 -1
- package/dist/assets/errors.d.ts +8 -20
- package/dist/assets/errors.d.ts.map +1 -1
- package/dist/assets/errors.js +8 -20
- package/dist/assets/errors.js.map +1 -1
- package/dist/assets/index.d.ts.map +1 -1
- package/dist/assets/index.js.map +1 -1
- package/dist/assets/manager.d.ts +9 -51
- package/dist/assets/manager.d.ts.map +1 -1
- package/dist/assets/manager.js +13 -78
- package/dist/assets/manager.js.map +1 -1
- package/dist/assets/record.d.ts +2 -18
- package/dist/assets/record.d.ts.map +1 -1
- package/dist/assets/record.js.map +1 -1
- package/dist/assets/scope.d.ts +3 -18
- package/dist/assets/scope.d.ts.map +1 -1
- package/dist/assets/scope.js +2 -11
- package/dist/assets/scope.js.map +1 -1
- package/dist/attributes/audio/effects/chain.d.ts +2 -12
- package/dist/attributes/audio/effects/chain.d.ts.map +1 -1
- package/dist/attributes/audio/effects/chain.js +1 -7
- package/dist/attributes/audio/effects/chain.js.map +1 -1
- package/dist/attributes/audio/effects/registry.d.ts +3 -18
- package/dist/attributes/audio/effects/registry.d.ts.map +1 -1
- package/dist/attributes/audio/effects/registry.js +4 -23
- package/dist/attributes/audio/effects/registry.js.map +1 -1
- package/dist/attributes/audio/ramp.d.ts +5 -38
- package/dist/attributes/audio/ramp.d.ts.map +1 -1
- package/dist/attributes/audio/ramp.js +3 -28
- package/dist/attributes/audio/ramp.js.map +1 -1
- package/dist/attributes/audio/request.d.ts +10 -80
- package/dist/attributes/audio/request.d.ts.map +1 -1
- package/dist/attributes/audio/request.js +1 -4
- package/dist/attributes/audio/request.js.map +1 -1
- package/dist/attributes/audio/schedule.d.ts +2 -12
- package/dist/attributes/audio/schedule.d.ts.map +1 -1
- package/dist/attributes/audio/schedule.js +2 -11
- package/dist/attributes/audio/schedule.js.map +1 -1
- package/dist/attributes/audio/sound.d.ts +2 -26
- package/dist/attributes/audio/sound.d.ts.map +1 -1
- package/dist/attributes/audio/sound.js +1 -9
- package/dist/attributes/audio/sound.js.map +1 -1
- package/dist/attributes/audio/transition.d.ts +1 -8
- package/dist/attributes/audio/transition.d.ts.map +1 -1
- package/dist/attributes/audio/transition.js.map +1 -1
- package/dist/attributes/layout/alignment.d.ts +6 -38
- package/dist/attributes/layout/alignment.d.ts.map +1 -1
- package/dist/attributes/layout/alignment.js.map +1 -1
- package/dist/attributes/layout/insets.d.ts +2 -27
- package/dist/attributes/layout/insets.d.ts.map +1 -1
- package/dist/attributes/layout/insets.js.map +1 -1
- package/dist/attributes/layout/matrix2d.d.ts +29 -114
- package/dist/attributes/layout/matrix2d.d.ts.map +1 -1
- package/dist/attributes/layout/matrix2d.js +26 -110
- package/dist/attributes/layout/matrix2d.js.map +1 -1
- package/dist/attributes/layout/size.d.ts +3 -25
- package/dist/attributes/layout/size.d.ts.map +1 -1
- package/dist/attributes/layout/size.js +2 -18
- package/dist/attributes/layout/size.js.map +1 -1
- package/dist/attributes/layout/space3d.d.ts +16 -79
- package/dist/attributes/layout/space3d.d.ts.map +1 -1
- package/dist/attributes/layout/space3d.js +17 -81
- package/dist/attributes/layout/space3d.js.map +1 -1
- package/dist/attributes/layout/transform3d.d.ts +2 -23
- package/dist/attributes/layout/transform3d.d.ts.map +1 -1
- package/dist/attributes/layout/transform3d.js +1 -7
- package/dist/attributes/layout/transform3d.js.map +1 -1
- package/dist/attributes/layout/world-transform.d.ts +2 -16
- package/dist/attributes/layout/world-transform.d.ts.map +1 -1
- package/dist/attributes/layout/world-transform.js.map +1 -1
- package/dist/attributes/properties/decorator.d.ts +13 -73
- package/dist/attributes/properties/decorator.d.ts.map +1 -1
- package/dist/attributes/properties/decorator.js +9 -40
- package/dist/attributes/properties/decorator.js.map +1 -1
- package/dist/attributes/properties/typed.d.ts +6 -45
- package/dist/attributes/properties/typed.d.ts.map +1 -1
- package/dist/attributes/properties/typed.js +6 -37
- package/dist/attributes/properties/typed.js.map +1 -1
- package/dist/attributes/render3d/orbit.d.ts +11 -83
- package/dist/attributes/render3d/orbit.d.ts.map +1 -1
- package/dist/attributes/render3d/orbit.js +10 -73
- package/dist/attributes/render3d/orbit.js.map +1 -1
- package/dist/attributes/shape/corners/corner-radius.d.ts +1 -6
- package/dist/attributes/shape/corners/corner-radius.d.ts.map +1 -1
- package/dist/attributes/shape/corners/corner-radius.js.map +1 -1
- package/dist/attributes/shape/corners/corner-style.d.ts +4 -25
- package/dist/attributes/shape/corners/corner-style.d.ts.map +1 -1
- package/dist/attributes/shape/corners/corner-style.js +2 -12
- package/dist/attributes/shape/corners/corner-style.js.map +1 -1
- package/dist/attributes/shape/corners/corners.d.ts +2 -21
- package/dist/attributes/shape/corners/corners.d.ts.map +1 -1
- package/dist/attributes/shape/corners/corners.js +2 -12
- package/dist/attributes/shape/corners/corners.js.map +1 -1
- package/dist/attributes/shape/effects/backdrop.d.ts +2 -18
- package/dist/attributes/shape/effects/backdrop.d.ts.map +1 -1
- package/dist/attributes/shape/effects/backdrop.js +3 -26
- package/dist/attributes/shape/effects/backdrop.js.map +1 -1
- package/dist/attributes/shape/effects/chain.d.ts +36 -328
- package/dist/attributes/shape/effects/chain.d.ts.map +1 -1
- package/dist/attributes/shape/effects/chain.js +24 -242
- package/dist/attributes/shape/effects/chain.js.map +1 -1
- package/dist/attributes/shape/effects/effect-data.d.ts +19 -127
- package/dist/attributes/shape/effects/effect-data.d.ts.map +1 -1
- package/dist/attributes/shape/effects/effect-data.js +6 -33
- package/dist/attributes/shape/effects/effect-data.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/ascii.d.ts +6 -26
- package/dist/attributes/shape/effects/implementations/ascii.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/ascii.js +0 -3
- package/dist/attributes/shape/effects/implementations/ascii.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/bit-crush.d.ts +2 -21
- package/dist/attributes/shape/effects/implementations/bit-crush.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/bit-crush.js +0 -1
- package/dist/attributes/shape/effects/implementations/bit-crush.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/block-displace.d.ts +1 -14
- package/dist/attributes/shape/effects/implementations/block-displace.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/block-displace.js +0 -1
- package/dist/attributes/shape/effects/implementations/block-displace.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/bloom.d.ts +0 -1
- package/dist/attributes/shape/effects/implementations/bloom.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/bloom.js +0 -1
- package/dist/attributes/shape/effects/implementations/bloom.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/blur.d.ts +0 -1
- package/dist/attributes/shape/effects/implementations/blur.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/blur.js +0 -1
- package/dist/attributes/shape/effects/implementations/blur.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/bulge.d.ts +0 -1
- package/dist/attributes/shape/effects/implementations/bulge.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/bulge.js +0 -1
- package/dist/attributes/shape/effects/implementations/bulge.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/chromatic-aberration.d.ts +0 -1
- package/dist/attributes/shape/effects/implementations/chromatic-aberration.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/chromatic-aberration.js +0 -1
- package/dist/attributes/shape/effects/implementations/chromatic-aberration.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/color-adjustment.d.ts +1 -12
- package/dist/attributes/shape/effects/implementations/color-adjustment.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/color-adjustment.js +0 -1
- package/dist/attributes/shape/effects/implementations/color-adjustment.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/curves.d.ts +1 -11
- package/dist/attributes/shape/effects/implementations/curves.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/curves.js +1 -6
- package/dist/attributes/shape/effects/implementations/curves.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/directional-blur.d.ts +0 -1
- package/dist/attributes/shape/effects/implementations/directional-blur.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/directional-blur.js +0 -1
- package/dist/attributes/shape/effects/implementations/directional-blur.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/dither.d.ts +4 -35
- package/dist/attributes/shape/effects/implementations/dither.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/dither.js +1 -7
- package/dist/attributes/shape/effects/implementations/dither.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/drop-shadow.d.ts +1 -22
- package/dist/attributes/shape/effects/implementations/drop-shadow.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/drop-shadow.js +0 -1
- package/dist/attributes/shape/effects/implementations/drop-shadow.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/duotone.d.ts +1 -9
- package/dist/attributes/shape/effects/implementations/duotone.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/duotone.js +0 -1
- package/dist/attributes/shape/effects/implementations/duotone.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/edges.d.ts +2 -15
- package/dist/attributes/shape/effects/implementations/edges.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/edges.js +0 -1
- package/dist/attributes/shape/effects/implementations/edges.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/glass.d.ts +1 -14
- package/dist/attributes/shape/effects/implementations/glass.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/glass.js +0 -1
- package/dist/attributes/shape/effects/implementations/glass.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/glow.d.ts +7 -47
- package/dist/attributes/shape/effects/implementations/glow.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/glow.js +1 -9
- package/dist/attributes/shape/effects/implementations/glow.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/grain.d.ts +1 -14
- package/dist/attributes/shape/effects/implementations/grain.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/grain.js +0 -1
- package/dist/attributes/shape/effects/implementations/grain.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/grayscale.d.ts +0 -1
- package/dist/attributes/shape/effects/implementations/grayscale.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/grayscale.js +0 -1
- package/dist/attributes/shape/effects/implementations/grayscale.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/halftone.d.ts +5 -29
- package/dist/attributes/shape/effects/implementations/halftone.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/halftone.js +0 -1
- package/dist/attributes/shape/effects/implementations/halftone.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/invert.d.ts +3 -12
- package/dist/attributes/shape/effects/implementations/invert.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/invert.js +0 -1
- package/dist/attributes/shape/effects/implementations/invert.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/kaleidoscope.d.ts +2 -19
- package/dist/attributes/shape/effects/implementations/kaleidoscope.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/kaleidoscope.js +1 -5
- package/dist/attributes/shape/effects/implementations/kaleidoscope.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/lut.d.ts +11 -36
- package/dist/attributes/shape/effects/implementations/lut.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/lut.js +2 -8
- package/dist/attributes/shape/effects/implementations/lut.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/magnify.d.ts +0 -1
- package/dist/attributes/shape/effects/implementations/magnify.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/magnify.js +0 -1
- package/dist/attributes/shape/effects/implementations/magnify.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/motion-blur.d.ts +3 -17
- package/dist/attributes/shape/effects/implementations/motion-blur.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/motion-blur.js +2 -11
- package/dist/attributes/shape/effects/implementations/motion-blur.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/oil-paint.d.ts +1 -12
- package/dist/attributes/shape/effects/implementations/oil-paint.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/oil-paint.js +0 -1
- package/dist/attributes/shape/effects/implementations/oil-paint.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/outline.d.ts +2 -14
- package/dist/attributes/shape/effects/implementations/outline.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/outline.js +0 -1
- package/dist/attributes/shape/effects/implementations/outline.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/pixelate.d.ts +1 -15
- package/dist/attributes/shape/effects/implementations/pixelate.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/pixelate.js +0 -1
- package/dist/attributes/shape/effects/implementations/pixelate.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/posterize.d.ts +1 -10
- package/dist/attributes/shape/effects/implementations/posterize.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/posterize.js +0 -1
- package/dist/attributes/shape/effects/implementations/posterize.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/progressive-blur.d.ts +3 -26
- package/dist/attributes/shape/effects/implementations/progressive-blur.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/progressive-blur.js +1 -2
- package/dist/attributes/shape/effects/implementations/progressive-blur.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/radial-blur.d.ts +2 -16
- package/dist/attributes/shape/effects/implementations/radial-blur.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/radial-blur.js +0 -1
- package/dist/attributes/shape/effects/implementations/radial-blur.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/rgb-shift.d.ts +1 -13
- package/dist/attributes/shape/effects/implementations/rgb-shift.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/rgb-shift.js +0 -1
- package/dist/attributes/shape/effects/implementations/rgb-shift.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/scanlines.d.ts +1 -8
- package/dist/attributes/shape/effects/implementations/scanlines.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/scanlines.js +0 -1
- package/dist/attributes/shape/effects/implementations/scanlines.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/scatter.d.ts +0 -1
- package/dist/attributes/shape/effects/implementations/scatter.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/scatter.js +0 -1
- package/dist/attributes/shape/effects/implementations/scatter.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/shader.d.ts +10 -53
- package/dist/attributes/shape/effects/implementations/shader.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/shader.js +2 -9
- package/dist/attributes/shape/effects/implementations/shader.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/sharpen.d.ts +1 -12
- package/dist/attributes/shape/effects/implementations/sharpen.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/sharpen.js +0 -1
- package/dist/attributes/shape/effects/implementations/sharpen.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/streak.d.ts +1 -8
- package/dist/attributes/shape/effects/implementations/streak.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/streak.js +0 -1
- package/dist/attributes/shape/effects/implementations/streak.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/threshold.d.ts +1 -9
- package/dist/attributes/shape/effects/implementations/threshold.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/threshold.js +0 -1
- package/dist/attributes/shape/effects/implementations/threshold.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/twirl.d.ts +1 -13
- package/dist/attributes/shape/effects/implementations/twirl.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/twirl.js +0 -1
- package/dist/attributes/shape/effects/implementations/twirl.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/vignette.d.ts +1 -9
- package/dist/attributes/shape/effects/implementations/vignette.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/vignette.js +0 -1
- package/dist/attributes/shape/effects/implementations/vignette.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/vintage.d.ts +0 -1
- package/dist/attributes/shape/effects/implementations/vintage.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/vintage.js +0 -1
- package/dist/attributes/shape/effects/implementations/vintage.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/wave.d.ts +3 -24
- package/dist/attributes/shape/effects/implementations/wave.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/wave.js +1 -5
- package/dist/attributes/shape/effects/implementations/wave.js.map +1 -1
- package/dist/attributes/shape/effects/registry.d.ts +6 -41
- package/dist/attributes/shape/effects/registry.d.ts.map +1 -1
- package/dist/attributes/shape/effects/registry.js +7 -45
- package/dist/attributes/shape/effects/registry.js.map +1 -1
- package/dist/attributes/shape/effects/spec.d.ts +6 -30
- package/dist/attributes/shape/effects/spec.d.ts.map +1 -1
- package/dist/attributes/shape/effects/spec.js +3 -9
- package/dist/attributes/shape/effects/spec.js.map +1 -1
- package/dist/attributes/shape/fill/blend.d.ts +1 -17
- package/dist/attributes/shape/fill/blend.d.ts.map +1 -1
- package/dist/attributes/shape/fill/blend.js +2 -15
- package/dist/attributes/shape/fill/blend.js.map +1 -1
- package/dist/attributes/shape/fill/chain.d.ts +17 -125
- package/dist/attributes/shape/fill/chain.d.ts.map +1 -1
- package/dist/attributes/shape/fill/chain.js +22 -109
- package/dist/attributes/shape/fill/chain.js.map +1 -1
- package/dist/attributes/shape/fill/coerce.d.ts +10 -35
- package/dist/attributes/shape/fill/coerce.d.ts.map +1 -1
- package/dist/attributes/shape/fill/coerce.js +12 -47
- package/dist/attributes/shape/fill/coerce.js.map +1 -1
- package/dist/attributes/shape/fill/color/parser.d.ts +10 -44
- package/dist/attributes/shape/fill/color/parser.d.ts.map +1 -1
- package/dist/attributes/shape/fill/color/parser.js +35 -96
- package/dist/attributes/shape/fill/color/parser.js.map +1 -1
- package/dist/attributes/shape/fill/gradient-stops.d.ts +1 -8
- package/dist/attributes/shape/fill/gradient-stops.d.ts.map +1 -1
- package/dist/attributes/shape/fill/gradient-stops.js +2 -13
- package/dist/attributes/shape/fill/gradient-stops.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/canvas3d.d.ts +2 -24
- package/dist/attributes/shape/fill/implementations/canvas3d.d.ts.map +1 -1
- package/dist/attributes/shape/fill/implementations/canvas3d.js +2 -9
- package/dist/attributes/shape/fill/implementations/canvas3d.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/dot-grid.d.ts +1 -14
- package/dist/attributes/shape/fill/implementations/dot-grid.d.ts.map +1 -1
- package/dist/attributes/shape/fill/implementations/dot-grid.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/fractal-noise.d.ts +5 -28
- package/dist/attributes/shape/fill/implementations/fractal-noise.d.ts.map +1 -1
- package/dist/attributes/shape/fill/implementations/fractal-noise.js +0 -1
- package/dist/attributes/shape/fill/implementations/fractal-noise.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/grid.d.ts +8 -21
- package/dist/attributes/shape/fill/implementations/grid.d.ts.map +1 -1
- package/dist/attributes/shape/fill/implementations/grid.js +2 -8
- package/dist/attributes/shape/fill/implementations/grid.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/image.d.ts +13 -79
- package/dist/attributes/shape/fill/implementations/image.d.ts.map +1 -1
- package/dist/attributes/shape/fill/implementations/image.js +6 -23
- package/dist/attributes/shape/fill/implementations/image.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/noise.d.ts +2 -15
- package/dist/attributes/shape/fill/implementations/noise.d.ts.map +1 -1
- package/dist/attributes/shape/fill/implementations/noise.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/shader.d.ts +11 -45
- package/dist/attributes/shape/fill/implementations/shader.d.ts.map +1 -1
- package/dist/attributes/shape/fill/implementations/shader.js +5 -17
- package/dist/attributes/shape/fill/implementations/shader.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/video.d.ts +12 -64
- package/dist/attributes/shape/fill/implementations/video.d.ts.map +1 -1
- package/dist/attributes/shape/fill/implementations/video.js +12 -50
- package/dist/attributes/shape/fill/implementations/video.js.map +1 -1
- package/dist/attributes/shape/fill/lerp.d.ts +2 -13
- package/dist/attributes/shape/fill/lerp.d.ts.map +1 -1
- package/dist/attributes/shape/fill/lerp.js +2 -9
- package/dist/attributes/shape/fill/lerp.js.map +1 -1
- package/dist/attributes/shape/fill/media-preset.d.ts +8 -49
- package/dist/attributes/shape/fill/media-preset.d.ts.map +1 -1
- package/dist/attributes/shape/fill/media-preset.js +8 -35
- package/dist/attributes/shape/fill/media-preset.js.map +1 -1
- package/dist/attributes/shape/fill/registry.d.ts +2 -26
- package/dist/attributes/shape/fill/registry.d.ts.map +1 -1
- package/dist/attributes/shape/fill/registry.js +5 -40
- package/dist/attributes/shape/fill/registry.js.map +1 -1
- package/dist/attributes/shape/fill/union.d.ts +6 -30
- package/dist/attributes/shape/fill/union.d.ts.map +1 -1
- package/dist/attributes/shape/fill/union.js +1 -9
- package/dist/attributes/shape/fill/union.js.map +1 -1
- package/dist/attributes/shape/filters/chain.d.ts +15 -168
- package/dist/attributes/shape/filters/chain.d.ts.map +1 -1
- package/dist/attributes/shape/filters/chain.js +8 -132
- package/dist/attributes/shape/filters/chain.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/color-matrix.d.ts +1 -7
- package/dist/attributes/shape/filters/implementations/color-matrix.d.ts.map +1 -1
- package/dist/attributes/shape/filters/implementations/color-matrix.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/curves.d.ts +1 -7
- package/dist/attributes/shape/filters/implementations/curves.d.ts.map +1 -1
- package/dist/attributes/shape/filters/implementations/curves.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/echo.d.ts +1 -11
- package/dist/attributes/shape/filters/implementations/echo.d.ts.map +1 -1
- package/dist/attributes/shape/filters/implementations/echo.js.map +1 -1
- package/dist/attributes/shape/filters/index.d.ts +1 -6
- package/dist/attributes/shape/filters/index.d.ts.map +1 -1
- package/dist/attributes/shape/filters/index.js +0 -2
- package/dist/attributes/shape/filters/index.js.map +1 -1
- package/dist/attributes/shape/filters/registry.d.ts +5 -35
- package/dist/attributes/shape/filters/registry.d.ts.map +1 -1
- package/dist/attributes/shape/filters/registry.js +7 -50
- package/dist/attributes/shape/filters/registry.js.map +1 -1
- package/dist/attributes/shape/filters/union.d.ts +10 -51
- package/dist/attributes/shape/filters/union.d.ts.map +1 -1
- package/dist/attributes/shape/filters/union.js.map +1 -1
- package/dist/attributes/shape/path/anchors.d.ts +18 -106
- package/dist/attributes/shape/path/anchors.d.ts.map +1 -1
- package/dist/attributes/shape/path/anchors.js +15 -124
- package/dist/attributes/shape/path/anchors.js.map +1 -1
- package/dist/attributes/shape/path/bezier.d.ts +6 -54
- package/dist/attributes/shape/path/bezier.d.ts.map +1 -1
- package/dist/attributes/shape/path/bezier.js +10 -98
- package/dist/attributes/shape/path/bezier.js.map +1 -1
- package/dist/attributes/shape/path/index.d.ts +1 -11
- package/dist/attributes/shape/path/index.d.ts.map +1 -1
- package/dist/attributes/shape/path/index.js +1 -11
- package/dist/attributes/shape/path/index.js.map +1 -1
- package/dist/attributes/shape/path/measure.d.ts +5 -41
- package/dist/attributes/shape/path/measure.d.ts.map +1 -1
- package/dist/attributes/shape/path/measure.js +8 -57
- package/dist/attributes/shape/path/measure.js.map +1 -1
- package/dist/attributes/shape/path/morph.d.ts +4 -41
- package/dist/attributes/shape/path/morph.d.ts.map +1 -1
- package/dist/attributes/shape/path/morph.js +17 -117
- package/dist/attributes/shape/path/morph.js.map +1 -1
- package/dist/attributes/shape/path/ops.d.ts +5 -19
- package/dist/attributes/shape/path/ops.d.ts.map +1 -1
- package/dist/attributes/shape/path/ops.js.map +1 -1
- package/dist/attributes/shape/path/types.d.ts +10 -67
- package/dist/attributes/shape/path/types.d.ts.map +1 -1
- package/dist/attributes/shape/path/types.js +0 -1
- package/dist/attributes/shape/path/types.js.map +1 -1
- package/dist/attributes/shape/path/walk.d.ts +9 -63
- package/dist/attributes/shape/path/walk.d.ts.map +1 -1
- package/dist/attributes/shape/path/walk.js +21 -100
- package/dist/attributes/shape/path/walk.js.map +1 -1
- package/dist/attributes/shape/shaders/language.d.ts +2 -14
- package/dist/attributes/shape/shaders/language.d.ts.map +1 -1
- package/dist/attributes/shape/shaders/language.js +1 -8
- package/dist/attributes/shape/shaders/language.js.map +1 -1
- package/dist/attributes/shape/shaders/pack.d.ts +13 -78
- package/dist/attributes/shape/shaders/pack.d.ts.map +1 -1
- package/dist/attributes/shape/shaders/pack.js +1 -10
- package/dist/attributes/shape/shaders/pack.js.map +1 -1
- package/dist/attributes/shape/shaders/resolve.d.ts +1 -11
- package/dist/attributes/shape/shaders/resolve.d.ts.map +1 -1
- package/dist/attributes/shape/shaders/resolve.js +3 -28
- package/dist/attributes/shape/shaders/resolve.js.map +1 -1
- package/dist/attributes/shape/shaders/uniforms.d.ts +3 -24
- package/dist/attributes/shape/shaders/uniforms.d.ts.map +1 -1
- package/dist/attributes/shape/shaders/uniforms.js +0 -0
- package/dist/attributes/shape/shaders/uniforms.js.map +1 -1
- package/dist/attributes/shape/shadow/shadow.d.ts +3 -20
- package/dist/attributes/shape/shadow/shadow.d.ts.map +1 -1
- package/dist/attributes/shape/shadow/shadow.js +0 -3
- package/dist/attributes/shape/shadow/shadow.js.map +1 -1
- package/dist/attributes/shape/stroke/stroke.d.ts +9 -58
- package/dist/attributes/shape/stroke/stroke.d.ts.map +1 -1
- package/dist/attributes/shape/stroke/stroke.js +0 -6
- package/dist/attributes/shape/stroke/stroke.js.map +1 -1
- package/dist/attributes/shared/operators.d.ts +1 -8
- package/dist/attributes/shared/operators.d.ts.map +1 -1
- package/dist/attributes/shared/operators.js.map +1 -1
- package/dist/attributes/text/index.d.ts +1 -11
- package/dist/attributes/text/index.d.ts.map +1 -1
- package/dist/attributes/text/index.js +1 -11
- package/dist/attributes/text/index.js.map +1 -1
- package/dist/attributes/text/ops.d.ts +4 -30
- package/dist/attributes/text/ops.d.ts.map +1 -1
- package/dist/attributes/text/ops.js +7 -23
- package/dist/attributes/text/ops.js.map +1 -1
- package/dist/attributes/text/types.d.ts +5 -28
- package/dist/attributes/text/types.d.ts.map +1 -1
- package/dist/attributes/text/types.js.map +1 -1
- package/dist/browser/chunks/chunk-3ZIUZZC7.js +13 -0
- package/dist/browser/chunks/chunk-3ZIUZZC7.js.map +7 -0
- package/dist/browser/chunks/chunk-5TDMGUXQ.js +3 -0
- package/dist/browser/chunks/chunk-5TDMGUXQ.js.map +7 -0
- package/dist/browser/chunks/chunk-7YOYMMXK.js +6 -0
- package/dist/browser/chunks/chunk-7YOYMMXK.js.map +7 -0
- package/dist/browser/chunks/{chunk-4BDLFEOC.js → chunk-GEJEQQER.js} +1 -1
- package/dist/browser/chunks/chunk-GEJEQQER.js.map +7 -0
- package/dist/browser/component.js +1 -1
- package/dist/browser/experimental.js +1 -1
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +4 -4
- package/dist/browser/manifest.json +1 -1
- package/dist/browser/sdk.js +1 -1
- package/dist/component.d.ts +3 -10
- package/dist/component.d.ts.map +1 -1
- package/dist/component.js +3 -10
- package/dist/component.js.map +1 -1
- package/dist/components/builtins/geometry/geometry.d.ts +15 -62
- package/dist/components/builtins/geometry/geometry.d.ts.map +1 -1
- package/dist/components/builtins/geometry/geometry.js.map +1 -1
- package/dist/components/builtins/geometry/shape-outline.d.ts +12 -61
- package/dist/components/builtins/geometry/shape-outline.d.ts.map +1 -1
- package/dist/components/builtins/geometry/shape-outline.js +29 -168
- package/dist/components/builtins/geometry/shape-outline.js.map +1 -1
- package/dist/components/builtins/layout/layout.d.ts +1 -14
- package/dist/components/builtins/layout/layout.d.ts.map +1 -1
- package/dist/components/builtins/layout/layout.js.map +1 -1
- package/dist/components/builtins/media/media.d.ts +11 -51
- package/dist/components/builtins/media/media.d.ts.map +1 -1
- package/dist/components/builtins/media/media.js +3 -7
- package/dist/components/builtins/media/media.js.map +1 -1
- package/dist/components/builtins/text/number-format.d.ts +14 -47
- package/dist/components/builtins/text/number-format.d.ts.map +1 -1
- package/dist/components/builtins/text/number-format.js +19 -69
- package/dist/components/builtins/text/number-format.js.map +1 -1
- package/dist/components/builtins/text/number-pattern.d.ts +3 -37
- package/dist/components/builtins/text/number-pattern.d.ts.map +1 -1
- package/dist/components/builtins/text/number-pattern.js +6 -48
- package/dist/components/builtins/text/number-pattern.js.map +1 -1
- package/dist/components/builtins/text/text-defaults.d.ts +7 -25
- package/dist/components/builtins/text/text-defaults.d.ts.map +1 -1
- package/dist/components/builtins/text/text-defaults.js +7 -25
- package/dist/components/builtins/text/text-defaults.js.map +1 -1
- package/dist/components/builtins/text/text-layout.d.ts +2 -11
- package/dist/components/builtins/text/text-layout.d.ts.map +1 -1
- package/dist/components/builtins/text/text-layout.js +7 -22
- package/dist/components/builtins/text/text-layout.js.map +1 -1
- package/dist/components/builtins/text/text.d.ts +8 -46
- package/dist/components/builtins/text/text.d.ts.map +1 -1
- package/dist/components/builtins/text/text.js.map +1 -1
- package/dist/components/builtins/three/canvas3d.d.ts +6 -51
- package/dist/components/builtins/three/canvas3d.d.ts.map +1 -1
- package/dist/components/builtins/three/canvas3d.js.map +1 -1
- package/dist/components/builtins/three/grid-geometry3d.d.ts +3 -39
- package/dist/components/builtins/three/grid-geometry3d.d.ts.map +1 -1
- package/dist/components/builtins/three/grid-geometry3d.js +8 -46
- package/dist/components/builtins/three/grid-geometry3d.js.map +1 -1
- package/dist/components/builtins/three/three.d.ts +22 -117
- package/dist/components/builtins/three/three.d.ts.map +1 -1
- package/dist/components/builtins/three/three.js +5 -17
- package/dist/components/builtins/three/three.js.map +1 -1
- package/dist/components/factory/api.d.ts.map +1 -1
- package/dist/components/factory/api.js.map +1 -1
- package/dist/components/factory/views.d.ts.map +1 -1
- package/dist/components/factory/views.js +41 -3
- package/dist/components/factory/views.js.map +1 -1
- package/dist/components/trees/2d/group-bounds.d.ts +12 -41
- package/dist/components/trees/2d/group-bounds.d.ts.map +1 -1
- package/dist/components/trees/2d/group-bounds.js +3 -22
- package/dist/components/trees/2d/group-bounds.js.map +1 -1
- package/dist/components/trees/2d/node-lifecycle.d.ts +8 -36
- package/dist/components/trees/2d/node-lifecycle.d.ts.map +1 -1
- package/dist/components/trees/2d/node-lifecycle.js +35 -127
- package/dist/components/trees/2d/node-lifecycle.js.map +1 -1
- package/dist/components/trees/2d/node-motion.d.ts +4 -36
- package/dist/components/trees/2d/node-motion.d.ts.map +1 -1
- package/dist/components/trees/2d/node-motion.js +3 -31
- package/dist/components/trees/2d/node-motion.js.map +1 -1
- package/dist/components/trees/2d/node-render.d.ts +3 -20
- package/dist/components/trees/2d/node-render.d.ts.map +1 -1
- package/dist/components/trees/2d/node-render.js +4 -23
- package/dist/components/trees/2d/node-render.js.map +1 -1
- package/dist/components/trees/2d/node-space.d.ts +4 -23
- package/dist/components/trees/2d/node-space.d.ts.map +1 -1
- package/dist/components/trees/2d/node-space.js +3 -17
- package/dist/components/trees/2d/node-space.js.map +1 -1
- package/dist/components/trees/2d/node-transform.d.ts +4 -33
- package/dist/components/trees/2d/node-transform.d.ts.map +1 -1
- package/dist/components/trees/2d/node-transform.js +4 -33
- package/dist/components/trees/2d/node-transform.js.map +1 -1
- package/dist/components/trees/2d/node2d.d.ts +112 -622
- package/dist/components/trees/2d/node2d.d.ts.map +1 -1
- package/dist/components/trees/2d/node2d.js +131 -605
- package/dist/components/trees/2d/node2d.js.map +1 -1
- package/dist/components/trees/audio/node-audio.d.ts +17 -65
- package/dist/components/trees/audio/node-audio.d.ts.map +1 -1
- package/dist/components/trees/audio/node-audio.js +18 -68
- package/dist/components/trees/audio/node-audio.js.map +1 -1
- package/dist/components/trees/node/node-editor-state.d.ts +5 -45
- package/dist/components/trees/node/node-editor-state.d.ts.map +1 -1
- package/dist/components/trees/node/node-editor-state.js +1 -13
- package/dist/components/trees/node/node-editor-state.js.map +1 -1
- package/dist/components/trees/node/node-reactive.d.ts +6 -54
- package/dist/components/trees/node/node-reactive.d.ts.map +1 -1
- package/dist/components/trees/node/node-reactive.js +13 -39
- package/dist/components/trees/node/node-reactive.js.map +1 -1
- package/dist/components/trees/node/node-time.d.ts +2 -15
- package/dist/components/trees/node/node-time.d.ts.map +1 -1
- package/dist/components/trees/node/node-time.js.map +1 -1
- package/dist/components/trees/node/node-walk.d.ts +7 -32
- package/dist/components/trees/node/node-walk.d.ts.map +1 -1
- package/dist/components/trees/node/node-walk.js +7 -32
- package/dist/components/trees/node/node-walk.js.map +1 -1
- package/dist/components/trees/node/node.d.ts +43 -248
- package/dist/components/trees/node/node.d.ts.map +1 -1
- package/dist/components/trees/node/node.js +51 -229
- package/dist/components/trees/node/node.js.map +1 -1
- package/dist/components/trees/root/canvas2d-node.d.ts +7 -60
- package/dist/components/trees/root/canvas2d-node.d.ts.map +1 -1
- package/dist/components/trees/root/canvas2d-node.js +7 -47
- package/dist/components/trees/root/canvas2d-node.js.map +1 -1
- package/dist/components/trees/three/node3d.d.ts +24 -112
- package/dist/components/trees/three/node3d.d.ts.map +1 -1
- package/dist/components/trees/three/node3d.js +22 -104
- package/dist/components/trees/three/node3d.js.map +1 -1
- package/dist/document/audio.d.ts +9 -21
- package/dist/document/audio.d.ts.map +1 -1
- package/dist/document/audio.js +13 -28
- package/dist/document/audio.js.map +1 -1
- package/dist/document/builtins.d.ts +3 -9
- package/dist/document/builtins.d.ts.map +1 -1
- package/dist/document/builtins.js +43 -89
- package/dist/document/builtins.js.map +1 -1
- package/dist/document/command-traits.d.ts +15 -30
- package/dist/document/command-traits.d.ts.map +1 -1
- package/dist/document/command-traits.js +31 -31
- package/dist/document/command-traits.js.map +1 -1
- package/dist/document/deny-globals.d.ts +9 -43
- package/dist/document/deny-globals.d.ts.map +1 -1
- package/dist/document/deny-globals.js +18 -58
- package/dist/document/deny-globals.js.map +1 -1
- package/dist/document/diff.d.ts +6 -16
- package/dist/document/diff.d.ts.map +1 -1
- package/dist/document/diff.js +5 -11
- package/dist/document/diff.js.map +1 -1
- package/dist/document/doc-index.d.ts +5 -13
- package/dist/document/doc-index.d.ts.map +1 -1
- package/dist/document/doc-index.js +0 -2
- package/dist/document/doc-index.js.map +1 -1
- package/dist/document/expression/compile.d.ts +2 -2
- package/dist/document/expression/compile.d.ts.map +1 -1
- package/dist/document/expression/compile.js +8 -18
- package/dist/document/expression/compile.js.map +1 -1
- package/dist/document/expression/index.d.ts +11 -41
- package/dist/document/expression/index.d.ts.map +1 -1
- package/dist/document/expression/index.js +11 -41
- package/dist/document/expression/index.js.map +1 -1
- package/dist/document/expression/ops.d.ts +3 -12
- package/dist/document/expression/ops.d.ts.map +1 -1
- package/dist/document/expression/ops.js +4 -20
- package/dist/document/expression/ops.js.map +1 -1
- package/dist/document/expression/parse.d.ts +4 -14
- package/dist/document/expression/parse.d.ts.map +1 -1
- package/dist/document/expression/parse.js +34 -55
- package/dist/document/expression/parse.js.map +1 -1
- package/dist/document/expression/refs.d.ts +2 -8
- package/dist/document/expression/refs.d.ts.map +1 -1
- package/dist/document/expression/refs.js +2 -6
- package/dist/document/expression/refs.js.map +1 -1
- package/dist/document/expression/types.d.ts +18 -63
- package/dist/document/expression/types.d.ts.map +1 -1
- package/dist/document/expression/types.js +4 -15
- package/dist/document/expression/types.js.map +1 -1
- package/dist/document/expression/walk.d.ts +6 -20
- package/dist/document/expression/walk.d.ts.map +1 -1
- package/dist/document/expression/walk.js +18 -44
- package/dist/document/expression/walk.js.map +1 -1
- package/dist/document/index.js +2 -3
- package/dist/document/index.js.map +1 -1
- package/dist/document/migrate.d.ts +7 -22
- package/dist/document/migrate.d.ts.map +1 -1
- package/dist/document/migrate.js +44 -15
- package/dist/document/migrate.js.map +1 -1
- package/dist/document/missing-node.d.ts +4 -11
- package/dist/document/missing-node.d.ts.map +1 -1
- package/dist/document/missing-node.js +2 -5
- package/dist/document/missing-node.js.map +1 -1
- package/dist/document/node-decorator.d.ts +12 -53
- package/dist/document/node-decorator.d.ts.map +1 -1
- package/dist/document/node-decorator.js +16 -57
- package/dist/document/node-decorator.js.map +1 -1
- package/dist/document/node-descriptor.d.ts +25 -62
- package/dist/document/node-descriptor.d.ts.map +1 -1
- package/dist/document/node-descriptor.js.map +1 -1
- package/dist/document/placement.d.ts +18 -41
- package/dist/document/placement.d.ts.map +1 -1
- package/dist/document/placement.js +4 -11
- package/dist/document/placement.js.map +1 -1
- package/dist/document/project.d.ts +19 -52
- package/dist/document/project.d.ts.map +1 -1
- package/dist/document/project.js +2 -6
- package/dist/document/project.js.map +1 -1
- package/dist/document/prop-evolution.d.ts +10 -20
- package/dist/document/prop-evolution.d.ts.map +1 -1
- package/dist/document/prop-evolution.js +3 -7
- package/dist/document/prop-evolution.js.map +1 -1
- package/dist/document/registry.d.ts +80 -318
- package/dist/document/registry.d.ts.map +1 -1
- package/dist/document/registry.js +43 -147
- package/dist/document/registry.js.map +1 -1
- package/dist/document/settled-index.d.ts +12 -18
- package/dist/document/settled-index.d.ts.map +1 -1
- package/dist/document/settled-index.js +29 -31
- package/dist/document/settled-index.js.map +1 -1
- package/dist/document/timeline-patch.d.ts +6 -15
- package/dist/document/timeline-patch.d.ts.map +1 -1
- package/dist/document/timeline-patch.js +12 -21
- package/dist/document/timeline-patch.js.map +1 -1
- package/dist/document/timeline.d.ts +56 -263
- package/dist/document/timeline.d.ts.map +1 -1
- package/dist/document/timeline.js +97 -281
- package/dist/document/timeline.js.map +1 -1
- package/dist/document/types.d.ts +90 -264
- package/dist/document/types.d.ts.map +1 -1
- package/dist/document/types.js +13 -30
- package/dist/document/types.js.map +1 -1
- package/dist/document/validate.d.ts +10 -40
- package/dist/document/validate.d.ts.map +1 -1
- package/dist/document/validate.js +72 -137
- package/dist/document/validate.js.map +1 -1
- package/dist/document/vocabulary.d.ts +4 -7
- package/dist/document/vocabulary.d.ts.map +1 -1
- package/dist/document/vocabulary.js +0 -1
- package/dist/document/vocabulary.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/layout/bounds.d.ts +1 -11
- package/dist/layout/bounds.d.ts.map +1 -1
- package/dist/layout/bounds.js.map +1 -1
- package/dist/layout/flex.d.ts +6 -20
- package/dist/layout/flex.d.ts.map +1 -1
- package/dist/layout/flex.js +7 -28
- package/dist/layout/flex.js.map +1 -1
- package/dist/layout/ops.d.ts +2 -11
- package/dist/layout/ops.d.ts.map +1 -1
- package/dist/layout/ops.js +2 -22
- package/dist/layout/ops.js.map +1 -1
- package/dist/layout/types.d.ts +11 -55
- package/dist/layout/types.d.ts.map +1 -1
- package/dist/layout/types.js.map +1 -1
- package/dist/platform/audio-sink.d.ts +7 -43
- package/dist/platform/audio-sink.d.ts.map +1 -1
- package/dist/platform/audio-sink.js +4 -29
- package/dist/platform/audio-sink.js.map +1 -1
- package/dist/platform/exporter.d.ts +5 -31
- package/dist/platform/exporter.d.ts.map +1 -1
- package/dist/platform/exporter.js.map +1 -1
- package/dist/platform/stepped-clock.d.ts +1 -16
- package/dist/platform/stepped-clock.d.ts.map +1 -1
- package/dist/platform/stepped-clock.js +1 -16
- package/dist/platform/stepped-clock.js.map +1 -1
- package/dist/platform/storage-adapter.d.ts +8 -68
- package/dist/platform/storage-adapter.d.ts.map +1 -1
- package/dist/platform/storage-adapter.js +8 -60
- package/dist/platform/storage-adapter.js.map +1 -1
- package/dist/platform/ticker.d.ts +11 -45
- package/dist/platform/ticker.d.ts.map +1 -1
- package/dist/platform/ticker.js +10 -37
- package/dist/platform/ticker.js.map +1 -1
- package/dist/project/config.d.ts +4 -14
- package/dist/project/config.d.ts.map +1 -1
- package/dist/project/config.js.map +1 -1
- package/dist/project/tree.d.ts +6 -35
- package/dist/project/tree.d.ts.map +1 -1
- package/dist/project/tree.js +1 -8
- package/dist/project/tree.js.map +1 -1
- package/dist/props/host.d.ts +7 -13
- package/dist/props/host.d.ts.map +1 -1
- package/dist/props/host.js +3 -1
- package/dist/props/host.js.map +1 -1
- package/dist/props/layout.d.ts +18 -0
- package/dist/props/layout.d.ts.map +1 -0
- package/dist/props/layout.js +73 -0
- package/dist/props/layout.js.map +1 -0
- package/dist/props/observer.d.ts +1 -7
- package/dist/props/observer.d.ts.map +1 -1
- package/dist/props/observer.js.map +1 -1
- package/dist/props/slot.d.ts +6 -19
- package/dist/props/slot.d.ts.map +1 -1
- package/dist/props/slot.js +5 -14
- package/dist/props/slot.js.map +1 -1
- package/dist/render/canvas-render-context2d.d.ts +8 -68
- package/dist/render/canvas-render-context2d.d.ts.map +1 -1
- package/dist/render/canvas-render-context2d.js +8 -69
- package/dist/render/canvas-render-context2d.js.map +1 -1
- package/dist/render/clip-contains.d.ts +2 -16
- package/dist/render/clip-contains.d.ts.map +1 -1
- package/dist/render/clip-contains.js +21 -82
- package/dist/render/clip-contains.js.map +1 -1
- package/dist/render/clip.d.ts +7 -25
- package/dist/render/clip.d.ts.map +1 -1
- package/dist/render/clip.js +5 -17
- package/dist/render/clip.js.map +1 -1
- package/dist/render/descriptors/ellipse.d.ts.map +1 -1
- package/dist/render/descriptors/ellipse.js +0 -1
- package/dist/render/descriptors/ellipse.js.map +1 -1
- package/dist/render/descriptors/line.d.ts.map +1 -1
- package/dist/render/descriptors/line.js +0 -1
- package/dist/render/descriptors/line.js.map +1 -1
- package/dist/render/descriptors/path-builder.d.ts +4 -32
- package/dist/render/descriptors/path-builder.d.ts.map +1 -1
- package/dist/render/descriptors/path-builder.js +3 -25
- package/dist/render/descriptors/path-builder.js.map +1 -1
- package/dist/render/descriptors/path.d.ts +1 -11
- package/dist/render/descriptors/path.d.ts.map +1 -1
- package/dist/render/descriptors/path.js +0 -1
- package/dist/render/descriptors/path.js.map +1 -1
- package/dist/render/descriptors/polygon.d.ts.map +1 -1
- package/dist/render/descriptors/polygon.js +0 -1
- package/dist/render/descriptors/polygon.js.map +1 -1
- package/dist/render/descriptors/polygram.d.ts.map +1 -1
- package/dist/render/descriptors/polygram.js +0 -1
- package/dist/render/descriptors/polygram.js.map +1 -1
- package/dist/render/descriptors/rect.d.ts.map +1 -1
- package/dist/render/descriptors/rect.js +0 -1
- package/dist/render/descriptors/rect.js.map +1 -1
- package/dist/render/descriptors/richtext.d.ts.map +1 -1
- package/dist/render/descriptors/richtext.js +0 -1
- package/dist/render/descriptors/richtext.js.map +1 -1
- package/dist/render/descriptors/shape.d.ts +17 -77
- package/dist/render/descriptors/shape.d.ts.map +1 -1
- package/dist/render/descriptors/shape.js +13 -47
- package/dist/render/descriptors/shape.js.map +1 -1
- package/dist/render/descriptors/text.d.ts +15 -94
- package/dist/render/descriptors/text.d.ts.map +1 -1
- package/dist/render/descriptors/text.js +8 -50
- package/dist/render/descriptors/text.js.map +1 -1
- package/dist/render/descriptors/transform.d.ts +5 -16
- package/dist/render/descriptors/transform.d.ts.map +1 -1
- package/dist/render/descriptors/transform.js +1 -17
- package/dist/render/descriptors/transform.js.map +1 -1
- package/dist/render/graphics2d.d.ts +24 -116
- package/dist/render/graphics2d.d.ts.map +1 -1
- package/dist/render/graphics2d.js +23 -108
- package/dist/render/graphics2d.js.map +1 -1
- package/dist/render/measure-context.d.ts +5 -29
- package/dist/render/measure-context.d.ts.map +1 -1
- package/dist/render/measure-context.js.map +1 -1
- package/dist/render/null-render-context.d.ts +2 -20
- package/dist/render/null-render-context.d.ts.map +1 -1
- package/dist/render/null-render-context.js +2 -20
- package/dist/render/null-render-context.js.map +1 -1
- package/dist/render/render-context2d.d.ts +52 -208
- package/dist/render/render-context2d.d.ts.map +1 -1
- package/dist/render/render-context2d.js.map +1 -1
- package/dist/render/surface.d.ts +2 -19
- package/dist/render/surface.d.ts.map +1 -1
- package/dist/render/surface.js.map +1 -1
- package/dist/render/text-defaults.d.ts +1 -17
- package/dist/render/text-defaults.d.ts.map +1 -1
- package/dist/render/text-defaults.js +6 -40
- package/dist/render/text-defaults.js.map +1 -1
- package/dist/render/text-layout.d.ts +12 -55
- package/dist/render/text-layout.d.ts.map +1 -1
- package/dist/render/text-layout.js +2 -16
- package/dist/render/text-layout.js.map +1 -1
- package/dist/render3d/bounds3d.d.ts +10 -32
- package/dist/render3d/bounds3d.d.ts.map +1 -1
- package/dist/render3d/bounds3d.js +2 -12
- package/dist/render3d/bounds3d.js.map +1 -1
- package/dist/render3d/builders.d.ts +8 -35
- package/dist/render3d/builders.d.ts.map +1 -1
- package/dist/render3d/builders.js +8 -35
- package/dist/render3d/builders.js.map +1 -1
- package/dist/render3d/camera.d.ts +10 -57
- package/dist/render3d/camera.d.ts.map +1 -1
- package/dist/render3d/camera.js +4 -26
- package/dist/render3d/camera.js.map +1 -1
- package/dist/render3d/fill3d.d.ts +7 -45
- package/dist/render3d/fill3d.d.ts.map +1 -1
- package/dist/render3d/fill3d.js +15 -85
- package/dist/render3d/fill3d.js.map +1 -1
- package/dist/render3d/geometry.d.ts +18 -106
- package/dist/render3d/geometry.d.ts.map +1 -1
- package/dist/render3d/geometry.js +2 -20
- package/dist/render3d/geometry.js.map +1 -1
- package/dist/render3d/graphics3d.d.ts +29 -133
- package/dist/render3d/graphics3d.d.ts.map +1 -1
- package/dist/render3d/graphics3d.js +23 -110
- package/dist/render3d/graphics3d.js.map +1 -1
- package/dist/render3d/index.d.ts +1 -16
- package/dist/render3d/index.d.ts.map +1 -1
- package/dist/render3d/index.js +1 -16
- package/dist/render3d/index.js.map +1 -1
- package/dist/render3d/inert.d.ts.map +1 -1
- package/dist/render3d/inert.js +1 -14
- package/dist/render3d/inert.js.map +1 -1
- package/dist/render3d/light.d.ts +3 -26
- package/dist/render3d/light.d.ts.map +1 -1
- package/dist/render3d/light.js.map +1 -1
- package/dist/render3d/material.d.ts +13 -87
- package/dist/render3d/material.d.ts.map +1 -1
- package/dist/render3d/material.js +2 -16
- package/dist/render3d/material.js.map +1 -1
- package/dist/render3d/matrix4.d.ts +14 -68
- package/dist/render3d/matrix4.d.ts.map +1 -1
- package/dist/render3d/matrix4.js +11 -60
- package/dist/render3d/matrix4.js.map +1 -1
- package/dist/render3d/render-context3d.d.ts +13 -51
- package/dist/render3d/render-context3d.d.ts.map +1 -1
- package/dist/render3d/render-context3d.js +9 -21
- package/dist/render3d/render-context3d.js.map +1 -1
- package/dist/render3d/resources.d.ts +9 -53
- package/dist/render3d/resources.d.ts.map +1 -1
- package/dist/render3d/resources.js +8 -48
- package/dist/render3d/resources.js.map +1 -1
- package/dist/render3d/rounded-box.d.ts +7 -21
- package/dist/render3d/rounded-box.d.ts.map +1 -1
- package/dist/render3d/rounded-box.js +7 -46
- package/dist/render3d/rounded-box.js.map +1 -1
- package/dist/render3d/scene-settings.d.ts +20 -78
- package/dist/render3d/scene-settings.d.ts.map +1 -1
- package/dist/render3d/scene-settings.js.map +1 -1
- package/dist/render3d/scene3d.d.ts +11 -53
- package/dist/render3d/scene3d.d.ts.map +1 -1
- package/dist/render3d/scene3d.js +12 -59
- package/dist/render3d/scene3d.js.map +1 -1
- package/dist/render3d/segments.d.ts +2 -25
- package/dist/render3d/segments.d.ts.map +1 -1
- package/dist/render3d/segments.js +1 -11
- package/dist/render3d/segments.js.map +1 -1
- package/dist/render3d/texture.d.ts +25 -112
- package/dist/render3d/texture.d.ts.map +1 -1
- package/dist/render3d/texture.js +3 -27
- package/dist/render3d/texture.js.map +1 -1
- package/dist/render3d/tracking.d.ts +2 -19
- package/dist/render3d/tracking.d.ts.map +1 -1
- package/dist/render3d/tracking.js +2 -19
- package/dist/render3d/tracking.js.map +1 -1
- package/dist/render3d/transform.d.ts +14 -60
- package/dist/render3d/transform.d.ts.map +1 -1
- package/dist/render3d/transform.js +0 -2
- package/dist/render3d/transform.js.map +1 -1
- package/dist/render3d/vector3.d.ts +6 -48
- package/dist/render3d/vector3.d.ts.map +1 -1
- package/dist/render3d/vector3.js +4 -38
- package/dist/render3d/vector3.js.map +1 -1
- package/dist/render3d/walk.d.ts +3 -27
- package/dist/render3d/walk.d.ts.map +1 -1
- package/dist/render3d/walk.js +5 -33
- package/dist/render3d/walk.js.map +1 -1
- package/dist/runtime/asset-refine.d.ts +34 -20
- package/dist/runtime/asset-refine.d.ts.map +1 -1
- package/dist/runtime/asset-refine.js +127 -31
- package/dist/runtime/asset-refine.js.map +1 -1
- package/dist/runtime/asset-timeline.d.ts +14 -53
- package/dist/runtime/asset-timeline.d.ts.map +1 -1
- package/dist/runtime/asset-timeline.js +6 -27
- package/dist/runtime/asset-timeline.js.map +1 -1
- package/dist/runtime/asset-update.d.ts +7 -26
- package/dist/runtime/asset-update.d.ts.map +1 -1
- package/dist/runtime/asset-update.js +6 -18
- package/dist/runtime/asset-update.js.map +1 -1
- package/dist/runtime/audio-index.d.ts +0 -2
- package/dist/runtime/audio-index.d.ts.map +1 -1
- package/dist/runtime/audio-index.js +0 -2
- package/dist/runtime/audio-index.js.map +1 -1
- package/dist/runtime/builtin-context.d.ts +3 -9
- package/dist/runtime/builtin-context.d.ts.map +1 -1
- package/dist/runtime/builtin-context.js +3 -9
- package/dist/runtime/builtin-context.js.map +1 -1
- package/dist/runtime/clip-instance.d.ts +12 -39
- package/dist/runtime/clip-instance.d.ts.map +1 -1
- package/dist/runtime/clip-instance.js +21 -45
- package/dist/runtime/clip-instance.js.map +1 -1
- package/dist/runtime/clip-store.d.ts +26 -68
- package/dist/runtime/clip-store.d.ts.map +1 -1
- package/dist/runtime/clip-store.js +47 -81
- package/dist/runtime/clip-store.js.map +1 -1
- package/dist/runtime/engine.d.ts +31 -85
- package/dist/runtime/engine.d.ts.map +1 -1
- package/dist/runtime/engine.js +16 -49
- package/dist/runtime/engine.js.map +1 -1
- package/dist/runtime/frame-time.d.ts +4 -15
- package/dist/runtime/frame-time.d.ts.map +1 -1
- package/dist/runtime/frame-time.js +5 -12
- package/dist/runtime/frame-time.js.map +1 -1
- package/dist/runtime/index.d.ts +0 -1
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +0 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/node-picking.d.ts +59 -139
- package/dist/runtime/node-picking.d.ts.map +1 -1
- package/dist/runtime/node-picking.js +87 -157
- package/dist/runtime/node-picking.js.map +1 -1
- package/dist/runtime/node-picking3d.d.ts +39 -96
- package/dist/runtime/node-picking3d.d.ts.map +1 -1
- package/dist/runtime/node-picking3d.js +98 -141
- package/dist/runtime/node-picking3d.js.map +1 -1
- package/dist/runtime/placement.d.ts +8 -17
- package/dist/runtime/placement.d.ts.map +1 -1
- package/dist/runtime/placement.js +7 -16
- package/dist/runtime/placement.js.map +1 -1
- package/dist/runtime/playback-controller.d.ts +78 -207
- package/dist/runtime/playback-controller.d.ts.map +1 -1
- package/dist/runtime/playback-controller.js +111 -226
- package/dist/runtime/playback-controller.js.map +1 -1
- package/dist/runtime/playback.d.ts +6 -14
- package/dist/runtime/playback.d.ts.map +1 -1
- package/dist/runtime/playback.js +6 -14
- package/dist/runtime/playback.js.map +1 -1
- package/dist/runtime/project-assets.d.ts +6 -14
- package/dist/runtime/project-assets.d.ts.map +1 -1
- package/dist/runtime/project-assets.js +7 -16
- package/dist/runtime/project-assets.js.map +1 -1
- package/dist/runtime/session.d.ts +22 -45
- package/dist/runtime/session.d.ts.map +1 -1
- package/dist/runtime/session.js +26 -46
- package/dist/runtime/session.js.map +1 -1
- package/dist/runtime/settle.d.ts +4 -10
- package/dist/runtime/settle.d.ts.map +1 -1
- package/dist/runtime/settle.js +4 -10
- package/dist/runtime/settle.js.map +1 -1
- package/dist/runtime/state-evaluator.d.ts +15 -37
- package/dist/runtime/state-evaluator.d.ts.map +1 -1
- package/dist/runtime/state-evaluator.js +27 -44
- package/dist/runtime/state-evaluator.js.map +1 -1
- package/dist/runtime/text-geometry.d.ts +18 -47
- package/dist/runtime/text-geometry.d.ts.map +1 -1
- package/dist/runtime/text-geometry.js +13 -27
- package/dist/runtime/text-geometry.js.map +1 -1
- package/dist/sdk/index.d.ts +1 -7
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +30 -138
- package/dist/sdk/index.js.map +1 -1
- package/dist/tween/command-decorator.d.ts +6 -26
- package/dist/tween/command-decorator.d.ts.map +1 -1
- package/dist/tween/command-decorator.js +1 -6
- package/dist/tween/command-decorator.js.map +1 -1
- package/dist/tween/command.d.ts +6 -53
- package/dist/tween/command.d.ts.map +1 -1
- package/dist/tween/command.js +5 -40
- package/dist/tween/command.js.map +1 -1
- package/dist/tween/ease/curve.d.ts +2 -17
- package/dist/tween/ease/curve.d.ts.map +1 -1
- package/dist/tween/ease/curve.js +1 -6
- package/dist/tween/ease/curve.js.map +1 -1
- package/dist/tween/ease/describe.d.ts +0 -11
- package/dist/tween/ease/describe.d.ts.map +1 -1
- package/dist/tween/ease/describe.js +0 -23
- package/dist/tween/ease/describe.js.map +1 -1
- package/dist/tween/ease/spec.d.ts +2 -18
- package/dist/tween/ease/spec.d.ts.map +1 -1
- package/dist/tween/ease/spec.js.map +1 -1
- package/dist/tween/inert.d.ts +1 -14
- package/dist/tween/inert.d.ts.map +1 -1
- package/dist/tween/inert.js +1 -14
- package/dist/tween/inert.js.map +1 -1
- package/dist/tween/lerp.d.ts +2 -26
- package/dist/tween/lerp.d.ts.map +1 -1
- package/dist/tween/lerp.js +2 -26
- package/dist/tween/lerp.js.map +1 -1
- package/dist/tween/loop.d.ts +9 -50
- package/dist/tween/loop.d.ts.map +1 -1
- package/dist/tween/loop.js +6 -31
- package/dist/tween/loop.js.map +1 -1
- package/dist/tween/prepare.d.ts +2 -30
- package/dist/tween/prepare.d.ts.map +1 -1
- package/dist/tween/prepare.js +2 -30
- package/dist/tween/prepare.js.map +1 -1
- package/dist/tween/stepper.d.ts +4 -25
- package/dist/tween/stepper.d.ts.map +1 -1
- package/dist/tween/stepper.js.map +1 -1
- package/dist/tween/to-command.d.ts +1 -8
- package/dist/tween/to-command.d.ts.map +1 -1
- package/dist/tween/to-command.js +2 -25
- package/dist/tween/to-command.js.map +1 -1
- package/dist/util/context.d.ts +4 -29
- package/dist/util/context.d.ts.map +1 -1
- package/dist/util/context.js +3 -15
- package/dist/util/context.js.map +1 -1
- package/dist/util/csv.d.ts +4 -29
- package/dist/util/csv.d.ts.map +1 -1
- package/dist/util/csv.js +3 -22
- package/dist/util/csv.js.map +1 -1
- package/dist/util/metrics.d.ts +2 -26
- package/dist/util/metrics.d.ts.map +1 -1
- package/dist/util/metrics.js +2 -26
- package/dist/util/metrics.js.map +1 -1
- package/dist/util/random.d.ts +20 -87
- package/dist/util/random.d.ts.map +1 -1
- package/dist/util/random.js +20 -87
- package/dist/util/random.js.map +1 -1
- package/dist/util/reference.d.ts +6 -35
- package/dist/util/reference.d.ts.map +1 -1
- package/dist/util/reference.js +1 -4
- package/dist/util/reference.js.map +1 -1
- package/dist/util/scheduler.d.ts +6 -27
- package/dist/util/scheduler.d.ts.map +1 -1
- package/dist/util/scheduler.js +8 -35
- package/dist/util/scheduler.js.map +1 -1
- package/package.json +1 -1
- package/dist/browser/chunks/chunk-4BDLFEOC.js.map +0 -7
- package/dist/browser/chunks/chunk-7DB6BI27.js +0 -6
- package/dist/browser/chunks/chunk-7DB6BI27.js.map +0 -7
- package/dist/browser/chunks/chunk-IX53IFBD.js +0 -13
- package/dist/browser/chunks/chunk-IX53IFBD.js.map +0 -7
- package/dist/browser/chunks/chunk-Q55UPA3E.js +0 -3
- package/dist/browser/chunks/chunk-Q55UPA3E.js.map +0 -7
- package/dist/renamed-scene-names.d.ts +0 -17
- package/dist/renamed-scene-names.d.ts.map +0 -1
- package/dist/renamed-scene-names.js +0 -9
- package/dist/renamed-scene-names.js.map +0 -1
- package/dist/runtime/precompisition.d.ts +0 -24
- package/dist/runtime/precompisition.d.ts.map +0 -1
- package/dist/runtime/precompisition.js +0 -7
- package/dist/runtime/precompisition.js.map +0 -1
|
@@ -1,24 +1,8 @@
|
|
|
1
1
|
import type { NodeEffect } from "./union.js";
|
|
2
|
-
/**
|
|
3
|
-
* Backdrop/foreground classification for effects.
|
|
4
|
-
*
|
|
5
|
-
* Every effect carries a uniform {@link EffectMode} via {@link ModedEffect}, so
|
|
6
|
-
* classification is a single field read — no branching on `effect.type`. An
|
|
7
|
-
* effect with `mode === "backdrop"` runs on the content painted *beneath* the
|
|
8
|
-
* node (clipped to its silhouette); anything else is a foreground effect over
|
|
9
|
-
* the node's own content.
|
|
10
|
-
*/
|
|
11
|
-
/** Does this effect target the backdrop beneath the node rather than its own content? */
|
|
2
|
+
/** Backdrop/foreground classification: every effect carries a uniform {@link EffectMode}, so it is a single field read with no branching on `effect.type`. `"backdrop"` runs on the content beneath the node (clipped to its silhouette); anything else is a foreground effect over its own content. */
|
|
12
3
|
export declare const isBackdropEffect: (effect: NodeEffect) => boolean;
|
|
13
4
|
/** The backdrop-targeting effects in `effects`, for the renderer's backdrop pass. */
|
|
14
5
|
export declare const backdropEffects: (effects: NodeEffect[]) => NodeEffect[];
|
|
15
|
-
/**
|
|
16
|
-
* Foreground effects that warp/band the node's *own* content and therefore need
|
|
17
|
-
* a snapshot-and-redraw scope rather than a composable image filter.
|
|
18
|
-
*
|
|
19
|
-
* Driven by each effect's declared {@link EffectSurface}, so adding a shader
|
|
20
|
-
* effect needs no edit here. Author chain order is preserved: index 0 is the
|
|
21
|
-
* outermost scope, and the renderer nests the rest inside it.
|
|
22
|
-
*/
|
|
6
|
+
/** Foreground effects that warp/band the node's *own* content and so need a snapshot-and-redraw scope rather than a composable image filter. Driven by each effect's declared {@link EffectSurface}, so a new shader effect needs no edit here; chain order is kept (index 0 outermost). */
|
|
23
7
|
export declare function foregroundShaderEffects(effects: NodeEffect[]): NodeEffect[];
|
|
24
8
|
//# sourceMappingURL=backdrop.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../../src/attributes/shape/effects/backdrop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../../src/attributes/shape/effects/backdrop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAG1C,wSAAwS;AAExS,eAAO,MAAM,gBAAgB,GAAI,QAAQ,UAAU,KAAG,OAAqC,CAAC;AAK5F,qFAAqF;AACrF,eAAO,MAAM,eAAe,GAAI,SAAS,UAAU,EAAE,KAAG,UAAU,EACA,CAAC;AAEnE,4RAA4R;AAC5R,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,UAAU,EAAE,CAG3E"}
|
|
@@ -1,34 +1,11 @@
|
|
|
1
1
|
import { effectSurface } from "./registry.js";
|
|
2
|
-
/**
|
|
3
|
-
* Backdrop/foreground classification for effects.
|
|
4
|
-
*
|
|
5
|
-
* Every effect carries a uniform {@link EffectMode} via {@link ModedEffect}, so
|
|
6
|
-
* classification is a single field read — no branching on `effect.type`. An
|
|
7
|
-
* effect with `mode === "backdrop"` runs on the content painted *beneath* the
|
|
8
|
-
* node (clipped to its silhouette); anything else is a foreground effect over
|
|
9
|
-
* the node's own content.
|
|
10
|
-
*/
|
|
11
|
-
/** Does this effect target the backdrop beneath the node rather than its own content? */
|
|
2
|
+
/** Backdrop/foreground classification: every effect carries a uniform {@link EffectMode}, so it is a single field read with no branching on `effect.type`. `"backdrop"` runs on the content beneath the node (clipped to its silhouette); anything else is a foreground effect over its own content. */
|
|
12
3
|
export const isBackdropEffect = (effect) => effect.mode === "backdrop";
|
|
13
|
-
/**
|
|
14
|
-
* Shared result for the overwhelmingly common "this node has no effects" case.
|
|
15
|
-
*
|
|
16
|
-
* Both classifiers below run once per node per frame during render, and `.filter`
|
|
17
|
-
* allocates a fresh array even when there is nothing to filter. On a scene with
|
|
18
|
-
* thousands of plain shapes that is thousands of throwaway arrays per frame, for
|
|
19
|
-
* an answer that is always the same empty list.
|
|
20
|
-
*/
|
|
4
|
+
/** Shared result for the common "no effects" case: both classifiers run once per node per frame and `.filter` allocates even with nothing to filter. */
|
|
21
5
|
const NONE = [];
|
|
22
6
|
/** The backdrop-targeting effects in `effects`, for the renderer's backdrop pass. */
|
|
23
7
|
export const backdropEffects = (effects) => effects.length === 0 ? NONE : effects.filter(isBackdropEffect);
|
|
24
|
-
/**
|
|
25
|
-
* Foreground effects that warp/band the node's *own* content and therefore need
|
|
26
|
-
* a snapshot-and-redraw scope rather than a composable image filter.
|
|
27
|
-
*
|
|
28
|
-
* Driven by each effect's declared {@link EffectSurface}, so adding a shader
|
|
29
|
-
* effect needs no edit here. Author chain order is preserved: index 0 is the
|
|
30
|
-
* outermost scope, and the renderer nests the rest inside it.
|
|
31
|
-
*/
|
|
8
|
+
/** Foreground effects that warp/band the node's *own* content and so need a snapshot-and-redraw scope rather than a composable image filter. Driven by each effect's declared {@link EffectSurface}, so a new shader effect needs no edit here; chain order is kept (index 0 outermost). */
|
|
32
9
|
export function foregroundShaderEffects(effects) {
|
|
33
10
|
if (effects.length === 0)
|
|
34
11
|
return NONE;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backdrop.js","sourceRoot":"","sources":["../../../../src/attributes/shape/effects/backdrop.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C
|
|
1
|
+
{"version":3,"file":"backdrop.js","sourceRoot":"","sources":["../../../../src/attributes/shape/effects/backdrop.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,wSAAwS;AAExS,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,MAAkB,EAAW,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC;AAE5F,wJAAwJ;AACxJ,MAAM,IAAI,GAAiB,EAAE,CAAC;AAE9B,qFAAqF;AACrF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,OAAqB,EAAgB,EAAE,CACnE,OAAO,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;AAEnE,4RAA4R;AAC5R,MAAM,UAAU,uBAAuB,CAAC,OAAqB;IACzD,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IACtC,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,UAAU,IAAI,aAAa,CAAC,CAAC,CAAC,KAAK,QAAQ,CAAC,CAAC;AACzF,CAAC","sourcesContent":["import type { NodeEffect } from \"./union\";\nimport { effectSurface } from \"./registry\";\n\n/** Backdrop/foreground classification: every effect carries a uniform {@link EffectMode}, so it is a single field read with no branching on `effect.type`. `\"backdrop\"` runs on the content beneath the node (clipped to its silhouette); anything else is a foreground effect over its own content. */\n\nexport const isBackdropEffect = (effect: NodeEffect): boolean => effect.mode === \"backdrop\";\n\n/** Shared result for the common \"no effects\" case: both classifiers run once per node per frame and `.filter` allocates even with nothing to filter. */\nconst NONE: NodeEffect[] = [];\n\n/** The backdrop-targeting effects in `effects`, for the renderer's backdrop pass. */\nexport const backdropEffects = (effects: NodeEffect[]): NodeEffect[] =>\n effects.length === 0 ? NONE : effects.filter(isBackdropEffect);\n\n/** Foreground effects that warp/band the node's *own* content and so need a snapshot-and-redraw scope rather than a composable image filter. Driven by each effect's declared {@link EffectSurface}, so a new shader effect needs no edit here; chain order is kept (index 0 outermost). */\nexport function foregroundShaderEffects(effects: NodeEffect[]): NodeEffect[] {\n if (effects.length === 0) return NONE;\n return effects.filter((e) => e.mode !== \"backdrop\" && effectSurface(e) === \"shader\");\n}\n"]}
|
|
@@ -46,30 +46,13 @@ import { type ShaderUniform, type ShaderUniformRecord } from "../shaders/uniform
|
|
|
46
46
|
import { type ShaderPropertyValues } from "../shaders/resolve.js";
|
|
47
47
|
import type { EffectShader } from "../shaders/pack.js";
|
|
48
48
|
import type { ColorAdjustmentEffect } from "./implementations/color-adjustment.js";
|
|
49
|
-
/**
|
|
50
|
-
* Every effect builder takes **exactly one argument**: an options object
|
|
51
|
-
* carrying all of that effect's data. Builders with one dominant animated
|
|
52
|
-
* scalar also accept that scalar directly, so the common case stays terse:
|
|
53
|
-
*
|
|
54
|
-
* Effects.blur(8)
|
|
55
|
-
* Effects.blur({ radius: 8, mode: 'backdrop' })
|
|
56
|
-
*
|
|
57
|
-
* Field names are shared vocabulary across every effect — `radius` is always a
|
|
58
|
-
* pixel distance, `amount` always a 0–1 intensity, `angle` always degrees,
|
|
59
|
-
* `center` always a 0–1 normalised point, `axis` always an {@link EffectAxis}.
|
|
60
|
-
*/
|
|
61
49
|
/** Gaussian blur. Scalar shorthand sets `radius`. */
|
|
62
50
|
export type BlurOptions = EffectOptionsOf<typeof blurSpec.params>;
|
|
63
51
|
/** Directional (linear) blur. Scalar shorthand sets `radius`. */
|
|
64
52
|
export type DirectionalBlurOptions = EffectOptionsOf<typeof directionalBlurSpec.params>;
|
|
65
53
|
/** Desaturation. Scalar shorthand sets `amount`. */
|
|
66
54
|
export type GrayscaleOptions = EffectOptionsOf<typeof grayscaleSpec.params>;
|
|
67
|
-
/**
|
|
68
|
-
* After Effects-style Mosaic. Scalar shorthand sets `blocks` on both axes.
|
|
69
|
-
*
|
|
70
|
-
* `blocks` is the *number of blocks* across the node, so a count equal to the
|
|
71
|
-
* node's pixel size on that axis is pristine and lower counts are coarser.
|
|
72
|
-
*/
|
|
55
|
+
/** After Effects-style Mosaic. Scalar shorthand sets `blocks`, a block count across the node: a count equal to the node's pixel size is pristine. */
|
|
73
56
|
export type PixelateOptions = EffectOptionsOf<typeof pixelateSpec.params>;
|
|
74
57
|
/** Bulge / pinch lens over the node's content, or the backdrop. Scalar shorthand sets `strength`. */
|
|
75
58
|
export type BulgeOptions = EffectOptionsOf<typeof bulgeSpec.params>;
|
|
@@ -89,38 +72,13 @@ export type ScatterOptions = EffectOptionsOf<typeof scatterSpec.params>;
|
|
|
89
72
|
export type PosterizeOptions = EffectOptionsOf<typeof posterizeSpec.params>;
|
|
90
73
|
/** Velocity-driven motion blur. Scalar shorthand sets `length`. */
|
|
91
74
|
export type MotionBlurOptions = EffectOptionsOf<typeof motionBlurSpec.params>;
|
|
92
|
-
/**
|
|
93
|
-
* A custom shader. `mode` selects the path:
|
|
94
|
-
*
|
|
95
|
-
* - `'foreground'` (the default) — `sample_src` reads the node's layer; the output
|
|
96
|
-
* replaces it, or composites onto it with `blendMode`.
|
|
97
|
-
* - `'backdrop'` — `sample_src` reads a snapshot of what is painted beneath the
|
|
98
|
-
* node. `blendMode` is unused.
|
|
99
|
-
*/
|
|
75
|
+
/** A custom shader. `mode` picks the layer `sample_src` reads: `'foreground'` (default) the node's own, or `'backdrop'` what is painted beneath it. */
|
|
100
76
|
export interface ShaderEffectOptions extends EffectOptions {
|
|
101
|
-
/**
|
|
102
|
-
* The WGSL program, or a registered
|
|
103
|
-
* **shader pack** — a program plus the editable values it publishes.
|
|
104
|
-
*
|
|
105
|
-
* A pack resolves to plain uniforms here, so nothing below this builder
|
|
106
|
-
* knows one exists; what survives into the document is the resolved record
|
|
107
|
-
* plus a `shaderId` naming the pack, which is what lets a host reopen its
|
|
108
|
-
* property panel from a saved scene.
|
|
109
|
-
*/
|
|
77
|
+
/** WGSL program, or a registered shader pack. A pack resolves to plain uniforms here; the document keeps the resolved record plus a `shaderId` so a host can reopen its property panel. */
|
|
110
78
|
source: string | EffectShader;
|
|
111
|
-
/**
|
|
112
|
-
* Property overrides, by property id, when {@link source} is a pack.
|
|
113
|
-
*
|
|
114
|
-
* Anything not named here takes the pack's own default. Ignored — with a
|
|
115
|
-
* warning — for a bare source string, which has no properties to override.
|
|
116
|
-
*/
|
|
79
|
+
/** Property overrides by id when {@link source} is a pack; unnamed ones take the pack default. Ignored with a warning for a bare string. */
|
|
117
80
|
values?: ShaderPropertyValues;
|
|
118
|
-
/**
|
|
119
|
-
* Uniform values by name — lerped between animation frames (default `{}`).
|
|
120
|
-
*
|
|
121
|
-
* The positional `[{ name, value }]` array still works; both are bound by
|
|
122
|
-
* name now, so the array's order no longer means anything.
|
|
123
|
-
*/
|
|
81
|
+
/** Uniform values by name, lerped between frames (default `{}`). The `[{ name, value }]` array form is bound by name too. */
|
|
124
82
|
uniforms?: ShaderUniformRecord | ShaderUniform[];
|
|
125
83
|
/** How a foreground shader composites onto the layer; its output replaces the layer when absent. */
|
|
126
84
|
blendMode?: BlendMode;
|
|
@@ -129,22 +87,13 @@ export interface ShaderEffectOptions extends EffectOptions {
|
|
|
129
87
|
}
|
|
130
88
|
/** Coloured band around the node's silhouette. Scalar shorthand sets `width`. */
|
|
131
89
|
export type OutlineOptions = EffectOptionsOf<typeof outlineSpec.params>;
|
|
132
|
-
/**
|
|
133
|
-
* A shadow cast from the node's silhouette. Scalar shorthand sets `blur`, since
|
|
134
|
-
* softness is the knob a shadow is usually reached for by.
|
|
135
|
-
*/
|
|
90
|
+
/** Cast from the node's silhouette. Scalar shorthand sets `blur`. */
|
|
136
91
|
export type DropShadowOptions = EffectOptionsOf<typeof dropShadowSpec.params>;
|
|
137
92
|
/** Darkened edges / lens falloff. Scalar shorthand sets `amount`. */
|
|
138
93
|
export type VignetteOptions = EffectOptionsOf<typeof vignetteSpec.params>;
|
|
139
|
-
/**
|
|
140
|
-
/**
|
|
141
|
-
* A 3D colour lookup table — see {@link LutEffect} for the table's layout and
|
|
142
|
-
* why it is compared by reference.
|
|
143
|
-
*
|
|
144
|
-
* No scalar shorthand: the dominant argument is a whole cube, and a builder that
|
|
145
|
-
* took `Effects.lut(table)` would still need the size beside it to read it.
|
|
146
|
-
*/
|
|
94
|
+
/** 3D colour lookup table; see {@link LutEffect}. No scalar shorthand: the dominant argument is a whole cube. */
|
|
147
95
|
export type LutOptions = EffectOptionsOf<typeof lutSpec.params>;
|
|
96
|
+
/** Film grain. Scalar shorthand sets `amount`. */
|
|
148
97
|
export type GrainOptions = EffectOptionsOf<typeof grainSpec.params>;
|
|
149
98
|
/** Unsharp-mask sharpen. Scalar shorthand sets `amount`. */
|
|
150
99
|
export type SharpenOptions = EffectOptionsOf<typeof sharpenSpec.params>;
|
|
@@ -164,11 +113,7 @@ export type DuotoneOptions = EffectOptionsOf<typeof duotoneSpec.params>;
|
|
|
164
113
|
export type CurvesOptions = EffectOptionsOf<typeof curvesSpec.params>;
|
|
165
114
|
/** Photographic grading. Every field is optional and defaults to neutral. */
|
|
166
115
|
export type ColorAdjustmentOptions = Omit<ColorAdjustmentEffect, 'type'> & EffectOptions;
|
|
167
|
-
/**
|
|
168
|
-
* Per-channel RGB offset. Scalar shorthand sets `amount`, which spreads red and
|
|
169
|
-
* blue apart horizontally by that many pixels and leaves green put — the
|
|
170
|
-
* everyday case. Name `red`/`green`/`blue` for full control.
|
|
171
|
-
*/
|
|
116
|
+
/** Per-channel RGB offset. Name `red`/`green`/`blue` for full control. */
|
|
172
117
|
export type RgbShiftOptions = EffectOptionsOf<typeof rgbShiftSpec.params> & {
|
|
173
118
|
/** Shorthand: ±px horizontal spread of red vs. blue (default 4); `red`/`blue` override it. */
|
|
174
119
|
amount?: number;
|
|
@@ -181,13 +126,7 @@ export type BlockDisplaceOptions = EffectOptionsOf<typeof blockDisplaceSpec.para
|
|
|
181
126
|
export type AsciiOptions = EffectOptionsOf<typeof asciiSpec.params>;
|
|
182
127
|
/** Anamorphic glare — a bright pass smeared along one axis. Scalar shorthand sets `intensity`. */
|
|
183
128
|
export type StreakOptions = EffectOptionsOf<typeof streakSpec.params>;
|
|
184
|
-
/**
|
|
185
|
-
* A glow — bright (or opaque) areas spread outward and composited back, with
|
|
186
|
-
* optional recolouring. Scalar shorthand sets `intensity`.
|
|
187
|
-
*
|
|
188
|
-
* Unlike `bloom`, this spreads past the node's own box, chooses how the source
|
|
189
|
-
* composites against it, and can be coloured through a ramp.
|
|
190
|
-
*/
|
|
129
|
+
/** Bright (or opaque) areas spread outward and composited back. Scalar shorthand sets `intensity`. Unlike `bloom`, spreads past the node's box and can be coloured through a ramp. */
|
|
191
130
|
export type GlowOptions = EffectOptionsOf<typeof glowSpec.params>;
|
|
192
131
|
/** Kuwahara brushwork. Scalar shorthand sets `radius`. */
|
|
193
132
|
export type OilPaintOptions = EffectOptionsOf<typeof oilPaintSpec.params>;
|
|
@@ -195,323 +134,92 @@ export type OilPaintOptions = EffectOptionsOf<typeof oilPaintSpec.params>;
|
|
|
195
134
|
export type WaveOptions = EffectOptionsOf<typeof waveSpec.params>;
|
|
196
135
|
/** Twirl / swirl vortex. Scalar shorthand sets `angle`. */
|
|
197
136
|
export type TwirlOptions = EffectOptionsOf<typeof twirlSpec.params>;
|
|
198
|
-
/**
|
|
199
|
-
* Blur that ramps across the node. Scalar shorthand sets `radius`.
|
|
200
|
-
*
|
|
201
|
-
* `mode: 'backdrop'` gives the frosted panel whose blur fades out rather than
|
|
202
|
-
* ending at a hard edge.
|
|
203
|
-
*/
|
|
137
|
+
/** Blur that ramps across the node; `mode: 'backdrop'` gives a frosted panel whose blur fades out. Scalar shorthand sets `radius`. */
|
|
204
138
|
export type ProgressiveBlurOptions = EffectOptionsOf<typeof progressiveBlurSpec.params>;
|
|
205
139
|
/** Mirrored wedges around a point. Scalar shorthand sets `segments`. */
|
|
206
140
|
export type KaleidoscopeOptions = EffectOptionsOf<typeof kaleidoscopeSpec.params>;
|
|
207
141
|
/**
|
|
208
|
-
* Figma's Glass over the backdrop. Scalar shorthand sets `refraction`.
|
|
209
|
-
*
|
|
210
|
-
*
|
|
211
|
-
* 20 px, dispersion 50, frost 4, splay 0), so a bare `Effects.glass()` is the
|
|
212
|
-
* glass Figma adds and values copied from a Figma file render the same.
|
|
213
|
-
*
|
|
214
|
-
* Defaults to `{ mode: 'backdrop' }`; there is nothing to refract in a node's
|
|
215
|
-
* own paint, so the foreground is a no-op.
|
|
142
|
+
* Figma's Glass over the backdrop. Scalar shorthand sets `refraction`. Defaults are Figma's
|
|
143
|
+
* (light -45 deg at 80, refraction 80, depth 20 px, dispersion 50, frost 4, splay 0) and `mode: 'backdrop'`;
|
|
144
|
+
* the foreground is a no-op.
|
|
216
145
|
*/
|
|
217
146
|
export type GlassOptions = EffectOptionsOf<typeof glassSpec.params>;
|
|
218
147
|
/** Colour-depth reduction. Scalar shorthand sets `bits`. */
|
|
219
148
|
export type BitCrushOptions = EffectOptionsOf<typeof bitCrushSpec.params>;
|
|
220
|
-
/**
|
|
221
|
-
* Immutable, chainable list of node effects.
|
|
222
|
-
*
|
|
223
|
-
* Each builder method returns a new `EffectChain` with the effect appended,
|
|
224
|
-
* so chains are safe to share and branch.
|
|
225
|
-
*
|
|
226
|
-
* @example
|
|
227
|
-
* const fx = Effects.blur(4).grayscale(0.5);
|
|
228
|
-
* node.effects = fx; // assign directly
|
|
229
|
-
* node.effects = [...fx, { type: 'pixelate', ... }]; // spread into array
|
|
230
|
-
*/
|
|
149
|
+
/** Immutable, chainable list of node effects; each builder returns a new chain, so chains can be shared and branched. */
|
|
231
150
|
export declare class EffectChain {
|
|
232
151
|
list: NodeEffect[];
|
|
233
152
|
constructor(list?: NodeEffect[]);
|
|
234
153
|
private append;
|
|
235
|
-
/**
|
|
236
|
-
* Append a Gaussian blur. Pass `{ mode: "backdrop" }` to blur the content
|
|
237
|
-
* beneath the node (clipped to its silhouette, Figma-style) instead of the
|
|
238
|
-
* node's own content.
|
|
239
|
-
*/
|
|
154
|
+
/** `{ mode: "backdrop" }` blurs what is beneath the node (clipped to its silhouette, Figma-style). */
|
|
240
155
|
blur(options: number | BlurOptions): EffectChain;
|
|
241
|
-
/**
|
|
242
|
-
* Append a motion-blur-style directional (linear) blur, smearing the node's
|
|
243
|
-
* own content along a single axis (or the backdrop, with `{ mode: "backdrop" }`).
|
|
244
|
-
*/
|
|
245
156
|
directionalBlur(options: number | DirectionalBlurOptions): EffectChain;
|
|
246
|
-
/**
|
|
247
|
-
* Append an After Effects-style Mosaic / pixelate. `blocks` is the *number of
|
|
248
|
-
* blocks* across the node (a count equal to the node's pixel size on that
|
|
249
|
-
* axis is pristine; lower is coarser), not a pixel block size.
|
|
250
|
-
*/
|
|
251
157
|
pixelate(options: number | PixelateOptions): EffectChain;
|
|
252
|
-
/** Append a grayscale effect. `{ mode: "backdrop" }` desaturates the backdrop. */
|
|
253
158
|
grayscale(options: number | GrayscaleOptions): EffectChain;
|
|
254
|
-
/**
|
|
255
|
-
* Append a bulge/pinch lens. A barrel distortion magnifies the centre and
|
|
256
|
-
* pins the edges; a negative strength pinches the centre inward instead.
|
|
257
|
-
* `mode: "backdrop"` points the same lens at what is painted beneath the
|
|
258
|
-
* node, giving a glass dome over the layers below rather than a warp of the
|
|
259
|
-
* node's own paint.
|
|
260
|
-
*/
|
|
159
|
+
/** A negative strength pinches instead of bulging; `mode: "backdrop"` makes a glass dome over the layers below. */
|
|
261
160
|
bulge(options: number | BulgeOptions): EffectChain;
|
|
262
|
-
/**
|
|
263
|
-
* Append a magnify lens that magnifies the backdrop beneath the node. The lens
|
|
264
|
-
* fills the node's bounding box and is clipped to its silhouette, so whatever
|
|
265
|
-
* is painted underneath shows through scaled about `center` — like a
|
|
266
|
-
* magnifying glass shaped to the node.
|
|
267
|
-
*
|
|
268
|
-
* Defaults to `{ mode: 'backdrop' }`; pass `mode` explicitly to override.
|
|
269
|
-
*/
|
|
161
|
+
/** Lens fills the node's box, clipped to its silhouette, scaled about `center`. Defaults to `mode: 'backdrop'`. */
|
|
270
162
|
magnify(options?: number | MagnifyOptions): EffectChain;
|
|
271
|
-
/**
|
|
272
|
-
* Append a bloom (glow) effect. Bright areas bleed soft light outward via a
|
|
273
|
-
* screen-blend of the blurred bright-pass onto the layer.
|
|
274
|
-
*/
|
|
275
163
|
bloom(options?: number | BloomOptions): EffectChain;
|
|
276
|
-
/** Append a vintage / film-look colour grading effect. */
|
|
277
164
|
vintage(options?: number | VintageOptions): EffectChain;
|
|
278
|
-
/**
|
|
279
|
-
* Append a chromatic aberration effect — red/blue colour fringing that mimics
|
|
280
|
-
* lens dispersion.
|
|
281
|
-
*/
|
|
282
165
|
chromaticAberration(options?: number | ChromaticAberrationOptions): EffectChain;
|
|
283
|
-
/** Append a colour-invert effect. */
|
|
284
166
|
invert(options?: number | InvertOptions): EffectChain;
|
|
285
|
-
/**
|
|
286
|
-
* Append a scatter effect — randomly jitters the node's own pixels, smearing
|
|
287
|
-
* its content like After Effects' Scatter.
|
|
288
|
-
*/
|
|
289
167
|
scatter(options?: number | ScatterOptions): EffectChain;
|
|
290
|
-
/**
|
|
291
|
-
* Append an After Effects-style posterize effect — quantizes each colour
|
|
292
|
-
* channel into `levels` evenly-spaced bands, flattening gradients into steps.
|
|
293
|
-
*/
|
|
294
168
|
posterize(options?: number | PosterizeOptions): EffectChain;
|
|
295
|
-
/**
|
|
296
|
-
* Append velocity-driven motion blur — smears the node's own content along its
|
|
297
|
-
* actual per-frame motion (a static node stays sharp). Modelled on After
|
|
298
|
-
* Effects' shutter angle (`length`) and shutter phase (`alignment`).
|
|
299
|
-
*/
|
|
169
|
+
/** Smears along the node's actual per-frame motion (a static node stays sharp); `length` is the shutter angle, `alignment` the phase. */
|
|
300
170
|
motionBlur(options?: number | MotionBlurOptions): EffectChain;
|
|
301
|
-
/**
|
|
302
|
-
* Append an outline — a coloured band traced around the node's silhouette,
|
|
303
|
-
* including alpha silhouettes (text, an image's cutout, a whole subtree) that
|
|
304
|
-
* a geometry `stroke` can't follow.
|
|
305
|
-
*/
|
|
171
|
+
/** Follows alpha silhouettes (text, cutouts, subtrees) that a geometry `stroke` can't. */
|
|
306
172
|
outline(options?: number | OutlineOptions): EffectChain;
|
|
307
|
-
/**
|
|
308
|
-
* Append a drop shadow cast from the node's **silhouette** — including alpha
|
|
309
|
-
* silhouettes (text, an image's cutout, a whole subtree) that a geometry
|
|
310
|
-
* `shadow` can't follow, since that one fills the node's path.
|
|
311
|
-
*/
|
|
173
|
+
/** Follows alpha silhouettes that a geometry `shadow` (which fills the node's path) can't. */
|
|
312
174
|
dropShadow(options?: number | DropShadowOptions): EffectChain;
|
|
313
|
-
/**
|
|
314
|
-
* Append a vignette — a soft tint ramping in toward the node's corners. The
|
|
315
|
-
* falloff follows the node's aspect ratio, so a wide node darkens along its
|
|
316
|
-
* short edges the way a lens would.
|
|
317
|
-
*/
|
|
175
|
+
/** Falloff follows the node's aspect ratio, so a wide node darkens along its short edges. */
|
|
318
176
|
vignette(options?: number | VignetteOptions): EffectChain;
|
|
319
|
-
/**
|
|
320
|
-
* Append film grain. Static grain reads as texture rather than film, so pass
|
|
321
|
-
* `{ animated: true }` to re-seed it each frame — or tween `seed` when the
|
|
322
|
-
* render has to stay deterministic.
|
|
323
|
-
*/
|
|
324
|
-
/**
|
|
325
|
-
* Apply a 3D colour lookup table.
|
|
326
|
-
*
|
|
327
|
-
* The whole point of a LUT is that it is *someone else's* colour science, so
|
|
328
|
-
* there is nothing to default beyond how much of it to use: `amount` is the
|
|
329
|
-
* mix and everything else is the file.
|
|
330
|
-
*
|
|
331
|
-
* @example
|
|
332
|
-
* Effects.lut({ table, size: 33 }) // the full look
|
|
333
|
-
* Effects.lut({ table, size: 33, amount: 0.6 })
|
|
334
|
-
*/
|
|
177
|
+
/** `amount` is the mix; everything else is the table. */
|
|
335
178
|
lut(options: LutOptions): EffectChain;
|
|
179
|
+
/** Static grain reads as texture; pass `{ animated: true }` to re-seed per frame, or tween `seed` to stay deterministic. */
|
|
336
180
|
grain(options?: number | GrainOptions): EffectChain;
|
|
337
|
-
/** Append an unsharp-mask sharpen — local contrast boosted at `radius` scale. */
|
|
338
181
|
sharpen(options?: number | SharpenOptions): EffectChain;
|
|
339
|
-
/**
|
|
340
|
-
* Append edge detection — flat areas go black and boundaries light up with
|
|
341
|
-
* the magnitude of the local gradient.
|
|
342
|
-
*/
|
|
343
182
|
edges(options?: number | EdgesOptions): EffectChain;
|
|
344
|
-
/**
|
|
345
|
-
* Append a luminance threshold — a two-tone stencil cut at `level`, with
|
|
346
|
-
* `smoothness` widening the cut into a ramp.
|
|
347
|
-
*/
|
|
348
183
|
threshold(options?: number | ThresholdOptions): EffectChain;
|
|
349
|
-
/**
|
|
350
|
-
* Append a radial blur — samples smeared along the radius (`'zoom'`, the
|
|
351
|
-
* default) or the tangent (`'spin'`) about `center`, leaving the centre sharp.
|
|
352
|
-
*/
|
|
353
184
|
radialBlur(options?: number | RadialBlurOptions): EffectChain;
|
|
354
|
-
/**
|
|
355
|
-
* Append a halftone screen — the newsprint look, where tone becomes the size
|
|
356
|
-
* of a mark on a rotated grid.
|
|
357
|
-
*/
|
|
358
185
|
halftone(options?: number | HalftoneOptions): EffectChain;
|
|
359
|
-
/**
|
|
360
|
-
* Append ordered (Bayer) dithering — quantization to `levels` tones per
|
|
361
|
-
* channel with the error traded for a retro crosshatch pattern.
|
|
362
|
-
*/
|
|
363
186
|
dither(options?: number | DitherOptions): EffectChain;
|
|
364
|
-
/**
|
|
365
|
-
* Append a duotone / gradient map — the content's luminance remapped onto a
|
|
366
|
-
* `shadows` → `highlights` ramp, discarding its original chroma.
|
|
367
|
-
*/
|
|
368
187
|
duotone(options?: number | DuotoneOptions): EffectChain;
|
|
369
|
-
/**
|
|
370
|
-
* Append a tone curve — the same adjustment `Adjustments.curves` applies to a
|
|
371
|
-
* photo, on any node.
|
|
372
|
-
*/
|
|
373
188
|
curves(options: CurvesOptions): EffectChain;
|
|
374
|
-
/**
|
|
375
|
-
* Append photographic grading (brightness / contrast / saturation / vibrance /
|
|
376
|
-
* shadows / highlights / temperature / tint) — `Adjustments.colorAdjustment`
|
|
377
|
-
* on any node. For darkened edges use {@link EffectChain.vignette}.
|
|
378
|
-
*/
|
|
189
|
+
/** For darkened edges use {@link EffectChain.vignette}. */
|
|
379
190
|
colorAdjustment(options: ColorAdjustmentOptions): EffectChain;
|
|
380
|
-
/**
|
|
381
|
-
* Append a per-channel RGB offset — the digital cousin of
|
|
382
|
-
* {@link EffectChain.chromaticAberration}, where each plane goes where you
|
|
383
|
-
* point it instead of following a lens model.
|
|
384
|
-
*/
|
|
385
191
|
rgbShift(options?: number | RgbShiftOptions): EffectChain;
|
|
386
|
-
/**
|
|
387
|
-
* Append CRT scanlines. Animate `offset` past `spacing` to roll the bands;
|
|
388
|
-
* the pattern wraps, so a linear tween loops seamlessly.
|
|
389
|
-
*/
|
|
192
|
+
/** Animate `offset` past `spacing` to roll the bands; the pattern wraps, so a linear tween loops. */
|
|
390
193
|
scanlines(options?: number | ScanlinesOptions): EffectChain;
|
|
391
|
-
/**
|
|
392
|
-
* Append datamosh-style band tearing. Step `seed` in whole numbers to jump
|
|
393
|
-
* between distinct glitch states rather than sliding between them.
|
|
394
|
-
*/
|
|
194
|
+
/** Step `seed` in whole numbers to jump between glitch states rather than sliding. */
|
|
395
195
|
blockDisplace(options?: number | BlockDisplaceOptions): EffectChain;
|
|
396
|
-
/**
|
|
397
|
-
* Append colour-depth reduction — `bits` per channel, or a fixed hardware
|
|
398
|
-
* palette. Pair with {@link EffectChain.dither} so gradients survive the cut.
|
|
399
|
-
*/
|
|
196
|
+
/** Pair with {@link EffectChain.dither} so gradients survive the cut. */
|
|
400
197
|
bitCrush(options?: number | BitCrushOptions): EffectChain;
|
|
401
|
-
/**
|
|
402
|
-
* Append ASCII art — the content divided into a grid of cells, each cell's
|
|
403
|
-
* tone replaced by the glyph that carries a matching amount of ink.
|
|
404
|
-
*
|
|
405
|
-
* Set `background: 'transparent'` to lay the glyphs over whatever is behind
|
|
406
|
-
* the node instead of over a solid field.
|
|
407
|
-
*/
|
|
198
|
+
/** `background: 'transparent'` lays the glyphs over whatever is behind the node. */
|
|
408
199
|
ascii(options?: number | AsciiOptions): EffectChain;
|
|
409
|
-
/**
|
|
410
|
-
* Append Kuwahara brushwork — averages within a region but never across an
|
|
411
|
-
* edge, so flat areas smooth into strokes while boundaries stay crisp.
|
|
412
|
-
* By some margin the most expensive effect in the set; keep `radius` small.
|
|
413
|
-
*/
|
|
200
|
+
/** By some margin the most expensive effect; keep `radius` small. */
|
|
414
201
|
oilPaint(options?: number | OilPaintOptions): EffectChain;
|
|
415
|
-
/**
|
|
416
|
-
* Append an anamorphic streak — a bright pass smeared along one axis and
|
|
417
|
-
* screened back on. {@link EffectChain.bloom} spreads light in every
|
|
418
|
-
* direction; this spreads it in one.
|
|
419
|
-
*/
|
|
420
202
|
streak(options?: number | StreakOptions): EffectChain;
|
|
421
|
-
/**
|
|
422
|
-
* Append a glow — the bright (or opaque) parts of the layer spread outward
|
|
423
|
-
* and composited back, optionally recoloured through a ramp.
|
|
424
|
-
*
|
|
425
|
-
* `bloom` is the cheaper relative: it screens a blurred bright-pass back
|
|
426
|
-
* within the node's own box. This one spreads past that box, lets the source
|
|
427
|
-
* sit behind, in front of, or nowhere at all, and can map glow strength onto
|
|
428
|
-
* `colors`/`stops` — which is what a heat, neon or aurora look needs.
|
|
429
|
-
*/
|
|
430
203
|
glow(options?: number | GlowOptions): EffectChain;
|
|
431
|
-
/**
|
|
432
|
-
* Append a custom WGSL shader. `mode` picks the layer it runs on, which
|
|
433
|
-
* `sample_src` reads: the node's own layer, or what is painted beneath it
|
|
434
|
-
* (`'backdrop'`).
|
|
435
|
-
*/
|
|
436
204
|
shader(options: ShaderEffectOptions): EffectChain;
|
|
437
|
-
/**
|
|
438
|
-
* Append a sine warp. Tween `phase` over 360 to make the wave travel — it
|
|
439
|
-
* wraps, so a linear tween loops seamlessly.
|
|
440
|
-
*/
|
|
205
|
+
/** Tween `phase` over 360 to travel the wave; it wraps, so a linear tween loops. */
|
|
441
206
|
wave(options?: number | WaveOptions): EffectChain;
|
|
442
|
-
/**
|
|
443
|
-
* Append a twirl / swirl vortex — a rotation about `center` that falls off
|
|
444
|
-
* with distance, so the middle spins while the rim stays pinned.
|
|
445
|
-
*/
|
|
446
207
|
twirl(options?: number | TwirlOptions): EffectChain;
|
|
447
|
-
/**
|
|
448
|
-
* Append a blur whose radius ramps across the node rather than being
|
|
449
|
-
* uniform. With `{ mode: 'backdrop' }` this is the frosted panel whose blur
|
|
450
|
-
* fades out instead of ending at a hard edge.
|
|
451
|
-
*/
|
|
452
208
|
progressiveBlur(options?: number | ProgressiveBlurOptions): EffectChain;
|
|
453
|
-
/**
|
|
454
|
-
* Append a kaleidoscope fold. Animating `angle` sweeps fresh source material
|
|
455
|
-
* through the sampled wedge while the pattern itself stays locked — which is
|
|
456
|
-
* not what rotating the node does.
|
|
457
|
-
*/
|
|
209
|
+
/** Animating `angle` sweeps fresh source through the wedge while the pattern stays locked, unlike rotating the node. */
|
|
458
210
|
kaleidoscope(options?: number | KaleidoscopeOptions): EffectChain;
|
|
459
|
-
/**
|
|
460
|
-
* Append Figma's Glass — the backdrop refracted, dispersed and frosted
|
|
461
|
-
* through a curved edge on the node's outline, with a rim of light.
|
|
462
|
-
*
|
|
463
|
-
* Like `magnify`, this reads what is painted *beneath* the node and is
|
|
464
|
-
* clipped to its outline, so the shape's own edges stay sharp. It needs no
|
|
465
|
-
* map: the curve is derived from the outline itself, so it follows a
|
|
466
|
-
* rounded rect, an ellipse, a hand-drawn path or text equally.
|
|
467
|
-
*
|
|
468
|
-
* Defaults to `{ mode: 'backdrop' }`; pass `mode` explicitly to override.
|
|
469
|
-
*/
|
|
470
211
|
glass(options?: number | GlassOptions): EffectChain;
|
|
471
|
-
/** Allows spreading the chain into an array: `[...Effects.blur(5)]`. */
|
|
472
212
|
[Symbol.iterator](): Generator<NodeEffect, void, unknown>;
|
|
473
|
-
/** Serializes to the raw effect array so frameworks that call `toJSON` get a plain value. */
|
|
474
213
|
toJSON(): NodeEffect[];
|
|
475
214
|
}
|
|
476
|
-
/**
|
|
477
|
-
* Accepted shapes for a node's `effects` prop.
|
|
478
|
-
*
|
|
479
|
-
* Mirrors {@link Fill}: a single {@link NodeEffect}, an `EffectChain` builder
|
|
480
|
-
* result, or an array mixing effects and chains (each chain contributes all its
|
|
481
|
-
* effects in place). Already-resolved effects are themselves `NodeEffect`s, so
|
|
482
|
-
* a node's read-back `effects` can be assigned straight back.
|
|
483
|
-
*
|
|
484
|
-
* Effects.blur(8) // chain
|
|
485
|
-
* { type: 'blur', radius: 8 } // single effect
|
|
486
|
-
* [Effects.blur(8), { type: 'invert' }] // mixed array
|
|
487
|
-
* [...Effects.blur(8), grayscaleEffect]
|
|
488
|
-
*/
|
|
215
|
+
/** A single effect, a chain, or an array mixing both (chains flatten in place). Resolved effects are `NodeEffect`s, so a read-back `effects` can be assigned straight back. */
|
|
489
216
|
export type Effect = NodeEffect | EffectChain | (NodeEffect | EffectChain)[];
|
|
490
217
|
/**
|
|
491
|
-
*
|
|
492
|
-
*
|
|
493
|
-
* An empty {@link EffectChain}, so `Effects.blur(8)` *is* `new EffectChain().blur(8)`
|
|
494
|
-
* — every builder's signature and documentation has exactly one definition, on
|
|
495
|
-
* the class, which is also what an editor shows when you hover `Effects.blur`.
|
|
496
|
-
* (A parallel object of arrow functions would need its own copy of all 41 docs,
|
|
497
|
-
* and hovering it showed none of them.)
|
|
498
|
-
*
|
|
499
|
-
* The chain is immutable — every builder returns a *new* chain — so sharing one
|
|
500
|
-
* empty instance as the entry point is safe.
|
|
501
|
-
*
|
|
502
|
-
* @example
|
|
503
|
-
* node.effects = Effects.blur(8).grayscale(1);
|
|
218
|
+
* An empty {@link EffectChain}: `Effects.blur(8)` *is* `new EffectChain().blur(8)`, so each builder is
|
|
219
|
+
* documented once, on the class. Chains are immutable, so sharing one instance is safe.
|
|
504
220
|
*/
|
|
505
221
|
export declare const Effects: EffectChain;
|
|
506
|
-
/**
|
|
507
|
-
* Normalises any {@link Effect} value to a plain `NodeEffect[]`.
|
|
508
|
-
* Used internally when reading props before rendering or interpolation.
|
|
509
|
-
*
|
|
510
|
-
* Chains used as array elements are flattened so each contributes its effects
|
|
511
|
-
* in place: `[Effects.blur(8), grayscaleEffect]` — as is the plain array a chain
|
|
512
|
-
* serializes to, which is how that value reads back out of a stored document.
|
|
513
|
-
*/
|
|
222
|
+
/** Normalises any {@link Effect} to `NodeEffect[]`, flattening chains and the plain arrays a chain serializes to. */
|
|
514
223
|
export declare function resolveChainEffects(effects: Effect | undefined): NodeEffect[];
|
|
515
|
-
/** The effect-chain attribute's op set — the `effects` prop's resolve/lerp pair. */
|
|
516
224
|
export declare const effectsOps: AttributeOps<Effect, NodeEffect[]>;
|
|
517
225
|
//# sourceMappingURL=chain.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chain.d.ts","sourceRoot":"","sources":["../../../../src/attributes/shape/effects/chain.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAGnD,OAAO,EAAe,KAAK,eAAe,EAAE,MAAM,QAAQ,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,2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