@syncfusion/ej2-navigations 20.1.57 → 20.1.58

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 : 20.1.57
3
+ * version : 20.1.58
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@20.1.56",
3
+ "_id": "@syncfusion/ej2-navigations@20.1.57",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-RoT6jp8SVHDyaxDIiLaHFtWCg4vw2jvFabVjLMEY9NJntyCa3QHiaRO5YOdJtk0t76SgKnEEbD31PtVfc4cxng==",
5
+ "_integrity": "sha512-Bhf/dof5zmFSvsr6bSuHKY6mp9OFKixVx0pGXiyyeP6Oo12jIIiQ0HwSTYm4FNW4+J64GohvGelIGMKb2jvL0A==",
6
6
  "_location": "/@syncfusion/ej2-navigations",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -37,8 +37,8 @@
37
37
  "/@syncfusion/ej2-spreadsheet",
38
38
  "/@syncfusion/ej2-vue-navigations"
39
39
  ],
40
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-20.1.56.tgz",
41
- "_shasum": "314197808a4448457fd00f841b898d81a4d394d0",
40
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-20.1.57.tgz",
41
+ "_shasum": "0969aed7da8a53b76ef197b40a0756d8df5d6fdf",
42
42
  "_spec": "@syncfusion/ej2-navigations@*",
43
43
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
44
44
  "author": {
@@ -49,12 +49,12 @@
49
49
  },
50
50
  "bundleDependencies": false,
51
51
  "dependencies": {
52
- "@syncfusion/ej2-base": "~20.1.56",
52
+ "@syncfusion/ej2-base": "~20.1.57",
53
53
  "@syncfusion/ej2-buttons": "~20.1.55",
54
54
  "@syncfusion/ej2-data": "~20.1.55",
55
- "@syncfusion/ej2-inputs": "~20.1.55",
55
+ "@syncfusion/ej2-inputs": "~20.1.58",
56
56
  "@syncfusion/ej2-lists": "~20.1.55",
57
- "@syncfusion/ej2-popups": "~20.1.57"
57
+ "@syncfusion/ej2-popups": "~20.1.58"
58
58
  },
59
59
  "deprecated": false,
60
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",
@@ -159,6 +159,6 @@
159
159
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
160
160
  },
161
161
  "typings": "index.d.ts",
162
- "version": "20.1.57",
162
+ "version": "20.1.58",
163
163
  "sideEffects": false
164
164
  }
package/src/tab/tab.js CHANGED
@@ -219,7 +219,7 @@ var Tab = /** @class */ (function (_super) {
219
219
  this.tbObj = null;
220
220
  }
221
221
  this.unWireEvents();
222
- ['role', 'aria-disabled', 'aria-activedescendant', 'tabindex', 'aria-orientation'].forEach(function (val) {
222
+ ['role', 'aria-disabled', 'aria-activedescendant', 'tabindex', 'aria-orientation', 'aria-owns'].forEach(function (val) {
223
223
  _this.element.removeAttribute(val);
224
224
  });
225
225
  this.expTemplateContent();
@@ -300,7 +300,7 @@ var Tab = /** @class */ (function (_super) {
300
300
  var css = (name === 'msie') ? 'e-ie' : (name === 'edge') ? 'e-edge' : (name === 'safari') ? 'e-safari' : '';
301
301
  setStyle(this.element, { 'width': formatUnit(this.width), 'height': formatUnit(this.height) });
302
302
  this.setCssClass(this.element, this.cssClass, true);
303
- attributes(this.element, { role: 'tablist', 'aria-disabled': 'false', 'aria-activedescendant': '' });
303
+ attributes(this.element, { role: 'tablist', 'aria-disabled': 'false', 'aria-activedescendant': '', 'aria-owns': this.element.id + '_' + 'tab_header_items' });
304
304
  this.setCssClass(this.element, css, true);
305
305
  this.updatePopAnimationConfig();
306
306
  };
@@ -485,6 +485,10 @@ var Tab = /** @class */ (function (_super) {
485
485
  attributes(this.hdrEle, { 'aria-label': 'tab-header' });
486
486
  this.updateOrientationAttribute();
487
487
  this.setCloseButton(this.showCloseButton);
488
+ var toolbarHeader = this.tbObj.element.querySelector('.' + CLS_TB_ITEMS);
489
+ if (!isNOU(toolbarHeader)) {
490
+ toolbarHeader.id = this.element.id + '_' + 'tab_header_items';
491
+ }
488
492
  };
489
493
  Tab.prototype.renderContent = function () {
490
494
  this.cntEle = select('.' + CLS_CONTENT, this.element);
@@ -6625,7 +6625,7 @@
6625
6625
  .e-treeview .e-icon-expandable {
6626
6626
  display: inline-block;
6627
6627
  height: 20px;
6628
- margin: 0 0 0 -20px;
6628
+ margin: 0 2px 0 -24px;
6629
6629
  vertical-align: middle;
6630
6630
  width: 20px;
6631
6631
  }
@@ -6625,7 +6625,7 @@
6625
6625
  .e-treeview .e-icon-expandable {
6626
6626
  display: inline-block;
6627
6627
  height: 20px;
6628
- margin: 0 0 0 -20px;
6628
+ margin: 0 2px 0 -24px;
6629
6629
  vertical-align: middle;
6630
6630
  width: 20px;
6631
6631
  }
@@ -13,7 +13,7 @@ $treeview-rtl-child-ul-padding: 0 20px 0 0 !default;
13
13
  $treeview-text-wrap-padding: 0 0 0 20px !default;
14
14
  $treeview-rtl-text-wrap-padding: 0 20px 0 0 !default;
15
15
  $treeview-icon-size: 20px !default;
16
- $treeview-icon-margin: 0 0 0 -20px !default;
16
+ $treeview-icon-margin: 0 2px 0 -24px !default;
17
17
  $treeview-rtl-icon-margin: 0 -20px 0 0 !default;
18
18
  $treeview-icon-padding: 0px !default;
19
19
  $treeview-text-padding: 0 8px !default;
@@ -443,7 +443,7 @@
443
443
  .e-treeview .e-icon-expandable {
444
444
  display: inline-block;
445
445
  height: 20px;
446
- margin: 0 0 0 -20px;
446
+ margin: 0 2px 0 -24px;
447
447
  vertical-align: middle;
448
448
  width: 20px;
449
449
  }
@@ -443,7 +443,7 @@
443
443
  .e-treeview .e-icon-expandable {
444
444
  display: inline-block;
445
445
  height: 20px;
446
- margin: 0 0 0 -20px;
446
+ margin: 0 2px 0 -24px;
447
447
  vertical-align: middle;
448
448
  width: 20px;
449
449
  }