@syncfusion/ej2-splitbuttons 20.4.38 → 20.4.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/CHANGELOG.md +11 -0
- package/README.md +1 -1
- 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 +12 -6
- package/dist/es6/ej2-splitbuttons.es2015.js.map +1 -1
- package/dist/es6/ej2-splitbuttons.es5.js +12 -5
- 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 +8 -8
- package/src/drop-down-button/drop-down-button.js +11 -5
- package/src/progress-button/progress-button-model.d.ts +1 -1
- package/src/progress-button/progress-button.d.ts +1 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.4.
|
|
3
|
+
* version : 20.4.42
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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@
|
|
3
|
+
"_id": "@syncfusion/ej2-splitbuttons@20.4.40",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-gwQMpFB0eptj4OvR+h81m2JoQjU/MWNxpudKCz59KwM2MqRC7hko4aS7HQXfFhe1ibOJbC+v3of25Y8xu6768Q==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-splitbuttons",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"/@syncfusion/ej2-richtexteditor",
|
|
33
33
|
"/@syncfusion/ej2-vue-splitbuttons"
|
|
34
34
|
],
|
|
35
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-
|
|
36
|
-
"_shasum": "
|
|
35
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-splitbuttons/-/ej2-splitbuttons-20.4.40.tgz",
|
|
36
|
+
"_shasum": "79574125f09cec61f8c96a0f96ff0b7ee4b4b89a",
|
|
37
37
|
"_spec": "@syncfusion/ej2-splitbuttons@*",
|
|
38
38
|
"_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
|
|
39
39
|
"author": {
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
},
|
|
45
45
|
"bundleDependencies": false,
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@syncfusion/ej2-base": "~20.4.
|
|
48
|
-
"@syncfusion/ej2-popups": "~20.4.
|
|
47
|
+
"@syncfusion/ej2-base": "~20.4.42",
|
|
48
|
+
"@syncfusion/ej2-popups": "~20.4.42"
|
|
49
49
|
},
|
|
50
50
|
"deprecated": false,
|
|
51
51
|
"description": "A package of feature-rich Essential JS 2 components such as DropDownButton, SplitButton, ProgressButton and ButtonGroup.",
|
|
52
52
|
"devDependencies": {},
|
|
53
53
|
"es2015": "./dist/es6/ej2-splitbuttons.es5.js",
|
|
54
|
-
"homepage": "https://
|
|
54
|
+
"homepage": "https://www.syncfusion.com/javascript-ui-controls",
|
|
55
55
|
"keywords": [
|
|
56
56
|
"ej2",
|
|
57
57
|
"syncfusion",
|
|
@@ -88,6 +88,6 @@
|
|
|
88
88
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
89
89
|
},
|
|
90
90
|
"typings": "index.d.ts",
|
|
91
|
-
"version": "20.4.
|
|
91
|
+
"version": "20.4.42",
|
|
92
92
|
"sideEffects": false
|
|
93
93
|
}
|
|
@@ -169,7 +169,6 @@ var DropDownButton = /** @class */ (function (_super) {
|
|
|
169
169
|
attributes(this.element, (_a = {},
|
|
170
170
|
_a['aria-haspopup'] = this.items.length || this.target ? 'true' : 'false',
|
|
171
171
|
_a['aria-expanded'] = 'false',
|
|
172
|
-
_a['aria-owns'] = this.getPopUpElement().id,
|
|
173
172
|
_a['type'] = 'button',
|
|
174
173
|
_a['aria-label'] = this.element.textContent ? this.element.textContent : 'dropdownbutton',
|
|
175
174
|
_a));
|
|
@@ -568,6 +567,7 @@ var DropDownButton = /** @class */ (function (_super) {
|
|
|
568
567
|
_this.dropDown.show(null, _this.element);
|
|
569
568
|
addClass([_this.element], 'e-active');
|
|
570
569
|
_this.element.setAttribute('aria-expanded', 'true');
|
|
570
|
+
_this.element.setAttribute('aria-owns', _this.getPopUpElement().id);
|
|
571
571
|
if (ul_1) {
|
|
572
572
|
ul_1.focus();
|
|
573
573
|
}
|
|
@@ -581,12 +581,12 @@ var DropDownButton = /** @class */ (function (_super) {
|
|
|
581
581
|
if (e === void 0) { e = null; }
|
|
582
582
|
var ul = this.getULElement();
|
|
583
583
|
var beforeCloseArgs = { element: ul, items: this.items, event: e, cancel: false };
|
|
584
|
-
var popupElement = this.getPopUpElement();
|
|
585
|
-
if (popupElement) {
|
|
586
|
-
EventHandler.remove(popupElement, 'keydown', this.keyBoardHandler);
|
|
587
|
-
}
|
|
588
584
|
this.trigger('beforeClose', beforeCloseArgs, function (observedArgs) {
|
|
589
585
|
if (!observedArgs.cancel) {
|
|
586
|
+
var popupElement = _this.getPopUpElement();
|
|
587
|
+
if (popupElement) {
|
|
588
|
+
EventHandler.remove(popupElement, 'keydown', _this.keyBoardHandler);
|
|
589
|
+
}
|
|
590
590
|
_this.popupUnWireEvents();
|
|
591
591
|
var ul_2 = _this.getULElement();
|
|
592
592
|
var selectedLi = void 0;
|
|
@@ -599,6 +599,7 @@ var DropDownButton = /** @class */ (function (_super) {
|
|
|
599
599
|
_this.dropDown.hide();
|
|
600
600
|
removeClass(_this.activeElem, 'e-active');
|
|
601
601
|
_this.element.setAttribute('aria-expanded', 'false');
|
|
602
|
+
_this.element.removeAttribute('aria-owns');
|
|
602
603
|
if (focusEle) {
|
|
603
604
|
focusEle.focus();
|
|
604
605
|
}
|
|
@@ -616,6 +617,11 @@ var DropDownButton = /** @class */ (function (_super) {
|
|
|
616
617
|
_this.isPopupCreated = _this.createPopupOnClick ? false : true;
|
|
617
618
|
}
|
|
618
619
|
}
|
|
620
|
+
else {
|
|
621
|
+
if (ul) {
|
|
622
|
+
ul.focus();
|
|
623
|
+
}
|
|
624
|
+
}
|
|
619
625
|
});
|
|
620
626
|
};
|
|
621
627
|
DropDownButton.prototype.unWireEvents = function () {
|
|
@@ -96,7 +96,7 @@ export interface ProgressButtonModel {
|
|
|
96
96
|
*
|
|
97
97
|
* @default "Left"
|
|
98
98
|
*/
|
|
99
|
-
iconPosition?: IconPosition;
|
|
99
|
+
iconPosition?: IconPosition | string;
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
102
|
* Defines class/multiple classes separated by a space for the progress button that is used to include an icon.
|
|
@@ -102,7 +102,7 @@ export declare class ProgressButton extends Button implements INotifyPropertyCha
|
|
|
102
102
|
*
|
|
103
103
|
* @default "Left"
|
|
104
104
|
*/
|
|
105
|
-
iconPosition: IconPosition;
|
|
105
|
+
iconPosition: IconPosition | string;
|
|
106
106
|
/**
|
|
107
107
|
* Defines class/multiple classes separated by a space for the progress button that is used to include an icon.
|
|
108
108
|
* Progress button can also include font icon and sprite image.
|