@progress/kendo-react-grid 5.19.0-dev.202309211522 → 5.19.0-dev.202309211619
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-grid.js +1 -1
- package/dist/es/columnMenu/GridColumnMenuWrapper.js +3 -2
- package/dist/es/header/HeaderRow.js +1 -1
- package/dist/es/interfaces/GridColumnMenuColumnProps.d.ts +4 -4
- package/dist/es/package-metadata.js +1 -1
- package/dist/npm/columnMenu/GridColumnMenuWrapper.js +3 -2
- package/dist/npm/header/HeaderRow.js +1 -1
- package/dist/npm/interfaces/GridColumnMenuColumnProps.d.ts +4 -4
- package/dist/npm/package-metadata.js +1 -1
- package/dist/systemjs/kendo-react-grid.js +1 -1
- package/package.json +18 -18
|
@@ -105,9 +105,10 @@ var GridColumnMenuWrapper = /** @class */ (function (_super) {
|
|
|
105
105
|
var _a = this.props, ColumnMenu = _a.columnMenu, others = __rest(_a, ["columnMenu"]);
|
|
106
106
|
var column = this.props.column;
|
|
107
107
|
var localizationService = provideLocalizationService(this);
|
|
108
|
-
var
|
|
108
|
+
var fieldMessage = column.title || column.field;
|
|
109
|
+
var field = fieldMessage ? "".concat(fieldMessage, " ") : '';
|
|
109
110
|
return (React.createElement(React.Fragment, null,
|
|
110
|
-
React.createElement("a", { className: 'k-grid-header-menu k-grid-column-menu', ref: function (e) { return _this._anchor = e; }, onClick: this.anchorClick, onMouseDown: this.onAnchorMouseDown, onFocus: this.onAnchorFocus, href: "#",
|
|
111
|
+
React.createElement("a", { className: 'k-grid-header-menu k-grid-column-menu', ref: function (e) { return _this._anchor = e; }, onClick: this.anchorClick, onMouseDown: this.onAnchorMouseDown, onFocus: this.onAnchorFocus, href: "#", "aria-label": "".concat(field).concat(localizationService.toLanguageString(columnMenu, messages[columnMenu])) },
|
|
111
112
|
React.createElement(IconWrap, { name: 'more-vertical', icon: moreVerticalIcon })),
|
|
112
113
|
React.createElement(Popup, { anchor: this._anchor, show: this.state.show },
|
|
113
114
|
React.createElement("div", { ref: function (e) { return _this._content = e; }, className: 'k-grid-columnmenu-popup', tabIndex: 0, onBlur: this.blur, onFocus: this.focus, style: { outline: 'none' } }, ColumnMenu && (React.createElement(ColumnMenu, __assign({}, others, { onCloseMenu: this.closeMenu })))))));
|
|
@@ -100,7 +100,7 @@ var HeaderRow = /** @class */ (function (_super) {
|
|
|
100
100
|
var headerCell = (React.createElement(HeaderCell, { key: 1, field: column.field, onClick: sortable && (function (e) { return _this.cellClick(e, column); }) || undefined, selectionChange: _this.props.selectionChange, title: column.title, selectionValue: column.headerSelectionValue, render: _this.props.cellRender, children: _this.sortIcon(sortIndex), columnMenuWrapperProps: {
|
|
101
101
|
column: {
|
|
102
102
|
field: column.field,
|
|
103
|
-
|
|
103
|
+
title: column.title,
|
|
104
104
|
locked: column.locked,
|
|
105
105
|
filter: column.filter
|
|
106
106
|
},
|
|
@@ -10,12 +10,12 @@ export interface GridColumnMenuColumnProps {
|
|
|
10
10
|
* Defines the filter type that is displayed inside the filter row. Defaults to `text`.
|
|
11
11
|
*/
|
|
12
12
|
filter?: 'text' | 'numeric' | 'boolean' | 'date';
|
|
13
|
-
/**
|
|
14
|
-
* The column id.
|
|
15
|
-
*/
|
|
16
|
-
id?: string;
|
|
17
13
|
/**
|
|
18
14
|
* The column locked state.
|
|
19
15
|
*/
|
|
20
16
|
locked?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
20
|
+
title?: string;
|
|
21
21
|
}
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-grid',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1695311831,
|
|
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
|
};
|
|
@@ -108,9 +108,10 @@ var GridColumnMenuWrapper = /** @class */ (function (_super) {
|
|
|
108
108
|
var _a = this.props, ColumnMenu = _a.columnMenu, others = __rest(_a, ["columnMenu"]);
|
|
109
109
|
var column = this.props.column;
|
|
110
110
|
var localizationService = (0, kendo_react_intl_1.provideLocalizationService)(this);
|
|
111
|
-
var
|
|
111
|
+
var fieldMessage = column.title || column.field;
|
|
112
|
+
var field = fieldMessage ? "".concat(fieldMessage, " ") : '';
|
|
112
113
|
return (React.createElement(React.Fragment, null,
|
|
113
|
-
React.createElement("a", { className: 'k-grid-header-menu k-grid-column-menu', ref: function (e) { return _this._anchor = e; }, onClick: this.anchorClick, onMouseDown: this.onAnchorMouseDown, onFocus: this.onAnchorFocus, href: "#",
|
|
114
|
+
React.createElement("a", { className: 'k-grid-header-menu k-grid-column-menu', ref: function (e) { return _this._anchor = e; }, onClick: this.anchorClick, onMouseDown: this.onAnchorMouseDown, onFocus: this.onAnchorFocus, href: "#", "aria-label": "".concat(field).concat(localizationService.toLanguageString(messages_1.columnMenu, messages_1.messages[messages_1.columnMenu])) },
|
|
114
115
|
React.createElement(kendo_react_common_1.IconWrap, { name: 'more-vertical', icon: kendo_svg_icons_1.moreVerticalIcon })),
|
|
115
116
|
React.createElement(kendo_react_popup_1.Popup, { anchor: this._anchor, show: this.state.show },
|
|
116
117
|
React.createElement("div", { ref: function (e) { return _this._content = e; }, className: 'k-grid-columnmenu-popup', tabIndex: 0, onBlur: this.blur, onFocus: this.focus, style: { outline: 'none' } }, ColumnMenu && (React.createElement(ColumnMenu, __assign({}, others, { onCloseMenu: this.closeMenu })))))));
|
|
@@ -103,7 +103,7 @@ var HeaderRow = /** @class */ (function (_super) {
|
|
|
103
103
|
var headerCell = (React.createElement(HeaderCell, { key: 1, field: column.field, onClick: sortable && (function (e) { return _this.cellClick(e, column); }) || undefined, selectionChange: _this.props.selectionChange, title: column.title, selectionValue: column.headerSelectionValue, render: _this.props.cellRender, children: _this.sortIcon(sortIndex), columnMenuWrapperProps: {
|
|
104
104
|
column: {
|
|
105
105
|
field: column.field,
|
|
106
|
-
|
|
106
|
+
title: column.title,
|
|
107
107
|
locked: column.locked,
|
|
108
108
|
filter: column.filter
|
|
109
109
|
},
|
|
@@ -10,12 +10,12 @@ export interface GridColumnMenuColumnProps {
|
|
|
10
10
|
* Defines the filter type that is displayed inside the filter row. Defaults to `text`.
|
|
11
11
|
*/
|
|
12
12
|
filter?: 'text' | 'numeric' | 'boolean' | 'date';
|
|
13
|
-
/**
|
|
14
|
-
* The column id.
|
|
15
|
-
*/
|
|
16
|
-
id?: string;
|
|
17
13
|
/**
|
|
18
14
|
* The column locked state.
|
|
19
15
|
*/
|
|
20
16
|
locked?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
20
|
+
title?: string;
|
|
21
21
|
}
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-react-grid',
|
|
9
9
|
productName: 'KendoReact',
|
|
10
10
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1695311831,
|
|
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
|
};
|