@progress/kendo-react-layout 4.14.0-dev.202112301830 → 4.14.0-dev.202201131128
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/LICENSE.md +1 -1
- package/NOTICE.txt +54 -21
- package/README.md +1 -1
- package/dist/cdn/js/kendo-react-layout.js +1 -1
- package/dist/es/expansionpanel/ExpansionPanel.d.ts +6 -0
- package/dist/es/expansionpanel/ExpansionPanel.js +72 -0
- package/dist/es/expansionpanel/ExpansionPanelContent.d.ts +5 -0
- package/dist/es/expansionpanel/ExpansionPanelContent.js +21 -0
- package/dist/es/expansionpanel/index.d.ts +3 -0
- package/dist/es/expansionpanel/index.js +2 -0
- package/dist/es/expansionpanel/interfaces.d.ts +77 -0
- package/dist/es/expansionpanel/interfaces.js +0 -0
- package/dist/es/main.d.ts +1 -0
- package/dist/es/main.js +1 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/npm/expansionpanel/ExpansionPanel.d.ts +6 -0
- package/dist/npm/expansionpanel/ExpansionPanel.js +74 -0
- package/dist/npm/expansionpanel/ExpansionPanelContent.d.ts +5 -0
- package/dist/npm/expansionpanel/ExpansionPanelContent.js +23 -0
- package/dist/npm/expansionpanel/index.d.ts +3 -0
- package/dist/npm/expansionpanel/index.js +7 -0
- package/dist/npm/expansionpanel/interfaces.d.ts +77 -0
- package/dist/npm/expansionpanel/interfaces.js +2 -0
- package/dist/npm/main.d.ts +1 -0
- package/dist/npm/main.js +1 -0
- package/dist/npm/package-metadata.js +1 -1
- package/dist/systemjs/kendo-react-layout.js +1 -1
- package/package.json +13 -13
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ExpansionPanelHandle, ExpansionPanelProps } from './interfaces';
|
|
3
|
+
/**
|
|
4
|
+
* Represents the [KendoReact ExpansionPanel component]({% slug overview_expansionpanel %}).
|
|
5
|
+
*/
|
|
6
|
+
export declare const ExpansionPanel: React.ForwardRefExoticComponent<ExpansionPanelProps & React.RefAttributes<ExpansionPanelHandle>>;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
|
+
import { classNames, getTabIndex, useRtl, validatePackage, dispatchEvent, Keys, useAsyncFocusBlur } from '@progress/kendo-react-common';
|
|
4
|
+
import { packageMetadata } from '../package-metadata';
|
|
5
|
+
/**
|
|
6
|
+
* Represents the [KendoReact ExpansionPanel component]({% slug overview_expansionpanel %}).
|
|
7
|
+
*/
|
|
8
|
+
export var ExpansionPanel = React.forwardRef(function (props, target) {
|
|
9
|
+
var _a;
|
|
10
|
+
validatePackage(packageMetadata);
|
|
11
|
+
var elementRef = React.useRef(null);
|
|
12
|
+
var _b = React.useState(false), focused = _b[0], setFocused = _b[1];
|
|
13
|
+
var getImperativeHandle = React.useCallback(function () { return ({ element: elementRef.current }); }, []);
|
|
14
|
+
React.useImperativeHandle(target, getImperativeHandle);
|
|
15
|
+
var _c = props.expanded, expanded = _c === void 0 ? false : _c, disabled = props.disabled, title = props.title, subtitle = props.subtitle, onAction = props.onAction, expandIcon = props.expandIcon, collapseIcon = props.collapseIcon;
|
|
16
|
+
var onClick = React.useCallback(function (event) {
|
|
17
|
+
dispatchEvent(onAction, event, getImperativeHandle(), { expanded: expanded });
|
|
18
|
+
}, [onAction, expanded]);
|
|
19
|
+
var onKeyDown = React.useCallback(function (event) {
|
|
20
|
+
if (event.keyCode === Keys.enter || event.keyCode === Keys.space) {
|
|
21
|
+
dispatchEvent(onAction, event, getImperativeHandle(), { expanded: expanded });
|
|
22
|
+
}
|
|
23
|
+
}, [onAction, expanded]);
|
|
24
|
+
var handleFocus = React.useCallback(function () {
|
|
25
|
+
if (props.disabled) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
setFocused(true);
|
|
29
|
+
}, [props.disabled]);
|
|
30
|
+
var handleBlur = React.useCallback(function () {
|
|
31
|
+
if (props.disabled) {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
setFocused(false);
|
|
35
|
+
}, [props.disabled]);
|
|
36
|
+
var _d = useAsyncFocusBlur({ onFocus: handleFocus, onBlur: handleBlur }), onFocus = _d.onFocus, onBlur = _d.onBlur;
|
|
37
|
+
return (React.createElement("div", { ref: elementRef, className: classNames('k-expander', props.className, {
|
|
38
|
+
'k-expanded': expanded,
|
|
39
|
+
'k-state-focus': focused && !disabled,
|
|
40
|
+
'k-state-disabled': disabled
|
|
41
|
+
}), onFocus: onFocus, onBlur: onBlur, style: props.style, id: props.id, "aria-expanded": expanded, "aria-disabled": disabled, dir: useRtl(elementRef, props.dir), tabIndex: getTabIndex(props.tabIndex, disabled), onKeyDown: disabled ? undefined : onKeyDown },
|
|
42
|
+
React.createElement("div", { className: "k-expander-header", onClick: disabled ? undefined : onClick },
|
|
43
|
+
title !== undefined ? React.createElement("div", { className: "k-expander-title" }, title) : undefined,
|
|
44
|
+
React.createElement("span", { className: "k-spacer" }),
|
|
45
|
+
subtitle !== undefined ? React.createElement("div", { className: "k-expander-sub-title" }, subtitle) : undefined,
|
|
46
|
+
React.createElement("span", { className: "k-expander-indicator" },
|
|
47
|
+
React.createElement("span", { className: classNames((_a = {},
|
|
48
|
+
// expand icon
|
|
49
|
+
_a[String(expandIcon)] = Boolean(!expanded && expandIcon),
|
|
50
|
+
_a['k-icon k-i-arrow-chevron-down'] = !expanded && !expandIcon,
|
|
51
|
+
// collapse icon
|
|
52
|
+
_a[String(collapseIcon)] = Boolean(expanded && collapseIcon),
|
|
53
|
+
_a['k-icon k-i-arrow-chevron-up'] = expanded && !collapseIcon,
|
|
54
|
+
_a)) }))),
|
|
55
|
+
props.children));
|
|
56
|
+
});
|
|
57
|
+
ExpansionPanel.propTypes = {
|
|
58
|
+
children: PropTypes.node,
|
|
59
|
+
className: PropTypes.string,
|
|
60
|
+
style: PropTypes.object,
|
|
61
|
+
dir: PropTypes.string,
|
|
62
|
+
id: PropTypes.string,
|
|
63
|
+
tabIndex: PropTypes.number,
|
|
64
|
+
title: PropTypes.node,
|
|
65
|
+
subtitle: PropTypes.node,
|
|
66
|
+
expandIcon: PropTypes.string,
|
|
67
|
+
collapseIcon: PropTypes.string,
|
|
68
|
+
expanded: PropTypes.bool,
|
|
69
|
+
disabled: PropTypes.bool,
|
|
70
|
+
onAction: PropTypes.func
|
|
71
|
+
};
|
|
72
|
+
ExpansionPanel.displayName = 'KendoReactExpansionPanel';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { classNames } from '@progress/kendo-react-common';
|
|
13
|
+
import * as React from 'react';
|
|
14
|
+
/**
|
|
15
|
+
* Represents the KendoReact ExpansionPanelContent component.
|
|
16
|
+
*/
|
|
17
|
+
export var ExpansionPanelContent = React.forwardRef(function (props, ref) {
|
|
18
|
+
return (React.createElement("div", __assign({ ref: ref }, props, { className: classNames('k-expander-content-wrapper', props.className) }),
|
|
19
|
+
React.createElement("div", { className: 'k-expander-content' }, props.children)));
|
|
20
|
+
});
|
|
21
|
+
ExpansionPanelContent.displayName = 'KendoReactExpansionPanelContent';
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BaseEvent } from '@progress/kendo-react-common';
|
|
3
|
+
/**
|
|
4
|
+
* The ExpansionPanel ref.
|
|
5
|
+
*/
|
|
6
|
+
export interface ExpansionPanelHandle {
|
|
7
|
+
/**
|
|
8
|
+
* The ExpansionPanel element.
|
|
9
|
+
*/
|
|
10
|
+
element: HTMLDivElement | null;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* The arguments for the `onAction` ExpansionPanel event.
|
|
14
|
+
*/
|
|
15
|
+
export interface ExpansionPanelActionEvent extends BaseEvent<ExpansionPanelHandle> {
|
|
16
|
+
/**
|
|
17
|
+
* Represents the `expanded` state of the ExpansionPanel.
|
|
18
|
+
*/
|
|
19
|
+
expanded: boolean;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* The props of the ExpansionPanel component.
|
|
23
|
+
*/
|
|
24
|
+
export interface ExpansionPanelProps {
|
|
25
|
+
/**
|
|
26
|
+
* The React elements that will be rendered inside the ExpansionPanel.
|
|
27
|
+
*/
|
|
28
|
+
children?: React.ReactNode;
|
|
29
|
+
/**
|
|
30
|
+
* Sets additional CSS classes to the ExpansionPanel.
|
|
31
|
+
*/
|
|
32
|
+
className?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Sets additional CSS styles to the ExpansionPanel.
|
|
35
|
+
*/
|
|
36
|
+
style?: React.CSSProperties;
|
|
37
|
+
/**
|
|
38
|
+
* Sets the `id` property of the root ExpansionPanel element.
|
|
39
|
+
*/
|
|
40
|
+
id?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Specifies the primary text in the header of the ExpansionPanel.
|
|
43
|
+
*/
|
|
44
|
+
title?: React.ReactNode;
|
|
45
|
+
/**
|
|
46
|
+
* Specifies the secondary text in the header of the ExpansionPanel, which is rendered next to the collapse/expand icon.
|
|
47
|
+
*/
|
|
48
|
+
subtitle?: React.ReactNode;
|
|
49
|
+
/**
|
|
50
|
+
* Sets a custom icon via css class(es), for the expanded state of the ExpansionPanel.
|
|
51
|
+
*/
|
|
52
|
+
expandIcon?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Sets a custom icon via css class(es), for the collapsed state of the ExpansionPanel.
|
|
55
|
+
*/
|
|
56
|
+
collapseIcon?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Sets the `dir` property of the ExpansionPanel.
|
|
59
|
+
*/
|
|
60
|
+
dir?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Sets the `tabIndex` property of the ExpansionPanel.
|
|
63
|
+
*/
|
|
64
|
+
tabIndex?: number;
|
|
65
|
+
/**
|
|
66
|
+
* Sets the `expanded` state of the ExpansionPanel.
|
|
67
|
+
*/
|
|
68
|
+
expanded?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Sets the `disabled` state of the ExpansionPanel.
|
|
71
|
+
*/
|
|
72
|
+
disabled?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* The event handler that will be fired when the expanded state of the ExpansionPanel is about to change.
|
|
75
|
+
*/
|
|
76
|
+
onAction?: (event: ExpansionPanelActionEvent) => void;
|
|
77
|
+
}
|
|
File without changes
|
package/dist/es/main.d.ts
CHANGED
package/dist/es/main.js
CHANGED
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-layout',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1642072088,
|
|
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
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ExpansionPanelHandle, ExpansionPanelProps } from './interfaces';
|
|
3
|
+
/**
|
|
4
|
+
* Represents the [KendoReact ExpansionPanel component]({% slug overview_expansionpanel %}).
|
|
5
|
+
*/
|
|
6
|
+
export declare const ExpansionPanel: React.ForwardRefExoticComponent<ExpansionPanelProps & React.RefAttributes<ExpansionPanelHandle>>;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var React = require("react");
|
|
4
|
+
var PropTypes = require("prop-types");
|
|
5
|
+
var kendo_react_common_1 = require("@progress/kendo-react-common");
|
|
6
|
+
var package_metadata_1 = require("../package-metadata");
|
|
7
|
+
/**
|
|
8
|
+
* Represents the [KendoReact ExpansionPanel component]({% slug overview_expansionpanel %}).
|
|
9
|
+
*/
|
|
10
|
+
exports.ExpansionPanel = React.forwardRef(function (props, target) {
|
|
11
|
+
var _a;
|
|
12
|
+
kendo_react_common_1.validatePackage(package_metadata_1.packageMetadata);
|
|
13
|
+
var elementRef = React.useRef(null);
|
|
14
|
+
var _b = React.useState(false), focused = _b[0], setFocused = _b[1];
|
|
15
|
+
var getImperativeHandle = React.useCallback(function () { return ({ element: elementRef.current }); }, []);
|
|
16
|
+
React.useImperativeHandle(target, getImperativeHandle);
|
|
17
|
+
var _c = props.expanded, expanded = _c === void 0 ? false : _c, disabled = props.disabled, title = props.title, subtitle = props.subtitle, onAction = props.onAction, expandIcon = props.expandIcon, collapseIcon = props.collapseIcon;
|
|
18
|
+
var onClick = React.useCallback(function (event) {
|
|
19
|
+
kendo_react_common_1.dispatchEvent(onAction, event, getImperativeHandle(), { expanded: expanded });
|
|
20
|
+
}, [onAction, expanded]);
|
|
21
|
+
var onKeyDown = React.useCallback(function (event) {
|
|
22
|
+
if (event.keyCode === kendo_react_common_1.Keys.enter || event.keyCode === kendo_react_common_1.Keys.space) {
|
|
23
|
+
kendo_react_common_1.dispatchEvent(onAction, event, getImperativeHandle(), { expanded: expanded });
|
|
24
|
+
}
|
|
25
|
+
}, [onAction, expanded]);
|
|
26
|
+
var handleFocus = React.useCallback(function () {
|
|
27
|
+
if (props.disabled) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
setFocused(true);
|
|
31
|
+
}, [props.disabled]);
|
|
32
|
+
var handleBlur = React.useCallback(function () {
|
|
33
|
+
if (props.disabled) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
setFocused(false);
|
|
37
|
+
}, [props.disabled]);
|
|
38
|
+
var _d = kendo_react_common_1.useAsyncFocusBlur({ onFocus: handleFocus, onBlur: handleBlur }), onFocus = _d.onFocus, onBlur = _d.onBlur;
|
|
39
|
+
return (React.createElement("div", { ref: elementRef, className: kendo_react_common_1.classNames('k-expander', props.className, {
|
|
40
|
+
'k-expanded': expanded,
|
|
41
|
+
'k-state-focus': focused && !disabled,
|
|
42
|
+
'k-state-disabled': disabled
|
|
43
|
+
}), onFocus: onFocus, onBlur: onBlur, style: props.style, id: props.id, "aria-expanded": expanded, "aria-disabled": disabled, dir: kendo_react_common_1.useRtl(elementRef, props.dir), tabIndex: kendo_react_common_1.getTabIndex(props.tabIndex, disabled), onKeyDown: disabled ? undefined : onKeyDown },
|
|
44
|
+
React.createElement("div", { className: "k-expander-header", onClick: disabled ? undefined : onClick },
|
|
45
|
+
title !== undefined ? React.createElement("div", { className: "k-expander-title" }, title) : undefined,
|
|
46
|
+
React.createElement("span", { className: "k-spacer" }),
|
|
47
|
+
subtitle !== undefined ? React.createElement("div", { className: "k-expander-sub-title" }, subtitle) : undefined,
|
|
48
|
+
React.createElement("span", { className: "k-expander-indicator" },
|
|
49
|
+
React.createElement("span", { className: kendo_react_common_1.classNames((_a = {},
|
|
50
|
+
// expand icon
|
|
51
|
+
_a[String(expandIcon)] = Boolean(!expanded && expandIcon),
|
|
52
|
+
_a['k-icon k-i-arrow-chevron-down'] = !expanded && !expandIcon,
|
|
53
|
+
// collapse icon
|
|
54
|
+
_a[String(collapseIcon)] = Boolean(expanded && collapseIcon),
|
|
55
|
+
_a['k-icon k-i-arrow-chevron-up'] = expanded && !collapseIcon,
|
|
56
|
+
_a)) }))),
|
|
57
|
+
props.children));
|
|
58
|
+
});
|
|
59
|
+
exports.ExpansionPanel.propTypes = {
|
|
60
|
+
children: PropTypes.node,
|
|
61
|
+
className: PropTypes.string,
|
|
62
|
+
style: PropTypes.object,
|
|
63
|
+
dir: PropTypes.string,
|
|
64
|
+
id: PropTypes.string,
|
|
65
|
+
tabIndex: PropTypes.number,
|
|
66
|
+
title: PropTypes.node,
|
|
67
|
+
subtitle: PropTypes.node,
|
|
68
|
+
expandIcon: PropTypes.string,
|
|
69
|
+
collapseIcon: PropTypes.string,
|
|
70
|
+
expanded: PropTypes.bool,
|
|
71
|
+
disabled: PropTypes.bool,
|
|
72
|
+
onAction: PropTypes.func
|
|
73
|
+
};
|
|
74
|
+
exports.ExpansionPanel.displayName = 'KendoReactExpansionPanel';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
var kendo_react_common_1 = require("@progress/kendo-react-common");
|
|
15
|
+
var React = require("react");
|
|
16
|
+
/**
|
|
17
|
+
* Represents the KendoReact ExpansionPanelContent component.
|
|
18
|
+
*/
|
|
19
|
+
exports.ExpansionPanelContent = React.forwardRef(function (props, ref) {
|
|
20
|
+
return (React.createElement("div", __assign({ ref: ref }, props, { className: kendo_react_common_1.classNames('k-expander-content-wrapper', props.className) }),
|
|
21
|
+
React.createElement("div", { className: 'k-expander-content' }, props.children)));
|
|
22
|
+
});
|
|
23
|
+
exports.ExpansionPanelContent.displayName = 'KendoReactExpansionPanelContent';
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BaseEvent } from '@progress/kendo-react-common';
|
|
3
|
+
/**
|
|
4
|
+
* The ExpansionPanel ref.
|
|
5
|
+
*/
|
|
6
|
+
export interface ExpansionPanelHandle {
|
|
7
|
+
/**
|
|
8
|
+
* The ExpansionPanel element.
|
|
9
|
+
*/
|
|
10
|
+
element: HTMLDivElement | null;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* The arguments for the `onAction` ExpansionPanel event.
|
|
14
|
+
*/
|
|
15
|
+
export interface ExpansionPanelActionEvent extends BaseEvent<ExpansionPanelHandle> {
|
|
16
|
+
/**
|
|
17
|
+
* Represents the `expanded` state of the ExpansionPanel.
|
|
18
|
+
*/
|
|
19
|
+
expanded: boolean;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* The props of the ExpansionPanel component.
|
|
23
|
+
*/
|
|
24
|
+
export interface ExpansionPanelProps {
|
|
25
|
+
/**
|
|
26
|
+
* The React elements that will be rendered inside the ExpansionPanel.
|
|
27
|
+
*/
|
|
28
|
+
children?: React.ReactNode;
|
|
29
|
+
/**
|
|
30
|
+
* Sets additional CSS classes to the ExpansionPanel.
|
|
31
|
+
*/
|
|
32
|
+
className?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Sets additional CSS styles to the ExpansionPanel.
|
|
35
|
+
*/
|
|
36
|
+
style?: React.CSSProperties;
|
|
37
|
+
/**
|
|
38
|
+
* Sets the `id` property of the root ExpansionPanel element.
|
|
39
|
+
*/
|
|
40
|
+
id?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Specifies the primary text in the header of the ExpansionPanel.
|
|
43
|
+
*/
|
|
44
|
+
title?: React.ReactNode;
|
|
45
|
+
/**
|
|
46
|
+
* Specifies the secondary text in the header of the ExpansionPanel, which is rendered next to the collapse/expand icon.
|
|
47
|
+
*/
|
|
48
|
+
subtitle?: React.ReactNode;
|
|
49
|
+
/**
|
|
50
|
+
* Sets a custom icon via css class(es), for the expanded state of the ExpansionPanel.
|
|
51
|
+
*/
|
|
52
|
+
expandIcon?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Sets a custom icon via css class(es), for the collapsed state of the ExpansionPanel.
|
|
55
|
+
*/
|
|
56
|
+
collapseIcon?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Sets the `dir` property of the ExpansionPanel.
|
|
59
|
+
*/
|
|
60
|
+
dir?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Sets the `tabIndex` property of the ExpansionPanel.
|
|
63
|
+
*/
|
|
64
|
+
tabIndex?: number;
|
|
65
|
+
/**
|
|
66
|
+
* Sets the `expanded` state of the ExpansionPanel.
|
|
67
|
+
*/
|
|
68
|
+
expanded?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Sets the `disabled` state of the ExpansionPanel.
|
|
71
|
+
*/
|
|
72
|
+
disabled?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* The event handler that will be fired when the expanded state of the ExpansionPanel is about to change.
|
|
75
|
+
*/
|
|
76
|
+
onAction?: (event: ExpansionPanelActionEvent) => void;
|
|
77
|
+
}
|
package/dist/npm/main.d.ts
CHANGED
package/dist/npm/main.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.packageMetadata = {
|
|
|
7
7
|
name: '@progress/kendo-react-layout',
|
|
8
8
|
productName: 'KendoReact',
|
|
9
9
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
10
|
-
publishDate:
|
|
10
|
+
publishDate: 1642072088,
|
|
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
|
};
|