@syncfusion/ej2-navigations 28.2.4 → 28.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 : 28.2.4
3
+ * version : 28.2.5
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,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-navigations@*",
3
- "_id": "@syncfusion/ej2-navigations@28.2.3",
3
+ "_id": "@syncfusion/ej2-navigations@28.2.4",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-DlOI7XKufanYlLqqzordpatE6lwT6UvhhRjffBMPMgNbvnnfOgp+J53kn21jIVrmaGvHF21Yasve3lJq8YjnHg==",
5
+ "_integrity": "sha512-AKvTyY3in+EMengMf8P8Hj0m6AOjc32uFLUp9WhgKoKNzd/MzTTv6Y2Vjd9FC4ws1aJPRg45effz9nUquLlAcw==",
6
6
  "_location": "/@syncfusion/ej2-navigations",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -40,8 +40,8 @@
40
40
  "/@syncfusion/ej2-spreadsheet",
41
41
  "/@syncfusion/ej2-vue-navigations"
42
42
  ],
43
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-28.2.3.tgz",
44
- "_shasum": "6d5d9f14d88dc9aa2010700a6b1175c2cc2eec76",
43
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-28.2.4.tgz",
44
+ "_shasum": "0da922773b22bbbd212ba4c68c35cfb4fe0c27ad",
45
45
  "_spec": "@syncfusion/ej2-navigations@*",
46
46
  "_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included",
47
47
  "author": {
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "bundleDependencies": false,
54
54
  "dependencies": {
55
- "@syncfusion/ej2-base": "~28.2.3",
55
+ "@syncfusion/ej2-base": "~28.2.5",
56
56
  "@syncfusion/ej2-buttons": "~28.2.3",
57
57
  "@syncfusion/ej2-data": "~28.2.3",
58
58
  "@syncfusion/ej2-inputs": "~28.2.3",
@@ -162,6 +162,6 @@
162
162
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
163
163
  },
164
164
  "typings": "index.d.ts",
165
- "version": "28.2.4",
165
+ "version": "28.2.5",
166
166
  "sideEffects": false
167
167
  }
package/src/tab/tab.js CHANGED
@@ -1011,9 +1011,6 @@ var Tab = /** @class */ (function (_super) {
1011
1011
  }
1012
1012
  }
1013
1013
  }
1014
- if (this.prevIndex !== this.selectedItem) {
1015
- ele.classList.remove(CLS_ACTIVE);
1016
- }
1017
1014
  };
1018
1015
  Tab.prototype.loadContentElement = function () {
1019
1016
  if (!this.isTemplate) {
@@ -1077,6 +1074,9 @@ var Tab = /** @class */ (function (_super) {
1077
1074
  this.getContent(ele, this.items[0].content, 'render', 0);
1078
1075
  }
1079
1076
  this.loadContentInitMode(ele);
1077
+ if (this.prevIndex !== this.selectedItem) {
1078
+ ele.classList.remove(CLS_ACTIVE);
1079
+ }
1080
1080
  }
1081
1081
  setStyle(this.cntEle, { 'height': this.maxHeight + 'px' });
1082
1082
  }
@@ -1944,6 +1944,9 @@ var TreeView = /** @class */ (function (_super) {
1944
1944
  ul.style.visibility = '';
1945
1945
  };
1946
1946
  TreeView.prototype.animateHeight = function (args, start, end) {
1947
+ if (isNullOrUndefined(args.element.parentElement)) {
1948
+ return;
1949
+ }
1947
1950
  var remaining = (args.duration - args.timeStamp) / args.duration;
1948
1951
  var currentHeight = (end - start) * remaining + start;
1949
1952
  args.element.parentElement.style.height = currentHeight + 'px';
@@ -5031,9 +5034,11 @@ var TreeView = /** @class */ (function (_super) {
5031
5034
  this.updateWrap();
5032
5035
  break;
5033
5036
  case 'checkedNodes':
5034
- if (this.showCheckBox) {
5035
- this.checkedNodes = oldProp.checkedNodes;
5036
- this.setCheckedNodes(newProp.checkedNodes);
5037
+ if (JSON.stringify(oldProp.checkedNodes) !== JSON.stringify(newProp.checkedNodes)) {
5038
+ if (this.showCheckBox) {
5039
+ this.checkedNodes = oldProp.checkedNodes;
5040
+ this.setCheckedNodes(newProp.checkedNodes);
5041
+ }
5037
5042
  }
5038
5043
  break;
5039
5044
  case 'autoCheck':
@@ -1923,6 +1923,10 @@
1923
1923
  -webkit-box-shadow: 0 0 0 4px rgba(var(--color-sf-secondary-shadow), 0.5);
1924
1924
  box-shadow: 0 0 0 4px rgba(var(--color-sf-secondary-shadow), 0.5);
1925
1925
  }
1926
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:focus .e-tbar-btn-text,
1927
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:focus .e-icons.e-btn-icon {
1928
+ color: var(--color-sf-icon-color);
1929
+ }
1926
1930
  .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:hover {
1927
1931
  background: var(--color-sf-secondary-bg-color-hover);
1928
1932
  border-radius: 4px;
@@ -1930,6 +1934,10 @@
1930
1934
  border-style: solid;
1931
1935
  border-width: 0;
1932
1936
  }
1937
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:hover .e-tbar-btn-text,
1938
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:hover .e-icons.e-btn-icon {
1939
+ color: var(--color-sf-primary-text-color);
1940
+ }
1933
1941
  .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:active {
1934
1942
  background: var(--color-sf-secondary-bg-color-pressed);
1935
1943
  border-radius: 4px;
@@ -2198,6 +2198,10 @@
2198
2198
  -webkit-box-shadow: 0 0 0 4px rgba(var(--color-sf-secondary-shadow), 0.5);
2199
2199
  box-shadow: 0 0 0 4px rgba(var(--color-sf-secondary-shadow), 0.5);
2200
2200
  }
2201
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:focus .e-tbar-btn-text,
2202
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:focus .e-icons.e-btn-icon {
2203
+ color: var(--color-sf-icon-color);
2204
+ }
2201
2205
  .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:hover {
2202
2206
  background: var(--color-sf-secondary-bg-color-hover);
2203
2207
  border-radius: 4px;
@@ -2205,6 +2209,10 @@
2205
2209
  border-style: solid;
2206
2210
  border-width: 0;
2207
2211
  }
2212
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:hover .e-tbar-btn-text,
2213
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:hover .e-icons.e-btn-icon {
2214
+ color: var(--color-sf-primary-text-color);
2215
+ }
2208
2216
  .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:active {
2209
2217
  background: var(--color-sf-secondary-bg-color-pressed);
2210
2218
  border-radius: 4px;
@@ -369,6 +369,12 @@
369
369
  @else {
370
370
  box-shadow: $tbar-ext-btn-focus-box-shadow;
371
371
  }
372
+ @if $skin-name == 'bootstrap5.3' {
373
+ .e-tbar-btn-text,
374
+ .e-icons.e-btn-icon {
375
+ color: $tbar-default-icon-color;
376
+ }
377
+ }
372
378
  }
373
379
 
374
380
  @if ($skin-name == 'fluent2' or $skin-name == 'tailwind3') {
@@ -392,6 +398,13 @@
392
398
  border-color: $tbar-ext-btn-hover-border-color;
393
399
  border-style: $tbar-border-nav-type;
394
400
  border-width: $tbar-btn-hover-border-size;
401
+
402
+ @if $skin-name == 'bootstrap5.3' {
403
+ .e-tbar-btn-text,
404
+ .e-icons.e-btn-icon {
405
+ color: $tbar-btn-text-focus-color;
406
+ }
407
+ }
395
408
  }
396
409
 
397
410
  &:active {
@@ -870,6 +870,10 @@
870
870
  -webkit-box-shadow: 0 0 0 4px rgba(var(--color-sf-secondary-shadow), 0.5);
871
871
  box-shadow: 0 0 0 4px rgba(var(--color-sf-secondary-shadow), 0.5);
872
872
  }
873
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:focus .e-tbar-btn-text,
874
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:focus .e-icons.e-btn-icon {
875
+ color: var(--color-sf-icon-color);
876
+ }
873
877
  .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:hover {
874
878
  background: var(--color-sf-secondary-bg-color-hover);
875
879
  border-radius: 4px;
@@ -877,6 +881,10 @@
877
881
  border-style: solid;
878
882
  border-width: 0;
879
883
  }
884
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:hover .e-tbar-btn-text,
885
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:hover .e-icons.e-btn-icon {
886
+ color: var(--color-sf-primary-text-color);
887
+ }
880
888
  .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:active {
881
889
  background: var(--color-sf-secondary-bg-color-pressed);
882
890
  border-radius: 4px;