@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.
- package/.circleci/config.yml +8 -12
- package/README.md +1 -1
- package/dw-ripple.js +2 -2
- package/index.html +1 -1
- package/package.json +3 -3
package/.circleci/config.yml
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
version: 2
|
|
1
|
+
version: 2.1
|
|
2
2
|
jobs:
|
|
3
3
|
release-snapshot:
|
|
4
4
|
docker:
|
|
5
|
-
- image:
|
|
5
|
+
- image: cimg/node:lts
|
|
6
6
|
steps:
|
|
7
7
|
- checkout
|
|
8
|
-
- run: yarn install --
|
|
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:
|
|
17
|
+
- image: cimg/node:lts
|
|
19
18
|
steps:
|
|
20
19
|
- checkout
|
|
21
|
-
- run: yarn install --
|
|
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
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dreamworld/dw-ripple",
|
|
3
|
-
"version": "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.
|
|
22
|
-
"lit
|
|
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",
|