@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
|
@@ -1697,6 +1697,7 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
1697
1697
|
detach(popupEle);
|
|
1698
1698
|
}
|
|
1699
1699
|
else {
|
|
1700
|
+
_this.isContextMenuClosed = false;
|
|
1700
1701
|
_this.toggleAnimation(ul_1, false);
|
|
1701
1702
|
}
|
|
1702
1703
|
closeArgs = { element: ul_1, parentItem: item_1, items: items_1 };
|
|
@@ -2098,6 +2099,7 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
2098
2099
|
case 'none':
|
|
2099
2100
|
_this.top = observedOpenArgs.top;
|
|
2100
2101
|
_this.left = observedOpenArgs.left;
|
|
2102
|
+
_this.isContextMenuClosed = true;
|
|
2101
2103
|
break;
|
|
2102
2104
|
case 'hamburger':
|
|
2103
2105
|
if (!observedOpenArgs.cancel) {
|
|
@@ -2590,7 +2592,9 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
2590
2592
|
this.removeLIStateByClass([SELECTED], [wrapper]);
|
|
2591
2593
|
}
|
|
2592
2594
|
if (!cli || !cli.querySelector('.' + CARET)) {
|
|
2593
|
-
|
|
2595
|
+
if (!Browser.isIos || (Browser.isIos && !e.ctrlKey)) {
|
|
2596
|
+
this.closeMenu(null, e);
|
|
2597
|
+
}
|
|
2594
2598
|
}
|
|
2595
2599
|
}
|
|
2596
2600
|
}
|
|
@@ -3023,7 +3027,7 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
3023
3027
|
}
|
|
3024
3028
|
};
|
|
3025
3029
|
MenuBase.prototype.end = function (ul, isMenuOpen) {
|
|
3026
|
-
if (isMenuOpen) {
|
|
3030
|
+
if (isMenuOpen && (this.isMenu || (!this.isMenu && this.isContextMenuClosed))) {
|
|
3027
3031
|
if (this.isMenu || !Browser.isDevice) {
|
|
3028
3032
|
ul.style.display = 'block';
|
|
3029
3033
|
}
|
|
@@ -16839,6 +16843,12 @@ var Breadcrumb = /** @__PURE__ @class */ (function (_super) {
|
|
|
16839
16843
|
}
|
|
16840
16844
|
};
|
|
16841
16845
|
Breadcrumb.prototype.reRenderItems = function () {
|
|
16846
|
+
if (this.overflowMode === 'Menu' && this.popupObj && this.popupObj.element.classList.contains('e-popup-open') && this.popupObj.element.querySelector('.e-edit-template')) {
|
|
16847
|
+
this.popupObj.hide();
|
|
16848
|
+
this.popupObj.destroy();
|
|
16849
|
+
this.isPopupCreated = false;
|
|
16850
|
+
detach(this.popupObj.element);
|
|
16851
|
+
}
|
|
16842
16852
|
this.element.innerHTML = '';
|
|
16843
16853
|
this.renderItems(this.items);
|
|
16844
16854
|
};
|
|
@@ -16928,7 +16938,7 @@ var Breadcrumb = /** @__PURE__ @class */ (function (_super) {
|
|
|
16928
16938
|
this.popupObj.show();
|
|
16929
16939
|
};
|
|
16930
16940
|
Breadcrumb.prototype.documentClickHandler = function (e) {
|
|
16931
|
-
if (this.overflowMode === 'Menu' && this.popupObj && this.popupObj.element.classList.contains('e-popup-open') && !closest(e.target, DOT + MENUCLASS)) {
|
|
16941
|
+
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')) {
|
|
16932
16942
|
this.popupObj.hide();
|
|
16933
16943
|
this.popupObj.destroy();
|
|
16934
16944
|
this.isPopupCreated = false;
|