@justeattakeaway/pie-lottie-player 0.4.1 → 0.4.3

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.
@@ -26,7 +26,7 @@
26
26
  "type": {
27
27
  "text": "DefaultProps"
28
28
  },
29
- "default": "{\n loopDisabled: false,\n autoPlayDisabled: false,\n speed: 1,\n direction: 'forward',\n}"
29
+ "default": "{ loopDisabled: false, autoPlayDisabled: false, speed: 1, direction: 'forward', }"
30
30
  }
31
31
  ],
32
32
  "exports": [
@@ -140,30 +140,39 @@
140
140
  },
141
141
  {
142
142
  "kind": "field",
143
- "name": "animationSrc"
143
+ "name": "animationSrc",
144
+ "attribute": "animationSrc",
145
+ "reflects": true
144
146
  },
145
147
  {
146
148
  "kind": "field",
147
- "name": "animationData"
149
+ "name": "animationData",
150
+ "attribute": "animationData"
148
151
  },
149
152
  {
150
153
  "kind": "field",
151
- "name": "autoPlayDisabled"
154
+ "name": "autoPlayDisabled",
155
+ "attribute": "autoPlayDisabled"
152
156
  },
153
157
  {
154
158
  "kind": "field",
155
- "name": "loopDisabled"
159
+ "name": "loopDisabled",
160
+ "attribute": "loopDisabled"
156
161
  },
157
162
  {
158
163
  "kind": "field",
159
- "name": "speed"
164
+ "name": "speed",
165
+ "attribute": "speed",
166
+ "reflects": true
160
167
  },
161
168
  {
162
169
  "kind": "field",
163
170
  "name": "direction",
164
171
  "type": {
165
172
  "text": "LottiePlayerProps['direction']"
166
- }
173
+ },
174
+ "attribute": "direction",
175
+ "reflects": true
167
176
  },
168
177
  {
169
178
  "kind": "method",
@@ -193,6 +202,35 @@
193
202
  "description": "Stops the animation"
194
203
  }
195
204
  ],
205
+ "attributes": [
206
+ {
207
+ "name": "animationSrc",
208
+ "fieldName": "animationSrc"
209
+ },
210
+ {
211
+ "name": "animationData",
212
+ "fieldName": "animationData"
213
+ },
214
+ {
215
+ "name": "autoPlayDisabled",
216
+ "fieldName": "autoPlayDisabled"
217
+ },
218
+ {
219
+ "name": "loopDisabled",
220
+ "fieldName": "loopDisabled"
221
+ },
222
+ {
223
+ "name": "speed",
224
+ "fieldName": "speed"
225
+ },
226
+ {
227
+ "name": "direction",
228
+ "type": {
229
+ "text": "LottiePlayerProps['direction']"
230
+ },
231
+ "fieldName": "direction"
232
+ }
233
+ ],
196
234
  "superclass": {
197
235
  "name": "PieElement",
198
236
  "package": "@justeattakeaway/pie-webc-core/src/internals/PieElement"
@@ -207,7 +245,7 @@
207
245
  "name": "*",
208
246
  "declaration": {
209
247
  "name": "*",
210
- "package": "./defs"
248
+ "module": "src/defs"
211
249
  }
212
250
  },
213
251
  {
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ const d = class d extends m {
6
6
  this.getAttribute("v") || this.setAttribute("v", d.v);
7
7
  }
8
8
  };
9
- d.v = "0.4.1";
9
+ d.v = "0.4.3";
10
10
  let p = d;
11
11
  const A = ["forward", "reverse"], l = {
12
12
  loopDisabled: !1,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-lottie-player",
3
3
  "description": "PIE Design System Lottie Player built using Web Components",
4
- "version": "0.4.1",
4
+ "version": "0.4.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/justeattakeaway/pie",
@@ -27,7 +27,7 @@
27
27
  "scripts": {
28
28
  "build": "run -T vite build",
29
29
  "build:react-wrapper": "npx build-react-wrapper",
30
- "create:manifest": "yarn cem analyze --litelement",
30
+ "create:manifest": "run -T cem analyze --litelement",
31
31
  "lint:scripts": "run -T eslint .",
32
32
  "lint:scripts:fix": "yarn lint:scripts --fix",
33
33
  "watch": "run -T vite build --watch",
@@ -39,11 +39,9 @@
39
39
  "author": "Just Eat Takeaway.com - Design System Team",
40
40
  "license": "Apache-2.0",
41
41
  "devDependencies": {
42
- "@custom-elements-manifest/analyzer": "0.9.0",
43
- "@justeattakeaway/pie-components-config": "0.21.0",
44
- "@justeattakeaway/pie-css": "1.1.0",
45
- "@justeattakeaway/pie-monorepo-utils": "0.9.0",
46
- "cem-plugin-module-file-extensions": "0.0.5"
42
+ "@justeattakeaway/pie-components-config": "0.21.2",
43
+ "@justeattakeaway/pie-css": "1.1.1",
44
+ "@justeattakeaway/pie-monorepo-utils": "0.9.1"
47
45
  },
48
46
  "dependencies": {
49
47
  "@justeattakeaway/pie-webc-core": "14.0.1",