Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@material/line-ripple

Package Overview
Dependencies
Maintainers
14
Versions
1663
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material/line-ripple - npm Package Compare versions

Comparing version 15.0.0-canary.446734f27.0 to 15.0.0-canary.453a6248a.0

4

adapter.d.ts

@@ -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.446734f27.0](https://github.com/material-components/material-components-web/compare/v14.0.0...v15.0.0-canary.446734f27.0) (2023-05-30)
# [15.0.0-canary.453a6248a.0](https://github.com/material-components/material-components-web/compare/v14.0.0...v15.0.0-canary.453a6248a.0) (2024-03-25)

@@ -9,0 +9,0 @@

@@ -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.446734f27.0",
"version": "15.0.0-canary.453a6248a.0",
"license": "MIT",

@@ -24,9 +24,9 @@ "keywords": [

"dependencies": {
"@material/animation": "15.0.0-canary.446734f27.0",
"@material/base": "15.0.0-canary.446734f27.0",
"@material/feature-targeting": "15.0.0-canary.446734f27.0",
"@material/theme": "15.0.0-canary.446734f27.0",
"@material/animation": "15.0.0-canary.453a6248a.0",
"@material/base": "15.0.0-canary.453a6248a.0",
"@material/feature-targeting": "15.0.0-canary.453a6248a.0",
"@material/theme": "15.0.0-canary.453a6248a.0",
"tslib": "^2.1.0"
},
"gitHead": "a2536a849aada5f06aa85deaa7be06f44f620023"
"gitHead": "1eea6443d63f2bc64fe8f6f86664b54266c41244"
}

@@ -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 too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc