igniteui-angular 18.2.2 → 18.2.3

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/esm2022/lib/combo/combo.common.mjs +8 -17
  2. package/esm2022/lib/combo/combo.component.mjs +3 -3
  3. package/esm2022/lib/data-operations/filtering-expressions-tree.mjs +3 -1
  4. package/esm2022/lib/grids/filtering/excel-style/excel-style-filtering.component.mjs +14 -1
  5. package/esm2022/lib/grids/grid-base.directive.mjs +1 -17
  6. package/esm2022/lib/grids/headers/grid-header.component.mjs +2 -11
  7. package/esm2022/lib/grids/pivot-grid/pivot-grid.component.mjs +1 -7
  8. package/esm2022/lib/navigation-drawer/navigation-drawer.component.mjs +3 -3
  9. package/esm2022/lib/slider/slider.component.mjs +4 -4
  10. package/fesm2022/igniteui-angular.mjs +30 -55
  11. package/fesm2022/igniteui-angular.mjs.map +1 -1
  12. package/lib/combo/combo.common.d.ts +1 -3
  13. package/lib/core/styles/components/dialog/_dialog-theme.scss +5 -12
  14. package/lib/core/styles/components/drop-down/_drop-down-theme.scss +10 -4
  15. package/lib/core/styles/components/time-picker/_time-picker-component.scss +0 -4
  16. package/lib/core/styles/components/time-picker/_time-picker-theme.scss +7 -28
  17. package/lib/core/styles/typography/_bootstrap.scss +3 -4
  18. package/lib/core/styles/typography/_fluent.scss +9 -2
  19. package/lib/core/styles/typography/_indigo.scss +0 -1
  20. package/lib/data-operations/filtering-expressions-tree.d.ts +2 -2
  21. package/lib/grids/filtering/excel-style/excel-style-filtering.component.d.ts +1 -0
  22. package/lib/grids/grid-base.directive.d.ts +0 -5
  23. package/lib/grids/headers/grid-header.component.d.ts +0 -1
  24. package/lib/grids/pivot-grid/pivot-grid.component.d.ts +0 -5
  25. package/migrations/migration-collection.json +5 -0
  26. package/migrations/update-18_2_3/changes/theme-changes.json +11 -0
  27. package/migrations/update-18_2_3/index.d.ts +3 -0
  28. package/migrations/update-18_2_3/index.js +18 -0
  29. package/package.json +2 -2
  30. package/styles/igniteui-angular-dark.css +1 -1
  31. package/styles/igniteui-angular.css +1 -1
  32. package/styles/igniteui-bootstrap-dark.css +1 -1
  33. package/styles/igniteui-bootstrap-light.css +1 -1
  34. package/styles/igniteui-dark-green.css +1 -1
  35. package/styles/igniteui-fluent-dark-excel.css +1 -1
  36. package/styles/igniteui-fluent-dark-word.css +1 -1
  37. package/styles/igniteui-fluent-dark.css +1 -1
  38. package/styles/igniteui-fluent-light-excel.css +1 -1
  39. package/styles/igniteui-fluent-light-word.css +1 -1
  40. package/styles/igniteui-fluent-light.css +1 -1
  41. package/styles/igniteui-indigo-dark.css +1 -1
  42. package/styles/igniteui-indigo-light.css +1 -1
  43. package/styles/maps/igniteui-angular-dark.css.map +1 -1
  44. package/styles/maps/igniteui-angular.css.map +1 -1
  45. package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
  46. package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
  47. package/styles/maps/igniteui-dark-green.css.map +1 -1
  48. package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
  49. package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
  50. package/styles/maps/igniteui-fluent-dark.css.map +1 -1
  51. package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
  52. package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
  53. package/styles/maps/igniteui-fluent-light.css.map +1 -1
  54. package/styles/maps/igniteui-indigo-dark.css.map +1 -1
  55. package/styles/maps/igniteui-indigo-light.css.map +1 -1
@@ -791,13 +791,11 @@ export declare abstract class IgxComboBaseDirective implements IgxComboBase, Aft
791
791
  /** @hidden @internal */
792
792
  onBlur(): void;
793
793
  /** @hidden @internal */
794
- onFocus(): void;
795
- /** @hidden @internal */
796
794
  setActiveDescendant(): void;
797
795
  /** @hidden @internal */
798
796
  toggleCaseSensitive(): void;
799
797
  protected onStatusChanged: () => void;
800
- private validateComboState;
798
+ private updateValidity;
801
799
  private get isTouchedOrDirty();
802
800
  private get hasValidators();
803
801
  /** if there is a valueKey - map the keys to data items, else - just return the keys */
@@ -87,7 +87,7 @@
87
87
  @include css-vars($theme);
88
88
 
89
89
  $variant: map.get($theme, '_meta', 'variant');
90
- $bootstrap-theme: map.get($theme, variant) == 'bootstrap';
90
+ $bootstrap-theme: map.get($theme, '_meta', 'variant') == 'bootstrap';
91
91
 
92
92
  $dialog-min-width: map.get((
93
93
  'material': rem(280px),
@@ -96,21 +96,21 @@
96
96
  ), $variant);
97
97
 
98
98
  $dialog-title-padding: map.get((
99
- 'material': rem(24px) rem(24px) rem(12px) rem(24px),
99
+ 'material': rem(16px) rem(24px) rem(0px) rem(24px),
100
100
  'fluent': rem(16px) rem(24px) rem(24px) rem(24px),
101
101
  'bootstrap': rem(16px),
102
102
  'indigo': rem(24px) rem(24px) 0 rem(24px),
103
103
  ), $variant);
104
104
 
105
105
  $dialog-message-padding: map.get((
106
- 'material': rem(12px) rem(24px),
106
+ 'material': rem(14px) rem(24px),
107
107
  'fluent': 0 rem(24px) rem(20px) rem(24px),
108
108
  'bootstrap': rem(16px),
109
109
  'indigo': rem(16px) rem(24px),
110
110
  ), $variant);
111
111
 
112
112
  $dialog-actions-padding: map.get((
113
- 'material': rem(8px),
113
+ 'material': 0 rem(8px) rem(8px),
114
114
  'fluent': 0 rem(24px) rem(24px) rem(24px),
115
115
  'bootstrap': rem(16px),
116
116
  'indigo': rem(16px) rem(24px) rem(24px) rem(24px),
@@ -180,23 +180,16 @@
180
180
  flex-flow: row nowrap;
181
181
  justify-content: flex-end;
182
182
  padding: $dialog-actions-padding;
183
+ gap: if($variant == 'indigo', rem(16px), rem(8px));
183
184
 
184
185
  @if $bootstrap-theme {
185
186
  border-top: rem(1px) solid var-get($theme, 'border-color');
186
187
  }
187
188
 
188
- button + button {
189
- margin-inline-start: rem(8px);
190
- }
191
-
192
189
  @if $variant == 'indigo' {
193
190
  .igx-button {
194
191
  --ig-size: 2;
195
192
  }
196
-
197
- button + button {
198
- margin-inline-start: rem(16px);
199
- }
200
193
  }
201
194
  }
202
195
  }
@@ -404,16 +404,16 @@
404
404
  }
405
405
  }
406
406
 
407
- /// Adds typography styles for the igx-list component.
408
- /// Uses the 'caption' and 'subtitle-2'
407
+ /// Adds typography styles for the igx-drop-down component.
408
+ /// Uses the 'overline', 'body-2', 'subtitle-1'
409
409
  /// categories from the typographic scale.
410
410
  /// @group typography
411
- /// @param {Map} $categories [(header: 'overline', item: 'body-2', select-item: 'subtitle-1')] - The categories from the typographic scale used for type styles.
411
+ /// @param {Map} $categories [(header: 'overline', item: 'body-2', select-item: 'body-2')] - The categories from the typographic scale used for type styles.
412
412
  @mixin drop-down-typography(
413
413
  $categories: (
414
414
  header: 'overline',
415
415
  item: 'body-2',
416
- select-item: 'subtitle-1'
416
+ select-item: 'body-2'
417
417
  )
418
418
  ) {
419
419
  $header: map.get($categories, 'header');
@@ -432,4 +432,10 @@
432
432
  margin: 0;
433
433
  }
434
434
  }
435
+
436
+ %igx-drop-down__item--selected {
437
+ @include type-style($select-item) {
438
+ margin: 0;
439
+ }
440
+ }
435
441
  }
@@ -24,10 +24,6 @@
24
24
  @extend %time-picker__wrapper !optional;
25
25
  }
26
26
 
27
- @include e(header-ampm) {
28
- @extend %time-picker__header-ampm !optional;
29
- }
30
-
31
27
  @include e(header-hour){
32
28
  @extend %time-picker__header-hour !optional;
33
29
  }
@@ -23,7 +23,6 @@
23
23
  /// @param {Color} $disabled-item-background [null] - The background color for disabled values .
24
24
  /// @param {Color} $header-background [null] - The header background color of a time picker.
25
25
  /// @param {Color} $header-hour-text-color [null] - The header hour text color of a time picker.
26
- /// @param {Color} $header-time-period-color [null] - The header AM/PM text color of a time picker.
27
26
  /// @param {Color} $background-color [null] - The time-picker panel background color.
28
27
  /// @param {Number} $time-item-size [null] - The height of the time item.
29
28
  /// @param {Color} $divider-color [null] - The color for the actions area divider.
@@ -56,7 +55,6 @@
56
55
  $disabled-item-background: null,
57
56
  $header-background: null,
58
57
  $header-hour-text-color: null,
59
- $header-time-period-color: null,
60
58
  $background-color: null,
61
59
  $modal-shadow: null,
62
60
  $dropdown-shadow: null,
@@ -85,12 +83,6 @@
85
83
  $header-hour-text-color: text-contrast($header-background);
86
84
  }
87
85
 
88
- @if not($header-time-period-color) and $header-background {
89
- @if meta.type-of($header-background) == 'color' {
90
- $header-time-period-color: rgba(text-contrast($header-background), .8);
91
- }
92
- }
93
-
94
86
  @if not($selected-text-color) and $active-item-background {
95
87
  $selected-text-color: text-contrast($active-item-background);
96
88
  }
@@ -135,7 +127,6 @@
135
127
  disabled-item-background: $disabled-item-background,
136
128
  header-background: $header-background,
137
129
  header-hour-text-color: $header-hour-text-color,
138
- header-time-period-color: $header-time-period-color,
139
130
  background-color: $background-color,
140
131
  modal-shadow: $modal-shadow,
141
132
  dropdown-shadow: $dropdown-shadow,
@@ -162,15 +153,15 @@
162
153
  $picker-buttons-padding: map.get((
163
154
  'material': rem(8px),
164
155
  'fluent': rem(8px),
165
- 'bootstrap': rem(16px),
156
+ 'bootstrap': rem(8px),
166
157
  'indigo': rem(8px) rem(16px),
167
158
  ), $variant);
168
159
 
169
160
  $picker-header-padding: map.get((
170
- 'material': rem(24px) rem(16px),
161
+ 'material': rem(16px) rem(24px),
171
162
  'fluent': rem(16px),
172
163
  'bootstrap': rem(16px),
173
- 'indigo': rem(16px) rem(24px) ,
164
+ 'indigo': rem(16px),
174
165
  ), $variant);
175
166
 
176
167
  %time-picker-display {
@@ -287,7 +278,7 @@
287
278
  }
288
279
 
289
280
  %time-picker__item {
290
- width: if($variant == 'indigo', rem(46px), rem(54px));
281
+ width: rem(46px);
291
282
  padding: rem(5px) rem(10px);
292
283
  border-radius: var-get($theme, 'active-item-border-radius');
293
284
  height: var-get($theme, 'time-item-size');
@@ -355,10 +346,6 @@
355
346
  }
356
347
  }
357
348
 
358
- %time-picker__header-ampm {
359
- color: var-get($theme, 'header-time-period-color');
360
- }
361
-
362
349
  %time-picker__header--vertical {
363
350
  @if $variant == 'indigo' {
364
351
  min-width: rem(136px);
@@ -371,6 +358,7 @@
371
358
  %time-picker__header-hour {
372
359
  display: flex;
373
360
  color: var-get($theme, 'header-hour-text-color');
361
+ margin: 0;
374
362
 
375
363
  [dir='rtl'] & {
376
364
  flex-direction: row-reverse;
@@ -378,11 +366,6 @@
378
366
  }
379
367
  }
380
368
 
381
- %time-picker__header-ampm,
382
- %time-picker__header-hour {
383
- margin: 0;
384
- }
385
-
386
369
  %time-picker__buttons {
387
370
  display: flex;
388
371
  min-height: sizable(rem(40px), rem(44px), rem(48px));
@@ -413,24 +396,20 @@
413
396
  header-hour: 'h4',
414
397
  selected-time: 'h5'
415
398
  )) {
416
- $time-period: map.get($categories, 'header-time-period');
417
399
  $header-hour: map.get($categories, 'header-hour');
418
400
  $selected-time: map.get($categories, 'selected-time');
419
401
 
420
-
421
- %time-picker__header-ampm {
422
- @include type-style($time-period, false);
423
- }
424
-
425
402
  %time-picker__header-hour {
426
403
  @include type-style($header-hour, false) {
427
404
  margin-top: 0;
405
+ margin-bottom: 0;
428
406
  }
429
407
  }
430
408
 
431
409
  %time-picker__item--selected {
432
410
  @include type-style($selected-time) {
433
411
  margin-top: 0;
412
+ margin-bottom: 0;
434
413
  }
435
414
  }
436
415
  }
@@ -64,9 +64,9 @@
64
64
  ));
65
65
  @include dock-manager-typography();
66
66
  @include drop-down-typography($categories: (
67
- header: 'body-1',
68
- item: 'body-1',
69
- select-item: 'body-1'
67
+ header: 'overline',
68
+ item: 'body-2',
69
+ select-item: 'body-2'
70
70
  ));
71
71
  @include expansion-panel-typography($categories: (
72
72
  title: 'h5',
@@ -103,7 +103,6 @@
103
103
  ));
104
104
  @include tabs-typography();
105
105
  @include time-picker-typography($categories: (
106
- header-time-period: 'subtitle-1',
107
106
  header-hour: 'h4',
108
107
  selected-time: 'h4'
109
108
  ));
@@ -61,9 +61,16 @@
61
61
  ));
62
62
  @include column-actions-typography();
63
63
  @include date-range-typography();
64
- @include dialog-typography();
64
+ @include dialog-typography($categories: (
65
+ title: 'h6',
66
+ content: 'body-2'
67
+ ));
65
68
  @include dock-manager-typography();
66
- @include drop-down-typography();
69
+ @include drop-down-typography($categories: (
70
+ header: 'subtitle-2',
71
+ item: 'body-2',
72
+ select-item: 'body-2'
73
+ ));
67
74
  @include expansion-panel-typography($categories: (
68
75
  title: 'subtitle-1',
69
76
  description: 'body-2',
@@ -106,7 +106,6 @@
106
106
  label: 'subtitle-2',
107
107
  ));
108
108
  @include time-picker-typography($categories: (
109
- header-time-period: 'subtitle-1',
110
109
  header-hour: 'h5',
111
110
  selected-time: 'h6'
112
111
  ));
@@ -15,11 +15,11 @@ export declare interface IFilteringExpressionsTree extends IBaseEventArgs, IExpr
15
15
  /**
16
16
  * @deprecated in version 18.2.0. Use `ExpressionsTreeUtil.find` instead.
17
17
  */
18
- find(fieldName: string): IFilteringExpressionsTree | IFilteringExpression;
18
+ find?: (fieldName: string) => IFilteringExpressionsTree | IFilteringExpression;
19
19
  /**
20
20
  * @deprecated in version 18.2.0. Use `ExpressionsTreeUtil.findIndex` instead.
21
21
  */
22
- findIndex(fieldName: string): number;
22
+ findIndex?: (fieldName: string) => number;
23
23
  }
24
24
  export declare class FilteringExpressionsTree implements IFilteringExpressionsTree {
25
25
  /**
@@ -217,6 +217,7 @@ export declare class IgxGridExcelStyleFilteringComponent extends BaseFilteringCo
217
217
  private renderColumnValuesFromData;
218
218
  private renderValues;
219
219
  private generateFilterValues;
220
+ private modifyExpression;
220
221
  private generateListData;
221
222
  private getColumnFilterExpressionsTree;
222
223
  private addBooleanItems;
@@ -3376,11 +3376,6 @@ export declare abstract class IgxGridBaseDirective implements GridType, OnInit,
3376
3376
  * @hidden
3377
3377
  */
3378
3378
  protected calculateGridSizes(recalcFeatureWidth?: boolean): void;
3379
- /**
3380
- * @hidden
3381
- * @internal
3382
- */
3383
- protected calcGridHeadRow(): void;
3384
3379
  /**
3385
3380
  * @hidden
3386
3381
  * Sets TBODY height i.e. this.calcHeight
@@ -38,7 +38,6 @@ export declare class IgxGridHeaderComponent implements DoCheck, OnDestroy {
38
38
  get filterableStyle(): any;
39
39
  get sortedStyle(): boolean;
40
40
  get selectedStyle(): boolean;
41
- get height(): number;
42
41
  /**
43
42
  * @hidden
44
43
  */
@@ -939,11 +939,6 @@ export declare class IgxPivotGridComponent extends IgxGridBaseDirective implemen
939
939
  /** @hidden @internal */
940
940
  get activeDescendant(): string;
941
941
  protected resolveToggle(groupColumn: IgxColumnComponent, state: boolean): void;
942
- /**
943
- * @hidden
944
- * @internal
945
- */
946
- protected calcGridHeadRow(): void;
947
942
  protected buildDataView(data: any[]): void;
948
943
  /**
949
944
  * @hidden @internal
@@ -201,6 +201,11 @@
201
201
  "version": "18.2.0",
202
202
  "description": "Updates Ignite UI for Angular from v18.1.x to v18.2.0",
203
203
  "factory": "./update-18_2_0"
204
+ },
205
+ "migration-41": {
206
+ "version": "18.2.3",
207
+ "description": "Updates Ignite UI for Angular from v18.2.0 to v18.2.3",
208
+ "factory": "./update-18_2_3"
204
209
  }
205
210
  }
206
211
  }
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "../../common/schema/theme-changes.schema.json",
3
+ "changes": [
4
+ {
5
+ "name": "$header-time-period-color",
6
+ "remove": true,
7
+ "owner": "time-picker-theme",
8
+ "type":"property"
9
+ }
10
+ ]
11
+ }
@@ -0,0 +1,3 @@
1
+ import type { Rule } from '@angular-devkit/schematics';
2
+ declare const _default: () => Rule;
3
+ export default _default;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ const UpdateChanges_1 = require("../common/UpdateChanges");
13
+ const version = '18.2.3';
14
+ exports.default = () => (host, context) => __awaiter(void 0, void 0, void 0, function* () {
15
+ context.logger.info(`Applying migration for Ignite UI for Angular to version ${version}`);
16
+ const update = new UpdateChanges_1.UpdateChanges(__dirname, host, context);
17
+ update.applyChanges();
18
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-angular",
3
- "version": "18.2.2",
3
+ "version": "18.2.3",
4
4
  "description": "Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps",
5
5
  "author": "Infragistics",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -74,7 +74,7 @@
74
74
  "igniteui-trial-watermark": "^3.0.2",
75
75
  "lodash-es": "^4.17.21",
76
76
  "uuid": "^9.0.0",
77
- "igniteui-theming": "^14.1.0",
77
+ "igniteui-theming": "^14.2.0",
78
78
  "@igniteui/material-icons-extended": "^3.0.0"
79
79
  },
80
80
  "peerDependencies": {