@progress/kendo-react-ripple 10.2.0-develop.1 → 10.2.0-develop.11

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.
@@ -12,4 +12,4 @@
12
12
  * Licensed under commercial license. See LICENSE.md in the package root for more information
13
13
  *-------------------------------------------------------------------------------------------
14
14
  */
15
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("prop-types"),require("@progress/kendo-ripple"),require("@progress/kendo-react-common")):"function"==typeof define&&define.amd?define(["exports","react","prop-types","@progress/kendo-ripple","@progress/kendo-react-common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoReactRipple={},e.React,e.PropTypes,e.KendoRipple,e.KendoReactCommon)}(this,(function(e,t,r,s,o){"use strict";function n(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var i=n(t);const c={name:"@progress/kendo-react-ripple",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate:0,version:"10.2.0-develop.1",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"},p=class extends i.PureComponent{constructor(e){super(e),this._element=null,this.removeListeners=()=>{},this.showLicenseWatermark=!1,this.registerListeners=()=>{const e=this._element;this.removeListeners();const t=s.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"]}}]);this.removeListeners=t},this.showLicenseWatermark=!o.validatePackage(c,{component:"Ripple"})}componentDidMount(){this.registerListeners()}componentDidUpdate(){const{disabled:e}=this.props;e?this.removeListeners():this.registerListeners()}componentWillUnmount(){this.removeListeners()}render(){const e=this.props.className?"k-ripple-container "+this.props.className:"k-ripple-container";return i.createElement("span",{className:e,ref:e=>{this._element=e}},this.props.children,this.showLicenseWatermark&&i.createElement(o.WatermarkOverlay,null))}};p.propTypes={disabled:r.bool};let l=p;e.Ripple=l}));
15
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("prop-types"),require("@progress/kendo-ripple"),require("@progress/kendo-react-common")):"function"==typeof define&&define.amd?define(["exports","react","prop-types","@progress/kendo-ripple","@progress/kendo-react-common"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoReactRipple={},e.React,e.PropTypes,e.KendoRipple,e.KendoReactCommon)}(this,(function(e,t,r,s,o){"use strict";function n(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var i=n(t);const c={name:"@progress/kendo-react-ripple",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate:0,version:"10.2.0-develop.11",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"},p=class extends i.PureComponent{constructor(e){super(e),this._element=null,this.removeListeners=()=>{},this.showLicenseWatermark=!1,this.registerListeners=()=>{const e=this._element;this.removeListeners();const t=s.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"]}}]);this.removeListeners=t},this.showLicenseWatermark=!o.validatePackage(c,{component:"Ripple"})}componentDidMount(){this.registerListeners()}componentDidUpdate(){const{disabled:e}=this.props;e?this.removeListeners():this.registerListeners()}componentWillUnmount(){this.removeListeners()}render(){const e=this.props.className?"k-ripple-container "+this.props.className:"k-ripple-container";return i.createElement("span",{className:e,ref:e=>{this._element=e}},this.props.children,this.showLicenseWatermark&&i.createElement(o.WatermarkOverlay,null))}};p.propTypes={disabled:r.bool};let l=p;e.Ripple=l}));
package/index.d.mts CHANGED
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { default as default_2 } from 'prop-types';
9
- import { JSX as JSX_2 } from 'react/jsx-runtime';
9
+ import { JSX } from 'react/jsx-runtime';
10
10
  import * as React_2 from 'react';
11
11
 
12
12
  export declare class Ripple extends React_2.PureComponent<RippleProps, {}> {
@@ -35,7 +35,7 @@ export declare class Ripple extends React_2.PureComponent<RippleProps, {}> {
35
35
  /**
36
36
  * @hidden
37
37
  */
38
- render(): JSX_2.Element;
38
+ render(): JSX.Element;
39
39
  private registerListeners;
40
40
  }
41
41
 
@@ -57,14 +57,23 @@ export declare class Ripple extends React_2.PureComponent<RippleProps, {}> {
57
57
  export declare interface RippleProps {
58
58
  /**
59
59
  * Provides an option to disable the ripple effect on the children of the component. Defaults to `false`.
60
+ *
61
+ * @example
62
+ * ```jsx
63
+ * <Ripple disabled={true}>
64
+ * <button className="k-button">Default Button</button>
65
+ * </Ripple>
66
+ * ```
60
67
  */
61
68
  disabled?: boolean;
62
69
  /**
63
70
  * @hidden
71
+ * Specifies additional CSS classes to apply to the ripple container.
64
72
  */
65
73
  className?: string;
66
74
  /**
67
75
  * @hidden
76
+ * Specifies the child elements of the Ripple component.
68
77
  */
69
78
  children?: any;
70
79
  }
package/index.d.ts CHANGED
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { default as default_2 } from 'prop-types';
9
- import { JSX as JSX_2 } from 'react/jsx-runtime';
9
+ import { JSX } from 'react/jsx-runtime';
10
10
  import * as React_2 from 'react';
11
11
 
12
12
  export declare class Ripple extends React_2.PureComponent<RippleProps, {}> {
@@ -35,7 +35,7 @@ export declare class Ripple extends React_2.PureComponent<RippleProps, {}> {
35
35
  /**
36
36
  * @hidden
37
37
  */
38
- render(): JSX_2.Element;
38
+ render(): JSX.Element;
39
39
  private registerListeners;
40
40
  }
41
41
 
@@ -57,14 +57,23 @@ export declare class Ripple extends React_2.PureComponent<RippleProps, {}> {
57
57
  export declare interface RippleProps {
58
58
  /**
59
59
  * Provides an option to disable the ripple effect on the children of the component. Defaults to `false`.
60
+ *
61
+ * @example
62
+ * ```jsx
63
+ * <Ripple disabled={true}>
64
+ * <button className="k-button">Default Button</button>
65
+ * </Ripple>
66
+ * ```
60
67
  */
61
68
  disabled?: boolean;
62
69
  /**
63
70
  * @hidden
71
+ * Specifies additional CSS classes to apply to the ripple container.
64
72
  */
65
73
  className?: string;
66
74
  /**
67
75
  * @hidden
76
+ * Specifies the child elements of the Ripple component.
68
77
  */
69
78
  children?: any;
70
79
  }
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-react-ripple",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1743432569,version:"10.2.0-develop.1",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};exports.packageMetadata=e;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-react-ripple",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1745388364,version:"10.2.0-develop.11",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};exports.packageMetadata=e;
@@ -10,8 +10,8 @@ const e = {
10
10
  productName: "KendoReact",
11
11
  productCode: "KENDOUIREACT",
12
12
  productCodes: ["KENDOUIREACT"],
13
- publishDate: 1743432569,
14
- version: "10.2.0-develop.1",
13
+ publishDate: 1745388364,
14
+ version: "10.2.0-develop.11",
15
15
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
16
16
  };
17
17
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-ripple",
3
- "version": "10.2.0-develop.1",
3
+ "version": "10.2.0-develop.11",
4
4
  "description": "React Ripple provides the Material ink ripple effect. KendoReact Ripple package",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -26,7 +26,7 @@
26
26
  "sideEffects": false,
27
27
  "peerDependencies": {
28
28
  "@progress/kendo-licensing": "^1.5.1",
29
- "@progress/kendo-react-common": "10.2.0-develop.1",
29
+ "@progress/kendo-react-common": "10.2.0-develop.11",
30
30
  "@progress/kendo-ripple": "^1.0.1",
31
31
  "react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
32
32
  "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
@@ -53,7 +53,7 @@
53
53
  "package": {
54
54
  "productName": "KendoReact",
55
55
  "productCode": "KENDOUIREACT",
56
- "publishDate": 1743432569,
56
+ "publishDate": 1745388364,
57
57
  "licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
58
58
  }
59
59
  },