@progress/kendo-react-layout 5.10.0-dev.202301121619 → 5.10.0-dev.202301131814
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/dist/cdn/js/kendo-react-layout.js +1 -1
- package/dist/es/actionsheet/ActionSheet.d.ts +68 -0
- package/dist/es/actionsheet/ActionSheet.js +116 -0
- package/dist/es/actionsheet/ActionSheetContent.d.ts +10 -0
- package/dist/es/actionsheet/ActionSheetContent.js +19 -0
- package/dist/es/actionsheet/ActionSheetFooter.d.ts +10 -0
- package/dist/es/actionsheet/ActionSheetFooter.js +19 -0
- package/dist/es/actionsheet/ActionSheetHeader.d.ts +10 -0
- package/dist/es/actionsheet/ActionSheetHeader.js +19 -0
- package/dist/es/actionsheet/ActionSheetItem.d.ts +6 -0
- package/dist/es/actionsheet/ActionSheetItem.js +28 -0
- package/dist/es/actionsheet/interfaces/ActionSheetChildrenProps.d.ts +9 -0
- package/dist/es/actionsheet/interfaces/ActionSheetChildrenProps.js +5 -0
- package/dist/es/actionsheet/interfaces/ActionSheetItemProps.d.ts +46 -0
- package/dist/es/actionsheet/interfaces/ActionSheetItemProps.js +1 -0
- package/dist/es/main.d.ts +6 -0
- package/dist/es/main.js +6 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/npm/actionsheet/ActionSheet.d.ts +68 -0
- package/dist/npm/actionsheet/ActionSheet.js +119 -0
- package/dist/npm/actionsheet/ActionSheetContent.d.ts +10 -0
- package/dist/npm/actionsheet/ActionSheetContent.js +23 -0
- package/dist/npm/actionsheet/ActionSheetFooter.d.ts +10 -0
- package/dist/npm/actionsheet/ActionSheetFooter.js +23 -0
- package/dist/npm/actionsheet/ActionSheetHeader.d.ts +10 -0
- package/dist/npm/actionsheet/ActionSheetHeader.js +23 -0
- package/dist/npm/actionsheet/ActionSheetItem.d.ts +6 -0
- package/dist/npm/actionsheet/ActionSheetItem.js +32 -0
- package/dist/npm/actionsheet/interfaces/ActionSheetChildrenProps.d.ts +9 -0
- package/dist/npm/actionsheet/interfaces/ActionSheetChildrenProps.js +6 -0
- package/dist/npm/actionsheet/interfaces/ActionSheetItemProps.d.ts +46 -0
- package/dist/npm/actionsheet/interfaces/ActionSheetItemProps.js +2 -0
- package/dist/npm/main.d.ts +6 -0
- package/dist/npm/main.js +6 -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,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ActionSheetFooter = exports.footerDisplayName = void 0;
|
|
4
|
+
var PropTypes = require("prop-types");
|
|
5
|
+
/**
|
|
6
|
+
* @hidden
|
|
7
|
+
*/
|
|
8
|
+
exports.footerDisplayName = 'ActionSheetFooter';
|
|
9
|
+
/**
|
|
10
|
+
* The KendoReact ActionSheetFooter component.
|
|
11
|
+
*/
|
|
12
|
+
var ActionSheetFooter = function (props) { return props.children; };
|
|
13
|
+
exports.ActionSheetFooter = ActionSheetFooter;
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
exports.ActionSheetFooter.displayName = exports.footerDisplayName;
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
exports.ActionSheetFooter.propTypes = {
|
|
22
|
+
children: PropTypes.any
|
|
23
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ActionSheetChildrenProps } from './interfaces/ActionSheetChildrenProps';
|
|
3
|
+
/**
|
|
4
|
+
* @hidden
|
|
5
|
+
*/
|
|
6
|
+
export declare const headerDisplayName = "ActionSheetHeader";
|
|
7
|
+
/**
|
|
8
|
+
* The KendoReact ActionSheetHeader component.
|
|
9
|
+
*/
|
|
10
|
+
export declare const ActionSheetHeader: React.FunctionComponent<ActionSheetChildrenProps>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ActionSheetHeader = exports.headerDisplayName = void 0;
|
|
4
|
+
var PropTypes = require("prop-types");
|
|
5
|
+
/**
|
|
6
|
+
* @hidden
|
|
7
|
+
*/
|
|
8
|
+
exports.headerDisplayName = 'ActionSheetHeader';
|
|
9
|
+
/**
|
|
10
|
+
* The KendoReact ActionSheetHeader component.
|
|
11
|
+
*/
|
|
12
|
+
var ActionSheetHeader = function (props) { return props.children; };
|
|
13
|
+
exports.ActionSheetHeader = ActionSheetHeader;
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
exports.ActionSheetHeader.displayName = exports.headerDisplayName;
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
exports.ActionSheetHeader.propTypes = {
|
|
22
|
+
children: PropTypes.any
|
|
23
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ActionSheetItem = void 0;
|
|
4
|
+
var React = require("react");
|
|
5
|
+
var PropTypes = require("prop-types");
|
|
6
|
+
var kendo_react_common_1 = require("@progress/kendo-react-common");
|
|
7
|
+
/**
|
|
8
|
+
* The KendoReact ActionSheetItem component.
|
|
9
|
+
*/
|
|
10
|
+
var ActionSheetItem = function (props) {
|
|
11
|
+
var onClick = React.useCallback(function (event) {
|
|
12
|
+
if (props.onClick) {
|
|
13
|
+
props.onClick.call(undefined, { syntheticEvent: event, title: props.title });
|
|
14
|
+
}
|
|
15
|
+
}, [props.title, props.onClick]);
|
|
16
|
+
return (React.createElement("span", { style: props.style, className: (0, kendo_react_common_1.classNames)('k-actionsheet-item', 'k-cursor-pointer', props.disabled && 'k-disabled', props.className), role: "button", "aria-disabled": props.disabled, tabIndex: props.tabIndex, onClick: onClick },
|
|
17
|
+
React.createElement("span", { className: "k-actionsheet-action" },
|
|
18
|
+
props.icon,
|
|
19
|
+
(props.title || props.description) && (React.createElement("span", { className: "k-actionsheet-item-text" },
|
|
20
|
+
React.createElement("span", { className: "k-actionsheet-item-title" }, props.title),
|
|
21
|
+
React.createElement("span", { className: "k-actionsheet-item-description" }, props.description))))));
|
|
22
|
+
};
|
|
23
|
+
exports.ActionSheetItem = ActionSheetItem;
|
|
24
|
+
exports.ActionSheetItem.propTypes = {
|
|
25
|
+
className: PropTypes.string,
|
|
26
|
+
style: PropTypes.object,
|
|
27
|
+
description: PropTypes.string,
|
|
28
|
+
disabled: PropTypes.bool,
|
|
29
|
+
group: PropTypes.oneOf(['top', 'bottom']),
|
|
30
|
+
icon: PropTypes.element,
|
|
31
|
+
title: PropTypes.string
|
|
32
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Represents the props of the KendoReact ActionSheet component.
|
|
4
|
+
*/
|
|
5
|
+
export interface ActionSheetItemProps {
|
|
6
|
+
/**
|
|
7
|
+
* Sets additional CSS classes to the ActionSheet.
|
|
8
|
+
*/
|
|
9
|
+
className?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Sets additional CSS styles to the ActionSheet.
|
|
12
|
+
*/
|
|
13
|
+
style?: React.CSSProperties;
|
|
14
|
+
/**
|
|
15
|
+
* Specifies the `tabIndex` of the ActionSheet.
|
|
16
|
+
*/
|
|
17
|
+
tabIndex?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Specifies additional text rendered under the item's title.
|
|
20
|
+
*/
|
|
21
|
+
description?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Specifies if the ActionSheet item is initially disabled.
|
|
24
|
+
*/
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Defines the group of the item. Items can be segregated in two groups - `top` and `bottom`.
|
|
28
|
+
* Each specifying whether the ActionSheet item will be rendered over the separator or under it.
|
|
29
|
+
*/
|
|
30
|
+
group?: 'top' | 'bottom';
|
|
31
|
+
/**
|
|
32
|
+
* Defines the icon rendered inside the ActionSheet item.
|
|
33
|
+
*/
|
|
34
|
+
icon?: React.ReactElement;
|
|
35
|
+
/**
|
|
36
|
+
* Specifies the text content of the ActionSheet item.
|
|
37
|
+
*/
|
|
38
|
+
title?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @hidden
|
|
41
|
+
*/
|
|
42
|
+
onClick?: (event: {
|
|
43
|
+
syntheticEvent: React.MouseEvent<HTMLSpanElement>;
|
|
44
|
+
title?: string;
|
|
45
|
+
}) => void;
|
|
46
|
+
}
|
package/dist/npm/main.d.ts
CHANGED
|
@@ -78,4 +78,10 @@ export * from './breadcrumb/BreadcrumbOrderedList';
|
|
|
78
78
|
export * from './breadcrumb/BreadcrumbListItem';
|
|
79
79
|
export * from './breadcrumb/BreadcrumbDelimiter';
|
|
80
80
|
export * from './breadcrumb/BreadcrumbLink';
|
|
81
|
+
export * from './actionsheet/ActionSheet';
|
|
82
|
+
export * from './actionsheet/ActionSheetItem';
|
|
83
|
+
export * from './actionsheet/interfaces/ActionSheetItemProps';
|
|
84
|
+
export * from './actionsheet/ActionSheetHeader';
|
|
85
|
+
export * from './actionsheet/ActionSheetContent';
|
|
86
|
+
export * from './actionsheet/ActionSheetFooter';
|
|
81
87
|
export * from './expansionpanel';
|
package/dist/npm/main.js
CHANGED
|
@@ -94,4 +94,10 @@ __exportStar(require("./breadcrumb/BreadcrumbOrderedList"), exports);
|
|
|
94
94
|
__exportStar(require("./breadcrumb/BreadcrumbListItem"), exports);
|
|
95
95
|
__exportStar(require("./breadcrumb/BreadcrumbDelimiter"), exports);
|
|
96
96
|
__exportStar(require("./breadcrumb/BreadcrumbLink"), exports);
|
|
97
|
+
__exportStar(require("./actionsheet/ActionSheet"), exports);
|
|
98
|
+
__exportStar(require("./actionsheet/ActionSheetItem"), exports);
|
|
99
|
+
__exportStar(require("./actionsheet/interfaces/ActionSheetItemProps"), exports);
|
|
100
|
+
__exportStar(require("./actionsheet/ActionSheetHeader"), exports);
|
|
101
|
+
__exportStar(require("./actionsheet/ActionSheetContent"), exports);
|
|
102
|
+
__exportStar(require("./actionsheet/ActionSheetFooter"), exports);
|
|
97
103
|
__exportStar(require("./expansionpanel"), exports);
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-react-layout',
|
|
9
9
|
productName: 'KendoReact',
|
|
10
10
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1673632152,
|
|
12
12
|
version: '',
|
|
13
13
|
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'
|
|
14
14
|
};
|