@syncfusion/ej2-base 20.1.61 → 20.2.39

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 (49) hide show
  1. package/CHANGELOG.md +38 -7
  2. package/{README.md → ReadMe.md} +1 -1
  3. package/bin/syncfusion-license.js +2 -0
  4. package/dist/ej2-base.umd.min.js +1 -10
  5. package/dist/ej2-base.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-base.es2015.js +131 -29
  7. package/dist/es6/ej2-base.es2015.js.map +1 -1
  8. package/dist/es6/ej2-base.es5.js +131 -29
  9. package/dist/es6/ej2-base.es5.js.map +1 -1
  10. package/dist/global/ej2-base.min.js +1 -10
  11. package/dist/global/ej2-base.min.js.map +1 -1
  12. package/dist/global/index.d.ts +0 -9
  13. package/helpers/e2e/base.js +62 -52
  14. package/helpers/e2e/index.js +8 -6
  15. package/package.json +8 -113
  16. package/src/animation.d.ts +9 -0
  17. package/src/animation.js +24 -3
  18. package/src/component.js +1 -3
  19. package/src/draggable.d.ts +3 -0
  20. package/src/draggable.js +62 -13
  21. package/src/touch.js +4 -0
  22. package/src/validate-lic.js +39 -9
  23. package/styles/_fusionnew-dark-definition.scss +9 -0
  24. package/styles/_fusionnew-definition.scss +9 -0
  25. package/styles/_material3-dark-definition.scss +10 -0
  26. package/styles/_material3-definition.scss +9 -0
  27. package/styles/bootstrap-dark.css +31 -1
  28. package/styles/bootstrap.css +31 -1
  29. package/styles/bootstrap4.css +31 -1
  30. package/styles/bootstrap5-dark.css +31 -1
  31. package/styles/bootstrap5.css +31 -1
  32. package/styles/common/_core.scss +2 -1
  33. package/styles/definition/_fluent-dark.scss +5 -5
  34. package/styles/definition/_fusionnew-dark.scss +358 -0
  35. package/styles/definition/_fusionnew.scss +357 -0
  36. package/styles/definition/_material3-dark.scss +408 -0
  37. package/styles/definition/_material3.scss +357 -0
  38. package/styles/fabric-dark.css +31 -1
  39. package/styles/fabric.css +31 -1
  40. package/styles/fluent-dark.css +31 -1
  41. package/styles/fluent.css +31 -1
  42. package/styles/highcontrast-light.css +31 -1
  43. package/styles/highcontrast.css +31 -1
  44. package/styles/material-dark.css +31 -1
  45. package/styles/material.css +31 -1
  46. package/styles/tailwind-dark.css +31 -1
  47. package/styles/tailwind.css +31 -1
  48. package/.github/PULL_REQUEST_TEMPLATE/Bug.md +0 -60
  49. package/.github/PULL_REQUEST_TEMPLATE/feature.md +0 -42
@@ -0,0 +1,357 @@
1
+ // color system
2
+
3
+ // black
4
+ $black: #000 !default;
5
+
6
+ // White
7
+ $white: #fff !default;
8
+
9
+ @function shade-color($color, $percentage) {
10
+ @return mix($black, $color, $percentage);
11
+ }
12
+
13
+ @function tint-color($color, $percentage) {
14
+ @return mix($white, $color, $percentage);
15
+ }
16
+
17
+ // Transparent
18
+ $transparent: transparent;
19
+
20
+ // scss-docs-start gray-color-variables
21
+ $gray-100: #f8f9fa !default;
22
+ $gray-200: #e9ecef !default;
23
+ $gray-300: #dee2e6 !default;
24
+ $gray-400: #ced4da !default;
25
+ $gray-500: #adb5bd !default;
26
+ $gray-600: #6c757d !default;
27
+ $gray-700: #495057 !default;
28
+ $gray-800: #343a40 !default;
29
+ $gray-900: #212529 !default;
30
+
31
+ // scss-docs-start color-variables
32
+ $blue: #0d6efd !default;
33
+ $indigo: #6610f2 !default;
34
+ $purple: #6f42c1 !default;
35
+ $pink: #d63384 !default;
36
+ $red: #dc3545 !default;
37
+ $orange: #fd7e14 !default;
38
+ $yellow: #ffc107 !default;
39
+ $green: #198754 !default;
40
+ $teal: #20c997 !default;
41
+ $cyan: #0dcaf0 !default;
42
+
43
+
44
+ $primary: $blue !default;
45
+ $secondary: $gray-600 !default;
46
+ $success: $green !default;
47
+ $info: $cyan !default;
48
+ $warning: $yellow !default;
49
+ $danger: $red !default;
50
+ $success-light: tint-color($success, 80%) !default;
51
+ $info-light: tint-color($info, 80%) !default;
52
+ $warning-light: tint-color($warning, 80%) !default;
53
+ $danger-light: tint-color($danger, 80%) !default;
54
+ $primary-text-color: $white !default;
55
+ $primary-light: tint-color($primary, 50%) !default;
56
+ $primary-lighter: tint-color($primary, 90%) !default;
57
+ $success-dark: darken($success, 10%) !default;
58
+ $info-dark: darken($info, 25%) !default;
59
+ $warning-dark: darken($warning, 25%) !default;
60
+ $danger-dark: darken($danger, 10%) !default;
61
+ $success-light-alt: tint-color($success, 80%) !default;
62
+ $info-light-alt: tint-color($info, 80%) !default;
63
+ $warning-light-alt: tint-color($warning, 80%) !default;
64
+ $danger-light-alt: tint-color($danger, 80%) !default;
65
+
66
+
67
+
68
+ // backgroundcolor
69
+ $content-bg-color: $white !default;
70
+ $content-bg-color-alt1: $gray-100 !default;
71
+ $content-bg-color-alt2: $gray-200 !default;
72
+ $content-bg-color-alt3: $gray-300 !default;
73
+ $content-bg-color-alt4: $gray-400 !default;
74
+ $content-bg-color-alt5: $gray-500 !default;
75
+ $content-bg-color-hover: $gray-200 !default;
76
+ $content-bg-color-pressed: $gray-400 !default;
77
+ $content-bg-color-focus: $gray-200 !default;
78
+ $content-bg-color-selected: $primary !default;
79
+ $content-bg-color-dragged: $gray-400 !default;
80
+ $content-bg-color-disabled: $white !default;
81
+ $flyout-bg-color: $white !default;
82
+ $flyout-bg-color-hover: $gray-200 !default;
83
+ $flyout-bg-color-pressed: $primary !default;
84
+ $flyout-bg-color-focus: $gray-200 !default;
85
+ $overlay-bg-color: rgba($black, .5) !default;
86
+ $table-bg-color-hover: darken($content-bg-color-alt1, 3%) !default;
87
+ $table-bg-color-pressed: $gray-300 !default;
88
+ $table-bg-color-selected: darken($content-bg-color-alt1, 6%) !default;
89
+
90
+ // all theme common color
91
+ $colorpicker-gradient-1: #f00 !default;
92
+ $colorpicker-gradient-2: #ff0 !default;
93
+ $ccolorpicker-gradient-3: #0f0 !default;
94
+ $colorpicker-gradient-4: #0ff !default;
95
+ $colorpicker-gradient-5: #00f !default;
96
+ $colorpicker-gradient-6: #f0f !default;
97
+ $colorpicker-gradient-7: #ff0004 !default;
98
+ $spreadsheet-selection-1: #673ab8;
99
+ $spreadsheet-selection-2: #9c27b0;
100
+ $spreadsheet-selection-3: #029688;
101
+ $spreadsheet-selection-4: #4caf51;
102
+ $spreadsheet-selection-5: #fe9800;
103
+ $spreadsheet-selection-6: #3f52b5;
104
+
105
+
106
+ // text-color
107
+ $content-text-color: $gray-900 !default;
108
+ $content-text-color-alt1: $gray-800 !default;
109
+ $content-text-color-alt2: $gray-700 !default;
110
+ $content-text-color-alt3: $gray-600 !default;
111
+ $content-text-color-hover: $gray-900 !default;
112
+ $content-text-color-pressed: $gray-900 !default;
113
+ $content-text-color-focus: $gray-900 !default;
114
+ $content-text-color-selected: $primary-text-color !default;
115
+ $content-text-color-dragged: $gray-900 !default;
116
+ $content-text-color-disabled: $gray-500 !default;
117
+ $placeholder-text-color: $gray-600 !default;
118
+ $flyout-text-color: $gray-900 !default;
119
+ $flyout-text-color-hover: $gray-900 !default;
120
+ $flyout-text-color-pressed: $primary-text-color !default;
121
+ $flyout-text-color-focus: $gray-900 !default;
122
+ $table-text-color-hover: $gray-900 !default;
123
+ $table-text-color-pressed: $gray-900 !default;
124
+ $table-text-color-selected: $gray-900 !default;
125
+
126
+ // icon-color
127
+ $icon-color: $gray-600 !default;
128
+ $icon-color-hover: $gray-800 !default;
129
+ $icon-color-pressed: $gray-900 !default;
130
+ $icon-color-disabled: $gray-500 !default;
131
+
132
+ // border-color
133
+ $border-light: $gray-300 !default;
134
+ $border: $gray-400 !default;
135
+ $border-dark: $gray-500 !default;
136
+ $border-hover: $gray-400 !default;
137
+ $border-pressed: $gray-500 !default;
138
+ $border-focus: $gray-400 !default;
139
+ $border-selected: $gray-500 !default;
140
+ $border-dragged: $gray-300 !default;
141
+ $border-disabled: $gray-300 !default;
142
+ $border-warning: $warning !default;
143
+ $border-error: $danger !default;
144
+ $border-success: $success !default;
145
+ $spreadsheet-gridline: $gray-300 !default;
146
+ $flyout-border: $gray-300 !default;
147
+
148
+ // Tooltip
149
+ $tooltip-bg-color: $gray-900 !default;
150
+ $tooltip-border: $gray-900;
151
+ $toooltip-text-color: #f9fafb !default;
152
+
153
+
154
+
155
+ // shadow
156
+ $shadow: 0 .8px 16px rgba($black, .15) !default;
157
+ $shadow-sm: 0 2px 4px rgba($black, .075) !default;
158
+ $shadow-md: 0 8px 12px rgba($black, .15) !default;
159
+ $shadow-lg: 0 16px 48px rgba($black, .175) !default;
160
+ $shadow-xl: 0 20px 25px -5px rgba($black, .1), 0 10px 10px -5px rgba($black, .04) !default;
161
+ $shadow-2xl: 0 25px 50px -12px rgba($black, .25) !default;
162
+ $shadow-inner: inset 0 1px 2px rgba($black, .075) !default;
163
+ $shadow-none: 0 0 rgba($black, 0) !default;
164
+ $shadow-focus-ring1: 0 0 0 4px rgba($primary, .25) !default;
165
+ $shadow-focus-ring2: 0 0 0 4px rgba($primary, .25) !default;
166
+ $primary-shadow-focus: 0 0 0 4px rgba(tint-color($primary, 15%), .5) !default;
167
+ $secondary-shadow-focus: 0 0 0 4px rgba(tint-color($secondary, 15%), .5) !default;
168
+ $success-shadow-focus: 0 0 0 4px rgba(tint-color($success, 15%), .5) !default;
169
+ $danger-shadow-focus: 0 0 0 4px rgba(tint-color($danger, 15%), .5) !default;
170
+ $info-shadow-focus: 0 0 0 4px rgba(tint-color($info, 15%), .5) !default;
171
+ $warning-shadow-focus: 0 0 0 4px rgba(tint-color($warning, 15%), .5) !default;
172
+
173
+
174
+ // fontfamily
175
+ $font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji' !default;
176
+
177
+
178
+ // default font Size
179
+ $text-xxs: 10px !default;
180
+ $text-xs: 12px !default;
181
+ $text-sm: 14px !default;
182
+ $text-base: 16px !default;
183
+ $text-lg: 18px !default;
184
+ $text-xl: 20px !default;
185
+ $text-2xl: 24px !default;
186
+ $text-3xl: 30px !default;
187
+ $text-4xl: 36px !default;
188
+ $text-5xl: 48px !default;
189
+ $text-6xl: 60px !default;
190
+ $text-7xl: 72px !default;
191
+ $text-8xl: 96px !default;
192
+ $text-9xl: 128px !default;
193
+
194
+ // heading
195
+ $h1-font-size: 40px !default;
196
+ $h2-font-size: 32px !default;
197
+ $h3-font-size: 28px !default;
198
+ $h4-font-size: $text-2xl !default;
199
+ $h5-font-size: $text-xl !default;
200
+ $h6-font-size: $text-base !default;
201
+
202
+ // Display
203
+
204
+ // Line height
205
+ $leading-none: 1 !default;
206
+ $leading-tight: 1.25 !default;
207
+ $leading-snug: 1.375 !default;
208
+ $leading-normal: 1.5 !default;
209
+ $leading-relaxed: 1.625 !default;
210
+ $leading-loose: 2 !default;
211
+
212
+
213
+ // font Weight
214
+ $font-weight-lighter: lighter !default;
215
+ $font-weight-light: 300 !default;
216
+ $font-weight-normal: 400 !default;
217
+ $font-weight-medium: 500 !default;
218
+ $font-weight-bold: 700 !default;
219
+ $font-weight-bolder: bolder !default;
220
+
221
+
222
+ // Secondary-button
223
+
224
+ $secondary-bg-color: $secondary !default;
225
+ $secondary-border-color: $secondary-bg-color !default;
226
+ $secondary-text-color: $white !default;
227
+ $secondary-bg-color-hover: shade-color($secondary-bg-color, 15%) !default;
228
+ $secondary-border-color-hover: shade-color($secondary-bg-color, 20%) !default;
229
+ $secondary-text-color-hover: $secondary-text-color !default;
230
+ $secondary-bg-color-pressed: shade-color($secondary-bg-color, 20%) !default;
231
+ $secondary-border-color-pressed: shade-color($secondary-bg-color, 25%) !default;
232
+ $secondary-text-color-pressed: $secondary-text-color !default;
233
+ $secondary-bg-color-focus: $secondary-bg-color-hover !default;
234
+ $secondary-border-color-focus: $secondary-border-color-hover !default;
235
+ $secondary-text-color-focus: $secondary-text-color-hover !default;
236
+ $secondary-bg-color-disabled: rgba($secondary-bg-color, .65) !default;
237
+ $secondary-border-color-disabled: $secondary-bg-color-disabled !default;
238
+ $secondary-text-color-disabled: rgba($secondary-text-color, .65) !default;
239
+
240
+
241
+
242
+ // Primary-button
243
+
244
+ $primary-bg-color: $primary !default;
245
+ $primary-border-color: $primary !default;
246
+ $primary-text: $primary-text-color !default;
247
+ $primary-bg-color-hover: shade-color($primary-bg-color, 15%) !default;
248
+ $primary-border-color-hover: shade-color($primary-bg-color, 20%) !default;
249
+ $primary-text-hover: $primary-text !default;
250
+ $primary-bg-color-pressed: shade-color($primary-bg-color, 20%) !default;
251
+ $primary-border-color-pressed: shade-color($primary-bg-color, 25%) !default;
252
+ $primary-text-pressed: $primary-text-color !default;
253
+ $primary-bg-color-focus: $primary-bg-color-hover !default;
254
+ $primary-border-color-focus: $primary-border-color-hover !default;
255
+ $primary-text-focus: $primary-text !default;
256
+ $primary-bg-color-disabled: rgba($primary-bg-color, .65) !default;
257
+ $primary-border-color-disabled: $primary-bg-color-disabled !default;
258
+ $primary-text-disabled: rgba($primary-text, .65) !default;
259
+
260
+ // Success-button
261
+
262
+ $success-bg-color: $success !default;
263
+ $success-border-color: $success !default;
264
+ $success-text: $white !default;
265
+ $success-bg-color-hover: shade-color($success-bg-color, 15%) !default;
266
+ $success-border-color-hover: shade-color($success-bg-color, 20%) !default;
267
+ $success-text-hover: $success-text !default;
268
+ $success-bg-color-pressed: shade-color($success-bg-color, 20%) !default;
269
+ $success-border-color-pressed: shade-color($success-bg-color, 25%) !default;
270
+ $success-text-pressed: $success-text !default;
271
+ $success-bg-color-focus: $success-bg-color-hover !default;
272
+ $success-border-color-focus: $success-border-color-hover !default;
273
+ $success-text-focus: $success-text !default;
274
+ $success-bg-color-disabled: rgba($success-bg-color, .65) !default;
275
+ $success-border-color-disabled: $success-bg-color-disabled !default;
276
+ $success-text-disabled: rgba($success-text, .65) !default;
277
+
278
+ // Warning-button
279
+ $warning-bg-color: $warning !default;
280
+ $warning-border-color: $warning !default;
281
+ $warning-text: $black !default;
282
+ $warning-bg-color-hover: tint-color($warning-bg-color, 15%) !default;
283
+ $warning-border-color-hover: tint-color($warning-bg-color, 10%) !default;
284
+ $warning-text-hover: $warning-text !default;
285
+ $warning-bg-color-pressed: tint-color($warning-bg-color, 20%) !default;
286
+ $warning-border-color-pressed: tint-color($warning-bg-color, 10%) !default;
287
+ $warning-text-pressed: $warning-text !default;
288
+ $warning-bg-color-focus: $warning-bg-color-hover !default;
289
+ $warning-border-color-focus: $warning-border-color-hover !default;
290
+ $warning-text-focus: $warning-text !default;
291
+ $warning-bg-color-disabled: rgba($warning-bg-color, .65) !default;
292
+ $warning-border-color-disabled: $warning-bg-color-disabled !default;
293
+ $warning-text-disabled: rgba($warning-text, .65) !default;
294
+
295
+ // danger-button
296
+ $danger-bg-color: $danger !default;
297
+ $danger-border-color: $danger !default;
298
+ $danger-text: $white !default;
299
+ $danger-bg-color-hover: shade-color($danger-bg-color, 15%) !default;
300
+ $danger-border-color-hover: shade-color($danger-bg-color, 20%) !default;
301
+ $danger-text-hover: $danger-text !default;
302
+ $danger-bg-color-pressed: shade-color($danger-bg-color, 20%) !default;
303
+ $danger-border-color-pressed: shade-color($danger-bg-color, 25%) !default;
304
+ $danger-text-pressed: $danger-text !default;
305
+ $danger-bg-color-focus: $danger-bg-color-hover !default;
306
+ $danger-border-color-focus: $danger-border-color-hover !default;
307
+ $danger-text-focus: $danger-text !default;
308
+ $danger-bg-color-disabled: rgba($danger-bg-color, .65) !default;
309
+ $danger-border-color-disabled: $danger-bg-color-disabled !default;
310
+ $danger-text-disabled: rgba($danger-text, .65) !default;
311
+
312
+ // Info-button
313
+ $info-bg-color: $info !default;
314
+ $info-border-color: $info !default;
315
+ $info-text: $black !default;
316
+ $info-bg-color-hover: tint-color($info-bg-color, 15%) !default;
317
+ $info-border-color-hover: tint-color($info-bg-color, 10%) !default;
318
+ $info-text-hover: $info-text !default;
319
+ $info-bg-color-pressed: tint-color($info-bg-color, 20%) !default;
320
+ $info-border-color-pressed: tint-color($info-bg-color, 10%) !default;
321
+ $info-text-pressed: $info-text !default;
322
+ $info-bg-color-focus: $info-bg-color-hover !default;
323
+ $info-border-color-focus: $info-border-color-hover !default;
324
+ $info-text-focus: $info-text-hover !default;
325
+ $info-bg-color-disabled: rgba($info-bg-color, .65) !default;
326
+ $info-border-color-disabled: $info-bg-color-disabled !default;
327
+ $info-text-disabled: rgba($info-text, .65) !default;
328
+
329
+ //Outline button
330
+ $primary-outline: $primary-bg-color !default;
331
+ $secondary-outline: $secondary-bg-color !default;
332
+ $warning-outline: $warning-bg-color !default;
333
+ $danger-outline: $danger-bg-color !default;
334
+ $success-outline: $success-bg-color !default;
335
+ $info-outline: $info-bg-color !default;
336
+
337
+
338
+ // chart series
339
+
340
+ $series-1: $gray-200;
341
+ $series-2: $gray-300;
342
+ $series-3: $gray-400;
343
+ $series-4: $gray-800;
344
+ $series-5: #1f2937;
345
+ $series-6: #5e6e22;
346
+ $series-7: #978a2b;
347
+ $series-8: #6a4314;
348
+ $series-9: #52236c;
349
+ $series-10: #3a6b6f;
350
+ $series-11: #d64f56;
351
+ $series-12: #f3a93c;
352
+ $skin-name: 'bootstrap5' !default;
353
+ $theme-name: 'bootstrap5' !default;
354
+
355
+ //Diagram Palette color
356
+ $diagram-palette-background: $white !default;
357
+ $diagram-palette-hover-background: $content-bg-color-hover !default;