@rmwc/ripple
Advanced tools
Comparing version 2.0.0-alpha.7 to 2.0.0
@@ -105,3 +105,10 @@ 'use strict'; | ||
constructor: _mdc.MDCRipple, | ||
adapter: {} | ||
adapter: { | ||
addClass: function addClass(className) { | ||
return this.root_ && this.root_.classList.add(className); | ||
}, | ||
removeClass: function removeClass(className) { | ||
return this.root_ && this.root_.classList.remove(className); | ||
} | ||
} | ||
})); | ||
@@ -108,0 +115,0 @@ |
{ | ||
"name": "@rmwc/ripple", | ||
"version": "2.0.0-alpha.7", | ||
"version": "2.0.0", | ||
"description": "RMWC Ripple component", | ||
@@ -30,5 +30,5 @@ "main": "index.js", | ||
"@material/ripple": "~0.39.0", | ||
"@rmwc/base": "^2.0.0-alpha.7", | ||
"@rmwc/base": "^2.0.0", | ||
"classnames": "^2.2.5" | ||
} | ||
} |
@@ -6,3 +6,3 @@ # Ripples | ||
- import from **'@rmwc/ripple'**; | ||
- import styles: | ||
- Import styles: | ||
- import **'@material/ripple/dist/mdc.ripple.css'**; | ||
@@ -9,0 +9,0 @@ - MDC Docs: [https://material.io/develop/web/components/ripples/](https://material.io/develop/web/components/ripples/) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
20243
368
2
Updated@rmwc/base@^2.0.0