@syncfusion/ej2-navigations 21.1.37 → 21.1.38

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 : 21.1.37
3
+ * version : 21.1.38
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@21.1.35",
3
+ "_id": "@syncfusion/ej2-navigations@21.1.37",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-XwMB/VIjq4y27Lrc6Qyk0phNUsyiOv3SZ1d2X2j99sTeRS3ihgxfpwsCAUc9DNeeyBoGC2qAiczwK4XWlUF6lw==",
5
+ "_integrity": "sha512-XGkBqgwDth6k4IAJilOFd41bm7lbQOL1SidjMj7VyUqGL0ilTcw7ByhDp/S7iToYxYJaMdtmAW3FwpoJURkNtQ==",
6
6
  "_location": "/@syncfusion/ej2-navigations",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -39,8 +39,8 @@
39
39
  "/@syncfusion/ej2-spreadsheet",
40
40
  "/@syncfusion/ej2-vue-navigations"
41
41
  ],
42
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-21.1.35.tgz",
43
- "_shasum": "3e7319f15e96544ccbde24c8f0a830e52c701d59",
42
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-21.1.37.tgz",
43
+ "_shasum": "b9d8a9455f7c8b218d0c8b4e0fe139f83929f760",
44
44
  "_spec": "@syncfusion/ej2-navigations@*",
45
45
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
46
46
  "author": {
@@ -51,10 +51,10 @@
51
51
  },
52
52
  "bundleDependencies": false,
53
53
  "dependencies": {
54
- "@syncfusion/ej2-base": "~21.1.37",
54
+ "@syncfusion/ej2-base": "~21.1.38",
55
55
  "@syncfusion/ej2-buttons": "~21.1.37",
56
- "@syncfusion/ej2-data": "~21.1.37",
57
- "@syncfusion/ej2-inputs": "~21.1.37",
56
+ "@syncfusion/ej2-data": "~21.1.38",
57
+ "@syncfusion/ej2-inputs": "~21.1.38",
58
58
  "@syncfusion/ej2-lists": "~21.1.37",
59
59
  "@syncfusion/ej2-popups": "~21.1.37"
60
60
  },
@@ -161,6 +161,6 @@
161
161
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
162
162
  },
163
163
  "typings": "index.d.ts",
164
- "version": "21.1.37",
164
+ "version": "21.1.38",
165
165
  "sideEffects": false
166
166
  }
@@ -50,11 +50,11 @@ export interface CarouselModel extends ComponentModel{
50
50
  items?: CarouselItemModel[];
51
51
 
52
52
  /**
53
- * Specifies the type of animation effects. The possible values for this property as follows
54
- * * `None`: The carousel item transition happens without animation.
55
- * * `Slide`: The carousel item transition happens with slide animation.
56
- * * `Fade`: The Carousel item transition happens with fade animation.
57
- * * `Custom`: The Carousel item transition happens with custom animation.
53
+ * Specifies the type of animation effects. The possible values for this property as follows
54
+ * * `None`: The carousel item transition happens without animation.
55
+ * * `Slide`: The carousel item transition happens with slide animation.
56
+ * * `Fade`: The Carousel item transition happens with fade animation.
57
+ * * `Custom`: The Carousel item transition happens with custom animation.
58
58
  *
59
59
  * @default 'Slide'
60
60
  */
@@ -103,11 +103,11 @@ export declare class Carousel extends Component<HTMLElement> implements INotifyP
103
103
  */
104
104
  items: CarouselItemModel[];
105
105
  /**
106
- * Specifies the type of animation effects. The possible values for this property as follows
107
- * * `None`: The carousel item transition happens without animation.
108
- * * `Slide`: The carousel item transition happens with slide animation.
109
- * * `Fade`: The Carousel item transition happens with fade animation.
110
- * * `Custom`: The Carousel item transition happens with custom animation.
106
+ * Specifies the type of animation effects. The possible values for this property as follows
107
+ * * `None`: The carousel item transition happens without animation.
108
+ * * `Slide`: The carousel item transition happens with slide animation.
109
+ * * `Fade`: The Carousel item transition happens with fade animation.
110
+ * * `Custom`: The Carousel item transition happens with custom animation.
111
111
  *
112
112
  * @default 'Slide'
113
113
  */
@@ -463,13 +463,9 @@ var Carousel = /** @class */ (function (_super) {
463
463
  append(template, indicatorBar);
464
464
  }
465
465
  else {
466
- var indicator = _this.createElement('button', { className: CLS_INDICATOR, attrs: { 'type': 'button' } });
466
+ var indicator = _this.createElement('button', { className: CLS_INDICATOR, attrs: { 'type': 'button', 'aria-label': _this.localeObj.getConstant('slide') + ' ' + (index + 1) + ' ' + _this.localeObj.getConstant('of') + ' ' + _this.slideItems.length } });
467
467
  indicatorBar.appendChild(indicator);
468
- indicator.appendChild(_this.createElement('div', {
469
- attrs: {
470
- 'aria-label': _this.localeObj.getConstant('slide') + ' ' + (index + 1) + ' ' + _this.localeObj.getConstant('of') + ' ' + _this.slideItems.length
471
- }
472
- }));
468
+ indicator.appendChild(_this.createElement('div', {}));
473
469
  var buttonObj = new Button({ cssClass: 'e-flat e-small' });
474
470
  buttonObj.appendTo(indicator);
475
471
  }
@@ -670,7 +670,9 @@ var MenuBase = /** @class */ (function (_super) {
670
670
  sli_1.classList.remove(SELECTED);
671
671
  if (observedCloseArgs.isFocused && liElem_1 || _this.keyType === 'left') {
672
672
  sli_1.classList.add(FOCUSED);
673
- sli_1.focus();
673
+ if (!e.target || !e.target.classList.contains('e-edit-template')) {
674
+ sli_1.focus();
675
+ }
674
676
  }
675
677
  }
676
678
  if (!isOpen && _this.hamburgerMode && liElem_1 && liElem_1.getAttribute('aria-expanded') === 'false' &&
@@ -167,7 +167,6 @@ export interface SidebarModel extends ComponentModel{
167
167
  *
168
168
  *
169
169
  */
170
- /* eslint-disable */
171
170
  created?: EmitType<Object>;
172
171
 
173
172
  /**
@@ -27,7 +27,6 @@ var CLOSE = 'e-close';
27
27
  var OPEN = 'e-open';
28
28
  var TRASITION = 'e-transition';
29
29
  var DEFAULTBACKDROP = 'e-sidebar-overlay';
30
- var CONTEXTBACKDROP = 'e-backdrop';
31
30
  var RTL = 'e-rtl';
32
31
  var RIGHT = 'e-right';
33
32
  var LEFT = 'e-left';
package/src/tab/tab.js CHANGED
@@ -1854,11 +1854,11 @@ var Tab = /** @class */ (function (_super) {
1854
1854
  var portal = _this.portals;
1855
1855
  if (registeredTemplate && registeredTemplate.content) {
1856
1856
  var templateToClear = [];
1857
- for (var i_2 = 0; i_2 < registeredTemplate.content.length; i_2++) {
1858
- var registeredItem = registeredTemplate.content[i_2].rootNodes[0];
1859
- var closestItem_1 = closest(registeredItem, '.' + CLS_ITEM);
1860
- if (!isNullOrUndefined(registeredItem) && closestItem_1 === cntTrg) {
1861
- templateToClear.push(registeredTemplate.content[i_2]);
1857
+ for (var i = 0; i < registeredTemplate.content.length; i++) {
1858
+ var registeredItem = registeredTemplate.content[i].rootNodes[0];
1859
+ var closestItem = closest(registeredItem, '.' + CLS_ITEM);
1860
+ if (!isNullOrUndefined(registeredItem) && closestItem === cntTrg) {
1861
+ templateToClear.push(registeredTemplate.content[i]);
1862
1862
  break;
1863
1863
  }
1864
1864
  }
@@ -1866,16 +1866,16 @@ var Tab = /** @class */ (function (_super) {
1866
1866
  _this.clearTemplate(['content'], templateToClear);
1867
1867
  }
1868
1868
  }
1869
- else if (portal) {
1870
- for (var i = 0; i < portal.length; i++) {
1871
- var portalItem = portal[i];
1872
- var closestItem = closest(portalItem.containerInfo, '.' + CLS_ITEM);
1873
- if (!isNullOrUndefined(portalItem) && closestItem === cntTrg) {
1874
- _this.clearTemplate(['content'], i);
1875
- break;
1876
- }
1877
- }
1878
- }
1869
+ /* else if (portal) {
1870
+ for (var i = 0; i < portal.length; i++) {
1871
+ var portalItem = portal[i];
1872
+ var closestItem = closest(portalItem.containerInfo, '.' + CLS_ITEM);
1873
+ if (!isNullOrUndefined(portalItem) && closestItem === cntTrg) {
1874
+ this.clearTemplate(['content'], i);
1875
+ break;
1876
+ }
1877
+ }
1878
+ } */
1879
1879
  detach(cntTrg);
1880
1880
  }
1881
1881
  _this.trigger('removed', tabRemovingArgs);