@syncfusion/ej2-lists 20.3.56 → 20.4.40
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/.eslintrc.json +16 -1
- package/CHANGELOG.md +1 -9
- package/dist/ej2-lists.min.js +2 -2
- package/dist/ej2-lists.umd.min.js +2 -2
- package/dist/ej2-lists.umd.min.js.map +1 -1
- package/dist/es6/ej2-lists.es2015.js +6 -2
- package/dist/es6/ej2-lists.es2015.js.map +1 -1
- package/dist/es6/ej2-lists.es5.js +6 -2
- package/dist/es6/ej2-lists.es5.js.map +1 -1
- package/dist/global/ej2-lists.min.js +2 -2
- package/dist/global/ej2-lists.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +10 -9
- package/src/common/list-base.js +3 -0
- package/src/list-view/list-view.js +3 -2
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.
|
|
3
|
+
* version : 20.4.40
|
|
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-lists@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-lists@20.
|
|
3
|
+
"_id": "@syncfusion/ej2-lists@20.4.38",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-g8HbXoBoYNWShdPkOpIZfE14+YC4gTWAYMNCkNBfr2uIVCnCxgATIWVonpjc+O94bDGZQ/jRwxBcEU64moYc/g==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-lists",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"/@syncfusion/ej2-schedule",
|
|
35
35
|
"/@syncfusion/ej2-vue-lists"
|
|
36
36
|
],
|
|
37
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-lists/-/ej2-lists-20.
|
|
38
|
-
"_shasum": "
|
|
37
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-lists/-/ej2-lists-20.4.38.tgz",
|
|
38
|
+
"_shasum": "b2b583a6b1ac5fc36d13835fa89d4c8b0fd750a8",
|
|
39
39
|
"_spec": "@syncfusion/ej2-lists@*",
|
|
40
40
|
"_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
|
|
41
41
|
"author": {
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
},
|
|
44
44
|
"bundleDependencies": false,
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@syncfusion/ej2-base": "~20.
|
|
47
|
-
"@syncfusion/ej2-buttons": "~20.
|
|
48
|
-
"@syncfusion/ej2-data": "~20.
|
|
46
|
+
"@syncfusion/ej2-base": "~20.4.40",
|
|
47
|
+
"@syncfusion/ej2-buttons": "~20.4.40",
|
|
48
|
+
"@syncfusion/ej2-data": "~20.4.40"
|
|
49
49
|
},
|
|
50
50
|
"deprecated": false,
|
|
51
51
|
"description": "The listview control allows you to select an item or multiple items from a list-like interface and represents the data in interactive hierarchical structure across different layouts or views.",
|
|
@@ -85,6 +85,7 @@
|
|
|
85
85
|
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/lists"
|
|
86
86
|
},
|
|
87
87
|
"typings": "index.d.ts",
|
|
88
|
-
"version": "20.
|
|
89
|
-
"sideEffects": false
|
|
88
|
+
"version": "20.4.40",
|
|
89
|
+
"sideEffects": false,
|
|
90
|
+
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
90
91
|
}
|
package/src/common/list-base.js
CHANGED
|
@@ -280,6 +280,9 @@ export var ListBase;
|
|
|
280
280
|
li = generateLI(createElement, curItem, fieldData, fields, curOpt.itemClass, options, componentInstance);
|
|
281
281
|
li.classList.add(cssClass.level + '-' + ariaAttributes.level);
|
|
282
282
|
li.setAttribute('aria-level', ariaAttributes.level.toString());
|
|
283
|
+
if (ariaAttributes.groupItemRole == 'presentation') {
|
|
284
|
+
li.removeAttribute('aria-level');
|
|
285
|
+
}
|
|
283
286
|
anchorElement = li.querySelector('.' + cssClass.anchorWrap);
|
|
284
287
|
// eslint-disable-next-line no-prototype-builtins
|
|
285
288
|
if (fieldData.hasOwnProperty(fields.tooltip)) {
|
|
@@ -420,8 +420,8 @@ var ListView = /** @class */ (function (_super) {
|
|
|
420
420
|
headerTemplate: this.headerTemplate,
|
|
421
421
|
groupTemplate: this.groupTemplate, expandCollapse: true, listClass: '',
|
|
422
422
|
ariaAttributes: {
|
|
423
|
-
itemRole: '
|
|
424
|
-
groupItemRole: '
|
|
423
|
+
itemRole: 'listitem', listRole: 'group', itemText: '',
|
|
424
|
+
groupItemRole: 'presentation', wrapperRole: 'presentation'
|
|
425
425
|
},
|
|
426
426
|
// eslint-disable-next-line
|
|
427
427
|
fields: (this.fields.properties),
|
|
@@ -479,6 +479,7 @@ var ListView = /** @class */ (function (_super) {
|
|
|
479
479
|
this.checkInternally(args, checkboxElement);
|
|
480
480
|
}
|
|
481
481
|
checkboxElement.setAttribute('aria-checked', frameElement_1.classList.contains(classNames.checked) ? 'true' : 'false');
|
|
482
|
+
checkboxElement.setAttribute('aria-label', 'checkbox');
|
|
482
483
|
if (this.checkBoxPosition === 'Left') {
|
|
483
484
|
checkboxElement.classList.add(classNames.checkboxLeft);
|
|
484
485
|
args.item.firstElementChild.classList.add(classNames.checkboxLeft);
|