@syncfusion/ej2-lists 20.3.51 → 20.4.38

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,3 +1,12 @@
1
+ /*!
2
+ * filename: index.d.ts
3
+ * version : 20.4.38
4
+ * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
+ * Use of this code is subject to the terms of our license.
6
+ * A copy of the current license can be obtained at any time by e-mailing
7
+ * licensing@syncfusion.com. Any infringement will be prosecuted under
8
+ * applicable laws.
9
+ */
1
10
  import * as _lists from '@syncfusion/ej2-lists';
2
11
 
3
12
  export declare namespace ej {
package/package.json CHANGED
@@ -1,90 +1,90 @@
1
1
  {
2
- "_from": "@syncfusion/ej2-lists@*",
3
- "_id": "@syncfusion/ej2-lists@20.3.47",
4
- "_inBundle": false,
5
- "_integrity": "sha512-YfsxlVZSwlmJPLDKEg2X0IdRZJV+4LKeWsENgUchVKQoZDSclRcK6JHte/t81/Dt0s5Wo/ft1/7dXapc/hDyDQ==",
6
- "_location": "/@syncfusion/ej2-lists",
7
- "_phantomChildren": {},
8
- "_requested": {
9
- "type": "range",
10
- "registry": true,
11
- "raw": "@syncfusion/ej2-lists@*",
12
- "name": "@syncfusion/ej2-lists",
13
- "escapedName": "@syncfusion%2fej2-lists",
14
- "scope": "@syncfusion",
15
- "rawSpec": "*",
16
- "saveSpec": null,
17
- "fetchSpec": "*"
18
- },
19
- "_requiredBy": [
20
- "/",
21
- "/@syncfusion/ej2",
22
- "/@syncfusion/ej2-angular-lists",
23
- "/@syncfusion/ej2-calendars",
24
- "/@syncfusion/ej2-diagrams",
25
- "/@syncfusion/ej2-dropdowns",
26
- "/@syncfusion/ej2-filemanager",
27
- "/@syncfusion/ej2-gantt",
28
- "/@syncfusion/ej2-grids",
29
- "/@syncfusion/ej2-inplace-editor",
30
- "/@syncfusion/ej2-navigations",
31
- "/@syncfusion/ej2-pdfviewer",
32
- "/@syncfusion/ej2-pivotview",
33
- "/@syncfusion/ej2-react-lists",
34
- "/@syncfusion/ej2-schedule",
35
- "/@syncfusion/ej2-vue-lists"
36
- ],
37
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-lists/-/ej2-lists-20.3.47.tgz",
38
- "_shasum": "3c2ab01c399234ebc5a481d88296a08b991f7591",
39
- "_spec": "@syncfusion/ej2-lists@*",
40
- "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
41
- "author": {
42
- "name": "Syncfusion Inc."
43
- },
44
- "bundleDependencies": false,
45
- "dependencies": {
46
- "@syncfusion/ej2-base": "~20.3.50",
47
- "@syncfusion/ej2-buttons": "~20.3.50",
48
- "@syncfusion/ej2-data": "~20.3.50"
49
- },
50
- "deprecated": false,
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.",
52
- "devDependencies": {},
53
- "es2015": "./dist/es6/ej2-lists.es5.js",
54
- "keywords": [
55
- "ej2",
56
- "Syncfusion",
57
- "web components",
58
- "virtualization",
59
- "group list",
60
- "check list",
61
- "listview with checkbox",
62
- "listview template",
63
- "material list",
64
- "ui listview",
65
- "remote listview",
66
- "nested view",
67
- "data list",
68
- "infinite list",
69
- "sort",
70
- "checkbox",
71
- "todo",
72
- "list widget",
73
- "list component",
74
- "mobile list",
75
- "list gestures",
76
- "es6 list",
77
- "dynamic list"
78
- ],
79
- "license": "SEE LICENSE IN license",
80
- "main": "./dist/ej2-lists.umd.min.js",
81
- "module": "./index.js",
82
- "name": "@syncfusion/ej2-lists",
83
- "repository": {
84
- "type": "git",
85
- "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/lists"
86
- },
87
- "typings": "index.d.ts",
88
- "version": "20.3.51",
89
- "sideEffects": false
90
- }
2
+ "_from": "@syncfusion/ej2-lists@*",
3
+ "_id": "@syncfusion/ej2-lists@18.16.0",
4
+ "_inBundle": false,
5
+ "_integrity": "sha512-2vVIvZdrTlvzkzPkcfSSgx0HvDrjZT+Fzju85Q78v94SxCgESQKB9pMIER10SZo9+VRFJzD6ullLS/tXkpTX6w==",
6
+ "_location": "/@syncfusion/ej2-lists",
7
+ "_phantomChildren": {},
8
+ "_requested": {
9
+ "type": "range",
10
+ "registry": true,
11
+ "raw": "@syncfusion/ej2-lists@*",
12
+ "name": "@syncfusion/ej2-lists",
13
+ "escapedName": "@syncfusion%2fej2-lists",
14
+ "scope": "@syncfusion",
15
+ "rawSpec": "*",
16
+ "saveSpec": null,
17
+ "fetchSpec": "*"
18
+ },
19
+ "_requiredBy": [
20
+ "/",
21
+ "/@syncfusion/ej2",
22
+ "/@syncfusion/ej2-angular-lists",
23
+ "/@syncfusion/ej2-calendars",
24
+ "/@syncfusion/ej2-diagrams",
25
+ "/@syncfusion/ej2-dropdowns",
26
+ "/@syncfusion/ej2-filemanager",
27
+ "/@syncfusion/ej2-gantt",
28
+ "/@syncfusion/ej2-grids",
29
+ "/@syncfusion/ej2-inplace-editor",
30
+ "/@syncfusion/ej2-navigations",
31
+ "/@syncfusion/ej2-pdfviewer",
32
+ "/@syncfusion/ej2-pivotview",
33
+ "/@syncfusion/ej2-react-lists",
34
+ "/@syncfusion/ej2-schedule",
35
+ "/@syncfusion/ej2-vue-lists"
36
+ ],
37
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-lists/-/ej2-lists-18.16.0.tgz",
38
+ "_shasum": "a3c2f0530cf117e51ef58a081f5494cb034bba87",
39
+ "_spec": "@syncfusion/ej2-lists@*",
40
+ "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
41
+ "author": {
42
+ "name": "Syncfusion Inc."
43
+ },
44
+ "bundleDependencies": false,
45
+ "dependencies": {
46
+ "@syncfusion/ej2-base": "~20.4.38",
47
+ "@syncfusion/ej2-buttons": "~20.4.38",
48
+ "@syncfusion/ej2-data": "~20.4.38"
49
+ },
50
+ "deprecated": false,
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.",
52
+ "devDependencies": {},
53
+ "es2015": "./dist/es6/ej2-lists.es5.js",
54
+ "keywords": [
55
+ "ej2",
56
+ "Syncfusion",
57
+ "web components",
58
+ "virtualization",
59
+ "group list",
60
+ "check list",
61
+ "listview with checkbox",
62
+ "listview template",
63
+ "material list",
64
+ "ui listview",
65
+ "remote listview",
66
+ "nested view",
67
+ "data list",
68
+ "infinite list",
69
+ "sort",
70
+ "checkbox",
71
+ "todo",
72
+ "list widget",
73
+ "list component",
74
+ "mobile list",
75
+ "list gestures",
76
+ "es6 list",
77
+ "dynamic list"
78
+ ],
79
+ "license": "SEE LICENSE IN license",
80
+ "main": "./dist/ej2-lists.umd.min.js",
81
+ "module": "./index.js",
82
+ "name": "@syncfusion/ej2-lists",
83
+ "repository": {
84
+ "type": "git",
85
+ "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/lists"
86
+ },
87
+ "typings": "index.d.ts",
88
+ "version": "20.4.38",
89
+ "sideEffects": false
90
+ }
@@ -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)) {
@@ -250,7 +250,7 @@ export interface ListViewModel extends ComponentModel{
250
250
  * {% codeBlock src='listview/template/index.md' %}{% endcodeBlock %}
251
251
  *
252
252
  * @default null
253
- * @deprecated
253
+
254
254
  */
255
255
  template?: string;
256
256
 
@@ -260,7 +260,7 @@ export interface ListViewModel extends ComponentModel{
260
260
  * {% codeBlock src="listview/headerTemplate/index.md" %}{% endcodeBlock %}
261
261
  *
262
262
  * @default null
263
- * @deprecated
263
+
264
264
  */
265
265
  headerTemplate?: string;
266
266
 
@@ -270,7 +270,7 @@ export interface ListViewModel extends ComponentModel{
270
270
  * {% codeBlock src="listview/groupTemplate/index.md" %}{% endcodeBlock %}
271
271
  *
272
272
  * @default null
273
- * @deprecated
273
+
274
274
  */
275
275
  groupTemplate?: string;
276
276
 
@@ -316,7 +316,7 @@ export declare class ListView extends Component<HTMLElement> implements INotifyP
316
316
  * {% codeBlock src='listview/template/index.md' %}{% endcodeBlock %}
317
317
  *
318
318
  * @default null
319
- * @deprecated
319
+
320
320
  */
321
321
  template: string;
322
322
  /**
@@ -325,7 +325,7 @@ export declare class ListView extends Component<HTMLElement> implements INotifyP
325
325
  * {% codeBlock src="listview/headerTemplate/index.md" %}{% endcodeBlock %}
326
326
  *
327
327
  * @default null
328
- * @deprecated
328
+
329
329
  */
330
330
  headerTemplate: string;
331
331
  /**
@@ -334,7 +334,7 @@ export declare class ListView extends Component<HTMLElement> implements INotifyP
334
334
  * {% codeBlock src="listview/groupTemplate/index.md" %}{% endcodeBlock %}
335
335
  *
336
336
  * @default null
337
- * @deprecated
337
+
338
338
  */
339
339
  groupTemplate: string;
340
340
  /**
@@ -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: 'option', listRole: 'presentation', itemText: '',
424
- groupItemRole: 'option', wrapperRole: 'presentation'
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);