@syncfusion/ej2-navigations 26.2.7 → 26.2.10
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/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 +13 -3
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +13 -3
- 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 +11 -11
- package/src/breadcrumb/breadcrumb.js +7 -1
- package/src/common/menu-base.d.ts +1 -0
- package/src/common/menu-base.js +6 -2
- package/styles/accordion/fluent2.css +3 -1031
- package/styles/accordion/material3-dark.css +1 -54
- package/styles/accordion/material3.css +2 -109
- package/styles/appbar/fluent2.css +3 -1031
- package/styles/appbar/material3-dark.css +1 -54
- package/styles/appbar/material3.css +2 -109
- package/styles/bootstrap-dark.css +2 -2
- package/styles/bootstrap.css +2 -2
- package/styles/bootstrap4.css +2 -2
- package/styles/bootstrap5-dark.css +2 -2
- package/styles/bootstrap5.css +2 -2
- package/styles/breadcrumb/fluent2.css +3 -1031
- package/styles/breadcrumb/material3-dark.css +1 -54
- package/styles/breadcrumb/material3.css +2 -109
- package/styles/carousel/fluent2.css +3 -1031
- package/styles/carousel/material3-dark.css +1 -54
- package/styles/carousel/material3.css +2 -109
- package/styles/context-menu/fluent2.css +3 -1031
- package/styles/context-menu/material3-dark.css +1 -54
- package/styles/context-menu/material3.css +2 -109
- package/styles/fabric-dark.css +2 -2
- package/styles/fabric.css +2 -2
- package/styles/fluent-dark.css +2 -2
- package/styles/fluent.css +2 -2
- package/styles/fluent2.css +10 -1035
- package/styles/h-scroll/fluent2.css +3 -1031
- package/styles/h-scroll/material3-dark.css +1 -54
- package/styles/h-scroll/material3.css +2 -109
- package/styles/highcontrast-light.css +2 -2
- package/styles/highcontrast.css +2 -2
- package/styles/material-dark.css +2 -2
- package/styles/material.css +2 -2
- package/styles/material3-dark.css +3 -56
- package/styles/material3.css +4 -111
- package/styles/menu/fluent2.css +3 -1031
- package/styles/menu/material3-dark.css +1 -54
- package/styles/menu/material3.css +2 -109
- package/styles/pager/_theme.scss +6 -0
- package/styles/pager/fluent2.css +6 -1031
- package/styles/pager/material3-dark.css +1 -54
- package/styles/pager/material3.css +2 -109
- package/styles/sidebar/fluent2.css +3 -1031
- package/styles/sidebar/material3-dark.css +1 -54
- package/styles/sidebar/material3.css +2 -109
- package/styles/stepper/fluent2.css +3 -1031
- package/styles/stepper/material3-dark.css +1 -54
- package/styles/stepper/material3.css +2 -109
- package/styles/tab/fluent2.css +3 -1031
- package/styles/tab/material3-dark.css +1 -54
- package/styles/tab/material3.css +2 -109
- package/styles/tailwind-dark.css +2 -2
- package/styles/tailwind.css +2 -2
- package/styles/toolbar/fluent2.css +3 -1031
- package/styles/toolbar/material3-dark.css +1 -54
- package/styles/toolbar/material3.css +2 -109
- package/styles/treeview/bootstrap-dark.css +2 -2
- package/styles/treeview/bootstrap.css +2 -2
- package/styles/treeview/bootstrap4.css +2 -2
- package/styles/treeview/bootstrap5-dark.css +2 -2
- package/styles/treeview/bootstrap5.css +2 -2
- package/styles/treeview/fabric-dark.css +2 -2
- package/styles/treeview/fabric.css +2 -2
- package/styles/treeview/fluent-dark.css +2 -2
- package/styles/treeview/fluent.css +2 -2
- package/styles/treeview/fluent2.css +5 -1033
- package/styles/treeview/highcontrast-light.css +2 -2
- package/styles/treeview/highcontrast.css +2 -2
- package/styles/treeview/icons/_bds.scss +2 -2
- package/styles/treeview/icons/_bootstrap-dark.scss +2 -2
- package/styles/treeview/icons/_bootstrap.scss +2 -2
- package/styles/treeview/icons/_bootstrap4.scss +2 -2
- package/styles/treeview/icons/_bootstrap5.3.scss +2 -2
- package/styles/treeview/icons/_bootstrap5.scss +2 -2
- package/styles/treeview/icons/_fabric-dark.scss +2 -2
- package/styles/treeview/icons/_fabric.scss +2 -2
- package/styles/treeview/icons/_fluent.scss +2 -2
- package/styles/treeview/icons/_fluent2.scss +2 -2
- package/styles/treeview/icons/_fusionnew.scss +2 -2
- package/styles/treeview/icons/_highcontrast-light.scss +2 -2
- package/styles/treeview/icons/_highcontrast.scss +2 -2
- package/styles/treeview/icons/_material-dark.scss +2 -2
- package/styles/treeview/icons/_material.scss +2 -2
- package/styles/treeview/icons/_material3.scss +2 -2
- package/styles/treeview/icons/_tailwind-dark.scss +2 -2
- package/styles/treeview/icons/_tailwind.scss +2 -2
- package/styles/treeview/material-dark.css +2 -2
- package/styles/treeview/material.css +2 -2
- package/styles/treeview/material3-dark.css +3 -56
- package/styles/treeview/material3.css +4 -111
- package/styles/treeview/tailwind-dark.css +2 -2
- package/styles/treeview/tailwind.css +2 -2
- package/styles/v-scroll/fluent2.css +3 -1031
- package/styles/v-scroll/material3-dark.css +1 -54
- package/styles/v-scroll/material3.css +2 -109
- package/hotfix/26.1.35_Vol2.txt +0 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 26.2.
|
|
3
|
+
* version : 26.2.10
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. 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@26.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-navigations@26.2.8",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-fzOtGt5NdoJ7XAVw2QfpYotu6nUO+eM4i/n44ZfH/APKNoZxPhuJxx6UqqQIEnMTmwUZIhgTTLNJ03spq9Jx/A==",
|
|
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.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-26.2.
|
|
43
|
-
"_shasum": "
|
|
42
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-26.2.8.tgz",
|
|
43
|
+
"_shasum": "9b4f45c2b783a7a3858c57cb85fd0447e6ec15bb",
|
|
44
44
|
"_spec": "@syncfusion/ej2-navigations@*",
|
|
45
45
|
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
|
|
46
46
|
"author": {
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
},
|
|
52
52
|
"bundleDependencies": false,
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@syncfusion/ej2-base": "~26.2.
|
|
55
|
-
"@syncfusion/ej2-buttons": "~26.2.
|
|
56
|
-
"@syncfusion/ej2-data": "~26.2.
|
|
57
|
-
"@syncfusion/ej2-inputs": "~26.2.
|
|
58
|
-
"@syncfusion/ej2-lists": "~26.2.
|
|
59
|
-
"@syncfusion/ej2-popups": "~26.2.
|
|
54
|
+
"@syncfusion/ej2-base": "~26.2.10",
|
|
55
|
+
"@syncfusion/ej2-buttons": "~26.2.10",
|
|
56
|
+
"@syncfusion/ej2-data": "~26.2.10",
|
|
57
|
+
"@syncfusion/ej2-inputs": "~26.2.10",
|
|
58
|
+
"@syncfusion/ej2-lists": "~26.2.10",
|
|
59
|
+
"@syncfusion/ej2-popups": "~26.2.10"
|
|
60
60
|
},
|
|
61
61
|
"deprecated": false,
|
|
62
62
|
"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",
|
|
@@ -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": "26.2.
|
|
164
|
+
"version": "26.2.10",
|
|
165
165
|
"sideEffects": false
|
|
166
166
|
}
|
|
@@ -517,6 +517,12 @@ var Breadcrumb = /** @class */ (function (_super) {
|
|
|
517
517
|
}
|
|
518
518
|
};
|
|
519
519
|
Breadcrumb.prototype.reRenderItems = function () {
|
|
520
|
+
if (this.overflowMode === 'Menu' && this.popupObj && this.popupObj.element.classList.contains('e-popup-open') && this.popupObj.element.querySelector('.e-edit-template')) {
|
|
521
|
+
this.popupObj.hide();
|
|
522
|
+
this.popupObj.destroy();
|
|
523
|
+
this.isPopupCreated = false;
|
|
524
|
+
detach(this.popupObj.element);
|
|
525
|
+
}
|
|
520
526
|
this.element.innerHTML = '';
|
|
521
527
|
this.renderItems(this.items);
|
|
522
528
|
};
|
|
@@ -606,7 +612,7 @@ var Breadcrumb = /** @class */ (function (_super) {
|
|
|
606
612
|
this.popupObj.show();
|
|
607
613
|
};
|
|
608
614
|
Breadcrumb.prototype.documentClickHandler = function (e) {
|
|
609
|
-
if (this.overflowMode === 'Menu' && this.popupObj && this.popupObj.element.classList.contains('e-popup-open') && !closest(e.target, DOT + MENUCLASS)) {
|
|
615
|
+
if (this.overflowMode === 'Menu' && this.popupObj && this.popupObj.element.classList.contains('e-popup-open') && !closest(e.target, DOT + MENUCLASS) && !closest(e.target, DOT + 'e-edit-template')) {
|
|
610
616
|
this.popupObj.hide();
|
|
611
617
|
this.popupObj.destroy();
|
|
612
618
|
this.isPopupCreated = false;
|
package/src/common/menu-base.js
CHANGED
|
@@ -640,6 +640,7 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
640
640
|
detach(popupEle);
|
|
641
641
|
}
|
|
642
642
|
else {
|
|
643
|
+
_this.isContextMenuClosed = false;
|
|
643
644
|
_this.toggleAnimation(ul_1, false);
|
|
644
645
|
}
|
|
645
646
|
closeArgs = { element: ul_1, parentItem: item_1, items: items_1 };
|
|
@@ -1041,6 +1042,7 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
1041
1042
|
case 'none':
|
|
1042
1043
|
_this.top = observedOpenArgs.top;
|
|
1043
1044
|
_this.left = observedOpenArgs.left;
|
|
1045
|
+
_this.isContextMenuClosed = true;
|
|
1044
1046
|
break;
|
|
1045
1047
|
case 'hamburger':
|
|
1046
1048
|
if (!observedOpenArgs.cancel) {
|
|
@@ -1533,7 +1535,9 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
1533
1535
|
this.removeLIStateByClass([SELECTED], [wrapper]);
|
|
1534
1536
|
}
|
|
1535
1537
|
if (!cli || !cli.querySelector('.' + CARET)) {
|
|
1536
|
-
|
|
1538
|
+
if (!Browser.isIos || (Browser.isIos && !e.ctrlKey)) {
|
|
1539
|
+
this.closeMenu(null, e);
|
|
1540
|
+
}
|
|
1537
1541
|
}
|
|
1538
1542
|
}
|
|
1539
1543
|
}
|
|
@@ -1966,7 +1970,7 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
1966
1970
|
}
|
|
1967
1971
|
};
|
|
1968
1972
|
MenuBase.prototype.end = function (ul, isMenuOpen) {
|
|
1969
|
-
if (isMenuOpen) {
|
|
1973
|
+
if (isMenuOpen && (this.isMenu || (!this.isMenu && this.isContextMenuClosed))) {
|
|
1970
1974
|
if (this.isMenu || !Browser.isDevice) {
|
|
1971
1975
|
ul.style.display = 'block';
|
|
1972
1976
|
}
|