@dreamworld/dw-ripple 3.0.0 → 3.0.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.
@@ -5,7 +5,7 @@ jobs:
5
5
  - image: circleci/node:lts
6
6
  steps:
7
7
  - checkout
8
- - run: yarn install --frozen-lockfile --non-interactive
8
+ - run: yarn install --frozen-lockfile --non-ineractive
9
9
  - run:
10
10
  name: Deploy
11
11
  command: |
@@ -17,7 +17,7 @@ jobs:
17
17
  - image: circleci/node:lts
18
18
  steps:
19
19
  - checkout
20
- - run: yarn install --frozen-lockfile --non-interactive
20
+ - run: yarn install --frozen-lockfile --non-ineractive
21
21
  - run: echo "Running release job"
22
22
  - run:
23
23
  name: Deploy
package/dw-ripple.js CHANGED
@@ -9,8 +9,20 @@ export class DwRipple extends Ripple {
9
9
  return [
10
10
  super.styles,
11
11
  css`
12
+ :host([disabled]) {
13
+ --mdc-theme-on-surface: transparent;
14
+ }
15
+
16
+ :host([primary]) {
17
+ --mdc-theme-on-surface: var(--mdc-theme-primary);
18
+ }
19
+
12
20
  :host([secondary]) {
13
- --mdc-ripple-color: var(--mdc-theme-secondary);
21
+ --mdc-theme-on-surface: var(--mdc-theme-secondary);
22
+ }
23
+
24
+ .mdc-ripple-surface::before, .mdc-ripple-surface::after {
25
+ background-color: var(--mdc-theme-on-surface, #000);
14
26
  }
15
27
  `,
16
28
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dreamworld/dw-ripple",
3
- "version": "3.0.0",
3
+ "version": "3.0.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": {