@syncfusion/ej2-base 20.4.51 → 21.1.37

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