@syncfusion/ej2-calendars 24.2.9 → 25.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 (73) hide show
  1. package/CHANGELOG.md +0 -56
  2. package/dist/ej2-calendars.min.js +2 -2
  3. package/dist/ej2-calendars.umd.min.js +2 -2
  4. package/dist/ej2-calendars.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-calendars.es2015.js +39 -7
  6. package/dist/es6/ej2-calendars.es2015.js.map +1 -1
  7. package/dist/es6/ej2-calendars.es5.js +39 -7
  8. package/dist/es6/ej2-calendars.es5.js.map +1 -1
  9. package/dist/global/ej2-calendars.min.js +2 -2
  10. package/dist/global/ej2-calendars.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +11 -11
  13. package/src/calendar/calendar.js +3 -3
  14. package/src/datepicker/datepicker.d.ts +1 -0
  15. package/src/datepicker/datepicker.js +10 -2
  16. package/src/daterangepicker/daterangepicker.d.ts +1 -0
  17. package/src/daterangepicker/daterangepicker.js +8 -0
  18. package/src/datetimepicker/datetimepicker.js +10 -2
  19. package/src/timepicker/timepicker.d.ts +1 -0
  20. package/src/timepicker/timepicker.js +8 -0
  21. package/styles/bootstrap-dark.css +2 -2
  22. package/styles/bootstrap.css +2 -2
  23. package/styles/bootstrap4.css +2 -2
  24. package/styles/bootstrap5-dark.css +2 -2
  25. package/styles/bootstrap5.css +2 -2
  26. package/styles/calendar/_bds-definition.scss +272 -0
  27. package/styles/calendar/_bootstrap-definition.scss +1 -1
  28. package/styles/calendar/_fabric-dark-definition.scss +1 -1
  29. package/styles/calendar/_fabric-definition.scss +1 -1
  30. package/styles/calendar/_fluent-definition.scss +2 -2
  31. package/styles/calendar/_fusionnew-definition.scss +1 -1
  32. package/styles/calendar/_highcontrast-definition.scss +1 -1
  33. package/styles/calendar/_material-dark-definition.scss +1 -1
  34. package/styles/calendar/_tailwind-definition.scss +1 -1
  35. package/styles/calendar/_theme.scss +2 -2
  36. package/styles/calendar/bootstrap-dark.css +2 -2
  37. package/styles/calendar/bootstrap.css +2 -2
  38. package/styles/calendar/bootstrap4.css +2 -2
  39. package/styles/calendar/bootstrap5-dark.css +2 -2
  40. package/styles/calendar/bootstrap5.css +2 -2
  41. package/styles/calendar/fabric-dark.css +2 -2
  42. package/styles/calendar/fabric.css +2 -2
  43. package/styles/calendar/fluent-dark.css +12 -12
  44. package/styles/calendar/fluent.css +12 -12
  45. package/styles/calendar/highcontrast-light.css +2 -2
  46. package/styles/calendar/highcontrast.css +2 -2
  47. package/styles/calendar/icons/_bds.scss +13 -0
  48. package/styles/calendar/material-dark.css +2 -2
  49. package/styles/calendar/material.css +2 -2
  50. package/styles/calendar/material3-dark.css +2 -2
  51. package/styles/calendar/material3.css +2 -2
  52. package/styles/calendar/tailwind-dark.css +2 -2
  53. package/styles/calendar/tailwind.css +2 -2
  54. package/styles/datepicker/_bds-definition.scss +105 -0
  55. package/styles/datepicker/icons/_bds.scss +76 -0
  56. package/styles/daterangepicker/_bds-definition.scss +294 -0
  57. package/styles/daterangepicker/icons/_bds.scss +92 -0
  58. package/styles/datetimepicker/_bds-definition.scss +65 -0
  59. package/styles/datetimepicker/icons/_bds.scss +11 -0
  60. package/styles/fabric-dark.css +2 -2
  61. package/styles/fabric.css +2 -2
  62. package/styles/fluent-dark.css +12 -12
  63. package/styles/fluent.css +12 -12
  64. package/styles/highcontrast-light.css +2 -2
  65. package/styles/highcontrast.css +2 -2
  66. package/styles/material-dark.css +2 -2
  67. package/styles/material.css +2 -2
  68. package/styles/material3-dark.css +2 -2
  69. package/styles/material3.css +2 -2
  70. package/styles/tailwind-dark.css +2 -2
  71. package/styles/tailwind.css +2 -2
  72. package/styles/timepicker/_bds-definition.scss +84 -0
  73. package/styles/timepicker/icons/_bds.scss +24 -0
package/styles/fluent.css CHANGED
@@ -195,7 +195,7 @@ ejs-calendar {
195
195
  .e-calendar .e-header .e-prev, .e-calendar .e-header .e-next,
196
196
  .e-bigger.e-small .e-calendar .e-header .e-prev,
197
197
  .e-bigger.e-small .e-calendar .e-header .e-next {
198
- border-radius: 2px;
198
+ border-radius: 0;
199
199
  display: inline-block;
200
200
  font-size: 14px;
201
201
  vertical-align: middle;
@@ -726,7 +726,7 @@ ejs-calendar {
726
726
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date:focus span.e-day {
727
727
  background: #f3f2f1;
728
728
  border: none;
729
- border-radius: 2px;
729
+ border-radius: 0;
730
730
  box-shadow: none;
731
731
  background: none;
732
732
  border-radius: 4px;
@@ -736,7 +736,7 @@ ejs-calendar {
736
736
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date:hover span.e-day {
737
737
  background-color: #f3f2f1;
738
738
  border: none;
739
- border-radius: 2px;
739
+ border-radius: 0;
740
740
  color: #201f1e;
741
741
  }
742
742
  .e-calendar .e-content td.e-today span.e-day, .e-calendar .e-content td.e-focused-date.e-today span.e-day,
@@ -744,7 +744,7 @@ ejs-calendar {
744
744
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today span.e-day {
745
745
  background: #0078d4;
746
746
  border: none;
747
- border-radius: 2px;
747
+ border-radius: 0;
748
748
  box-shadow: inset 1px 0 #0078d4, inset 0 1px #0078d4, inset -1px 0 #0078d4, inset 0 -1px #0078d4;
749
749
  color: #fff;
750
750
  border-radius: 50%;
@@ -761,7 +761,7 @@ ejs-calendar {
761
761
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today:focus span.e-day {
762
762
  background-color: #edebe9;
763
763
  border: none;
764
- border-radius: 2px;
764
+ border-radius: 0;
765
765
  color: #fff;
766
766
  background-color: #0078d4;
767
767
  border-radius: 50%;
@@ -832,7 +832,7 @@ ejs-calendar {
832
832
  .e-bigger.e-small .e-calendar .e-content td:focus span.e-day {
833
833
  background-color: #f3f2f1;
834
834
  border: none;
835
- border-radius: 2px;
835
+ border-radius: 0;
836
836
  color: #201f1e;
837
837
  }
838
838
  .e-calendar .e-content td:focus span.e-day,
@@ -840,7 +840,7 @@ ejs-calendar {
840
840
  background-color: #edebe9;
841
841
  color: #201f1e;
842
842
  border: none;
843
- border-radius: 2px;
843
+ border-radius: 0;
844
844
  border-radius: 50%;
845
845
  }
846
846
  .e-calendar .e-content td.e-disabled span.e-day, .e-calendar .e-content td.e-disabled:hover span.e-day, .e-calendar .e-content td.e-disabled:focus span.e-day,
@@ -863,7 +863,7 @@ ejs-calendar {
863
863
  .e-bigger.e-small .e-calendar .e-content td.e-selected span.e-day {
864
864
  background-color: #edebe9;
865
865
  border: none;
866
- border-radius: 2px;
866
+ border-radius: 0;
867
867
  color: #201f1e;
868
868
  }
869
869
  .e-calendar .e-content td.e-selected:not(.e-focused-date) span.e-day,
@@ -898,7 +898,7 @@ ejs-calendar {
898
898
  .e-bigger.e-small .e-calendar .e-content td.e-selected:hover span.e-day {
899
899
  background-color: #edebe9;
900
900
  border: none;
901
- border-radius: 2px;
901
+ border-radius: 0;
902
902
  color: #201f1e;
903
903
  }
904
904
  .e-calendar .e-content td.e-selected.e-focused-date span.e-day,
@@ -963,7 +963,7 @@ ejs-calendar {
963
963
  color: #201f1e;
964
964
  }
965
965
 
966
- .e-zoomin {
966
+ .e-calendar .e-zoomin {
967
967
  animation: animatezoom 0.3s;
968
968
  }
969
969
 
@@ -1019,9 +1019,9 @@ ejs-calendar {
1019
1019
  color: #a19f9d;
1020
1020
  }
1021
1021
 
1022
- .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
1022
+ .e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
1023
1023
  box-shadow: 0 0 0 1px #605e5c;
1024
- border-radius: 2px;
1024
+ border-radius: 0;
1025
1025
  }
1026
1026
 
1027
1027
  /* stylelint-disable property-no-vendor-prefix */
@@ -831,7 +831,7 @@ ejs-calendar {
831
831
  color: #400074;
832
832
  }
833
833
 
834
- .e-zoomin {
834
+ .e-calendar .e-zoomin {
835
835
  animation: animatezoom 0.3s;
836
836
  }
837
837
 
@@ -843,7 +843,7 @@ ejs-calendar {
843
843
  transform: scale(1);
844
844
  }
845
845
  }
846
- .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
846
+ .e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
847
847
  box-shadow: 0 0 0 1px #fff;
848
848
  border-radius: 0;
849
849
  }
@@ -841,7 +841,7 @@ ejs-calendar {
841
841
  color: #ffd939;
842
842
  }
843
843
 
844
- .e-zoomin {
844
+ .e-calendar .e-zoomin {
845
845
  animation: animatezoom 0.3s;
846
846
  }
847
847
 
@@ -853,7 +853,7 @@ ejs-calendar {
853
853
  transform: scale(1);
854
854
  }
855
855
  }
856
- .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
856
+ .e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
857
857
  box-shadow: 0 0 0 1px #fff;
858
858
  border-radius: 0;
859
859
  }
@@ -840,7 +840,7 @@ ejs-calendar {
840
840
  color: #fff;
841
841
  }
842
842
 
843
- .e-zoomin {
843
+ .e-calendar .e-zoomin {
844
844
  animation: animatezoom 0.3s;
845
845
  }
846
846
 
@@ -852,7 +852,7 @@ ejs-calendar {
852
852
  transform: scale(1);
853
853
  }
854
854
  }
855
- .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
855
+ .e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
856
856
  box-shadow: 0 0 0 1px #fff;
857
857
  border-radius: 50%;
858
858
  }
@@ -841,7 +841,7 @@ ejs-calendar {
841
841
  color: rgba(0, 0, 0, 0.87);
842
842
  }
843
843
 
844
- .e-zoomin {
844
+ .e-calendar .e-zoomin {
845
845
  animation: animatezoom 0.3s;
846
846
  }
847
847
 
@@ -853,7 +853,7 @@ ejs-calendar {
853
853
  transform: scale(1);
854
854
  }
855
855
  }
856
- .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
856
+ .e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
857
857
  box-shadow: 0 0 0 1px #212121;
858
858
  border-radius: 50%;
859
859
  }
@@ -900,7 +900,7 @@ ejs-calendar {
900
900
  color: rgba(var(--color-sf-on-surface));
901
901
  }
902
902
 
903
- .e-zoomin {
903
+ .e-calendar .e-zoomin {
904
904
  animation: animatezoom 0.3s;
905
905
  }
906
906
 
@@ -912,7 +912,7 @@ ejs-calendar {
912
912
  transform: scale(1);
913
913
  }
914
914
  }
915
- .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
915
+ .e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
916
916
  box-shadow: 0 0 0 1px rgba(var(--color-sf-primary));
917
917
  border-radius: 32px;
918
918
  }
@@ -956,7 +956,7 @@ ejs-calendar {
956
956
  color: rgba(var(--color-sf-on-surface));
957
957
  }
958
958
 
959
- .e-zoomin {
959
+ .e-calendar .e-zoomin {
960
960
  animation: animatezoom 0.3s;
961
961
  }
962
962
 
@@ -968,7 +968,7 @@ ejs-calendar {
968
968
  transform: scale(1);
969
969
  }
970
970
  }
971
- .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
971
+ .e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
972
972
  box-shadow: 0 0 0 1px rgba(var(--color-sf-primary));
973
973
  border-radius: 32px;
974
974
  }
@@ -933,7 +933,7 @@ ejs-calendar {
933
933
  color: #000;
934
934
  }
935
935
 
936
- .e-zoomin {
936
+ .e-calendar .e-zoomin {
937
937
  animation: animatezoom 0.3s;
938
938
  }
939
939
 
@@ -945,7 +945,7 @@ ejs-calendar {
945
945
  transform: scale(1);
946
946
  }
947
947
  }
948
- .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
948
+ .e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
949
949
  box-shadow: 0 0 0 1px #8b919e;
950
950
  border-radius: 4px;
951
951
  }
@@ -933,7 +933,7 @@ ejs-calendar {
933
933
  color: #fff;
934
934
  }
935
935
 
936
- .e-zoomin {
936
+ .e-calendar .e-zoomin {
937
937
  animation: animatezoom 0.3s;
938
938
  }
939
939
 
@@ -945,7 +945,7 @@ ejs-calendar {
945
945
  transform: scale(1);
946
946
  }
947
947
  }
948
- .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
948
+ .e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
949
949
  box-shadow: 0 0 0 1px #9ca3af;
950
950
  border-radius: 4px;
951
951
  }
@@ -0,0 +1,84 @@
1
+ // size variables
2
+ $timepicker-skin-name: $skin-name !default;
3
+ $timepicker-default-text-indent: 12px !default;
4
+ $timepicker-list-bigger-line-height: 40px !default;
5
+ $timepicker-list-normal-line-height: 32px !default;
6
+ $timepicker-list-normal-font-size: $text-sm !default;
7
+ $timepicker-list-bigger-font-size: $text-base !default;
8
+ $timepicker-list-normal-text-indent: $timepicker-default-text-indent !default;
9
+ $timepicker-list-bigger-text-indent: 16px !default;
10
+ $timepicker-popup-border-radius: 8px !default;
11
+ $timepicker-list-font-weight: $font-weight-normal !default;
12
+ $timepicker-list-normal-padding: 4px !default;
13
+ $timepicker-list-bigger-padding: 4px !default;
14
+ $timepicker-font-icon: '\e20c' !default;
15
+ $timepicker-icon-normal-font-size: $text-base !default;
16
+ $timepicker-icon-bigger-font-size: $text-lg !default;
17
+ $timepicker-normal-input-min-height: 20px !default;
18
+ $timepicker-normal-input-min-width: 20px !default;
19
+ $timepicker-bigger-input-min-height: 22px !default;
20
+ $timepicker-bigger-input-min-width: 22px !default;
21
+ $timepicker-list-default-border-style: none !default;
22
+ $timepicker-disable-opacity: 1 !default;
23
+
24
+ // mouse small
25
+ $timepicker-list-small-font-size: $text-sm !default;
26
+ $timepicker-list-small-line-height: 26px !default;
27
+ $timepicker-list-small-text-indent: 12px !default;
28
+
29
+ // mouse small icon
30
+ $timepicker-icon-small-font-size: $text-sm !default;
31
+
32
+ // Touch small
33
+ $timepicker-list-bigger-small-font-size: $text-sm !default;
34
+ $timepicker-list-bigger-small-line-height: 32px !default;
35
+ $timepicker-list-bigger-small-text-indent: 12px !default;
36
+
37
+ // Touch small icon
38
+ $timepicker-icon-bigger-small-font-size: $text-base !default;
39
+
40
+ // color variables
41
+ $timepicker-popup-shadow: $shadow-lg !default;
42
+ $timepicker-list-default-font-color: $content-text-color !default;
43
+ $timepicker-list-border-color: 1px solid $border-light !default;
44
+ $timepicker-list-hover-border-color: none !default;
45
+ $timepicker-list-bg-color: $flyout-bg-color !default;
46
+ $timepicker-list-active-bg-color: $content-bg-color-selected !default;
47
+ $timepicker-list-active-font-color: $content-text-color-selected !default;
48
+ $timepicker-list-active-icon-color: $content-text-color-selected !default;
49
+ $timepicker-list-hover-bg-color: $content-bg-color-hover !default;
50
+ $timepicker-list-hover-font-color: $content-text-color-hover !default;
51
+ $timepicker-list-popup-icon-active-color: $content-text-color-selected !default;
52
+ $timepicker-list-active-hover-bg-color: $content-bg-color-hover !default;
53
+ $timepicker-list-active-hover-font-color: $content-text-color-selected !default;
54
+ $timepicker-disable-text: $content-text-color-disabled !default;
55
+ $timepicker-default-overlay: $content-bg-color-alt2 !default;
56
+ $timepicker-list-small-font-color: $content-text-color !default;
57
+
58
+ // modal dialog colors
59
+ $modal-header-bg-color: $content-bg-color-alt1 !default;
60
+ $modal-header-text-color: $content-text-color-alt1 !default;
61
+
62
+ // modal dialog portrait dimensions
63
+ $modal-header-height: 10% !default;
64
+ $modal-header-padding: 2.5vh 2.5vw 2.5vh 1.5vw !default;
65
+ $modal-header-display-style: flex !default;
66
+ $modal-header-content-align: center !default;
67
+ $modal-header-portrait-font-size: 2vh !default;
68
+ $modal-close-icon-float: left !default;
69
+ $modal-portrait-content-padding: 1vh 2vw !default;
70
+ $modal-content-height: 90% !default;
71
+ $modal-content-overflow: auto !default;
72
+ $modal-header-title-transform: capitalize !default;
73
+ $modal-header-border-bottom: none !default;
74
+ $modal-list-line-height: 5vh !default;
75
+ $modal-landscape-list-line-height: 10vh !default;
76
+
77
+ // modal dialog landscape dimensions
78
+ $modal-header-landscape-height: 15% !default;
79
+ $modal-content-landscape-height: 85% !default;
80
+ $modal-header-landscape-font-size: 2vw !default;
81
+ $modal-landscape-padding: 1vh 1vw !default;
82
+ $modal-list-item-padding: 1vh 0 !default;
83
+ $modal-mobile-font-size: 14px !default;
84
+ $modal-tablet-font-size: 24px !default;
@@ -0,0 +1,24 @@
1
+ @include export-module('timepicker-bds-icons') {
2
+
3
+ /*! component icons */
4
+
5
+ .e-time-wrapper,
6
+ #{if(&, '&', '*')}.e-control-wrapper.e-time-wrapper {
7
+
8
+ #{if(&, '&', '*')} .e-time-icon.e-icons::before {
9
+ content: '\e705';
10
+ }
11
+ }
12
+
13
+ .e-timepicker-mob-popup-wrap .e-timepicker.e-popup-expand,
14
+ .e-datetimepicker.e-popup-expand {
15
+
16
+ #{if(&, '&', '*')} .e-model-header {
17
+
18
+ #{if(&, '&', '*')} .e-popup-close::before {
19
+ content: '\e7e7';
20
+ font-family: 'e-icons';
21
+ }
22
+ }
23
+ }
24
+ }