@syncfusion/ej2-navigations 19.3.56 → 19.3.57
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.umd.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +4 -4
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +4 -4
- 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/sidebar/sidebar.js +4 -4
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 19.3.
|
|
3
|
+
* version : 19.3.57
|
|
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.3.
|
|
3
|
+
"_id": "@syncfusion/ej2-navigations@19.3.56",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-9YDXm5jqR3SXGEmASGNC0mwD1VWZawAtJofZOYBiGp6Pza0VVUhUQzMiKv4/RF/DJnsOPz8aMgfNJhWRapY8Dw==",
|
|
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.3.
|
|
41
|
-
"_shasum": "
|
|
40
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-19.3.56.tgz",
|
|
41
|
+
"_shasum": "420c7b0e58c677da9989b267474d8c1cb675e259",
|
|
42
42
|
"_spec": "@syncfusion/ej2-navigations@*",
|
|
43
43
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
44
44
|
"author": {
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@syncfusion/ej2-base": "~19.3.56",
|
|
53
53
|
"@syncfusion/ej2-buttons": "~19.3.53",
|
|
54
|
-
"@syncfusion/ej2-data": "~19.3.
|
|
55
|
-
"@syncfusion/ej2-inputs": "~19.3.
|
|
54
|
+
"@syncfusion/ej2-data": "~19.3.57",
|
|
55
|
+
"@syncfusion/ej2-inputs": "~19.3.57",
|
|
56
56
|
"@syncfusion/ej2-lists": "~19.3.53",
|
|
57
|
-
"@syncfusion/ej2-popups": "~19.3.
|
|
57
|
+
"@syncfusion/ej2-popups": "~19.3.57"
|
|
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.3.
|
|
162
|
+
"version": "19.3.57",
|
|
163
163
|
"sideEffects": false
|
|
164
164
|
}
|
package/src/sidebar/sidebar.js
CHANGED
|
@@ -252,7 +252,7 @@ var Sidebar = /** @class */ (function (_super) {
|
|
|
252
252
|
Sidebar.prototype.setTimeOut = function () {
|
|
253
253
|
var sibling = document.querySelector('.e-main-content') || this.targetEle;
|
|
254
254
|
var elementWidth = this.element.getBoundingClientRect().width;
|
|
255
|
-
if (this.element.classList.contains(OPEN) && sibling) {
|
|
255
|
+
if (this.element.classList.contains(OPEN) && sibling && !(this.type === 'Over' && this.enableDock)) {
|
|
256
256
|
if (this.position === 'Left') {
|
|
257
257
|
sibling.style.marginLeft = this.setDimension(this.width === 'auto' ? elementWidth : this.width);
|
|
258
258
|
}
|
|
@@ -561,7 +561,7 @@ var Sidebar = /** @class */ (function (_super) {
|
|
|
561
561
|
var sibling = document.querySelector('.e-main-content') || this.targetEle;
|
|
562
562
|
if (sibling) {
|
|
563
563
|
sibling.style.transform = 'translateX(' + 0 + 'px)';
|
|
564
|
-
if (!Browser.isDevice && this.type !== 'Auto') {
|
|
564
|
+
if (!Browser.isDevice && this.type !== 'Auto' && !(this.type === 'Over' && this.enableDock)) {
|
|
565
565
|
sibling.style[this.position === 'Left' ? 'marginLeft' : 'marginRight'] = '0px';
|
|
566
566
|
}
|
|
567
567
|
}
|
|
@@ -583,9 +583,9 @@ var Sidebar = /** @class */ (function (_super) {
|
|
|
583
583
|
break;
|
|
584
584
|
case 'Over':
|
|
585
585
|
addClass([this.element], [OVER]);
|
|
586
|
-
if (this.enableDock && this.element.classList.contains(CLOSE)) {
|
|
586
|
+
if (this.enableDock && (this.element.classList.contains(CLOSE) || this.isOpen)) {
|
|
587
587
|
if (sibling) {
|
|
588
|
-
sibling.style[this.position === 'Left' ? 'marginLeft' : 'marginRight'] =
|
|
588
|
+
sibling.style[this.position === 'Left' ? 'marginLeft' : 'marginRight'] = this.setDimension(this.dockSize);
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
591
|
break;
|