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

@progress/kendo-react-ripple

Package Overview
Dependencies
Maintainers
1
Versions
1245
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progress/kendo-react-ripple - npm Package Compare versions

Comparing version 0.5.0-dev.201804041130 to 0.5.0

7

dist/cdn/js/kendo-react-ripple.js

@@ -1,6 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.KendoReactRipple=t(require("react")):e.KendoReactRipple=t(e.React)}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.Ripple=r.default},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=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])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),i=n(3),a=n(13),u=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=a.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 r(t,e),t.prototype.componentDidMount=function(){this.registerListeners()},t.prototype.componentWillReceiveProps=function(e){var t=e.disabled;t?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 o.createElement("span",{className:t,ref:function(t){e._element=t}},this.props.children)},t}(o.PureComponent);u.propTypes={disabled:i.bool},t.default=u},function(t,n){t.exports=e},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},i=!0;e.exports=n(5)(o,i)}else e.exports=n(12)()}).call(t,n(4))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(f===setTimeout)return setTimeout(e,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function i(e){if(l===clearTimeout)return clearTimeout(e);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(e);try{return l(e)}catch(t){try{return l.call(null,e)}catch(t){return l.call(this,e)}}}function a(){y&&d&&(y=!1,d.length?v=d.concat(v):h=-1,v.length&&u())}function u(){if(!y){var e=o(a);y=!0;for(var t=v.length;t;){for(d=v,v=[];++h<t;)d&&d[h].run();h=-1,t=v.length}d=null,y=!1,i(e)}}function c(e,t){this.fun=e,this.array=t}function s(){}var f,l,p=e.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(e){f=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(e){l=r}}();var d,v=[],y=!1,h=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];v.push(new c(e,t)),1!==v.length||y||o(u)},c.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=s,p.addListener=s,p.once=s,p.off=s,p.removeListener=s,p.removeAllListeners=s,p.emit=s,p.prependListener=s,p.prependOnceListener=s,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){(function(t){"use strict";var r=n(6),o=n(7),i=n(8),a=n(9),u=n(10),c=n(11);e.exports=function(e,n){function s(e){var t=e&&(R&&e[R]||e[S]);if("function"==typeof t)return t}function f(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function l(e){this.message=e,this.stack=""}function p(e){function r(r,s,f,p,d,v,y){if(p=p||L,v=v||f,y!==u)if(n)o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var h=p+":"+f;!a[h]&&c<3&&(i(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",v,p),a[h]=!0,c++)}return null==s[f]?r?new l(null===s[f]?"The "+d+" `"+v+"` is marked as required "+("in `"+p+"`, but its value is `null`."):"The "+d+" `"+v+"` is marked as required in "+("`"+p+"`, but its value is `undefined`.")):null:e(s,f,p,d,v)}if("production"!==t.env.NODE_ENV)var a={},c=0;var s=r.bind(null,!1);return s.isRequired=r.bind(null,!0),s}function d(e){function t(t,n,r,o,i,a){var u=t[n],c=j(u);if(c!==e){var s=_(u);return new l("Invalid "+o+" `"+i+"` of type "+("`"+s+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return p(t)}function v(){return p(r.thatReturnsNull)}function y(e){function t(t,n,r,o,i){if("function"!=typeof e)return new l("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a)){var c=j(a);return new l("Invalid "+o+" `"+i+"` of type "+("`"+c+"` supplied to `"+r+"`, expected an array."))}for(var s=0;s<a.length;s++){var f=e(a,s,r,o,i+"["+s+"]",u);if(f instanceof Error)return f}return null}return p(t)}function h(){function t(t,n,r,o,i){var a=t[n];if(!e(a)){var u=j(a);return new l("Invalid "+o+" `"+i+"` of type "+("`"+u+"` supplied to `"+r+"`, expected a single ReactElement."))}return null}return p(t)}function m(e){function t(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||L,u=P(t[n]);return new l("Invalid "+o+" `"+i+"` of type "+("`"+u+"` supplied to `"+r+"`, expected ")+("instance of `"+a+"`."))}return null}return p(t)}function b(e){function n(t,n,r,o,i){for(var a=t[n],u=0;u<e.length;u++)if(f(a,e[u]))return null;var c=JSON.stringify(e);return new l("Invalid "+o+" `"+i+"` of value `"+a+"` "+("supplied to `"+r+"`, expected one of "+c+"."))}return Array.isArray(e)?p(n):("production"!==t.env.NODE_ENV?i(!1,"Invalid argument supplied to oneOf, expected an instance of array."):void 0,r.thatReturnsNull)}function g(e){function t(t,n,r,o,i){if("function"!=typeof e)return new l("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=t[n],c=j(a);if("object"!==c)return new l("Invalid "+o+" `"+i+"` of type "+("`"+c+"` supplied to `"+r+"`, expected an object."));for(var s in a)if(a.hasOwnProperty(s)){var f=e(a,s,r,o,i+"."+s,u);if(f instanceof Error)return f}return null}return p(t)}function w(e){function n(t,n,r,o,i){for(var a=0;a<e.length;a++){var c=e[a];if(null==c(t,n,r,o,i,u))return null}return new l("Invalid "+o+" `"+i+"` supplied to "+("`"+r+"`."))}if(!Array.isArray(e))return"production"!==t.env.NODE_ENV?i(!1,"Invalid argument supplied to oneOfType, expected an instance of array."):void 0,r.thatReturnsNull;for(var o=0;o<e.length;o++){var a=e[o];if("function"!=typeof a)return i(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",N(a),o),r.thatReturnsNull}return p(n)}function O(){function e(e,t,n,r,o){return T(e[t])?null:new l("Invalid "+r+" `"+o+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return p(e)}function E(e){function t(t,n,r,o,i){var a=t[n],c=j(a);if("object"!==c)return new l("Invalid "+o+" `"+i+"` of type `"+c+"` "+("supplied to `"+r+"`, expected `object`."));for(var s in e){var f=e[s];if(f){var p=f(a,s,r,o,i+"."+s,u);if(p)return p}}return null}return p(t)}function x(e){function t(t,n,r,o,i){var c=t[n],s=j(c);if("object"!==s)return new l("Invalid "+o+" `"+i+"` of type `"+s+"` "+("supplied to `"+r+"`, expected `object`."));var f=a({},t[n],e);for(var p in f){var d=e[p];if(!d)return new l("Invalid "+o+" `"+i+"` key `"+p+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var v=d(c,p,r,o,i+"."+p,u);if(v)return v}return null}return p(t)}function T(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(T);if(null===t||e(t))return!0;var n=s(t);if(!n)return!1;var r,o=n.call(t);if(n!==t.entries){for(;!(r=o.next()).done;)if(!T(r.value))return!1}else for(;!(r=o.next()).done;){var i=r.value;if(i&&!T(i[1]))return!1}return!0;default:return!1}}function k(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function j(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":k(t,e)?"symbol":t}function _(e){if("undefined"==typeof e||null===e)return""+e;var t=j(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function N(e){var t=_(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function P(e){return e.constructor&&e.constructor.name?e.constructor.name:L}var R="function"==typeof Symbol&&Symbol.iterator,S="@@iterator",L="<<anonymous>>",I={array:d("array"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:v(),arrayOf:y,element:h(),instanceOf:m,node:O(),objectOf:g,oneOf:b,oneOfType:w,shape:E,exact:x};return l.prototype=Error.prototype,I.checkPropTypes=c,I.PropTypes=I,I}}).call(t,n(4))},function(e,t){"use strict";function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){(function(t){"use strict";function n(e,t,n,o,i,a,u,c){if(r(t),!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[n,o,i,a,u,c],l=0;s=new Error(t.replace(/%s/g,function(){return f[l++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}var r=function(e){};"production"!==t.env.NODE_ENV&&(r=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=n}).call(t,n(4))},function(e,t,n){(function(t){"use strict";var r=n(6),o=r;if("production"!==t.env.NODE_ENV){var i=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,function(){return n[o++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};o=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];i.apply(void 0,[t].concat(r))}}}e.exports=o}).call(t,n(4))},function(e,t){/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,u,c=n(e),s=1;s<arguments.length;s++){r=Object(arguments[s]);for(var f in r)i.call(r,f)&&(c[f]=r[f]);if(o){u=o(r);for(var l=0;l<u.length;l++)a.call(r,u[l])&&(c[u[l]]=r[u[l]])}}return c}},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t,n){(function(t){"use strict";function r(e,n,r,c,s){if("production"!==t.env.NODE_ENV)for(var f in e)if(e.hasOwnProperty(f)){var l;try{o("function"==typeof e[f],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",c||"React class",r,f,typeof e[f]),l=e[f](n,f,c,r,null,a)}catch(e){l=e}if(i(!l||l instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",c||"React class",r,f,typeof l),l instanceof Error&&!(l.message in u)){u[l.message]=!0;var p=s?s():"";i(!1,"Failed %s type: %s%s",r,l.message,null!=p?p:"")}}}if("production"!==t.env.NODE_ENV)var o=n(7),i=n(8),a=n(10),u={};e.exports=r}).call(t,n(4))},function(e,t,n){"use strict";var r=n(6),o=n(7),i=n(10);e.exports=function(){function e(e,t,n,r,a,u){u!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(14);t.register=r.register},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){if(e.closest)return e.closest(t);var n=(e.document||e.ownerDocument).querySelectorAll(t),r=e,o=0;do{for(o=n.length-1;o>=0&&n.item(o)!==r;)o-=1;if(o<0)break;r=r.parentElement}while(r);return r},r=function(e){var t=e.createElement("div");t.className="k-ripple";var n=e.createElement("div");return n.className="k-ripple-blob",t.appendChild(n),[t,n]},o=function(e,t,n){var r=function(){n(),e.removeEventListener(t,r,!1)},o=function(){return e.addEventListener(t,r,!1)};return o(),{remove:o}},i=function(e,t){return function(i){var c,s=i.target,f=s.document||s.ownerDocument;if(c=t.container?t.container(s):n(s,e)){var l=/focus/i.test(i.type)&&c.classList.contains("k-ripple-target");if(!l){c.classList.add("k-ripple-target");var p=r(f),d=p[0],v=p[1],y={animated:!1,released:!1,blob:v,container:c,ripple:d},h={focusin:"focusout",keydown:"keyup",mousedown:"mouseup",pointerdown:"pointerup",touchdown:"touchup"}[i.type];o(i.currentTarget,h,function(){return u(y)}),c.appendChild(d),window.getComputedStyle(d).getPropertyValue("opacity");var m=c.getBoundingClientRect(),b=0,g=0;/mouse|pointer|touch/.test(i.type)?(b=i.clientX-m.left,g=i.clientY-m.top):(b=m.width/2,g=m.height/2);var w=b<m.width/2?m.width:0,O=g<m.height/2?m.height:0,E=b-w,x=g-O,T=2*Math.sqrt(E*E+x*x),k=500;v.style.cssText="\n transform: translate(-50%, -50%) scale(1);\n width: "+T+"px;\n height: "+T+"px;\n left: "+b+"px;\n top: "+g+"px;\n ",setTimeout(function(){return a(y)},k)}}}},a=function(e){e.animated=!0,c(e)},u=function(e){e.released=!0,c(e)},c=function(e){if(e.released&&e.animated){var t=e.blob,n=e.ripple,r=e.container;r&&o(r,"blur",function(){return r.classList.remove("k-ripple-target")}),t&&(o(t,"transitionend",function(){n&&n.parentNode&&n.parentNode.removeChild(n)}),t.style.transition="opacity 200ms linear",t.style.opacity="0")}};t.register=function(e,t){var n=function(e){return[].concat.apply([],e)},r=n(t.map(function(t){var n={events:["mousedown","touchdown"],global:!1},r=t.selector,o=t.options,a=void 0===o?n:o,u=i(r,a),c=a.events||n.events,s=a.global?document.body:e;return c.forEach(function(e){return s.addEventListener(e,u,!1)}),{events:c,activator:u}}));return function(){e&&(r.forEach(function(t){var n=t.events,r=t.activator;return n.forEach(function(t){return e.removeEventListener(t,r,!1)})}),e=null)}}}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.KendoReactRipple=t(require("react")):e.KendoReactRipple=t(e.React)}(window,function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}([function(e,t,n){"use strict";n.r(t);var r=function(e,t,n){var r=function(){n(),e.removeEventListener(t,r,!1)},o=function(){return e.addEventListener(t,r,!1)};return o(),{remove:o}},o=function(e){e.animated=!0,s(e)},i=function(e){e.released=!0,s(e)},s=function(e){if(e.released&&e.animated){var t=e.blob,n=e.ripple,o=e.container;o&&r(o,"blur",function(){return o.classList.remove("k-ripple-target")}),t&&(r(t,"transitionend",function(){n&&n.parentNode&&n.parentNode.removeChild(n)}),t.style.transition="opacity 200ms linear",t.style.opacity="0")}},c=function(e,t){var n,s=(n=t.map(function(t){var n={events:["mousedown","touchdown"],global:!1},s=t.selector,c=t.options,u=void 0===c?n:c,a=function(e,t){return function(n){var s,c=n.target,u=c.document||c.ownerDocument;if((s=t.container?t.container(c):function(e,t){if(e.closest)return e.closest(t);var n=(e.document||e.ownerDocument).querySelectorAll(t),r=e,o=0;do{for(o=n.length-1;o>=0&&n.item(o)!==r;)o-=1;if(o<0)break;r=r.parentElement}while(r);return r}(c,e))&&(!/focus/i.test(n.type)||!s.classList.contains("k-ripple-target"))){s.classList.add("k-ripple-target");var a=function(e){var t=e.createElement("div");t.className="k-ripple";var n=e.createElement("div");return n.className="k-ripple-blob",t.appendChild(n),[t,n]}(u),p=a[0],l=a[1],f={animated:!1,released:!1,blob:l,container:s,ripple:p},d={focusin:"focusout",keydown:"keyup",mousedown:"mouseup",pointerdown:"pointerup",touchdown:"touchup"}[n.type];r(n.currentTarget,d,function(){return i(f)}),s.appendChild(p),window.getComputedStyle(p).getPropertyValue("opacity");var m=s.getBoundingClientRect(),v=0,h=0;/mouse|pointer|touch/.test(n.type)?(v=n.clientX-m.left,h=n.clientY-m.top):(v=m.width/2,h=m.height/2);var y=v-(v<m.width/2?m.width:0),b=h-(h<m.height/2?m.height:0),g=2*Math.sqrt(y*y+b*b);l.style.cssText="\n transform: translate(-50%, -50%) scale(1);\n width: "+g+"px;\n height: "+g+"px;\n left: "+v+"px;\n top: "+h+"px;\n ",setTimeout(function(){return o(f)},500)}}}(s,u),p=u.events||n.events,l=u.global?document.body:e;return p.forEach(function(e){return l.addEventListener(e,a,!1)}),{events:p,activator:a}}),[].concat.apply([],n));return function(){e&&(s.forEach(function(t){var n=t.events,r=t.activator;return n.forEach(function(t){return e.removeEventListener(t,r,!1)})}),e=null)}};n.d(t,"register",function(){return c})},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,i,s,c,u){if(r(t),!e){var a;if(void 0===t)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var p=[n,o,i,s,c,u],l=0;(a=new Error(t.replace(/%s/g,function(){return p[l++]}))).name="Invariant Violation"}throw a.framesToPop=1,a}}},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";var r=n(3),o=n(2),i=n(1);e.exports=function(){function e(e,t,n,r,s,c){c!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){e.exports=n(4)()},function(t,n){t.exports=e},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(6),s=n(5),c=n(0),u=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.propTypes={disabled:s.bool},t}(i.PureComponent);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7);t.Ripple=r.default}])});

14

dist/es/Ripple.js

@@ -14,3 +14,3 @@ var __extends = (this && this.__extends) || (function () {

import { register } from '@progress/kendo-ripple';
var Ripple = (function (_super) {
var Ripple = /** @class */ (function (_super) {
__extends(Ripple, _super);

@@ -78,11 +78,11 @@ function Ripple() {

};
/**
* @hidden
*/
Ripple.propTypes = {
disabled: PropTypes.bool,
};
return Ripple;
}(React.PureComponent));
export default Ripple;
/**
* @hidden
*/
Ripple.propTypes = {
disabled: PropTypes.bool,
};
//# sourceMappingURL=Ripple.js.map

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

var kendo_ripple_1 = require("@progress/kendo-ripple");
var Ripple = (function (_super) {
var Ripple = /** @class */ (function (_super) {
__extends(Ripple, _super);

@@ -80,11 +80,11 @@ function Ripple() {

};
/**
* @hidden
*/
Ripple.propTypes = {
disabled: PropTypes.bool,
};
return Ripple;
}(React.PureComponent));
/**
* @hidden
*/
Ripple.propTypes = {
disabled: PropTypes.bool,
};
exports.default = Ripple;
//# sourceMappingURL=Ripple.js.map

@@ -1,1 +0,1 @@

System.register("@progress/kendo-react-ripple",["react","prop-types","@progress/kendo-ripple"],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=r},function(e,t){e.exports=i}])}}});
System.register("@progress/kendo-react-ripple",["prop-types","react","@progress/kendo-ripple"],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]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},o.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=4)}([function(e,t){e.exports=i},function(e,t){e.exports=n},function(e,t){e.exports=r},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(1),c=n(0),u=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.propTypes={disabled:s.bool},t}(i.PureComponent);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3);t.Ripple=r.default,function(e){for(var t in e)o(t,e[t])}(t)}])}}});
{
"name": "@progress/kendo-react-ripple",
"description": "Kendo UI for React Ripple package",
"version": "0.5.0-dev.201804041130",
"version": "0.5.0",
"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

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