@syncfusion/ej2-lists 25.1.41 → 26.1.35

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 (105) hide show
  1. package/.eslintrc.json +3 -2
  2. package/dist/ej2-lists.min.js +2 -2
  3. package/dist/ej2-lists.umd.min.js +2 -2
  4. package/dist/ej2-lists.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-lists.es2015.js +255 -279
  6. package/dist/es6/ej2-lists.es2015.js.map +1 -1
  7. package/dist/es6/ej2-lists.es5.js +241 -265
  8. package/dist/es6/ej2-lists.es5.js.map +1 -1
  9. package/dist/global/ej2-lists.min.js +2 -2
  10. package/dist/global/ej2-lists.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +10 -10
  13. package/src/common/list-base.d.ts +61 -30
  14. package/src/common/list-base.js +167 -94
  15. package/src/list-view/list-view.d.ts +7 -9
  16. package/src/list-view/list-view.js +42 -75
  17. package/src/list-view/virtualization.d.ts +0 -1
  18. package/src/list-view/virtualization.js +10 -66
  19. package/src/sortable/sortable.d.ts +5 -0
  20. package/src/sortable/sortable.js +14 -7
  21. package/styles/bootstrap-dark.css +100 -122
  22. package/styles/bootstrap-dark.scss +8 -2
  23. package/styles/bootstrap.css +100 -122
  24. package/styles/bootstrap.scss +8 -2
  25. package/styles/bootstrap4.css +139 -161
  26. package/styles/bootstrap4.scss +8 -2
  27. package/styles/bootstrap5-dark.css +101 -125
  28. package/styles/bootstrap5-dark.scss +8 -2
  29. package/styles/bootstrap5.css +101 -125
  30. package/styles/bootstrap5.scss +8 -2
  31. package/styles/fabric-dark.css +100 -122
  32. package/styles/fabric-dark.scss +8 -2
  33. package/styles/fabric.css +100 -122
  34. package/styles/fabric.scss +8 -2
  35. package/styles/fluent-dark.css +143 -165
  36. package/styles/fluent-dark.scss +8 -2
  37. package/styles/fluent.css +143 -165
  38. package/styles/fluent.scss +8 -2
  39. package/styles/fluent2.css +1485 -0
  40. package/styles/fluent2.scss +8 -0
  41. package/styles/highcontrast-light.css +100 -122
  42. package/styles/highcontrast-light.scss +8 -2
  43. package/styles/highcontrast.css +100 -122
  44. package/styles/highcontrast.scss +8 -2
  45. package/styles/list-view/_bootstrap4-definition.scss +5 -0
  46. package/styles/list-view/_bootstrap5.3-definition.scss +132 -0
  47. package/styles/list-view/_fluent2-definition.scss +132 -0
  48. package/styles/list-view/_layout.scss +377 -393
  49. package/styles/list-view/_material3-definition.scss +0 -7
  50. package/styles/list-view/_theme.scss +84 -95
  51. package/styles/list-view/bootstrap-dark.css +97 -121
  52. package/styles/list-view/bootstrap.css +97 -121
  53. package/styles/list-view/bootstrap4.css +136 -160
  54. package/styles/list-view/bootstrap5-dark.css +98 -124
  55. package/styles/list-view/bootstrap5.css +98 -124
  56. package/styles/list-view/fabric-dark.css +97 -121
  57. package/styles/list-view/fabric.css +97 -121
  58. package/styles/list-view/fluent-dark.css +140 -164
  59. package/styles/list-view/fluent.css +140 -164
  60. package/styles/list-view/fluent2.css +1455 -0
  61. package/styles/list-view/fluent2.scss +5 -0
  62. package/styles/list-view/highcontrast-light.css +97 -121
  63. package/styles/list-view/highcontrast.css +97 -121
  64. package/styles/list-view/icons/_bootstrap5.3.scss +8 -0
  65. package/styles/list-view/icons/_fluent2.scss +10 -0
  66. package/styles/list-view/material-dark.css +97 -121
  67. package/styles/list-view/material.css +97 -121
  68. package/styles/list-view/material3-dark.css +112 -136
  69. package/styles/list-view/material3.css +112 -136
  70. package/styles/list-view/tailwind-dark.css +207 -235
  71. package/styles/list-view/tailwind.css +207 -235
  72. package/styles/material-dark.css +100 -122
  73. package/styles/material-dark.scss +8 -2
  74. package/styles/material.css +100 -122
  75. package/styles/material.scss +8 -2
  76. package/styles/material3-dark.css +115 -137
  77. package/styles/material3-dark.scss +8 -2
  78. package/styles/material3.css +115 -137
  79. package/styles/material3.scss +8 -2
  80. package/styles/sortable/_bootstrap5.3-definition.scss +1 -0
  81. package/styles/sortable/_fluent2-definition.scss +1 -0
  82. package/styles/sortable/bootstrap-dark.css +3 -1
  83. package/styles/sortable/bootstrap.css +3 -1
  84. package/styles/sortable/bootstrap4.css +3 -1
  85. package/styles/sortable/bootstrap5-dark.css +3 -1
  86. package/styles/sortable/bootstrap5.css +3 -1
  87. package/styles/sortable/fabric-dark.css +3 -1
  88. package/styles/sortable/fabric.css +3 -1
  89. package/styles/sortable/fluent-dark.css +3 -1
  90. package/styles/sortable/fluent.css +3 -1
  91. package/styles/sortable/fluent2.css +1063 -0
  92. package/styles/sortable/fluent2.scss +3 -0
  93. package/styles/sortable/highcontrast-light.css +3 -1
  94. package/styles/sortable/highcontrast.css +3 -1
  95. package/styles/sortable/material-dark.css +3 -1
  96. package/styles/sortable/material.css +3 -1
  97. package/styles/sortable/material3-dark.css +4 -2
  98. package/styles/sortable/material3.css +4 -2
  99. package/styles/sortable/tailwind-dark.css +3 -1
  100. package/styles/sortable/tailwind.css +3 -1
  101. package/styles/tailwind-dark.css +210 -236
  102. package/styles/tailwind-dark.scss +8 -2
  103. package/styles/tailwind.css +210 -236
  104. package/styles/tailwind.scss +8 -2
  105. package/CHANGELOG.md +0 -544
package/CHANGELOG.md DELETED
@@ -1,544 +0,0 @@
1
- # Changelog
2
-
3
- ## [Unreleased]
4
-
5
- ### ListView
6
-
7
- #### Bug Fixes
8
-
9
- - `#FB52724` - The issue with space bar toggle in Switch is not working within ListView component has been resolved.
10
-
11
- ## 25.1.39 (2024-04-09)
12
-
13
- ### ListBox
14
-
15
- #### Bug Fixes
16
-
17
- - Issue with "Script error thrown in list box while dragging hover on `svg` element" has been resolved.
18
-
19
- ## 25.1.35 (2024-03-15)
20
-
21
- ### ListBox
22
-
23
- #### Bug Fixes
24
-
25
- - Issue with "Script error thrown in list box while dragging the `svg` element" has been resolved.
26
-
27
- ### ListView
28
-
29
- #### Breaking Changes
30
-
31
- - 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
-
33
- **Previous**
34
-
35
- ```typescript
36
-
37
- let template: string = '<div class="e-list-wrapper e-list-avatar" id = ${id}>' +
38
- '<span class="e-list-content">${name} ${$imgUrl ? $imgUrl : \'no image\' }</span></div>';
39
- ```
40
-
41
- **Now**
42
-
43
- ```typescript
44
-
45
- // data denotes the template data of each nodes from ListView data.
46
- let template: Function = (data: any) => {
47
- let result = `<div class="e-list-wrapper e-list-avatar" id = "${data.id}">`+
48
- `<span class="e-list-content">${data.name} ${data.imgUrl ? data.imgUrl : 'no image' }</span></div>`;
49
- return result;
50
- }
51
- ```
52
-
53
- ### ListBox
54
-
55
- #### Bug Fixes
56
-
57
- - `#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.
58
-
59
- ### ListView
60
-
61
- #### Bug Fixes
62
-
63
- - `#I463091` - Resolved the CSS override issue in the ListView component, and changed the `e-content` class name into `e-list-container`.
64
-
65
- ## 19.3.43 (2021-09-30)
66
-
67
- ### ListView
68
-
69
- #### Bug Fixes
70
-
71
- - `#F168185` - The issue with "Sorting is not applied properly when entering different values in the text field of the ListView component" has been resolved.
72
-
73
- ## 19.2.55 (2021-08-11)
74
-
75
- ### ListView
76
-
77
- #### Bug Fixes
78
-
79
- - `#F167149` - The issue with "Multiple requests are made to the controller when using remote data source with template support in the ListView component" has been resolved.
80
-
81
- ## 19.2.49 (2021-07-27)
82
-
83
- ### Common
84
-
85
- #### Bug Fixes
86
-
87
- - Sortable helper element issue resolved in List Box.
88
-
89
- ### ListView
90
-
91
- #### Bug Fixes
92
-
93
- - `#I335874` - The issue with "The additional new element is added in the template element of the List components" has been resolved.
94
-
95
- ## 19.2.48 (2021-07-20)
96
-
97
- ### ListView
98
-
99
- #### Bug Fixes
100
-
101
- - `#F164730` - "While grouping is enabled, dynamic items are not added to the proper group field in the ListView component" issue has been resolved.
102
- - `#I325424`, `#I329625` - The issue with "While enabling virtualization support, the ListView functional template is not working" has been resolved.
103
- - `#F166229` - The issue with "The ListView select event is not triggered when selecting items using the space key" has been resolved.
104
-
105
- ## 19.2.47 (2021-07-13)
106
-
107
- ### Common
108
-
109
- #### Bug Fixes
110
-
111
- - Sortable drop event is not triggered while dropping to the "no record found" element.
112
-
113
- ## 19.1.65 (2021-05-25)
114
-
115
- ### Common
116
-
117
- #### Bug Fixes
118
-
119
- - Sortable helper element issue resolved.
120
-
121
- ## 19.1.56 (2021-04-13)
122
-
123
- ### ListView
124
-
125
- #### Bug Fixes
126
-
127
- - `#309268` - Template content of ListView is not updated when updating the props date using `useState` has been fixed.
128
-
129
- ## 19.1.54 (2021-03-30)
130
-
131
- ### ListView
132
-
133
- #### Bug Fixes
134
-
135
- - `#304129`,`#304247` - The issue "ActionBegin event does not trigger before/after switching to new views in the nested ListView" has been fixed.
136
-
137
- - `#310143` - The script error with refreshItemHeight method in ListView component has been resolved.
138
-
139
- ## 18.3.53 (2020-12-08)
140
-
141
- ### ListView
142
-
143
- #### Bug Fixes
144
-
145
- - `#302538` - The issue with "The space key is not accepted in input text while using inside of Listview Template" has been fixed.
146
-
147
- - `#305040` - `The template issue in ListView component when using AddItem method` has been resolved.
148
-
149
- ## 18.3.47 (2020-11-05)
150
-
151
- ### ListBase
152
-
153
- #### New Features
154
-
155
- - `#291708`- Provided string and integer array support for data source property in ListBase.
156
-
157
- ## 18.3.44 (2020-10-27)
158
-
159
- ### ListView
160
-
161
- #### Bug Fixes
162
-
163
- - `#293803` - Provided hover support for ListView Virtualization.
164
-
165
- ## 18.3.35 (2020-10-01)
166
-
167
- ### ListView
168
-
169
- #### New Features
170
-
171
- - Provided support for rendering JsRender template in the ListView component.
172
-
173
- #### Bug Fixes
174
-
175
- - `#288456` - The issue when `clicking the header of the ListView component` has been resolved.
176
-
177
- ## 18.2.48 (2020-08-04)
178
-
179
- ### Common
180
-
181
- #### Bug Fixes
182
-
183
- - Sortable helper element hide inside the sidebar issue resolved.
184
-
185
- ## 18.2.46 (2020-07-21)
186
-
187
- ### ListView
188
-
189
- #### Bug Fixes
190
-
191
- - The issue with `The closest undefined error throws in the IE 11 browser` has been resolved.
192
-
193
- ## 18.2.44 (2020-07-07)
194
-
195
- ### ListView
196
-
197
- #### Bug Fixes
198
-
199
- - Issue with `Remote data with Virtualization feature` has been fixed.
200
-
201
- ### ListView
202
-
203
- #### Bug Fixes
204
-
205
- - #276068 Issue with `Angular's ngTemplate with Virtualization being enabled` has been fixed.
206
-
207
- ### ListBase
208
-
209
- #### Bug Fixes
210
-
211
- - #276068 Issue with `grouping of list-item in header` has been fixed.
212
-
213
- ### ListView
214
-
215
- #### Bug Fixes
216
-
217
- - The issue with `enabling the virtualization support in ListView component that throws script error in IE 11 browser` has been resolved.
218
-
219
- ## 17.4.40 (2019-12-24)
220
-
221
- ### ListBox
222
-
223
- #### Bug Fixes
224
-
225
- - Provided 'beforeDrop' event.
226
-
227
- ## 17.3.27 (2019-11-12)
228
-
229
- ### ListBox
230
-
231
- #### Bug Fixes
232
-
233
- - Issue with Drag and Drop in Empty area of List Box has been fixed
234
-
235
- ## 17.3.21 (2019-10-30)
236
-
237
- ### ListBox
238
-
239
- #### Bug Fixes
240
-
241
- - Issue with Drag and Drop has been fixed
242
-
243
- ### ListView
244
-
245
- #### Bug Fixes
246
-
247
- - #251219 - The content security policy issue has been fixed.
248
-
249
- ## 17.3.16 (2019-10-09)
250
-
251
- ### ListView
252
-
253
- #### Bug Fixes
254
-
255
- - Issue of rendering a listview with new data in virtualization has been fixed.
256
-
257
- ## 17.1.47 (2019-05-14)
258
-
259
- ### ListView
260
-
261
- #### New Features
262
-
263
- - #230272 - Provided the support for adding new list view item without re-render the listview in virtualization mode.
264
-
265
- ## 17.1.43 (2019-04-30)
266
-
267
- ### ListView
268
-
269
- #### Bug Fixes
270
-
271
- - Issue with maintaining checked items in virtualization mode while checking the checkbox item directly has been fixed.
272
-
273
- ## 17.1.42 (2019-04-23)
274
-
275
- ### ListView
276
-
277
- #### Bug Fixes
278
-
279
- - Issue in enabling `virtualization` with empty data source has been fixed.
280
-
281
- ## 17.1.40 (2019-04-09)
282
-
283
- ### ListBase
284
-
285
- #### Bug Fixes
286
-
287
- - Issue with single level element generation with fields mapping has been fixed.
288
-
289
- ## 17.1.32-beta (2019-03-13)
290
-
291
- ### ListView
292
-
293
- #### Bug Fixes
294
-
295
- - Issue with duplicate entries on updating the data source while binding data using data manager has been fixed.
296
-
297
- - Now it is possible to perform key interactions with input list items displayed using custom templates.
298
-
299
- ## 16.4.44 (2018-12-24)
300
-
301
- ### ListView
302
-
303
- #### Bug Fixes
304
-
305
- - Fixed multiple CSS class not added properly while using `template` property in `UI Virtualization`.
306
-
307
- - Fixed height calculation in `UI Virtualization` with sample level border inclusion.
308
-
309
- ## 16.3.33 (2018-11-20)
310
-
311
- ### ListView
312
-
313
- #### Bug Fixes
314
-
315
- - Fixed focus out event not triggered properly while interact `ListView` with keyboard navigation keys.
316
-
317
- ## 16.3.30 (2018-11-01)
318
-
319
- ### ListView
320
-
321
- #### New Features
322
-
323
- - Included `refreshItemHeight` public API to recalculate list item height in `UI Virtualization`.
324
-
325
- ## 16.3.27 (2018-10-23)
326
-
327
- ### ListView
328
-
329
- #### Bug Fixes
330
-
331
- - Fixed issue with `imageUrl` property while using with `template` rendering.
332
-
333
- ## 16.3.25 (2018-10-15)
334
-
335
- ### ListView
336
-
337
- #### Bug Fixes
338
-
339
- - Fixed remove selection of list items with `undefined` input using `selectItem` public method.
340
-
341
- - Fixed custom `cssClass` not removed properly while using `destroy` public method.
342
-
343
- ## 16.3.23 (2018-10-03)
344
-
345
- ### ListView
346
-
347
- #### Bug Fixes
348
-
349
- - Fixed issue with typings while using custom fields in removeItem
350
-
351
- ## 16.3.22 (2018-09-25)
352
-
353
- ### ListView
354
-
355
- #### Bug Fixes
356
-
357
- - Fixed `getSelectedItems` method returns `undefined` values for remote data.
358
-
359
- ## 16.3.21 (2018-09-22)
360
-
361
- ### ListView
362
-
363
- #### Bug Fixes
364
-
365
- - Fixed `selectMultipleItems` public method issue with empty `dataSource`.
366
- - Fixed `removeMultipleItems` public method issue with custom `fields` mapping.
367
-
368
- ## 16.3.17 (2018-09-12)
369
-
370
- ### ListView
371
-
372
- #### New Features
373
-
374
- - Provided multi-line text support in combination with [Avatar](https://ej2.syncfusion.com/documentation/avatar/getting-started.html?lang=typescript) and [Badge](https://ej2.syncfusion.com/documentation/badge/getting-started.html?lang=typescript).
375
-
376
- ## 16.2.49 (2018-08-21)
377
-
378
- ### ListView
379
-
380
- #### Bug Fixes
381
-
382
- - Issue in `select` event arguments of `ListView` template rendering fixed.
383
-
384
- ## 16.2.46 (2018-07-30)
385
-
386
- ### ListView
387
-
388
- #### Bug Fixes
389
-
390
- - Fixed `select` event returns `undefined` arguments while loading with numeric `dataSource`.
391
-
392
- ## 16.2.41 (2018-06-25)
393
-
394
- ### ListView
395
-
396
- #### New Features
397
-
398
- - UI-Virtualization implemented to render only viewable list items in a view port on loading large number of data.
399
-
400
- #### Breaking Changes
401
-
402
- - The following API namings are renamed.
403
-
404
- | Existing API Name | New API Name |
405
- | :-------------: |:-------------: |
406
- | unCheckAllItem | uncheckAllItems |
407
- | unCheckItem | uncheckItem |
408
- | checkAllItem | checkAllItems |
409
-
410
- ## 16.1.42 (2018-05-15)
411
-
412
- ### ListView
413
-
414
- #### Bug Fixes
415
-
416
- - Now `select` event will be triggered on `checkbox` interactions.
417
-
418
- ## 16.1.38 (2018-05-02)
419
-
420
- ### ListView
421
-
422
- #### Bug Fixes
423
-
424
- - Fixed `collapsible` icon alignment issue.
425
-
426
- ## 16.1.37 (2018-04-24)
427
-
428
- ### ListView
429
-
430
- #### Bug Fixes
431
-
432
- - Provided `checkbox` support for `NestedList`.
433
-
434
- ## 16.1.35 (2018-04-17)
435
-
436
- ### ListView
437
-
438
- #### Bug Fixes
439
-
440
- - The issue, 'The list items sorted in ascending order by default when the grouping is enabled', has been fixed.
441
-
442
- ## 16.1.34 (2018-04-10)
443
-
444
- ### ListView
445
-
446
- #### Bug Fixes
447
-
448
- - Provided option to `findItem` from given list element.
449
-
450
- ## 16.1.32 (2018-03-29)
451
-
452
- ### ListView
453
-
454
- #### Bug Fixes
455
-
456
- - The `addItem` public method without `FieldSettings` not properly working issue resolved.
457
-
458
- ## 16.1.28 (2018-03-09)
459
-
460
- ### Common
461
-
462
- #### Bug Fixes
463
-
464
- - `boolean` data is not supported in list generation issue has been fixed.
465
-
466
- ## 16.1.24 (2018-02-22)
467
-
468
- ### ListView
469
-
470
- #### New Features
471
-
472
- - The `checklist` feature implemented, which is used to select multiple items in ListView.
473
-
474
- ## 15.4.26-preview (2018-01-23)
475
-
476
- ### ListView
477
-
478
- #### Bug Fixes
479
-
480
- - Tab key is not focusing `ListView` properly issue has been fixed.
481
-
482
- ## 15.4.24-preview (2018-01-10)
483
-
484
- ### Common
485
-
486
- #### Bug Fixes
487
-
488
- - `data-value` not updated properly for array of string or number inputs bug fixed.
489
-
490
- ## 15.4.23-preview (2017-12-27)
491
-
492
- ### Common
493
-
494
- #### New Features
495
-
496
- - Added typing file for ES5 global scripts `(dist/global/index.d.ts)`.
497
-
498
- #### Breaking Changes
499
-
500
- - Modified the module bundle file name for ES6 bundling.
501
-
502
- ### ListView
503
-
504
- #### Bug Fixes
505
-
506
- - `SelectItem` method is not working with option which only have text field.
507
- - Complex `dataSource` binding support for ListView `fields`.
508
-
509
- ## 15.4.22-preview (2017-12-14)
510
-
511
- ### ListView
512
-
513
- #### New Features
514
-
515
- - Provided text binding support from complex `dataSource`.
516
-
517
- #### Bug Fixes
518
-
519
- - Empty `dataSource` not working properly on dynamic data issue fixed.
520
- - `removeItem` method properly handled for dynamic `dataSource`.
521
-
522
- ## 15.4.20-preview (2017-12-01)
523
-
524
- ### ListView
525
-
526
- #### New Features
527
-
528
- - Upgraded TypeScript version to 2.6.2
529
-
530
- ## 15.4.17-preview (2017-11-13)
531
-
532
- ### ListView
533
-
534
- ListView component represent data in interactive hierarchical structure interface across different layouts or views, which also has features of data-binding, template and grouping.
535
-
536
- - **Data binding** - Supports data binding to display the list of items from the local or server-side data source.
537
-
538
- - **Grouping** - Provides support to group the logically related items under a category.
539
-
540
- - **Nested list** - Displays a set of nested list items in different layout.
541
-
542
- - **Customizing templates** - Allows you to customize the list item, header and category group header.
543
-
544
- - **Accessibility** - Provides built-in accessibility support which helps to access all the ListView component features through the keyboard, on-screen readers, or other assistive technology devices.