@justeattakeaway/pie-lottie-player 0.2.2 → 0.2.4

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": "{\r\n loopDisabled: false,\r\n autoPlayDisabled: false,\r\n speed: 1,\r\n direction: 'forward',\r\n}"
29
+ "default": "{\n loopDisabled: false,\n autoPlayDisabled: false,\n speed: 1,\n direction: 'forward',\n}"
30
30
  }
31
31
  ],
32
32
  "exports": [
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.2.2";
9
+ d.v = "0.2.4";
10
10
  let p = d;
11
11
  const v = ["forward", "reverse"], l = {
12
12
  loopDisabled: !1,
package/package.json CHANGED
@@ -1,7 +1,13 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-lottie-player",
3
3
  "description": "PIE Design System Lottie Player built using Web Components",
4
- "version": "0.2.2",
4
+ "version": "0.2.4",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/justeattakeaway/pie",
8
+ "directory": "packages/components/pie-lottie-player"
9
+ },
10
+ "homepage": "https://webc.pie.design/?path=/docs/components-lottie-player--overview",
5
11
  "type": "module",
6
12
  "main": "dist/index.js",
7
13
  "module": "dist/index.js",
package/src/index.ts CHANGED
@@ -8,6 +8,9 @@ import { type LottiePlayer, type AnimationItem } from 'lottie-web';
8
8
  import { safeCustomElement } from '@justeattakeaway/pie-webc-core';
9
9
  import { type LottiePlayerProps, defaultProps } from './defs';
10
10
 
11
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
12
+ import styles from './lottie-player.scss?inline';
13
+
11
14
  // Valid values available to consumers
12
15
  export * from './defs';
13
16
 
@@ -0,0 +1,3 @@
1
+ :host {
2
+ display: block;
3
+ }