@syncfusion/ej2-dropdowns 21.2.3 → 21.2.4

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 21.2.3
3
+ * version : 21.2.4
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.41",
3
+ "_id": "@syncfusion/ej2-dropdowns@21.2.3",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-fGCFMQTf1sX1JtwnvrMUCA/0OmBSP524aR5DSIiLe3bbyJKx3xIbd2z8o9swzK+Kq5bzvg25UN817Mo5CqDLHA==",
5
+ "_integrity": "sha512-JVKNtitfN3J8767lItvh9Cr49uUeoupwGDWFWma9orTNjrX4YDbkVwlzJpxDzMShBL5dh3HI/rfL/EJl/wal+Q==",
6
6
  "_location": "/@syncfusion/ej2-dropdowns",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,6 +19,7 @@
19
19
  "_requiredBy": [
20
20
  "/",
21
21
  "/@syncfusion/ej2",
22
+ "/@syncfusion/ej2-angular-dropdowns",
22
23
  "/@syncfusion/ej2-documenteditor",
23
24
  "/@syncfusion/ej2-gantt",
24
25
  "/@syncfusion/ej2-grids",
@@ -27,12 +28,14 @@
27
28
  "/@syncfusion/ej2-pdfviewer",
28
29
  "/@syncfusion/ej2-pivotview",
29
30
  "/@syncfusion/ej2-querybuilder",
31
+ "/@syncfusion/ej2-react-dropdowns",
30
32
  "/@syncfusion/ej2-ribbon",
31
33
  "/@syncfusion/ej2-schedule",
32
- "/@syncfusion/ej2-spreadsheet"
34
+ "/@syncfusion/ej2-spreadsheet",
35
+ "/@syncfusion/ej2-vue-dropdowns"
33
36
  ],
34
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-21.1.41.tgz",
35
- "_shasum": "d1072405526b8a4c689fd8809d57a6717e641739",
37
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-21.2.3.tgz",
38
+ "_shasum": "799212ce84da0ada5709d13902bd03562f50e0f3",
36
39
  "_spec": "@syncfusion/ej2-dropdowns@*",
37
40
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
38
41
  "author": {
@@ -41,11 +44,11 @@
41
44
  "bundleDependencies": false,
42
45
  "dependencies": {
43
46
  "@syncfusion/ej2-base": "~21.2.3",
44
- "@syncfusion/ej2-data": "~21.2.3",
45
- "@syncfusion/ej2-inputs": "~21.2.3",
47
+ "@syncfusion/ej2-data": "~21.2.4",
48
+ "@syncfusion/ej2-inputs": "~21.2.4",
46
49
  "@syncfusion/ej2-lists": "~21.2.3",
47
- "@syncfusion/ej2-navigations": "~21.2.3",
48
- "@syncfusion/ej2-popups": "~21.2.3"
50
+ "@syncfusion/ej2-navigations": "~21.2.4",
51
+ "@syncfusion/ej2-popups": "~21.2.4"
49
52
  },
50
53
  "deprecated": false,
51
54
  "description": "Essential JS 2 DropDown Components",
@@ -70,7 +73,7 @@
70
73
  "module": "./index.js",
71
74
  "name": "@syncfusion/ej2-dropdowns",
72
75
  "typings": "index.d.ts",
73
- "version": "21.2.3",
76
+ "version": "21.2.4",
74
77
  "sideEffects": false,
75
78
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
76
79
  }
@@ -249,9 +249,18 @@ var DropDownBase = /** @class */ (function (_super) {
249
249
  if (noDataCompTemp && noDataCompTemp.length > 0) {
250
250
  for (var i = 0; i < noDataCompTemp.length; i++) {
251
251
  if (this.getModuleName() === 'listbox' && templateName === 'noRecordsTemplate') {
252
- noDataCompTemp[i].classList.add('e-list-nr-template');
252
+ if (noDataCompTemp[i].nodeName === '#text') {
253
+ var liElem = this.createElement('li');
254
+ liElem.textContent = noDataCompTemp[i].textContent;
255
+ liElem.classList.add('e-list-nrt');
256
+ liElem.setAttribute('role', 'option');
257
+ ele.appendChild(liElem);
258
+ }
259
+ else {
260
+ noDataCompTemp[i].classList.add('e-list-nr-template');
261
+ ele.appendChild(noDataCompTemp[i]);
262
+ }
253
263
  }
254
- ele.appendChild(noDataCompTemp[i]);
255
264
  }
256
265
  }
257
266
  this.renderReactTemplates();
@@ -2796,6 +2796,7 @@ var DropDownList = /** @class */ (function (_super) {
2796
2796
  this.header = null;
2797
2797
  this.previousSelectedLI = null;
2798
2798
  this.valueTempElement = null;
2799
+ this.actionData.ulElement = null;
2799
2800
  _super.prototype.destroy.call(this);
2800
2801
  };
2801
2802
  /* eslint-disable valid-jsdoc, jsdoc/require-returns-description */
@@ -1974,11 +1974,13 @@ var ListBox = /** @class */ (function (_super) {
1974
1974
  if (!isSelect && liselect || isSelect && !liselect && li) {
1975
1975
  if (_this.selectionSettings.showCheckbox) {
1976
1976
  _this.notify('updatelist', { li: li, module: 'listbox' });
1977
+ li.focus();
1977
1978
  }
1978
1979
  else {
1979
1980
  if (isSelect) {
1980
1981
  li.classList.add(cssClass.selected);
1981
1982
  li.setAttribute('aria-selected', 'true');
1983
+ li.focus();
1982
1984
  }
1983
1985
  else {
1984
1986
  li.classList.remove(cssClass.selected);