@progress/kendo-react-layout 5.17.0-dev.202308101044 → 5.17.0-dev.202308101804
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/menu/components/MenuItemArrow.js +1 -1
- package/dist/es/menu/components/MenuItemInternal.js +2 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/panelbar/interfaces/PanelBarItemProps.d.ts +2 -1
- package/dist/es/panelbar/interfaces/PanelBarItemProps.js +1 -0
- package/dist/npm/menu/components/MenuItemArrow.js +1 -1
- package/dist/npm/menu/components/MenuItemInternal.js +2 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/panelbar/interfaces/PanelBarItemProps.d.ts +2 -1
- package/dist/npm/panelbar/interfaces/PanelBarItemProps.js +1 -0
- package/dist/systemjs/kendo-react-layout.js +1 -1
- package/package.json +13 -13
|
@@ -50,7 +50,7 @@ var MenuItemArrow = /** @class */ (function (_super) {
|
|
|
50
50
|
* @hidden
|
|
51
51
|
*/
|
|
52
52
|
MenuItemArrow.prototype.render = function () {
|
|
53
|
-
return React.createElement(IconWrap, __assign({ "aria-hidden": true
|
|
53
|
+
return React.createElement(IconWrap, __assign({ "aria-hidden": true }, this.getIcon()));
|
|
54
54
|
};
|
|
55
55
|
MenuItemArrow.prototype.getIcon = function () {
|
|
56
56
|
var childrenPosition = getChildrenPosition(this.props.itemId, this.props.verticalMenu === true, this.props.dir === 'rtl');
|
|
@@ -114,7 +114,8 @@ var MenuItemInternal = /** @class */ (function (_super) {
|
|
|
114
114
|
};
|
|
115
115
|
MenuItemInternal.prototype.renderArrowIfApplicable = function () {
|
|
116
116
|
return this.props.item.items.length > 0 ?
|
|
117
|
-
(React.createElement(
|
|
117
|
+
(React.createElement("span", { className: "k-menu-expand-arrow", "aria-hidden": true },
|
|
118
|
+
React.createElement(MenuItemArrow, { itemId: this.props.item.id, verticalMenu: this.props.isMenuVertical, dir: convertBoolDirectionToString(this.props.isDirectionRightToLeft), key: "2" }))) : null;
|
|
118
119
|
};
|
|
119
120
|
Object.defineProperty(MenuItemInternal.prototype, "itemRender", {
|
|
120
121
|
get: function () {
|
|
@@ -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: 1691687659,
|
|
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
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { SVGIcon } from '@progress/kendo-react-common';
|
|
2
3
|
/**
|
|
3
4
|
* Represents the props of the PanelBarItem component.
|
|
4
5
|
*/
|
|
@@ -42,7 +43,7 @@ export interface PanelBarItemProps {
|
|
|
42
43
|
/**
|
|
43
44
|
* Defines an SVG icon that will be rendered next to the title ([see example]({% slug titlesitems_panelbar %}#toc-adding-icons)).
|
|
44
45
|
*/
|
|
45
|
-
svgIcon?:
|
|
46
|
+
svgIcon?: SVGIcon;
|
|
46
47
|
/**
|
|
47
48
|
* Defines an icon with a custom CSS class that will be rendered next to the title ([see example]({% slug titlesitems_panelbar %}#toc-adding-icons)).
|
|
48
49
|
*/
|
|
@@ -53,7 +53,7 @@ var MenuItemArrow = /** @class */ (function (_super) {
|
|
|
53
53
|
* @hidden
|
|
54
54
|
*/
|
|
55
55
|
MenuItemArrow.prototype.render = function () {
|
|
56
|
-
return React.createElement(kendo_react_common_1.IconWrap, __assign({ "aria-hidden": true
|
|
56
|
+
return React.createElement(kendo_react_common_1.IconWrap, __assign({ "aria-hidden": true }, this.getIcon()));
|
|
57
57
|
};
|
|
58
58
|
MenuItemArrow.prototype.getIcon = function () {
|
|
59
59
|
var childrenPosition = (0, misc_1.getChildrenPosition)(this.props.itemId, this.props.verticalMenu === true, this.props.dir === 'rtl');
|
|
@@ -117,7 +117,8 @@ var MenuItemInternal = /** @class */ (function (_super) {
|
|
|
117
117
|
};
|
|
118
118
|
MenuItemInternal.prototype.renderArrowIfApplicable = function () {
|
|
119
119
|
return this.props.item.items.length > 0 ?
|
|
120
|
-
(React.createElement(
|
|
120
|
+
(React.createElement("span", { className: "k-menu-expand-arrow", "aria-hidden": true },
|
|
121
|
+
React.createElement(MenuItemArrow_1.MenuItemArrow, { itemId: this.props.item.id, verticalMenu: this.props.isMenuVertical, dir: (0, misc_1.convertBoolDirectionToString)(this.props.isDirectionRightToLeft), key: "2" }))) : null;
|
|
121
122
|
};
|
|
122
123
|
Object.defineProperty(MenuItemInternal.prototype, "itemRender", {
|
|
123
124
|
get: function () {
|
|
@@ -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: 1691687659,
|
|
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
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { SVGIcon } from '@progress/kendo-react-common';
|
|
2
3
|
/**
|
|
3
4
|
* Represents the props of the PanelBarItem component.
|
|
4
5
|
*/
|
|
@@ -42,7 +43,7 @@ export interface PanelBarItemProps {
|
|
|
42
43
|
/**
|
|
43
44
|
* Defines an SVG icon that will be rendered next to the title ([see example]({% slug titlesitems_panelbar %}#toc-adding-icons)).
|
|
44
45
|
*/
|
|
45
|
-
svgIcon?:
|
|
46
|
+
svgIcon?: SVGIcon;
|
|
46
47
|
/**
|
|
47
48
|
* Defines an icon with a custom CSS class that will be rendered next to the title ([see example]({% slug titlesitems_panelbar %}#toc-adding-icons)).
|
|
48
49
|
*/
|