@syncfusion/ej2-splitbuttons 27.1.50 → 27.2.2
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-splitbuttons.min.js +2 -2
- package/dist/ej2-splitbuttons.umd.min.js +2 -2
- package/dist/ej2-splitbuttons.umd.min.js.map +1 -1
- package/dist/es6/ej2-splitbuttons.es2015.js +18 -3
- package/dist/es6/ej2-splitbuttons.es2015.js.map +1 -1
- package/dist/es6/ej2-splitbuttons.es5.js +18 -3
- package/dist/es6/ej2-splitbuttons.es5.js.map +1 -1
- package/dist/global/ej2-splitbuttons.min.js +2 -2
- package/dist/global/ej2-splitbuttons.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +7 -7
- package/src/drop-down-button/drop-down-button.js +17 -2
- package/styles/bootstrap-dark-lite.css +3 -0
- package/styles/bootstrap-dark.css +3 -0
- package/styles/bootstrap-lite.css +3 -0
- package/styles/bootstrap.css +3 -0
- package/styles/bootstrap4-lite.css +3 -0
- package/styles/bootstrap4.css +3 -0
- package/styles/bootstrap5-dark-lite.css +3 -0
- package/styles/bootstrap5-dark.css +3 -0
- package/styles/bootstrap5-lite.css +3 -0
- package/styles/bootstrap5.3-lite.css +3 -0
- package/styles/bootstrap5.3.css +3 -0
- package/styles/bootstrap5.css +3 -0
- package/styles/drop-down-button/_layout.scss +4 -0
- package/styles/drop-down-button/bootstrap-dark.css +3 -0
- package/styles/drop-down-button/bootstrap.css +3 -0
- package/styles/drop-down-button/bootstrap4.css +3 -0
- package/styles/drop-down-button/bootstrap5-dark.css +3 -0
- package/styles/drop-down-button/bootstrap5.3.css +3 -0
- package/styles/drop-down-button/bootstrap5.css +3 -0
- package/styles/drop-down-button/fabric-dark.css +3 -0
- package/styles/drop-down-button/fabric.css +3 -0
- package/styles/drop-down-button/fluent-dark.css +3 -0
- package/styles/drop-down-button/fluent.css +3 -0
- package/styles/drop-down-button/fluent2.css +3 -0
- package/styles/drop-down-button/highcontrast-light.css +3 -0
- package/styles/drop-down-button/highcontrast.css +3 -0
- package/styles/drop-down-button/material-dark.css +3 -0
- package/styles/drop-down-button/material.css +3 -0
- package/styles/drop-down-button/material3-dark.css +3 -0
- package/styles/drop-down-button/material3.css +3 -0
- package/styles/drop-down-button/tailwind-dark.css +3 -0
- package/styles/drop-down-button/tailwind.css +3 -0
- package/styles/fabric-dark-lite.css +3 -0
- package/styles/fabric-dark.css +3 -0
- package/styles/fabric-lite.css +3 -0
- package/styles/fabric.css +3 -0
- package/styles/fluent-dark-lite.css +3 -0
- package/styles/fluent-dark.css +3 -0
- package/styles/fluent-lite.css +3 -0
- package/styles/fluent.css +3 -0
- package/styles/fluent2-lite.css +3 -0
- package/styles/fluent2.css +3 -0
- package/styles/highcontrast-light-lite.css +3 -0
- package/styles/highcontrast-light.css +3 -0
- package/styles/highcontrast-lite.css +3 -0
- package/styles/highcontrast.css +3 -0
- package/styles/material-dark-lite.css +3 -0
- package/styles/material-dark.css +3 -0
- package/styles/material-lite.css +3 -0
- package/styles/material.css +3 -0
- package/styles/material3-dark-lite.css +3 -0
- package/styles/material3-dark.css +3 -0
- package/styles/material3-lite.css +3 -0
- package/styles/material3.css +3 -0
- package/styles/tailwind-dark-lite.css +3 -0
- package/styles/tailwind-dark.css +3 -0
- package/styles/tailwind-lite.css +3 -0
- package/styles/tailwind.css +3 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 27.
|
|
3
|
+
* version : 27.2.2
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. 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,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-splitbuttons@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-splitbuttons@27.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-splitbuttons@27.1.56",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-rJZwautGwePeXpivvTf3CtX5onDTq3ICFxGlMENTp5kZrm1ni+0prSqomwv0HPC631vxxrKC8JTFC6lZOzJMcQ==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-splitbuttons",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"/@syncfusion/ej2-richtexteditor",
|
|
34
34
|
"/@syncfusion/ej2-vue-splitbuttons"
|
|
35
35
|
],
|
|
36
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-splitbuttons/-/ej2-splitbuttons-27.1.
|
|
37
|
-
"_shasum": "
|
|
36
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-splitbuttons/-/ej2-splitbuttons-27.1.56.tgz",
|
|
37
|
+
"_shasum": "c94706216183d6159818350bdeef51567ac5d2a5",
|
|
38
38
|
"_spec": "@syncfusion/ej2-splitbuttons@*",
|
|
39
39
|
"_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
|
|
40
40
|
"author": {
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
},
|
|
46
46
|
"bundleDependencies": false,
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@syncfusion/ej2-base": "~27.
|
|
49
|
-
"@syncfusion/ej2-popups": "~27.
|
|
48
|
+
"@syncfusion/ej2-base": "~27.2.2",
|
|
49
|
+
"@syncfusion/ej2-popups": "~27.2.2"
|
|
50
50
|
},
|
|
51
51
|
"deprecated": false,
|
|
52
52
|
"description": "A package of feature-rich Essential JS 2 components such as DropDownButton, SplitButton, ProgressButton and ButtonGroup.",
|
|
@@ -89,6 +89,6 @@
|
|
|
89
89
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
90
90
|
},
|
|
91
91
|
"typings": "index.d.ts",
|
|
92
|
-
"version": "27.
|
|
92
|
+
"version": "27.2.2",
|
|
93
93
|
"sideEffects": false
|
|
94
94
|
}
|
|
@@ -184,6 +184,12 @@ var DropDownButton = /** @class */ (function (_super) {
|
|
|
184
184
|
addClass([div], this.cssClass.replace(/\s+/g, ' ').trim().split(' '));
|
|
185
185
|
}
|
|
186
186
|
this.isPopupCreated = true;
|
|
187
|
+
if (this.createPopupOnClick) {
|
|
188
|
+
var splitButton = getComponent(this.activeElem[0], 'split-btn');
|
|
189
|
+
if (splitButton) {
|
|
190
|
+
splitButton.isPopupCreated = true;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
187
193
|
};
|
|
188
194
|
DropDownButton.prototype.getTargetElement = function () {
|
|
189
195
|
if (this.createPopupOnClick && !this.isColorPicker() && !isNullOrUndefined(this.popupContent)) {
|
|
@@ -389,6 +395,13 @@ var DropDownButton = /** @class */ (function (_super) {
|
|
|
389
395
|
}
|
|
390
396
|
}
|
|
391
397
|
this.isPopupCreated = false;
|
|
398
|
+
var splitButton = getComponent(this.activeElem[0], 'split-btn');
|
|
399
|
+
if (this.createPopupOnClick && splitButton) {
|
|
400
|
+
var dropDownButton = getComponent(this.activeElem[1], 'dropdown-btn');
|
|
401
|
+
if (dropDownButton) {
|
|
402
|
+
dropDownButton.isPopupCreated = false;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
392
405
|
};
|
|
393
406
|
DropDownButton.prototype.getPopUpElement = function () {
|
|
394
407
|
var val = null;
|
|
@@ -526,7 +539,7 @@ var DropDownButton = /** @class */ (function (_super) {
|
|
|
526
539
|
};
|
|
527
540
|
DropDownButton.prototype.mousedownHandler = function (e) {
|
|
528
541
|
var trgt = e.target;
|
|
529
|
-
if (this.dropDown && !this.canOpen() && !(closest(trgt, '[id="' + this.getPopUpElement().id + '"]')
|
|
542
|
+
if (this.dropDown && !this.canOpen() && this.getPopUpElement() && !(closest(trgt, '[id="' + this.getPopUpElement().id + '"]')
|
|
530
543
|
|| closest(trgt, '[id="' + this.element.id + '"]'))) {
|
|
531
544
|
this.closePopup(e);
|
|
532
545
|
}
|
|
@@ -683,7 +696,9 @@ var DropDownButton = /** @class */ (function (_super) {
|
|
|
683
696
|
if (selectedLi) {
|
|
684
697
|
selectedLi.classList.remove('e-selected');
|
|
685
698
|
}
|
|
686
|
-
_this.dropDown
|
|
699
|
+
if (_this.dropDown) {
|
|
700
|
+
_this.dropDown.hide();
|
|
701
|
+
}
|
|
687
702
|
removeClass(_this.activeElem, 'e-active');
|
|
688
703
|
_this.element.setAttribute('aria-expanded', 'false');
|
|
689
704
|
_this.element.removeAttribute('aria-owns');
|
package/styles/bootstrap.css
CHANGED
package/styles/bootstrap4.css
CHANGED
package/styles/bootstrap5.3.css
CHANGED
package/styles/bootstrap5.css
CHANGED
package/styles/fabric-dark.css
CHANGED
package/styles/fabric-lite.css
CHANGED
package/styles/fabric.css
CHANGED
package/styles/fluent-dark.css
CHANGED
package/styles/fluent-lite.css
CHANGED
package/styles/fluent.css
CHANGED
package/styles/fluent2-lite.css
CHANGED
package/styles/fluent2.css
CHANGED
package/styles/highcontrast.css
CHANGED
package/styles/material-dark.css
CHANGED
package/styles/material-lite.css
CHANGED
package/styles/material.css
CHANGED