@syncfusion/ej2-calendars 24.2.3 → 24.2.5

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 (55) hide show
  1. package/CHANGELOG.md +8 -0
  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 +93 -24
  6. package/dist/es6/ej2-calendars.es2015.js.map +1 -1
  7. package/dist/es6/ej2-calendars.es5.js +93 -24
  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 +10 -10
  13. package/src/calendar/calendar.d.ts +2 -0
  14. package/src/calendar/calendar.js +86 -21
  15. package/src/datepicker/datepicker.js +7 -3
  16. package/styles/bootstrap-dark.css +2 -2
  17. package/styles/bootstrap.css +1 -1
  18. package/styles/bootstrap4.css +2 -2
  19. package/styles/bootstrap5-dark.css +1 -1
  20. package/styles/bootstrap5.css +1 -1
  21. package/styles/calendar/_bootstrap-dark-definition.scss +2 -2
  22. package/styles/calendar/_bootstrap4-definition.scss +2 -2
  23. package/styles/calendar/_material-dark-definition.scss +1 -1
  24. package/styles/calendar/_material-definition.scss +1 -1
  25. package/styles/calendar/_material3-definition.scss +1 -1
  26. package/styles/calendar/_theme.scss +1 -1
  27. package/styles/calendar/bootstrap-dark.css +2 -2
  28. package/styles/calendar/bootstrap.css +1 -1
  29. package/styles/calendar/bootstrap4.css +2 -2
  30. package/styles/calendar/bootstrap5-dark.css +1 -1
  31. package/styles/calendar/bootstrap5.css +1 -1
  32. package/styles/calendar/fabric-dark.css +1 -1
  33. package/styles/calendar/fabric.css +1 -1
  34. package/styles/calendar/fluent-dark.css +1 -1
  35. package/styles/calendar/fluent.css +1 -1
  36. package/styles/calendar/highcontrast-light.css +1 -1
  37. package/styles/calendar/highcontrast.css +1 -1
  38. package/styles/calendar/material-dark.css +10 -10
  39. package/styles/calendar/material.css +10 -10
  40. package/styles/calendar/material3-dark.css +10 -10
  41. package/styles/calendar/material3.css +10 -10
  42. package/styles/calendar/tailwind-dark.css +1 -1
  43. package/styles/calendar/tailwind.css +1 -1
  44. package/styles/fabric-dark.css +1 -1
  45. package/styles/fabric.css +1 -1
  46. package/styles/fluent-dark.css +1 -1
  47. package/styles/fluent.css +1 -1
  48. package/styles/highcontrast-light.css +1 -1
  49. package/styles/highcontrast.css +1 -1
  50. package/styles/material-dark.css +10 -10
  51. package/styles/material.css +10 -10
  52. package/styles/material3-dark.css +10 -10
  53. package/styles/material3.css +10 -10
  54. package/styles/tailwind-dark.css +1 -1
  55. package/styles/tailwind.css +1 -1
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 24.2.3
3
+ * version : 24.2.5
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. 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,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-calendars@*",
3
- "_id": "@syncfusion/ej2-calendars@24.1.47",
3
+ "_id": "@syncfusion/ej2-calendars@24.2.3",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-FvBECaMLbb4sI890M0ApgyZLCQmpbpFXd9JyUYgrQp7Gbx7HI1FZ7IhgG44iL1lMLoS01HcXhVuJnsxhT8KMdw==",
5
+ "_integrity": "sha512-jRcfZtIe8Ujqp2OFZrsPtDSq4UBajjypANh3DaJ1UVCvCziB8VB78wkrPABbpgb05moR5TR1qCehBu6Q2VnaFg==",
6
6
  "_location": "/@syncfusion/ej2-calendars",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -31,8 +31,8 @@
31
31
  "/@syncfusion/ej2-schedule",
32
32
  "/@syncfusion/ej2-vue-calendars"
33
33
  ],
34
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-24.1.47.tgz",
35
- "_shasum": "1dadc83cca6f8b8bb1a22f38031b42f252a621b8",
34
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-24.2.3.tgz",
35
+ "_shasum": "2d154e96239cdb5a7aa35879fb8937c9e1d9f418",
36
36
  "_spec": "@syncfusion/ej2-calendars@*",
37
37
  "_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
38
38
  "author": {
@@ -43,11 +43,11 @@
43
43
  },
44
44
  "bundleDependencies": false,
45
45
  "dependencies": {
46
- "@syncfusion/ej2-base": "~24.2.3",
47
- "@syncfusion/ej2-buttons": "~24.2.3",
48
- "@syncfusion/ej2-inputs": "~24.2.3",
49
- "@syncfusion/ej2-lists": "~24.2.3",
50
- "@syncfusion/ej2-popups": "~24.2.3"
46
+ "@syncfusion/ej2-base": "~24.2.5",
47
+ "@syncfusion/ej2-buttons": "~24.2.5",
48
+ "@syncfusion/ej2-inputs": "~24.2.5",
49
+ "@syncfusion/ej2-lists": "~24.2.4",
50
+ "@syncfusion/ej2-popups": "~24.2.5"
51
51
  },
52
52
  "deprecated": false,
53
53
  "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.",
@@ -80,6 +80,6 @@
80
80
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
81
81
  },
82
82
  "typings": "index.d.ts",
83
- "version": "24.2.3",
83
+ "version": "24.2.5",
84
84
  "sideEffects": false
85
85
  }
@@ -362,6 +362,8 @@ export declare class CalendarBase extends Component<HTMLElement> implements INot
362
362
  protected minMaxUpdate(value?: Date): void;
363
363
  protected createHeader(): void;
364
364
  protected createContent(): void;
365
+ private addContentFocus;
366
+ private removeContentFocus;
365
367
  protected getCultureValues(): string[];
366
368
  protected toCapitalize(text: string): string;
367
369
  protected createContentHeader(): void;
@@ -33,6 +33,7 @@ var DEVICE = 'e-device';
33
33
  var HEADER = 'e-header';
34
34
  var RTL = 'e-rtl';
35
35
  var CONTENT = 'e-content';
36
+ var CONTENTTABLE = 'e-content-table';
36
37
  var YEAR = 'e-year';
37
38
  var MONTH = 'e-month';
38
39
  var DECADE = 'e-decade';
@@ -48,6 +49,7 @@ var WEEKEND = 'e-weekend';
48
49
  var WEEKNUMBER = 'e-week-number';
49
50
  var SELECTED = 'e-selected';
50
51
  var FOCUSEDDATE = 'e-focused-date';
52
+ var FOCUSEDCELL = 'e-focused-cell';
51
53
  var OTHERMONTHROW = 'e-month-hide';
52
54
  var TODAY = 'e-today';
53
55
  var TITLE = 'e-title';
@@ -228,6 +230,7 @@ var CalendarBase = /** @class */ (function (_super) {
228
230
  var ariaTitleAttrs = {
229
231
  'aria-atomic': 'true', 'aria-live': 'assertive', 'aria-label': 'title'
230
232
  };
233
+ var tabIndexAttr = { 'tabindex': '0' };
231
234
  this.headerElement = this.createElement('div', { className: HEADER });
232
235
  var iconContainer = this.createElement('div', { className: ICONCONTAINER });
233
236
  this.previousIcon = this.createElement('button', { className: '' + PREVICON, attrs: { type: 'button' } });
@@ -237,6 +240,7 @@ var CalendarBase = /** @class */ (function (_super) {
237
240
  isCenterRipple: true
238
241
  });
239
242
  attributes(this.previousIcon, ariaPrevAttrs);
243
+ attributes(this.previousIcon, tabIndexAttr);
240
244
  this.nextIcon = this.createElement('button', { className: '' + NEXTICON, attrs: { type: 'button' } });
241
245
  rippleEffect(this.nextIcon, {
242
246
  selector: '.e-next',
@@ -248,8 +252,10 @@ var CalendarBase = /** @class */ (function (_super) {
248
252
  attributes(this.nextIcon, { tabIndex: '-1' });
249
253
  }
250
254
  attributes(this.nextIcon, ariaNextAttrs);
255
+ attributes(this.nextIcon, tabIndexAttr);
251
256
  this.headerTitleElement = this.createElement('div', { className: '' + LINK + ' ' + TITLE });
252
257
  attributes(this.headerTitleElement, ariaTitleAttrs);
258
+ attributes(this.headerTitleElement, tabIndexAttr);
253
259
  this.headerElement.appendChild(this.headerTitleElement);
254
260
  this.previousIcon.appendChild(this.createElement('span', { className: '' + PREVSPAN + ' ' + ICON }));
255
261
  this.nextIcon.appendChild(this.createElement('span', { className: '' + NEXTSPAN + ' ' + ICON }));
@@ -266,7 +272,7 @@ var CalendarBase = /** @class */ (function (_super) {
266
272
  };
267
273
  CalendarBase.prototype.createContent = function () {
268
274
  this.contentElement = this.createElement('div', { className: CONTENT });
269
- this.table = this.createElement('table', { attrs: { tabIndex: '0', 'role': 'grid', 'aria-activedescendant': '', 'aria-labelledby': this.element.id } });
275
+ this.table = this.createElement('table', { attrs: { 'class': CONTENTTABLE, 'tabIndex': '0', 'role': 'grid', 'aria-activedescendant': '', 'aria-labelledby': this.element.id } });
270
276
  if (this.getModuleName() === 'calendar') {
271
277
  this.element.appendChild(this.contentElement);
272
278
  }
@@ -279,6 +285,30 @@ var CalendarBase = /** @class */ (function (_super) {
279
285
  if (this.showTodayButton) {
280
286
  this.createContentFooter();
281
287
  }
288
+ if (this.getModuleName() != 'daterangepicker') {
289
+ EventHandler.add(this.table, 'focus', this.addContentFocus, this);
290
+ EventHandler.add(this.table, 'blur', this.removeContentFocus, this);
291
+ }
292
+ };
293
+ CalendarBase.prototype.addContentFocus = function (args) {
294
+ var focusedDate = this.tableBodyElement.querySelector('tr td.e-focused-date');
295
+ var selectedDate = this.tableBodyElement.querySelector('tr td.e-selected');
296
+ if (!isNullOrUndefined(selectedDate)) {
297
+ selectedDate.classList.add(FOCUSEDCELL);
298
+ }
299
+ else if (!isNullOrUndefined(focusedDate)) {
300
+ focusedDate.classList.add(FOCUSEDCELL);
301
+ }
302
+ };
303
+ CalendarBase.prototype.removeContentFocus = function (args) {
304
+ var focusedDate = this.tableBodyElement.querySelector('tr td.e-focused-date');
305
+ var selectedDate = this.tableBodyElement.querySelector('tr td.e-selected');
306
+ if (!isNullOrUndefined(selectedDate)) {
307
+ selectedDate.classList.remove(FOCUSEDCELL);
308
+ }
309
+ else if (!isNullOrUndefined(focusedDate)) {
310
+ focusedDate.classList.remove(FOCUSEDCELL);
311
+ }
282
312
  };
283
313
  CalendarBase.prototype.getCultureValues = function () {
284
314
  var culShortNames = [];
@@ -363,6 +393,7 @@ var CalendarBase = /** @class */ (function (_super) {
363
393
  CalendarBase.prototype.updateFooter = function () {
364
394
  this.todayElement.textContent = this.l10.getConstant('today');
365
395
  this.todayElement.setAttribute('aria-label', this.l10.getConstant('today'));
396
+ this.todayElement.setAttribute('tabindex', '0');
366
397
  };
367
398
  CalendarBase.prototype.createContentFooter = function () {
368
399
  if (this.showTodayButton) {
@@ -467,34 +498,54 @@ var CalendarBase = /** @class */ (function (_super) {
467
498
  this.effect = '';
468
499
  switch (e.action) {
469
500
  case 'moveLeft':
470
- this.keyboardNavigate(-1, view, e, this.max, this.min);
471
- e.preventDefault();
501
+ if (this.getModuleName() != 'daterangepicker' && !isNullOrUndefined(e.target) && e.target.classList.length > 0 && e.target.classList.contains('e-content-table')) {
502
+ this.keyboardNavigate(-1, view, e, this.max, this.min);
503
+ e.preventDefault();
504
+ }
472
505
  break;
473
506
  case 'moveRight':
474
- this.keyboardNavigate(1, view, e, this.max, this.min);
475
- e.preventDefault();
507
+ if (this.getModuleName() != 'daterangepicker' && !isNullOrUndefined(e.target) && e.target.classList.length > 0 && e.target.classList.contains('e-content-table')) {
508
+ this.keyboardNavigate(1, view, e, this.max, this.min);
509
+ e.preventDefault();
510
+ }
476
511
  break;
477
512
  case 'moveUp':
478
- if (view === 0) {
479
- this.keyboardNavigate(-7, view, e, this.max, this.min); // move the current date to the previous seven days.
480
- }
481
- else {
482
- this.keyboardNavigate(-4, view, e, this.max, this.min); // move the current year to the previous four days.
513
+ if (this.getModuleName() != 'daterangepicker' && !isNullOrUndefined(e.target) && e.target.classList.length > 0 && e.target.classList.contains('e-content-table')) {
514
+ if (view === 0) {
515
+ this.keyboardNavigate(-7, view, e, this.max, this.min); // move the current date to the previous seven days.
516
+ }
517
+ else {
518
+ this.keyboardNavigate(-4, view, e, this.max, this.min); // move the current year to the previous four days.
519
+ }
520
+ e.preventDefault();
483
521
  }
484
- e.preventDefault();
485
522
  break;
486
523
  case 'moveDown':
487
- if (view === 0) {
488
- this.keyboardNavigate(7, view, e, this.max, this.min);
489
- }
490
- else {
491
- this.keyboardNavigate(4, view, e, this.max, this.min);
524
+ if (this.getModuleName() != 'daterangepicker' && !isNullOrUndefined(e.target) && e.target.classList.length > 0 && e.target.classList.contains('e-content-table')) {
525
+ if (view === 0) {
526
+ this.keyboardNavigate(7, view, e, this.max, this.min);
527
+ }
528
+ else {
529
+ this.keyboardNavigate(4, view, e, this.max, this.min);
530
+ }
531
+ e.preventDefault();
492
532
  }
493
- e.preventDefault();
494
533
  break;
495
534
  case 'select':
496
- if (e.target === this.todayElement) {
535
+ if (e.target === this.headerTitleElement) {
536
+ this.navigateTitle(e);
537
+ }
538
+ else if (e.target === this.previousIcon) {
539
+ this.navigatePrevious(e);
540
+ }
541
+ else if (e.target === this.nextIcon) {
542
+ this.navigateNext(e);
543
+ }
544
+ else if (e.target === this.todayElement) {
497
545
  this.todayButtonClick(e, value);
546
+ if (this.getModuleName() === 'datepicker' || this.getModuleName() === 'datetimepicker') {
547
+ this.element.focus();
548
+ }
498
549
  }
499
550
  else {
500
551
  var element = !isNullOrUndefined(focusedDate) ? focusedDate : selectedDate;
@@ -507,6 +558,9 @@ var CalendarBase = /** @class */ (function (_super) {
507
558
  else {
508
559
  this.contentClick(null, --view, (element), value);
509
560
  }
561
+ if (this.getModuleName() === 'datepicker' || this.getModuleName() === 'datetimepicker') {
562
+ this.element.focus();
563
+ }
510
564
  }
511
565
  }
512
566
  break;
@@ -576,9 +630,20 @@ var CalendarBase = /** @class */ (function (_super) {
576
630
  this.navigateTo('Month', new Date(this.currentDate.getFullYear(), 11, 31));
577
631
  e.preventDefault();
578
632
  break;
579
- }
580
- if (this.getModuleName() === 'calendar') {
581
- this.table.focus();
633
+ case 'tab':
634
+ if ((this.getModuleName() === 'datepicker' || this.getModuleName() === 'datetimepicker') && e.target === this.todayElement) {
635
+ e.preventDefault();
636
+ this.element.focus();
637
+ this.hide();
638
+ }
639
+ break;
640
+ case 'shiftTab':
641
+ if ((this.getModuleName() === 'datepicker' || this.getModuleName() === 'datetimepicker') && e.target === this.headerTitleElement) {
642
+ e.preventDefault();
643
+ this.element.focus();
644
+ this.hide();
645
+ }
646
+ break;
582
647
  }
583
648
  };
584
649
  CalendarBase.prototype.keyboardNavigate = function (number, currentView, e, max, min) {
@@ -672,8 +672,6 @@ var DatePicker = /** @class */ (function (_super) {
672
672
  this.inputElement.focus();
673
673
  }
674
674
  break;
675
- case 'tab':
676
- this.hide(e);
677
675
  }
678
676
  };
679
677
  DatePicker.prototype.inputFocusHandler = function () {
@@ -835,7 +833,13 @@ var DatePicker = /** @class */ (function (_super) {
835
833
  this.inputElement.selectionStart = start;
836
834
  this.inputElement.selectionEnd = end;
837
835
  }
838
- this.hide(e);
836
+ if (e.action === 'tab' && e.target === this.inputElement && this.isCalendar() && document.activeElement === this.inputElement) {
837
+ e.preventDefault();
838
+ this.headerTitleElement.focus();
839
+ }
840
+ if (e.action === 'shiftTab' && e.target === this.inputElement && this.isCalendar() && document.activeElement === this.inputElement) {
841
+ this.hide(e);
842
+ }
839
843
  break;
840
844
  }
841
845
  default:
@@ -603,7 +603,7 @@ ejs-calendar {
603
603
  .e-calendar .e-header .e-title:active,
604
604
  .e-bigger.e-small .e-calendar .e-header .e-title:active {
605
605
  box-shadow: none;
606
- background: #f0f0f0;
606
+ background: transparent;
607
607
  text-decoration: none;
608
608
  }
609
609
  .e-calendar .e-header .e-prev:hover > span, .e-calendar .e-header .e-next:hover > span,
@@ -842,7 +842,7 @@ ejs-calendar {
842
842
  transform: scale(1);
843
843
  }
844
844
  }
845
- .e-calendar .e-cell.e-focused-cell {
845
+ .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
846
846
  box-shadow: 0 0 0 1px #fff;
847
847
  border-radius: 4px;
848
848
  }
@@ -843,7 +843,7 @@ ejs-calendar {
843
843
  transform: scale(1);
844
844
  }
845
845
  }
846
- .e-calendar .e-cell.e-focused-cell {
846
+ .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
847
847
  box-shadow: 0 0 0 1px #000;
848
848
  border-radius: 4px;
849
849
  }
@@ -604,7 +604,7 @@ ejs-calendar {
604
604
  .e-calendar .e-header .e-title:active,
605
605
  .e-bigger.e-small .e-calendar .e-header .e-title:active {
606
606
  box-shadow: none;
607
- background: #212529;
607
+ background: transparent;
608
608
  text-decoration: none;
609
609
  }
610
610
  .e-calendar .e-header .e-prev:hover > span, .e-calendar .e-header .e-next:hover > span,
@@ -843,7 +843,7 @@ ejs-calendar {
843
843
  transform: scale(1);
844
844
  }
845
845
  }
846
- .e-calendar .e-cell.e-focused-cell {
846
+ .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
847
847
  box-shadow: 0 0 0 1px #212529;
848
848
  border-radius: 4px;
849
849
  }
@@ -913,7 +913,7 @@ ejs-calendar {
913
913
  color: rgba(255, 255, 255, 0.65);
914
914
  }
915
915
 
916
- .e-calendar .e-cell.e-focused-cell {
916
+ .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
917
917
  box-shadow: 0 0 0 1px #7b848d;
918
918
  border-radius: 4px;
919
919
  }
@@ -913,7 +913,7 @@ ejs-calendar {
913
913
  color: rgba(255, 255, 255, 0.65);
914
914
  }
915
915
 
916
- .e-calendar .e-cell.e-focused-cell {
916
+ .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
917
917
  box-shadow: 0 0 0 1px #6c757d;
918
918
  border-radius: 4px;
919
919
  }
@@ -27,10 +27,10 @@ $calendar-title-font-weight-style: 600 !default;
27
27
  $calendar-title-decoration-style: none !default;
28
28
  $calendar-header-title-padding: 0 5px !default;
29
29
 
30
- // Focus related styles
30
+ //Focus related styles
31
31
  $calendar-title-focus-box-shadow: 0 0 0 1px $grey-light-font !default;
32
32
  $calendar-title-focus-background: none !default;
33
- $calendar-title-active-background: $grey-dark-font !default;
33
+ $calendar-title-active-background: transparent !default;
34
34
  $calendar-icon-focus-box-shadow: 0 0 0 1px $grey-light-font !default;
35
35
  $calendar-title-border-radius: 4px !default;
36
36
  $calendar-title-hover-bg-color: none !default;
@@ -29,10 +29,10 @@ $calendar-title-font-weight-style: 600 !default;
29
29
  $calendar-title-decoration-style: none !default;
30
30
  $calendar-header-title-padding: 0 5px !default;
31
31
 
32
- // Focus related styles
32
+ //Focus related styles
33
33
  $calendar-title-focus-box-shadow: 0 0 0 1px $gray-900 !default;
34
34
  $calendar-title-focus-background: none !default;
35
- $calendar-title-active-background: $gray-900 !default;
35
+ $calendar-title-active-background: transparent !default;
36
36
  $calendar-icon-focus-box-shadow: 0 0 0 1px $gray-900 !default;
37
37
  $calendar-title-border-radius: 4px !default;
38
38
  $calendar-title-hover-bg-color: none !default;
@@ -65,7 +65,7 @@ $calendar-normal-year-decade-height: 45px !default;
65
65
  $calendar-normal-header-height: 40px !default;
66
66
  $calendar-normal-icon-size: 36px !default;
67
67
  $calendar-normal-today-button-height: 36px !default;
68
- $calendar-border-radius: 4px !default;
68
+ $calendar-border-radius: 50% !default;
69
69
  $calendar-pointer-events: none !default;
70
70
  $calendar-float-right-style: right !default;
71
71
  $calendar-icon-padding-top: 0 !default;
@@ -68,7 +68,7 @@ $calendar-normal-year-decade-height: 45px !default;
68
68
  $calendar-normal-header-height: 40px !default;
69
69
  $calendar-normal-icon-size: 36px !default;
70
70
  $calendar-normal-today-button-height: 36px !default;
71
- $calendar-border-radius: 4px !default;
71
+ $calendar-border-radius: 50% !default;
72
72
  $calendar-pointer-events: none !default;
73
73
  $calendar-float-right-style: right !default;
74
74
  $calendar-icon-padding-top: 0 !default;
@@ -71,7 +71,7 @@ $calendar-normal-year-decade-height: 56px !default;
71
71
  $calendar-normal-header-height: 40px !default;
72
72
  $calendar-normal-icon-size: 36px !default;
73
73
  $calendar-normal-today-button-height: 36px !default;
74
- $calendar-border-radius: 4px !default;
74
+ $calendar-border-radius: 32px !default;
75
75
  $calendar-pointer-events: initial !default;
76
76
  $calendar-float-right-style: right !default;
77
77
  $calendar-icon-padding-top: 0 !default;
@@ -548,7 +548,7 @@
548
548
  color: $calendar-today-disabled-color;
549
549
  }
550
550
  }
551
- .e-calendar .e-cell.e-focused-cell {
551
+ .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
552
552
  box-shadow: $calendar-focused-cell-box-shadow;
553
553
  border-radius: $calendar-border-radius;
554
554
  }
@@ -603,7 +603,7 @@ ejs-calendar {
603
603
  .e-calendar .e-header .e-title:active,
604
604
  .e-bigger.e-small .e-calendar .e-header .e-title:active {
605
605
  box-shadow: none;
606
- background: #f0f0f0;
606
+ background: transparent;
607
607
  text-decoration: none;
608
608
  }
609
609
  .e-calendar .e-header .e-prev:hover > span, .e-calendar .e-header .e-next:hover > span,
@@ -842,7 +842,7 @@ ejs-calendar {
842
842
  transform: scale(1);
843
843
  }
844
844
  }
845
- .e-calendar .e-cell.e-focused-cell {
845
+ .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
846
846
  box-shadow: 0 0 0 1px #fff;
847
847
  border-radius: 4px;
848
848
  }
@@ -843,7 +843,7 @@ ejs-calendar {
843
843
  transform: scale(1);
844
844
  }
845
845
  }
846
- .e-calendar .e-cell.e-focused-cell {
846
+ .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
847
847
  box-shadow: 0 0 0 1px #000;
848
848
  border-radius: 4px;
849
849
  }
@@ -604,7 +604,7 @@ ejs-calendar {
604
604
  .e-calendar .e-header .e-title:active,
605
605
  .e-bigger.e-small .e-calendar .e-header .e-title:active {
606
606
  box-shadow: none;
607
- background: #212529;
607
+ background: transparent;
608
608
  text-decoration: none;
609
609
  }
610
610
  .e-calendar .e-header .e-prev:hover > span, .e-calendar .e-header .e-next:hover > span,
@@ -843,7 +843,7 @@ ejs-calendar {
843
843
  transform: scale(1);
844
844
  }
845
845
  }
846
- .e-calendar .e-cell.e-focused-cell {
846
+ .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
847
847
  box-shadow: 0 0 0 1px #212529;
848
848
  border-radius: 4px;
849
849
  }
@@ -913,7 +913,7 @@ ejs-calendar {
913
913
  color: rgba(255, 255, 255, 0.65);
914
914
  }
915
915
 
916
- .e-calendar .e-cell.e-focused-cell {
916
+ .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
917
917
  box-shadow: 0 0 0 1px #7b848d;
918
918
  border-radius: 4px;
919
919
  }
@@ -913,7 +913,7 @@ ejs-calendar {
913
913
  color: rgba(255, 255, 255, 0.65);
914
914
  }
915
915
 
916
- .e-calendar .e-cell.e-focused-cell {
916
+ .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
917
917
  box-shadow: 0 0 0 1px #6c757d;
918
918
  border-radius: 4px;
919
919
  }
@@ -848,7 +848,7 @@ ejs-calendar {
848
848
  transform: scale(1);
849
849
  }
850
850
  }
851
- .e-calendar .e-cell.e-focused-cell {
851
+ .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
852
852
  box-shadow: 0 0 0 1px #333232;
853
853
  border-radius: 0;
854
854
  }
@@ -853,7 +853,7 @@ ejs-calendar {
853
853
  transform: scale(1);
854
854
  }
855
855
  }
856
- .e-calendar .e-cell.e-focused-cell {
856
+ .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
857
857
  box-shadow: 0 0 0 1px #000;
858
858
  border-radius: 0;
859
859
  }
@@ -1019,7 +1019,7 @@ ejs-calendar {
1019
1019
  color: #484644;
1020
1020
  }
1021
1021
 
1022
- .e-calendar .e-cell.e-focused-cell {
1022
+ .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
1023
1023
  box-shadow: 0 0 0 1px #a19f9d;
1024
1024
  border-radius: 2px;
1025
1025
  }
@@ -1019,7 +1019,7 @@ ejs-calendar {
1019
1019
  color: #a19f9d;
1020
1020
  }
1021
1021
 
1022
- .e-calendar .e-cell.e-focused-cell {
1022
+ .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
1023
1023
  box-shadow: 0 0 0 1px #605e5c;
1024
1024
  border-radius: 2px;
1025
1025
  }
@@ -843,7 +843,7 @@ ejs-calendar {
843
843
  transform: scale(1);
844
844
  }
845
845
  }
846
- .e-calendar .e-cell.e-focused-cell {
846
+ .e-calendar .e-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
  }
@@ -853,7 +853,7 @@ ejs-calendar {
853
853
  transform: scale(1);
854
854
  }
855
855
  }
856
- .e-calendar .e-cell.e-focused-cell {
856
+ .e-calendar .e-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
  }
@@ -200,7 +200,7 @@ ejs-calendar {
200
200
  .e-calendar .e-header .e-prev, .e-calendar .e-header .e-next,
201
201
  .e-bigger.e-small .e-calendar .e-header .e-prev,
202
202
  .e-bigger.e-small .e-calendar .e-header .e-next {
203
- border-radius: 4px;
203
+ border-radius: 50%;
204
204
  display: inline-block;
205
205
  font-size: 14px;
206
206
  vertical-align: middle;
@@ -702,14 +702,14 @@ ejs-calendar {
702
702
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date:focus span.e-day {
703
703
  background: rgba(255, 255, 255, 0.1);
704
704
  border: none;
705
- border-radius: 4px;
705
+ border-radius: 50%;
706
706
  box-shadow: none;
707
707
  }
708
708
  .e-calendar .e-content td.e-focused-date:hover span.e-day,
709
709
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date:hover span.e-day {
710
710
  background-color: rgba(255, 255, 255, 0.1);
711
711
  border: none;
712
- border-radius: 4px;
712
+ border-radius: 50%;
713
713
  color: #fff;
714
714
  }
715
715
  .e-calendar .e-content td.e-today span.e-day, .e-calendar .e-content td.e-focused-date.e-today span.e-day,
@@ -717,7 +717,7 @@ ejs-calendar {
717
717
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today span.e-day {
718
718
  background: none;
719
719
  border: 1px solid #00b0ff;
720
- border-radius: 4px;
720
+ border-radius: 50%;
721
721
  box-shadow: none;
722
722
  color: #00b0ff;
723
723
  }
@@ -733,7 +733,7 @@ ejs-calendar {
733
733
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today:focus span.e-day {
734
734
  background-color: rgba(255, 255, 255, 0.1);
735
735
  border: none;
736
- border-radius: 4px;
736
+ border-radius: 50%;
737
737
  color: #00b0ff;
738
738
  }
739
739
  .e-calendar .e-content td.e-today:hover span.e-day, .e-calendar .e-content td.e-focused-date.e-today:hover span.e-day, .e-calendar .e-content td.e-focused-date.e-today:focus span.e-day,
@@ -792,7 +792,7 @@ ejs-calendar {
792
792
  .e-bigger.e-small .e-calendar .e-content td:focus span.e-day {
793
793
  background-color: rgba(255, 255, 255, 0.1);
794
794
  border: none;
795
- border-radius: 4px;
795
+ border-radius: 50%;
796
796
  color: #fff;
797
797
  }
798
798
  .e-calendar .e-content td:focus span.e-day,
@@ -800,7 +800,7 @@ ejs-calendar {
800
800
  background-color: rgba(255, 255, 255, 0.1);
801
801
  color: #fff;
802
802
  border: none;
803
- border-radius: 4px;
803
+ border-radius: 50%;
804
804
  }
805
805
  .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,
806
806
  .e-bigger.e-small .e-calendar .e-content td.e-disabled span.e-day,
@@ -814,7 +814,7 @@ ejs-calendar {
814
814
  .e-bigger.e-small .e-calendar .e-content td.e-selected span.e-day {
815
815
  background-color: #00b0ff;
816
816
  border: none;
817
- border-radius: 4px;
817
+ border-radius: 50%;
818
818
  color: #000;
819
819
  }
820
820
  .e-calendar .e-content .e-footer,
@@ -852,7 +852,7 @@ ejs-calendar {
852
852
  transform: scale(1);
853
853
  }
854
854
  }
855
- .e-calendar .e-cell.e-focused-cell {
855
+ .e-calendar .e-content-table .e-cell.e-focused-cell span.e-day {
856
856
  box-shadow: 0 0 0 1px #fff;
857
- border-radius: 4px;
857
+ border-radius: 50%;
858
858
  }