@syncfusion/ej2-navigations 19.4.52 → 19.4.56
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 +19 -1
- 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 +8 -6
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +8 -6
- 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 +9 -9
- package/src/accordion/accordion.js +3 -3
- package/src/common/menu-base.js +2 -2
- package/src/sidebar/sidebar.d.ts +1 -0
- package/src/sidebar/sidebar.js +3 -1
- package/styles/menu/_layout.scss +1 -1
- package/styles/menu/_theme.scss +0 -9
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 19.4.
|
|
3
|
+
* version : 19.4.56
|
|
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.
|
|
3
|
+
"_id": "@syncfusion/ej2-navigations@19.4.55",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-OQu9sMOeqG7OdXte/hNLWUfeSjoNgMV7IEz3p1UZzUGtYylXYT+myET7Ukgc7bPGAhBr8Zy8sT5ItEba6iV20w==",
|
|
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.
|
|
41
|
-
"_shasum": "
|
|
40
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-19.4.55.tgz",
|
|
41
|
+
"_shasum": "7f8aefd3568612b94f47564dc6a642c088ee14c4",
|
|
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.
|
|
54
|
-
"@syncfusion/ej2-data": "~19.4.
|
|
53
|
+
"@syncfusion/ej2-buttons": "~19.4.55",
|
|
54
|
+
"@syncfusion/ej2-data": "~19.4.54",
|
|
55
55
|
"@syncfusion/ej2-inputs": "~19.4.52",
|
|
56
|
-
"@syncfusion/ej2-lists": "~19.4.
|
|
57
|
-
"@syncfusion/ej2-popups": "~19.4.
|
|
56
|
+
"@syncfusion/ej2-lists": "~19.4.55",
|
|
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.
|
|
162
|
+
"version": "19.4.56",
|
|
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-
|
|
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-
|
|
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-
|
|
925
|
+
attributes(trgt.previousElementSibling, { 'aria-label': 'collapsed' });
|
|
926
926
|
this.trigger('expanded', eventArgs);
|
|
927
927
|
}
|
|
928
928
|
};
|
package/src/common/menu-base.js
CHANGED
|
@@ -604,7 +604,7 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
604
604
|
if (isOpen && _this.hamburgerMode && ulIndex && !(submenus.length)) {
|
|
605
605
|
_this.afterCloseMenu(e);
|
|
606
606
|
}
|
|
607
|
-
else if (isOpen && !_this.hamburgerMode && _this.navIdx.length && closedLi && !trgtLi) {
|
|
607
|
+
else if (isOpen && !_this.hamburgerMode && _this.navIdx.length && closedLi && !trgtLi && _this.keyType !== "left") {
|
|
608
608
|
var ele = (e && e.target.classList.contains('e-vscroll'))
|
|
609
609
|
? closest(e.target, '.e-menu-wrapper') : null;
|
|
610
610
|
if (ele) {
|
|
@@ -642,7 +642,7 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
642
642
|
if (sli_1) {
|
|
643
643
|
sli_1.setAttribute('aria-expanded', 'false');
|
|
644
644
|
sli_1.classList.remove(SELECTED);
|
|
645
|
-
if (observedCloseArgs.isFocused && liElem_1) {
|
|
645
|
+
if (observedCloseArgs.isFocused && liElem_1 || _this.keyType === "left") {
|
|
646
646
|
sli_1.classList.add(FOCUSED);
|
|
647
647
|
sli_1.focus();
|
|
648
648
|
}
|
package/src/sidebar/sidebar.d.ts
CHANGED
|
@@ -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
|
package/src/sidebar/sidebar.js
CHANGED
|
@@ -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 () {
|
package/styles/menu/_layout.scss
CHANGED
package/styles/menu/_theme.scss
CHANGED
|
@@ -108,15 +108,6 @@
|
|
|
108
108
|
color: $submenu-color;
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
-
@else if $skin-name == 'FluentUI' or $theme-name == 'FluentUI' {
|
|
112
|
-
& .e-caret {
|
|
113
|
-
color: $menu-icon-color;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
& .e-menu-icon {
|
|
117
|
-
color: $menu-icon-color;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
111
|
|
|
121
112
|
&.e-focused {
|
|
122
113
|
@if $skin-name == 'bootstrap4' {
|