@progress/kendo-react-grid 5.3.0-dev.202205040828 → 5.3.0-dev.202205051350
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/cells/GridCell.js +1 -1
- package/dist/es/cells/GridEditCell.js +1 -1
- package/dist/es/columnMenu/GridColumnMenuItem.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/rows/GridRow.js +1 -1
- package/dist/npm/cells/GridCell.js +1 -1
- package/dist/npm/cells/GridEditCell.js +1 -1
- package/dist/npm/columnMenu/GridColumnMenuItem.js +1 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/rows/GridRow.js +1 -1
- package/dist/systemjs/kendo-react-grid.js +1 -1
- package/package.json +18 -18
|
@@ -31,7 +31,7 @@ export var GridCell = function (props) {
|
|
|
31
31
|
intl.format(props.format, data) :
|
|
32
32
|
data.toString();
|
|
33
33
|
}
|
|
34
|
-
var className = classNames(props.className, { 'k-
|
|
34
|
+
var className = classNames(props.className, { 'k-selected': props.isSelected });
|
|
35
35
|
defaultRendering = (React.createElement("td", __assign({ colSpan: props.colSpan, style: props.style, className: className, role: 'gridcell', "aria-colindex": props.ariaColumnIndex, "aria-selected": props.isSelected }, (_a = {}, _a[GRID_COL_INDEX_ATTRIBUTE] = props.columnIndex, _a), navigationAttributes), dataAsString));
|
|
36
36
|
}
|
|
37
37
|
return props.render ?
|
|
@@ -24,7 +24,7 @@ export var GridEditCell = function (props) {
|
|
|
24
24
|
var data = getNestedValue(props.field, props.dataItem);
|
|
25
25
|
var defaultRendering = null;
|
|
26
26
|
var editCellClasses = classNames('k-grid-edit-cell', (_a = {},
|
|
27
|
-
_a['k-
|
|
27
|
+
_a['k-selected'] = props.isSelected,
|
|
28
28
|
_a), props.className);
|
|
29
29
|
var inputId = React.useMemo(function () { return guid(); }, []);
|
|
30
30
|
var navigationAttributes = useTableKeyboardNavigation(props.id);
|
|
@@ -31,7 +31,7 @@ var GridColumnMenuItem = /** @class */ (function (_super) {
|
|
|
31
31
|
*/
|
|
32
32
|
GridColumnMenuItem.prototype.render = function () {
|
|
33
33
|
var _a = this.props, title = _a.title, iconClass = _a.iconClass, selected = _a.selected;
|
|
34
|
-
return (React.createElement("div", { onClick: this.onClick, className: "k-columnmenu-item " + (selected ? 'k-
|
|
34
|
+
return (React.createElement("div", { onClick: this.onClick, className: "k-columnmenu-item " + (selected ? 'k-selected' : '') },
|
|
35
35
|
iconClass && React.createElement("span", { className: "k-icon " + iconClass }),
|
|
36
36
|
title));
|
|
37
37
|
};
|
|
@@ -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: 1651758070,
|
|
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
|
};
|
package/dist/es/rows/GridRow.js
CHANGED
|
@@ -46,7 +46,7 @@ var GridRow = /** @class */ (function (_super) {
|
|
|
46
46
|
'k-alt': this.props.rowType !== 'groupHeader' &&
|
|
47
47
|
this.props.rowType !== 'groupFooter' &&
|
|
48
48
|
this.props.isAltRow,
|
|
49
|
-
'k-
|
|
49
|
+
'k-selected': this.props.isSelected,
|
|
50
50
|
'k-grid-edit-row': this.props.isInEdit
|
|
51
51
|
});
|
|
52
52
|
var defaultRendering = (React.createElement("tr", __assign({ id: this.props.id, onClick: this.props.onClick, onDoubleClick: this.props.onDoubleClick, className: className, style: {
|
|
@@ -33,7 +33,7 @@ exports.GridCell = function (props) {
|
|
|
33
33
|
intl.format(props.format, data) :
|
|
34
34
|
data.toString();
|
|
35
35
|
}
|
|
36
|
-
var className = kendo_react_common_1.classNames(props.className, { 'k-
|
|
36
|
+
var className = kendo_react_common_1.classNames(props.className, { 'k-selected': props.isSelected });
|
|
37
37
|
defaultRendering = (React.createElement("td", __assign({ colSpan: props.colSpan, style: props.style, className: className, role: 'gridcell', "aria-colindex": props.ariaColumnIndex, "aria-selected": props.isSelected }, (_a = {}, _a[constants_1.GRID_COL_INDEX_ATTRIBUTE] = props.columnIndex, _a), navigationAttributes), dataAsString));
|
|
38
38
|
}
|
|
39
39
|
return props.render ?
|
|
@@ -26,7 +26,7 @@ exports.GridEditCell = function (props) {
|
|
|
26
26
|
var data = utils_1.getNestedValue(props.field, props.dataItem);
|
|
27
27
|
var defaultRendering = null;
|
|
28
28
|
var editCellClasses = kendo_react_common_1.classNames('k-grid-edit-cell', (_a = {},
|
|
29
|
-
_a['k-
|
|
29
|
+
_a['k-selected'] = props.isSelected,
|
|
30
30
|
_a), props.className);
|
|
31
31
|
var inputId = React.useMemo(function () { return kendo_react_common_1.guid(); }, []);
|
|
32
32
|
var navigationAttributes = kendo_react_data_tools_1.useTableKeyboardNavigation(props.id);
|
|
@@ -33,7 +33,7 @@ var GridColumnMenuItem = /** @class */ (function (_super) {
|
|
|
33
33
|
*/
|
|
34
34
|
GridColumnMenuItem.prototype.render = function () {
|
|
35
35
|
var _a = this.props, title = _a.title, iconClass = _a.iconClass, selected = _a.selected;
|
|
36
|
-
return (React.createElement("div", { onClick: this.onClick, className: "k-columnmenu-item " + (selected ? 'k-
|
|
36
|
+
return (React.createElement("div", { onClick: this.onClick, className: "k-columnmenu-item " + (selected ? 'k-selected' : '') },
|
|
37
37
|
iconClass && React.createElement("span", { className: "k-icon " + iconClass }),
|
|
38
38
|
title));
|
|
39
39
|
};
|
|
@@ -7,7 +7,7 @@ exports.packageMetadata = {
|
|
|
7
7
|
name: '@progress/kendo-react-grid',
|
|
8
8
|
productName: 'KendoReact',
|
|
9
9
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
10
|
-
publishDate:
|
|
10
|
+
publishDate: 1651758070,
|
|
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
|
};
|
package/dist/npm/rows/GridRow.js
CHANGED
|
@@ -48,7 +48,7 @@ var GridRow = /** @class */ (function (_super) {
|
|
|
48
48
|
'k-alt': this.props.rowType !== 'groupHeader' &&
|
|
49
49
|
this.props.rowType !== 'groupFooter' &&
|
|
50
50
|
this.props.isAltRow,
|
|
51
|
-
'k-
|
|
51
|
+
'k-selected': this.props.isSelected,
|
|
52
52
|
'k-grid-edit-row': this.props.isInEdit
|
|
53
53
|
});
|
|
54
54
|
var defaultRendering = (React.createElement("tr", __assign({ id: this.props.id, onClick: this.props.onClick, onDoubleClick: this.props.onDoubleClick, className: className, style: {
|