@syncfusion/ej2-calendars 20.4.54 → 21.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 (132) hide show
  1. package/CHANGELOG.md +0 -16
  2. package/README.md +94 -83
  3. package/dist/ej2-calendars.min.js +2 -2
  4. package/dist/ej2-calendars.umd.min.js +2 -2
  5. package/dist/ej2-calendars.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-calendars.es2015.js +431 -372
  7. package/dist/es6/ej2-calendars.es2015.js.map +1 -1
  8. package/dist/es6/ej2-calendars.es5.js +386 -327
  9. package/dist/es6/ej2-calendars.es5.js.map +1 -1
  10. package/dist/global/ej2-calendars.min.js +2 -2
  11. package/dist/global/ej2-calendars.min.js.map +1 -1
  12. package/dist/global/index.d.ts +1 -1
  13. package/package.json +11 -11
  14. package/src/calendar/calendar-model.d.ts +1 -1
  15. package/src/calendar/calendar.js +13 -6
  16. package/src/calendar/islamic.js +39 -29
  17. package/src/datepicker/datepicker-model.d.ts +3 -3
  18. package/src/datepicker/datepicker.js +61 -56
  19. package/src/daterangepicker/daterangepicker.js +11 -5
  20. package/src/datetimepicker/datetimepicker-model.d.ts +3 -3
  21. package/src/datetimepicker/datetimepicker.d.ts +4 -4
  22. package/src/datetimepicker/datetimepicker.js +15 -17
  23. package/src/maskbase/masked-date-time.js +208 -179
  24. package/src/timepicker/timepicker-model.d.ts +7 -7
  25. package/src/timepicker/timepicker.d.ts +9 -9
  26. package/src/timepicker/timepicker.js +39 -36
  27. package/styles/bootstrap-dark.css +9 -8
  28. package/styles/bootstrap.css +9 -3
  29. package/styles/bootstrap4.css +6 -4
  30. package/styles/bootstrap5-dark.css +19 -17
  31. package/styles/bootstrap5.css +17 -15
  32. package/styles/calendar/_bootstrap-dark-definition.scss +1 -1
  33. package/styles/calendar/_bootstrap5-definition.scss +21 -21
  34. package/styles/calendar/_fabric-dark-definition.scss +5 -3
  35. package/styles/calendar/_fabric-definition.scss +2 -0
  36. package/styles/calendar/_fluent-definition.scss +36 -36
  37. package/styles/calendar/_highcontrast-definition.scss +3 -1
  38. package/styles/calendar/_highcontrast-light-definition.scss +2 -0
  39. package/styles/calendar/_layout.scss +53 -6
  40. package/styles/calendar/_material-dark-definition.scss +4 -2
  41. package/styles/calendar/_material-definition.scss +2 -0
  42. package/styles/calendar/_tailwind-definition.scss +13 -13
  43. package/styles/calendar/_theme.scss +74 -13
  44. package/styles/calendar/bootstrap-dark.css +4 -3
  45. package/styles/calendar/bootstrap.css +3 -2
  46. package/styles/calendar/bootstrap4.css +3 -2
  47. package/styles/calendar/bootstrap5-dark.css +14 -13
  48. package/styles/calendar/bootstrap5.css +13 -12
  49. package/styles/calendar/fabric-dark.css +15 -5
  50. package/styles/calendar/fabric.css +12 -2
  51. package/styles/calendar/fluent-dark.css +51 -28
  52. package/styles/calendar/fluent.css +51 -28
  53. package/styles/calendar/highcontrast-light.css +3 -2
  54. package/styles/calendar/highcontrast.css +14 -4
  55. package/styles/calendar/icons/_material3.scss +3 -3
  56. package/styles/calendar/material-dark.css +14 -4
  57. package/styles/calendar/material.css +12 -2
  58. package/styles/calendar/tailwind-dark.css +11 -10
  59. package/styles/calendar/tailwind.css +11 -10
  60. package/styles/datepicker/_bootstrap5-definition.scss +8 -8
  61. package/styles/datepicker/_fluent-definition.scss +8 -8
  62. package/styles/datepicker/_layout.scss +16 -6
  63. package/styles/datepicker/_tailwind-definition.scss +8 -8
  64. package/styles/datepicker/_theme.scss +11 -1
  65. package/styles/datepicker/icons/_material3.scss +3 -3
  66. package/styles/daterangepicker/_bootstrap-dark-definition.scss +5 -5
  67. package/styles/daterangepicker/_bootstrap-definition.scss +1 -1
  68. package/styles/daterangepicker/_bootstrap4-definition.scss +2 -2
  69. package/styles/daterangepicker/_bootstrap5-definition.scss +21 -21
  70. package/styles/daterangepicker/_fabric-dark-definition.scss +1 -1
  71. package/styles/daterangepicker/_fabric-definition.scss +1 -1
  72. package/styles/daterangepicker/_fluent-definition.scss +27 -27
  73. package/styles/daterangepicker/_highcontrast-definition.scss +1 -1
  74. package/styles/daterangepicker/_highcontrast-light-definition.scss +1 -1
  75. package/styles/daterangepicker/_layout.scss +50 -3
  76. package/styles/daterangepicker/_material-dark-definition.scss +1 -1
  77. package/styles/daterangepicker/_material-definition.scss +1 -1
  78. package/styles/daterangepicker/_tailwind-definition.scss +19 -19
  79. package/styles/daterangepicker/_theme.scss +93 -15
  80. package/styles/daterangepicker/bootstrap-dark.css +5 -5
  81. package/styles/daterangepicker/bootstrap.css +6 -1
  82. package/styles/daterangepicker/bootstrap4.css +3 -2
  83. package/styles/daterangepicker/bootstrap5-dark.css +5 -4
  84. package/styles/daterangepicker/bootstrap5.css +4 -3
  85. package/styles/daterangepicker/fabric-dark.css +1 -1
  86. package/styles/daterangepicker/fabric.css +1 -1
  87. package/styles/daterangepicker/fluent-dark.css +33 -9
  88. package/styles/daterangepicker/fluent.css +33 -9
  89. package/styles/daterangepicker/highcontrast-light.css +1 -1
  90. package/styles/daterangepicker/highcontrast.css +1 -1
  91. package/styles/daterangepicker/icons/_material3.scss +33 -6
  92. package/styles/daterangepicker/material-dark.css +1 -1
  93. package/styles/daterangepicker/material.css +8 -2
  94. package/styles/daterangepicker/tailwind-dark.css +2 -2
  95. package/styles/daterangepicker/tailwind.css +2 -2
  96. package/styles/datetimepicker/_bootstrap5-definition.scss +1 -1
  97. package/styles/datetimepicker/_fluent-definition.scss +1 -1
  98. package/styles/datetimepicker/_layout.scss +8 -3
  99. package/styles/datetimepicker/_tailwind-definition.scss +1 -1
  100. package/styles/datetimepicker/_theme.scss +24 -4
  101. package/styles/datetimepicker/icons/_material3.scss +1 -1
  102. package/styles/fabric-dark.css +16 -6
  103. package/styles/fabric.css +16 -4
  104. package/styles/fluent-dark.css +84 -37
  105. package/styles/fluent.css +84 -37
  106. package/styles/highcontrast-light.css +4 -3
  107. package/styles/highcontrast.css +15 -5
  108. package/styles/material-dark.css +15 -5
  109. package/styles/material.css +20 -4
  110. package/styles/tailwind-dark.css +13 -12
  111. package/styles/tailwind.css +13 -12
  112. package/styles/timepicker/_bootstrap-dark-definition.scss +1 -0
  113. package/styles/timepicker/_bootstrap-definition.scss +1 -0
  114. package/styles/timepicker/_bootstrap4-definition.scss +1 -0
  115. package/styles/timepicker/_bootstrap5-definition.scss +6 -5
  116. package/styles/timepicker/_fabric-dark-definition.scss +1 -0
  117. package/styles/timepicker/_fabric-definition.scss +1 -0
  118. package/styles/timepicker/_fluent-definition.scss +6 -5
  119. package/styles/timepicker/_fusionnew-definition.scss +1 -0
  120. package/styles/timepicker/_highcontrast-definition.scss +1 -0
  121. package/styles/timepicker/_highcontrast-light-definition.scss +1 -0
  122. package/styles/timepicker/_layout.scss +11 -3
  123. package/styles/timepicker/_material-dark-definition.scss +1 -0
  124. package/styles/timepicker/_material-definition.scss +1 -0
  125. package/styles/timepicker/_tailwind-definition.scss +6 -5
  126. package/styles/timepicker/_theme.scss +36 -6
  127. package/styles/timepicker/icons/_material3.scss +1 -1
  128. package/styles/calendar/_material3-definition.scss +0 -250
  129. package/styles/datepicker/_material3-definition.scss +0 -46
  130. package/styles/daterangepicker/_material3-definition.scss +0 -230
  131. package/styles/datetimepicker/_material3-definition.scss +0 -60
  132. package/styles/timepicker/_material3-definition.scss +0 -57
@@ -60,7 +60,7 @@ ejs-calendar {
60
60
  .e-bigger.e-small .e-calendar .e-header {
61
61
  background: none;
62
62
  display: table;
63
- font-weight: normal;
63
+ font-weight: 400;
64
64
  position: relative;
65
65
  text-align: center;
66
66
  width: 100%;
@@ -78,7 +78,7 @@ ejs-calendar {
78
78
  cursor: pointer;
79
79
  display: inline-block;
80
80
  font-size: 20px;
81
- font-weight: normal;
81
+ font-weight: 400;
82
82
  line-height: 16px;
83
83
  padding: 0;
84
84
  vertical-align: middle;
@@ -161,12 +161,12 @@ ejs-calendar {
161
161
  .e-bigger.e-small .e-calendar .e-content td.e-other-month > span.e-day,
162
162
  .e-bigger.e-small .e-calendar .e-content td.e-other-year > span.e-day {
163
163
  display: inline-block;
164
- font-weight: normal;
164
+ font-weight: 400;
165
165
  }
166
166
  .e-calendar .e-content tr.e-month-hide,
167
167
  .e-bigger.e-small .e-calendar .e-content tr.e-month-hide {
168
168
  display: none;
169
- font-weight: normal;
169
+ font-weight: 400;
170
170
  }
171
171
  .e-calendar .e-content tr.e-month-hide, .e-calendar .e-content td.e-other-month, .e-calendar .e-content td.e-other-year,
172
172
  .e-bigger.e-small .e-calendar .e-content tr.e-month-hide,
@@ -299,7 +299,7 @@ ejs-calendar {
299
299
  .e-bigger.e-small .e-calendar .e-content span.e-day {
300
300
  border: none;
301
301
  font-size: 14px;
302
- font-weight: normal;
302
+ font-weight: 400;
303
303
  height: 30px;
304
304
  line-height: 30px;
305
305
  width: 30px;
@@ -333,7 +333,7 @@ ejs-calendar {
333
333
  .e-calendar .e-content.e-year td > span.e-day, .e-calendar .e-content.e-decade td > span.e-day,
334
334
  .e-bigger.e-small .e-calendar .e-content.e-year td > span.e-day,
335
335
  .e-bigger.e-small .e-calendar .e-content.e-decade td > span.e-day {
336
- font-weight: normal;
336
+ font-weight: 400;
337
337
  height: 50px;
338
338
  line-height: 50px;
339
339
  width: 50px;
@@ -472,7 +472,7 @@ ejs-calendar {
472
472
  .e-bigger.e-calendar .e-content.e-year span.e-day,
473
473
  *.e-bigger .e-calendar .e-content.e-year span.e-day {
474
474
  font-size: 16px;
475
- font-weight: normal;
475
+ font-weight: 400;
476
476
  }
477
477
  .e-bigger.e-calendar .e-content.e-month table,
478
478
  *.e-bigger .e-calendar .e-content.e-month table {
@@ -566,10 +566,11 @@ ejs-calendar {
566
566
  .e-small .e-calendar .e-header {
567
567
  height: 24px;
568
568
  }
569
- .e-small.e-calendar .e-header span,
570
- .e-small .e-calendar .e-header span {
569
+ .e-small.e-calendar .e-header button span,
570
+ .e-small .e-calendar .e-header button span {
571
571
  font-size: 18px;
572
572
  padding: 0;
573
+ line-height: 14px;
573
574
  }
574
575
  .e-small.e-calendar .e-header .e-title,
575
576
  .e-small .e-calendar .e-header .e-title {
@@ -703,7 +704,7 @@ ejs-calendar {
703
704
  .e-bigger.e-small .e-calendar .e-header .e-next.e-disabled span,
704
705
  .e-bigger.e-small .e-calendar .e-header .e-prev.e-disabled span {
705
706
  color: #6b7280;
706
- font-weight: normal;
707
+ font-weight: 400;
707
708
  }
708
709
  .e-calendar .e-header .e-next.e-disabled, .e-calendar .e-header .e-prev.e-disabled,
709
710
  .e-bigger.e-small .e-calendar .e-header .e-next.e-disabled,
@@ -60,7 +60,7 @@ ejs-calendar {
60
60
  .e-bigger.e-small .e-calendar .e-header {
61
61
  background: none;
62
62
  display: table;
63
- font-weight: normal;
63
+ font-weight: 400;
64
64
  position: relative;
65
65
  text-align: center;
66
66
  width: 100%;
@@ -78,7 +78,7 @@ ejs-calendar {
78
78
  cursor: pointer;
79
79
  display: inline-block;
80
80
  font-size: 20px;
81
- font-weight: normal;
81
+ font-weight: 400;
82
82
  line-height: 16px;
83
83
  padding: 0;
84
84
  vertical-align: middle;
@@ -161,12 +161,12 @@ ejs-calendar {
161
161
  .e-bigger.e-small .e-calendar .e-content td.e-other-month > span.e-day,
162
162
  .e-bigger.e-small .e-calendar .e-content td.e-other-year > span.e-day {
163
163
  display: inline-block;
164
- font-weight: normal;
164
+ font-weight: 400;
165
165
  }
166
166
  .e-calendar .e-content tr.e-month-hide,
167
167
  .e-bigger.e-small .e-calendar .e-content tr.e-month-hide {
168
168
  display: none;
169
- font-weight: normal;
169
+ font-weight: 400;
170
170
  }
171
171
  .e-calendar .e-content tr.e-month-hide, .e-calendar .e-content td.e-other-month, .e-calendar .e-content td.e-other-year,
172
172
  .e-bigger.e-small .e-calendar .e-content tr.e-month-hide,
@@ -299,7 +299,7 @@ ejs-calendar {
299
299
  .e-bigger.e-small .e-calendar .e-content span.e-day {
300
300
  border: none;
301
301
  font-size: 14px;
302
- font-weight: normal;
302
+ font-weight: 400;
303
303
  height: 30px;
304
304
  line-height: 30px;
305
305
  width: 30px;
@@ -333,7 +333,7 @@ ejs-calendar {
333
333
  .e-calendar .e-content.e-year td > span.e-day, .e-calendar .e-content.e-decade td > span.e-day,
334
334
  .e-bigger.e-small .e-calendar .e-content.e-year td > span.e-day,
335
335
  .e-bigger.e-small .e-calendar .e-content.e-decade td > span.e-day {
336
- font-weight: normal;
336
+ font-weight: 400;
337
337
  height: 50px;
338
338
  line-height: 50px;
339
339
  width: 50px;
@@ -472,7 +472,7 @@ ejs-calendar {
472
472
  .e-bigger.e-calendar .e-content.e-year span.e-day,
473
473
  *.e-bigger .e-calendar .e-content.e-year span.e-day {
474
474
  font-size: 16px;
475
- font-weight: normal;
475
+ font-weight: 400;
476
476
  }
477
477
  .e-bigger.e-calendar .e-content.e-month table,
478
478
  *.e-bigger .e-calendar .e-content.e-month table {
@@ -566,10 +566,11 @@ ejs-calendar {
566
566
  .e-small .e-calendar .e-header {
567
567
  height: 24px;
568
568
  }
569
- .e-small.e-calendar .e-header span,
570
- .e-small .e-calendar .e-header span {
569
+ .e-small.e-calendar .e-header button span,
570
+ .e-small .e-calendar .e-header button span {
571
571
  font-size: 18px;
572
572
  padding: 0;
573
+ line-height: 14px;
573
574
  }
574
575
  .e-small.e-calendar .e-header .e-title,
575
576
  .e-small .e-calendar .e-header .e-title {
@@ -703,7 +704,7 @@ ejs-calendar {
703
704
  .e-bigger.e-small .e-calendar .e-header .e-next.e-disabled span,
704
705
  .e-bigger.e-small .e-calendar .e-header .e-prev.e-disabled span {
705
706
  color: #9ca3af;
706
- font-weight: normal;
707
+ font-weight: 400;
707
708
  }
708
709
  .e-calendar .e-header .e-next.e-disabled, .e-calendar .e-header .e-prev.e-disabled,
709
710
  .e-bigger.e-small .e-calendar .e-header .e-next.e-disabled,
@@ -1,11 +1,11 @@
1
1
  //default
2
2
  $datepicker-icon: '\e901' !default;
3
- $datepicker-icon-font-size: 16px !default;
3
+ $datepicker-icon-font-size: $font-icon-16 !default;
4
4
  $datepicker-icon-container-min-height: 18px !default;
5
5
  $datepicker-icon-container-min-width: 30px !default;
6
6
  $datepicker-bigger-icon-container-min-height: 18px !default;
7
7
  $datepicker-bigger-icon-container-min-width: 36px !default;
8
- $datepicker-bigger-icon-font-size: 18px !default;
8
+ $datepicker-bigger-icon-font-size: $font-icon-18 !default;
9
9
  $datepicker-icon-normal-margin: 0 !default;
10
10
  $datepicker-icon-bigger-margin: 0 !default;
11
11
  $datepicker-icon-border-radius: 50% !default;
@@ -16,10 +16,10 @@ $datepicker-calendar-tbody-landscape-height: 130px !default;
16
16
  $datepicker-popup-bigger-margin-top: 8px !default;
17
17
 
18
18
  // mouse small icon
19
- $datepicker-small-icon-font-size: 16px !default;
19
+ $datepicker-small-icon-font-size: $font-icon-16 !default;
20
20
 
21
21
  // Touch small icon
22
- $datepicker-bigger-small-icon-font-size: 20px !default;
22
+ $datepicker-bigger-small-icon-font-size: $font-icon-20 !default;
23
23
 
24
24
  // color variables
25
25
  $datepicker-popup-border: 1px solid $border-light !default;
@@ -36,11 +36,11 @@ $datepicker-popup-bg-color: $flyout-bg-color !default;
36
36
  $datepicker-othermonth-row: none !default;
37
37
  $datepicker-modal-header-bg: $icon-color !default;
38
38
  $datepicker-modal-header-color: $content-bg-color-alt2 !default;
39
- $model-year-font-size: 14px !default;
40
- $model-year-font-weight: 500 !default;
39
+ $model-year-font-size: $text-sm !default;
40
+ $model-year-font-weight: $font-weight-medium !default;
41
41
  $model-year-line-height: 32px !default;
42
- $model-month-font-size: 20px !default;
43
- $model-month-font-weight: 500 !default;
42
+ $model-month-font-size: $text-xl !default;
43
+ $model-month-font-weight: $font-weight-medium !default;
44
44
  $model-month-line-height: 32px !default;
45
45
 
46
46
  //enddefault
@@ -1,11 +1,11 @@
1
1
  //default
2
2
  $datepicker-icon: '\e901' !default;
3
- $datepicker-icon-font-size: 16px !default;
3
+ $datepicker-icon-font-size: $font-icon-16 !default;
4
4
  $datepicker-icon-container-min-height: 18px !default;
5
5
  $datepicker-icon-container-min-width: 30px !default;
6
6
  $datepicker-bigger-icon-container-min-height: 18px !default;
7
7
  $datepicker-bigger-icon-container-min-width: 36px !default;
8
- $datepicker-bigger-icon-font-size: 18px !default;
8
+ $datepicker-bigger-icon-font-size: $font-icon-18 !default;
9
9
  $datepicker-icon-normal-margin: 0 !default;
10
10
  $datepicker-icon-bigger-margin: 0 !default;
11
11
  $datepicker-icon-border-radius: 50% !default;
@@ -16,10 +16,10 @@ $datepicker-calendar-tbody-landscape-height: 130px !default;
16
16
  $datepicker-popup-bigger-margin-top: 8px !default;
17
17
 
18
18
  // mouse small icon
19
- $datepicker-small-icon-font-size: 16px !default;
19
+ $datepicker-small-icon-font-size: $font-icon-16 !default;
20
20
 
21
21
  // Touch small icon
22
- $datepicker-bigger-small-icon-font-size: 20px !default;
22
+ $datepicker-bigger-small-icon-font-size: $font-icon-20 !default;
23
23
 
24
24
  // color variables
25
25
  $datepicker-popup-border: 0 solid $border-light !default;
@@ -36,11 +36,11 @@ $datepicker-popup-bg-color: $flyout-bg-color !default;
36
36
  $datepicker-othermonth-row: none !default;
37
37
  $datepicker-modal-header-bg: $secondary-border-color-focus !default;
38
38
  $datepicker-modal-header-color: $primary-text-color !default;
39
- $model-year-font-size: 14px !default;
40
- $model-year-font-weight: 600 !default;
39
+ $model-year-font-size: $text-sm !default;
40
+ $model-year-font-weight: $font-weight-medium !default;
41
41
  $model-year-line-height: 22px !default;
42
- $model-month-font-size: 18px !default;
43
- $model-month-font-weight: 600 !default;
42
+ $model-month-font-size: $text-lg !default;
43
+ $model-month-font-weight: $font-weight-medium !default;
44
44
  $model-month-line-height: 28px !default;
45
45
 
46
46
  //enddefault
@@ -7,7 +7,7 @@
7
7
 
8
8
  .e-date-wrapper:not(.e-filled) {
9
9
  #{if(&, '&', '*')} .e-date-icon.e-icons {
10
- @if $skin-name == 'material' or $skin-name == 'material-dark' {
10
+ @if $skin-name == 'material' or $skin-name == 'material-dark' or $skin-name == 'Material3' {
11
11
  box-sizing: $datepicker-box-sizing;
12
12
  }
13
13
  }
@@ -37,7 +37,12 @@
37
37
  }
38
38
 
39
39
  #{if(&, '&', '*')}.e-date-modal {
40
- background-color: $datepicker-overlay;
40
+ @if $skin-name != 'Material3' {
41
+ background-color: $datepicker-overlay;
42
+ }
43
+ @if $skin-name == 'Material3' {
44
+ background: $datepicker-overlay;
45
+ }
41
46
  height: 100%;
42
47
  left: 0;
43
48
  opacity: .5;
@@ -49,7 +54,12 @@
49
54
  }
50
55
 
51
56
  #{if(&, '&', '*')} .e-model-header {
52
- background-color: $datepicker-modal-header-bg;
57
+ @if $skin-name != 'Material3' {
58
+ background-color: $datepicker-modal-header-bg;
59
+ }
60
+ @if $skin-name == 'Material3' {
61
+ background: $datepicker-modal-header-bg;
62
+ }
53
63
  color: $datepicker-modal-header-color;
54
64
  cursor: default;
55
65
  display: $datepicker-modal-header-display;
@@ -98,7 +108,7 @@
98
108
  }
99
109
 
100
110
  .e-datepicker.e-popup-wrapper.e-popup-expand.e-lib.e-popup.e-control.e-popup-open {
101
- @if $skin-name == 'material' {
111
+ @if $skin-name == 'material' or $skin-name == 'Material3' {
102
112
  min-width: 100%;
103
113
  min-height:100%;
104
114
  }
@@ -120,7 +130,7 @@
120
130
 
121
131
  .e-datepick-mob-popup-wrap {
122
132
 
123
- @if $skin-name == 'material' {
133
+ @if $skin-name == 'material' or $skin-name == 'Material3' {
124
134
 
125
135
  #{if(&, '&', '*')} .e-datepicker.e-popup-expand {
126
136
 
@@ -189,7 +199,7 @@
189
199
 
190
200
  @media screen and (orientation: landscape) {
191
201
  .e-datepick-mob-popup-wrap {
192
- @if $skin-name == 'material' {
202
+ @if $skin-name == 'material' or $skin-name == 'Material3'{
193
203
  #{if(&, '&', '*')} .e-datepicker.e-popup-expand {
194
204
  #{if(&, '&', '*')} .e-model-header {
195
205
 
@@ -1,11 +1,11 @@
1
1
  //default
2
2
  $datepicker-icon: '\e901' !default;
3
- $datepicker-icon-font-size: 16px !default;
3
+ $datepicker-icon-font-size: $font-icon-16 !default;
4
4
  $datepicker-icon-container-min-height: 18px !default;
5
5
  $datepicker-icon-container-min-width: 20px !default;
6
6
  $datepicker-bigger-icon-container-min-height: 18px !default;
7
7
  $datepicker-bigger-icon-container-min-width: 20px !default;
8
- $datepicker-bigger-icon-font-size: 18px !default;
8
+ $datepicker-bigger-icon-font-size: $font-icon-18 !default;
9
9
  $datepicker-icon-normal-margin: 0 !default;
10
10
  $datepicker-icon-bigger-margin: 0 !default;
11
11
  $datepicker-icon-border-radius: 50% !default;
@@ -16,10 +16,10 @@ $datepicker-calendar-tbody-landscape-height: 130px !default;
16
16
  $datepicker-popup-bigger-margin-top: 6px !default;
17
17
 
18
18
  // mouse small icon
19
- $datepicker-small-icon-font-size: 16px !default;
19
+ $datepicker-small-icon-font-size: $font-icon-16 !default;
20
20
 
21
21
  // Touch small icon
22
- $datepicker-bigger-small-icon-font-size: 20px !default;
22
+ $datepicker-bigger-small-icon-font-size: $font-icon-20 !default;
23
23
 
24
24
  // color variables
25
25
  $datepicker-popup-border: 1px solid $border-light !default;
@@ -34,11 +34,11 @@ $datepicker-popup-bg-color: $flyout-bg-color !default;
34
34
  $datepicker-othermonth-row: none !default;
35
35
  $datepicker-modal-header-bg: $icon-color !default;
36
36
  $datepicker-modal-header-color: $content-bg-color-alt2 !default;
37
- $model-year-font-size: 14px !default;
38
- $model-year-font-weight: 500 !default;
37
+ $model-year-font-size: $text-sm !default;
38
+ $model-year-font-weight: $font-weight-medium !default;
39
39
  $model-year-line-height: 32px !default;
40
- $model-month-font-size: 20px !default;
41
- $model-month-font-weight: 500 !default;
40
+ $model-month-font-size: $text-xl !default;
41
+ $model-month-font-weight: $font-weight-medium !default;
42
42
  $model-month-line-height: 32px !default;
43
43
 
44
44
  //enddefault
@@ -12,7 +12,12 @@
12
12
  }
13
13
 
14
14
  #{if(&, '&', '*')} .e-calendar {
15
- background-color: $datepicker-popup-bg-color;
15
+ @if $skin-name != 'Material3' {
16
+ background-color: $datepicker-popup-bg-color;
17
+ }
18
+ @if $skin-name == 'Material3' {
19
+ background: $datepicker-popup-bg-color;
20
+ }
16
21
  border: $datepicker-calendar-border-style;
17
22
  }
18
23
  }
@@ -38,6 +43,11 @@
38
43
  @if ($skin-name != 'bootstrap' and $skin-name != 'bootstrap-dark' and $skin-name != 'fabric' and $skin-name != 'fabric-dark') {
39
44
  color: $datepicker-active-icon-color;
40
45
  }
46
+ @if $skin-name == 'Material3' {
47
+ border: $datepicker-icon-active-border;
48
+ border-radius: $datepicker-icon-active-border-radius;
49
+ background: $datepicker-icon-active-bg-color;
50
+ }
41
51
  }
42
52
  }
43
53
  }
@@ -1,4 +1,4 @@
1
- @include export-module('datepicker-material3-icons') {
1
+ @include export-module('datepicker-Material3-icons') {
2
2
 
3
3
  /*! component icons */
4
4
 
@@ -11,7 +11,7 @@
11
11
  outline: none;
12
12
 
13
13
  #{if(&, '&', '*')}::before {
14
- content: '\e75e';
14
+ content: '\e778';
15
15
  font-family: 'e-icons';
16
16
  }
17
17
 
@@ -30,7 +30,7 @@
30
30
  min-width: $datepicker-bigger-icon-container-min-width;
31
31
 
32
32
  #{if(&, '&', '*')}::before {
33
- content: '\e75e';
33
+ content: '\e778';
34
34
  font-family: 'e-icons';
35
35
  }
36
36
 
@@ -79,7 +79,7 @@ $range-device-indicator-margin: 10px 0 !default;
79
79
  $range-separator-height: 1px !default;
80
80
  $range-border-value: 1px solid rgba($grey-dark-font, .12) !default;
81
81
  $range-separator-color: rgba($grey-dark-font, .12) !default;
82
- $range-separator-margin: 0 16px !default;
82
+ $range-separator-margin: 0 !default;
83
83
  $range-footer-height: 48px !default;
84
84
  $range-bigger-footer-height: 58px !default;
85
85
  $range-flex-direction-row-reverse: row-reverse !default;
@@ -113,11 +113,11 @@ $range-text-nowrap: nowrap !default;
113
113
  $range-background: $grey-dark !default;
114
114
  $range-footer-background: $range-background !default;
115
115
  $range-header-bg-color: $range-background !default;
116
- $range-day-span-height: 14px !default;
116
+ $range-day-span-height: 20px !default;
117
117
  $range-direction-left: ltr !default;
118
118
  $range-value-none: none !default;
119
119
  $range-control-header-margin: 12px 12px 0 12px !default;
120
- $range-indicator-margin: 0 0 13px 0 !default;
120
+ $range-indicator-margin: 0 !default;
121
121
  $range-btn-border-transparent: 1px solid transparent !default;
122
122
  $range-header-label-size: 20px !default;
123
123
  $range-flex-direction-row: row !default;
@@ -178,8 +178,8 @@ $range-small-header-label-size: 16px !default;
178
178
  $range-small-font-size: 12px !default;
179
179
  $range-start-end-container-small-height: 32px !default;
180
180
  $range-calendar-mouse-small-font-size: 12px !default;
181
- $range-indicator-small-margin: 0 0 10px 0 !default;
182
- $range-control-small-header-margin: 10px 10px 0 10px !default;
181
+ $range-indicator-small-margin: 0 !default;
182
+ $range-control-small-header-margin: 0 !default;
183
183
  $range-separator-small-margin: 0 10px !default;
184
184
  $range-small-footer-margin: 10px 10px 10px 8px !default;
185
185
  $range-preset-small-list-height: 26px !default;
@@ -78,7 +78,7 @@ $range-device-indicator-margin: 10px 0 !default;
78
78
  $range-separator-height: 1px !default;
79
79
  $range-border-value: 1px solid rgba($grey-light-font, .12) !default;
80
80
  $range-separator-color: rgba($grey-light-font, .12) !default;
81
- $range-separator-margin: 0 16px !default;
81
+ $range-separator-margin: 0 !default;
82
82
  $range-footer-height: 48px !default;
83
83
  $range-bigger-footer-height: 58px !default;
84
84
  $range-flex-direction-row-reverse: row-reverse !default;
@@ -48,8 +48,8 @@ $range-calendar-small-font-size: 12px !default;
48
48
  $range-calendar-bigger-font-size: 20px !default;
49
49
  $range-calendar-header-padding: 12px 12px 0 12px !default;
50
50
  $range-e-bigger-header-padding: 16px 16px 0 16px !default;
51
- $range-device-control-header-margin: 16px 16px 0 16px !default;
52
- $range-device-control-header-padding: 0 !default;
51
+ $range-device-control-header-margin: 0 !default;
52
+ $range-device-control-header-padding: 16px !default;
53
53
  $range-control-header-width: auto !default;
54
54
  $range-font-weight-normal: bold !default;
55
55
  $range-flex-style: flex !default;
@@ -12,14 +12,14 @@ $range-max-height: 500px !default;
12
12
  $range-normal-nav-icon-width: 24px !default;
13
13
  $range-control-border-right: 0 !default;
14
14
  $range-normal-nav-icon-height: 24px !default;
15
- $range-calendar-medium-font-size: 14px !default;
16
- $range-calendar-btn-font-size: 14px !default;
17
- $range-presets-normal-list-font-size: 13px !default;
18
- $range-presets-bigger-list-font-size: 14px !default;
19
- $range-range-btn-font-weight: 500 !default;
15
+ $range-calendar-medium-font-size: $text-sm !default;
16
+ $range-calendar-btn-font-size: $text-sm !default;
17
+ $range-presets-normal-list-font-size: $text-xs !default;
18
+ $range-presets-bigger-list-font-size: $text-sm !default;
19
+ $range-range-btn-font-weight: $font-weight-medium !default;
20
20
  $range-header-label-size: $text-lg !default;
21
21
  $range-calendar-small-font-size: $text-xs !default;
22
- $range-calendar-bigger-font-size: 20px !default;
22
+ $range-calendar-bigger-font-size: $text-xl !default;
23
23
  $range-calendar-header-padding: 8px 5px !default;
24
24
  $range-e-bigger-header-padding: 10px 5px !default;
25
25
  $range-device-control-header-margin: 0 !default;
@@ -33,8 +33,8 @@ $range-calendar-margin: 0 !default;
33
33
  $range-start-end-label-width: 48% !default;
34
34
  $range-change-icon-width: 4% !default;
35
35
  $range-font-weight-bold: $font-weight-medium !default;
36
- $range-font-size: 15px !default;
37
- $range-bigger-change-icon-size: 18px !default;
36
+ $range-font-size: $text-sm !default;
37
+ $range-bigger-change-icon-size: $font-icon-18 !default;
38
38
  $range-indicator-label-width: 100% !default;
39
39
  $range-device-indicator-margin: 10px 0 !default;
40
40
  $range-separator-height: 1px !default;
@@ -55,10 +55,10 @@ $range-list-item-height: 48px !default;
55
55
  $range-list-item-padding: 0 24px !default;
56
56
  $range-listview-padding: 4px 0 !default;
57
57
  $range-list-item-line-height: 47px !default;
58
- $range-device-medium-font-size: 13px !default;
59
- $range-device-medium-header-font-size: 13px !default;
60
- $range-device-small-font-size: 11px !default;
61
- $range-week-header-font-size: 13px !default;
58
+ $range-device-medium-font-size: $text-sm !default;
59
+ $range-device-medium-header-font-size: $text-sm !default;
60
+ $range-device-small-font-size: $text-xs !default;
61
+ $range-week-header-font-size: $text-sm !default;
62
62
  $range-device-header-container-height: 36px !default;
63
63
  $range-device-header-container-width: 100% !default;
64
64
  $range-device-list-item-padding: 0 16px !default;
@@ -105,8 +105,8 @@ $range-calendar-landscape-height: 130px !default;
105
105
 
106
106
  // new variable
107
107
  $range-icon: '\e245' !default;
108
- $range-icon-font-size: 16px !default;
109
- $range-bigger-icon-font-size: 18px !default;
108
+ $range-icon-font-size: $font-icon-16 !default;
109
+ $range-bigger-icon-font-size: $font-icon-18 !default;
110
110
  $range-icon-next: '\e913' !default;
111
111
  $range-icon-prev: '\e921' !default;
112
112
  $range-change-icon: '\e85f' !default;
@@ -116,18 +116,18 @@ $range-rtl-icon-change: '\e85b' !default;
116
116
 
117
117
  // Mouse small size
118
118
  $range-small-header-label-size: 16px !default;
119
- $range-small-font-size: 12px !default;
119
+ $range-small-font-size: $text-xs !default;
120
120
  $range-start-end-container-small-height: 32px !default;
121
- $range-calendar-mouse-small-font-size: 12px !default;
121
+ $range-calendar-mouse-small-font-size: $text-xs !default;
122
122
  $range-indicator-small-margin: 0 0 10px 0 !default;
123
123
  $range-control-small-header-margin: 10px 10px 0 10px !default;
124
124
  $range-separator-small-margin: 0 10px !default;
125
125
  $range-small-footer-margin: 10px 10px 10px 8px !default;
126
126
  $range-preset-small-list-height: 26px !default;
127
- $range-presets-small-list-font-size: 12px !default;
127
+ $range-presets-small-list-font-size: $text-xs !default;
128
128
  $calendar-bigger-small-max-width: 246px !default;
129
129
  $range-control-header-width: auto !default;
130
- $range-font-weight-normal: normal !default;
130
+ $range-font-weight-normal: $font-weight-normal !default;
131
131
  $range-flex-style: flex !default;
132
132
  $range-flex-justify-content: flex-end !default;
133
133
  $range-inline-block-style: inline-block !default;
@@ -157,10 +157,10 @@ $range-text-overflow: ellipsis !default;
157
157
  $range-calendar-other-normal-border: none !default;
158
158
 
159
159
  // mouse small icon
160
- $range-small-icon-font-size: 14px !default;
160
+ $range-small-icon-font-size: $font-icon-14 !default;
161
161
 
162
162
  // touch small icon
163
- $range-bigger-small-icon-font-size: 18px !default;
163
+ $range-bigger-small-icon-font-size: $font-icon-18 !default;
164
164
 
165
165
  // color variables
166
166
  $range-bg-color: $flyout-bg-color !default;
@@ -175,7 +175,7 @@ $range-header-bg-color: $flyout-bg-color !default;
175
175
  $range-active-icon-color: $content-text-color !default;
176
176
  $range-active-state-icon-color: $content-text-color !default;
177
177
  $range-hover-color: $content-bg-color-alt3 !default;
178
- $range-hover-content-color: $content-bg-color-pressed !default;
178
+ $range-hover-content-color: $content-bg-color-alt4 !default;
179
179
  $range-today-color: $content-bg-color-hover !default;
180
180
  $range-selection-bg: $primary !default;
181
181
  $range-other-hover-color: $content-bg-color !default;
@@ -77,7 +77,7 @@ $range-device-indicator-margin: 10px 0 !default;
77
77
  $range-separator-height: 1px !default;
78
78
  $range-border-value: 1px solid $neutral-quintenary !default;
79
79
  $range-separator-color: $neutral-quintenary !default;
80
- $range-separator-margin: 0 16px !default;
80
+ $range-separator-margin: 0 !default;
81
81
  $range-footer-height: 48px !default;
82
82
  $range-bigger-footer-height: 58px !default;
83
83
  $range-flex-direction-row-reverse: row-reverse !default;
@@ -76,7 +76,7 @@ $range-device-indicator-margin: 10px 0 !default;
76
76
  $range-separator-height: 1px !default;
77
77
  $range-border-value: 1px solid rgba($neutral-black, .12) !default;
78
78
  $range-separator-color: rgba($neutral-black, .12) !default;
79
- $range-separator-margin: 0 16px !default;
79
+ $range-separator-margin: 0 !default;
80
80
  $range-footer-height: 48px !default;
81
81
  $range-bigger-footer-height: 58px !default;
82
82
  $range-flex-direction-row-reverse: row-reverse !default;