@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.
- package/CHANGELOG.md +8 -0
- package/dist/ej2-navigations.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +15 -17
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +20 -22
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +2 -2
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +8 -8
- package/src/carousel/carousel-model.d.ts +5 -5
- package/src/carousel/carousel.d.ts +5 -5
- package/src/carousel/carousel.js +2 -6
- package/src/common/menu-base.js +3 -1
- package/src/sidebar/sidebar-model.d.ts +0 -1
- package/src/sidebar/sidebar.js +0 -1
- package/src/tab/tab.js +15 -15
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 21.1.
|
|
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.
|
|
3
|
+
"_id": "@syncfusion/ej2-navigations@21.1.37",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
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.
|
|
43
|
-
"_shasum": "
|
|
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.
|
|
54
|
+
"@syncfusion/ej2-base": "~21.1.38",
|
|
55
55
|
"@syncfusion/ej2-buttons": "~21.1.37",
|
|
56
|
-
"@syncfusion/ej2-data": "~21.1.
|
|
57
|
-
"@syncfusion/ej2-inputs": "~21.1.
|
|
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.
|
|
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
|
-
*
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
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
|
-
*
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
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
|
*/
|
package/src/carousel/carousel.js
CHANGED
|
@@ -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
|
}
|
package/src/common/menu-base.js
CHANGED
|
@@ -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
|
-
|
|
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' &&
|
package/src/sidebar/sidebar.js
CHANGED
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
|
|
1858
|
-
var registeredItem = registeredTemplate.content[
|
|
1859
|
-
var
|
|
1860
|
-
if (!isNullOrUndefined(registeredItem) &&
|
|
1861
|
-
templateToClear.push(registeredTemplate.content[
|
|
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
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
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);
|