@progress/kendo-react-grid 7.4.0-develop.1 → 7.4.0-develop.11
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/Grid.js +1 -1
- package/Grid.mjs +27 -27
- package/cells/GridEditCell.js +1 -1
- package/cells/GridEditCell.mjs +24 -23
- package/dist/cdn/js/kendo-react-grid.js +1 -1
- package/header/HeaderRow.js +1 -1
- package/header/HeaderRow.mjs +13 -13
- package/index.d.mts +3 -2
- package/index.d.ts +3 -2
- package/package-metadata.mjs +1 -1
- package/package.json +10 -10
package/header/HeaderRow.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import { GridHeaderCell as I } from "./GridHeaderCell.mjs";
|
|
|
13
13
|
import { Keys as m, classNames as w, IconWrap as D } from "@progress/kendo-react-common";
|
|
14
14
|
import { ColumnResizer as E, HeaderThElement as v } from "@progress/kendo-react-data-tools";
|
|
15
15
|
import { provideLocalizationService as M, registerForLocalization as N } from "@progress/kendo-react-intl";
|
|
16
|
-
import { sortAriaLabel as
|
|
16
|
+
import { sortAriaLabel as C, messages as K } from "../messages/index.mjs";
|
|
17
17
|
import { sortAscSmallIcon as L, sortDescSmallIcon as A } from "@progress/kendo-svg-icons";
|
|
18
18
|
import { resolveCells as G } from "../utils/index.mjs";
|
|
19
19
|
const F = {
|
|
@@ -44,16 +44,16 @@ class O extends o.Component {
|
|
|
44
44
|
"k-sorted": this.props.sort && this.props.sort.some((r) => r.field === e.field)
|
|
45
45
|
}, e.headerClassName);
|
|
46
46
|
e.locked === !1 && (e.left = 0);
|
|
47
|
-
const
|
|
47
|
+
const k = e.left !== void 0 ? this.props.isRtl ? { left: e.right, right: e.left } : { left: e.left, right: e.right } : {}, b = M(this).toLanguageString(C, K[C]), y = e.isAccessible ? {
|
|
48
48
|
ariaSort: P[p],
|
|
49
49
|
role: "columnheader",
|
|
50
50
|
ariaColumnIndex: e.ariaColumnIndex,
|
|
51
51
|
ariaSelected: !1,
|
|
52
|
-
ariaDescription: i ?
|
|
52
|
+
ariaDescription: i ? b : ""
|
|
53
53
|
} : {
|
|
54
54
|
role: "presentation"
|
|
55
|
-
}, d = e.declarationIndex >= 0 ? ++this.index : --this.serviceIndex,
|
|
56
|
-
|
|
55
|
+
}, d = e.declarationIndex >= 0 ? ++this.index : --this.serviceIndex, R = e.headerCell ? e.headerCell : I, f = /* @__PURE__ */ o.createElement(
|
|
56
|
+
R,
|
|
57
57
|
{
|
|
58
58
|
key: 1,
|
|
59
59
|
field: e.field,
|
|
@@ -84,19 +84,19 @@ class O extends o.Component {
|
|
|
84
84
|
columnMenu: n
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
),
|
|
88
|
-
...
|
|
87
|
+
), u = {
|
|
88
|
+
...y,
|
|
89
89
|
key: d,
|
|
90
90
|
colSpan: e.colSpan,
|
|
91
91
|
rowSpan: e.rowSpan,
|
|
92
92
|
className: c,
|
|
93
|
-
style:
|
|
93
|
+
style: k,
|
|
94
94
|
columnId: e.id,
|
|
95
95
|
navigatable: e.navigatable,
|
|
96
96
|
onKeyDown: (r) => this.cellKeyDown(r, e),
|
|
97
97
|
role: "columnheader"
|
|
98
|
-
},
|
|
99
|
-
|
|
98
|
+
}, g = [
|
|
99
|
+
f,
|
|
100
100
|
this.props.columnResize && this.props.columnResize.resizable && e.resizable && /* @__PURE__ */ o.createElement(
|
|
101
101
|
E,
|
|
102
102
|
{
|
|
@@ -108,15 +108,15 @@ class O extends o.Component {
|
|
|
108
108
|
], h = G(this.props.cells, e.cells);
|
|
109
109
|
if (h && h.headerCell) {
|
|
110
110
|
const r = h.headerCell;
|
|
111
|
-
return /* @__PURE__ */ o.createElement(r, { key: d, thProps:
|
|
111
|
+
return /* @__PURE__ */ o.createElement(r, { ...f.props, key: d, thProps: u, index: l }, g);
|
|
112
112
|
}
|
|
113
113
|
return /* @__PURE__ */ o.createElement(
|
|
114
114
|
v,
|
|
115
115
|
{
|
|
116
|
-
...
|
|
116
|
+
...u,
|
|
117
117
|
key: d
|
|
118
118
|
},
|
|
119
|
-
|
|
119
|
+
g
|
|
120
120
|
);
|
|
121
121
|
}), this.cellClick = this.cellClick.bind(this);
|
|
122
122
|
}
|
package/index.d.mts
CHANGED
|
@@ -22,6 +22,7 @@ import { getSelectedState } from '@progress/kendo-react-data-tools';
|
|
|
22
22
|
import { getSelectedStateFromKeyDown } from '@progress/kendo-react-data-tools';
|
|
23
23
|
import { GroupDescriptor } from '@progress/kendo-data-query';
|
|
24
24
|
import { HeaderCellBaseProps } from '@progress/kendo-react-data-tools';
|
|
25
|
+
import { HeaderThElementProps } from '@progress/kendo-react-data-tools';
|
|
25
26
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
26
27
|
import { KendoReactComponentBaseProps } from '@progress/kendo-react-common';
|
|
27
28
|
import { PagerProps } from '@progress/kendo-react-data-tools';
|
|
@@ -1483,7 +1484,7 @@ export declare interface GridCustomFooterCellProps extends GridFooterCellProps {
|
|
|
1483
1484
|
*/
|
|
1484
1485
|
export declare interface GridCustomHeaderCellProps extends GridHeaderCellProps {
|
|
1485
1486
|
/**
|
|
1486
|
-
* The props and attributes that are applied to the
|
|
1487
|
+
* The props and attributes that are applied to the `th` element by default. The property should be used with the [HeaderThElement](slug:) component as demonstrated in [this example](slug:cells_grid#toc-group-header-group-footer-header-cell-footer-cell-filter-cell-and-data-cell).
|
|
1487
1488
|
*/
|
|
1488
1489
|
thProps?: GridThAttributes | null;
|
|
1489
1490
|
/**
|
|
@@ -2584,7 +2585,7 @@ export declare interface GridTdAttributes extends React.TdHTMLAttributes<HTMLTab
|
|
|
2584
2585
|
key?: string;
|
|
2585
2586
|
}
|
|
2586
2587
|
|
|
2587
|
-
export declare interface GridThAttributes extends
|
|
2588
|
+
export declare interface GridThAttributes extends HeaderThElementProps {
|
|
2588
2589
|
columnId: string;
|
|
2589
2590
|
key?: string;
|
|
2590
2591
|
}
|
package/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ import { getSelectedState } from '@progress/kendo-react-data-tools';
|
|
|
22
22
|
import { getSelectedStateFromKeyDown } from '@progress/kendo-react-data-tools';
|
|
23
23
|
import { GroupDescriptor } from '@progress/kendo-data-query';
|
|
24
24
|
import { HeaderCellBaseProps } from '@progress/kendo-react-data-tools';
|
|
25
|
+
import { HeaderThElementProps } from '@progress/kendo-react-data-tools';
|
|
25
26
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
26
27
|
import { KendoReactComponentBaseProps } from '@progress/kendo-react-common';
|
|
27
28
|
import { PagerProps } from '@progress/kendo-react-data-tools';
|
|
@@ -1483,7 +1484,7 @@ export declare interface GridCustomFooterCellProps extends GridFooterCellProps {
|
|
|
1483
1484
|
*/
|
|
1484
1485
|
export declare interface GridCustomHeaderCellProps extends GridHeaderCellProps {
|
|
1485
1486
|
/**
|
|
1486
|
-
* The props and attributes that are applied to the
|
|
1487
|
+
* The props and attributes that are applied to the `th` element by default. The property should be used with the [HeaderThElement](slug:) component as demonstrated in [this example](slug:cells_grid#toc-group-header-group-footer-header-cell-footer-cell-filter-cell-and-data-cell).
|
|
1487
1488
|
*/
|
|
1488
1489
|
thProps?: GridThAttributes | null;
|
|
1489
1490
|
/**
|
|
@@ -2584,7 +2585,7 @@ export declare interface GridTdAttributes extends React.TdHTMLAttributes<HTMLTab
|
|
|
2584
2585
|
key?: string;
|
|
2585
2586
|
}
|
|
2586
2587
|
|
|
2587
|
-
export declare interface GridThAttributes extends
|
|
2588
|
+
export declare interface GridThAttributes extends HeaderThElementProps {
|
|
2588
2589
|
columnId: string;
|
|
2589
2590
|
key?: string;
|
|
2590
2591
|
}
|
package/package-metadata.mjs
CHANGED
|
@@ -10,7 +10,7 @@ const e = {
|
|
|
10
10
|
name: "@progress/kendo-react-grid",
|
|
11
11
|
productName: "KendoReact",
|
|
12
12
|
productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
|
|
13
|
-
publishDate:
|
|
13
|
+
publishDate: 1711715949,
|
|
14
14
|
version: "",
|
|
15
15
|
licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
16
16
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-grid",
|
|
3
|
-
"version": "7.4.0-develop.
|
|
3
|
+
"version": "7.4.0-develop.11",
|
|
4
4
|
"description": "React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"@progress/kendo-data-query": "^1.0.0",
|
|
26
26
|
"@progress/kendo-drawing": "^1.19.0",
|
|
27
27
|
"@progress/kendo-licensing": "^1.3.4",
|
|
28
|
-
"@progress/kendo-react-animation": "7.4.0-develop.
|
|
29
|
-
"@progress/kendo-react-buttons": "7.4.0-develop.
|
|
30
|
-
"@progress/kendo-react-common": "7.4.0-develop.
|
|
31
|
-
"@progress/kendo-react-data-tools": "7.4.0-develop.
|
|
32
|
-
"@progress/kendo-react-dateinputs": "7.4.0-develop.
|
|
33
|
-
"@progress/kendo-react-dropdowns": "7.4.0-develop.
|
|
34
|
-
"@progress/kendo-react-inputs": "7.4.0-develop.
|
|
35
|
-
"@progress/kendo-react-intl": "7.4.0-develop.
|
|
36
|
-
"@progress/kendo-react-popup": "7.4.0-develop.
|
|
28
|
+
"@progress/kendo-react-animation": "7.4.0-develop.11",
|
|
29
|
+
"@progress/kendo-react-buttons": "7.4.0-develop.11",
|
|
30
|
+
"@progress/kendo-react-common": "7.4.0-develop.11",
|
|
31
|
+
"@progress/kendo-react-data-tools": "7.4.0-develop.11",
|
|
32
|
+
"@progress/kendo-react-dateinputs": "7.4.0-develop.11",
|
|
33
|
+
"@progress/kendo-react-dropdowns": "7.4.0-develop.11",
|
|
34
|
+
"@progress/kendo-react-inputs": "7.4.0-develop.11",
|
|
35
|
+
"@progress/kendo-react-intl": "7.4.0-develop.11",
|
|
36
|
+
"@progress/kendo-react-popup": "7.4.0-develop.11",
|
|
37
37
|
"@progress/kendo-svg-icons": "^2.1.0",
|
|
38
38
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0",
|
|
39
39
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
|