@syncfusion/ej2-navigations 35.1.40 → 35.1.42
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 +5 -3
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +5 -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 +4 -4
- package/src/common/menu-base.js +1 -1
- package/src/toolbar/toolbar-model.d.ts +1 -1
- package/src/toolbar/toolbar.d.ts +1 -0
- package/src/toolbar/toolbar.js +4 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Browser, getUniqueID, Touch, EventHandler, isNullOrUndefined, selectAll, detach, classList, Property, NotifyPropertyChanges, createElement, removeClass, select, ChildProperty, Collection, Event, Complex, Animation, getValue, setValue, append, closest, addClass, isBlazor, rippleEffect, KeyboardEvents, getInstance, isVisible, SanitizeHtmlHelper, formatUnit, setStyleAttribute, attributes, compile, isRippleEnabled, animationMode, remove, getRandomId,
|
|
1
|
+
import { Component, Browser, getUniqueID, Touch, EventHandler, isNullOrUndefined, selectAll, detach, classList, Property, NotifyPropertyChanges, createElement, removeClass, select, ChildProperty, Collection, Event, Complex, Animation, getValue, setValue, append, closest, addClass, isBlazor, rippleEffect, KeyboardEvents, getInstance, isVisible, SanitizeHtmlHelper, L10n, formatUnit, setStyleAttribute, attributes, compile, isRippleEnabled, animationMode, remove, getRandomId, Draggable, isUndefined, getElement, Droppable, matches, extend, merge, initializeCSPTemplate } from '@syncfusion/ej2-base';
|
|
2
2
|
import { ListBase } from '@syncfusion/ej2-lists';
|
|
3
3
|
import { getScrollableParent, Popup, getZindexPartial, fit, isCollide, calculatePosition, createSpinner, showSpinner, hideSpinner, Tooltip } from '@syncfusion/ej2-popups';
|
|
4
4
|
import { Button, createCheckBox, rippleMouseHandler } from '@syncfusion/ej2-buttons';
|
|
@@ -1594,7 +1594,7 @@ let MenuBase = class MenuBase extends Component {
|
|
|
1594
1594
|
const popups = [];
|
|
1595
1595
|
const allPopup = selectAll('.' + POPUP);
|
|
1596
1596
|
allPopup.forEach((elem) => {
|
|
1597
|
-
if (this.element.id === elem.id.split('-')[2] ||
|
|
1597
|
+
if (this.element.id === elem.id.split('-')[2] || (this.element.id.includes('-') && elem.id.includes(this.element.id))) {
|
|
1598
1598
|
popups.push(elem);
|
|
1599
1599
|
}
|
|
1600
1600
|
});
|
|
@@ -3920,6 +3920,8 @@ let Toolbar = class Toolbar extends Component {
|
|
|
3920
3920
|
this.isVertical = this.element.classList.contains(CLS_VERTICAL) ? true : false;
|
|
3921
3921
|
this.isExtendedOpen = false;
|
|
3922
3922
|
this.popupPriCount = 0;
|
|
3923
|
+
const localeText = { overflow: 'overflow' };
|
|
3924
|
+
this.l10n = new L10n(this.getModuleName(), localeText, this.locale);
|
|
3923
3925
|
if (this.enableRtl) {
|
|
3924
3926
|
this.add(this.element, CLS_RTL$2);
|
|
3925
3927
|
}
|
|
@@ -4691,7 +4693,7 @@ let Toolbar = class Toolbar extends Component {
|
|
|
4691
4693
|
this.createPopupEle(ele, [].slice.call(selectAll('.' + CLS_ITEMS + ' .' + CLS_ITEM, ele)));
|
|
4692
4694
|
const ariaAttr = {
|
|
4693
4695
|
'tabindex': '0', 'role': 'button', 'aria-haspopup': 'true',
|
|
4694
|
-
'aria-label': 'overflow'
|
|
4696
|
+
'aria-label': this.l10n.getConstant('overflow')
|
|
4695
4697
|
};
|
|
4696
4698
|
attributes(this.element.querySelector('.' + CLS_TBARNAV), ariaAttr);
|
|
4697
4699
|
}
|