@syncfusion/ej2-navigations 30.1.39 → 30.1.41
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 +21 -7
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +20 -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 +5 -5
- package/src/breadcrumb/breadcrumb.js +1 -1
- package/src/common/menu-base.js +7 -0
- package/src/tab/tab.js +4 -1
- package/src/toolbar/toolbar.js +8 -4
|
@@ -3016,6 +3016,13 @@ let MenuBase = class MenuBase extends Component {
|
|
|
3016
3016
|
}
|
|
3017
3017
|
}
|
|
3018
3018
|
toggleAnimation(ul, isMenuOpen = true) {
|
|
3019
|
+
const menuWrapper = this.getWrapper();
|
|
3020
|
+
if (menuWrapper) {
|
|
3021
|
+
const activeMenuElements = menuWrapper.querySelectorAll('.e-menu-parent');
|
|
3022
|
+
activeMenuElements.forEach((menuElement) => {
|
|
3023
|
+
Animation.stop(menuElement);
|
|
3024
|
+
});
|
|
3025
|
+
}
|
|
3019
3026
|
let pUlHeight;
|
|
3020
3027
|
let pElement;
|
|
3021
3028
|
const animateElement = (this.enableScrolling && !this.isMenu && closest(ul, '.e-menu-vscroll'))
|
|
@@ -3826,11 +3833,15 @@ let Toolbar = class Toolbar extends Component {
|
|
|
3826
3833
|
}
|
|
3827
3834
|
if (this.tbarAlign) {
|
|
3828
3835
|
const tbarItems = this.element.querySelector('.' + CLS_ITEMS);
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3836
|
+
if (tbarItems) {
|
|
3837
|
+
if (tbarItems.children) {
|
|
3838
|
+
[].slice.call(tbarItems.children).forEach((el) => {
|
|
3839
|
+
detach(el);
|
|
3840
|
+
});
|
|
3841
|
+
}
|
|
3842
|
+
this.remove(tbarItems, CLS_TBARPOS);
|
|
3843
|
+
}
|
|
3832
3844
|
this.tbarAlign = false;
|
|
3833
|
-
this.remove(tbarItems, CLS_TBARPOS);
|
|
3834
3845
|
}
|
|
3835
3846
|
this.clearProperty();
|
|
3836
3847
|
}
|
|
@@ -8306,8 +8317,11 @@ let Tab = class Tab extends Component {
|
|
|
8306
8317
|
this.tbItems.appendChild(target);
|
|
8307
8318
|
this.actEleId = target.id;
|
|
8308
8319
|
if (this.checkPopupOverflow(lastChild)) {
|
|
8309
|
-
|
|
8310
|
-
|
|
8320
|
+
let prevEle = this.tbItems.lastChild.previousElementSibling;
|
|
8321
|
+
prevEle = (prevEle && prevEle.classList.contains(CLS_INDICATOR) ? prevEle.previousElementSibling : prevEle);
|
|
8322
|
+
if (prevEle) {
|
|
8323
|
+
this.checkPopupOverflow(prevEle);
|
|
8324
|
+
}
|
|
8311
8325
|
}
|
|
8312
8326
|
this.isPopup = true;
|
|
8313
8327
|
}
|
|
@@ -17308,10 +17322,10 @@ let Breadcrumb = class Breadcrumb extends Component {
|
|
|
17308
17322
|
onPropertyChanged(newProp, oldProp) {
|
|
17309
17323
|
for (const prop of Object.keys(newProp)) {
|
|
17310
17324
|
switch (prop) {
|
|
17311
|
-
case 'items':
|
|
17312
17325
|
case 'enableActiveItemNavigation':
|
|
17313
17326
|
this.reRenderItems();
|
|
17314
17327
|
break;
|
|
17328
|
+
case 'items':
|
|
17315
17329
|
case 'activeItem':
|
|
17316
17330
|
this._maxItems = this.maxItems;
|
|
17317
17331
|
this.initPvtProps();
|