@syncfusion/ej2-calendars 31.1.19 → 31.1.20

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 31.1.19
3
+ * version : 31.1.20
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-calendars",
3
- "version": "31.1.19",
3
+ "version": "31.1.20",
4
4
  "description": "A complete package of date or time components with built-in features such as date formatting, inline editing, multiple (range) selection, range restriction, month and year selection, strict mode, and globalization.",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -8,11 +8,11 @@
8
8
  "module": "./index.js",
9
9
  "es2015": "./dist/es6/ej2-calendars.es5.js",
10
10
  "dependencies": {
11
- "@syncfusion/ej2-base": "~31.1.17",
11
+ "@syncfusion/ej2-base": "~31.1.20",
12
12
  "@syncfusion/ej2-buttons": "~31.1.17",
13
- "@syncfusion/ej2-inputs": "~31.1.17",
13
+ "@syncfusion/ej2-inputs": "~31.1.20",
14
14
  "@syncfusion/ej2-lists": "~31.1.17",
15
- "@syncfusion/ej2-popups": "~31.1.17"
15
+ "@syncfusion/ej2-popups": "~31.1.20"
16
16
  },
17
17
  "devDependencies": {},
18
18
  "keywords": [
@@ -194,6 +194,8 @@ var CalendarBase = /** @class */ (function (_super) {
194
194
  }
195
195
  };
196
196
  CalendarBase.prototype.minMaxUpdate = function (value) {
197
+ this.min = isNullOrUndefined(this.min) || !(+this.min) ? this.min = new Date(1900, 0, 1) : this.min;
198
+ this.max = isNullOrUndefined(this.max) || !(+this.max) ? this.max = new Date(2099, 11, 31) : this.max;
197
199
  if (!(+this.min <= +this.max)) {
198
200
  this.setProperties({ min: this.min }, true);
199
201
  addClass([this.element], OVERLAY);
@@ -201,8 +203,6 @@ var CalendarBase = /** @class */ (function (_super) {
201
203
  else {
202
204
  removeClass([this.element], OVERLAY);
203
205
  }
204
- this.min = isNullOrUndefined(this.min) || !(+this.min) ? this.min = new Date(1900, 0, 1) : this.min;
205
- this.max = isNullOrUndefined(this.max) || !(+this.max) ? this.max = new Date(2099, 11, 31) : this.max;
206
206
  if (+this.min <= +this.max && value && +value <= +this.max && +value >= +this.min) {
207
207
  this.currentDate = new Date(this.checkValue(value));
208
208
  }
@@ -56,7 +56,7 @@ $calendar-bigger-header-height: 48px !default;
56
56
  $calendar-bigger-today-button-height: 48px !default;
57
57
  $calendar-normal-header-padding: 10px 10px 0 10px !default;
58
58
  $calendar-normal-max-width: 252px !default;
59
- $calendar-normal-min-height: 336px !default;
59
+ $calendar-normal-min-height: 280px !default;
60
60
  $calendar-normal-min-width: 240px !default;
61
61
  $calendar-small-max-width: $calendar-normal-max-width !default;
62
62
  $calendar-small-min-width: $calendar-normal-min-width !default;
@@ -713,6 +713,10 @@
713
713
  border-color: transparent;
714
714
  color: $calendar-today-disabled-color;
715
715
  }
716
+ @if $skin-name == 'tailwind3' {
717
+ background-color: $calendar-today-disabled-background-style;
718
+ border-color: $calendar-today-disabled-border-style;
719
+ }
716
720
  }
717
721
  .e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
718
722
  box-shadow: $calendar-focused-cell-box-shadow;
@@ -216,7 +216,7 @@ ejs-calendar {
216
216
  max-width: 252px;
217
217
  min-width: 240px;
218
218
  padding: 0;
219
- min-height: 336px;
219
+ min-height: 280px;
220
220
  }
221
221
  .e-calendar.e-calendar-day-header-lg {
222
222
  max-width: 100%;
@@ -1115,7 +1115,7 @@ ejs-calendar {
1115
1115
  max-width: 252px;
1116
1116
  min-width: 240px;
1117
1117
  padding: 0;
1118
- min-height: 336px;
1118
+ min-height: 280px;
1119
1119
  }
1120
1120
  .e-bigger.e-small .e-calendar.e-calendar-day-header-lg {
1121
1121
  max-width: 100%;
@@ -218,7 +218,7 @@ ejs-calendar {
218
218
  max-width: 252px;
219
219
  min-width: 240px;
220
220
  padding: 0;
221
- min-height: 336px;
221
+ min-height: 280px;
222
222
  }
223
223
  .e-calendar.e-calendar-day-header-lg {
224
224
  max-width: 100%;
@@ -1117,7 +1117,7 @@ ejs-calendar {
1117
1117
  max-width: 252px;
1118
1118
  min-width: 240px;
1119
1119
  padding: 0;
1120
- min-height: 336px;
1120
+ min-height: 280px;
1121
1121
  }
1122
1122
  .e-bigger.e-small .e-calendar.e-calendar-day-header-lg {
1123
1123
  max-width: 100%;
@@ -660,6 +660,14 @@ ejs-calendar {
660
660
  outline: none;
661
661
  }
662
662
 
663
+ .e-calendar .e-btn.e-today.e-flat.e-primary.e-disabled,
664
+ .e-calendar .e-btn.e-today.e-flat.e-primary.e-disabled,
665
+ .e-calendar .e-css.e-btn.e-today.e-flat.e-primary.e-disabled,
666
+ .e-calendar .e-css.e-btn.e-today.e-flat.e-primary.e-disabled {
667
+ background-color: var(--color-sf-primary-bg-color-disabled);
668
+ border-color: var(--color-sf-primary-border-color-disabled);
669
+ }
670
+
663
671
  .e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
664
672
  -webkit-box-shadow: 0 0 0 1px var(--color-sf-content-text-color-alt3);
665
673
  box-shadow: 0 0 0 1px var(--color-sf-content-text-color-alt3);
@@ -216,7 +216,7 @@ ejs-calendar {
216
216
  max-width: 252px;
217
217
  min-width: 240px;
218
218
  padding: 0;
219
- min-height: 336px;
219
+ min-height: 280px;
220
220
  }
221
221
  .e-calendar.e-calendar-day-header-lg {
222
222
  max-width: 100%;
@@ -216,7 +216,7 @@ ejs-calendar {
216
216
  max-width: 252px;
217
217
  min-width: 240px;
218
218
  padding: 0;
219
- min-height: 336px;
219
+ min-height: 280px;
220
220
  }
221
221
  .e-calendar.e-calendar-day-header-lg {
222
222
  max-width: 100%;
@@ -1115,7 +1115,7 @@ ejs-calendar {
1115
1115
  max-width: 252px;
1116
1116
  min-width: 240px;
1117
1117
  padding: 0;
1118
- min-height: 336px;
1118
+ min-height: 280px;
1119
1119
  }
1120
1120
  .e-bigger.e-small .e-calendar.e-calendar-day-header-lg {
1121
1121
  max-width: 100%;
@@ -218,7 +218,7 @@ ejs-calendar {
218
218
  max-width: 252px;
219
219
  min-width: 240px;
220
220
  padding: 0;
221
- min-height: 336px;
221
+ min-height: 280px;
222
222
  }
223
223
  .e-calendar.e-calendar-day-header-lg {
224
224
  max-width: 100%;
@@ -218,7 +218,7 @@ ejs-calendar {
218
218
  max-width: 252px;
219
219
  min-width: 240px;
220
220
  padding: 0;
221
- min-height: 336px;
221
+ min-height: 280px;
222
222
  }
223
223
  .e-calendar.e-calendar-day-header-lg {
224
224
  max-width: 100%;
@@ -1117,7 +1117,7 @@ ejs-calendar {
1117
1117
  max-width: 252px;
1118
1118
  min-width: 240px;
1119
1119
  padding: 0;
1120
- min-height: 336px;
1120
+ min-height: 280px;
1121
1121
  }
1122
1122
  .e-bigger.e-small .e-calendar.e-calendar-day-header-lg {
1123
1123
  max-width: 100%;
@@ -660,6 +660,14 @@ ejs-calendar {
660
660
  outline: none;
661
661
  }
662
662
 
663
+ .e-calendar .e-btn.e-today.e-flat.e-primary.e-disabled,
664
+ .e-calendar .e-btn.e-today.e-flat.e-primary.e-disabled,
665
+ .e-calendar .e-css.e-btn.e-today.e-flat.e-primary.e-disabled,
666
+ .e-calendar .e-css.e-btn.e-today.e-flat.e-primary.e-disabled {
667
+ background-color: var(--color-sf-primary-bg-color-disabled);
668
+ border-color: var(--color-sf-primary-border-color-disabled);
669
+ }
670
+
663
671
  .e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
664
672
  -webkit-box-shadow: 0 0 0 1px var(--color-sf-content-text-color-alt3);
665
673
  box-shadow: 0 0 0 1px var(--color-sf-content-text-color-alt3);
@@ -660,6 +660,14 @@ ejs-calendar {
660
660
  outline: none;
661
661
  }
662
662
 
663
+ .e-calendar .e-btn.e-today.e-flat.e-primary.e-disabled,
664
+ .e-calendar .e-btn.e-today.e-flat.e-primary.e-disabled,
665
+ .e-calendar .e-css.e-btn.e-today.e-flat.e-primary.e-disabled,
666
+ .e-calendar .e-css.e-btn.e-today.e-flat.e-primary.e-disabled {
667
+ background-color: var(--color-sf-primary-bg-color-disabled);
668
+ border-color: var(--color-sf-primary-border-color-disabled);
669
+ }
670
+
663
671
  .e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
664
672
  -webkit-box-shadow: 0 0 0 1px var(--color-sf-content-text-color-alt3);
665
673
  box-shadow: 0 0 0 1px var(--color-sf-content-text-color-alt3);