@syncfusion/ej2-lists 27.2.5 → 28.1.33
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/README.md +3 -3
- package/dist/ej2-lists.min.js +3 -3
- package/dist/ej2-lists.umd.min.js +3 -3
- package/dist/ej2-lists.umd.min.js.map +1 -1
- package/dist/es6/ej2-lists.es2015.js +3 -25
- package/dist/es6/ej2-lists.es2015.js.map +1 -1
- package/dist/es6/ej2-lists.es5.js +3 -25
- package/dist/es6/ej2-lists.es5.js.map +1 -1
- package/dist/global/ej2-lists.min.js +3 -3
- package/dist/global/ej2-lists.min.js.map +1 -1
- package/dist/global/index.d.ts +2 -2
- package/package.json +10 -10
- package/src/sortable/sortable.d.ts +0 -1
- package/src/sortable/sortable.js +3 -25
- package/styles/bds-lite.css +450 -0
- package/styles/bds-lite.scss +7 -0
- package/styles/bds.css +606 -0
- package/styles/bds.scss +8 -0
- package/styles/bootstrap-dark-lite.css +11 -0
- package/styles/bootstrap-dark.css +11 -0
- package/styles/bootstrap-lite.css +11 -0
- package/styles/bootstrap.css +11 -0
- package/styles/bootstrap4-lite.css +11 -0
- package/styles/bootstrap4.css +11 -0
- package/styles/bootstrap5-dark-lite.css +11 -0
- package/styles/bootstrap5-dark.css +11 -0
- package/styles/bootstrap5-lite.css +11 -0
- package/styles/bootstrap5.3-lite.css +11 -0
- package/styles/bootstrap5.3.css +11 -0
- package/styles/bootstrap5.css +11 -0
- package/styles/fabric-dark-lite.css +11 -0
- package/styles/fabric-dark.css +11 -0
- package/styles/fabric-lite.css +11 -0
- package/styles/fabric.css +11 -0
- package/styles/fluent-dark-lite.css +11 -0
- package/styles/fluent-dark.css +11 -0
- package/styles/fluent-lite.css +11 -0
- package/styles/fluent.css +11 -0
- package/styles/fluent2-lite.css +12 -1
- package/styles/fluent2.css +12 -1
- package/styles/highcontrast-light-lite.css +11 -0
- package/styles/highcontrast-light.css +11 -0
- package/styles/highcontrast-lite.css +11 -0
- package/styles/highcontrast.css +11 -0
- package/styles/list-view/_bigger.scss +70 -1
- package/styles/list-view/_layout.scss +27 -1
- package/styles/list-view/_tailwind3-definition.scss +137 -0
- package/styles/list-view/_theme.scss +11 -3
- package/styles/list-view/bds.css +577 -0
- package/styles/list-view/bds.scss +6 -0
- package/styles/list-view/bootstrap-dark.css +11 -0
- package/styles/list-view/bootstrap.css +11 -0
- package/styles/list-view/bootstrap4.css +11 -0
- package/styles/list-view/bootstrap5-dark.css +11 -0
- package/styles/list-view/bootstrap5.3.css +11 -0
- package/styles/list-view/bootstrap5.css +11 -0
- package/styles/list-view/fabric-dark.css +11 -0
- package/styles/list-view/fabric.css +11 -0
- package/styles/list-view/fluent-dark.css +11 -0
- package/styles/list-view/fluent.css +11 -0
- package/styles/list-view/fluent2.css +12 -1
- package/styles/list-view/highcontrast-light.css +11 -0
- package/styles/list-view/highcontrast.css +11 -0
- package/styles/list-view/icons/_tailwind3.scss +8 -0
- package/styles/list-view/material-dark.css +11 -0
- package/styles/list-view/material.css +11 -0
- package/styles/list-view/material3-dark.css +11 -0
- package/styles/list-view/material3.css +11 -0
- package/styles/list-view/tailwind-dark.css +11 -0
- package/styles/list-view/tailwind.css +11 -0
- package/styles/list-view/tailwind3.css +509 -0
- package/styles/list-view/tailwind3.scss +6 -0
- package/styles/material-dark-lite.css +11 -0
- package/styles/material-dark.css +11 -0
- package/styles/material-lite.css +11 -0
- package/styles/material.css +11 -0
- package/styles/material3-dark-lite.css +11 -0
- package/styles/material3-dark.css +11 -0
- package/styles/material3-lite.css +11 -0
- package/styles/material3.css +11 -0
- package/styles/sortable/_tailwind3-definition.scss +1 -0
- package/styles/sortable/bds.css +32 -0
- package/styles/sortable/bds.scss +3 -0
- package/styles/sortable/tailwind3.css +32 -0
- package/styles/sortable/tailwind3.scss +3 -0
- package/styles/tailwind-dark-lite.css +11 -0
- package/styles/tailwind-dark.css +11 -0
- package/styles/tailwind-lite.css +11 -0
- package/styles/tailwind.css +11 -0
- package/styles/tailwind3-lite.css +428 -0
- package/styles/tailwind3-lite.scss +7 -0
- package/styles/tailwind3.css +538 -0
- package/styles/tailwind3.scss +8 -0
|
@@ -82,6 +82,10 @@
|
|
|
82
82
|
font-size: $listview-font-size;
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
+
&.e-disabled,
|
|
86
|
+
&.e-disabled * {
|
|
87
|
+
cursor: default;
|
|
88
|
+
}
|
|
85
89
|
}
|
|
86
90
|
|
|
87
91
|
& .e-list-parent {
|
|
@@ -99,6 +103,10 @@
|
|
|
99
103
|
@if ($skin-name == 'FluentUI' or $skin-name == 'Material3' or $skin-name == 'fluent2') {
|
|
100
104
|
margin-right: $listview-icon-back-margin-right;
|
|
101
105
|
}
|
|
106
|
+
@if ($skin-name == 'tailwind3') {
|
|
107
|
+
@include size($listview-back-icon-size, $listview-back-icon-size);
|
|
108
|
+
margin: 8px 8px 8px 0;
|
|
109
|
+
}
|
|
102
110
|
}
|
|
103
111
|
|
|
104
112
|
& .e-list-header {
|
|
@@ -175,6 +183,9 @@
|
|
|
175
183
|
@if $skin-name == 'fluent2' {
|
|
176
184
|
padding: 0;
|
|
177
185
|
}
|
|
186
|
+
@if $skin-name == 'tailwind3' {
|
|
187
|
+
font-weight: 600;
|
|
188
|
+
}
|
|
178
189
|
}
|
|
179
190
|
|
|
180
191
|
&:first-child {
|
|
@@ -246,6 +257,9 @@
|
|
|
246
257
|
@if $skin-name == 'fluent2' {
|
|
247
258
|
padding: $listview-item-padding;
|
|
248
259
|
}
|
|
260
|
+
@if $skin-name == 'tailwind3' {
|
|
261
|
+
font-weight: 500;
|
|
262
|
+
}
|
|
249
263
|
}
|
|
250
264
|
|
|
251
265
|
& .e-list-icon + .e-list-text,
|
|
@@ -256,7 +270,7 @@
|
|
|
256
270
|
|
|
257
271
|
& .e-list-icon {
|
|
258
272
|
margin-right: $listview-icon-margin-right;
|
|
259
|
-
@if ($skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'fluent2') {
|
|
273
|
+
@if ($skin-name == 'tailwind' or $skin-name == 'tailwind3' or $skin-name == 'FluentUI' or $skin-name == 'fluent2') {
|
|
260
274
|
@include size($listview-icon-size, $listview-icon-size);
|
|
261
275
|
}
|
|
262
276
|
@else if ($skin-name == 'Material3') {
|
|
@@ -330,12 +344,24 @@
|
|
|
330
344
|
@if ($skin-name != 'tailwind') {
|
|
331
345
|
margin-top: $listview-rtl-icon-back-margin;
|
|
332
346
|
}
|
|
347
|
+
@if ($skin-name == 'tailwind3') {
|
|
348
|
+
margin-bottom: $listview-rtl-icon-back-margin;
|
|
349
|
+
margin-left: $listview-rtl-icon-margin-left;
|
|
350
|
+
}
|
|
333
351
|
}
|
|
334
352
|
|
|
335
353
|
& .e-checkbox {
|
|
336
354
|
@include checkbox-style($listview-rtl-checkbox-left-margin, $listview-rtl-checkbox-right-margin);
|
|
337
355
|
}
|
|
338
356
|
}
|
|
357
|
+
&.e-disabled,
|
|
358
|
+
&.e-disabled * {
|
|
359
|
+
cursor: default;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
&.e-disabled .e-checkbox .e-icons{
|
|
363
|
+
cursor: default;
|
|
364
|
+
}
|
|
339
365
|
}
|
|
340
366
|
}
|
|
341
367
|
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
//layout
|
|
2
|
+
$listview-icon-margin-right: 8px !default;
|
|
3
|
+
$listview-icon-back-margin: 0 !default;
|
|
4
|
+
$listview-rtl-icon-back-margin: 0 !default;
|
|
5
|
+
$listview-rtl-icon-margin-left: 8px !default;
|
|
6
|
+
$listview-item-height: 40px !default;
|
|
7
|
+
$listview-item-line-height: 20px !default;
|
|
8
|
+
$listview-item-padding: 7px 9px 7px 12px !default;
|
|
9
|
+
$listview-rtl-item-padding: 7px 12px 7px 12px !default;
|
|
10
|
+
$listview-touch-item-padding: 8px 9px 9px 16px !default;
|
|
11
|
+
$listview-header-padding: 6px 12px !default;
|
|
12
|
+
$listview-back-icon-font-size: $text-lg !default;
|
|
13
|
+
$listview-touch-back-icon-font-size: $text-xl !default;
|
|
14
|
+
$listview-root-border-radius: 4px !default;
|
|
15
|
+
$listview-nested-icon-collapsible: 18px !default;
|
|
16
|
+
$listview-icon-size: 20px !default;
|
|
17
|
+
$listview-header-text-padding: 12px !default;
|
|
18
|
+
$listview-header-height: 34px !default;
|
|
19
|
+
$listview-header-line-height: 16px !default;
|
|
20
|
+
$listview-border-bottom: 1px !default;
|
|
21
|
+
$listview-border-top: 0 !default;
|
|
22
|
+
$listview-border-left: 0 !default;
|
|
23
|
+
$listview-border-right: 0 !default;
|
|
24
|
+
$listview-group-first-border-bottom: 1px !default;
|
|
25
|
+
$listview-group-border-top: 0 !default;
|
|
26
|
+
$listview-group-border-bottom: 1px !default;
|
|
27
|
+
$listview-groupheader-item-height: 32px !default;
|
|
28
|
+
$listview-groupheader-item-line-height: 16px !default;
|
|
29
|
+
$listview-groupheader-font-size: $text-xs !default;
|
|
30
|
+
$listview-border-size: 1px !default;
|
|
31
|
+
$listview-font-size: $text-sm !default;
|
|
32
|
+
$listview-back-padding-right: 8px !default;
|
|
33
|
+
$listview-back-icon-size: 18px !default;
|
|
34
|
+
$listview-touch-item-height: 48px !default;
|
|
35
|
+
$listview-touch-item-line-height: 24px !default;
|
|
36
|
+
$listview-touch-item-size: 24px !default;
|
|
37
|
+
$listview-touch-item-padding: 16px 14px 12px 16px !default;
|
|
38
|
+
$listview-rtl-touch-item-padding: 12px 16px 12px 14px !default;
|
|
39
|
+
$listview-touch-item-font-size: $text-sm !default;
|
|
40
|
+
$listview-touch-groupheader-height: 40px !default;
|
|
41
|
+
$listview-touch-groupheader-line-height: 20px !default;
|
|
42
|
+
$listview-touch-header-height: 40px !default;
|
|
43
|
+
$listview-touch-header-font-weight: $font-weight-semibold !default;
|
|
44
|
+
$listview-touch-header-font-size: $text-sm !default;
|
|
45
|
+
$listview-touch-header-line-height: 22px !default;
|
|
46
|
+
$listview-touch-header-icon-margin-top: 2px !default;
|
|
47
|
+
$listview-touch-icon-margin-right: 12px !default;
|
|
48
|
+
$listview-touch-checkbox-right-margin: -2px 0 0 12px !default;
|
|
49
|
+
$listview-touch-checkbox-left-margin: 0 12px 0 0 !default;
|
|
50
|
+
$listview-touch-rtl-checkbox-left-margin: -2px 0 0 12px !default;
|
|
51
|
+
$listview-touch-rtl-checkbox-right-margin: -2px 12px 0 0 !default;
|
|
52
|
+
$listview-checkbox-right-margin: -2px 0 0 8px !default;
|
|
53
|
+
$listview-checkbox-left-margin: 0 8px 0 0 !default;
|
|
54
|
+
$listview-rtl-checkbox-left-margin: -2px 0 0 8px !default;
|
|
55
|
+
$listview-rtl-checkbox-right-margin: -2px 8px 0 0 !default;
|
|
56
|
+
|
|
57
|
+
//ListView In-built template variables
|
|
58
|
+
$listview-template-padding: 10px 16px !default;
|
|
59
|
+
$listview-template-avatar-padding-right: 16px !default;
|
|
60
|
+
$listview-template-avatar-padding-left: 68px !default;
|
|
61
|
+
$listview-template-avatar-rightposition-padding-right: 68px !default;
|
|
62
|
+
$listview-template-avatar-rightposition-padding-left: 16px !default;
|
|
63
|
+
$listview-template-avatar-size: 36px !default;
|
|
64
|
+
$listview-touch-template-avatar-size: 44px !default;
|
|
65
|
+
$listview-template-avatar-top: 0 !default;
|
|
66
|
+
$listview-template-avatar-left: 0 !default;
|
|
67
|
+
$listview-template-avatar-margin: 12px !default;
|
|
68
|
+
$listview-template-avatar-rightposition-right: 0 !default;
|
|
69
|
+
$listview-template-badge-height: 18px !default;
|
|
70
|
+
$listview-template-badge-width: 20px !default;
|
|
71
|
+
$listview-template-badge-line-height: 16px !default;
|
|
72
|
+
$listview-template-badge-font-size: $text-xxs !default;
|
|
73
|
+
$listview-template-badge-right: 12px !default;
|
|
74
|
+
$listview-template-avatar-badge-padding-right: 10px !default;
|
|
75
|
+
$listview-template-avatar-badge-padding-left: 68px !default;
|
|
76
|
+
$listview-template-badgewithoutavatar-padding-right: 10px !default;
|
|
77
|
+
$listview-template-badgewithoutavatar-padding-left: 16px !default;
|
|
78
|
+
$listview-template-item-padding: 8px 0 !default;
|
|
79
|
+
$listview-template-multiline-header-padding: 0 !default;
|
|
80
|
+
$listview-template-multiline-content-padding: 2px 0 0 0 !default;
|
|
81
|
+
$listview-template-multiline-header-font-size: $text-sm !default;
|
|
82
|
+
$listview-template-multiline-padding: 9px !default;
|
|
83
|
+
$listview-template-multiline-content-font-size: $text-sm !default;
|
|
84
|
+
$listview-template-multiline-avatar-top: 0 !default;
|
|
85
|
+
$listview-touch-template-padding: 12px 16px !default;
|
|
86
|
+
$listview-touch-template-multiline-padding: 2px !default;
|
|
87
|
+
$listview-touch-template-avatar-padding-left: 88px !default;
|
|
88
|
+
$listview-touch-template-avatar-size: 48px !default;
|
|
89
|
+
$listview-touch-template-multiline-header-font-size: $text-base !default;
|
|
90
|
+
$listview-touch-template-multiline-header-line-height: 24px !default;
|
|
91
|
+
$listview-touch-template-avatar-margin: 8px 24px 8px 16px !default;
|
|
92
|
+
$listview-touch-template-badge-height: 20px !default;
|
|
93
|
+
$listview-touch-template-badge-width: 34px !default;
|
|
94
|
+
$listview-touch-template-badge-line-height: 18px !default;
|
|
95
|
+
$listview-touch-template-badge-font-size: $text-xs !default;
|
|
96
|
+
$listview-template-avatar-background: $content-bg-color-alt2 !default;
|
|
97
|
+
|
|
98
|
+
//color
|
|
99
|
+
$listview-font-family: $font-family !default;
|
|
100
|
+
$listview-text-color: $content-text-color !default;
|
|
101
|
+
$listview-text-disabled: $content-text-color-disabled !default;
|
|
102
|
+
$listview-icon-color: $icon-color !default;
|
|
103
|
+
$listview-icon-disabled: $icon-color-disabled !default;
|
|
104
|
+
$listview-background: $transparent !default;
|
|
105
|
+
$listview-line-color: $border-light !default;
|
|
106
|
+
$listview-item-hover-bg: $content-bg-color-hover !default;
|
|
107
|
+
$listview-text-hover-color: $content-text-color-hover !default;
|
|
108
|
+
$listview-item-active-bg: $content-bg-color-pressed !default;
|
|
109
|
+
$listview-root-border-color: $border-light !default;
|
|
110
|
+
$listview-text-active-color: $content-text-color-pressed !default;
|
|
111
|
+
$listview-header-text-color: $content-text-color !default;
|
|
112
|
+
$listview-header-text-disabled: $content-text-color-disabled !default;
|
|
113
|
+
$listview-header-bg: $content-bg-color-alt1 !default;
|
|
114
|
+
$listview-header-icon-color: $icon-color !default;
|
|
115
|
+
$listview-header-icon-disabled: $icon-color-disabled !default;
|
|
116
|
+
$listview-header-border: $border-light !default;
|
|
117
|
+
$listview-header-font-size: $text-xs !default;
|
|
118
|
+
$listview-header-font-weight: $font-weight-semibold !default;
|
|
119
|
+
$listview-hover-border-color: $border-light !default;
|
|
120
|
+
$listview-border-bottom-color: $border-light !default;
|
|
121
|
+
$listview-border-top-color: transparent !default;
|
|
122
|
+
$listview-border-right-color: transparent !default;
|
|
123
|
+
$listview-border-left-color: transparent !default;
|
|
124
|
+
$listview-groupheader-text-color: $content-text-color !default;
|
|
125
|
+
$listview-groupheader-bg: $content-bg-color-alt1 !default;
|
|
126
|
+
$listview-groupheader-icon: $icon-color !default;
|
|
127
|
+
$listview-focused-collapsible-color: $content-text-color-pressed !default;
|
|
128
|
+
$listview-icon-hover: $icon-color-hover !default;
|
|
129
|
+
$listview-icon-pressed: $icon-color-pressed !default;
|
|
130
|
+
$checkmark-bgcolor: $content-bg-color !default;
|
|
131
|
+
$checkmark-border-color: $content-bg-color !default;
|
|
132
|
+
$checkmark-color: $primary !default;
|
|
133
|
+
|
|
134
|
+
//ListView In-built template variables
|
|
135
|
+
$listview-template-multiline-header-color: $content-text-color !default;
|
|
136
|
+
$listview-template-multiline-content-color: $content-text-color-alt2 !default;
|
|
137
|
+
$listview-template-focused-multiline-content-color: $content-text-color-selected !default;
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
@if ($skin-name != 'bootstrap5.3') {
|
|
33
33
|
color: $listview-icon-color;
|
|
34
34
|
}
|
|
35
|
-
|
|
36
35
|
@if ($skin-name == 'tailwind') {
|
|
37
36
|
&.e-back-button,
|
|
38
37
|
&.e-icon-collapsible {
|
|
@@ -142,6 +141,9 @@
|
|
|
142
141
|
@else {
|
|
143
142
|
font-weight: 500;
|
|
144
143
|
}
|
|
144
|
+
@if ($skin-name == 'tailwind3') {
|
|
145
|
+
line-height: 20px;
|
|
146
|
+
}
|
|
145
147
|
margin: 0;
|
|
146
148
|
overflow: hidden;
|
|
147
149
|
padding: $listview-template-multiline-header-padding;
|
|
@@ -165,6 +167,9 @@
|
|
|
165
167
|
@if ($skin-name == 'fluent2') {
|
|
166
168
|
line-height: 16px;
|
|
167
169
|
}
|
|
170
|
+
@if ($skin-name == 'tailwind3') {
|
|
171
|
+
line-height: 20px;
|
|
172
|
+
}
|
|
168
173
|
margin: 0;
|
|
169
174
|
padding: $listview-template-multiline-content-padding;
|
|
170
175
|
word-wrap: break-word;
|
|
@@ -181,12 +186,15 @@
|
|
|
181
186
|
.e-avatar {
|
|
182
187
|
@include avatar-size($listview-template-avatar-size, $listview-template-avatar-size, $listview-template-avatar-top, $listview-template-avatar-left, null);
|
|
183
188
|
position: absolute;
|
|
184
|
-
@if ($skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'bootstrap5' or $skin-name == 'bootstrap5.3' or $skin-name == 'Material3' or $skin-name == 'fluent2') {
|
|
189
|
+
@if ($skin-name == 'tailwind' or $skin-name == 'tailwind3' or $skin-name == 'FluentUI' or $skin-name == 'bootstrap5' or $skin-name == 'bootstrap5.3' or $skin-name == 'Material3' or $skin-name == 'fluent2') {
|
|
185
190
|
margin: $listview-template-avatar-margin;
|
|
186
191
|
}
|
|
187
|
-
@if $skin-name == 'Material3' {
|
|
192
|
+
@if ($skin-name == 'Material3' or $skin-name == 'tailwind3') {
|
|
188
193
|
background-color: $listview-template-avatar-background;
|
|
189
194
|
}
|
|
195
|
+
@if ($skin-name == 'tailwind3') {
|
|
196
|
+
top: -3px;
|
|
197
|
+
}
|
|
190
198
|
}
|
|
191
199
|
}
|
|
192
200
|
|