@progress/kendo-react-ripple
Advanced tools
Comparing version 0.4.0-dev.201802231603 to 0.4.0-dev.201803071513
@@ -30,6 +30,6 @@ /// <reference types="react" /> | ||
} | ||
/** | ||
* @hidden | ||
*/ | ||
export default class Ripple extends React.PureComponent<RippleProps, {}> { | ||
/** | ||
* @hidden | ||
*/ | ||
static propTypes: { | ||
@@ -40,7 +40,19 @@ disabled: PropTypes.Requireable<any>; | ||
private removeListeners; | ||
/** | ||
* @hidden | ||
*/ | ||
componentDidMount(): void; | ||
/** | ||
* @hidden | ||
*/ | ||
componentWillReceiveProps(props: RippleProps): void; | ||
/** | ||
* @hidden | ||
*/ | ||
componentWillUnmount(): void; | ||
registerListeners: () => void; | ||
/** | ||
* @hidden | ||
*/ | ||
render(): JSX.Element; | ||
private registerListeners; | ||
} |
@@ -14,5 +14,2 @@ var __extends = (this && this.__extends) || (function () { | ||
import { register } from '@progress/kendo-ripple'; | ||
/** | ||
* @hidden | ||
*/ | ||
var Ripple = (function (_super) { | ||
@@ -47,5 +44,11 @@ __extends(Ripple, _super); | ||
} | ||
/** | ||
* @hidden | ||
*/ | ||
Ripple.prototype.componentDidMount = function () { | ||
this.registerListeners(); | ||
}; | ||
/** | ||
* @hidden | ||
*/ | ||
Ripple.prototype.componentWillReceiveProps = function (props) { | ||
@@ -60,5 +63,11 @@ var disabled = props.disabled; | ||
}; | ||
/** | ||
* @hidden | ||
*/ | ||
Ripple.prototype.componentWillUnmount = function () { | ||
this.removeListeners(); | ||
}; | ||
/** | ||
* @hidden | ||
*/ | ||
Ripple.prototype.render = function () { | ||
@@ -74,2 +83,5 @@ var _this = this; | ||
export default Ripple; | ||
/** | ||
* @hidden | ||
*/ | ||
Ripple.propTypes = { | ||
@@ -76,0 +88,0 @@ disabled: PropTypes.bool, |
@@ -30,6 +30,6 @@ /// <reference types="react" /> | ||
} | ||
/** | ||
* @hidden | ||
*/ | ||
export default class Ripple extends React.PureComponent<RippleProps, {}> { | ||
/** | ||
* @hidden | ||
*/ | ||
static propTypes: { | ||
@@ -40,7 +40,19 @@ disabled: PropTypes.Requireable<any>; | ||
private removeListeners; | ||
/** | ||
* @hidden | ||
*/ | ||
componentDidMount(): void; | ||
/** | ||
* @hidden | ||
*/ | ||
componentWillReceiveProps(props: RippleProps): void; | ||
/** | ||
* @hidden | ||
*/ | ||
componentWillUnmount(): void; | ||
registerListeners: () => void; | ||
/** | ||
* @hidden | ||
*/ | ||
render(): JSX.Element; | ||
private registerListeners; | ||
} |
@@ -16,5 +16,2 @@ "use strict"; | ||
var kendo_ripple_1 = require("@progress/kendo-ripple"); | ||
/** | ||
* @hidden | ||
*/ | ||
var Ripple = (function (_super) { | ||
@@ -49,5 +46,11 @@ __extends(Ripple, _super); | ||
} | ||
/** | ||
* @hidden | ||
*/ | ||
Ripple.prototype.componentDidMount = function () { | ||
this.registerListeners(); | ||
}; | ||
/** | ||
* @hidden | ||
*/ | ||
Ripple.prototype.componentWillReceiveProps = function (props) { | ||
@@ -62,5 +65,11 @@ var disabled = props.disabled; | ||
}; | ||
/** | ||
* @hidden | ||
*/ | ||
Ripple.prototype.componentWillUnmount = function () { | ||
this.removeListeners(); | ||
}; | ||
/** | ||
* @hidden | ||
*/ | ||
Ripple.prototype.render = function () { | ||
@@ -75,2 +84,5 @@ var _this = this; | ||
}(React.PureComponent)); | ||
/** | ||
* @hidden | ||
*/ | ||
Ripple.propTypes = { | ||
@@ -77,0 +89,0 @@ disabled: PropTypes.bool, |
@@ -1,1 +0,1 @@ | ||
System.register("@progress/kendo-react-ripple",["react","@progress/kendo-ripple","prop-types"],function(e){var t,n,r;function o(e){return e.__useDefault?e.default:e}return{setters:[function(e){t=o(e)},function(e){n=o(e)},function(e){r=o(e)}],execute:function(){!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.m=e,n.c=t,n.p="",n(0)}([function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=r(1);n.Ripple=o.default,function(t){for(var n in t)e(n,t[n])}(n)},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),s=n(3),c=n(4),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._element=null,t.removeListeners=function(){},t.registerListeners=function(){var e=t._element;t.removeListeners();var n=c.register(e,[{selector:".k-button:not(li)"},{selector:".k-list>.k-item",options:{global:!0}},{selector:".k-checkbox-label,.k-radio-label"},{selector:".k-checkbox,.k-radio",options:{events:["focusin"],container:function(e){if(/\b(k-checkbox|k-radio)\b/.test(e.className))return e.nextElementSibling}}}]);t.removeListeners=n},t}return o(t,e),t.prototype.componentDidMount=function(){this.registerListeners()},t.prototype.componentWillReceiveProps=function(e){e.disabled?this.removeListeners():this.registerListeners()},t.prototype.componentWillUnmount=function(){this.removeListeners()},t.prototype.render=function(){var e=this,t=this.props.className?"k-ripple-container "+this.props.className:"k-ripple-container";return i.createElement("span",{className:t,ref:function(t){e._element=t}},this.props.children)},t}(i.PureComponent);p.propTypes={disabled:s.bool},t.default=p},function(e,n){e.exports=t},function(e,t){e.exports=r},function(e,t){e.exports=n}])}}}); | ||
System.register("@progress/kendo-react-ripple",["react","@progress/kendo-ripple","prop-types"],function(o){var n,r,i;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){n=t(e)},function(e){r=t(e)},function(e){i=t(e)}],execute:function(){!function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={exports:{},id:e,loaded:!1};return n[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}o.m=n,o.c=r,o.p="",o(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.Ripple=r.default,function(e){for(var t in e)o(t,e[t])}(t)},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),s=n(3),c=n(4),p=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n._element=null,n.removeListeners=function(){},n.registerListeners=function(){var e=n._element;n.removeListeners();var t=c.register(e,[{selector:".k-button:not(li)"},{selector:".k-list>.k-item",options:{global:!0}},{selector:".k-checkbox-label,.k-radio-label"},{selector:".k-checkbox,.k-radio",options:{events:["focusin"],container:function(e){if(/\b(k-checkbox|k-radio)\b/.test(e.className))return e.nextElementSibling}}}]);n.removeListeners=t},n}return o(t,e),t.prototype.componentDidMount=function(){this.registerListeners()},t.prototype.componentWillReceiveProps=function(e){e.disabled?this.removeListeners():this.registerListeners()},t.prototype.componentWillUnmount=function(){this.removeListeners()},t.prototype.render=function(){var t=this,e=this.props.className?"k-ripple-container "+this.props.className:"k-ripple-container";return i.createElement("span",{className:e,ref:function(e){t._element=e}},this.props.children)},t}(i.PureComponent);p.propTypes={disabled:s.bool},t.default=p},function(e,t){e.exports=n},function(e,t){e.exports=i},function(e,t){e.exports=r}])}}}); |
{ | ||
"name": "@progress/kendo-react-ripple", | ||
"description": "Kendo UI for React Ripple package", | ||
"version": "0.4.0-dev.201802231603", | ||
"version": "0.4.0-dev.201803071513", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
34420
342