@syncfusion/ej2-react-lists 22.2.11 → 23.1.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 CHANGED
@@ -6,44 +6,33 @@
6
6
 
7
7
  #### Bug Fixes
8
8
 
9
- - `#I488100` `#F45810`- Facing a console error when clicking in an empty ListView component has been resolved.
9
+ - `#I463091` - Resolved the CSS override issue in the ListView component, and changed the `e-content` class name into `e-list-container`.
10
10
 
11
- ## 22.2.8 (2023-08-08)
12
-
13
- ### ListBox
14
-
15
- #### Bug Fixes
16
-
17
- - `#F44817` - Issue with "Dragged item may be one that is adjacent to the item over which mouse down occurred in listbox." has been resolved.
18
-
19
- ## 22.2.5 (2023-07-27)
20
-
21
- ### ListView
22
-
23
- #### Bug Fixes
24
-
25
- - `#I481465` - Resolved the `enableHtmlSanitizer` property issue in the ListView component.
26
-
27
- ## 22.1.34 (2023-06-21)
28
-
29
- ### ListView
11
+ #### Breaking Changes
30
12
 
31
- #### Bug Fixes
13
+ - Using a ternary operator within the string-type template is not supported and we suggest using a function type template in ListView. Refer to the below code for example
32
14
 
33
- - `#I463091` - Resolved the CSS override issue of `e-content` class name with other components and changed the `e-content` class name into `e-list-container`.
15
+ **Previous**
34
16
 
35
- - `#F168185` - Issue with "Sorting is not applied properly with different text field in ListView component" has been resolved.
36
17
 
18
+ ```typescript
37
19
 
38
- ## 21.2.9 (2023-06-06)
20
+ let template: string = '<div class="e-list-wrapper e-list-avatar" id = ${id}>' +
21
+ '<span class="e-list-content">${name} ${$imgUrl ? $imgUrl : \'no image\' }</span></div>';
22
+ ```
39
23
 
40
- ### ListView
24
+ **Now**
41
25
 
42
- #### Bug Fixes
43
26
 
44
- - `#I466565` - The console error in the nested ListView component sample has been resolved.
27
+ ```typescript
45
28
 
46
- ## 21.2.6 (2023-05-23)
29
+ // data denotes the template data of each nodes from ListView data.
30
+ let template: Function = (data: any) => {
31
+ let result = `<div class="e-list-wrapper e-list-avatar" id = "${data.id}">`+
32
+ `<span class="e-list-content">${data.name} ${data.imgUrl ? data.imgUrl : 'no image' }</span></div>`;
33
+ return result;
34
+ }
35
+ ```
47
36
 
48
37
  ### ListBox
49
38
 
@@ -51,35 +40,7 @@
51
40
 
52
41
  - `#I461648` - Issue with "Drag and drop on mobile browsers, it unable to drag an element to the topmost place in list box component" has been resolved.
53
42
 
54
- ## 21.1.41 (2023-04-18)
55
-
56
- ### ListBox
57
-
58
- #### Bug Fixes
59
-
60
- - `#F181131` - Issue with "No Record Found text disappears while hovering the drag item on list box without drop" has been resolved.
61
-
62
- ### ListView
63
-
64
- #### Bug Fixes
65
-
66
- - `#I447633` - An issue with the primary button styles of the e-icons in the ListView component has been resolved.
67
-
68
- ## 21.1.39 (2023-04-11)
69
-
70
- ### ListBox
71
-
72
- #### Bug Fixes
73
-
74
- - Issue with Dragging the ListBox item when the end-user pressed the Escape key and the drag operation should be cancelled has been fixed.
75
-
76
- ### ListView
77
-
78
- #### Bug Fixes
79
-
80
- - `#I452079` - Resolved detached elements memory leak issue in the ListView component.
81
-
82
- ## 21.1.35 (2023-03-23)
43
+ ## 19.3.43 (2021-09-30)
83
44
 
84
45
  ### ListView
85
46
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * filename: ej2-react-lists.min.js
3
- * version : 22.2.11
4
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
3
+ * version : 23.1.42
4
+ * Copyright Syncfusion Inc. 2001 - 2023. 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
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * filename: ej2-react-lists.umd.min.js
3
- * version : 22.2.11
4
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
3
+ * version : 23.1.42
4
+ * Copyright Syncfusion Inc. 2001 - 2023. 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
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-react-lists@*",
3
- "_id": "@syncfusion/ej2-react-lists@22.2.9",
3
+ "_id": "@syncfusion/ej2-react-lists@22.1.1",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-NhxeQy+MDdDNy7/NBTKlPCZjZ0st+zs7tFbFN1FbHq78+cq094H0VReEcIYUlHprXbxF304kB5bFh1Y2tsbnCA==",
5
+ "_integrity": "sha512-RM5Bjp4duWwyD74HcU+PGXc7HA3LAWLI2DxoP9UDp92i+p4zo4yYGKexJ23mS4BpmZY7CQJ9Htz4mP0j5P0EXw==",
6
6
  "_location": "/@syncfusion/ej2-react-lists",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,10 +19,10 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-lists/-/ej2-react-lists-22.2.9.tgz",
23
- "_shasum": "93c20f5939cc77e27664745af8a06a7ff573720e",
22
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-lists/-/ej2-react-lists-22.1.1.tgz",
23
+ "_shasum": "9bc4e316deff6e36cb8c87a121727f5f93bbfffd",
24
24
  "_spec": "@syncfusion/ej2-react-lists@*",
25
- "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
25
+ "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
26
26
  "author": {
27
27
  "name": "Syncfusion Inc."
28
28
  },
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~22.2.10",
35
- "@syncfusion/ej2-lists": "22.2.11",
36
- "@syncfusion/ej2-react-base": "~22.2.5"
34
+ "@syncfusion/ej2-base": "~23.1.41",
35
+ "@syncfusion/ej2-lists": "23.1.42",
36
+ "@syncfusion/ej2-react-base": "~23.1.36"
37
37
  },
38
38
  "deprecated": false,
39
39
  "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. for React",
@@ -54,6 +54,6 @@
54
54
  "type": "git",
55
55
  "url": "git+https://github.com/syncfusion/ej2-react-ui-components.git"
56
56
  },
57
- "version": "22.2.11",
57
+ "version": "23.1.42",
58
58
  "sideEffects": false
59
59
  }
@@ -1,4 +1,3 @@
1
- @import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
2
1
  .e-listview .e-icon-collapsible::before {
3
2
  content: "\e913";
4
3
  }
@@ -1,4 +1,3 @@
1
- @import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700");
2
1
  .e-icon-collapsible::before {
3
2
  content: "\e913";
4
3
  }
@@ -1,4 +1,3 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,900&display=swap");
2
1
  :root {
3
2
  --color-sf-black: 0, 0, 0;
4
3
  --color-sf-white: 255, 255, 255;
@@ -1,2 +1,2 @@
1
- @import 'ej2-base/styles/material3-dark-definition.scss';
1
+
2
2
  @import 'ej2-lists/styles/list-view/material3-dark.scss';
@@ -1,4 +1,3 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,900&display=swap");
2
1
  :root {
3
2
  --color-sf-black: 0, 0, 0;
4
3
  --color-sf-white: 255, 255, 255;
@@ -1,2 +1,2 @@
1
- @import 'ej2-base/styles/material3-definition.scss';
1
+
2
2
  @import 'ej2-lists/styles/list-view/material3.scss';
@@ -1,4 +1,3 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
2
1
  .e-icon-collapsible::before {
3
2
  content: "\e748";
4
3
  }
@@ -1,4 +1,3 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
2
1
  .e-icon-collapsible::before {
3
2
  content: "\e748";
4
3
  }
@@ -1,4 +1,3 @@
1
- @import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
2
1
  .e-listview .e-icon-collapsible::before {
3
2
  content: "\e913";
4
3
  }
@@ -1,4 +1,3 @@
1
- @import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700");
2
1
  .e-icon-collapsible::before {
3
2
  content: "\e913";
4
3
  }
@@ -1,5 +1,3 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,900&display=swap");
2
- @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,900&display=swap");
3
1
  :root {
4
2
  --color-sf-black: 0, 0, 0;
5
3
  --color-sf-white: 255, 255, 255;
@@ -1,4 +1,3 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,900&display=swap");
2
1
  :root {
3
2
  --color-sf-black: 0, 0, 0;
4
3
  --color-sf-white: 255, 255, 255;
@@ -1,4 +1,3 @@
1
- @import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
2
1
  /* stylelint-disable-line no-empty-source */
3
2
  .e-sortable {
4
3
  outline: none;
@@ -1,4 +1,3 @@
1
- @import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700");
2
1
  /* stylelint-disable-line no-empty-source */
3
2
  .e-sortable {
4
3
  outline: none;
@@ -1,4 +1,3 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,900&display=swap");
2
1
  :root {
3
2
  --color-sf-black: 0, 0, 0;
4
3
  --color-sf-white: 255, 255, 255;
@@ -1,2 +1,2 @@
1
- @import 'ej2-base/styles/material3-dark-definition.scss';
1
+
2
2
  @import 'ej2-lists/styles/sortable/material3-dark.scss';
@@ -1,4 +1,3 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,900&display=swap");
2
1
  :root {
3
2
  --color-sf-black: 0, 0, 0;
4
3
  --color-sf-white: 255, 255, 255;
@@ -1,2 +1,2 @@
1
- @import 'ej2-base/styles/material3-definition.scss';
1
+
2
2
  @import 'ej2-lists/styles/sortable/material3.scss';
@@ -1,4 +1,3 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
2
1
  /* stylelint-disable-line no-empty-source */
3
2
  .e-sortable {
4
3
  outline: none;
@@ -1,4 +1,3 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
2
1
  /* stylelint-disable-line no-empty-source */
3
2
  .e-sortable {
4
3
  outline: none;
@@ -1,5 +1,3 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
2
- @import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
3
1
  .e-icon-collapsible::before {
4
2
  content: "\e748";
5
3
  }
@@ -1,5 +1,3 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
2
- @import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
3
1
  .e-icon-collapsible::before {
4
2
  content: "\e748";
5
3
  }