@progress/kendo-react-ripple 5.1.0-dev.202202230917 → 5.1.0-dev.202202250754
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
> **Important**
|
|
8
8
|
> * This package is а part of [KendoReact](https://www.telerik.com/kendo-react-ui/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-ripple)—a commercial UI library.
|
|
9
9
|
> * You will need to install a license key when adding the package to your project. For more information, please refer to the [KendoReact My License page](https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-ripple).
|
|
10
|
-
> * To receive a license key, you need to either [purchase a license](https://www.telerik.com/kendo-react-ui/pricing/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-ripple) or register for a [free trial](https://www.telerik.com/
|
|
10
|
+
> * To receive a license key, you need to either [purchase a license](https://www.telerik.com/kendo-react-ui/pricing/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-ripple) or register for a [free trial](https://www.telerik.com/try/kendo-react-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-ripple). Doing so indicates that you [accept the KendoReact License Agreement](https://www.telerik.com/purchase/license-agreement/progress-kendoreact?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-ripple).
|
|
11
11
|
> * The 30-day free trial gives you access to all the KendoReact components and their full functionality. Additionally, for the period of your license, you get access to our legendary technical support provided directly by the KendoReact dev team!
|
|
12
12
|
>
|
|
13
|
-
> [Start using KendoReact](https://www.telerik.com/
|
|
13
|
+
> [Start using KendoReact](https://www.telerik.com/try/kendo-react-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-ripple) and speed up your development process!
|
|
14
14
|
|
|
15
15
|
The KendoReact Ripple provides the Material ink ripple effect, its effect is applied to all components that are located inside the Ripple component, and is also fully compatible with all available Kendo UI themes.
|
|
16
16
|
|
|
@@ -25,10 +25,11 @@ For any issues you might encounter while working with the KendoReact Ripple, use
|
|
|
25
25
|
## Resources
|
|
26
26
|
|
|
27
27
|
* [Getting Started with KendoReact](https://www.telerik.com/kendo-react-ui/getting-started/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-ripple)
|
|
28
|
-
* [KendoReact Roadmap](https://www.telerik.com/support/whats-new/kendo-react-ui/roadmap
|
|
28
|
+
* [KendoReact Roadmap](https://www.telerik.com/support/whats-new/kendo-react-ui/roadmap?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-ripple)
|
|
29
29
|
* [Blogs](https://www.telerik.com/blogs/tag/kendoreact?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-ripple)
|
|
30
30
|
* [Demos, documentation, and component reference](https://www.telerik.com/kendo-react-ui/components/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-ripple)
|
|
31
31
|
* [KendoReact pricing and licensing](https://www.telerik.com/kendo-react-ui/pricing/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-ripple)
|
|
32
|
+
* [Changelog](https://www.telerik.com/kendo-react-ui/components/changelogs/ui-for-react/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-ripple)
|
|
32
33
|
|
|
33
34
|
*Copyright © 2022 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.*
|
|
34
35
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("prop-types"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["react","prop-types","@progress/kendo-licensing"],t):"object"==typeof exports?exports.KendoReactRipple=t(require("react"),require("prop-types"),require("@progress/kendo-licensing")):e.KendoReactRipple=t(e.React,e.PropTypes,e.KendoLicensing)}(window,(function(e,t,n){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,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.Ripple=r.Ripple},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(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])})(e,t)},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(6),a=n(4),u=n(5),p=function(e){function t(t){var n=e.call(this,t)||this;if(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,.k-list>.k-list-item",options:{global:!0}},{selector:".k-checkbox-label,.k-radio-label"},{selector:".k-checkbox,.k-radio",options:{events:["focusin","animationend","click"]}}]);n.removeListeners=t},void 0!==a)a.validatePackage(u.packageMetadata);else{var r="License activation failed for "+u.packageMetadata.name+"\n";r+="The @progress/kendo-licensing script is not loaded.\n",r+="See "+u.packageMetadata.licensingDocsUrl+" for more information.\n",console.warn(r)}return n}return o(t,e),t.prototype.componentDidMount=function(){this.registerListeners()},t.prototype.componentDidUpdate=function(){this.props.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.Ripple=p},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-react-ripple",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("prop-types"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["react","prop-types","@progress/kendo-licensing"],t):"object"==typeof exports?exports.KendoReactRipple=t(require("react"),require("prop-types"),require("@progress/kendo-licensing")):e.KendoReactRipple=t(e.React,e.PropTypes,e.KendoLicensing)}(window,(function(e,t,n){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,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.Ripple=r.Ripple},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(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])})(e,t)},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(6),a=n(4),u=n(5),p=function(e){function t(t){var n=e.call(this,t)||this;if(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,.k-list>.k-list-item",options:{global:!0}},{selector:".k-checkbox-label,.k-radio-label"},{selector:".k-checkbox,.k-radio",options:{events:["focusin","animationend","click"]}}]);n.removeListeners=t},void 0!==a)a.validatePackage(u.packageMetadata);else{var r="License activation failed for "+u.packageMetadata.name+"\n";r+="The @progress/kendo-licensing script is not loaded.\n",r+="See "+u.packageMetadata.licensingDocsUrl+" for more information.\n",console.warn(r)}return n}return o(t,e),t.prototype.componentDidMount=function(){this.registerListeners()},t.prototype.componentDidUpdate=function(){this.props.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.Ripple=p},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-react-ripple",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1645775323,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},function(e,t,n){"use strict";n.r(t),n.d(t,"register",(function(){return a}));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,t){return function(n){var o,c=n.target,a=c.document||c.ownerDocument;if((o=t.container?t.container(c):function(e,t){if(e.closest)return e.closest(t);for(var n=Element.prototype.matches?function(e,t){return e.matches(t)}:function(e,t){return e.msMatchesSelector(t)},r=e;r;){if(n(r,t))return r;r=r.parentElement}}(c,e))&&!(/focus/i.test(n.type)&&o.classList.contains("k-ripple-target")))if(c.classList.contains("k-checkbox")||c.classList.contains("k-radio"))n.target.classList.remove("k-ripple-focus"),"animationend"!==n.type&&n.target.classList.add("k-ripple-focus");else{o.classList.add("k-ripple-target");var u=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]}(a),p=u[0],l=u[1],d={animated:!1,released:!1,blob:l,container:o,ripple:p},f={focusin:"focusout",keydown:"keyup",mousedown:"mouseup",pointerdown:"pointerup",touchdown:"touchup",animationstart:"animationend"}[n.type];r(n.currentTarget,f,(function(){return s(d)})),o.appendChild(p),window.getComputedStyle(p).getPropertyValue("opacity");var m=o.getBoundingClientRect(),v=0,y=0;/mouse|pointer|touch/.test(n.type)?(v=n.clientX-m.left,y=n.clientY-m.top):(v=m.width/2,y=m.height/2);var h=v-(v<m.width/2?m.width:0),g=y-(y<m.height/2?m.height:0),b=2*Math.sqrt(h*h+g*g);if(l.style.width=l.style.height=b+"px",l.offsetWidth<0)throw new Error("Inconceivable!");l.style.cssText="\n width: "+b+"px;\n height: "+b+"px;\n transform: translate(-50%, -50%) scale(1);\n left: "+v+"px;\n top: "+y+"px;\n ",setTimeout((function(){return i(d)}),500)}}},i=function(e){e.animated=!0,c(e)},s=function(e){e.released=!0,c(e)},c=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")}},a=function(e,t){var n,r=(n=t.map((function(t){var n={events:["mousedown","touchdown"],global:!1},r=t.selector,i=t.options,s=void 0===i?n:i,c=o(r,s),a=s.events||n.events,u=s.global?document.body:e;return a.forEach((function(e){return u.addEventListener(e,c,!1)})),{events:a,options:s,activator:c}})),[].concat.apply([],n));return function(){if(e){r.forEach((function(t){var n=t.events,r=t.options,o=t.activator,i=r.global?document.body:e;n.forEach((function(e){return i.removeEventListener(e,o,!1)}))})),e=null}}}}])}));
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-ripple',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1645775323,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -7,7 +7,7 @@ exports.packageMetadata = {
|
|
|
7
7
|
name: '@progress/kendo-react-ripple',
|
|
8
8
|
productName: 'KendoReact',
|
|
9
9
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
10
|
-
publishDate:
|
|
10
|
+
publishDate: 1645775323,
|
|
11
11
|
version: '',
|
|
12
12
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
13
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register("@progress/kendo-react-ripple",["react","
|
|
1
|
+
System.register("@progress/kendo-react-ripple",["react","prop-types","@progress/kendo-ripple","@progress/kendo-licensing"],function(i){var s,c,a,u;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){s=t(e)},function(e){c=t(e)},function(e){a=t(e)},function(e){u=t(e)}],execute:function(){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}var n,r;n=[function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,n=n(1),o=(t.Ripple=n.Ripple,t);for(r in o)i(r,o[r])},function(p,e,t){"use strict";var r,n,o=this&&this.__extends||(r=function(e,t){return(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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=(Object.defineProperty(e,"__esModule",{value:!0}),t(2)),s=t(3),l=t(4),c=t(5),a=t(6),t=(n=i.PureComponent,o(u,n),u.prototype.componentDidMount=function(){this.registerListeners()},u.prototype.componentDidUpdate=function(){this.props.disabled?this.removeListeners():this.registerListeners()},u.prototype.componentWillUnmount=function(){this.removeListeners()},u.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)},u.propTypes={disabled:s.bool},u);function u(e){var t=n.call(this,e)||this;return t._element=null,t.removeListeners=function(){},t.registerListeners=function(){var e=t._element,e=(t.removeListeners(),l.register(e,[{selector:".k-button:not(li)"},{selector:".k-list>.k-item,.k-list>.k-list-item",options:{global:!0}},{selector:".k-checkbox-label,.k-radio-label"},{selector:".k-checkbox,.k-radio",options:{events:["focusin","animationend","click"]}}]));t.removeListeners=e},void 0!==c?c.validatePackage(a.packageMetadata):(e=(e="License activation failed for "+a.packageMetadata.name+"\n")+"The @progress/kendo-licensing script is not loaded.\nSee "+a.packageMetadata.licensingDocsUrl+" for more information.\n",console.warn(e)),t}e.Ripple=t},function(e,t){e.exports=s},function(e,t){e.exports=c},function(e,t){e.exports=a},function(e,t){e.exports=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-react-ripple",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1645775323,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}}],r={},o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},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=0)}}});
|
package/package.json
CHANGED