@syncfusion/ej2-dropdowns 21.1.41 → 21.2.3
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 +8 -0
- package/dist/ej2-dropdowns.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +9 -2
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +9 -2
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +2 -2
- package/dist/global/ej2-dropdowns.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +12 -15
- package/src/drop-down-tree/drop-down-tree.js +2 -2
- package/src/list-box/list-box.js +7 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 21.
|
|
3
|
+
* version : 21.2.3
|
|
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-dropdowns@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-dropdowns@21.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-dropdowns@21.1.41",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-fGCFMQTf1sX1JtwnvrMUCA/0OmBSP524aR5DSIiLe3bbyJKx3xIbd2z8o9swzK+Kq5bzvg25UN817Mo5CqDLHA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-dropdowns",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/",
|
|
21
21
|
"/@syncfusion/ej2",
|
|
22
|
-
"/@syncfusion/ej2-angular-dropdowns",
|
|
23
22
|
"/@syncfusion/ej2-documenteditor",
|
|
24
23
|
"/@syncfusion/ej2-gantt",
|
|
25
24
|
"/@syncfusion/ej2-grids",
|
|
@@ -28,14 +27,12 @@
|
|
|
28
27
|
"/@syncfusion/ej2-pdfviewer",
|
|
29
28
|
"/@syncfusion/ej2-pivotview",
|
|
30
29
|
"/@syncfusion/ej2-querybuilder",
|
|
31
|
-
"/@syncfusion/ej2-react-dropdowns",
|
|
32
30
|
"/@syncfusion/ej2-ribbon",
|
|
33
31
|
"/@syncfusion/ej2-schedule",
|
|
34
|
-
"/@syncfusion/ej2-spreadsheet"
|
|
35
|
-
"/@syncfusion/ej2-vue-dropdowns"
|
|
32
|
+
"/@syncfusion/ej2-spreadsheet"
|
|
36
33
|
],
|
|
37
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-21.1.
|
|
38
|
-
"_shasum": "
|
|
34
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-21.1.41.tgz",
|
|
35
|
+
"_shasum": "d1072405526b8a4c689fd8809d57a6717e641739",
|
|
39
36
|
"_spec": "@syncfusion/ej2-dropdowns@*",
|
|
40
37
|
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
41
38
|
"author": {
|
|
@@ -43,12 +40,12 @@
|
|
|
43
40
|
},
|
|
44
41
|
"bundleDependencies": false,
|
|
45
42
|
"dependencies": {
|
|
46
|
-
"@syncfusion/ej2-base": "~21.
|
|
47
|
-
"@syncfusion/ej2-data": "~21.
|
|
48
|
-
"@syncfusion/ej2-inputs": "~21.
|
|
49
|
-
"@syncfusion/ej2-lists": "~21.
|
|
50
|
-
"@syncfusion/ej2-navigations": "~21.
|
|
51
|
-
"@syncfusion/ej2-popups": "~21.
|
|
43
|
+
"@syncfusion/ej2-base": "~21.2.3",
|
|
44
|
+
"@syncfusion/ej2-data": "~21.2.3",
|
|
45
|
+
"@syncfusion/ej2-inputs": "~21.2.3",
|
|
46
|
+
"@syncfusion/ej2-lists": "~21.2.3",
|
|
47
|
+
"@syncfusion/ej2-navigations": "~21.2.3",
|
|
48
|
+
"@syncfusion/ej2-popups": "~21.2.3"
|
|
52
49
|
},
|
|
53
50
|
"deprecated": false,
|
|
54
51
|
"description": "Essential JS 2 DropDown Components",
|
|
@@ -73,7 +70,7 @@
|
|
|
73
70
|
"module": "./index.js",
|
|
74
71
|
"name": "@syncfusion/ej2-dropdowns",
|
|
75
72
|
"typings": "index.d.ts",
|
|
76
|
-
"version": "21.
|
|
73
|
+
"version": "21.2.3",
|
|
77
74
|
"sideEffects": false,
|
|
78
75
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
79
76
|
}
|
|
@@ -862,7 +862,7 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
862
862
|
case 'moveDown':
|
|
863
863
|
var focusedElement = _this.treeObj.element.querySelector('li');
|
|
864
864
|
focusedElement.focus();
|
|
865
|
-
addClass([focusedElement], ['e-
|
|
865
|
+
addClass([focusedElement], ['e-node-focus']);
|
|
866
866
|
}
|
|
867
867
|
}
|
|
868
868
|
});
|
|
@@ -1541,7 +1541,7 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
1541
1541
|
&& _this.treeItems.length > 0)) {
|
|
1542
1542
|
var focusedElement = _this.treeObj.element.querySelector('li');
|
|
1543
1543
|
focusedElement.focus();
|
|
1544
|
-
addClass([focusedElement], ['e-
|
|
1544
|
+
addClass([focusedElement], ['e-node-focus']);
|
|
1545
1545
|
}
|
|
1546
1546
|
if (_this.checkSelectAll && _this.checkBoxElement) {
|
|
1547
1547
|
var wrap = closest(_this.checkBoxElement, '.' + CHECKBOXWRAP);
|
package/src/list-box/list-box.js
CHANGED
|
@@ -735,6 +735,13 @@ var ListBox = /** @class */ (function (_super) {
|
|
|
735
735
|
*/
|
|
736
736
|
ListBox.prototype.selectItems = function (items, state, isValue) {
|
|
737
737
|
if (state === void 0) { state = true; }
|
|
738
|
+
if (state && !this.selectionSettings.showCheckbox && this.selectionSettings.mode === 'Single') {
|
|
739
|
+
this.getSelectedItems().forEach(function (li) {
|
|
740
|
+
li.classList.remove('e-active');
|
|
741
|
+
li.removeAttribute('aria-selected');
|
|
742
|
+
removeClass([li], cssClass.selected);
|
|
743
|
+
});
|
|
744
|
+
}
|
|
738
745
|
this.setSelection(items, state, !isValue);
|
|
739
746
|
this.updateSelectedOptions();
|
|
740
747
|
};
|