@syncfusion/ej2-lists 21.2.9 → 22.2.5

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.
Files changed (69) hide show
  1. package/.eslintrc.json +1 -0
  2. package/CHANGELOG.md +10 -0
  3. package/dist/ej2-lists.min.js +2 -2
  4. package/dist/ej2-lists.umd.min.js +2 -2
  5. package/dist/ej2-lists.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-lists.es2015.js +11 -7
  7. package/dist/es6/ej2-lists.es2015.js.map +1 -1
  8. package/dist/es6/ej2-lists.es5.js +11 -7
  9. package/dist/es6/ej2-lists.es5.js.map +1 -1
  10. package/dist/global/ej2-lists.min.js +2 -2
  11. package/dist/global/ej2-lists.min.js.map +1 -1
  12. package/dist/global/index.d.ts +1 -1
  13. package/package.json +8 -8
  14. package/src/common/list-base.d.ts +11 -5
  15. package/src/common/list-base.js +3 -3
  16. package/src/list-view/list-view-model.d.ts +9 -0
  17. package/src/list-view/list-view.d.ts +23 -31
  18. package/src/list-view/list-view.js +8 -4
  19. package/src/list-view/virtualization.js +1 -1
  20. package/src/sortable/sortable-model.d.ts +1 -1
  21. package/styles/bootstrap-dark.css +1 -1
  22. package/styles/bootstrap.css +1 -1
  23. package/styles/bootstrap4.css +1 -1
  24. package/styles/bootstrap5-dark.css +1 -1
  25. package/styles/bootstrap5.css +1 -1
  26. package/styles/fabric-dark.css +1 -1
  27. package/styles/fabric.css +1 -1
  28. package/styles/fluent-dark.css +1 -1
  29. package/styles/fluent.css +1 -1
  30. package/styles/highcontrast-light.css +1 -1
  31. package/styles/highcontrast.css +1 -1
  32. package/styles/list-view/_layout.scss +12 -1
  33. package/styles/list-view/_material3-dark-definition.scss +1 -0
  34. package/styles/list-view/_material3-definition.scss +134 -0
  35. package/styles/list-view/_theme.scss +13 -4
  36. package/styles/list-view/bootstrap-dark.css +1 -1
  37. package/styles/list-view/bootstrap.css +1 -1
  38. package/styles/list-view/bootstrap4.css +1 -1
  39. package/styles/list-view/bootstrap5-dark.css +1 -1
  40. package/styles/list-view/bootstrap5.css +1 -1
  41. package/styles/list-view/fabric-dark.css +1 -1
  42. package/styles/list-view/fabric.css +1 -1
  43. package/styles/list-view/fluent-dark.css +1 -1
  44. package/styles/list-view/fluent.css +1 -1
  45. package/styles/list-view/highcontrast-light.css +1 -1
  46. package/styles/list-view/highcontrast.css +1 -1
  47. package/styles/list-view/icons/_material3-dark.scss +1 -0
  48. package/styles/list-view/material-dark.css +1 -1
  49. package/styles/list-view/material.css +1 -1
  50. package/styles/list-view/material3-dark.css +516 -0
  51. package/styles/list-view/material3-dark.scss +6 -0
  52. package/styles/list-view/material3.css +572 -0
  53. package/styles/list-view/material3.scss +6 -0
  54. package/styles/list-view/tailwind-dark.css +1 -1
  55. package/styles/list-view/tailwind.css +1 -1
  56. package/styles/material-dark.css +1 -1
  57. package/styles/material.css +1 -1
  58. package/styles/material3-dark.css +544 -0
  59. package/styles/material3-dark.scss +4 -0
  60. package/styles/material3.css +600 -0
  61. package/styles/material3.scss +4 -0
  62. package/styles/sortable/_material3-dark-definition.scss +1 -0
  63. package/styles/sortable/_material3-definition.scss +1 -0
  64. package/styles/sortable/material3-dark.css +83 -0
  65. package/styles/sortable/material3-dark.scss +4 -0
  66. package/styles/sortable/material3.css +139 -0
  67. package/styles/sortable/material3.scss +4 -0
  68. package/styles/tailwind-dark.css +1 -1
  69. package/styles/tailwind.css +1 -1
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 21.2.9
3
+ * version : 22.2.5
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@21.2.6",
3
+ "_id": "@syncfusion/ej2-lists@22.1.34",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-C5Te1I+EvOs/x6v21de7Kjfa/57jb8yu78+ip4nc3jMVKqIUpglVwjYx9QZM0/wasd7ZkvbgifFCXJXmAKiDKA==",
5
+ "_integrity": "sha512-AIpJMxkpUZeFYDT65ZHTQ9+PaWIg970t9A9JOygOoXeDsbwhNzH7c3HeOaFdjGVD5foEuMyVO9M+VvNFM3YU8w==",
6
6
  "_location": "/@syncfusion/ej2-lists",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -35,8 +35,8 @@
35
35
  "/@syncfusion/ej2-schedule",
36
36
  "/@syncfusion/ej2-vue-lists"
37
37
  ],
38
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-lists/-/ej2-lists-21.2.6.tgz",
39
- "_shasum": "605c0d1079df7cda536128d0067972c6a78217fb",
38
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-lists/-/ej2-lists-22.1.34.tgz",
39
+ "_shasum": "9afa030def055393eed53b1d93d2f34181a8af3e",
40
40
  "_spec": "@syncfusion/ej2-lists@*",
41
41
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
42
42
  "author": {
@@ -44,9 +44,9 @@
44
44
  },
45
45
  "bundleDependencies": false,
46
46
  "dependencies": {
47
- "@syncfusion/ej2-base": "~21.2.9",
48
- "@syncfusion/ej2-buttons": "~21.2.6",
49
- "@syncfusion/ej2-data": "~21.2.9"
47
+ "@syncfusion/ej2-base": "~22.2.5",
48
+ "@syncfusion/ej2-buttons": "~22.2.5",
49
+ "@syncfusion/ej2-data": "~22.2.5"
50
50
  },
51
51
  "deprecated": false,
52
52
  "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.",
@@ -86,7 +86,7 @@
86
86
  "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/lists"
87
87
  },
88
88
  "typings": "index.d.ts",
89
- "version": "21.2.9",
89
+ "version": "22.2.5",
90
90
  "sideEffects": false,
91
91
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
92
92
  }
@@ -190,7 +190,7 @@ export declare namespace ListBase {
190
190
  * @param {{Object}[]} dataSource - Specifies local JSON data source.
191
191
  * @param {ListBaseOptions} options? - Specifies listbase option for fields.
192
192
  */
193
- function renderContentTemplate(createElement: createElementParams, template: string, dataSource: {
193
+ function renderContentTemplate(createElement: createElementParams, template: string | Function, dataSource: {
194
194
  [key: string]: Object;
195
195
  }[] | string[] | number[], fields?: FieldsMapping, options?: ListBaseOptions, componentInstance?: any): HTMLElement;
196
196
  /**
@@ -204,7 +204,7 @@ export declare namespace ListBase {
204
204
  *
205
205
  * @param {Element[]} headerItems? - Specifies listbase header items.
206
206
  */
207
- function renderGroupTemplate(groupTemplate: string, groupDataSource: {
207
+ function renderGroupTemplate(groupTemplate: string | Function, groupDataSource: {
208
208
  [key: string]: Object;
209
209
  }[], fields: FieldsMapping, headerItems: Element[], options?: ListBaseOptions, componentInstance?: any): Element[];
210
210
  function generateId(): string;
@@ -319,16 +319,22 @@ export interface ListBaseOptions {
319
319
  sortOrder?: SortOrder;
320
320
  /**
321
321
  * Specifies the item template
322
+ *
323
+ * @aspType string
322
324
  */
323
- template?: string;
325
+ template?: string | Function;
324
326
  /**
325
327
  * Specifies the group header template
328
+ *
329
+ * @aspType string
326
330
  */
327
- groupTemplate?: string;
331
+ groupTemplate?: string | Function;
328
332
  /**
329
333
  * Specifies the ListView header template
334
+ *
335
+ * @aspType string
330
336
  */
331
- headerTemplate?: string;
337
+ headerTemplate?: string | Function;
332
338
  /**
333
339
  * Specifies the callback function that triggered before each list creation
334
340
  */
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable no-inner-declarations */
2
- import { extend, merge, isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
2
+ import { extend, merge, isNullOrUndefined, getValue, SanitizeHtmlHelper } from '@syncfusion/ej2-base';
3
3
  import { attributes, prepend, isVisible, append, addClass } from '@syncfusion/ej2-base';
4
4
  import { compile } from '@syncfusion/ej2-base';
5
5
  import { DataManager, Query } from '@syncfusion/ej2-data';
@@ -932,7 +932,7 @@ export var ListBase;
932
932
  attrs: (ariaAttributes.itemText !== '' ? { role: ariaAttributes.itemText } : {})
933
933
  });
934
934
  if (options && options.enableHtmlSanitizer) {
935
- element.innerText = text;
935
+ element.innerText = SanitizeHtmlHelper.sanitize(text);
936
936
  }
937
937
  else {
938
938
  element.innerHTML = text;
@@ -1015,7 +1015,7 @@ export function getFieldValues(dataItem, fields) {
1015
1015
  function compileTemplate(template) {
1016
1016
  if (template) {
1017
1017
  try {
1018
- if (document.querySelector(template)) {
1018
+ if (typeof template !== 'function' && document.querySelector(template)) {
1019
1019
  return compile(document.querySelector(template).innerHTML.trim());
1020
1020
  }
1021
1021
  else {
@@ -250,6 +250,9 @@ export interface ListViewModel extends ComponentModel{
250
250
  * {% codeBlock src='listview/template/index.md' %}{% endcodeBlock %}
251
251
  *
252
252
  * @default null
253
+ * @angularType string | object
254
+ * @reactType string | function | JSX.Element
255
+ * @vueType string | function
253
256
 
254
257
  */
255
258
  template?: string;
@@ -260,6 +263,9 @@ export interface ListViewModel extends ComponentModel{
260
263
  * {% codeBlock src="listview/headerTemplate/index.md" %}{% endcodeBlock %}
261
264
  *
262
265
  * @default null
266
+ * @angularType string | object
267
+ * @reactType string | function | JSX.Element
268
+ * @vueType string | function
263
269
 
264
270
  */
265
271
  headerTemplate?: string;
@@ -270,6 +276,9 @@ export interface ListViewModel extends ComponentModel{
270
276
  * {% codeBlock src="listview/groupTemplate/index.md" %}{% endcodeBlock %}
271
277
  *
272
278
  * @default null
279
+ * @angularType string | object
280
+ * @reactType string | function | JSX.Element
281
+ * @vueType string | function
273
282
 
274
283
  */
275
284
  groupTemplate?: string;
@@ -99,40 +99,23 @@ export interface AnimationSettings {
99
99
  }
100
100
  /**
101
101
  * An enum type that denotes the effects of the ListView. Available options are as follows None, SlideLeft, SlideDown, Zoom, Fade;
102
+ * ```props
103
+ * None :- No animation is applied when items are added or removed from the ListView.
104
+ * SlideLeft :- Items slide in from the left when added and slide out to the left when removed.
105
+ * SlideDown :- Items slide in from the top when added and slide out to the top when removed.
106
+ * Zoom :- Items zoom in or out when added or removed.
107
+ * Fade :- Items fade in or out when added or removed.
108
+ * ```
102
109
  */
103
- export declare type ListViewEffect =
104
- /**
105
- * No animation is applied when items are added or removed from the ListView.
106
- */
107
- 'None' |
108
- /**
109
- * Items slide in from the left when added and slide out to the left when removed.
110
- */
111
- 'SlideLeft' |
112
- /**
113
- * Items slide in from the top when added and slide out to the top when removed.
114
- */
115
- 'SlideDown' |
116
- /**
117
- * Items zoom in or out when added or removed.
118
- */
119
- 'Zoom' |
120
- /**
121
- * Items fade in or out when added or removed.
122
- */
123
- 'Fade';
110
+ export declare type ListViewEffect = 'None' | 'SlideLeft' | 'SlideDown' | 'Zoom' | 'Fade';
124
111
  /**
125
112
  * An enum type that denotes the position of checkbox of the ListView. Available options are as follows Left and Right;
113
+ * ```props
114
+ * Left :- The checkbox is positioned on the left side of the ListView item.
115
+ * Right :- The checkbox is positioned on the right side of the ListView item.
116
+ * ```
126
117
  */
127
- export declare type checkBoxPosition =
128
- /**
129
- * The checkbox is positioned on the left side of the ListView item.
130
- */
131
- 'Left' |
132
- /**
133
- * The checkbox is positioned on the right side of the ListView item.
134
- */
135
- 'Right';
118
+ export declare type checkBoxPosition = 'Left' | 'Right';
136
119
  /**
137
120
  * Represents the EJ2 ListView control.
138
121
  * ```html
@@ -344,6 +327,9 @@ export declare class ListView extends Component<HTMLElement> implements INotifyP
344
327
  * {% codeBlock src='listview/template/index.md' %}{% endcodeBlock %}
345
328
  *
346
329
  * @default null
330
+ * @angularType string | object
331
+ * @reactType string | function | JSX.Element
332
+ * @vueType string | function
347
333
 
348
334
  */
349
335
  template: string;
@@ -353,6 +339,9 @@ export declare class ListView extends Component<HTMLElement> implements INotifyP
353
339
  * {% codeBlock src="listview/headerTemplate/index.md" %}{% endcodeBlock %}
354
340
  *
355
341
  * @default null
342
+ * @angularType string | object
343
+ * @reactType string | function | JSX.Element
344
+ * @vueType string | function
356
345
 
357
346
  */
358
347
  headerTemplate: string;
@@ -362,6 +351,9 @@ export declare class ListView extends Component<HTMLElement> implements INotifyP
362
351
  * {% codeBlock src="listview/groupTemplate/index.md" %}{% endcodeBlock %}
363
352
  *
364
353
  * @default null
354
+ * @angularType string | object
355
+ * @reactType string | function | JSX.Element
356
+ * @vueType string | function
365
357
 
366
358
  */
367
359
  groupTemplate: string;
@@ -613,7 +605,7 @@ export interface ClassNames {
613
605
  textContent: string;
614
606
  groupListItem: string;
615
607
  disable: string;
616
- content: string;
608
+ container: string;
617
609
  backIcon: string;
618
610
  backButton: string;
619
611
  icon: string;
@@ -60,7 +60,7 @@ export var classNames = {
60
60
  headerTemplateText: 'e-headertemplate-text',
61
61
  text: 'e-text',
62
62
  disable: 'e-disabled',
63
- content: 'e-content',
63
+ container: 'e-list-container',
64
64
  icon: 'e-icons',
65
65
  backIcon: 'e-icon-back',
66
66
  backButton: 'e-back-button',
@@ -297,11 +297,15 @@ var ListView = /** @class */ (function (_super) {
297
297
  // Support Component Functions
298
298
  ListView.prototype.header = function (text, showBack, prop) {
299
299
  if (this.headerEle === undefined && this.showHeader) {
300
+ this.headerEle = this.createElement('div', { className: classNames.header });
301
+ var innerHeaderEle = this.createElement('span', { className: classNames.headerText });
300
302
  if (this.enableHtmlSanitizer) {
301
303
  this.setProperties({ headerTitle: SanitizeHtmlHelper.sanitize(this.headerTitle) }, true);
304
+ innerHeaderEle.innerText = this.headerTitle;
305
+ }
306
+ else {
307
+ innerHeaderEle.innerHTML = this.headerTitle;
302
308
  }
303
- this.headerEle = this.createElement('div', { className: classNames.header });
304
- var innerHeaderEle = this.createElement('span', { className: classNames.headerText, innerHTML: this.headerTitle });
305
309
  var textEle = this.createElement('div', { className: classNames.text, innerHTML: innerHeaderEle.outerHTML });
306
310
  var hedBackButton = this.createElement('div', {
307
311
  className: classNames.icon + ' ' + classNames.backIcon + ' ' + classNames.backButton,
@@ -1383,7 +1387,7 @@ var ListView = /** @class */ (function (_super) {
1383
1387
  }
1384
1388
  else {
1385
1389
  this.createList();
1386
- this.contentContainer = this.createElement('div', { className: classNames.content });
1390
+ this.contentContainer = this.createElement('div', { className: classNames.container });
1387
1391
  this.element.appendChild(this.contentContainer);
1388
1392
  this.renderIntoDom(this.ulElement);
1389
1393
  // eslint-disable-next-line
@@ -37,7 +37,7 @@ var Virtualization = /** @class */ (function () {
37
37
  this.listViewInstance.ulElement = this.listViewInstance.curUL = ListBase.createList(
38
38
  // eslint-disable-next-line
39
39
  this.listViewInstance.createElement, firstDs, this.listViewInstance.listBaseOption, null, this.listViewInstance);
40
- this.listViewInstance.contentContainer = this.listViewInstance.createElement('div', { className: classNames.content });
40
+ this.listViewInstance.contentContainer = this.listViewInstance.createElement('div', { className: classNames.container });
41
41
  this.listViewInstance.element.appendChild(this.listViewInstance.contentContainer);
42
42
  this.listViewInstance.contentContainer.appendChild(this.listViewInstance.ulElement);
43
43
  this.listItemHeight = this.listViewInstance.ulElement.firstElementChild.getBoundingClientRect().height;
@@ -1,4 +1,4 @@
1
- import { Base, Event, getUniqueID, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base';import { closest, Draggable, DragPosition, MouseEventArgs, remove, compareElementParent, TouchEventArgs } from '@syncfusion/ej2-base';import { addClass, isNullOrUndefined, getComponent, isBlazor, BlazorDragEventArgs, EventHandler } from '@syncfusion/ej2-base';
1
+ import { Base, Event, getUniqueID, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base';import { closest, Draggable, DragPosition, MouseEventArgs, remove, compareElementParent } from '@syncfusion/ej2-base';import { addClass, isNullOrUndefined, getComponent, isBlazor, BlazorDragEventArgs, EventHandler } from '@syncfusion/ej2-base';
2
2
 
3
3
  /**
4
4
  * Interface for a class Sortable
@@ -201,7 +201,7 @@
201
201
  width: 30px;
202
202
  }
203
203
 
204
- .e-listview .e-content {
204
+ .e-listview .e-list-container {
205
205
  overflow: hidden;
206
206
  position: relative;
207
207
  }
@@ -202,7 +202,7 @@
202
202
  width: 30px;
203
203
  }
204
204
 
205
- .e-listview .e-content {
205
+ .e-listview .e-list-container {
206
206
  overflow: hidden;
207
207
  position: relative;
208
208
  }
@@ -241,7 +241,7 @@
241
241
  width: 30px;
242
242
  }
243
243
 
244
- .e-listview .e-content {
244
+ .e-listview .e-list-container {
245
245
  overflow: hidden;
246
246
  position: relative;
247
247
  }
@@ -202,7 +202,7 @@
202
202
  width: 30px;
203
203
  }
204
204
 
205
- .e-listview .e-content {
205
+ .e-listview .e-list-container {
206
206
  overflow: hidden;
207
207
  position: relative;
208
208
  }
@@ -202,7 +202,7 @@
202
202
  width: 30px;
203
203
  }
204
204
 
205
- .e-listview .e-content {
205
+ .e-listview .e-list-container {
206
206
  overflow: hidden;
207
207
  position: relative;
208
208
  }
@@ -201,7 +201,7 @@
201
201
  width: 30px;
202
202
  }
203
203
 
204
- .e-listview .e-content {
204
+ .e-listview .e-list-container {
205
205
  overflow: hidden;
206
206
  position: relative;
207
207
  }
package/styles/fabric.css CHANGED
@@ -202,7 +202,7 @@
202
202
  width: 30px;
203
203
  }
204
204
 
205
- .e-listview .e-content {
205
+ .e-listview .e-list-container {
206
206
  overflow: hidden;
207
207
  position: relative;
208
208
  }
@@ -246,7 +246,7 @@
246
246
  width: 20px;
247
247
  }
248
248
 
249
- .e-listview .e-content {
249
+ .e-listview .e-list-container {
250
250
  overflow: hidden;
251
251
  position: relative;
252
252
  }
package/styles/fluent.css CHANGED
@@ -246,7 +246,7 @@
246
246
  width: 20px;
247
247
  }
248
248
 
249
- .e-listview .e-content {
249
+ .e-listview .e-list-container {
250
250
  overflow: hidden;
251
251
  position: relative;
252
252
  }
@@ -201,7 +201,7 @@
201
201
  width: 30px;
202
202
  }
203
203
 
204
- .e-listview .e-content {
204
+ .e-listview .e-list-container {
205
205
  overflow: hidden;
206
206
  position: relative;
207
207
  }
@@ -202,7 +202,7 @@
202
202
  width: 30px;
203
203
  }
204
204
 
205
- .e-listview .e-content {
205
+ .e-listview .e-list-container {
206
206
  overflow: hidden;
207
207
  position: relative;
208
208
  }
@@ -167,6 +167,17 @@
167
167
  margin-right: 0;
168
168
  }
169
169
  }
170
+ @if ($skin-name == 'Material3') {
171
+ & .e-list-icon {
172
+ margin-left: $listview-touch-icon-margin-right;
173
+ margin-right: $listview-rtl-icon-back-margin;
174
+ }
175
+
176
+ & .e-icon-back {
177
+ margin-left: $listview-icon-back-margin-right;
178
+ margin-right: $listview-rtl-icon-back-margin;
179
+ }
180
+ }
170
181
 
171
182
  .e-listview-checkbox {
172
183
  &.e-checkbox-right {
@@ -521,7 +532,7 @@
521
532
  }
522
533
  }
523
534
 
524
- & .e-content {
535
+ & .e-list-container {
525
536
  overflow: hidden;
526
537
  position: relative;
527
538
  }
@@ -0,0 +1 @@
1
+ @import './material3-definition.scss';
@@ -0,0 +1,134 @@
1
+ //layout
2
+ $listview-icon-margin-right: 10px !default;
3
+ $listview-icon-back-margin: 0 !default;
4
+ $listview-icon-back-margin-right: 14px !default;
5
+ $listview-rtl-icon-back-margin: 0 !default;
6
+ $listview-item-height: 40px !default;
7
+ $listview-item-line-height: 20px !default;
8
+ $listview-item-padding: 10px 16px !default;
9
+ $listview-rtl-item-padding: 7px 12px 7px 12px !default;
10
+ $listview-header-padding: 6px 12px !default;
11
+ $listview-back-icon-font-size: 18px !default;
12
+ $listview-root-border-radius: 4px !default;
13
+ $listview-nested-icon-collapsible: 18px !default;
14
+ $listview-icon-size: 20px !default;
15
+ $listview-header-text-padding: 16px !default;
16
+ $listview-header-height: 34px !default;
17
+ $listview-header-line-height: 18px !default;
18
+ $listview-border-bottom: 0 !default;
19
+ $listview-border-top: 0 !default;
20
+ $listview-border-left: 0 !default;
21
+ $listview-border-right: 0 !default;
22
+ $listview-group-first-border-bottom: 0 !default;
23
+ $listview-group-border-top: 0 !default;
24
+ $listview-group-border-bottom: 1px !default;
25
+ $listview-groupheader-item-height: 36px !default;
26
+ $listview-groupheader-item-line-height: 18px !default;
27
+ $listview-groupheader-font-size: $text-xs !default;
28
+ $listview-border-size: 1px !default;
29
+ $listview-font-size: $text-sm !default;
30
+ $listview-back-padding-right: 8px !default;
31
+ $listview-back-icon-size: 20px !default;
32
+ $listview-touch-item-height: 48px !default;
33
+ $listview-touch-item-line-height: 24px !default;
34
+ $listview-touch-item-size: 24px !default;
35
+ $listview-touch-item-padding: 16px 14px 12px 16px !default;
36
+ $listview-rtl-touch-item-padding: 12px 16px 12px 14px !default;
37
+ $listview-touch-item-font-size: $text-base !default;
38
+ $listview-touch-groupheader-height: 40px !default;
39
+ $listview-touch-groupheader-line-height: 20px !default;
40
+ $listview-touch-header-height: 40px !default;
41
+ $listview-touch-header-font-weight: $font-weight-medium !default;
42
+ $listview-touch-header-font-size: $text-sm !default;
43
+ $listview-touch-header-line-height: 22px !default;
44
+ $listview-touch-header-icon-margin-top: 2px !default;
45
+ $listview-touch-icon-margin-right: 16px !default;
46
+ $listview-touch-checkbox-right-margin: -2px 0 0 12px !default;
47
+ $listview-touch-checkbox-left-margin: 0 12px 0 0 !default;
48
+ $listview-touch-rtl-checkbox-left-margin: -2px 0 0 12px !default;
49
+ $listview-touch-rtl-checkbox-right-margin: -2px 12px 0 0 !default;
50
+ $listview-checkbox-right-margin: -2px 0 0 8px !default;
51
+ $listview-checkbox-left-margin: 0 8px 0 0 !default;
52
+ $listview-rtl-checkbox-left-margin: -2px 0 0 8px !default;
53
+ $listview-rtl-checkbox-right-margin: -2px 8px 0 0 !default;
54
+
55
+ //ListView In-built template variables
56
+ $listview-template-padding: 10px 16px !default;
57
+ $listview-template-avatar-padding-right: 16px !default;
58
+ $listview-template-avatar-padding-left: 68px !default;
59
+ $listview-template-avatar-rightposition-padding-right: 68px !default;
60
+ $listview-template-avatar-rightposition-padding-left: 16px !default;
61
+ $listview-template-avatar-size: 40px !default;
62
+ $listview-template-avatar-top: 0 !default;
63
+ $listview-template-avatar-left: 0 !default;
64
+ $listview-template-avatar-margin: 7px 16px 7px 12px !default;
65
+ $listview-template-avatar-background: rgba($primary) !default;
66
+ $listview-template-avatar-rightposition-right: 0 !default;
67
+ $listview-template-badge-height: 20px !default;
68
+ $listview-template-badge-width: 36px !default;
69
+ $listview-template-badge-line-height: 20px !default;
70
+ $listview-template-badge-font-size: $text-xs !default;
71
+ $listview-template-badge-right: 12px !default;
72
+ $listview-template-avatar-badge-padding-right: 10px !default;
73
+ $listview-template-avatar-badge-padding-left: 68px !default;
74
+ $listview-template-badgewithoutavatar-padding-right: 10px !default;
75
+ $listview-template-badgewithoutavatar-padding-left: 16px !default;
76
+ $listview-template-item-padding: 8px 0 !default;
77
+ $listview-template-multiline-header-padding: 0 !default;
78
+ $listview-template-multiline-content-padding: 2px 0 0 0 !default;
79
+ $listview-template-multiline-header-font-size: $text-sm !default;
80
+ $listview-template-multiline-padding: 4px !default;
81
+ $listview-template-multiline-content-font-size: $text-sm !default;
82
+ $listview-template-multiline-avatar-top: 0 !default;
83
+ $listview-touch-template-padding: 12px 16px !default;
84
+ $listview-touch-template-multiline-padding: 7px !default;
85
+ $listview-touch-template-avatar-padding-left: 88px !default;
86
+ $listview-touch-template-avatar-size: 48px !default;
87
+ $listview-touch-template-multiline-header-font-size: $text-base !default;
88
+ $listview-touch-template-multiline-header-line-height: 24px !default;
89
+ $listview-touch-template-avatar-margin: 8px 24px 8px 16px !default;
90
+ $listview-touch-template-badge-height: 20px !default;
91
+ $listview-touch-template-badge-width: 34px !default;
92
+ $listview-touch-template-badge-line-height: 18px !default;
93
+ $listview-touch-template-badge-font-size: $text-xs !default;
94
+
95
+ //color
96
+ $listview-font-family: $font-family !default;
97
+ $listview-text-color: rgba($content-text-color) !default;
98
+ $listview-text-disabled: $content-text-color-disabled !default;
99
+ $listview-icon-color: rgba($icon-color) !default;
100
+ $listview-icon-disabled: $icon-color-disabled !default;
101
+ $listview-background: $transparent !default;
102
+ $listview-line-color: rgba($border-light) !default;
103
+ $listview-item-hover-bg: $content-bg-color-hover !default;
104
+ $listview-text-hover-color: rgba($content-text-color-hover) !default;
105
+ $listview-item-active-bg: rgba($content-bg-color-selected) !default;
106
+ $listview-root-border-color: rgba($border-light) !default;
107
+ $listview-text-active-color: rgba($content-text-color-selected) !default;
108
+ $listview-header-text-color: rgba($content-text-color-alt1) !default;
109
+ $listview-header-text-disabled: $content-text-color-disabled !default;
110
+ $listview-header-bg: transparent !default;
111
+ $listview-header-icon-color: rgba($icon-color) !default;
112
+ $listview-header-icon-disabled: $icon-color-disabled !default;
113
+ $listview-header-border: rgba($border-light) !default;
114
+ $listview-header-font-size: $text-xs !default;
115
+ $listview-header-font-weight: $font-weight-medium !default;
116
+ $listview-hover-border-color: rgba($border-light) !default;
117
+ $listview-border-bottom-color: rgba($border-light) !default;
118
+ $listview-border-top-color: transparent !default;
119
+ $listview-border-right-color: transparent !default;
120
+ $listview-border-left-color: transparent !default;
121
+ $listview-groupheader-text-color: rgba($content-text-color-alt1) !default;
122
+ $listview-groupheader-bg: transparent !default;
123
+ $listview-groupheader-icon: rgba($icon-color) !default;
124
+ $listview-focused-collapsible-color: rgba($content-text-color-selected) !default;
125
+ $listview-icon-hover: rgba($icon-color-hover) !default;
126
+ $listview-icon-pressed: rgba($icon-color-pressed) !default;
127
+ $checkmark-bgcolor: rgba($primary) !default;
128
+ $checkmark-border-color: rgba($primary) !default;
129
+ $checkmark-color: rgba($primary-text-color) !default;
130
+
131
+ //ListView In-built template variables
132
+ $listview-template-multiline-header-color: rgba($content-text-color) !default;
133
+ $listview-template-multiline-content-color: rgba($content-text-color-alt1) !default;
134
+ $listview-template-focused-multiline-content-color: rgba($content-text-color-selected) !default;
@@ -55,6 +55,12 @@
55
55
  & .e-list-item.e-active.e-checklist {
56
56
  background-color: $listview-background;
57
57
  color: $listview-text-color;
58
+
59
+ @if $skin-name == 'Material3' {
60
+ & .e-checkbox-wrapper .e-frame.e-check {
61
+ color: $checkmark-color;
62
+ }
63
+ }
58
64
  }
59
65
 
60
66
  & .e-list-item.e-focused,
@@ -113,7 +119,7 @@
113
119
  color: $listview-template-multiline-header-color;
114
120
  display: block;
115
121
  font-size: $listview-template-multiline-header-font-size;
116
- @if ($skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'bootstrap5') {
122
+ @if ($skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'bootstrap5' or $skin-name == 'Material3') {
117
123
  font-weight: $font-weight-normal;
118
124
  line-height: 22px;
119
125
  }
@@ -131,7 +137,7 @@
131
137
  color: $listview-template-multiline-content-color;
132
138
  display: block;
133
139
  font-size: $listview-template-multiline-content-font-size;
134
- @if ($skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'bootstrap5') {
140
+ @if ($skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'bootstrap5' or $skin-name == 'Material3') {
135
141
  font-weight: $font-weight-normal;
136
142
  @if ($skin-name == 'FluentUI') {
137
143
  line-height: 18px;
@@ -159,9 +165,12 @@
159
165
  position: absolute;
160
166
  top: $listview-template-avatar-top;
161
167
  width: $listview-template-avatar-size;
162
- @if ($skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'bootstrap5') {
168
+ @if ($skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'bootstrap5' or $skin-name == 'Material3') {
163
169
  margin: $listview-template-avatar-margin;
164
170
  }
171
+ @if $skin-name == 'Material3' {
172
+ background: $listview-template-avatar-background;
173
+ }
165
174
  }
166
175
  }
167
176
 
@@ -206,7 +215,7 @@
206
215
  top: 50%;
207
216
  transform: translateY(-50%);
208
217
  width: $listview-template-badge-width;
209
- @if ($skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'bootstrap5') {
218
+ @if ($skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'bootstrap5' or $skin-name == 'Material3') {
210
219
  border-radius: 10px;
211
220
  }
212
221
  }
@@ -201,7 +201,7 @@
201
201
  width: 30px;
202
202
  }
203
203
 
204
- .e-listview .e-content {
204
+ .e-listview .e-list-container {
205
205
  overflow: hidden;
206
206
  position: relative;
207
207
  }
@@ -202,7 +202,7 @@
202
202
  width: 30px;
203
203
  }
204
204
 
205
- .e-listview .e-content {
205
+ .e-listview .e-list-container {
206
206
  overflow: hidden;
207
207
  position: relative;
208
208
  }
@@ -241,7 +241,7 @@
241
241
  width: 30px;
242
242
  }
243
243
 
244
- .e-listview .e-content {
244
+ .e-listview .e-list-container {
245
245
  overflow: hidden;
246
246
  position: relative;
247
247
  }