@syncfusion/ej2-navigations 23.2.4 → 23.2.5

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 23.2.4
3
+ * version : 23.2.5
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-navigations@*",
3
- "_id": "@syncfusion/ej2-navigations@23.1.44",
3
+ "_id": "@syncfusion/ej2-navigations@23.2.4",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-EWk2D6NQp8OSJte6t3tvwcQo8+F26Wkr18YaKpRpILZZwYm1YUCq3tJpCVYqc9SoHte68Yr6ldhQ6WJlNxZ0eQ==",
5
+ "_integrity": "sha512-/lcIGigtoogO3gjNR2HN9S5xXiCmQ7ko/L5oA/s/TcRmqR96vUfL8xEPe+PxlHa4ZyJ4/Y5YftWHzOXV4puIiA==",
6
6
  "_location": "/@syncfusion/ej2-navigations",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -39,8 +39,8 @@
39
39
  "/@syncfusion/ej2-spreadsheet",
40
40
  "/@syncfusion/ej2-vue-navigations"
41
41
  ],
42
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-23.1.44.tgz",
43
- "_shasum": "c82b651ae4aafda94f3ccbb133632dc8b90d025c",
42
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-23.2.4.tgz",
43
+ "_shasum": "73768a985e749e2953e6d2df3bd99c79ebc6144d",
44
44
  "_spec": "@syncfusion/ej2-navigations@*",
45
45
  "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
46
46
  "author": {
@@ -161,6 +161,6 @@
161
161
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
162
162
  },
163
163
  "typings": "index.d.ts",
164
- "version": "23.2.4",
164
+ "version": "23.2.5",
165
165
  "sideEffects": false
166
166
  }
@@ -289,7 +289,7 @@ var Sidebar = /** @class */ (function (_super) {
289
289
  };
290
290
  this.trigger('open', openArguments, function (observedopenArgs) {
291
291
  if (!observedopenArgs.cancel) {
292
- removeClass([_this.element], VISIBILITY);
292
+ removeClass([_this.element], [VISIBILITY, DISABLEANIMATION]);
293
293
  if (_this.element.classList.contains(OPEN)) {
294
294
  return;
295
295
  }
@@ -1892,6 +1892,11 @@ var Toolbar = /** @class */ (function (_super) {
1892
1892
  eleObj.appendTo(ele);
1893
1893
  }
1894
1894
  this.add(innerEle, CLS_TEMPLATE);
1895
+ var firstChild = innerEle.firstElementChild;
1896
+ if (!isNOU(firstChild)) {
1897
+ firstChild.setAttribute('tabindex', isNOU(firstChild.getAttribute("tabIndex")) ? '-1' : this.getDataTabindex(firstChild));
1898
+ firstChild.setAttribute('data-tabindex', isNOU(firstChild.getAttribute("tabIndex")) ? '-1' : this.getDataTabindex(firstChild));
1899
+ }
1895
1900
  this.tbarEle.push(innerEle);
1896
1901
  };
1897
1902
  Toolbar.prototype.buttonRendering = function (item, innerEle) {
@@ -2016,12 +2021,7 @@ var Toolbar = /** @class */ (function (_super) {
2016
2021
  };
2017
2022
  Toolbar.prototype.activeEleRemove = function (curEle) {
2018
2023
  if (!isNOU(this.activeEle)) {
2019
- if (!curEle.parentElement.classList.contains(CLS_TEMPLATE)) {
2020
- this.activeEle.setAttribute('tabindex', this.getDataTabindex(this.activeEle));
2021
- }
2022
- else {
2023
- this.activeEle.removeAttribute('tabindex');
2024
- }
2024
+ this.activeEle.setAttribute('tabindex', this.getDataTabindex(this.activeEle));
2025
2025
  }
2026
2026
  this.activeEle = curEle;
2027
2027
  if (this.getDataTabindex(this.activeEle) === '-1') {
@@ -2030,7 +2030,8 @@ var Toolbar = /** @class */ (function (_super) {
2030
2030
  curEle.removeAttribute('tabindex');
2031
2031
  }
2032
2032
  else {
2033
- this.activeEle.setAttribute('tabindex', this.getDataTabindex(this.activeEle));
2033
+ var tabIndex = parseInt(this.getDataTabindex(this.activeEle)) + 1;
2034
+ this.activeEle.setAttribute('tabindex', tabIndex.toString());
2034
2035
  }
2035
2036
  }
2036
2037
  };