@progress/kendo-angular-dateinputs 7.1.0-dev.202207271219 → 7.1.1-dev.202208190701

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.
@@ -48,7 +48,6 @@ export declare class ViewListComponent implements OnChanges, OnDestroy, AfterVie
48
48
  activeDate: Date;
49
49
  dates: Date[];
50
50
  cols: number[];
51
- colWidth: number;
52
51
  weekNames: string[];
53
52
  take: number;
54
53
  skip: number;
@@ -136,7 +136,7 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
136
136
  [title]="prevButtonTitle"
137
137
  (click)="prevButtonClick.emit()"
138
138
  >
139
- <span class="k-icon k-i-arrow-60-left"></span>
139
+ <span class="k-icon k-i-caret-alt-left"></span>
140
140
  </button>
141
141
  <span
142
142
  class="k-today k-nav-today"
@@ -157,7 +157,7 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
157
157
  [title]="nextButtonTitle"
158
158
  (click)="nextButtonClick.emit()"
159
159
  >
160
- <span class="k-icon k-i-arrow-60-right"></span>
160
+ <span class="k-icon k-i-caret-alt-right"></span>
161
161
  </button>
162
162
  </span>
163
163
  `, isInline: true, directives: [{ type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
@@ -189,7 +189,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
189
189
  [title]="prevButtonTitle"
190
190
  (click)="prevButtonClick.emit()"
191
191
  >
192
- <span class="k-icon k-i-arrow-60-left"></span>
192
+ <span class="k-icon k-i-caret-alt-left"></span>
193
193
  </button>
194
194
  <span
195
195
  class="k-today k-nav-today"
@@ -210,7 +210,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
210
210
  [title]="nextButtonTitle"
211
211
  (click)="nextButtonClick.emit()"
212
212
  >
213
- <span class="k-icon k-i-arrow-60-right"></span>
213
+ <span class="k-icon k-i-caret-alt-right"></span>
214
214
  </button>
215
215
  </span>
216
216
  `
@@ -80,7 +80,6 @@ export class ViewListComponent {
80
80
  return;
81
81
  }
82
82
  this.cols = new Array(this.service.rowLength({ prependCell: this.weekNumber })).fill('');
83
- this.colWidth = Math.round(100 / this.cols.length);
84
83
  this.weekNames = hasChange(changes, 'weekNumber') && this.weekNumber ? this.getWeekNames() : this.weekNames;
85
84
  const activeViewChanged = hasChange(changes, 'activeView');
86
85
  const focusedDate = this.focusedDate;
@@ -182,7 +181,7 @@ ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
182
181
  <table class="k-calendar-weekdays k-calendar-table" style="table-layout: auto;" *ngIf="isMonthView()">
183
182
  <thead class="k-calendar-thead">
184
183
  <tr class="k-calendar-tr">
185
- <th class="k-calendar-th" *ngFor="let name of weekNames" [style.width.%]="colWidth">{{name}}</th>
184
+ <th class="k-calendar-th" *ngFor="let name of weekNames">{{name}}</th>
186
185
  </tr>
187
186
  </thead>
188
187
  </table>
@@ -245,7 +244,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
245
244
  <table class="k-calendar-weekdays k-calendar-table" style="table-layout: auto;" *ngIf="isMonthView()">
246
245
  <thead class="k-calendar-thead">
247
246
  <tr class="k-calendar-tr">
248
- <th class="k-calendar-th" *ngFor="let name of weekNames" [style.width.%]="colWidth">{{name}}</th>
247
+ <th class="k-calendar-th" *ngFor="let name of weekNames">{{name}}</th>
249
248
  </tr>
250
249
  </thead>
251
250
  </table>
@@ -115,9 +115,9 @@ export class ViewComponent {
115
115
  'k-range-split-end': !context.isOtherMonth && context.isRangeSplitEnd,
116
116
  'k-range-split-start': !context.isOtherMonth && context.isRangeSplitStart,
117
117
  'k-range-start': !context.isOtherMonth && isRangeStart,
118
- 'k-state-active': isStartActive || isEndActive,
119
- 'k-state-focused': !context.isOtherMonth && this.isActive && context.isFocused,
120
- 'k-state-selected': !context.isOtherMonth && (context.isSelected || isRangeStart || isRangeEnd),
118
+ 'k-active': isStartActive || isEndActive,
119
+ 'k-focus': !context.isOtherMonth && this.isActive && context.isFocused,
120
+ 'k-selected': !context.isOtherMonth && (context.isSelected || isRangeStart || isRangeEnd),
121
121
  'k-today': !context.isOtherMonth && context.isToday,
122
122
  'k-weekend': context.isWeekend,
123
123
  'k-disabled': context.isDisabled,
@@ -1440,7 +1440,7 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
1440
1440
  (click)="handleButtonClick(1)"
1441
1441
  [title]="localization.get('increment')"
1442
1442
  [attr.aria-label]="localization.get('increment')">
1443
- <span class="k-button-icon k-icon k-i-arrow-n"></span>
1443
+ <span class="k-button-icon k-icon k-i-caret-alt-up"></span>
1444
1444
  </button>
1445
1445
  <button
1446
1446
  #spindown
@@ -1452,7 +1452,7 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
1452
1452
  (mouseleave)="arrowDirection = arrow.None"
1453
1453
  [title]="localization.get('decrement')"
1454
1454
  [attr.aria-label]="localization.get('decrement')">
1455
- <span class="k-button-icon k-icon k-i-arrow-s"></span>
1455
+ <span class="k-button-icon k-icon k-i-caret-alt-down"></span>
1456
1456
  </button>
1457
1457
  </span>
1458
1458
  `, isInline: true, directives: [{ type: i4.DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]" }, { type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -1517,7 +1517,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1517
1517
  (click)="handleButtonClick(1)"
1518
1518
  [title]="localization.get('increment')"
1519
1519
  [attr.aria-label]="localization.get('increment')">
1520
- <span class="k-button-icon k-icon k-i-arrow-n"></span>
1520
+ <span class="k-button-icon k-icon k-i-caret-alt-up"></span>
1521
1521
  </button>
1522
1522
  <button
1523
1523
  #spindown
@@ -1529,7 +1529,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1529
1529
  (mouseleave)="arrowDirection = arrow.None"
1530
1530
  [title]="localization.get('decrement')"
1531
1531
  [attr.aria-label]="localization.get('decrement')">
1532
- <span class="k-button-icon k-icon k-i-arrow-s"></span>
1532
+ <span class="k-button-icon k-icon k-i-caret-alt-down"></span>
1533
1533
  </button>
1534
1534
  </span>
1535
1535
  `
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-dateinputs',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1658923995,
12
+ publishDate: 1660892366,
13
13
  version: '',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
@@ -154,13 +154,13 @@ export class TimeSelectorComponent {
154
154
  return;
155
155
  }
156
156
  this.timeListWrappers.forEach(listWrapper => {
157
- this.renderer.removeClass(listWrapper.nativeElement, 'k-state-focused');
157
+ this.renderer.removeClass(listWrapper.nativeElement, 'k-focus');
158
158
  });
159
159
  if (value >= 0) {
160
160
  const listIndex = this.listIndex(value);
161
161
  const focusedWrapper = this.timeListWrappers.toArray()[listIndex];
162
162
  if (focusedWrapper) {
163
- this.renderer.addClass(focusedWrapper.nativeElement, 'k-state-focused');
163
+ this.renderer.addClass(focusedWrapper.nativeElement, 'k-focus');
164
164
  }
165
165
  }
166
166
  }
@@ -28,7 +28,7 @@ const packageMetadata = {
28
28
  name: '@progress/kendo-angular-dateinputs',
29
29
  productName: 'Kendo UI for Angular',
30
30
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
31
- publishDate: 1658923995,
31
+ publishDate: 1660892366,
32
32
  version: '',
33
33
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
34
34
  };
@@ -1577,9 +1577,9 @@ class ViewComponent {
1577
1577
  'k-range-split-end': !context.isOtherMonth && context.isRangeSplitEnd,
1578
1578
  'k-range-split-start': !context.isOtherMonth && context.isRangeSplitStart,
1579
1579
  'k-range-start': !context.isOtherMonth && isRangeStart,
1580
- 'k-state-active': isStartActive || isEndActive,
1581
- 'k-state-focused': !context.isOtherMonth && this.isActive && context.isFocused,
1582
- 'k-state-selected': !context.isOtherMonth && (context.isSelected || isRangeStart || isRangeEnd),
1580
+ 'k-active': isStartActive || isEndActive,
1581
+ 'k-focus': !context.isOtherMonth && this.isActive && context.isFocused,
1582
+ 'k-selected': !context.isOtherMonth && (context.isSelected || isRangeStart || isRangeEnd),
1583
1583
  'k-today': !context.isOtherMonth && context.isToday,
1584
1584
  'k-weekend': context.isWeekend,
1585
1585
  'k-disabled': context.isDisabled,
@@ -2377,7 +2377,7 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
2377
2377
  [title]="prevButtonTitle"
2378
2378
  (click)="prevButtonClick.emit()"
2379
2379
  >
2380
- <span class="k-icon k-i-arrow-60-left"></span>
2380
+ <span class="k-icon k-i-caret-alt-left"></span>
2381
2381
  </button>
2382
2382
  <span
2383
2383
  class="k-today k-nav-today"
@@ -2398,7 +2398,7 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
2398
2398
  [title]="nextButtonTitle"
2399
2399
  (click)="nextButtonClick.emit()"
2400
2400
  >
2401
- <span class="k-icon k-i-arrow-60-right"></span>
2401
+ <span class="k-icon k-i-caret-alt-right"></span>
2402
2402
  </button>
2403
2403
  </span>
2404
2404
  `, isInline: true, directives: [{ type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
@@ -2430,7 +2430,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2430
2430
  [title]="prevButtonTitle"
2431
2431
  (click)="prevButtonClick.emit()"
2432
2432
  >
2433
- <span class="k-icon k-i-arrow-60-left"></span>
2433
+ <span class="k-icon k-i-caret-alt-left"></span>
2434
2434
  </button>
2435
2435
  <span
2436
2436
  class="k-today k-nav-today"
@@ -2451,7 +2451,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2451
2451
  [title]="nextButtonTitle"
2452
2452
  (click)="nextButtonClick.emit()"
2453
2453
  >
2454
- <span class="k-icon k-i-arrow-60-right"></span>
2454
+ <span class="k-icon k-i-caret-alt-right"></span>
2455
2455
  </button>
2456
2456
  </span>
2457
2457
  `
@@ -4850,7 +4850,6 @@ class ViewListComponent {
4850
4850
  return;
4851
4851
  }
4852
4852
  this.cols = new Array(this.service.rowLength({ prependCell: this.weekNumber })).fill('');
4853
- this.colWidth = Math.round(100 / this.cols.length);
4854
4853
  this.weekNames = hasChange(changes, 'weekNumber') && this.weekNumber ? this.getWeekNames() : this.weekNames;
4855
4854
  const activeViewChanged = hasChange(changes, 'activeView');
4856
4855
  const focusedDate = this.focusedDate;
@@ -4952,7 +4951,7 @@ ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
4952
4951
  <table class="k-calendar-weekdays k-calendar-table" style="table-layout: auto;" *ngIf="isMonthView()">
4953
4952
  <thead class="k-calendar-thead">
4954
4953
  <tr class="k-calendar-tr">
4955
- <th class="k-calendar-th" *ngFor="let name of weekNames" [style.width.%]="colWidth">{{name}}</th>
4954
+ <th class="k-calendar-th" *ngFor="let name of weekNames">{{name}}</th>
4956
4955
  </tr>
4957
4956
  </thead>
4958
4957
  </table>
@@ -5015,7 +5014,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
5015
5014
  <table class="k-calendar-weekdays k-calendar-table" style="table-layout: auto;" *ngIf="isMonthView()">
5016
5015
  <thead class="k-calendar-thead">
5017
5016
  <tr class="k-calendar-tr">
5018
- <th class="k-calendar-th" *ngFor="let name of weekNames" [style.width.%]="colWidth">{{name}}</th>
5017
+ <th class="k-calendar-th" *ngFor="let name of weekNames">{{name}}</th>
5019
5018
  </tr>
5020
5019
  </thead>
5021
5020
  </table>
@@ -7982,7 +7981,7 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
7982
7981
  (click)="handleButtonClick(1)"
7983
7982
  [title]="localization.get('increment')"
7984
7983
  [attr.aria-label]="localization.get('increment')">
7985
- <span class="k-button-icon k-icon k-i-arrow-n"></span>
7984
+ <span class="k-button-icon k-icon k-i-caret-alt-up"></span>
7986
7985
  </button>
7987
7986
  <button
7988
7987
  #spindown
@@ -7994,7 +7993,7 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
7994
7993
  (mouseleave)="arrowDirection = arrow.None"
7995
7994
  [title]="localization.get('decrement')"
7996
7995
  [attr.aria-label]="localization.get('decrement')">
7997
- <span class="k-button-icon k-icon k-i-arrow-s"></span>
7996
+ <span class="k-button-icon k-icon k-i-caret-alt-down"></span>
7998
7997
  </button>
7999
7998
  </span>
8000
7999
  `, isInline: true, directives: [{ type: DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]" }, { type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -8059,7 +8058,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
8059
8058
  (click)="handleButtonClick(1)"
8060
8059
  [title]="localization.get('increment')"
8061
8060
  [attr.aria-label]="localization.get('increment')">
8062
- <span class="k-button-icon k-icon k-i-arrow-n"></span>
8061
+ <span class="k-button-icon k-icon k-i-caret-alt-up"></span>
8063
8062
  </button>
8064
8063
  <button
8065
8064
  #spindown
@@ -8071,7 +8070,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
8071
8070
  (mouseleave)="arrowDirection = arrow.None"
8072
8071
  [title]="localization.get('decrement')"
8073
8072
  [attr.aria-label]="localization.get('decrement')">
8074
- <span class="k-button-icon k-icon k-i-arrow-s"></span>
8073
+ <span class="k-button-icon k-icon k-i-caret-alt-down"></span>
8075
8074
  </button>
8076
8075
  </span>
8077
8076
  `
@@ -10684,13 +10683,13 @@ class TimeSelectorComponent {
10684
10683
  return;
10685
10684
  }
10686
10685
  this.timeListWrappers.forEach(listWrapper => {
10687
- this.renderer.removeClass(listWrapper.nativeElement, 'k-state-focused');
10686
+ this.renderer.removeClass(listWrapper.nativeElement, 'k-focus');
10688
10687
  });
10689
10688
  if (value >= 0) {
10690
10689
  const listIndex = this.listIndex(value);
10691
10690
  const focusedWrapper = this.timeListWrappers.toArray()[listIndex];
10692
10691
  if (focusedWrapper) {
10693
- this.renderer.addClass(focusedWrapper.nativeElement, 'k-state-focused');
10692
+ this.renderer.addClass(focusedWrapper.nativeElement, 'k-focus');
10694
10693
  }
10695
10694
  }
10696
10695
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dateinputs",
3
- "version": "7.1.0-dev.202207271219",
3
+ "version": "7.1.1-dev.202208190701",
4
4
  "description": "Kendo UI for Angular Date Inputs Package - Everything you need to add date selection functionality to apps (DatePicker, TimePicker, DateInput, DateRangePicker, DateTimePicker, Calendar, and MultiViewCalendar).",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",