@progress/kendo-react-data-tools 5.14.0-dev.202306011625 → 5.14.0-dev.202306020002

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.
@@ -7,7 +7,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
7
7
  }
8
8
  return to.concat(ar || Array.prototype.slice.call(from));
9
9
  };
10
- import { guid, Keys } from '@progress/kendo-react-common';
10
+ import { getActiveElement, guid, Keys } from '@progress/kendo-react-common';
11
11
  import { findId, findNextIdByCellIndex, findNextIdByRowIndex, getBodyElement, getHeaderElement, getNavigatableId, tableKeyboardNavigationTools as navigationTools } from './utils';
12
12
  /**
13
13
  * @hidden
@@ -50,7 +50,7 @@ var onComponentDidMount = function (options) {
50
50
  var onGetSnapshotBeforeUpdate = function (options) {
51
51
  var contextStateRef = options.contextStateRef, navigationStateRef = options.navigationStateRef, currentDocument = options.document;
52
52
  if (contextStateRef.current && navigationStateRef.current && currentDocument) {
53
- var activeElement = currentDocument.activeElement;
53
+ var activeElement = getActiveElement(currentDocument);
54
54
  var activeId = navigationTools.getNavigatableId(activeElement);
55
55
  if (activeId && activeId === contextStateRef.current.activeId) {
56
56
  navigationStateRef.current.activeElementIsFocused = true;
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-react-data-tools',
6
6
  productName: 'KendoReact',
7
7
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
8
- publishDate: 1685635199,
8
+ publishDate: 1685662384,
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
  };
@@ -53,7 +53,7 @@ var onComponentDidMount = function (options) {
53
53
  var onGetSnapshotBeforeUpdate = function (options) {
54
54
  var contextStateRef = options.contextStateRef, navigationStateRef = options.navigationStateRef, currentDocument = options.document;
55
55
  if (contextStateRef.current && navigationStateRef.current && currentDocument) {
56
- var activeElement = currentDocument.activeElement;
56
+ var activeElement = (0, kendo_react_common_1.getActiveElement)(currentDocument);
57
57
  var activeId = utils_1.tableKeyboardNavigationTools.getNavigatableId(activeElement);
58
58
  if (activeId && activeId === contextStateRef.current.activeId) {
59
59
  navigationStateRef.current.activeElementIsFocused = true;
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-react-data-tools',
9
9
  productName: 'KendoReact',
10
10
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
11
- publishDate: 1685635199,
11
+ publishDate: 1685662384,
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
  };