@syncfusion/ej2-navigations 20.1.57 → 20.1.58
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 +6 -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 +6 -2
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +6 -2
- 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/tab/tab.js +6 -2
- package/styles/bootstrap5-dark.css +1 -1
- package/styles/bootstrap5.css +1 -1
- package/styles/treeview/_bootstrap5-definition.scss +1 -1
- package/styles/treeview/bootstrap5-dark.css +1 -1
- package/styles/treeview/bootstrap5.css +1 -1
|
@@ -7565,7 +7565,7 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
|
|
|
7565
7565
|
this.tbObj = null;
|
|
7566
7566
|
}
|
|
7567
7567
|
this.unWireEvents();
|
|
7568
|
-
['role', 'aria-disabled', 'aria-activedescendant', 'tabindex', 'aria-orientation'].forEach(function (val) {
|
|
7568
|
+
['role', 'aria-disabled', 'aria-activedescendant', 'tabindex', 'aria-orientation', 'aria-owns'].forEach(function (val) {
|
|
7569
7569
|
_this.element.removeAttribute(val);
|
|
7570
7570
|
});
|
|
7571
7571
|
this.expTemplateContent();
|
|
@@ -7646,7 +7646,7 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
|
|
|
7646
7646
|
var css = (name === 'msie') ? 'e-ie' : (name === 'edge') ? 'e-edge' : (name === 'safari') ? 'e-safari' : '';
|
|
7647
7647
|
setStyleAttribute(this.element, { 'width': formatUnit(this.width), 'height': formatUnit(this.height) });
|
|
7648
7648
|
this.setCssClass(this.element, this.cssClass, true);
|
|
7649
|
-
attributes(this.element, { role: 'tablist', 'aria-disabled': 'false', 'aria-activedescendant': '' });
|
|
7649
|
+
attributes(this.element, { role: 'tablist', 'aria-disabled': 'false', 'aria-activedescendant': '', 'aria-owns': this.element.id + '_' + 'tab_header_items' });
|
|
7650
7650
|
this.setCssClass(this.element, css, true);
|
|
7651
7651
|
this.updatePopAnimationConfig();
|
|
7652
7652
|
};
|
|
@@ -7831,6 +7831,10 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
|
|
|
7831
7831
|
attributes(this.hdrEle, { 'aria-label': 'tab-header' });
|
|
7832
7832
|
this.updateOrientationAttribute();
|
|
7833
7833
|
this.setCloseButton(this.showCloseButton);
|
|
7834
|
+
var toolbarHeader = this.tbObj.element.querySelector('.' + CLS_TB_ITEMS);
|
|
7835
|
+
if (!isNullOrUndefined(toolbarHeader)) {
|
|
7836
|
+
toolbarHeader.id = this.element.id + '_' + 'tab_header_items';
|
|
7837
|
+
}
|
|
7834
7838
|
};
|
|
7835
7839
|
Tab.prototype.renderContent = function () {
|
|
7836
7840
|
this.cntEle = select('.' + CLS_CONTENT$1, this.element);
|