@progress/kendo-react-ripple 7.2.4-develop.3 → 7.3.0-develop.1
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/Ripple.js +8 -0
- package/Ripple.mjs +76 -0
- package/dist/cdn/js/kendo-react-ripple.js +8 -5
- package/index.d.mts +71 -5
- package/index.d.ts +71 -6
- package/index.js +8 -5
- package/index.mjs +9 -76
- package/package-metadata.js +8 -0
- package/package-metadata.mjs +19 -0
- package/package.json +2 -2
- package/Ripple.d.ts +0 -63
- package/package-metadata.d.ts +0 -9
package/Ripple.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),a=require("prop-types"),l=require("@progress/kendo-ripple"),p=require("./package-metadata.js"),u=require("@progress/kendo-react-common");function m(s){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const t in s)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(s,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>s[t]})}}return e.default=s,Object.freeze(e)}const i=m(c),n=class n extends i.PureComponent{constructor(e){super(e),this._element=null,this.removeListeners=()=>{},this.registerListeners=()=>{const t=this._element;this.removeListeners();const r=l.register(t,[{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=r},u.validatePackage(p.packageMetadata)}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:t=>{this._element=t}},this.props.children)}};n.propTypes={disabled:a.bool};let o=n;exports.Ripple=o;
|
package/Ripple.mjs
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import * as o from "react";
|
|
10
|
+
import n from "prop-types";
|
|
11
|
+
import { register as a } from "@progress/kendo-ripple";
|
|
12
|
+
import { packageMetadata as l } from "./package-metadata.mjs";
|
|
13
|
+
import { validatePackage as c } from "@progress/kendo-react-common";
|
|
14
|
+
const s = class s extends o.PureComponent {
|
|
15
|
+
constructor(e) {
|
|
16
|
+
super(e), this._element = null, this.removeListeners = () => {
|
|
17
|
+
}, this.registerListeners = () => {
|
|
18
|
+
const t = this._element;
|
|
19
|
+
this.removeListeners();
|
|
20
|
+
const i = a(t, [
|
|
21
|
+
{ selector: ".k-button:not(li)" },
|
|
22
|
+
{ selector: ".k-list>.k-item,.k-list>.k-list-item", options: { global: !0 } },
|
|
23
|
+
{ selector: ".k-checkbox-label,.k-radio-label" },
|
|
24
|
+
{
|
|
25
|
+
selector: ".k-checkbox,.k-radio",
|
|
26
|
+
options: {
|
|
27
|
+
events: ["focusin", "animationend", "click"]
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
]);
|
|
31
|
+
this.removeListeners = i;
|
|
32
|
+
}, c(l);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @hidden
|
|
36
|
+
*/
|
|
37
|
+
componentDidMount() {
|
|
38
|
+
this.registerListeners();
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* @hidden
|
|
42
|
+
*/
|
|
43
|
+
componentDidUpdate() {
|
|
44
|
+
const { disabled: e } = this.props;
|
|
45
|
+
e ? this.removeListeners() : this.registerListeners();
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* @hidden
|
|
49
|
+
*/
|
|
50
|
+
componentWillUnmount() {
|
|
51
|
+
this.removeListeners();
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* @hidden
|
|
55
|
+
*/
|
|
56
|
+
render() {
|
|
57
|
+
const e = this.props.className ? "k-ripple-container " + this.props.className : "k-ripple-container";
|
|
58
|
+
return /* @__PURE__ */ o.createElement(
|
|
59
|
+
"span",
|
|
60
|
+
{
|
|
61
|
+
className: e,
|
|
62
|
+
ref: (t) => {
|
|
63
|
+
this._element = t;
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
this.props.children
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
s.propTypes = {
|
|
71
|
+
disabled: n.bool
|
|
72
|
+
};
|
|
73
|
+
let r = s;
|
|
74
|
+
export {
|
|
75
|
+
r as Ripple
|
|
76
|
+
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
!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",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:0,version:"",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.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},o.validatePackage(c)}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)}};p.propTypes={disabled:r.bool};let l=p;e.Ripple=l}));
|
package/index.d.mts
CHANGED
|
@@ -1,5 +1,71 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
import * as React_2 from 'react';
|
|
11
|
+
|
|
12
|
+
export declare class Ripple extends React_2.PureComponent<RippleProps, {}> {
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
static propTypes: {
|
|
17
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
18
|
+
};
|
|
19
|
+
private _element;
|
|
20
|
+
private removeListeners;
|
|
21
|
+
constructor(props: RippleProps);
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
componentDidMount(): void;
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
29
|
+
componentDidUpdate(): void;
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
*/
|
|
33
|
+
componentWillUnmount(): void;
|
|
34
|
+
/**
|
|
35
|
+
* @hidden
|
|
36
|
+
*/
|
|
37
|
+
render(): JSX_2.Element;
|
|
38
|
+
private registerListeners;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Represents the KendoReact Ripple component.
|
|
43
|
+
*
|
|
44
|
+
* The ripple effect will show on the following elements:
|
|
45
|
+
* - Buttons
|
|
46
|
+
* - Checkboxes
|
|
47
|
+
* - Radio buttons
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```jsx-no-run
|
|
51
|
+
* <Ripple disabled="true">
|
|
52
|
+
* <button className="k-button"> Default Button</button>
|
|
53
|
+
* </Ripple>
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
export declare interface RippleProps {
|
|
57
|
+
/**
|
|
58
|
+
* Provides an option to disable the ripple effect on the children of the component. Defaults to `false`.
|
|
59
|
+
*/
|
|
60
|
+
disabled?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* @hidden
|
|
63
|
+
*/
|
|
64
|
+
className?: string;
|
|
65
|
+
/**
|
|
66
|
+
* @hidden
|
|
67
|
+
*/
|
|
68
|
+
children?: any;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export { }
|
package/index.d.ts
CHANGED
|
@@ -1,6 +1,71 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
import * as React_2 from 'react';
|
|
11
|
+
|
|
12
|
+
export declare class Ripple extends React_2.PureComponent<RippleProps, {}> {
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
static propTypes: {
|
|
17
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
18
|
+
};
|
|
19
|
+
private _element;
|
|
20
|
+
private removeListeners;
|
|
21
|
+
constructor(props: RippleProps);
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
componentDidMount(): void;
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
29
|
+
componentDidUpdate(): void;
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
*/
|
|
33
|
+
componentWillUnmount(): void;
|
|
34
|
+
/**
|
|
35
|
+
* @hidden
|
|
36
|
+
*/
|
|
37
|
+
render(): JSX_2.Element;
|
|
38
|
+
private registerListeners;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Represents the KendoReact Ripple component.
|
|
43
|
+
*
|
|
44
|
+
* The ripple effect will show on the following elements:
|
|
45
|
+
* - Buttons
|
|
46
|
+
* - Checkboxes
|
|
47
|
+
* - Radio buttons
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```jsx-no-run
|
|
51
|
+
* <Ripple disabled="true">
|
|
52
|
+
* <button className="k-button"> Default Button</button>
|
|
53
|
+
* </Ripple>
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
export declare interface RippleProps {
|
|
57
|
+
/**
|
|
58
|
+
* Provides an option to disable the ripple effect on the children of the component. Defaults to `false`.
|
|
59
|
+
*/
|
|
60
|
+
disabled?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* @hidden
|
|
63
|
+
*/
|
|
64
|
+
className?: string;
|
|
65
|
+
/**
|
|
66
|
+
* @hidden
|
|
67
|
+
*/
|
|
68
|
+
children?: any;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export { }
|
package/index.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Ripple.js");exports.Ripple=e.Ripple;
|
package/index.mjs
CHANGED
|
@@ -1,79 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
5
8
|
"use client";
|
|
6
|
-
import
|
|
7
|
-
import r from "prop-types";
|
|
8
|
-
import { register as i } from "@progress/kendo-ripple";
|
|
9
|
-
import { validatePackage as n } from "@progress/kendo-react-common";
|
|
10
|
-
const c = {
|
|
11
|
-
name: "@progress/kendo-react-ripple",
|
|
12
|
-
productName: "KendoReact",
|
|
13
|
-
productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
|
|
14
|
-
publishDate: 1709632296,
|
|
15
|
-
version: "",
|
|
16
|
-
licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
17
|
-
};
|
|
18
|
-
class l extends s.PureComponent {
|
|
19
|
-
constructor(e) {
|
|
20
|
-
super(e), this._element = null, this.removeListeners = () => {
|
|
21
|
-
}, this.registerListeners = () => {
|
|
22
|
-
const t = this._element;
|
|
23
|
-
this.removeListeners();
|
|
24
|
-
const o = i(t, [
|
|
25
|
-
{ selector: ".k-button:not(li)" },
|
|
26
|
-
{ selector: ".k-list>.k-item,.k-list>.k-list-item", options: { global: !0 } },
|
|
27
|
-
{ selector: ".k-checkbox-label,.k-radio-label" },
|
|
28
|
-
{
|
|
29
|
-
selector: ".k-checkbox,.k-radio",
|
|
30
|
-
options: {
|
|
31
|
-
events: ["focusin", "animationend", "click"]
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
]);
|
|
35
|
-
this.removeListeners = o;
|
|
36
|
-
}, n(c);
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* @hidden
|
|
40
|
-
*/
|
|
41
|
-
componentDidMount() {
|
|
42
|
-
this.registerListeners();
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* @hidden
|
|
46
|
-
*/
|
|
47
|
-
componentDidUpdate() {
|
|
48
|
-
const { disabled: e } = this.props;
|
|
49
|
-
e ? this.removeListeners() : this.registerListeners();
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* @hidden
|
|
53
|
-
*/
|
|
54
|
-
componentWillUnmount() {
|
|
55
|
-
this.removeListeners();
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* @hidden
|
|
59
|
-
*/
|
|
60
|
-
render() {
|
|
61
|
-
const e = this.props.className ? "k-ripple-container " + this.props.className : "k-ripple-container";
|
|
62
|
-
return /* @__PURE__ */ s.createElement(
|
|
63
|
-
"span",
|
|
64
|
-
{
|
|
65
|
-
className: e,
|
|
66
|
-
ref: (t) => {
|
|
67
|
-
this._element = t;
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
this.props.children
|
|
71
|
-
);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
l.propTypes = {
|
|
75
|
-
disabled: r.bool
|
|
76
|
-
};
|
|
9
|
+
import { Ripple as i } from "./Ripple.mjs";
|
|
77
10
|
export {
|
|
78
|
-
|
|
11
|
+
i as Ripple
|
|
79
12
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-react-ripple",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};exports.packageMetadata=e;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
const e = {
|
|
10
|
+
name: "@progress/kendo-react-ripple",
|
|
11
|
+
productName: "KendoReact",
|
|
12
|
+
productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
|
|
13
|
+
publishDate: 1709715788,
|
|
14
|
+
version: "",
|
|
15
|
+
licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
e as packageMetadata
|
|
19
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-ripple",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.0-develop.1",
|
|
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",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"sideEffects": false,
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@progress/kendo-licensing": "^1.3.4",
|
|
26
|
-
"@progress/kendo-react-common": "7.
|
|
26
|
+
"@progress/kendo-react-common": "7.3.0-develop.1",
|
|
27
27
|
"@progress/kendo-ripple": "^1.0.1",
|
|
28
28
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0",
|
|
29
29
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
|
package/Ripple.d.ts
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import PropTypes from 'prop-types';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the KendoReact Ripple component.
|
|
9
|
-
*
|
|
10
|
-
* The ripple effect will show on the following elements:
|
|
11
|
-
* - Buttons
|
|
12
|
-
* - Checkboxes
|
|
13
|
-
* - Radio buttons
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```jsx-no-run
|
|
17
|
-
* <Ripple disabled="true">
|
|
18
|
-
* <button className="k-button"> Default Button</button>
|
|
19
|
-
* </Ripple>
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export interface RippleProps {
|
|
23
|
-
/**
|
|
24
|
-
* Provides an option to disable the ripple effect on the children of the component. Defaults to `false`.
|
|
25
|
-
*/
|
|
26
|
-
disabled?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
className?: string;
|
|
31
|
-
/**
|
|
32
|
-
* @hidden
|
|
33
|
-
*/
|
|
34
|
-
children?: any;
|
|
35
|
-
}
|
|
36
|
-
export declare class Ripple extends React.PureComponent<RippleProps, {}> {
|
|
37
|
-
/**
|
|
38
|
-
* @hidden
|
|
39
|
-
*/
|
|
40
|
-
static propTypes: {
|
|
41
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
42
|
-
};
|
|
43
|
-
private _element;
|
|
44
|
-
private removeListeners;
|
|
45
|
-
constructor(props: RippleProps);
|
|
46
|
-
/**
|
|
47
|
-
* @hidden
|
|
48
|
-
*/
|
|
49
|
-
componentDidMount(): void;
|
|
50
|
-
/**
|
|
51
|
-
* @hidden
|
|
52
|
-
*/
|
|
53
|
-
componentDidUpdate(): void;
|
|
54
|
-
/**
|
|
55
|
-
* @hidden
|
|
56
|
-
*/
|
|
57
|
-
componentWillUnmount(): void;
|
|
58
|
-
/**
|
|
59
|
-
* @hidden
|
|
60
|
-
*/
|
|
61
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
62
|
-
private registerListeners;
|
|
63
|
-
}
|
package/package-metadata.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { PackageMetadata } from '@progress/kendo-licensing';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const packageMetadata: PackageMetadata;
|