New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aurelia-mdc-web/ripple

Package Overview
Dependencies
Maintainers
1
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aurelia-mdc-web/ripple - npm Package Compare versions

Comparing version 7.1.4 to 8.0.0

62

dist/amd/mdc-ripple.js

@@ -6,3 +6,3 @@ define(["require", "exports", "tslib", "@aurelia-mdc-web/base", "@material/ripple", "@material/dom/ponyfill", "@material/dom/events", "aurelia-framework", "aurelia-typed-observable-plugin"], function (require, exports, tslib_1, base_1, ripple_1, ponyfill_1, events_1, aurelia_framework_1, aurelia_typed_observable_plugin_1) {

var MdcRipple = /** @class */ (function (_super) {
tslib_1.__extends(MdcRipple, _super);
(0, tslib_1.__extends)(MdcRipple, _super);
function MdcRipple() {

@@ -19,4 +19,4 @@ var _this = _super !== null && _super.apply(this, arguments) || this;

var _a;
return tslib_1.__awaiter(this, void 0, void 0, function () {
return tslib_1.__generator(this, function (_b) {
return (0, tslib_1.__awaiter)(this, void 0, void 0, function () {
return (0, tslib_1.__generator)(this, function (_b) {
switch (_b.label) {

@@ -34,5 +34,5 @@ case 0: return [4 /*yield*/, this.initialised];

var _a, _b, _c;
return tslib_1.__awaiter(this, void 0, void 0, function () {
return (0, tslib_1.__awaiter)(this, void 0, void 0, function () {
var inputBinding;
return tslib_1.__generator(this, function (_d) {
return (0, tslib_1.__generator)(this, function (_d) {
switch (_d.label) {

@@ -84,11 +84,11 @@ case 0:

containsEventTarget: function (target) { return _this.root.contains(target); },
deregisterDocumentInteractionHandler: function (evtType, handler) { return document.documentElement.removeEventListener(evtType, handler, events_1.applyPassive()); },
deregisterInteractionHandler: function (evtType, handler) { var _a; return ((_a = _this.input) !== null && _a !== void 0 ? _a : _this.root).removeEventListener(evtType, handler, events_1.applyPassive()); },
deregisterDocumentInteractionHandler: function (evtType, handler) { return document.documentElement.removeEventListener(evtType, handler, (0, events_1.applyPassive)()); },
deregisterInteractionHandler: function (evtType, handler) { var _a; return ((_a = _this.input) !== null && _a !== void 0 ? _a : _this.root).removeEventListener(evtType, handler, (0, events_1.applyPassive)()); },
deregisterResizeHandler: function (handler) { return window.removeEventListener('resize', handler); },
getWindowPageOffset: function () { return ({ x: window.pageXOffset, y: window.pageYOffset }); },
isSurfaceActive: function () { var _a; return _this.activeSurface && ponyfill_1.matches((_a = _this.input) !== null && _a !== void 0 ? _a : _this.root, ':active'); },
isSurfaceActive: function () { var _a; return _this.activeSurface && (0, ponyfill_1.matches)((_a = _this.input) !== null && _a !== void 0 ? _a : _this.root, ':active'); },
isSurfaceDisabled: function () { return _this.disabled; },
isUnbounded: function () { return _this.unbounded; },
registerDocumentInteractionHandler: function (evtType, handler) { return document.documentElement.addEventListener(evtType, handler, events_1.applyPassive()); },
registerInteractionHandler: function (evtType, handler) { var _a; return ((_a = _this.input) !== null && _a !== void 0 ? _a : _this.root).addEventListener(evtType, handler, events_1.applyPassive()); },
registerDocumentInteractionHandler: function (evtType, handler) { return document.documentElement.addEventListener(evtType, handler, (0, events_1.applyPassive)()); },
registerInteractionHandler: function (evtType, handler) { var _a; return ((_a = _this.input) !== null && _a !== void 0 ? _a : _this.root).addEventListener(evtType, handler, (0, events_1.applyPassive)()); },
registerResizeHandler: function (handler) { return window.addEventListener('resize', handler); },

@@ -101,41 +101,41 @@ removeClass: function (className) { var _a; return ((_a = _this.surface) !== null && _a !== void 0 ? _a : _this.root).classList.remove(className); },

MdcRipple.ATTRIBUTE_CLASS = 'mdc-ripple-enhanced';
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable,
tslib_1.__metadata("design:type", HTMLInputElement)
(0, tslib_1.__metadata)("design:type", HTMLInputElement)
], MdcRipple.prototype, "input", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable,
tslib_1.__metadata("design:type", HTMLElement)
(0, tslib_1.__metadata)("design:type", HTMLElement)
], MdcRipple.prototype, "surface", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable,
tslib_1.__metadata("design:type", Function)
(0, tslib_1.__metadata)("design:type", Function)
], MdcRipple.prototype, "computeBoundingRect", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.booleanAttr,
tslib_1.__metadata("design:type", Boolean)
(0, tslib_1.__metadata)("design:type", Boolean)
], MdcRipple.prototype, "disabled", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.booleanAttr,
tslib_1.__metadata("design:type", Boolean)
(0, tslib_1.__metadata)("design:type", Boolean)
], MdcRipple.prototype, "unbounded", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.booleanAttr,
tslib_1.__metadata("design:type", Boolean)
(0, tslib_1.__metadata)("design:type", Boolean)
], MdcRipple.prototype, "activeSurface", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.booleanAttr,
tslib_1.__metadata("design:type", Boolean)
(0, tslib_1.__metadata)("design:type", Boolean)
], MdcRipple.prototype, "noClass", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.booleanAttr,
tslib_1.__metadata("design:type", Boolean)
(0, tslib_1.__metadata)("design:type", Boolean)
], MdcRipple.prototype, "primary", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.booleanAttr,
tslib_1.__metadata("design:type", Boolean)
(0, tslib_1.__metadata)("design:type", Boolean)
], MdcRipple.prototype, "accent", void 0);
MdcRipple = MdcRipple_1 = tslib_1.__decorate([
aurelia_framework_1.inject(Element),
aurelia_framework_1.customAttribute('mdc-ripple')
MdcRipple = MdcRipple_1 = (0, tslib_1.__decorate)([
(0, aurelia_framework_1.inject)(Element),
(0, aurelia_framework_1.customAttribute)('mdc-ripple')
], MdcRipple);

@@ -142,0 +142,0 @@ return MdcRipple;

@@ -12,3 +12,3 @@ "use strict";

var MdcRipple = /** @class */ (function (_super) {
tslib_1.__extends(MdcRipple, _super);
(0, tslib_1.__extends)(MdcRipple, _super);
function MdcRipple() {

@@ -25,4 +25,4 @@ var _this = _super !== null && _super.apply(this, arguments) || this;

var _a;
return tslib_1.__awaiter(this, void 0, void 0, function () {
return tslib_1.__generator(this, function (_b) {
return (0, tslib_1.__awaiter)(this, void 0, void 0, function () {
return (0, tslib_1.__generator)(this, function (_b) {
switch (_b.label) {

@@ -40,5 +40,5 @@ case 0: return [4 /*yield*/, this.initialised];

var _a, _b, _c;
return tslib_1.__awaiter(this, void 0, void 0, function () {
return (0, tslib_1.__awaiter)(this, void 0, void 0, function () {
var inputBinding;
return tslib_1.__generator(this, function (_d) {
return (0, tslib_1.__generator)(this, function (_d) {
switch (_d.label) {

@@ -90,11 +90,11 @@ case 0:

containsEventTarget: function (target) { return _this.root.contains(target); },
deregisterDocumentInteractionHandler: function (evtType, handler) { return document.documentElement.removeEventListener(evtType, handler, events_1.applyPassive()); },
deregisterInteractionHandler: function (evtType, handler) { var _a; return ((_a = _this.input) !== null && _a !== void 0 ? _a : _this.root).removeEventListener(evtType, handler, events_1.applyPassive()); },
deregisterDocumentInteractionHandler: function (evtType, handler) { return document.documentElement.removeEventListener(evtType, handler, (0, events_1.applyPassive)()); },
deregisterInteractionHandler: function (evtType, handler) { var _a; return ((_a = _this.input) !== null && _a !== void 0 ? _a : _this.root).removeEventListener(evtType, handler, (0, events_1.applyPassive)()); },
deregisterResizeHandler: function (handler) { return window.removeEventListener('resize', handler); },
getWindowPageOffset: function () { return ({ x: window.pageXOffset, y: window.pageYOffset }); },
isSurfaceActive: function () { var _a; return _this.activeSurface && ponyfill_1.matches((_a = _this.input) !== null && _a !== void 0 ? _a : _this.root, ':active'); },
isSurfaceActive: function () { var _a; return _this.activeSurface && (0, ponyfill_1.matches)((_a = _this.input) !== null && _a !== void 0 ? _a : _this.root, ':active'); },
isSurfaceDisabled: function () { return _this.disabled; },
isUnbounded: function () { return _this.unbounded; },
registerDocumentInteractionHandler: function (evtType, handler) { return document.documentElement.addEventListener(evtType, handler, events_1.applyPassive()); },
registerInteractionHandler: function (evtType, handler) { var _a; return ((_a = _this.input) !== null && _a !== void 0 ? _a : _this.root).addEventListener(evtType, handler, events_1.applyPassive()); },
registerDocumentInteractionHandler: function (evtType, handler) { return document.documentElement.addEventListener(evtType, handler, (0, events_1.applyPassive)()); },
registerInteractionHandler: function (evtType, handler) { var _a; return ((_a = _this.input) !== null && _a !== void 0 ? _a : _this.root).addEventListener(evtType, handler, (0, events_1.applyPassive)()); },
registerResizeHandler: function (handler) { return window.addEventListener('resize', handler); },

@@ -107,41 +107,41 @@ removeClass: function (className) { var _a; return ((_a = _this.surface) !== null && _a !== void 0 ? _a : _this.root).classList.remove(className); },

MdcRipple.ATTRIBUTE_CLASS = 'mdc-ripple-enhanced';
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable,
tslib_1.__metadata("design:type", HTMLInputElement)
(0, tslib_1.__metadata)("design:type", HTMLInputElement)
], MdcRipple.prototype, "input", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable,
tslib_1.__metadata("design:type", HTMLElement)
(0, tslib_1.__metadata)("design:type", HTMLElement)
], MdcRipple.prototype, "surface", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable,
tslib_1.__metadata("design:type", Function)
(0, tslib_1.__metadata)("design:type", Function)
], MdcRipple.prototype, "computeBoundingRect", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.booleanAttr,
tslib_1.__metadata("design:type", Boolean)
(0, tslib_1.__metadata)("design:type", Boolean)
], MdcRipple.prototype, "disabled", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.booleanAttr,
tslib_1.__metadata("design:type", Boolean)
(0, tslib_1.__metadata)("design:type", Boolean)
], MdcRipple.prototype, "unbounded", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.booleanAttr,
tslib_1.__metadata("design:type", Boolean)
(0, tslib_1.__metadata)("design:type", Boolean)
], MdcRipple.prototype, "activeSurface", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.booleanAttr,
tslib_1.__metadata("design:type", Boolean)
(0, tslib_1.__metadata)("design:type", Boolean)
], MdcRipple.prototype, "noClass", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.booleanAttr,
tslib_1.__metadata("design:type", Boolean)
(0, tslib_1.__metadata)("design:type", Boolean)
], MdcRipple.prototype, "primary", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.booleanAttr,
tslib_1.__metadata("design:type", Boolean)
(0, tslib_1.__metadata)("design:type", Boolean)
], MdcRipple.prototype, "accent", void 0);
MdcRipple = MdcRipple_1 = tslib_1.__decorate([
aurelia_framework_1.inject(Element),
aurelia_framework_1.customAttribute('mdc-ripple')
MdcRipple = MdcRipple_1 = (0, tslib_1.__decorate)([
(0, aurelia_framework_1.inject)(Element),
(0, aurelia_framework_1.customAttribute)('mdc-ripple')
], MdcRipple);

@@ -148,0 +148,0 @@ return MdcRipple;

{
"name": "@aurelia-mdc-web/ripple",
"version": "7.1.4",
"version": "8.0.0",
"publishConfig": {

@@ -50,5 +50,5 @@ "access": "public"

"dependencies": {
"@aurelia-mdc-web/base": "7.1.4",
"@material/ripple": "^12.0.0"
"@aurelia-mdc-web/base": "8.0.0",
"@material/ripple": "^13.0.0"
}
}

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