@syncfusion/ej2-navigations 33.1.45 → 33.1.46

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 : 33.1.45
3
+ * version : 33.1.46
4
4
  * Copyright Syncfusion Inc. 2001 - 2025. 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": "33.1.45",
3
+ "version": "33.1.46",
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",
package/src/tab/tab.js CHANGED
@@ -1540,12 +1540,20 @@ var Tab = /** @class */ (function (_super) {
1540
1540
  }
1541
1541
  if (properties[j] === 'cssClass') {
1542
1542
  if (!isNOU(hdrItem)) {
1543
- hdrItem.classList.remove(oldVal);
1544
- hdrItem.classList.add(newVal);
1543
+ if (!isNOU(oldVal) && oldVal !== '') {
1544
+ hdrItem.classList.remove(oldVal);
1545
+ }
1546
+ if (!isNOU(newVal) && newVal !== '') {
1547
+ hdrItem.classList.add(newVal);
1548
+ }
1545
1549
  }
1546
1550
  if (!isNOU(cntItem)) {
1547
- cntItem.classList.remove(oldVal);
1548
- cntItem.classList.add(newVal);
1551
+ if (!isNOU(oldVal) && oldVal !== '') {
1552
+ cntItem.classList.remove(oldVal);
1553
+ }
1554
+ if (!isNOU(newVal) && newVal !== '') {
1555
+ cntItem.classList.add(newVal);
1556
+ }
1549
1557
  }
1550
1558
  }
1551
1559
  if (properties[j] === 'disabled') {