@progress/kendo-react-layout 5.10.0-dev.202301111905 → 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.
Files changed (37) hide show
  1. package/dist/cdn/js/kendo-react-layout.js +1 -1
  2. package/dist/es/actionsheet/ActionSheet.d.ts +68 -0
  3. package/dist/es/actionsheet/ActionSheet.js +116 -0
  4. package/dist/es/actionsheet/ActionSheetContent.d.ts +10 -0
  5. package/dist/es/actionsheet/ActionSheetContent.js +19 -0
  6. package/dist/es/actionsheet/ActionSheetFooter.d.ts +10 -0
  7. package/dist/es/actionsheet/ActionSheetFooter.js +19 -0
  8. package/dist/es/actionsheet/ActionSheetHeader.d.ts +10 -0
  9. package/dist/es/actionsheet/ActionSheetHeader.js +19 -0
  10. package/dist/es/actionsheet/ActionSheetItem.d.ts +6 -0
  11. package/dist/es/actionsheet/ActionSheetItem.js +28 -0
  12. package/dist/es/actionsheet/interfaces/ActionSheetChildrenProps.d.ts +9 -0
  13. package/dist/es/actionsheet/interfaces/ActionSheetChildrenProps.js +5 -0
  14. package/dist/es/actionsheet/interfaces/ActionSheetItemProps.d.ts +46 -0
  15. package/dist/es/actionsheet/interfaces/ActionSheetItemProps.js +1 -0
  16. package/dist/es/main.d.ts +6 -0
  17. package/dist/es/main.js +6 -0
  18. package/dist/es/package-metadata.js +1 -1
  19. package/dist/npm/actionsheet/ActionSheet.d.ts +68 -0
  20. package/dist/npm/actionsheet/ActionSheet.js +119 -0
  21. package/dist/npm/actionsheet/ActionSheetContent.d.ts +10 -0
  22. package/dist/npm/actionsheet/ActionSheetContent.js +23 -0
  23. package/dist/npm/actionsheet/ActionSheetFooter.d.ts +10 -0
  24. package/dist/npm/actionsheet/ActionSheetFooter.js +23 -0
  25. package/dist/npm/actionsheet/ActionSheetHeader.d.ts +10 -0
  26. package/dist/npm/actionsheet/ActionSheetHeader.js +23 -0
  27. package/dist/npm/actionsheet/ActionSheetItem.d.ts +6 -0
  28. package/dist/npm/actionsheet/ActionSheetItem.js +32 -0
  29. package/dist/npm/actionsheet/interfaces/ActionSheetChildrenProps.d.ts +9 -0
  30. package/dist/npm/actionsheet/interfaces/ActionSheetChildrenProps.js +6 -0
  31. package/dist/npm/actionsheet/interfaces/ActionSheetItemProps.d.ts +46 -0
  32. package/dist/npm/actionsheet/interfaces/ActionSheetItemProps.js +2 -0
  33. package/dist/npm/main.d.ts +6 -0
  34. package/dist/npm/main.js +6 -0
  35. package/dist/npm/package-metadata.js +1 -1
  36. package/dist/systemjs/kendo-react-layout.js +1 -1
  37. 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,6 @@
1
+ import * as React from 'react';
2
+ import { ActionSheetItemProps } from './interfaces/ActionSheetItemProps';
3
+ /**
4
+ * The KendoReact ActionSheetItem component.
5
+ */
6
+ export declare const ActionSheetItem: React.FunctionComponent<ActionSheetItemProps>;
@@ -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,9 @@
1
+ /**
2
+ * Represents the props of the KendoReact ActionSheetChildren component.
3
+ */
4
+ export interface ActionSheetChildrenProps {
5
+ /**
6
+ * Represents the children that are passed to the ActionSheet.
7
+ */
8
+ children?: any;
9
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ /**
3
+ * Represents the props of the KendoReact ActionSheetChildren component.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ ;
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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: 1673462573,
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
  };