@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,408 @@
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
+ //Neutrals
21
+ //not used
22
+ $gray220: #11100f !default;
23
+ //not used
24
+ $gray210: #161514 !default;
25
+ //not used
26
+ $gray200: #1b1a19 !default;
27
+ $gray190: #201f1e !default;
28
+ //not used
29
+ $gray180: #252423 !default;
30
+ //not used
31
+ $gray170: #292827 !default;
32
+ $gray160: #323130 !default;
33
+ $gray150: #3b3a39 !default;
34
+ //not used
35
+ $gray140: #484644 !default;
36
+ $gray130: #605e5c !default;
37
+ //not used
38
+ $gray120: #797775 !default;
39
+ $gray110: #8a8886 !default;
40
+ //not used
41
+ $gray100: #979593 !default;
42
+ $gray90: #a19f9d !default;
43
+ //not used
44
+ $gray80: #b3b0ad !default;
45
+ //not used
46
+ $gray70: #bebbb8 !default;
47
+ $gray60: #c8c6c4 !default;
48
+ $gray50: #d2d0ce !default;
49
+ $gray40: #e1dfdd !default;
50
+ $gray30: #edebe9 !default;
51
+ $gray20: #f3f2f1 !default;
52
+ $gray10: #faf9f8 !default;
53
+
54
+ // Shared
55
+ $cyanblue10: #0078d4 !default;
56
+ $red10: #d13438 !default;
57
+ $orange20: #ca5010 !default;
58
+ $green20: #0b6a0b !default;
59
+ $cyan20: #038387 !default;
60
+
61
+ // Primary palette
62
+ $theme-primary: $cyanblue10 !default;
63
+ $theme-lighter-alt: #eff6fc !default;
64
+ $theme-lighter: #deecf9 !default;
65
+ $theme-light: #c7e0f4 !default;
66
+ $theme-tertiary: #2b88d8 !default;
67
+ $theme-dark-alt: #106ebe !default;
68
+ $theme-dark: #005a9e !default;
69
+ $theme-darker: #004578 !default;
70
+
71
+
72
+ $primary: $theme-primary !default;
73
+ $primary-text-color: $white !default;
74
+ $primary-light: $theme-dark !default;
75
+ $primary-lighter: $theme-darker !default;
76
+ $primary-dark: $theme-dark !default;
77
+ $primary-darker: $theme-lighter !default;
78
+ $success: $green20 !default;
79
+ $info: $cyan20 !default;
80
+ $warning: $orange20 !default;
81
+ $danger: $red10 !default;
82
+ $success-light: #dff6dd !default;
83
+ $info-light: #e5f4fd !default;
84
+ $warning-light: #fff4ce !default;
85
+ $danger-light: #fed9cc !default;
86
+ $success-dark: darken($success, 5%) !default;
87
+ $info-dark: darken($info, 5%) !default;
88
+ $warning-dark: darken($warning, 5%) !default;
89
+ $danger-dark: darken($danger, 5%) !default;
90
+ $success-light-alt: #0b6a0b !default;
91
+ $info-light-alt: #005b70 !default;
92
+ $warning-light-alt: #8e562e !default;
93
+ $danger-light-alt: #750b1c !default;
94
+
95
+
96
+
97
+ // backgroundcolor
98
+ $content-bg-color: $gray200 !default;
99
+ $content-bg-color-alt1: $gray190 !default;
100
+ $content-bg-color-alt2: $gray180 !default;
101
+ $content-bg-color-alt3: $gray170 !default;
102
+ $content-bg-color-alt4: $gray160 !default;
103
+ $content-bg-color-alt5: $gray150 !default;
104
+ $content-bg-color-alt6: $gray140 !default;
105
+ $content-bg-color-hover: $gray180 !default;
106
+ $content-bg-color-pressed: $gray160 !default;
107
+ $content-bg-color-focus: $gray170 !default;
108
+ $content-bg-color-selected: $gray170 !default;
109
+ $content-bg-color-dragged: rgba($gray180, 1) !default;
110
+ $content-bg-color-disabled: $gray200 !default;
111
+ $flyout-bg-color: $gray180 !default;
112
+ $flyout-bg-color-hover: $gray160 !default;
113
+ $flyout-bg-color-pressed: $gray150 !default;
114
+ $flyout-bg-color-selected: $gray150 !default;
115
+ $flyout-bg-color-focus: $gray150 !default;
116
+ $overlay-bg-color: rgba($black, .4) !default;
117
+ $table-bg-color-hover: $gray180 !default;
118
+ $table-bg-color-pressed: $gray160 !default;
119
+ $table-bg-color-selected: $gray170 !default;
120
+
121
+ // all theme common color
122
+ $colorpicker-gradient-1: #f00 !default;
123
+ $colorpicker-gradient-2: #ff0 !default;
124
+ $ccolorpicker-gradient-3: #0f0 !default;
125
+ $colorpicker-gradient-4: #0ff !default;
126
+ $colorpicker-gradient-5: #00f !default;
127
+ $colorpicker-gradient-6: #f0f !default;
128
+ $colorpicker-gradient-7: #ff0004 !default;
129
+ $spreadsheet-selection-1: #673ab8;
130
+ $spreadsheet-selection-2: #9c27b0;
131
+ $spreadsheet-selection-3: #029688;
132
+ $spreadsheet-selection-4: #4caf51;
133
+ $spreadsheet-selection-5: #fe9800;
134
+ $spreadsheet-selection-6: #3f52b5;
135
+
136
+
137
+ // text-color
138
+ $content-text-color: $gray20 !default;
139
+ $content-text-color-alt1: $gray50 !default;
140
+ $content-text-color-alt2: $gray60 !default;
141
+ $content-text-color-alt3: $gray90 !default;
142
+ $content-text-color-hover: $gray20 !default;
143
+ $content-text-color-pressed: $gray20 !default;
144
+ $content-text-color-focus: $gray20 !default;
145
+ $content-text-color-selected: $gray20 !default;
146
+ $content-text-color-dragged: $gray20 !default;
147
+ $content-text-color-disabled: $gray140 !default;
148
+ $placeholder-text-color: $gray90 !default;
149
+ $flyout-text-color: $gray20 !default;
150
+ $flyout-text-color-hover: $gray20 !default;
151
+ $flyout-text-color-pressed: $gray20 !default;
152
+ $flyout-text-color-selected: $gray20 !default;
153
+ $flyout-text-color-focus: $gray20 !default;
154
+ $flyout-text-color-disabled: $gray130 !default;
155
+ $table-text-color-hover: $gray20 !default;
156
+ $table-text-color-pressed: $gray20 !default;
157
+ $table-text-color-selected: $gray20 !default;
158
+
159
+ // icon-color
160
+ $icon-color: $gray90 !default;
161
+ $icon-color-hover: $gray20 !default;
162
+ $icon-color-pressed: $gray60 !default;
163
+ $icon-color-disabled: $gray140 !default;
164
+
165
+ // border-color
166
+ $border-light: $gray170 !default;
167
+ $border: $gray90 !default;
168
+ $border-alt: $gray50 !default;
169
+ $border-dark: $gray120 !default;
170
+ $border-hover: $gray160 !default;
171
+ $border-pressed: $gray150 !default;
172
+ $border-focus: $gray160 !default;
173
+ $border-selected: $gray150 !default;
174
+ $border-dragged: $gray170 !default;
175
+ $border-disabled: $gray170 !default;
176
+ $border-warning: #db7b48 !default;//
177
+ $border-error: #e2777e !default;//
178
+ $border-success: #86e277 !default;//
179
+ $spreadsheet-gridline: $gray30 !default;
180
+ $flyout-border: $gray160 !default;
181
+
182
+ // Tooltip
183
+ $tooltip-bg-color: $gray180 !default;
184
+ $tooltip-border: $gray160;
185
+ $toooltip-text-color: $gray20 !default;
186
+
187
+
188
+
189
+ // shadow
190
+ $shadow: 0 .8px 16px rgba($black, .15) !default;
191
+ $shadow-sm: 0 1.6px 3.6px 0 rgba($black, .132), 0 .3px .9px 0 rgba($black, .108) !default;
192
+ $shadow-md: 0 3.2px 7.2px 0 rgba($black, .132), 0 .6px 1.8px 0 rgba($black, .108) !default;
193
+ $shadow-lg: 0 6.4px 14.4px 0 rgba($black, .132), 0 1.2px 3.6px 0 rgba($black, .108) !default;
194
+ $shadow-xl: 0 25.6px 57.6px 0 rgba($black, .22), 0 4.8px 14.4px 0 rgba($black, .18) !default;
195
+ $shadow-2xl: 0 25px 50px -12px rgba($black, .25) !default;
196
+ $shadow-inner: inset 0 1px 2px rgba($black, .075) !default;
197
+ $shadow-none: 0 0 rgba($black, 0) !default;
198
+
199
+ $shadow-focus-ring1: inset 1px 0 $primary, inset 0 1px $primary, inset -1px 0 $primary, inset 0 -1px $primary !default;
200
+ $shadow-focus-ring2: 0 0 0 1px rgba($gray130, .95) !default;
201
+ $primary-shadow-focus: 0 0 0 4px rgba(tint-color($primary, 15%), .5) !default;
202
+ $secondary-shadow-focus: 0 0 0 4px rgba(tint-color($gray160, 15%), .5) !default;
203
+ $success-shadow-focus: 0 0 0 4px rgba(tint-color($success, 15%), .5) !default;
204
+ $danger-shadow-focus: 0 0 0 4px rgba(tint-color($danger, 15%), .5) !default;
205
+ $info-shadow-focus: 0 0 0 4px rgba(tint-color($info, 15%), .5) !default;
206
+ $warning-shadow-focus: 0 0 0 4px rgba(tint-color($warning, 15%), .5) !default;
207
+
208
+
209
+ // fontfamily
210
+ $font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif !default;
211
+
212
+
213
+ // default font Size
214
+ $text-xxs: 10px !default;
215
+ $text-xs: 12px !default;
216
+ $text-sm: 14px !default;
217
+ $text-base: 16px !default;
218
+ $text-lg: 18px !default;
219
+ $text-xl: 20px !default;
220
+ $text-2xl: 24px !default;
221
+ $text-3xl: 28px !default;
222
+ $text-4xl: 32px !default;
223
+ $text-5xl: 42px !default;
224
+ $text-6xl: 68px !default;
225
+ $text-7xl: 78px !default;
226
+ $text-8xl: 96px !default;
227
+ $text-9xl: 128px !default;
228
+
229
+ //border-radius
230
+ $inputs-radius: 2px !default;
231
+ $flyout-radius: $inputs-radius !default;
232
+ $model-radius: $inputs-radius !default;
233
+ $inputs-radius-bigger: $inputs-radius !default;
234
+ $flyout-radius-bigger: $inputs-radius !default;
235
+ $model-radius-bigger: $inputs-radius !default;
236
+ $inputs-radius-small: $inputs-radius !default;
237
+ $flyout-radius-small: $inputs-radius !default;
238
+ $model-radius-small: $inputs-radius !default;
239
+
240
+ // heading
241
+ $h1-font-size: 40px !default;
242
+ $h2-font-size: 32px !default;
243
+ $h3-font-size: 28px !default;
244
+ $h4-font-size: $text-2xl !default;
245
+ $h5-font-size: $text-xl !default;
246
+ $h6-font-size: $text-base !default;
247
+
248
+
249
+ // Line height
250
+ $leading-none: 1 !default;
251
+ $leading-tight: 1.25 !default;
252
+ $leading-snug: 1.375 !default;
253
+ $leading-normal: 1.5 !default;
254
+ $leading-relaxed: 1.625 !default;
255
+ $leading-loose: 2 !default;
256
+
257
+
258
+ // font Weight
259
+ $font-weight-lighter: lighter !default;
260
+ $font-weight-light: 300 !default;
261
+ $font-weight-normal: 400 !default;
262
+ $font-weight-medium: 600 !default;
263
+ $font-weight-bold: 700 !default;
264
+ $font-weight-bolder: bolder !default;
265
+
266
+
267
+ // Secondary-button
268
+
269
+ $secondary-bg-color: $gray200 !default;
270
+ $secondary-border-color: $gray110 !default;
271
+ $secondary-text-color: $white !default;
272
+ $secondary-bg-color-hover: $gray180 !default;
273
+ $secondary-border-color-hover: $secondary-border-color !default;
274
+ $secondary-text-color-hover: $secondary-text-color !default;
275
+ $secondary-bg-color-pressed: $gray170 !default;
276
+ $secondary-border-color-pressed: $secondary-border-color !default;
277
+ $secondary-text-color-pressed: $secondary-text-color !default;
278
+ $secondary-bg-color-focus: $secondary-bg-color-hover !default;
279
+ $secondary-border-color-focus: $secondary-border-color-hover !default;
280
+ $secondary-text-color-focus: $secondary-text-color-hover !default;
281
+ $secondary-bg-color-disabled: $gray180 !default;
282
+ $secondary-border-color-disabled: $gray160 !default;
283
+ $secondary-text-color-disabled: $gray150 !default;
284
+
285
+
286
+
287
+ // Primary-button
288
+
289
+ $primary-bg-color: $primary !default;
290
+ $primary-border-color: $primary !default;
291
+ $primary-text: $primary-text-color !default;
292
+ $primary-bg-color-hover: shade-color($primary-bg-color, 10%) !default;
293
+ $primary-border-color-hover: $primary-bg-color-hover !default;
294
+ $primary-text-hover: $primary-text !default;
295
+ $primary-bg-color-pressed: shade-color($primary-bg-color, 20%) !default;
296
+ $primary-border-color-pressed: $primary-bg-color-pressed !default;
297
+ $primary-text-pressed: $primary-text-color !default;
298
+ $primary-bg-color-focus: $primary-bg-color-hover !default;
299
+ $primary-border-color-focus: $primary-border-color-hover !default;
300
+ $primary-text-focus: $primary-text !default;
301
+ $primary-bg-color-disabled: $gray180 !default;
302
+ $primary-border-color-disabled: $gray160 !default;
303
+ $primary-text-disabled: $gray150 !default;
304
+
305
+ // Success-button
306
+
307
+ $success-bg-color: $success !default;
308
+ $success-border-color: $success !default;
309
+ $success-text: $white !default;
310
+ $success-bg-color-hover: shade-color($success-bg-color, 10%) !default;
311
+ $success-border-color-hover: $success-bg-color-hover !default;
312
+ $success-text-hover: $success-text !default;
313
+ $success-bg-color-pressed: shade-color($success-bg-color, 20%) !default;
314
+ $success-border-color-pressed: $success-bg-color-pressed !default;
315
+ $success-text-pressed: $success-text !default;
316
+ $success-bg-color-focus: $success-bg-color-hover !default;
317
+ $success-border-color-focus: $success-border-color-hover !default;
318
+ $success-text-focus: $success-text !default;
319
+ $success-bg-color-disabled: $gray180 !default;
320
+ $success-border-color-disabled: $gray160 !default;
321
+ $success-text-disabled: $gray150 !default;
322
+
323
+ // Warning-button
324
+ $warning-bg-color: $warning !default;
325
+ $warning-border-color: $warning !default;
326
+ $warning-text: $white !default;
327
+ $warning-bg-color-hover: tint-color($warning-bg-color, 10%) !default;
328
+ $warning-border-color-hover: $warning-bg-color-hover !default;
329
+ $warning-text-hover: $warning-text !default;
330
+ $warning-bg-color-pressed: tint-color($warning-bg-color, 20%) !default;
331
+ $warning-border-color-pressed: $warning-bg-color-pressed !default;
332
+ $warning-text-pressed: $warning-text !default;
333
+ $warning-bg-color-focus: $warning-bg-color-hover !default;
334
+ $warning-border-color-focus: $warning-border-color-hover !default;
335
+ $warning-text-focus: $warning-text !default;
336
+ $warning-bg-color-disabled: $gray180 !default;
337
+ $warning-border-color-disabled: $gray160 !default;
338
+ $warning-text-disabled: $gray150 !default;
339
+
340
+ // danger-button
341
+ $danger-bg-color: $danger !default;
342
+ $danger-border-color: $danger !default;
343
+ $danger-text: $white !default;
344
+ $danger-bg-color-hover: shade-color($danger-bg-color, 10%) !default;
345
+ $danger-border-color-hover: $danger-bg-color-hover !default;
346
+ $danger-text-hover: $danger-text !default;
347
+ $danger-bg-color-pressed: shade-color($danger-bg-color, 20%) !default;
348
+ $danger-border-color-pressed: $danger-bg-color-pressed !default;
349
+ $danger-text-pressed: $danger-text !default;
350
+ $danger-bg-color-focus: $danger-bg-color-hover !default;
351
+ $danger-border-color-focus: $danger-border-color-hover !default;
352
+ $danger-text-focus: $danger-text !default;
353
+ $danger-bg-color-disabled: $gray180 !default;
354
+ $danger-border-color-disabled: $gray160 !default;
355
+ $danger-text-disabled: $gray150 !default;
356
+
357
+ // Info-button
358
+ $info-bg-color: $info !default;
359
+ $info-border-color: $info-bg-color !default;
360
+ $info-text: $white !default;
361
+ $info-bg-color-hover: shade-color($info-bg-color, 10%) !default;
362
+ $info-border-color-hover: $info-bg-color-hover !default;
363
+ $info-text-hover: $info-text !default;
364
+ $info-bg-color-pressed: tint-color($info-bg-color, 20%) !default;
365
+ $info-border-color-pressed: $info-bg-color-pressed !default;
366
+ $info-text-pressed: $info-text !default;
367
+ $info-bg-color-focus: $info-bg-color-hover !default;
368
+ $info-border-color-focus: $info-border-color-hover !default;
369
+ $info-text-focus: $info-text-hover !default;
370
+ $info-bg-color-disabled: $gray180 !default;
371
+ $info-border-color-disabled: $gray160 !default;
372
+ $info-text-disabled: $gray150 !default;
373
+
374
+ //Outline button
375
+ $primary-outline: $primary-bg-color !default;
376
+ $secondary-outline: $secondary-text-color !default;
377
+ $warning-outline: $warning-bg-color !default;
378
+ $danger-outline: $danger-bg-color !default;
379
+ $success-outline: $success-bg-color !default;
380
+ $info-outline: $info-bg-color !default;
381
+
382
+ //Toast-text
383
+ $toast-text-color: $gray190;
384
+ $toast-alt-text-color: $gray190;
385
+
386
+ // chart series
387
+
388
+ $series-1: $gray170;
389
+ $series-2: $gray150;
390
+ $series-3: $gray140;
391
+ $series-4: $gray110;
392
+ $series-5: #9bb449;
393
+ $series-6: #2a72d5;
394
+ $series-7: #43b786;
395
+ $series-8: #3f579a;
396
+ $series-9: #584ec6;
397
+ $series-10: #e85f9c;
398
+ $series-11: #6e7a89;
399
+ $series-12: #ea6266;
400
+ $skin-name: 'FluentUI' !default;
401
+ $theme-name: 'fluentui-dark' !default;
402
+
403
+ //Diagram Palette color
404
+ $diagram-palette-background: $gray20 !default;
405
+ $diagram-palette-hover-background: $gray40 !default;
406
+
407
+ //B5 variables
408
+ $gray-900: #212529 !default;