@syncfusion/ej2-navigations 19.4.52 → 19.4.53

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.52
3
+ * version : 19.4.53
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.50",
3
+ "_id": "@syncfusion/ej2-navigations@19.4.52",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-ovKpaTomhhXwYH6+AG6OFfWI74izUytHxYX9nOrrEil/m0RdAG4rwdICK2kPOEWknVIXlHMkXPik2HHy/S7a6w==",
5
+ "_integrity": "sha512-OFH1AKtgSVR/UGQomoPdvNv4xSknPloObFC3YZGdeOTQ56u56dvB2bMkbAMIgIKnLK4kU404masJQyYjRnQbjw==",
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-19.4.50.tgz",
41
- "_shasum": "1233bc2665096e8ff1b03cddc128e3149b0b9639",
40
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-19.4.52.tgz",
41
+ "_shasum": "d6090c61715e41256a1ecec3b50c03b36178825a",
42
42
  "_spec": "@syncfusion/ej2-navigations@*",
43
43
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
44
44
  "author": {
@@ -50,11 +50,11 @@
50
50
  "bundleDependencies": false,
51
51
  "dependencies": {
52
52
  "@syncfusion/ej2-base": "~19.4.52",
53
- "@syncfusion/ej2-buttons": "~19.4.52",
53
+ "@syncfusion/ej2-buttons": "~19.4.53",
54
54
  "@syncfusion/ej2-data": "~19.4.52",
55
55
  "@syncfusion/ej2-inputs": "~19.4.52",
56
56
  "@syncfusion/ej2-lists": "~19.4.52",
57
- "@syncfusion/ej2-popups": "~19.4.52"
57
+ "@syncfusion/ej2-popups": "~19.4.53"
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": "19.4.52",
162
+ "version": "19.4.53",
163
163
  "sideEffects": false
164
164
  }
@@ -551,7 +551,7 @@ var Accordion = /** @class */ (function (_super) {
551
551
  var header = this.createElement('div', { className: CLS_HEADER, id: getUniqueID('acrdn_header') });
552
552
  var items = this.getItems();
553
553
  var ariaAttr = {
554
- 'tabindex': '0', 'role': 'heading', 'aria-selected': 'false', 'aria-label': 'collapsed',
554
+ 'tabindex': '0', 'role': 'heading', 'aria-label': 'collapsed',
555
555
  'aria-disabled': 'false', 'aria-level': items.length.toString()
556
556
  };
557
557
  attributes(header, ariaAttr);
@@ -805,7 +805,7 @@ var Accordion = /** @class */ (function (_super) {
805
805
  this.add(trgtItemEle, CLS_ACTIVE);
806
806
  trgt.setAttribute('aria-hidden', 'false');
807
807
  attributes(trgtItemEle, { 'aria-expanded': 'true' });
808
- attributes(trgt.previousElementSibling, { 'aria-selected': 'true', 'aria-label': 'expanded' });
808
+ attributes(trgt.previousElementSibling, { 'aria-label': 'expanded' });
809
809
  icon.classList.remove(CLS_TOGANIMATE);
810
810
  this.trigger('expanded', eventArgs);
811
811
  }
@@ -922,7 +922,7 @@ var Accordion = /** @class */ (function (_super) {
922
922
  this.remove(trgtItemEle, CLS_ACTIVE);
923
923
  trgt.setAttribute('aria-hidden', 'true');
924
924
  attributes(trgtItemEle, { 'aria-expanded': 'false' });
925
- attributes(trgt.previousElementSibling, { 'aria-selected': 'false', 'aria-label': 'collapsed' });
925
+ attributes(trgt.previousElementSibling, { 'aria-label': 'collapsed' });
926
926
  this.trigger('expanded', eventArgs);
927
927
  }
928
928
  };
@@ -31,6 +31,7 @@ export declare class Sidebar extends Component<HTMLElement> implements INotifyPr
31
31
  protected tabIndex: string;
32
32
  private windowWidth;
33
33
  private targetEle;
34
+ private firstRender;
34
35
  /**
35
36
  * Specifies the size of the Sidebar in dock state.
36
37
  * > For more details about dockSize refer to
@@ -77,6 +77,7 @@ var Sidebar = /** @class */ (function (_super) {
77
77
  }
78
78
  if (this.isOpen) {
79
79
  this.show();
80
+ this.firstRender = true;
80
81
  }
81
82
  else {
82
83
  this.setMediaQuery();
@@ -187,9 +188,10 @@ var Sidebar = /** @class */ (function (_super) {
187
188
  };
188
189
  Sidebar.prototype.transitionEnd = function (e) {
189
190
  this.setDock();
190
- if (!isNullOrUndefined(e)) {
191
+ if (!isNullOrUndefined(e) && !this.firstRender) {
191
192
  this.triggerChange();
192
193
  }
194
+ this.firstRender = false;
193
195
  EventHandler.remove(this.element, 'transitionend', this.transitionEnd);
194
196
  };
195
197
  Sidebar.prototype.destroyBackDrop = function () {