@syncfusion/ej2-navigations 30.1.39 → 30.1.41

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 : 30.1.39
3
+ * version : 30.1.41
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. 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,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-navigations",
3
- "version": "30.1.39",
3
+ "version": "30.1.41",
4
4
  "description": "A package of Essential JS 2 navigation components such as Tree-view, Tab, Toolbar, Context-menu, and Accordion which is used to navigate from one page to another",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -10,10 +10,10 @@
10
10
  "dependencies": {
11
11
  "@syncfusion/ej2-base": "~30.1.38",
12
12
  "@syncfusion/ej2-buttons": "~30.1.37",
13
- "@syncfusion/ej2-data": "~30.1.38",
14
- "@syncfusion/ej2-inputs": "~30.1.38",
15
- "@syncfusion/ej2-lists": "~30.1.37",
16
- "@syncfusion/ej2-popups": "~30.1.37"
13
+ "@syncfusion/ej2-data": "~30.1.40",
14
+ "@syncfusion/ej2-inputs": "~30.1.40",
15
+ "@syncfusion/ej2-lists": "~30.1.41",
16
+ "@syncfusion/ej2-popups": "~30.1.40"
17
17
  },
18
18
  "devDependencies": {},
19
19
  "keywords": [
@@ -652,10 +652,10 @@ var Breadcrumb = /** @class */ (function (_super) {
652
652
  for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {
653
653
  var prop = _a[_i];
654
654
  switch (prop) {
655
- case 'items':
656
655
  case 'enableActiveItemNavigation':
657
656
  this.reRenderItems();
658
657
  break;
658
+ case 'items':
659
659
  case 'activeItem':
660
660
  this._maxItems = this.maxItems;
661
661
  this.initPvtProps();
@@ -2068,6 +2068,13 @@ var MenuBase = /** @class */ (function (_super) {
2068
2068
  MenuBase.prototype.toggleAnimation = function (ul, isMenuOpen) {
2069
2069
  var _this = this;
2070
2070
  if (isMenuOpen === void 0) { isMenuOpen = true; }
2071
+ var menuWrapper = this.getWrapper();
2072
+ if (menuWrapper) {
2073
+ var activeMenuElements = menuWrapper.querySelectorAll('.e-menu-parent');
2074
+ activeMenuElements.forEach(function (menuElement) {
2075
+ Animation.stop(menuElement);
2076
+ });
2077
+ }
2071
2078
  var pUlHeight;
2072
2079
  var pElement;
2073
2080
  var animateElement = (this.enableScrolling && !this.isMenu && closest(ul, '.e-menu-vscroll'))
package/src/tab/tab.js CHANGED
@@ -643,7 +643,10 @@ var Tab = /** @class */ (function (_super) {
643
643
  this.actEleId = target.id;
644
644
  if (this.checkPopupOverflow(lastChild)) {
645
645
  var prevEle = this.tbItems.lastChild.previousElementSibling;
646
- this.checkPopupOverflow(prevEle);
646
+ prevEle = (prevEle && prevEle.classList.contains(CLS_INDICATOR) ? prevEle.previousElementSibling : prevEle);
647
+ if (prevEle) {
648
+ this.checkPopupOverflow(prevEle);
649
+ }
647
650
  }
648
651
  this.isPopup = true;
649
652
  }
@@ -325,11 +325,15 @@ var Toolbar = /** @class */ (function (_super) {
325
325
  }
326
326
  if (this.tbarAlign) {
327
327
  var tbarItems = this.element.querySelector('.' + CLS_ITEMS);
328
- [].slice.call(tbarItems.children).forEach(function (el) {
329
- detach(el);
330
- });
328
+ if (tbarItems) {
329
+ if (tbarItems.children) {
330
+ [].slice.call(tbarItems.children).forEach(function (el) {
331
+ detach(el);
332
+ });
333
+ }
334
+ this.remove(tbarItems, CLS_TBARPOS);
335
+ }
331
336
  this.tbarAlign = false;
332
- this.remove(tbarItems, CLS_TBARPOS);
333
337
  }
334
338
  this.clearProperty();
335
339
  };