@syncfusion/ej2-navigations 19.4.40 → 19.4.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 : 19.4.40
3
+ * version : 19.4.41
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. 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@19.4.38",
3
+ "_id": "@syncfusion/ej2-navigations@19.4.40",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-V1MWh85d2OGxWxp8RoXCR/YWybolm9vsDEQi8xDwE51CHbHTbVtttMpk5HKp0rm/Th2cCGD0wE7D/PKTQlTC1Q==",
5
+ "_integrity": "sha512-hOPxCHbaKERNADouhs5YGLUEk7R4H+9yxr1CEKcxNZtbssNw1af7wMLyNm1MGzhMmk834ufMcBwFS/AKr83d4g==",
6
6
  "_location": "/@syncfusion/ej2-navigations",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -24,6 +24,7 @@
24
24
  "/@syncfusion/ej2-diagrams",
25
25
  "/@syncfusion/ej2-documenteditor",
26
26
  "/@syncfusion/ej2-dropdowns",
27
+ "/@syncfusion/ej2-filemanager",
27
28
  "/@syncfusion/ej2-gantt",
28
29
  "/@syncfusion/ej2-grids",
29
30
  "/@syncfusion/ej2-inplace-editor",
@@ -36,8 +37,8 @@
36
37
  "/@syncfusion/ej2-spreadsheet",
37
38
  "/@syncfusion/ej2-vue-navigations"
38
39
  ],
39
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-19.4.38.tgz",
40
- "_shasum": "7fa223bf7f8cfb9b9bd16719c61286e3452a7dbe",
40
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-19.4.40.tgz",
41
+ "_shasum": "d5242c70121ecc9868ddc98155fdacfa085a5a65",
41
42
  "_spec": "@syncfusion/ej2-navigations@*",
42
43
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
43
44
  "author": {
@@ -51,9 +52,9 @@
51
52
  "@syncfusion/ej2-base": "~19.4.38",
52
53
  "@syncfusion/ej2-buttons": "~19.4.38",
53
54
  "@syncfusion/ej2-data": "~19.4.38",
54
- "@syncfusion/ej2-inputs": "~19.4.38",
55
+ "@syncfusion/ej2-inputs": "~19.4.41",
55
56
  "@syncfusion/ej2-lists": "~19.4.38",
56
- "@syncfusion/ej2-popups": "~19.4.38"
57
+ "@syncfusion/ej2-popups": "~19.4.41"
57
58
  },
58
59
  "deprecated": false,
59
60
  "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",
@@ -158,6 +159,6 @@
158
159
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
159
160
  },
160
161
  "typings": "index.d.ts",
161
- "version": "19.4.40",
162
+ "version": "19.4.41",
162
163
  "sideEffects": false
163
164
  }
package/src/tab/tab.d.ts CHANGED
@@ -550,7 +550,13 @@ export declare class Tab extends Component<HTMLElement> implements INotifyProper
550
550
  private swipeHandler;
551
551
  private spaceKeyDown;
552
552
  private keyHandler;
553
- private refreshActElePosition;
553
+ /**
554
+ * Refresh the active tab border
555
+ *
556
+ * @returns {void}
557
+ * @private
558
+ */
559
+ refreshActiveTabBorder(): void;
554
560
  private refreshItemVisibility;
555
561
  private hoverHandler;
556
562
  private evalOnPropertyChangeItems;
package/src/tab/tab.js CHANGED
@@ -186,7 +186,7 @@ var Tab = /** @class */ (function (_super) {
186
186
  _this.isAdd = false;
187
187
  _this.isIconAlone = false;
188
188
  _this.draggableItems = [];
189
- _this.resizeContext = _this.refreshActElePosition.bind(_this);
189
+ _this.resizeContext = _this.refreshActiveTabBorder.bind(_this);
190
190
  /**
191
191
  * Contains the keyboard configuration of the Tab.
192
192
  */
@@ -640,7 +640,7 @@ var Tab = /** @class */ (function (_super) {
640
640
  trg.classList.remove(CLS_CLOSE_SHOW);
641
641
  }
642
642
  this.tbObj.refreshOverflow();
643
- this.refreshActElePosition();
643
+ this.refreshActiveTabBorder();
644
644
  };
645
645
  Tab.prototype.prevCtnAnimation = function (prev, current) {
646
646
  var animation;
@@ -1356,7 +1356,13 @@ var Tab = /** @class */ (function (_super) {
1356
1356
  break;
1357
1357
  }
1358
1358
  };
1359
- Tab.prototype.refreshActElePosition = function () {
1359
+ /**
1360
+ * Refresh the active tab border
1361
+ *
1362
+ * @returns {void}
1363
+ * @private
1364
+ */
1365
+ Tab.prototype.refreshActiveTabBorder = function () {
1360
1366
  var activeEle = select('.' + CLS_TB_ITEM + '.' + CLS_TB_POPUP + '.' + CLS_ACTIVE, this.element);
1361
1367
  if (!isNOU(activeEle) && this.reorderActiveTab) {
1362
1368
  this.select(this.getEleIndex(activeEle));
@@ -2108,7 +2114,7 @@ var Tab = /** @class */ (function (_super) {
2108
2114
  this.setCloseButton(newProp.showCloseButton);
2109
2115
  break;
2110
2116
  case 'reorderActiveTab':
2111
- this.refreshActElePosition();
2117
+ this.refreshActiveTabBorder();
2112
2118
  break;
2113
2119
  case 'selectedItem':
2114
2120
  this.selectedItem = oldProp.selectedItem;
@@ -2123,7 +2129,7 @@ var Tab = /** @class */ (function (_super) {
2123
2129
  case 'overflowMode':
2124
2130
  this.tbObj.overflowMode = newProp.overflowMode;
2125
2131
  this.tbObj.dataBind();
2126
- this.refreshActElePosition();
2132
+ this.refreshActiveTabBorder();
2127
2133
  break;
2128
2134
  case 'heightAdjustMode':
2129
2135
  this.setContentHeight(false);