@dreamworld/dw-ripple 2.2.2 → 2.2.3-kerika.1

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.
@@ -1,12 +1,11 @@
1
- version: 2
1
+ version: 2.1
2
2
  jobs:
3
3
  release-snapshot:
4
4
  docker:
5
- - image: circleci/node:lts
5
+ - image: cimg/node:lts
6
6
  steps:
7
7
  - checkout
8
- - run: yarn install --production=true --flat --non-ineractive
9
- - run: yarn install --production=false --non-interactive
8
+ - run: yarn install --frozen-lockfile --non-ineractive
10
9
  - run:
11
10
  name: Deploy
12
11
  command: |
@@ -15,19 +14,16 @@ jobs:
15
14
  npx semantic-release
16
15
  release:
17
16
  docker:
18
- - image: circleci/node:lts
17
+ - image: cimg/node:lts
19
18
  steps:
20
19
  - checkout
21
- - run: yarn install --production=true --flat --non-ineractive
22
- - run: yarn install --production=false --non-interactive
20
+ - run: yarn install --frozen-lockfile --non-ineractive
23
21
  - run: echo "Running release job"
24
22
  - run:
25
23
  name: Deploy
26
24
  command: npx semantic-release
27
25
 
28
-
29
26
  workflows:
30
- version: 2
31
27
  release:
32
28
  jobs:
33
29
  - release-snapshot:
@@ -39,6 +35,6 @@ workflows:
39
35
  - release:
40
36
  context: Dreamworld
41
37
  filters:
42
- branches:
43
- only:
44
- - master
38
+ branches:
39
+ only:
40
+ - master
package/README.md CHANGED
@@ -47,4 +47,4 @@ By default ripple is shown in `--mdc-theme-on-surface`. That should be ok for mo
47
47
  special place, set said CSS property to any other color.
48
48
 
49
49
 
50
- it's opacity can't be configured as of now. If needed please raise a feature request.
50
+ it's opacity can't be configured as of now. If needed please raise a feature request.
package/dw-ripple.js CHANGED
@@ -1,4 +1,4 @@
1
- import { css } from 'lit-element';
1
+ import { css } from 'lit';
2
2
 
3
3
  // These are the mwc element needed by this element.
4
4
  import { Ripple } from '@material/mwc-ripple';
@@ -72,7 +72,7 @@ export class DwRipple extends Ripple {
72
72
  parent.addEventListener('mouseenter', this._rippleHander.startHover);
73
73
  parent.addEventListener('mouseleave', this._rippleHander.endHover);
74
74
  parent.addEventListener('mousedown', this.__onMouseDown);
75
- parent.addEventListener('touchstart', this.__onTouchStart);
75
+ parent.addEventListener('touchstart', this.__onTouchStart, { passive: true });
76
76
  parent.addEventListener('focus', this._rippleHander.startFocus);
77
77
  parent.addEventListener('blur', this._rippleHander.endFocus);
78
78
  }
package/index.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <head>
3
3
  <meta http-equiv="refresh" content="0;url=/demo/" />
4
4
  </head>
5
- <body>
5
+ <body>
6
6
 
7
7
  </body>
8
8
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dreamworld/dw-ripple",
3
- "version": "2.2.2",
3
+ "version": "2.2.3-kerika.1",
4
4
  "description": "Ripple element created as child-class of [`mwc-ripple`] (https://github.com/material-components/material-components-web-components/tree/master/packages/ripple)",
5
5
  "main": "dw-ripple.js",
6
6
  "scripts": {
@@ -18,8 +18,8 @@
18
18
  },
19
19
  "homepage": "https://github.com/DreamworldSolutions/dw-ripple#readme",
20
20
  "dependencies": {
21
- "@material/mwc-ripple": "0.20.0",
22
- "lit-element": "^2.2.0"
21
+ "@material/mwc-ripple": "0.27.0",
22
+ "lit": "^3.3.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@dreamworld/material-styles": "^1.1.0",