@pixerate/flair 0.11.0 → 0.12.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/dist/cli.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  standaloneHtml,
4
4
  standaloneSceneHtml,
5
5
  validateScene
6
- } from "./chunk-SH66CNLC.js";
6
+ } from "./chunk-KB5T5UAJ.js";
7
7
  import "./chunk-YLJWC4N2.js";
8
8
  import "./chunk-EHDJ3CPJ.js";
9
9
  import {
@@ -5,7 +5,7 @@ import {
5
5
  renderVectorEffect,
6
6
  vectorControlIssues,
7
7
  vectorEffectControls
8
- } from "../chunk-36OCXXPY.js";
8
+ } from "../chunk-L4NFQM5N.js";
9
9
  import {
10
10
  svgMotionIssues,
11
11
  svgView
package/dist/index.d.ts CHANGED
@@ -146,6 +146,8 @@ interface ShaderFramesOptions {
146
146
  height: number;
147
147
  /** Draw on this canvas instead of a new, detached one. It is resized to `width` × `height`. */
148
148
  canvas?: HTMLCanvasElement;
149
+ /** Keep the shader's alpha (`fragColor.a`) in the frames, for transparent recordings (default false: opaque). */
150
+ alpha?: boolean;
149
151
  }
150
152
  interface RenderOptions {
151
153
  /** `iFrame` (default: the number of frames rendered so far). */
package/dist/index.js CHANGED
@@ -38,7 +38,7 @@ import {
38
38
  standaloneHtml,
39
39
  standaloneSceneHtml,
40
40
  validateScene
41
- } from "./chunk-SH66CNLC.js";
41
+ } from "./chunk-KB5T5UAJ.js";
42
42
  import {
43
43
  BUILTIN_UNIFORMS,
44
44
  HOVER_SECONDS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixerate/flair",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "Web visual effects and motion graphics: WebGL2 shader effects, animated vector effects, a catalog of ready-made effects, and a UI-agnostic, agent-ready effect editor.",
5
5
  "author": "Pixerate",
6
6
  "license": "MIT",