@progress/kendo-react-grid 10.0.0-develop.5 → 10.1.0-develop.1

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/footer/Footer.js CHANGED
@@ -6,4 +6,4 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),l=require("@progress/kendo-react-common"),i=require("../GridClientWrapper.js");function u(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const t=u(s),c=e=>{const o=t.useRef(null),r=t.useRef(null),a=t.useContext(i.GridContext);return t.useImperativeHandle(a.footerRef,()=>({setScrollLeft:n=>{o.current&&(o.current.scrollLeft=n)},setWidth:n=>{r.current&&(r.current.style.width=n+"px")}})),e.staticHeaders?t.createElement("div",{className:"k-grid-footer",role:"presentation"},t.createElement("div",{ref:o,className:"k-grid-footer-wrap",role:"presentation"},t.createElement("table",{ref:r,className:l.classNames("k-table k-grid-footer-table",{"k-table-md":!e.size,[`k-table-${l.kendoThemeMaps.sizeMap[e.size]||e.size}`]:e.size},e.className),role:"presentation"},t.createElement("colgroup",{ref:n=>{a.columnResizeRef.current.colGroupFooter=n},role:"presentation"},e.cols),t.createElement("tfoot",{className:"k-table-tfoot",role:"presentation"},e.row)))):t.createElement("tfoot",{className:"k-table-tfoot"},e.row)};c.displayName="KendoReactFooter";exports.Footer=c;
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),l=require("@progress/kendo-react-common"),i=require("../GridClientWrapper.js");function u(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const t=u(s),c=e=>{const o=t.useRef(null),r=t.useRef(null),n=t.useContext(i.GridContext);return t.useImperativeHandle(n.footerRef,()=>({setScrollLeft:a=>{o.current&&(o.current.scrollLeft=a)},setWidth:a=>{r.current&&(r.current.style.width=a?a+"px":"")}})),e.staticHeaders?t.createElement("div",{className:"k-grid-footer",role:"presentation"},t.createElement("div",{ref:o,className:"k-grid-footer-wrap",role:"presentation"},t.createElement("table",{ref:r,className:l.classNames("k-table k-grid-footer-table",{"k-table-md":!e.size,[`k-table-${l.kendoThemeMaps.sizeMap[e.size]||e.size}`]:e.size},e.className),role:"presentation"},t.createElement("colgroup",{ref:a=>{n.columnResizeRef.current.colGroupFooter=a},role:"presentation"},e.cols),t.createElement("tfoot",{className:"k-table-tfoot",role:"presentation"},e.row)))):t.createElement("tfoot",{className:"k-table-tfoot"},e.row)};c.displayName="KendoReactFooter";exports.Footer=c;
package/footer/Footer.mjs CHANGED
@@ -16,7 +16,7 @@ const i = (t) => {
16
16
  o.current && (o.current.scrollLeft = r);
17
17
  },
18
18
  setWidth: (r) => {
19
- a.current && (a.current.style.width = r + "px");
19
+ a.current && (a.current.style.width = r ? r + "px" : "");
20
20
  }
21
21
  })), t.staticHeaders ? /* @__PURE__ */ e.createElement("div", { className: "k-grid-footer", role: "presentation" }, /* @__PURE__ */ e.createElement("div", { ref: o, className: "k-grid-footer-wrap", role: "presentation" }, /* @__PURE__ */ e.createElement(
22
22
  "table",
package/header/Header.js CHANGED
@@ -6,4 +6,4 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("react"),n=require("@progress/kendo-react-common"),m=require("@progress/kendo-react-data-tools"),y=require("../GridClientWrapper.js");function v(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const s=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(r,a,s.get?s:{enumerable:!0,get:()=>e[a]})}}return r.default=e,Object.freeze(r)}const t=v(h),R=e=>{const r=t.useRef(null),a=t.useRef(null),s=t.useRef(!1),l=t.useContext(y.GridContext),b=n.useRtl(l.headerElementRef);l.columnResizeRef.current&&l.columnResizeRef.current.setIsRtl(b==="rtl"),t.useImperativeHandle(l.headerRef,()=>({setScrollLeft:c=>{r.current&&r.current.scrollLeft!==c&&(s.current=!0,r.current.scrollLeft=c)},setWidth:c=>{a.current&&(a.current.style.width=c+"px")},table:()=>a.current}));const g=c=>{var f;if(s.current){s.current=!1;return}if(!r.current)return;const d=r.current.scrollLeft,i=((f=l.vsRef.current)==null?void 0:f.container)||null;i&&i.scrollLeft!==d&&(i.scrollLeft=d)},u=n.useUnstyled(),o=u&&u.uGrid?u.uGrid:n.uGrid,{size:N="md"}=e;return e.staticHeaders?t.createElement("div",{ref:l.headerElementRef,className:n.classNames(o.header({draggable:e.draggable}),e.className),role:"presentation"},t.createElement("div",{ref:r,className:n.classNames(o.headerWrap({})),onScroll:g,role:"presentation"},t.createElement("table",{ref:a,className:n.classNames(o.headerTable({size:N}),e.className),role:"presentation"},t.createElement("colgroup",{ref:c=>{l.columnResizeRef.current&&(l.columnResizeRef.current.colGroupHeader=c)}},e.cols),t.createElement("thead",{className:n.classNames(o.tableThead({})),role:"rowgroup",...m.tableKeyboardNavigationHeaderAttributes},e.headerRow,e.filterRow)))):t.createElement("thead",{role:"presentation",className:n.classNames(o.thead({draggable:e.draggable}),e.className),...m.tableKeyboardNavigationHeaderAttributes},e.headerRow,e.filterRow)};R.displayName="KendoReactHeader";exports.Header=R;
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("react"),c=require("@progress/kendo-react-common"),m=require("@progress/kendo-react-data-tools"),y=require("../GridClientWrapper.js");function v(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const s=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(r,a,s.get?s:{enumerable:!0,get:()=>e[a]})}}return r.default=e,Object.freeze(r)}const t=v(h),R=e=>{const r=t.useRef(null),a=t.useRef(null),s=t.useRef(!1),l=t.useContext(y.GridContext),b=c.useRtl(l.headerElementRef);l.columnResizeRef.current&&l.columnResizeRef.current.setIsRtl(b==="rtl"),t.useImperativeHandle(l.headerRef,()=>({setScrollLeft:n=>{r.current&&r.current.scrollLeft!==n&&(s.current=!0,r.current.scrollLeft=n)},setWidth:n=>{a.current&&(a.current.style.width=n?n+"px":"")},table:()=>a.current}));const g=n=>{var f;if(s.current){s.current=!1;return}if(!r.current)return;const d=r.current.scrollLeft,i=((f=l.vsRef.current)==null?void 0:f.container)||null;i&&i.scrollLeft!==d&&(i.scrollLeft=d)},u=c.useUnstyled(),o=u&&u.uGrid?u.uGrid:c.uGrid,{size:N="md"}=e;return e.staticHeaders?t.createElement("div",{ref:l.headerElementRef,className:c.classNames(o.header({draggable:e.draggable}),e.className),role:"presentation"},t.createElement("div",{ref:r,className:c.classNames(o.headerWrap({})),onScroll:g,role:"presentation"},t.createElement("table",{ref:a,className:c.classNames(o.headerTable({size:N}),e.className),role:"presentation"},t.createElement("colgroup",{ref:n=>{l.columnResizeRef.current&&(l.columnResizeRef.current.colGroupHeader=n)}},e.cols),t.createElement("thead",{className:c.classNames(o.tableThead({})),role:"rowgroup",...m.tableKeyboardNavigationHeaderAttributes},e.headerRow,e.filterRow)))):t.createElement("thead",{role:"presentation",className:c.classNames(o.thead({draggable:e.draggable}),e.className),...m.tableKeyboardNavigationHeaderAttributes},e.headerRow,e.filterRow)};R.displayName="KendoReactHeader";exports.Header=R;
package/header/Header.mjs CHANGED
@@ -6,18 +6,18 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- import * as t from "react";
9
+ import * as r from "react";
10
10
  import { useRtl as g, useUnstyled as N, uGrid as E, classNames as c } from "@progress/kendo-react-common";
11
11
  import { tableKeyboardNavigationHeaderAttributes as m } from "@progress/kendo-react-data-tools";
12
12
  import { GridContext as v } from "../GridClientWrapper.mjs";
13
- const w = (e) => {
14
- const l = t.useRef(null), s = t.useRef(null), o = t.useRef(!1), r = t.useContext(v), R = g(r.headerElementRef);
15
- r.columnResizeRef.current && r.columnResizeRef.current.setIsRtl(R === "rtl"), t.useImperativeHandle(r.headerRef, () => ({
13
+ const y = (e) => {
14
+ const l = r.useRef(null), s = r.useRef(null), o = r.useRef(!1), t = r.useContext(v), R = g(t.headerElementRef);
15
+ t.columnResizeRef.current && t.columnResizeRef.current.setIsRtl(R === "rtl"), r.useImperativeHandle(t.headerRef, () => ({
16
16
  setScrollLeft: (a) => {
17
17
  l.current && l.current.scrollLeft !== a && (o.current = !0, l.current.scrollLeft = a);
18
18
  },
19
19
  setWidth: (a) => {
20
- s.current && (s.current.style.width = a + "px");
20
+ s.current && (s.current.style.width = a ? a + "px" : "");
21
21
  },
22
22
  table: () => s.current
23
23
  }));
@@ -29,17 +29,17 @@ const w = (e) => {
29
29
  }
30
30
  if (!l.current)
31
31
  return;
32
- const d = l.current.scrollLeft, i = ((f = r.vsRef.current) == null ? void 0 : f.container) || null;
32
+ const d = l.current.scrollLeft, i = ((f = t.vsRef.current) == null ? void 0 : f.container) || null;
33
33
  i && i.scrollLeft !== d && (i.scrollLeft = d);
34
34
  }, u = N(), n = u && u.uGrid ? u.uGrid : E, { size: b = "md" } = e;
35
- return e.staticHeaders ? /* @__PURE__ */ t.createElement(
35
+ return e.staticHeaders ? /* @__PURE__ */ r.createElement(
36
36
  "div",
37
37
  {
38
- ref: r.headerElementRef,
38
+ ref: t.headerElementRef,
39
39
  className: c(n.header({ draggable: e.draggable }), e.className),
40
40
  role: "presentation"
41
41
  },
42
- /* @__PURE__ */ t.createElement(
42
+ /* @__PURE__ */ r.createElement(
43
43
  "div",
44
44
  {
45
45
  ref: l,
@@ -47,23 +47,23 @@ const w = (e) => {
47
47
  onScroll: h,
48
48
  role: "presentation"
49
49
  },
50
- /* @__PURE__ */ t.createElement(
50
+ /* @__PURE__ */ r.createElement(
51
51
  "table",
52
52
  {
53
53
  ref: s,
54
54
  className: c(n.headerTable({ size: b }), e.className),
55
55
  role: "presentation"
56
56
  },
57
- /* @__PURE__ */ t.createElement(
57
+ /* @__PURE__ */ r.createElement(
58
58
  "colgroup",
59
59
  {
60
60
  ref: (a) => {
61
- r.columnResizeRef.current && (r.columnResizeRef.current.colGroupHeader = a);
61
+ t.columnResizeRef.current && (t.columnResizeRef.current.colGroupHeader = a);
62
62
  }
63
63
  },
64
64
  e.cols
65
65
  ),
66
- /* @__PURE__ */ t.createElement(
66
+ /* @__PURE__ */ r.createElement(
67
67
  "thead",
68
68
  {
69
69
  className: c(n.tableThead({})),
@@ -75,7 +75,7 @@ const w = (e) => {
75
75
  )
76
76
  )
77
77
  )
78
- ) : /* @__PURE__ */ t.createElement(
78
+ ) : /* @__PURE__ */ r.createElement(
79
79
  "thead",
80
80
  {
81
81
  role: "presentation",
@@ -86,7 +86,7 @@ const w = (e) => {
86
86
  e.filterRow
87
87
  );
88
88
  };
89
- w.displayName = "KendoReactHeader";
89
+ y.displayName = "KendoReactHeader";
90
90
  export {
91
- w as Header
91
+ y as Header
92
92
  };
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-react-grid",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1741611482,version:"10.0.0-develop.5",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};exports.packageMetadata=e;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-react-grid",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1741855541,version:"10.1.0-develop.1",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};exports.packageMetadata=e;
@@ -10,8 +10,8 @@ const e = {
10
10
  productName: "KendoReact",
11
11
  productCode: "KENDOUIREACT",
12
12
  productCodes: ["KENDOUIREACT"],
13
- publishDate: 1741611482,
14
- version: "10.0.0-develop.5",
13
+ publishDate: 1741855541,
14
+ version: "10.1.0-develop.1",
15
15
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
16
16
  };
17
17
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-grid",
3
- "version": "10.0.0-develop.5",
3
+ "version": "10.1.0-develop.1",
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",
@@ -27,18 +27,18 @@
27
27
  "peerDependencies": {
28
28
  "@progress/kendo-data-query": "^1.0.0",
29
29
  "@progress/kendo-drawing": "^1.21.2",
30
- "@progress/kendo-licensing": "^1.5.0",
31
- "@progress/kendo-react-animation": "10.0.0-develop.5",
32
- "@progress/kendo-react-buttons": "10.0.0-develop.5",
33
- "@progress/kendo-react-common": "10.0.0-develop.5",
34
- "@progress/kendo-react-data-tools": "10.0.0-develop.5",
35
- "@progress/kendo-react-dateinputs": "10.0.0-develop.5",
36
- "@progress/kendo-react-indicators": "10.0.0-develop.5",
37
- "@progress/kendo-react-dropdowns": "10.0.0-develop.5",
38
- "@progress/kendo-react-inputs": "10.0.0-develop.5",
39
- "@progress/kendo-react-intl": "10.0.0-develop.5",
40
- "@progress/kendo-react-popup": "10.0.0-develop.5",
41
- "@progress/kendo-react-layout": "10.0.0-develop.5",
30
+ "@progress/kendo-licensing": "^1.5.1",
31
+ "@progress/kendo-react-animation": "10.1.0-develop.1",
32
+ "@progress/kendo-react-buttons": "10.1.0-develop.1",
33
+ "@progress/kendo-react-common": "10.1.0-develop.1",
34
+ "@progress/kendo-react-data-tools": "10.1.0-develop.1",
35
+ "@progress/kendo-react-dateinputs": "10.1.0-develop.1",
36
+ "@progress/kendo-react-indicators": "10.1.0-develop.1",
37
+ "@progress/kendo-react-dropdowns": "10.1.0-develop.1",
38
+ "@progress/kendo-react-inputs": "10.1.0-develop.1",
39
+ "@progress/kendo-react-intl": "10.1.0-develop.1",
40
+ "@progress/kendo-react-popup": "10.1.0-develop.1",
41
+ "@progress/kendo-react-layout": "10.1.0-develop.1",
42
42
  "@progress/kendo-svg-icons": "^4.0.0",
43
43
  "react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
44
44
  "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
@@ -84,7 +84,7 @@
84
84
  "package": {
85
85
  "productName": "KendoReact",
86
86
  "productCode": "KENDOUIREACT",
87
- "publishDate": 1741611482,
87
+ "publishDate": 1741855541,
88
88
  "licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
89
89
  }
90
90
  },