@pixerate/flair 0.31.0 → 0.33.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 +22 -0
- package/README.md +5 -1
- package/dist/catalog/index.d.ts +2 -2
- package/dist/catalog/index.js +2 -2
- package/dist/{chunk-7F4ITXGK.js → chunk-4FFBIVPI.js} +3253 -33
- package/dist/chunk-4FFBIVPI.js.map +1 -0
- package/dist/{chunk-PIWJOW76.js → chunk-6ZG2RIWA.js} +6 -6
- package/dist/{chunk-45YUAQNZ.js → chunk-ARYM5VEJ.js} +3 -3
- package/dist/{chunk-DA4UUSDO.js → chunk-JETRHCP3.js} +9 -277
- package/dist/chunk-JETRHCP3.js.map +1 -0
- package/dist/{chunk-AUH3PEFW.js → chunk-MOLJPWME.js} +5 -3
- package/dist/{chunk-AUH3PEFW.js.map → chunk-MOLJPWME.js.map} +1 -1
- package/dist/{chunk-X3C2VFTM.js → chunk-N5HXMQOK.js} +7 -7
- package/dist/{chunk-ORAFCHX3.js → chunk-VKIDRHBG.js} +278 -2
- package/dist/chunk-VKIDRHBG.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/editor/index.d.ts +1 -1
- package/dist/editor/index.js +5 -4
- package/dist/editor/index.js.map +1 -1
- package/dist/{effect-DHYWPXD3.js → effect-6PRVCU55.js} +8 -8
- package/dist/embed/index.d.ts +1 -1
- package/dist/embed/index.js +4 -4
- package/dist/index.js +19 -19
- package/dist/node.d.ts +1 -1
- package/dist/node.js +7 -7
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +5 -5
- package/dist/svelte/index.d.ts +1 -1
- package/dist/svelte/index.js +5 -5
- package/dist/{types-BDIzGWIS.d.ts → types-c8cnPzuE.d.ts} +1 -1
- package/dist/vector/index.js +14 -14
- package/package.json +1 -1
- package/dist/chunk-7F4ITXGK.js.map +0 -1
- package/dist/chunk-DA4UUSDO.js.map +0 -1
- package/dist/chunk-ORAFCHX3.js.map +0 -1
- /package/dist/{chunk-PIWJOW76.js.map → chunk-6ZG2RIWA.js.map} +0 -0
- /package/dist/{chunk-45YUAQNZ.js.map → chunk-ARYM5VEJ.js.map} +0 -0
- /package/dist/{chunk-X3C2VFTM.js.map → chunk-N5HXMQOK.js.map} +0 -0
- /package/dist/{effect-DHYWPXD3.js.map → effect-6PRVCU55.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -114,13 +114,13 @@ import {
|
|
|
114
114
|
} from "./chunk-H6L67KHI.js";
|
|
115
115
|
import {
|
|
116
116
|
svgAnimatedMarkup
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-N5HXMQOK.js";
|
|
118
118
|
import {
|
|
119
119
|
parseViewBox,
|
|
120
120
|
svgFrameMarkup,
|
|
121
121
|
svgInlineLayout,
|
|
122
122
|
svgViewBox
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-MOLJPWME.js";
|
|
124
124
|
import {
|
|
125
125
|
SCROLL_SETTLE,
|
|
126
126
|
SCROLL_SMOOTHING,
|
|
@@ -187,39 +187,39 @@ import {
|
|
|
187
187
|
parseControls,
|
|
188
188
|
rgbToHex
|
|
189
189
|
} from "./chunk-VYOMXE6I.js";
|
|
190
|
+
import {
|
|
191
|
+
SCROLL_RANGE,
|
|
192
|
+
SvgPlayer,
|
|
193
|
+
animateCount,
|
|
194
|
+
parseSvg,
|
|
195
|
+
svgDuration,
|
|
196
|
+
svgView
|
|
197
|
+
} from "./chunk-JETRHCP3.js";
|
|
198
|
+
import {
|
|
199
|
+
ManualClock,
|
|
200
|
+
jitter,
|
|
201
|
+
pageHidden,
|
|
202
|
+
realClock
|
|
203
|
+
} from "./chunk-WMZQCUFJ.js";
|
|
190
204
|
import {
|
|
191
205
|
EASES,
|
|
192
206
|
SCRAMBLE_MS,
|
|
193
|
-
SCROLL_RANGE,
|
|
194
207
|
STEP_MS,
|
|
195
208
|
SVG_PICTURE,
|
|
196
|
-
SvgPlayer,
|
|
197
|
-
animateCount,
|
|
198
209
|
defaultDataKey,
|
|
199
210
|
formatCount,
|
|
200
211
|
lerpAttr,
|
|
201
212
|
lerpData,
|
|
202
|
-
|
|
213
|
+
morphPaths,
|
|
214
|
+
morphSequence,
|
|
203
215
|
stepData,
|
|
204
216
|
stepProgress,
|
|
205
217
|
stepStart,
|
|
206
|
-
svgDuration,
|
|
207
218
|
svgFrame,
|
|
208
219
|
svgMotionIssues,
|
|
209
220
|
svgOpeningTag,
|
|
210
|
-
svgView,
|
|
211
221
|
writtenText
|
|
212
|
-
} from "./chunk-
|
|
213
|
-
import {
|
|
214
|
-
ManualClock,
|
|
215
|
-
jitter,
|
|
216
|
-
pageHidden,
|
|
217
|
-
realClock
|
|
218
|
-
} from "./chunk-WMZQCUFJ.js";
|
|
219
|
-
import {
|
|
220
|
-
morphPaths,
|
|
221
|
-
morphSequence
|
|
222
|
-
} from "./chunk-ORAFCHX3.js";
|
|
222
|
+
} from "./chunk-VKIDRHBG.js";
|
|
223
223
|
|
|
224
224
|
// src/time/retiming.ts
|
|
225
225
|
function loopTime(t, duration, start = 0) {
|
package/dist/node.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as ControlValue } from './controls-Ec6P0Vpy.js';
|
|
2
2
|
import { S as SvgMotion } from './svg-DaKRPA9v.js';
|
|
3
|
-
import { E as EffectDefinition, V as VectorEffect } from './types-
|
|
3
|
+
import { E as EffectDefinition, V as VectorEffect } from './types-c8cnPzuE.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Finds a local Chrome or Chromium executable, or `null`: `CHROME_PATH` (or
|
package/dist/node.js
CHANGED
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
exportEffect,
|
|
3
3
|
nodeSubjectValues,
|
|
4
4
|
vectorTimeline
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6ZG2RIWA.js";
|
|
6
6
|
import {
|
|
7
7
|
exportMotionGraphic,
|
|
8
8
|
ffmpegPath,
|
|
9
9
|
findChrome,
|
|
10
10
|
planOutput
|
|
11
11
|
} from "./chunk-7KYQ4R76.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-N5HXMQOK.js";
|
|
13
|
+
import "./chunk-MOLJPWME.js";
|
|
14
|
+
import "./chunk-ARYM5VEJ.js";
|
|
15
15
|
import "./chunk-SMR2MJXB.js";
|
|
16
16
|
import "./chunk-HDYBY3PQ.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-4FFBIVPI.js";
|
|
18
18
|
import "./chunk-EHDJ3CPJ.js";
|
|
19
19
|
import "./chunk-VYOMXE6I.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-JETRHCP3.js";
|
|
21
21
|
import "./chunk-WMZQCUFJ.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-VKIDRHBG.js";
|
|
23
23
|
export {
|
|
24
24
|
exportEffect,
|
|
25
25
|
exportMotionGraphic,
|
package/dist/react/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as react from 'react';
|
|
|
2
2
|
import { HTMLAttributes } from 'react';
|
|
3
3
|
import { C as ControlValue } from '../controls-Ec6P0Vpy.js';
|
|
4
4
|
import { S as SvgMotion, a as SvgTrigger, C as Clock, b as SvgPlayer } from '../svg-DaKRPA9v.js';
|
|
5
|
-
import { E as EffectDefinition, V as VectorEffect$1 } from '../types-
|
|
5
|
+
import { E as EffectDefinition, V as VectorEffect$1 } from '../types-c8cnPzuE.js';
|
|
6
6
|
import { EffectSubject } from '../embed/index.js';
|
|
7
7
|
import '../renderer-tk1nbVkW.js';
|
|
8
8
|
import '../frames-CGJudAbu.js';
|
package/dist/react/index.js
CHANGED
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
svgFrameMarkup,
|
|
3
3
|
svgInlineLayout,
|
|
4
4
|
svgViewBox
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-MOLJPWME.js";
|
|
6
6
|
import {
|
|
7
7
|
mountEffect
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-ARYM5VEJ.js";
|
|
9
9
|
import "../chunk-SMR2MJXB.js";
|
|
10
10
|
import "../chunk-HDYBY3PQ.js";
|
|
11
11
|
import {
|
|
12
12
|
effectDefaults,
|
|
13
13
|
getEffect,
|
|
14
14
|
renderVectorEffect
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-4FFBIVPI.js";
|
|
16
16
|
import "../chunk-EHDJ3CPJ.js";
|
|
17
17
|
import "../chunk-VYOMXE6I.js";
|
|
18
18
|
import {
|
|
19
19
|
SvgPlayer
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-JETRHCP3.js";
|
|
21
21
|
import "../chunk-WMZQCUFJ.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-VKIDRHBG.js";
|
|
23
23
|
|
|
24
24
|
// src/react/index.tsx
|
|
25
25
|
import {
|
package/dist/svelte/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ActionReturn } from 'svelte/action';
|
|
2
2
|
import { C as ControlValue } from '../controls-Ec6P0Vpy.js';
|
|
3
3
|
import { a as SvgTrigger, C as Clock, b as SvgPlayer, S as SvgMotion } from '../svg-DaKRPA9v.js';
|
|
4
|
-
import { E as EffectDefinition, V as VectorEffect } from '../types-
|
|
4
|
+
import { E as EffectDefinition, V as VectorEffect } from '../types-c8cnPzuE.js';
|
|
5
5
|
import { EffectSubject } from '../embed/index.js';
|
|
6
6
|
import '../renderer-tk1nbVkW.js';
|
|
7
7
|
import '../frames-CGJudAbu.js';
|
package/dist/svelte/index.js
CHANGED
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
svgFrameMarkup,
|
|
3
3
|
svgInlineLayout,
|
|
4
4
|
svgViewBox
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-MOLJPWME.js";
|
|
6
6
|
import {
|
|
7
7
|
mountEffect
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-ARYM5VEJ.js";
|
|
9
9
|
import "../chunk-SMR2MJXB.js";
|
|
10
10
|
import "../chunk-HDYBY3PQ.js";
|
|
11
11
|
import {
|
|
12
12
|
effectDefaults,
|
|
13
13
|
getEffect,
|
|
14
14
|
renderVectorEffect
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-4FFBIVPI.js";
|
|
16
16
|
import "../chunk-EHDJ3CPJ.js";
|
|
17
17
|
import "../chunk-VYOMXE6I.js";
|
|
18
18
|
import {
|
|
19
19
|
SvgPlayer
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-JETRHCP3.js";
|
|
21
21
|
import "../chunk-WMZQCUFJ.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-VKIDRHBG.js";
|
|
23
23
|
|
|
24
24
|
// src/svelte/index.ts
|
|
25
25
|
var CAP_HEIGHT = "0.72em";
|
|
@@ -2,7 +2,7 @@ import { C as ControlValue, a as ControlDef } from './controls-Ec6P0Vpy.js';
|
|
|
2
2
|
import { S as SvgMotion, a as SvgTrigger } from './svg-DaKRPA9v.js';
|
|
3
3
|
|
|
4
4
|
/** What an effect is for, used to group the catalog. */
|
|
5
|
-
type EffectCategory = "gradient" | "organic" | "pattern" | "light" | "lighting" | "space" | "retro" | "image" | "overlay" | "text" | "morph" | "interaction" | "pyrotechnics" | "timewarp" | "melt" | "electric" | "splatter" | "bubble" | "sticker" | "trail" | "particles" | "debris" | "impact" | "comic" | "atmosphere" | "glow" | "shadow" | "distortion" | "audio" | "scroll" | "broadcast" | "annotation" | "ui" | "transition" | "loader" | "data" | "icon";
|
|
5
|
+
type EffectCategory = "gradient" | "organic" | "pattern" | "light" | "lighting" | "space" | "retro" | "image" | "overlay" | "text" | "morph" | "interaction" | "pyrotechnics" | "timewarp" | "melt" | "electric" | "splatter" | "bubble" | "sticker" | "trail" | "particles" | "debris" | "impact" | "comic" | "atmosphere" | "glow" | "shadow" | "distortion" | "audio" | "scroll" | "broadcast" | "annotation" | "ui" | "3d" | "weather" | "water" | "transition" | "loader" | "data" | "icon";
|
|
6
6
|
/** Every category, in the order the catalog lists them. */
|
|
7
7
|
declare const EFFECT_CATEGORIES: readonly EffectCategory[];
|
|
8
8
|
/**
|
package/dist/vector/index.js
CHANGED
|
@@ -7,41 +7,41 @@ import {
|
|
|
7
7
|
} from "../chunk-H6L67KHI.js";
|
|
8
8
|
import {
|
|
9
9
|
svgAnimatedMarkup
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-N5HXMQOK.js";
|
|
11
11
|
import {
|
|
12
12
|
parseViewBox,
|
|
13
13
|
svgFrameMarkup,
|
|
14
14
|
svgInlineLayout,
|
|
15
15
|
svgViewBox
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-MOLJPWME.js";
|
|
17
|
+
import {
|
|
18
|
+
SCROLL_RANGE,
|
|
19
|
+
SvgPlayer,
|
|
20
|
+
animateCount,
|
|
21
|
+
parseSvg,
|
|
22
|
+
svgDuration,
|
|
23
|
+
svgView
|
|
24
|
+
} from "../chunk-JETRHCP3.js";
|
|
25
|
+
import "../chunk-WMZQCUFJ.js";
|
|
17
26
|
import {
|
|
18
27
|
EASES,
|
|
19
28
|
SCRAMBLE_MS,
|
|
20
|
-
SCROLL_RANGE,
|
|
21
29
|
STEP_MS,
|
|
22
30
|
SVG_PICTURE,
|
|
23
|
-
SvgPlayer,
|
|
24
|
-
animateCount,
|
|
25
31
|
defaultDataKey,
|
|
26
32
|
formatCount,
|
|
27
33
|
lerpAttr,
|
|
28
34
|
lerpData,
|
|
29
|
-
|
|
35
|
+
morphPaths,
|
|
36
|
+
morphSequence,
|
|
30
37
|
stepData,
|
|
31
38
|
stepProgress,
|
|
32
39
|
stepStart,
|
|
33
|
-
svgDuration,
|
|
34
40
|
svgFrame,
|
|
35
41
|
svgMotionIssues,
|
|
36
42
|
svgOpeningTag,
|
|
37
|
-
svgView,
|
|
38
43
|
writtenText
|
|
39
|
-
} from "../chunk-
|
|
40
|
-
import "../chunk-WMZQCUFJ.js";
|
|
41
|
-
import {
|
|
42
|
-
morphPaths,
|
|
43
|
-
morphSequence
|
|
44
|
-
} from "../chunk-ORAFCHX3.js";
|
|
44
|
+
} from "../chunk-VKIDRHBG.js";
|
|
45
45
|
export {
|
|
46
46
|
EASES,
|
|
47
47
|
SCRAMBLE_MS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixerate/flair",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.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",
|