@pixodesk/svg-animator-web 1.0.41 → 1.0.44

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.
@@ -35,6 +35,7 @@
35
35
  "clipPath",
36
36
  "clone",
37
37
  "closed",
38
+ "code",
38
39
  "color",
39
40
  "config",
40
41
  "container",
@@ -42,14 +43,15 @@
42
43
  "copies",
43
44
  "create",
44
45
  "d",
46
+ "data",
45
47
  "date",
46
48
  "debugGlobalName",
47
49
  "definitions",
48
50
  "defs",
49
51
  "delay",
50
52
  "destroy",
51
- "detail",
52
53
  "direction",
54
+ "dispose",
53
55
  "distance",
54
56
  "doc",
55
57
  "domType",
@@ -70,7 +72,6 @@
70
72
  "fillGradient",
71
73
  "fillMode",
72
74
  "finish",
73
- "finishAction",
74
75
  "flatnessTolerance",
75
76
  "focal",
76
77
  "fontFamily",
@@ -80,6 +81,7 @@
80
81
  "fraction",
81
82
  "frameRate",
82
83
  "from",
84
+ "getAll",
83
85
  "getCurrentProgress",
84
86
  "getCurrentTime",
85
87
  "getRootElement",
@@ -116,12 +118,14 @@
116
118
  "method",
117
119
  "mode",
118
120
  "motionPath",
121
+ "mouseOut",
119
122
  "muteError",
120
123
  "muteWarn",
121
124
  "nextId",
122
125
  "note",
123
126
  "now",
124
127
  "o",
128
+ "offScreen",
125
129
  "offset",
126
130
  "ok",
127
131
  "onCancel",
@@ -137,7 +141,6 @@
137
141
  "openValue",
138
142
  "optional",
139
143
  "origin",
140
- "outAction",
141
144
  "pathD",
142
145
  "pathData",
143
146
  "pathOverflow",
@@ -163,6 +166,7 @@
163
166
  "removed",
164
167
  "repeatAt",
165
168
  "repeater",
169
+ "requestStart",
166
170
  "requiredKind",
167
171
  "requiredVersion",
168
172
  "resetOnFinish",
@@ -178,7 +182,6 @@
178
182
  "sanitize",
179
183
  "scale",
180
184
  "scroll",
181
- "scrollIntoViewThreshold",
182
185
  "seek",
183
186
  "segmentCount",
184
187
  "setAttribute",
@@ -194,7 +197,6 @@
194
197
  "src",
195
198
  "start",
196
199
  "startOffset",
197
- "startOn",
198
200
  "startShift",
199
201
  "steps",
200
202
  "stop",
@@ -206,6 +208,7 @@
206
208
  "style",
207
209
  "subPaths",
208
210
  "subject",
211
+ "subscribe",
209
212
  "t",
210
213
  "tangentIn",
211
214
  "tangentOut",
@@ -235,6 +238,8 @@
235
238
  "version",
236
239
  "view",
237
240
  "viewBox",
241
+ "visibilityDebounce",
242
+ "visibilityThreshold",
238
243
  "warn",
239
244
  "warnings",
240
245
  "width",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixodesk/svg-animator-web",
3
- "version": "1.0.41",
3
+ "version": "1.0.44",
4
4
  "description": "Pixodesk SVG animator for web browsers",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -33,7 +33,7 @@
33
33
  "mangle-reserved.json"
34
34
  ],
35
35
  "dependencies": {
36
- "@pixodesk/svg-animator-core": "^1.0.41"
36
+ "@pixodesk/svg-animator-core": "^1.0.44"
37
37
  },
38
38
  "devDependencies": {
39
39
  "eslint": "^9.0.0",
@@ -1,42 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __defProps = Object.defineProperties;
3
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
7
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
- var __spreadValues = (a, b) => {
9
- for (var prop in b || (b = {}))
10
- if (__hasOwnProp.call(b, prop))
11
- __defNormalProp(a, prop, b[prop]);
12
- if (__getOwnPropSymbols)
13
- for (var prop of __getOwnPropSymbols(b)) {
14
- if (__propIsEnum.call(b, prop))
15
- __defNormalProp(a, prop, b[prop]);
16
- }
17
- return a;
18
- };
19
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- var __objRest = (source, exclude) => {
21
- var target = {};
22
- for (var prop in source)
23
- if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
24
- target[prop] = source[prop];
25
- if (source != null && __getOwnPropSymbols)
26
- for (var prop of __getOwnPropSymbols(source)) {
27
- if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
28
- target[prop] = source[prop];
29
- }
30
- return target;
31
- };
32
-
33
- // src/shared/PxAnimatorKeys.ts
34
- var PX_ANIMATOR_DOC_KEY = "doc";
35
-
36
- export {
37
- __spreadValues,
38
- __spreadProps,
39
- __objRest,
40
- PX_ANIMATOR_DOC_KEY
41
- };
42
- //# sourceMappingURL=chunk-BYDBNKO7.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/shared/PxAnimatorKeys.ts"],"sourcesContent":["/*---------------------------------------------------------------------------------------\n * Copyright (c) Pixodesk LTD.\n * Licensed under the MIT License. See the LICENSE file in the project root for details.\n *---------------------------------------------------------------------------------------*/\n\n/**\n * Wire keys shared by every entry point.\n *\n * These live here rather than in `PxAnimator.ts` on purpose: that module used to end with a\n * top-level `if (typeof window !== 'undefined')` block publishing `createAnimator` /\n * `loadTagAnimators` as globals. A module-level side effect cannot be tree-shaken, so\n * importing ANY symbol from `PxAnimator.ts` pulled the entire full player in with it —\n * which silently made the pre-rendered builds the same size as the full one until this\n * constant was moved out. See dev-docs/plans/prerendered-player-builds.md.\n *\n * That block is gone (API review §4) and the package now declares `\"sideEffects\": false`, but\n * keeping these here costs nothing and removes the trap for good.\n */\n\n/**\n * Key under which `createAnimator` options carry the inline animation document. The editor\n * writes it into every exported SVG+JS — `createAnimator({\"doc\": …})` — so it is part of the\n * export format, which is why it is a named constant and not a literal.\n * @internal\n */\nexport const PX_ANIMATOR_DOC_KEY = 'doc';\n\n/** Key under which `createAnimator` options carry the per-instance `timeline` override. */\nexport const PX_ANIMATOR_TIMELINE_KEY = 'timeline';\n\n/** Key that makes the override start from the player's default timeline instead of the document's. */\nexport const PX_ANIMATOR_RESET_KEY = 'resetTimeline';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBO,IAAM,sBAAsB;","names":[]}
@@ -1 +0,0 @@
1
- var e=Object.defineProperty,r=Object.defineProperties,t=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,n=(r,t,o)=>t in r?e(r,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[t]=o,c=(e,r)=>{for(var t in r||(r={}))a.call(r,t)&&n(e,t,r[t]);if(o)for(var t of o(r))l.call(r,t)&&n(e,t,r[t]);return e},f=(e,o)=>r(e,t(o)),i=(e,r)=>{var t={};for(var n in e)a.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&o)for(var n of o(e))r.indexOf(n)<0&&l.call(e,n)&&(t[n]=e[n]);return t},p="doc";export{c as __spreadValues,f as __spreadProps,i as __objRest,p as PX_ANIMATOR_DOC_KEY};