@material/line-ripple
Advanced tools
Comparing version 15.0.0-canary.311ab4d4a.0 to 15.0.0-canary.311f29a60.0
@@ -48,7 +48,7 @@ /** | ||
*/ | ||
registerEventHandler<K extends EventType>(evtType: K, handler: SpecificEventListener<K>): void; | ||
registerEventHandler<K extends EventType>(eventType: K, handler: SpecificEventListener<K>): void; | ||
/** | ||
* Deregisters an event listener on the line ripple element for a given event. | ||
*/ | ||
deregisterEventHandler<K extends EventType>(evtType: K, handler: SpecificEventListener<K>): void; | ||
deregisterEventHandler<K extends EventType>(eventType: K, handler: SpecificEventListener<K>): void; | ||
} |
@@ -6,3 +6,3 @@ # Change Log | ||
# [15.0.0-canary.311ab4d4a.0](https://github.com/material-components/material-components-web/compare/v14.0.0...v15.0.0-canary.311ab4d4a.0) (2023-02-27) | ||
# [15.0.0-canary.311f29a60.0](https://github.com/material-components/material-components-web/compare/v14.0.0...v15.0.0-canary.311f29a60.0) (2024-04-23) | ||
@@ -17,2 +17,4 @@ | ||
* **lineripple:** Extract `static-styles` mixin ([112715d](https://github.com/material-components/material-components-web/commit/112715df5ae369f78b6ef12fe4aa88debb451ef2)) | ||
* **lineripple:** Extract `theme-styles` mixin ([1c8013f](https://github.com/material-components/material-components-web/commit/1c8013f4e7f2b10ce1473177ec0f377da4592295)) | ||
* **textfield:** Ensure Theming API feature consistency ([7134a77](https://github.com/material-components/material-components-web/commit/7134a7752e5d06837e1eb3da7f2b49d6ba9fb72c)) |
@@ -71,7 +71,7 @@ /** | ||
}, | ||
registerEventHandler: function (evtType, handler) { | ||
_this.listen(evtType, handler); | ||
registerEventHandler: function (eventType, handler) { | ||
_this.listen(eventType, handler); | ||
}, | ||
deregisterEventHandler: function (evtType, handler) { | ||
_this.unlisten(evtType, handler); | ||
deregisterEventHandler: function (eventType, handler) { | ||
_this.unlisten(eventType, handler); | ||
}, | ||
@@ -78,0 +78,0 @@ }; |
@@ -43,4 +43,4 @@ /** | ||
deactivate(): void; | ||
handleTransitionEnd(evt: TransitionEvent): void; | ||
handleTransitionEnd(event: TransitionEvent): void; | ||
} | ||
export default MDCLineRippleFoundation; |
@@ -31,4 +31,4 @@ /** | ||
var _this = _super.call(this, __assign(__assign({}, MDCLineRippleFoundation.defaultAdapter), adapter)) || this; | ||
_this.transitionEndHandler = function (evt) { | ||
_this.handleTransitionEnd(evt); | ||
_this.transitionEndHandler = function (event) { | ||
_this.handleTransitionEnd(event); | ||
}; | ||
@@ -80,7 +80,7 @@ return _this; | ||
}; | ||
MDCLineRippleFoundation.prototype.handleTransitionEnd = function (evt) { | ||
MDCLineRippleFoundation.prototype.handleTransitionEnd = function (event) { | ||
// Wait for the line ripple to be either transparent or opaque | ||
// before emitting the animation end event | ||
var isDeactivating = this.adapter.hasClass(cssClasses.LINE_RIPPLE_DEACTIVATING); | ||
if (evt.propertyName === 'opacity') { | ||
if (event.propertyName === 'opacity') { | ||
if (isDeactivating) { | ||
@@ -87,0 +87,0 @@ this.adapter.removeClass(cssClasses.LINE_RIPPLE_ACTIVE); |
{ | ||
"name": "@material/line-ripple", | ||
"description": "The Material Components for the web line-ripple component", | ||
"version": "15.0.0-canary.311ab4d4a.0", | ||
"version": "15.0.0-canary.311f29a60.0", | ||
"license": "MIT", | ||
@@ -24,9 +24,9 @@ "keywords": [ | ||
"dependencies": { | ||
"@material/animation": "15.0.0-canary.311ab4d4a.0", | ||
"@material/base": "15.0.0-canary.311ab4d4a.0", | ||
"@material/feature-targeting": "15.0.0-canary.311ab4d4a.0", | ||
"@material/theme": "15.0.0-canary.311ab4d4a.0", | ||
"@material/animation": "15.0.0-canary.311f29a60.0", | ||
"@material/base": "15.0.0-canary.311f29a60.0", | ||
"@material/feature-targeting": "15.0.0-canary.311f29a60.0", | ||
"@material/theme": "15.0.0-canary.311f29a60.0", | ||
"tslib": "^2.1.0" | ||
}, | ||
"gitHead": "07f8d2f7bb4b2f30e60a6bd8739befd9d17bfbfc" | ||
"gitHead": "7bc0264e163e842f0f96c1dbf7a468c022db1497" | ||
} |
@@ -89,4 +89,4 @@ <!--docs: | ||
`setStyle(propertyName: string, value: string) => void` | Sets the style property with `propertyName` to `value` on the root element. | ||
`registerEventHandler(evtType: EventType, handler: EventListener) => void` | Registers an event listener on the root element for a given event. | ||
`deregisterEventHandler(evtType: EventType, handler: EventListener) => void` | Deregisters an event listener on the root element for a given event. | ||
`registerEventHandler(eventType: EventType, handler: EventListener) => void` | Registers an event listener on the root element for a given event. | ||
`deregisterEventHandler(eventType: EventType, handler: EventListener) => void` | Deregisters an event listener on the root element for a given event. | ||
@@ -100,2 +100,2 @@ ### `MDCLineRippleFoundation` | ||
`setRippleCenter(xCoordinate: number) => void` | Sets the center of the ripple to the `xCoordinate` given. | ||
`handleTransitionEnd(evt: Event) => void` | Handles a `transitionend` event. | ||
`handleTransitionEnd(event: Event) => void` | Handles a `transitionend` event. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
479269
35
0
+ Added@material/animation@15.0.0-canary.311f29a60.0(transitive)
+ Added@material/base@15.0.0-canary.311f29a60.0(transitive)
+ Added@material/feature-targeting@15.0.0-canary.311f29a60.0(transitive)
+ Added@material/theme@15.0.0-canary.311f29a60.0(transitive)
- Removed@material/animation@15.0.0-canary.311ab4d4a.0(transitive)
- Removed@material/base@15.0.0-canary.311ab4d4a.0(transitive)
- Removed@material/feature-targeting@15.0.0-canary.311ab4d4a.0(transitive)
- Removed@material/theme@15.0.0-canary.311ab4d4a.0(transitive)
Updated@material/feature-targeting@15.0.0-canary.311f29a60.0