@syncfusion/ej2-ribbon 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-ribbon.umd.min.js +2 -2
- package/dist/ej2-ribbon.umd.min.js.map +1 -1
- package/dist/es6/ej2-ribbon.es2015.js +4 -2
- package/dist/es6/ej2-ribbon.es2015.js.map +1 -1
- package/dist/es6/ej2-ribbon.es5.js +4 -2
- package/dist/es6/ej2-ribbon.es5.js.map +1 -1
- package/dist/global/ej2-ribbon.min.js +2 -2
- package/dist/global/ej2-ribbon.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +5 -5
- package/src/ribbon/base/ribbon.js +4 -2
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 30.1.
|
|
3
|
+
* version : 30.1.41
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2024. 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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-ribbon",
|
|
3
|
-
"version": "30.1.
|
|
3
|
+
"version": "30.1.41",
|
|
4
4
|
"description": "Essential JS 2 Component",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@syncfusion/ej2-base": "~30.1.38",
|
|
13
13
|
"@syncfusion/ej2-buttons": "~30.1.37",
|
|
14
|
-
"@syncfusion/ej2-dropdowns": "~30.1.
|
|
15
|
-
"@syncfusion/ej2-lists": "~30.1.
|
|
16
|
-
"@syncfusion/ej2-navigations": "~30.1.
|
|
17
|
-
"@syncfusion/ej2-popups": "~30.1.
|
|
14
|
+
"@syncfusion/ej2-dropdowns": "~30.1.41",
|
|
15
|
+
"@syncfusion/ej2-lists": "~30.1.41",
|
|
16
|
+
"@syncfusion/ej2-navigations": "~30.1.41",
|
|
17
|
+
"@syncfusion/ej2-popups": "~30.1.40",
|
|
18
18
|
"@syncfusion/ej2-splitbuttons": "~30.1.39"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {},
|
|
@@ -388,14 +388,16 @@ var Ribbon = /** @class */ (function (_super) {
|
|
|
388
388
|
};
|
|
389
389
|
Ribbon.prototype.resizeHandler = function () {
|
|
390
390
|
var activeContent = this.tabObj.element.querySelector('#' + this.tabs[this.selectedTab].id + constants.CONTENT_ID);
|
|
391
|
-
|
|
391
|
+
if (!isNullOrUndefined(activeContent)) {
|
|
392
|
+
this.checkOverflow(this.selectedTab, activeContent);
|
|
393
|
+
}
|
|
392
394
|
if (this.scrollModule) {
|
|
393
395
|
var scrollEle = this.tabObj.element.querySelector('.' + constants.HORIZONTAL_SCROLLBAR);
|
|
394
396
|
this.scrollModule.scrollStep = scrollEle.offsetWidth;
|
|
395
397
|
}
|
|
396
398
|
if (this.activeLayout === 'Simplified') {
|
|
397
399
|
var activePopup = document.querySelectorAll('.e-ribbon .e-dropdown-btn.e-active, .e-ribbon-group-overflow-ddb .e-dropdown-btn.e-active');
|
|
398
|
-
if (activePopup.length) {
|
|
400
|
+
if (!isNullOrUndefined(activePopup) && activePopup.length) {
|
|
399
401
|
for (var i = 0; i < activePopup.length; i++) {
|
|
400
402
|
var dropDownBtn = getInstance(activePopup[parseInt(i.toString(), 10)], DropDownButton);
|
|
401
403
|
dropDownBtn.toggle();
|