@material/selection-control
Advanced tools
Comparing version 0.27.0 to 0.28.0
/*! | ||
Material Components for the web | ||
Copyright (c) 2017 Google Inc. | ||
Copyright (c) 2018 Google Inc. | ||
License: Apache-2.0 | ||
@@ -78,3 +78,3 @@ */ | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 83); | ||
/******/ return __webpack_require__(__webpack_require__.s = 91); | ||
/******/ }) | ||
@@ -562,3 +562,3 @@ /************************************************************************/ | ||
* for more details. | ||
* https://github.com/material-components/material-components-web/blob/master/docs/architecture.md | ||
* https://github.com/material-components/material-components-web/blob/master/docs/code/architecture.md | ||
* | ||
@@ -627,2 +627,3 @@ * @record | ||
/** | ||
* @param {string} evtType | ||
* @param {!Function} handler | ||
@@ -632,2 +633,19 @@ */ | ||
}, { | ||
key: "registerDocumentInteractionHandler", | ||
value: function registerDocumentInteractionHandler(evtType, handler) {} | ||
/** | ||
* @param {string} evtType | ||
* @param {!Function} handler | ||
*/ | ||
}, { | ||
key: "deregisterDocumentInteractionHandler", | ||
value: function deregisterDocumentInteractionHandler(evtType, handler) {} | ||
/** | ||
* @param {!Function} handler | ||
*/ | ||
}, { | ||
key: "registerResizeHandler", | ||
@@ -679,2 +697,3 @@ value: function registerResizeHandler(handler) {} | ||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MDCRipple", function() { return MDCRipple; }); | ||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RippleCapableSurface", function() { return RippleCapableSurface; }); | ||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_base_component__ = __webpack_require__(1); | ||
@@ -751,2 +770,16 @@ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__adapter__ = __webpack_require__(3); | ||
_createClass(MDCRipple, [{ | ||
key: 'setUnbounded_', | ||
/** | ||
* Closure Compiler throws an access control error when directly accessing a | ||
* protected or private property inside a getter/setter, like unbounded above. | ||
* By accessing the protected property inside a method, we solve that problem. | ||
* That's why this function exists. | ||
* @private | ||
*/ | ||
value: function setUnbounded_() { | ||
this.foundation_.setUnbounded(this.unbounded_); | ||
} | ||
}, { | ||
key: 'activate', | ||
@@ -791,10 +824,4 @@ value: function activate() { | ||
set: function set(unbounded) { | ||
var UNBOUNDED = __WEBPACK_IMPORTED_MODULE_2__foundation__["a" /* default */].cssClasses.UNBOUNDED; | ||
this.unbounded_ = Boolean(unbounded); | ||
if (this.unbounded_) { | ||
this.root_.classList.add(UNBOUNDED); | ||
} else { | ||
this.root_.classList.remove(UNBOUNDED); | ||
} | ||
this.setUnbounded_(); | ||
} | ||
@@ -851,2 +878,8 @@ }], [{ | ||
}, | ||
registerDocumentInteractionHandler: function registerDocumentInteractionHandler(evtType, handler) { | ||
return document.documentElement.addEventListener(evtType, handler, __WEBPACK_IMPORTED_MODULE_3__util__["applyPassive"]()); | ||
}, | ||
deregisterDocumentInteractionHandler: function deregisterDocumentInteractionHandler(evtType, handler) { | ||
return document.documentElement.removeEventListener(evtType, handler, __WEBPACK_IMPORTED_MODULE_3__util__["applyPassive"]()); | ||
}, | ||
registerResizeHandler: function registerResizeHandler(handler) { | ||
@@ -952,3 +985,2 @@ return window.addEventListener('resize', handler); | ||
* wasElementMadeActive: (boolean|undefined), | ||
* activationStartTime: (number|undefined), | ||
* activationEvent: Event, | ||
@@ -988,13 +1020,8 @@ * isProgrammatic: (boolean|undefined) | ||
/** | ||
* @enum {string} | ||
*/ | ||
var DEACTIVATION_ACTIVATION_PAIRS = { | ||
mouseup: 'mousedown', | ||
pointerup: 'pointerdown', | ||
touchend: 'touchstart', | ||
keyup: 'keydown', | ||
blur: 'focus' | ||
}; | ||
// Activation events registered on the root element of each instance for activation | ||
var ACTIVATION_EVENT_TYPES = ['touchstart', 'pointerdown', 'mousedown', 'keydown']; | ||
// Deactivation events registered on documentElement when a pointer-related down event occurs | ||
var POINTER_DEACTIVATION_EVENT_TYPES = ['touchend', 'pointerup', 'mouseup']; | ||
/** | ||
@@ -1034,2 +1061,4 @@ * @extends {MDCFoundation<!MDCRippleAdapter>} | ||
deregisterInteractionHandler: function deregisterInteractionHandler() /* evtType: string, handler: EventListener */{}, | ||
registerDocumentInteractionHandler: function registerDocumentInteractionHandler() /* evtType: string, handler: EventListener */{}, | ||
deregisterDocumentInteractionHandler: function deregisterDocumentInteractionHandler() /* evtType: string, handler: EventListener */{}, | ||
registerResizeHandler: function registerResizeHandler() /* handler: EventListener */{}, | ||
@@ -1067,25 +1096,26 @@ deregisterResizeHandler: function deregisterResizeHandler() /* handler: EventListener */{}, | ||
/** @private {!Array<{ListenerInfoType}>} */ | ||
_this.listenerInfos_ = [{ activate: 'touchstart', deactivate: 'touchend' }, { activate: 'pointerdown', deactivate: 'pointerup' }, { activate: 'mousedown', deactivate: 'mouseup' }, { activate: 'keydown', deactivate: 'keyup' }, { focus: 'focus', blur: 'blur' }]; | ||
/** @private {function(!Event)} */ | ||
_this.activateHandler_ = function (e) { | ||
return _this.activate_(e); | ||
}; | ||
/** @private {!ListenersType} */ | ||
_this.listeners_ = { | ||
activate: function activate(e) { | ||
return _this.activate_(e); | ||
}, | ||
deactivate: function deactivate(e) { | ||
return _this.deactivate_(e); | ||
}, | ||
focus: function focus() { | ||
return requestAnimationFrame(function () { | ||
return _this.adapter_.addClass(MDCRippleFoundation.cssClasses.BG_FOCUSED); | ||
}); | ||
}, | ||
blur: function blur() { | ||
return requestAnimationFrame(function () { | ||
return _this.adapter_.removeClass(MDCRippleFoundation.cssClasses.BG_FOCUSED); | ||
}); | ||
} | ||
/** @private {function(!Event)} */ | ||
_this.deactivateHandler_ = function (e) { | ||
return _this.deactivate_(e); | ||
}; | ||
/** @private {function(?Event=)} */ | ||
_this.focusHandler_ = function () { | ||
return requestAnimationFrame(function () { | ||
return _this.adapter_.addClass(MDCRippleFoundation.cssClasses.BG_FOCUSED); | ||
}); | ||
}; | ||
/** @private {function(?Event=)} */ | ||
_this.blurHandler_ = function () { | ||
return requestAnimationFrame(function () { | ||
return _this.adapter_.removeClass(MDCRippleFoundation.cssClasses.BG_FOCUSED); | ||
}); | ||
}; | ||
/** @private {!Function} */ | ||
@@ -1119,2 +1149,5 @@ _this.resizeHandler_ = function () { | ||
}; | ||
/** @private {?Event} */ | ||
_this.previousActivationEvent_ = null; | ||
return _this; | ||
@@ -1151,3 +1184,2 @@ } | ||
wasElementMadeActive: false, | ||
activationStartTime: 0, | ||
activationEvent: null, | ||
@@ -1165,3 +1197,3 @@ isProgrammatic: false | ||
} | ||
this.addEventListeners_(); | ||
this.registerRootHandlers_(); | ||
@@ -1180,15 +1212,36 @@ var _MDCRippleFoundation$ = MDCRippleFoundation.cssClasses, | ||
} | ||
}, { | ||
key: 'destroy', | ||
value: function destroy() { | ||
var _this3 = this; | ||
if (!this.isSupported_()) { | ||
return; | ||
} | ||
this.deregisterRootHandlers_(); | ||
this.deregisterDeactivationHandlers_(); | ||
var _MDCRippleFoundation$2 = MDCRippleFoundation.cssClasses, | ||
ROOT = _MDCRippleFoundation$2.ROOT, | ||
UNBOUNDED = _MDCRippleFoundation$2.UNBOUNDED; | ||
requestAnimationFrame(function () { | ||
_this3.adapter_.removeClass(ROOT); | ||
_this3.adapter_.removeClass(UNBOUNDED); | ||
_this3.removeCssVars_(); | ||
}); | ||
} | ||
/** @private */ | ||
}, { | ||
key: 'addEventListeners_', | ||
value: function addEventListeners_() { | ||
var _this3 = this; | ||
key: 'registerRootHandlers_', | ||
value: function registerRootHandlers_() { | ||
var _this4 = this; | ||
this.listenerInfos_.forEach(function (info) { | ||
Object.keys(info).forEach(function (k) { | ||
_this3.adapter_.registerInteractionHandler(info[k], _this3.listeners_[k]); | ||
}); | ||
ACTIVATION_EVENT_TYPES.forEach(function (type) { | ||
_this4.adapter_.registerInteractionHandler(type, _this4.activateHandler_); | ||
}); | ||
this.adapter_.registerInteractionHandler('focus', this.focusHandler_); | ||
this.adapter_.registerInteractionHandler('blur', this.blurHandler_); | ||
this.adapter_.registerResizeHandler(this.resizeHandler_); | ||
@@ -1198,3 +1251,3 @@ } | ||
/** | ||
* @param {Event} e | ||
* @param {!Event} e | ||
* @private | ||
@@ -1204,5 +1257,68 @@ */ | ||
}, { | ||
key: 'registerDeactivationHandlers_', | ||
value: function registerDeactivationHandlers_(e) { | ||
var _this5 = this; | ||
if (e.type === 'keydown') { | ||
this.adapter_.registerInteractionHandler('keyup', this.deactivateHandler_); | ||
} else { | ||
POINTER_DEACTIVATION_EVENT_TYPES.forEach(function (type) { | ||
_this5.adapter_.registerDocumentInteractionHandler(type, _this5.deactivateHandler_); | ||
}); | ||
} | ||
} | ||
/** @private */ | ||
}, { | ||
key: 'deregisterRootHandlers_', | ||
value: function deregisterRootHandlers_() { | ||
var _this6 = this; | ||
ACTIVATION_EVENT_TYPES.forEach(function (type) { | ||
_this6.adapter_.deregisterInteractionHandler(type, _this6.activateHandler_); | ||
}); | ||
this.adapter_.deregisterInteractionHandler('focus', this.focusHandler_); | ||
this.adapter_.deregisterInteractionHandler('blur', this.blurHandler_); | ||
this.adapter_.deregisterResizeHandler(this.resizeHandler_); | ||
} | ||
/** @private */ | ||
}, { | ||
key: 'deregisterDeactivationHandlers_', | ||
value: function deregisterDeactivationHandlers_() { | ||
var _this7 = this; | ||
this.adapter_.deregisterInteractionHandler('keyup', this.deactivateHandler_); | ||
POINTER_DEACTIVATION_EVENT_TYPES.forEach(function (type) { | ||
_this7.adapter_.deregisterDocumentInteractionHandler(type, _this7.deactivateHandler_); | ||
}); | ||
} | ||
/** @private */ | ||
}, { | ||
key: 'removeCssVars_', | ||
value: function removeCssVars_() { | ||
var _this8 = this; | ||
var strings = MDCRippleFoundation.strings; | ||
Object.keys(strings).forEach(function (k) { | ||
if (k.indexOf('VAR_') === 0) { | ||
_this8.adapter_.updateCssVariable(strings[k], null); | ||
} | ||
}); | ||
} | ||
/** | ||
* @param {?Event} e | ||
* @private | ||
*/ | ||
}, { | ||
key: 'activate_', | ||
value: function activate_(e) { | ||
var _this4 = this; | ||
var _this9 = this; | ||
@@ -1219,2 +1335,9 @@ if (this.adapter_.isSurfaceDisabled()) { | ||
// Avoid reacting to follow-on events fired by touch device after an already-processed user interaction | ||
var previousActivationEvent = this.previousActivationEvent_; | ||
var isSameInteraction = previousActivationEvent && e && previousActivationEvent.type !== e.type && previousActivationEvent.clientX === e.clientX && previousActivationEvent.clientY === e.clientY; | ||
if (isSameInteraction) { | ||
return; | ||
} | ||
activationState.isActivated = true; | ||
@@ -1224,4 +1347,7 @@ activationState.isProgrammatic = e === null; | ||
activationState.wasActivatedByPointer = activationState.isProgrammatic ? false : e.type === 'mousedown' || e.type === 'touchstart' || e.type === 'pointerdown'; | ||
activationState.activationStartTime = Date.now(); | ||
if (e) { | ||
this.registerDeactivationHandlers_(e); | ||
} | ||
requestAnimationFrame(function () { | ||
@@ -1233,8 +1359,8 @@ // This needs to be wrapped in an rAF call b/c web browsers | ||
// - https://bugzilla.mozilla.org/show_bug.cgi?id=1293741 | ||
activationState.wasElementMadeActive = e && e.type === 'keydown' ? _this4.adapter_.isSurfaceActive() : true; | ||
activationState.wasElementMadeActive = e && e.type === 'keydown' ? _this9.adapter_.isSurfaceActive() : true; | ||
if (activationState.wasElementMadeActive) { | ||
_this4.animateActivation_(); | ||
_this9.animateActivation_(); | ||
} else { | ||
// Reset activation state immediately if element was not made active. | ||
_this4.activationState_ = _this4.defaultActivationState_(); | ||
_this9.activationState_ = _this9.defaultActivationState_(); | ||
} | ||
@@ -1261,11 +1387,10 @@ }); | ||
value: function animateActivation_() { | ||
var _this5 = this; | ||
var _this10 = this; | ||
var _MDCRippleFoundation$2 = MDCRippleFoundation.strings, | ||
VAR_FG_TRANSLATE_START = _MDCRippleFoundation$2.VAR_FG_TRANSLATE_START, | ||
VAR_FG_TRANSLATE_END = _MDCRippleFoundation$2.VAR_FG_TRANSLATE_END; | ||
var _MDCRippleFoundation$3 = MDCRippleFoundation.cssClasses, | ||
BG_ACTIVE_FILL = _MDCRippleFoundation$3.BG_ACTIVE_FILL, | ||
FG_DEACTIVATION = _MDCRippleFoundation$3.FG_DEACTIVATION, | ||
FG_ACTIVATION = _MDCRippleFoundation$3.FG_ACTIVATION; | ||
var _MDCRippleFoundation$3 = MDCRippleFoundation.strings, | ||
VAR_FG_TRANSLATE_START = _MDCRippleFoundation$3.VAR_FG_TRANSLATE_START, | ||
VAR_FG_TRANSLATE_END = _MDCRippleFoundation$3.VAR_FG_TRANSLATE_END; | ||
var _MDCRippleFoundation$4 = MDCRippleFoundation.cssClasses, | ||
FG_DEACTIVATION = _MDCRippleFoundation$4.FG_DEACTIVATION, | ||
FG_ACTIVATION = _MDCRippleFoundation$4.FG_ACTIVATION; | ||
var DEACTIVATION_TIMEOUT_MS = MDCRippleFoundation.numbers.DEACTIVATION_TIMEOUT_MS; | ||
@@ -1296,6 +1421,5 @@ | ||
this.adapter_.computeBoundingRect(); | ||
this.adapter_.addClass(BG_ACTIVE_FILL); | ||
this.adapter_.addClass(FG_ACTIVATION); | ||
this.activationTimer_ = setTimeout(function () { | ||
return _this5.activationTimerCallback_(); | ||
return _this10.activationTimerCallback_(); | ||
}, DEACTIVATION_TIMEOUT_MS); | ||
@@ -1346,4 +1470,6 @@ } | ||
value: function runDeactivationUXLogicIfReady_() { | ||
var _this6 = this; | ||
var _this11 = this; | ||
// This method is called both when a pointing device is released, and when the activation animation ends. | ||
// The deactivation animation should only run after both of those occur. | ||
var FG_DEACTIVATION = MDCRippleFoundation.cssClasses.FG_DEACTIVATION; | ||
@@ -1355,2 +1481,3 @@ var _activationState_ = this.activationState_, | ||
var activationHasEnded = hasDeactivationUXRun || !isActivated; | ||
if (activationHasEnded && this.activationAnimationHasEnded_) { | ||
@@ -1360,3 +1487,3 @@ this.rmBoundedActivationClasses_(); | ||
this.fgDeactivationRemovalTimer_ = setTimeout(function () { | ||
_this6.adapter_.removeClass(FG_DEACTIVATION); | ||
_this11.adapter_.removeClass(FG_DEACTIVATION); | ||
}, __WEBPACK_IMPORTED_MODULE_2__constants__["b" /* numbers */].FG_DEACTIVATION_MS); | ||
@@ -1371,7 +1498,4 @@ } | ||
value: function rmBoundedActivationClasses_() { | ||
var _MDCRippleFoundation$4 = MDCRippleFoundation.cssClasses, | ||
BG_ACTIVE_FILL = _MDCRippleFoundation$4.BG_ACTIVE_FILL, | ||
FG_ACTIVATION = _MDCRippleFoundation$4.FG_ACTIVATION; | ||
var FG_ACTIVATION = MDCRippleFoundation.cssClasses.FG_ACTIVATION; | ||
this.adapter_.removeClass(BG_ACTIVE_FILL); | ||
this.adapter_.removeClass(FG_ACTIVATION); | ||
@@ -1381,5 +1505,18 @@ this.activationAnimationHasEnded_ = false; | ||
} | ||
}, { | ||
key: 'resetActivationState_', | ||
value: function resetActivationState_() { | ||
var _this12 = this; | ||
this.previousActivationEvent_ = this.activationState_.activationEvent; | ||
this.activationState_ = this.defaultActivationState_(); | ||
// Touch devices may fire additional events for the same interaction within a short time. | ||
// Store the previous event until it's safe to assume that subsequent events are for new interactions. | ||
setTimeout(function () { | ||
return _this12.previousActivationEvent_ = null; | ||
}, 100); | ||
} | ||
/** | ||
* @param {Event} e | ||
* @param {?Event} e | ||
* @private | ||
@@ -1391,44 +1528,26 @@ */ | ||
value: function deactivate_(e) { | ||
var _this7 = this; | ||
var _this13 = this; | ||
var activationState = this.activationState_; | ||
// This can happen in scenarios such as when you have a keyup event that blurs the element. | ||
if (!activationState.isActivated) { | ||
return; | ||
} | ||
// Programmatic deactivation. | ||
var state = /** @type {!ActivationStateType} */_extends({}, activationState); | ||
if (activationState.isProgrammatic) { | ||
var evtObject = null; | ||
var _state = /** @type {!ActivationStateType} */_extends({}, activationState); | ||
requestAnimationFrame(function () { | ||
return _this7.animateDeactivation_(evtObject, _state); | ||
return _this13.animateDeactivation_(evtObject, state); | ||
}); | ||
this.activationState_ = this.defaultActivationState_(); | ||
return; | ||
this.resetActivationState_(); | ||
} else { | ||
this.deregisterDeactivationHandlers_(); | ||
requestAnimationFrame(function () { | ||
_this13.activationState_.hasDeactivationUXRun = true; | ||
_this13.animateDeactivation_(e, state); | ||
_this13.resetActivationState_(); | ||
}); | ||
} | ||
var actualActivationType = DEACTIVATION_ACTIVATION_PAIRS[e.type]; | ||
var expectedActivationType = activationState.activationEvent.type; | ||
// NOTE: Pointer events are tricky - https://patrickhlauke.github.io/touch/tests/results/ | ||
// Essentially, what we need to do here is decouple the deactivation UX from the actual | ||
// deactivation state itself. This way, touch/pointer events in sequence do not trample one | ||
// another. | ||
var needsDeactivationUX = actualActivationType === expectedActivationType; | ||
var needsActualDeactivation = needsDeactivationUX; | ||
if (activationState.wasActivatedByPointer) { | ||
needsActualDeactivation = e.type === 'mouseup'; | ||
} | ||
var state = /** @type {!ActivationStateType} */_extends({}, activationState); | ||
requestAnimationFrame(function () { | ||
if (needsDeactivationUX) { | ||
_this7.activationState_.hasDeactivationUXRun = true; | ||
_this7.animateDeactivation_(e, state); | ||
} | ||
if (needsActualDeactivation) { | ||
_this7.activationState_ = _this7.defaultActivationState_(); | ||
} | ||
}); | ||
} | ||
@@ -1459,7 +1578,4 @@ | ||
wasElementMadeActive = _ref.wasElementMadeActive; | ||
var BG_FOCUSED = MDCRippleFoundation.cssClasses.BG_FOCUSED; | ||
if (wasActivatedByPointer || wasElementMadeActive) { | ||
// Remove class left over by element being focused | ||
this.adapter_.removeClass(BG_FOCUSED); | ||
this.runDeactivationUXLogicIfReady_(); | ||
@@ -1469,56 +1585,5 @@ } | ||
}, { | ||
key: 'destroy', | ||
value: function destroy() { | ||
var _this8 = this; | ||
if (!this.isSupported_()) { | ||
return; | ||
} | ||
this.removeEventListeners_(); | ||
var _MDCRippleFoundation$5 = MDCRippleFoundation.cssClasses, | ||
ROOT = _MDCRippleFoundation$5.ROOT, | ||
UNBOUNDED = _MDCRippleFoundation$5.UNBOUNDED; | ||
requestAnimationFrame(function () { | ||
_this8.adapter_.removeClass(ROOT); | ||
_this8.adapter_.removeClass(UNBOUNDED); | ||
_this8.removeCssVars_(); | ||
}); | ||
} | ||
/** @private */ | ||
}, { | ||
key: 'removeEventListeners_', | ||
value: function removeEventListeners_() { | ||
var _this9 = this; | ||
this.listenerInfos_.forEach(function (info) { | ||
Object.keys(info).forEach(function (k) { | ||
_this9.adapter_.deregisterInteractionHandler(info[k], _this9.listeners_[k]); | ||
}); | ||
}); | ||
this.adapter_.deregisterResizeHandler(this.resizeHandler_); | ||
} | ||
/** @private */ | ||
}, { | ||
key: 'removeCssVars_', | ||
value: function removeCssVars_() { | ||
var _this10 = this; | ||
var strings = MDCRippleFoundation.strings; | ||
Object.keys(strings).forEach(function (k) { | ||
if (k.indexOf('VAR_') === 0) { | ||
_this10.adapter_.updateCssVariable(strings[k], null); | ||
} | ||
}); | ||
} | ||
}, { | ||
key: 'layout', | ||
value: function layout() { | ||
var _this11 = this; | ||
var _this14 = this; | ||
@@ -1529,4 +1594,4 @@ if (this.layoutFrame_) { | ||
this.layoutFrame_ = requestAnimationFrame(function () { | ||
_this11.layoutInternal_(); | ||
_this11.layoutFrame_ = 0; | ||
_this14.layoutInternal_(); | ||
_this14.layoutFrame_ = 0; | ||
}); | ||
@@ -1560,7 +1625,7 @@ } | ||
value: function updateLayoutCssVars_() { | ||
var _MDCRippleFoundation$6 = MDCRippleFoundation.strings, | ||
VAR_FG_SIZE = _MDCRippleFoundation$6.VAR_FG_SIZE, | ||
VAR_LEFT = _MDCRippleFoundation$6.VAR_LEFT, | ||
VAR_TOP = _MDCRippleFoundation$6.VAR_TOP, | ||
VAR_FG_SCALE = _MDCRippleFoundation$6.VAR_FG_SCALE; | ||
var _MDCRippleFoundation$5 = MDCRippleFoundation.strings, | ||
VAR_FG_SIZE = _MDCRippleFoundation$5.VAR_FG_SIZE, | ||
VAR_LEFT = _MDCRippleFoundation$5.VAR_LEFT, | ||
VAR_TOP = _MDCRippleFoundation$5.VAR_TOP, | ||
VAR_FG_SCALE = _MDCRippleFoundation$5.VAR_FG_SCALE; | ||
@@ -1581,2 +1646,16 @@ | ||
} | ||
/** @param {boolean} unbounded */ | ||
}, { | ||
key: 'setUnbounded', | ||
value: function setUnbounded(unbounded) { | ||
var UNBOUNDED = MDCRippleFoundation.cssClasses.UNBOUNDED; | ||
if (unbounded) { | ||
this.adapter_.addClass(UNBOUNDED); | ||
} else { | ||
this.adapter_.removeClass(UNBOUNDED); | ||
} | ||
} | ||
}]); | ||
@@ -1622,3 +1701,2 @@ | ||
BG_FOCUSED: 'mdc-ripple-upgraded--background-focused', | ||
BG_ACTIVE_FILL: 'mdc-ripple-upgraded--background-active-fill', | ||
FG_ACTIVATION: 'mdc-ripple-upgraded--foreground-activation', | ||
@@ -1629,5 +1707,5 @@ FG_DEACTIVATION: 'mdc-ripple-upgraded--foreground-deactivation' | ||
var strings = { | ||
VAR_FG_SIZE: '--mdc-ripple-fg-size', | ||
VAR_LEFT: '--mdc-ripple-left', | ||
VAR_TOP: '--mdc-ripple-top', | ||
VAR_FG_SIZE: '--mdc-ripple-fg-size', | ||
VAR_FG_SCALE: '--mdc-ripple-fg-scale', | ||
@@ -1648,10 +1726,2 @@ VAR_FG_TRANSLATE_START: '--mdc-ripple-fg-translate-start', | ||
/***/ 83: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
module.exports = __webpack_require__(9); | ||
/***/ }), | ||
/***/ 9: | ||
@@ -1721,2 +1791,10 @@ /***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
/***/ }), | ||
/***/ 91: | ||
/***/ (function(module, exports, __webpack_require__) { | ||
module.exports = __webpack_require__(9); | ||
/***/ }) | ||
@@ -1723,0 +1801,0 @@ |
/*! | ||
Material Components for the web | ||
Copyright (c) 2017 Google Inc. | ||
Copyright (c) 2018 Google Inc. | ||
License: Apache-2.0 | ||
*/ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.selectionControl=e():(t.mdc=t.mdc||{},t.mdc.selectionControl=e())}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var a=n[i]={i:i,l:!1,exports:{}};return t[i].call(a.exports,a,a.exports,e),a.l=!0,a.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/assets/",e(e.s=83)}({0:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t),this.adapter_=e}return a(t,null,[{key:"cssClasses",get:function(){return{}}},{key:"strings",get:function(){return{}}},{key:"numbers",get:function(){return{}}},{key:"defaultAdapter",get:function(){return{}}}]),a(t,[{key:"init",value:function(){}},{key:"destroy",value:function(){}}]),t}();e.a=r},1:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=n(0),r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;i(this,t),this.root_=e;for(var a=arguments.length,r=Array(a>2?a-2:0),o=2;o<a;o++)r[o-2]=arguments[o];this.initialize.apply(this,r),this.foundation_=void 0===n?this.getDefaultFoundation():n,this.foundation_.init(),this.initialSyncWithDOM()}return r(t,null,[{key:"attachTo",value:function(e){return new t(e,new a.a)}}]),r(t,[{key:"initialize",value:function(){}},{key:"getDefaultFoundation",value:function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")}},{key:"initialSyncWithDOM",value:function(){}},{key:"destroy",value:function(){this.foundation_.destroy()}},{key:"listen",value:function(t,e){this.root_.addEventListener(t,e)}},{key:"unlisten",value:function(t,e){this.root_.removeEventListener(t,e)}},{key:"emit",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=void 0;"function"==typeof CustomEvent?i=new CustomEvent(t,{detail:e,bubbles:n}):(i=document.createEvent("CustomEvent"),i.initCustomEvent(t,n,!1,e)),this.root_.dispatchEvent(i)}}]),t}();e.a=o},2:function(t,e,n){"use strict";function i(t){var e=t.document,n=e.createElement("div");n.className="mdc-ripple-surface--test-edge-var-bug",e.body.appendChild(n);var i=t.getComputedStyle(n),a=null!==i&&"solid"===i.borderTopStyle;return n.remove(),a}function a(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("boolean"==typeof u&&!e)return u;if(t.CSS&&"function"==typeof t.CSS.supports){var n=t.CSS.supports("--css-vars","yes"),a=t.CSS.supports("(--css-vars: yes)")&&t.CSS.supports("color","#00000000");return u=!(!n&&!a||i(t))}}function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(void 0===c||e){var n=!1;try{t.document.addEventListener("test",null,{get passive(){n=!0}})}catch(t){}c=n}return!!c&&{passive:!0}}function o(t){return["webkitMatchesSelector","msMatchesSelector","matches"].filter(function(e){return e in t}).pop()}function s(t,e,n){var i=e.x,a=e.y,r=i+n.left,o=a+n.top,s=void 0,u=void 0;return"touchstart"===t.type?(s=t.changedTouches[0].pageX-r,u=t.changedTouches[0].pageY-o):(s=t.pageX-r,u=t.pageY-o),{x:s,y:u}}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"supportsCssVariables",function(){return a}),n.d(e,"applyPassive",function(){return r}),n.d(e,"getMatchesProperty",function(){return o}),n.d(e,"getNormalizedEventCoords",function(){return s});/** | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.selectionControl=e():(t.mdc=t.mdc||{},t.mdc.selectionControl=e())}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var a=n[i]={i:i,l:!1,exports:{}};return t[i].call(a.exports,a,a.exports,e),a.l=!0,a.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/assets/",e(e.s=91)}({0:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t),this.adapter_=e}return a(t,null,[{key:"cssClasses",get:function(){return{}}},{key:"strings",get:function(){return{}}},{key:"numbers",get:function(){return{}}},{key:"defaultAdapter",get:function(){return{}}}]),a(t,[{key:"init",value:function(){}},{key:"destroy",value:function(){}}]),t}();e.a=r},1:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=n(0),r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;i(this,t),this.root_=e;for(var a=arguments.length,r=Array(a>2?a-2:0),o=2;o<a;o++)r[o-2]=arguments[o];this.initialize.apply(this,r),this.foundation_=void 0===n?this.getDefaultFoundation():n,this.foundation_.init(),this.initialSyncWithDOM()}return r(t,null,[{key:"attachTo",value:function(e){return new t(e,new a.a)}}]),r(t,[{key:"initialize",value:function(){}},{key:"getDefaultFoundation",value:function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")}},{key:"initialSyncWithDOM",value:function(){}},{key:"destroy",value:function(){this.foundation_.destroy()}},{key:"listen",value:function(t,e){this.root_.addEventListener(t,e)}},{key:"unlisten",value:function(t,e){this.root_.removeEventListener(t,e)}},{key:"emit",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=void 0;"function"==typeof CustomEvent?i=new CustomEvent(t,{detail:e,bubbles:n}):(i=document.createEvent("CustomEvent"),i.initCustomEvent(t,n,!1,e)),this.root_.dispatchEvent(i)}}]),t}();e.a=o},2:function(t,e,n){"use strict";function i(t){var e=t.document,n=e.createElement("div");n.className="mdc-ripple-surface--test-edge-var-bug",e.body.appendChild(n);var i=t.getComputedStyle(n),a=null!==i&&"solid"===i.borderTopStyle;return n.remove(),a}function a(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("boolean"==typeof s&&!e)return s;if(t.CSS&&"function"==typeof t.CSS.supports){var n=t.CSS.supports("--css-vars","yes"),a=t.CSS.supports("(--css-vars: yes)")&&t.CSS.supports("color","#00000000");return s=!(!n&&!a||i(t))}}function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(void 0===c||e){var n=!1;try{t.document.addEventListener("test",null,{get passive(){n=!0}})}catch(t){}c=n}return!!c&&{passive:!0}}function o(t){return["webkitMatchesSelector","msMatchesSelector","matches"].filter(function(e){return e in t}).pop()}function u(t,e,n){var i=e.x,a=e.y,r=i+n.left,o=a+n.top,u=void 0,s=void 0;return"touchstart"===t.type?(u=t.changedTouches[0].pageX-r,s=t.changedTouches[0].pageY-o):(u=t.pageX-r,s=t.pageY-o),{x:u,y:s}}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"supportsCssVariables",function(){return a}),n.d(e,"applyPassive",function(){return r}),n.d(e,"getMatchesProperty",function(){return o}),n.d(e,"getNormalizedEventCoords",function(){return u});/** | ||
* @license | ||
@@ -22,3 +22,3 @@ * Copyright 2016 Google Inc. All Rights Reserved. | ||
*/ | ||
var u=void 0,c=void 0},3:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();!function(){function t(){i(this,t)}a(t,[{key:"browserSupportsCssVars",value:function(){}},{key:"isUnbounded",value:function(){}},{key:"isSurfaceActive",value:function(){}},{key:"isSurfaceDisabled",value:function(){}},{key:"addClass",value:function(t){}},{key:"removeClass",value:function(t){}},{key:"registerInteractionHandler",value:function(t,e){}},{key:"deregisterInteractionHandler",value:function(t,e){}},{key:"registerResizeHandler",value:function(t){}},{key:"deregisterResizeHandler",value:function(t){}},{key:"updateCssVariable",value:function(t,e){}},{key:"computeBoundingRect",value:function(){}},{key:"getWindowPageOffset",value:function(){}}])}()},5:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"MDCRipple",function(){return d});var o=n(1),s=(n(3),n(6)),u=n(2);n.d(e,"MDCRippleFoundation",function(){return s.a}),n.d(e,"util",function(){return u});var c=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),d=function(t){function e(){var t;i(this,e);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var s=a(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(r)));return s.disabled=!1,s.unbounded_,s}return r(e,t),c(e,[{key:"activate",value:function(){this.foundation_.activate()}},{key:"deactivate",value:function(){this.foundation_.deactivate()}},{key:"layout",value:function(){this.foundation_.layout()}},{key:"getDefaultFoundation",value:function(){return new s.a(e.createAdapter(this))}},{key:"initialSyncWithDOM",value:function(){this.unbounded="mdcRippleIsUnbounded"in this.root_.dataset}},{key:"unbounded",get:function(){return this.unbounded_},set:function(t){var e=s.a.cssClasses.UNBOUNDED;this.unbounded_=Boolean(t),this.unbounded_?this.root_.classList.add(e):this.root_.classList.remove(e)}}],[{key:"attachTo",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.isUnbounded,a=void 0===i?void 0:i,r=new e(t);return void 0!==a&&(r.unbounded=a),r}},{key:"createAdapter",value:function(t){var e=u.getMatchesProperty(HTMLElement.prototype);return{browserSupportsCssVars:function(){return u.supportsCssVariables(window)},isUnbounded:function(){return t.unbounded},isSurfaceActive:function(){return t.root_[e](":active")},isSurfaceDisabled:function(){return t.disabled},addClass:function(e){return t.root_.classList.add(e)},removeClass:function(e){return t.root_.classList.remove(e)},registerInteractionHandler:function(e,n){return t.root_.addEventListener(e,n,u.applyPassive())},deregisterInteractionHandler:function(e,n){return t.root_.removeEventListener(e,n,u.applyPassive())},registerResizeHandler:function(t){return window.addEventListener("resize",t)},deregisterResizeHandler:function(t){return window.removeEventListener("resize",t)},updateCssVariable:function(e,n){return t.root_.style.setProperty(e,n)},computeBoundingRect:function(){return t.root_.getBoundingClientRect()},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}}}}}]),e}(o.a),l=function t(){i(this,t)};l.prototype.root_,l.prototype.unbounded,l.prototype.disabled},6:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(0),s=(n(3),n(7)),u=n(2),c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},d=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),l={mouseup:"mousedown",pointerup:"pointerdown",touchend:"touchstart",keyup:"keydown",blur:"focus"},f=function(t){function e(t){i(this,e);var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,c(e.defaultAdapter,t)));return n.layoutFrame_=0,n.frame_={width:0,height:0},n.activationState_=n.defaultActivationState_(),n.xfDuration_=0,n.initialSize_=0,n.maxRadius_=0,n.listenerInfos_=[{activate:"touchstart",deactivate:"touchend"},{activate:"pointerdown",deactivate:"pointerup"},{activate:"mousedown",deactivate:"mouseup"},{activate:"keydown",deactivate:"keyup"},{focus:"focus",blur:"blur"}],n.listeners_={activate:function(t){return n.activate_(t)},deactivate:function(t){return n.deactivate_(t)},focus:function(){return requestAnimationFrame(function(){return n.adapter_.addClass(e.cssClasses.BG_FOCUSED)})},blur:function(){return requestAnimationFrame(function(){return n.adapter_.removeClass(e.cssClasses.BG_FOCUSED)})}},n.resizeHandler_=function(){return n.layout()},n.unboundedCoords_={left:0,top:0},n.fgScale_=0,n.activationTimer_=0,n.fgDeactivationRemovalTimer_=0,n.activationAnimationHasEnded_=!1,n.activationTimerCallback_=function(){n.activationAnimationHasEnded_=!0,n.runDeactivationUXLogicIfReady_()},n}return r(e,t),d(e,null,[{key:"cssClasses",get:function(){return s.a}},{key:"strings",get:function(){return s.c}},{key:"numbers",get:function(){return s.b}},{key:"defaultAdapter",get:function(){return{browserSupportsCssVars:function(){},isUnbounded:function(){},isSurfaceActive:function(){},isSurfaceDisabled:function(){},addClass:function(){},removeClass:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},registerResizeHandler:function(){},deregisterResizeHandler:function(){},updateCssVariable:function(){},computeBoundingRect:function(){},getWindowPageOffset:function(){}}}}]),d(e,[{key:"isSupported_",value:function(){return this.adapter_.browserSupportsCssVars()}},{key:"defaultActivationState_",value:function(){return{isActivated:!1,hasDeactivationUXRun:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1,activationStartTime:0,activationEvent:null,isProgrammatic:!1}}},{key:"init",value:function(){var t=this;if(this.isSupported_()){this.addEventListeners_();var n=e.cssClasses,i=n.ROOT,a=n.UNBOUNDED;requestAnimationFrame(function(){t.adapter_.addClass(i),t.adapter_.isUnbounded()&&t.adapter_.addClass(a),t.layoutInternal_()})}}},{key:"addEventListeners_",value:function(){var t=this;this.listenerInfos_.forEach(function(e){Object.keys(e).forEach(function(n){t.adapter_.registerInteractionHandler(e[n],t.listeners_[n])})}),this.adapter_.registerResizeHandler(this.resizeHandler_)}},{key:"activate_",value:function(t){var e=this;if(!this.adapter_.isSurfaceDisabled()){var n=this.activationState_;n.isActivated||(n.isActivated=!0,n.isProgrammatic=null===t,n.activationEvent=t,n.wasActivatedByPointer=!n.isProgrammatic&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type),n.activationStartTime=Date.now(),requestAnimationFrame(function(){n.wasElementMadeActive=!t||"keydown"!==t.type||e.adapter_.isSurfaceActive(),n.wasElementMadeActive?e.animateActivation_():e.activationState_=e.defaultActivationState_()}))}}},{key:"activate",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.activate_(t)}},{key:"animateActivation_",value:function(){var t=this,n=e.strings,i=n.VAR_FG_TRANSLATE_START,a=n.VAR_FG_TRANSLATE_END,r=e.cssClasses,o=r.BG_ACTIVE_FILL,s=r.FG_DEACTIVATION,u=r.FG_ACTIVATION,c=e.numbers.DEACTIVATION_TIMEOUT_MS,d="",l="";if(!this.adapter_.isUnbounded()){var f=this.getFgTranslationCoordinates_(),v=f.startPoint,p=f.endPoint;d=v.x+"px, "+v.y+"px",l=p.x+"px, "+p.y+"px"}this.adapter_.updateCssVariable(i,d),this.adapter_.updateCssVariable(a,l),clearTimeout(this.activationTimer_),clearTimeout(this.fgDeactivationRemovalTimer_),this.rmBoundedActivationClasses_(),this.adapter_.removeClass(s),this.adapter_.computeBoundingRect(),this.adapter_.addClass(o),this.adapter_.addClass(u),this.activationTimer_=setTimeout(function(){return t.activationTimerCallback_()},c)}},{key:"getFgTranslationCoordinates_",value:function(){var t=this.activationState_,e=t.activationEvent,n=t.wasActivatedByPointer,i=void 0;return i=n?Object(u.getNormalizedEventCoords)(e,this.adapter_.getWindowPageOffset(),this.adapter_.computeBoundingRect()):{x:this.frame_.width/2,y:this.frame_.height/2},i={x:i.x-this.initialSize_/2,y:i.y-this.initialSize_/2},{startPoint:i,endPoint:{x:this.frame_.width/2-this.initialSize_/2,y:this.frame_.height/2-this.initialSize_/2}}}},{key:"runDeactivationUXLogicIfReady_",value:function(){var t=this,n=e.cssClasses.FG_DEACTIVATION,i=this.activationState_,a=i.hasDeactivationUXRun,r=i.isActivated;(a||!r)&&this.activationAnimationHasEnded_&&(this.rmBoundedActivationClasses_(),this.adapter_.addClass(n),this.fgDeactivationRemovalTimer_=setTimeout(function(){t.adapter_.removeClass(n)},s.b.FG_DEACTIVATION_MS))}},{key:"rmBoundedActivationClasses_",value:function(){var t=e.cssClasses,n=t.BG_ACTIVE_FILL,i=t.FG_ACTIVATION;this.adapter_.removeClass(n),this.adapter_.removeClass(i),this.activationAnimationHasEnded_=!1,this.adapter_.computeBoundingRect()}},{key:"deactivate_",value:function(t){var e=this,n=this.activationState_;if(n.isActivated){if(n.isProgrammatic){var i=c({},n);return requestAnimationFrame(function(){return e.animateDeactivation_(null,i)}),void(this.activationState_=this.defaultActivationState_())}var a=l[t.type],r=n.activationEvent.type,o=a===r,s=o;n.wasActivatedByPointer&&(s="mouseup"===t.type);var u=c({},n);requestAnimationFrame(function(){o&&(e.activationState_.hasDeactivationUXRun=!0,e.animateDeactivation_(t,u)),s&&(e.activationState_=e.defaultActivationState_())})}}},{key:"deactivate",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.deactivate_(t)}},{key:"animateDeactivation_",value:function(t,n){var i=n.wasActivatedByPointer,a=n.wasElementMadeActive,r=e.cssClasses.BG_FOCUSED;(i||a)&&(this.adapter_.removeClass(r),this.runDeactivationUXLogicIfReady_())}},{key:"destroy",value:function(){var t=this;if(this.isSupported_()){this.removeEventListeners_();var n=e.cssClasses,i=n.ROOT,a=n.UNBOUNDED;requestAnimationFrame(function(){t.adapter_.removeClass(i),t.adapter_.removeClass(a),t.removeCssVars_()})}}},{key:"removeEventListeners_",value:function(){var t=this;this.listenerInfos_.forEach(function(e){Object.keys(e).forEach(function(n){t.adapter_.deregisterInteractionHandler(e[n],t.listeners_[n])})}),this.adapter_.deregisterResizeHandler(this.resizeHandler_)}},{key:"removeCssVars_",value:function(){var t=this,n=e.strings;Object.keys(n).forEach(function(e){0===e.indexOf("VAR_")&&t.adapter_.updateCssVariable(n[e],null)})}},{key:"layout",value:function(){var t=this;this.layoutFrame_&&cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=requestAnimationFrame(function(){t.layoutInternal_(),t.layoutFrame_=0})}},{key:"layoutInternal_",value:function(){this.frame_=this.adapter_.computeBoundingRect();var t=Math.max(this.frame_.height,this.frame_.width),n=Math.sqrt(Math.pow(this.frame_.width,2)+Math.pow(this.frame_.height,2));this.initialSize_=t*e.numbers.INITIAL_ORIGIN_SCALE,this.maxRadius_=n+e.numbers.PADDING,this.fgScale_=this.maxRadius_/this.initialSize_,this.xfDuration_=1e3*Math.sqrt(this.maxRadius_/1024),this.updateLayoutCssVars_()}},{key:"updateLayoutCssVars_",value:function(){var t=e.strings,n=t.VAR_FG_SIZE,i=t.VAR_LEFT,a=t.VAR_TOP,r=t.VAR_FG_SCALE;this.adapter_.updateCssVariable(n,this.initialSize_+"px"),this.adapter_.updateCssVariable(r,this.fgScale_),this.adapter_.isUnbounded()&&(this.unboundedCoords_={left:Math.round(this.frame_.width/2-this.initialSize_/2),top:Math.round(this.frame_.height/2-this.initialSize_/2)},this.adapter_.updateCssVariable(i,this.unboundedCoords_.left+"px"),this.adapter_.updateCssVariable(a,this.unboundedCoords_.top+"px"))}}]),e}(o.a);e.a=f},7:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"c",function(){return a}),n.d(e,"b",function(){return r});/** | ||
var s=void 0,c=void 0},3:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();!function(){function t(){i(this,t)}a(t,[{key:"browserSupportsCssVars",value:function(){}},{key:"isUnbounded",value:function(){}},{key:"isSurfaceActive",value:function(){}},{key:"isSurfaceDisabled",value:function(){}},{key:"addClass",value:function(t){}},{key:"removeClass",value:function(t){}},{key:"registerInteractionHandler",value:function(t,e){}},{key:"deregisterInteractionHandler",value:function(t,e){}},{key:"registerDocumentInteractionHandler",value:function(t,e){}},{key:"deregisterDocumentInteractionHandler",value:function(t,e){}},{key:"registerResizeHandler",value:function(t){}},{key:"deregisterResizeHandler",value:function(t){}},{key:"updateCssVariable",value:function(t,e){}},{key:"computeBoundingRect",value:function(){}},{key:"getWindowPageOffset",value:function(){}}])}()},5:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"MDCRipple",function(){return d}),n.d(e,"RippleCapableSurface",function(){return l});var o=n(1),u=(n(3),n(6)),s=n(2);n.d(e,"MDCRippleFoundation",function(){return u.a}),n.d(e,"util",function(){return s});var c=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),d=function(t){function e(){var t;i(this,e);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var u=a(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(r)));return u.disabled=!1,u.unbounded_,u}return r(e,t),c(e,[{key:"setUnbounded_",value:function(){this.foundation_.setUnbounded(this.unbounded_)}},{key:"activate",value:function(){this.foundation_.activate()}},{key:"deactivate",value:function(){this.foundation_.deactivate()}},{key:"layout",value:function(){this.foundation_.layout()}},{key:"getDefaultFoundation",value:function(){return new u.a(e.createAdapter(this))}},{key:"initialSyncWithDOM",value:function(){this.unbounded="mdcRippleIsUnbounded"in this.root_.dataset}},{key:"unbounded",get:function(){return this.unbounded_},set:function(t){this.unbounded_=Boolean(t),this.setUnbounded_()}}],[{key:"attachTo",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.isUnbounded,a=void 0===i?void 0:i,r=new e(t);return void 0!==a&&(r.unbounded=a),r}},{key:"createAdapter",value:function(t){var e=s.getMatchesProperty(HTMLElement.prototype);return{browserSupportsCssVars:function(){return s.supportsCssVariables(window)},isUnbounded:function(){return t.unbounded},isSurfaceActive:function(){return t.root_[e](":active")},isSurfaceDisabled:function(){return t.disabled},addClass:function(e){return t.root_.classList.add(e)},removeClass:function(e){return t.root_.classList.remove(e)},registerInteractionHandler:function(e,n){return t.root_.addEventListener(e,n,s.applyPassive())},deregisterInteractionHandler:function(e,n){return t.root_.removeEventListener(e,n,s.applyPassive())},registerDocumentInteractionHandler:function(t,e){return document.documentElement.addEventListener(t,e,s.applyPassive())},deregisterDocumentInteractionHandler:function(t,e){return document.documentElement.removeEventListener(t,e,s.applyPassive())},registerResizeHandler:function(t){return window.addEventListener("resize",t)},deregisterResizeHandler:function(t){return window.removeEventListener("resize",t)},updateCssVariable:function(e,n){return t.root_.style.setProperty(e,n)},computeBoundingRect:function(){return t.root_.getBoundingClientRect()},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}}}}}]),e}(o.a),l=function t(){i(this,t)};l.prototype.root_,l.prototype.unbounded,l.prototype.disabled},6:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=n(0),u=(n(3),n(7)),s=n(2),c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},d=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),l=["touchstart","pointerdown","mousedown","keydown"],f=["touchend","pointerup","mouseup"],v=function(t){function e(t){i(this,e);var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,c(e.defaultAdapter,t)));return n.layoutFrame_=0,n.frame_={width:0,height:0},n.activationState_=n.defaultActivationState_(),n.xfDuration_=0,n.initialSize_=0,n.maxRadius_=0,n.activateHandler_=function(t){return n.activate_(t)},n.deactivateHandler_=function(t){return n.deactivate_(t)},n.focusHandler_=function(){return requestAnimationFrame(function(){return n.adapter_.addClass(e.cssClasses.BG_FOCUSED)})},n.blurHandler_=function(){return requestAnimationFrame(function(){return n.adapter_.removeClass(e.cssClasses.BG_FOCUSED)})},n.resizeHandler_=function(){return n.layout()},n.unboundedCoords_={left:0,top:0},n.fgScale_=0,n.activationTimer_=0,n.fgDeactivationRemovalTimer_=0,n.activationAnimationHasEnded_=!1,n.activationTimerCallback_=function(){n.activationAnimationHasEnded_=!0,n.runDeactivationUXLogicIfReady_()},n.previousActivationEvent_=null,n}return r(e,t),d(e,null,[{key:"cssClasses",get:function(){return u.a}},{key:"strings",get:function(){return u.c}},{key:"numbers",get:function(){return u.b}},{key:"defaultAdapter",get:function(){return{browserSupportsCssVars:function(){},isUnbounded:function(){},isSurfaceActive:function(){},isSurfaceDisabled:function(){},addClass:function(){},removeClass:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},registerDocumentInteractionHandler:function(){},deregisterDocumentInteractionHandler:function(){},registerResizeHandler:function(){},deregisterResizeHandler:function(){},updateCssVariable:function(){},computeBoundingRect:function(){},getWindowPageOffset:function(){}}}}]),d(e,[{key:"isSupported_",value:function(){return this.adapter_.browserSupportsCssVars()}},{key:"defaultActivationState_",value:function(){return{isActivated:!1,hasDeactivationUXRun:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1,activationEvent:null,isProgrammatic:!1}}},{key:"init",value:function(){var t=this;if(this.isSupported_()){this.registerRootHandlers_();var n=e.cssClasses,i=n.ROOT,a=n.UNBOUNDED;requestAnimationFrame(function(){t.adapter_.addClass(i),t.adapter_.isUnbounded()&&t.adapter_.addClass(a),t.layoutInternal_()})}}},{key:"destroy",value:function(){var t=this;if(this.isSupported_()){this.deregisterRootHandlers_(),this.deregisterDeactivationHandlers_();var n=e.cssClasses,i=n.ROOT,a=n.UNBOUNDED;requestAnimationFrame(function(){t.adapter_.removeClass(i),t.adapter_.removeClass(a),t.removeCssVars_()})}}},{key:"registerRootHandlers_",value:function(){var t=this;l.forEach(function(e){t.adapter_.registerInteractionHandler(e,t.activateHandler_)}),this.adapter_.registerInteractionHandler("focus",this.focusHandler_),this.adapter_.registerInteractionHandler("blur",this.blurHandler_),this.adapter_.registerResizeHandler(this.resizeHandler_)}},{key:"registerDeactivationHandlers_",value:function(t){var e=this;"keydown"===t.type?this.adapter_.registerInteractionHandler("keyup",this.deactivateHandler_):f.forEach(function(t){e.adapter_.registerDocumentInteractionHandler(t,e.deactivateHandler_)})}},{key:"deregisterRootHandlers_",value:function(){var t=this;l.forEach(function(e){t.adapter_.deregisterInteractionHandler(e,t.activateHandler_)}),this.adapter_.deregisterInteractionHandler("focus",this.focusHandler_),this.adapter_.deregisterInteractionHandler("blur",this.blurHandler_),this.adapter_.deregisterResizeHandler(this.resizeHandler_)}},{key:"deregisterDeactivationHandlers_",value:function(){var t=this;this.adapter_.deregisterInteractionHandler("keyup",this.deactivateHandler_),f.forEach(function(e){t.adapter_.deregisterDocumentInteractionHandler(e,t.deactivateHandler_)})}},{key:"removeCssVars_",value:function(){var t=this,n=e.strings;Object.keys(n).forEach(function(e){0===e.indexOf("VAR_")&&t.adapter_.updateCssVariable(n[e],null)})}},{key:"activate_",value:function(t){var e=this;if(!this.adapter_.isSurfaceDisabled()){var n=this.activationState_;if(!n.isActivated){var i=this.previousActivationEvent_;i&&t&&i.type!==t.type&&i.clientX===t.clientX&&i.clientY===t.clientY||(n.isActivated=!0,n.isProgrammatic=null===t,n.activationEvent=t,n.wasActivatedByPointer=!n.isProgrammatic&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type),t&&this.registerDeactivationHandlers_(t),requestAnimationFrame(function(){n.wasElementMadeActive=!t||"keydown"!==t.type||e.adapter_.isSurfaceActive(),n.wasElementMadeActive?e.animateActivation_():e.activationState_=e.defaultActivationState_()}))}}}},{key:"activate",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.activate_(t)}},{key:"animateActivation_",value:function(){var t=this,n=e.strings,i=n.VAR_FG_TRANSLATE_START,a=n.VAR_FG_TRANSLATE_END,r=e.cssClasses,o=r.FG_DEACTIVATION,u=r.FG_ACTIVATION,s=e.numbers.DEACTIVATION_TIMEOUT_MS,c="",d="";if(!this.adapter_.isUnbounded()){var l=this.getFgTranslationCoordinates_(),f=l.startPoint,v=l.endPoint;c=f.x+"px, "+f.y+"px",d=v.x+"px, "+v.y+"px"}this.adapter_.updateCssVariable(i,c),this.adapter_.updateCssVariable(a,d),clearTimeout(this.activationTimer_),clearTimeout(this.fgDeactivationRemovalTimer_),this.rmBoundedActivationClasses_(),this.adapter_.removeClass(o),this.adapter_.computeBoundingRect(),this.adapter_.addClass(u),this.activationTimer_=setTimeout(function(){return t.activationTimerCallback_()},s)}},{key:"getFgTranslationCoordinates_",value:function(){var t=this.activationState_,e=t.activationEvent,n=t.wasActivatedByPointer,i=void 0;return i=n?Object(s.getNormalizedEventCoords)(e,this.adapter_.getWindowPageOffset(),this.adapter_.computeBoundingRect()):{x:this.frame_.width/2,y:this.frame_.height/2},i={x:i.x-this.initialSize_/2,y:i.y-this.initialSize_/2},{startPoint:i,endPoint:{x:this.frame_.width/2-this.initialSize_/2,y:this.frame_.height/2-this.initialSize_/2}}}},{key:"runDeactivationUXLogicIfReady_",value:function(){var t=this,n=e.cssClasses.FG_DEACTIVATION,i=this.activationState_,a=i.hasDeactivationUXRun,r=i.isActivated;(a||!r)&&this.activationAnimationHasEnded_&&(this.rmBoundedActivationClasses_(),this.adapter_.addClass(n),this.fgDeactivationRemovalTimer_=setTimeout(function(){t.adapter_.removeClass(n)},u.b.FG_DEACTIVATION_MS))}},{key:"rmBoundedActivationClasses_",value:function(){var t=e.cssClasses.FG_ACTIVATION;this.adapter_.removeClass(t),this.activationAnimationHasEnded_=!1,this.adapter_.computeBoundingRect()}},{key:"resetActivationState_",value:function(){var t=this;this.previousActivationEvent_=this.activationState_.activationEvent,this.activationState_=this.defaultActivationState_(),setTimeout(function(){return t.previousActivationEvent_=null},100)}},{key:"deactivate_",value:function(t){var e=this,n=this.activationState_;if(n.isActivated){var i=c({},n);if(n.isProgrammatic){requestAnimationFrame(function(){return e.animateDeactivation_(null,i)}),this.resetActivationState_()}else this.deregisterDeactivationHandlers_(),requestAnimationFrame(function(){e.activationState_.hasDeactivationUXRun=!0,e.animateDeactivation_(t,i),e.resetActivationState_()})}}},{key:"deactivate",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.deactivate_(t)}},{key:"animateDeactivation_",value:function(t,e){var n=e.wasActivatedByPointer,i=e.wasElementMadeActive;(n||i)&&this.runDeactivationUXLogicIfReady_()}},{key:"layout",value:function(){var t=this;this.layoutFrame_&&cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=requestAnimationFrame(function(){t.layoutInternal_(),t.layoutFrame_=0})}},{key:"layoutInternal_",value:function(){this.frame_=this.adapter_.computeBoundingRect();var t=Math.max(this.frame_.height,this.frame_.width),n=Math.sqrt(Math.pow(this.frame_.width,2)+Math.pow(this.frame_.height,2));this.initialSize_=t*e.numbers.INITIAL_ORIGIN_SCALE,this.maxRadius_=n+e.numbers.PADDING,this.fgScale_=this.maxRadius_/this.initialSize_,this.xfDuration_=1e3*Math.sqrt(this.maxRadius_/1024),this.updateLayoutCssVars_()}},{key:"updateLayoutCssVars_",value:function(){var t=e.strings,n=t.VAR_FG_SIZE,i=t.VAR_LEFT,a=t.VAR_TOP,r=t.VAR_FG_SCALE;this.adapter_.updateCssVariable(n,this.initialSize_+"px"),this.adapter_.updateCssVariable(r,this.fgScale_),this.adapter_.isUnbounded()&&(this.unboundedCoords_={left:Math.round(this.frame_.width/2-this.initialSize_/2),top:Math.round(this.frame_.height/2-this.initialSize_/2)},this.adapter_.updateCssVariable(i,this.unboundedCoords_.left+"px"),this.adapter_.updateCssVariable(a,this.unboundedCoords_.top+"px"))}},{key:"setUnbounded",value:function(t){var n=e.cssClasses.UNBOUNDED;t?this.adapter_.addClass(n):this.adapter_.removeClass(n)}}]),e}(o.a);e.a=v},7:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"c",function(){return a}),n.d(e,"b",function(){return r});/** | ||
* @license | ||
@@ -39,2 +39,2 @@ * Copyright 2016 Google Inc. All Rights Reserved. | ||
*/ | ||
var i={ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded",BG_FOCUSED:"mdc-ripple-upgraded--background-focused",BG_ACTIVE_FILL:"mdc-ripple-upgraded--background-active-fill",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation"},a={VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top",VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end"},r={PADDING:10,INITIAL_ORIGIN_SCALE:.6,DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150}},83:function(t,e,n){t.exports=n(9)},9:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"MDCSelectionControlState",function(){return r}),n.d(e,"MDCSelectionControl",function(){return o});var a=(n(5),function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}()),r=void 0,o=function(){function t(){i(this,t)}return a(t,[{key:"ripple",get:function(){}}]),t}()}})}); | ||
var i={ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded",BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation"},a={VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end"},r={PADDING:10,INITIAL_ORIGIN_SCALE:.6,DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150}},9:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"MDCSelectionControlState",function(){return r}),n.d(e,"MDCSelectionControl",function(){return o});var a=(n(5),function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}()),r=void 0,o=function(){function t(){i(this,t)}return a(t,[{key:"ripple",get:function(){}}]),t}()},91:function(t,e,n){t.exports=n(9)}})}); |
{ | ||
"name": "@material/selection-control", | ||
"description": "The set of base classes for Material selection controls", | ||
"version": "0.27.0", | ||
"version": "0.28.0", | ||
"license": "Apache-2.0", | ||
@@ -12,3 +12,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@material/ripple": "^0.27.0" | ||
"@material/ripple": "^0.28.0" | ||
}, | ||
@@ -15,0 +15,0 @@ "publishConfig": { |
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
84341
1596
+ Added@material/ripple@0.28.0(transitive)
+ Added@material/theme@0.28.0(transitive)
- Removed@material/ripple@0.27.0(transitive)
- Removed@material/theme@0.27.0(transitive)
Updated@material/ripple@^0.28.0