igniteui-angular 17.2.5 → 17.2.7

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 (61) hide show
  1. package/esm2022/lib/calendar/month-picker/month-picker.component.mjs +9 -1
  2. package/esm2022/lib/core/density.mjs +2 -1
  3. package/esm2022/lib/directives/for-of/for_of.directive.mjs +13 -2
  4. package/esm2022/lib/directives/for-of/for_of.sync.service.mjs +6 -1
  5. package/esm2022/lib/directives/tooltip/tooltip-target.directive.mjs +3 -2
  6. package/esm2022/lib/grids/common/events.mjs +1 -1
  7. package/esm2022/lib/grids/common/grid.interface.mjs +1 -1
  8. package/esm2022/lib/grids/common/strategy.mjs +2 -2
  9. package/esm2022/lib/grids/common/types.mjs +1 -1
  10. package/esm2022/lib/grids/grid-base.directive.mjs +45 -45
  11. package/esm2022/lib/grids/hierarchical-grid/hierarchical-grid.component.mjs +2 -2
  12. package/esm2022/lib/grids/selection/selection.service.mjs +12 -16
  13. package/esm2022/lib/simple-combo/simple-combo.component.mjs +7 -6
  14. package/esm2022/lib/slider/slider.component.mjs +10 -8
  15. package/esm2022/lib/slider/thumb/thumb-slider.component.mjs +6 -2
  16. package/fesm2022/igniteui-angular.mjs +104 -75
  17. package/fesm2022/igniteui-angular.mjs.map +1 -1
  18. package/lib/core/density.d.ts +1 -0
  19. package/lib/core/styles/components/bottom-nav/_bottom-nav-theme.scss +24 -12
  20. package/lib/core/styles/components/button/_button-theme.scss +9 -3
  21. package/lib/core/styles/components/grid/_excel-filtering-theme.scss +20 -0
  22. package/lib/core/styles/components/overlay/_overlay-theme.scss +6 -0
  23. package/lib/directives/for-of/for_of.directive.d.ts +5 -0
  24. package/lib/grids/common/events.d.ts +30 -30
  25. package/lib/grids/common/grid.interface.d.ts +48 -48
  26. package/lib/grids/common/strategy.d.ts +1 -1
  27. package/lib/grids/common/types.d.ts +2 -2
  28. package/lib/grids/grid-base.directive.d.ts +2 -1
  29. package/lib/slider/slider.component.d.ts +1 -1
  30. package/lib/slider/thumb/thumb-slider.component.d.ts +2 -1
  31. package/migrations/migration-collection.json +5 -0
  32. package/migrations/update-17_2_6/changes/theme-changes.json +11 -0
  33. package/migrations/update-17_2_6/index.d.ts +3 -0
  34. package/migrations/update-17_2_6/index.js +31 -0
  35. package/package.json +1 -1
  36. package/styles/igniteui-angular-dark.css +1 -1
  37. package/styles/igniteui-angular.css +1 -1
  38. package/styles/igniteui-bootstrap-dark.css +1 -1
  39. package/styles/igniteui-bootstrap-light.css +1 -1
  40. package/styles/igniteui-dark-green.css +1 -1
  41. package/styles/igniteui-fluent-dark-excel.css +1 -1
  42. package/styles/igniteui-fluent-dark-word.css +1 -1
  43. package/styles/igniteui-fluent-dark.css +1 -1
  44. package/styles/igniteui-fluent-light-excel.css +1 -1
  45. package/styles/igniteui-fluent-light-word.css +1 -1
  46. package/styles/igniteui-fluent-light.css +1 -1
  47. package/styles/igniteui-indigo-dark.css +1 -1
  48. package/styles/igniteui-indigo-light.css +1 -1
  49. package/styles/maps/igniteui-angular-dark.css.map +1 -1
  50. package/styles/maps/igniteui-angular.css.map +1 -1
  51. package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
  52. package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
  53. package/styles/maps/igniteui-dark-green.css.map +1 -1
  54. package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
  55. package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
  56. package/styles/maps/igniteui-fluent-dark.css.map +1 -1
  57. package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
  58. package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
  59. package/styles/maps/igniteui-fluent-light.css.map +1 -1
  60. package/styles/maps/igniteui-indigo-dark.css.map +1 -1
  61. package/styles/maps/igniteui-indigo-light.css.map +1 -1
@@ -82,6 +82,7 @@ export declare class DisplayDensityBase implements DoCheck, OnInit {
82
82
  protected getComponentDensityClass(baseStyleClass: string): string;
83
83
  /**
84
84
  * Sets the `--component-size` CSS variable based on the value of Display Density
85
+ * @hidden @internal
85
86
  */
86
87
  getComponentSizeStyles(): "var(--ig-size, var(--ig-size-small))" | "var(--ig-size, var(--ig-size-medium))" | "var(--ig-size, var(--ig-size-large))";
87
88
  static ɵfac: i0.ɵɵFactoryDeclaration<DisplayDensityBase, [{ optional: true; }, null]>;
@@ -61,33 +61,45 @@
61
61
  }
62
62
  }
63
63
 
64
+ @if not($icon-color) and $background {
65
+ @if meta.type-of($background) == 'color' {
66
+ $icon-color: text-contrast($background);
67
+ }
68
+ }
69
+
64
70
  @if not($icon-color) and $label-color {
65
71
  @if meta.type-of($label-color) == 'color' {
66
72
  $icon-color: $label-color;
67
73
  }
68
74
  }
69
75
 
70
- @if not($icon-disabled-color) and $label-disabled-color {
71
- @if meta.type-of($label-disabled-color) == 'color' {
72
- $icon-disabled-color: $label-disabled-color;
76
+ @if not($label-color) and $icon-color {
77
+ @if meta.type-of($icon-color) == 'color' {
78
+ $label-color: $icon-color;
73
79
  }
74
80
  }
75
81
 
76
- @if not($label-disabled-color) and $icon-disabled-color {
77
- @if meta.type-of($icon-disabled-color) == 'color' {
78
- $label-disabled-color: $icon-disabled-color;
82
+ @if not($icon-selected-color) and $label-selected-color {
83
+ @if meta.type-of($label-selected-color) == 'color' {
84
+ $icon-selected-color: $label-selected-color;
79
85
  }
80
86
  }
81
87
 
82
- @if not($icon-selected-color) and $label-selected-color {
83
- @if meta.type-of($background) == 'color' {
84
- $icon-selected-color: $label-selected-color;
88
+ @if not($label-selected-color) and $icon-selected-color {
89
+ @if meta.type-of($icon-selected-color) == 'color' {
90
+ $label-selected-color: $icon-selected-color;
85
91
  }
86
92
  }
87
93
 
88
- @if not($icon-color) and $background {
89
- @if meta.type-of($background) == 'color' {
90
- $icon-color: text-contrast($background);
94
+ @if not($icon-disabled-color) and $label-disabled-color {
95
+ @if meta.type-of($label-disabled-color) == 'color' {
96
+ $icon-disabled-color: $label-disabled-color;
97
+ }
98
+ }
99
+
100
+ @if not($label-disabled-color) and $icon-disabled-color {
101
+ @if meta.type-of($icon-disabled-color) == 'color' {
102
+ $label-disabled-color: $icon-disabled-color;
91
103
  }
92
104
  }
93
105
 
@@ -139,6 +139,12 @@
139
139
  }
140
140
  }
141
141
 
142
+ @if not($icon-color) and $background {
143
+ @if meta.type-of($background) == 'color' {
144
+ $icon-color: text-contrast($background);
145
+ }
146
+ }
147
+
142
148
  @if not($icon-color-hover) and $hover-foreground {
143
149
  @if meta.type-of($hover-background) == 'color' {
144
150
  $icon-color-hover: $hover-foreground;
@@ -577,7 +583,7 @@
577
583
  background: var-get($flat-theme, 'focus-visible-background');
578
584
  color: var-get($flat-theme, 'focus-visible-foreground');
579
585
  border-color: var-get($flat-theme, 'focus-visible-border-color');
580
-
586
+
581
587
  igx-icon {
582
588
  color: var-get($flat-theme, 'icon-color');
583
589
  }
@@ -599,7 +605,7 @@
599
605
  color: var-get($flat-theme, 'focus-foreground');
600
606
  }
601
607
  }
602
-
608
+
603
609
  @if ($variant == 'bootstrap') {
604
610
  box-shadow: 0 0 0 rem(4px) var-get($flat-theme, 'shadow-color');
605
611
  }
@@ -780,7 +786,7 @@
780
786
  map.get($items-gap, 'cosy'),
781
787
  $items-gap-indigo-comfortable
782
788
  );
783
-
789
+
784
790
  &:active {
785
791
  igx-icon {
786
792
  color: var-get($outlined-theme, 'icon-color-hover');
@@ -98,15 +98,35 @@
98
98
  --item-hover-background: #{color($color: 'gray', $variant: 100)};
99
99
  --item-selected-background: #{color($color: 'gray', $variant: 100)};
100
100
  --item-text-color: #{color($color: 'gray', $variant: 700)};
101
+ --item-icon-color: #{color($color: 'gray', $variant: 700)};
101
102
  --item-hover-text-color: #{color($color: 'gray', $variant: 800)};
103
+ --item-hover-icon-color: #{color($color: 'gray', $variant: 800)};
102
104
  --item-selected-text-color: #{if(
103
105
  $variant == 'indigo-design',
104
106
  contrast-color($color: 'surface'),
105
107
  color($color: 'secondary', $variant: 500)
106
108
  )};
109
+ --item-selected-icon-color: #{if(
110
+ $variant == 'indigo-design',
111
+ contrast-color($color: 'surface'),
112
+ color($color: 'secondary', $variant: 500)
113
+ )};
114
+ --item-selected-hover-icon-color: #{if(
115
+ $variant == 'fluent',
116
+ color($color: 'secondary', $variant: 500),
117
+ contrast-color($color: 'gray', $variant: 50)
118
+ )};
107
119
  --item-border-color: transparent;
120
+ --item-hover-border-color: transparent;
121
+ --item-focused-border-color: #{if(
122
+ $variant == 'fluent',
123
+ color($color: 'gray', $variant: 700),
124
+ transparent
125
+ )};
108
126
  --item-selected-border-color: transparent;
127
+ --item-selected-hover-border-color: transparent;
109
128
  --item-disabled-border: transparent;
129
+ --disabled-selected-border-color: transparent;
110
130
  }
111
131
 
112
132
  @include tree(tree-theme(
@@ -102,6 +102,12 @@
102
102
  // WARN: This is a workaround around a bug in Safari.
103
103
  position: absolute;
104
104
  visibility: hidden;
105
+ // width/height/min-width to 0 needed for bug #14303
106
+ width: 0;
107
+ min-width: 0;
108
+ height: 0;
109
+ // needed for bug #14302
110
+ padding: 0 !important;
105
111
  top: 0;
106
112
  left: 0;
107
113
  margin: -1px;
@@ -404,6 +404,11 @@ export declare class IgxForOfDirective<T, U extends T[] = T[]> extends IgxForOfT
404
404
  * Function that is called when scrolling vertically
405
405
  */
406
406
  protected onScroll(event: any): void;
407
+ /**
408
+ * @hidden
409
+ * @internal
410
+ */
411
+ updateScroll(): void;
407
412
  protected updateSizes(): void;
408
413
  /**
409
414
  * @hidden
@@ -9,11 +9,11 @@ import { ISortingExpression } from '../../data-operations/sorting-strategy';
9
9
  import { IBaseSearchInfo } from '../../directives/text-highlight/text-highlight.directive';
10
10
  /** The event arguments when data from a grid is being copied. */
11
11
  export interface IGridClipboardEvent {
12
- /** `data` can be of any type and referes to the data that is being copied/stored to the clipboard */
12
+ /** `data` can be of any type and refers to the data that is being copied/stored to the clipboard */
13
13
  data: any[];
14
14
  /**
15
- * `cancel` returns whether an external event has interepted the copying
16
- * If the value becomes "true", it returns/exits from the method, instanciating the interface
15
+ * `cancel` returns whether an external event has intercepted the copying
16
+ * If the value becomes "true", it returns/exits from the method, instantiating the interface
17
17
  */
18
18
  cancel: boolean;
19
19
  }
@@ -60,7 +60,7 @@ export interface IGridEditDoneEventArgs extends IBaseEventArgs {
60
60
  rowData: any;
61
61
  /**
62
62
  * Represents the previous (before editing) value of the edited cell.
63
- * It's used when the event has been stoped/exited.
63
+ * It's used when the event has been stopped/exited.
64
64
  */
65
65
  oldValue: any;
66
66
  /**
@@ -86,7 +86,7 @@ export interface IGridEditDoneEventArgs extends IBaseEventArgs {
86
86
  owner?: GridType;
87
87
  /**
88
88
  * Optional
89
- * Indicates if the editing cosists of adding a new row
89
+ * Indicates if the editing consists of adding a new row
90
90
  */
91
91
  isAddRow?: boolean;
92
92
  /**
@@ -140,7 +140,7 @@ export interface IPinColumnEventArgs extends IBaseEventArgs {
140
140
  insertAtIndex: number;
141
141
  /**
142
142
  * Returns the actual pin state of the column.
143
- * If pinning/unpinning is succesfull, value of `isPinned` will change accordingly when read in the "-ing" and "-ed" event.
143
+ * If pinning/unpinning is successful, value of `isPinned` will change accordingly when read in the "-ing" and "-ed" event.
144
144
  */
145
145
  isPinned: boolean;
146
146
  }
@@ -148,7 +148,7 @@ export interface IPinColumnEventArgs extends IBaseEventArgs {
148
148
  * The event arguments before a column's pin state is changed.
149
149
  * `insertAtIndex`specifies at which index in the pinned/unpinned area the column is inserted.
150
150
  * Can be changed in the `columnPin` event.
151
- * `isPinned` returns the actual pin state of the column. When pinning/unpinning is succesfull,
151
+ * `isPinned` returns the actual pin state of the column. When pinning/unpinning is successful,
152
152
  * the value of `isPinned` will change accordingly when read in the "-ing" and "-ed" event.
153
153
  */
154
154
  export interface IPinColumnCancellableEventArgs extends IPinColumnEventArgs, CancelableEventArgs {
@@ -175,7 +175,7 @@ export interface IRowDataEventArgs extends IBaseEventArgs {
175
175
  }
176
176
  /** The event arguments when a column is being resized */
177
177
  export interface IColumnResizeEventArgs extends IBaseEventArgs {
178
- /** Represents the informantion of the column that is being resized */
178
+ /** Represents the information of the column that is being resized */
179
179
  column: ColumnType;
180
180
  /** Represents the old width of the column before the resizing */
181
181
  prevWidth: string;
@@ -218,7 +218,7 @@ export interface IRowSelectionEventArgs extends CancelableEventArgs, IBaseEventA
218
218
  readonly allRowsSelected?: boolean;
219
219
  }
220
220
  /**
221
- * The event arguments when the selection state of a column is being chaged
221
+ * The event arguments when the selection state of a column is being changed
222
222
  * The event is cancelable
223
223
  */
224
224
  export interface IColumnSelectionEventArgs extends CancelableEventArgs, IBaseEventArgs {
@@ -268,8 +268,8 @@ export interface IGridToolbarExportEventArgs extends IBaseEventArgs {
268
268
  */
269
269
  options: IgxExporterOptionsBase;
270
270
  /**
271
- * `cancel` returns whether the event has been interepted and stopped
272
- * If the value becomes "true", it returns/exits from the method, instanciating the interface
271
+ * `cancel` returns whether the event has been intercepted and stopped
272
+ * If the value becomes "true", it returns/exits from the method, instantiating the interface
273
273
  */
274
274
  cancel: boolean;
275
275
  }
@@ -277,7 +277,7 @@ export interface IGridToolbarExportEventArgs extends IBaseEventArgs {
277
277
  export interface IColumnMovingStartEventArgs extends IBaseEventArgs {
278
278
  /**
279
279
  * Represents the column that is being moved.
280
- * The `ColumnType` contains the informatoin (the grid it belongs to, css data, settings, etc.) of the column in its properties
280
+ * The `ColumnType` contains the information (the grid it belongs to, css data, settings, etc.) of the column in its properties
281
281
  */
282
282
  source: ColumnType;
283
283
  }
@@ -285,12 +285,12 @@ export interface IColumnMovingStartEventArgs extends IBaseEventArgs {
285
285
  export interface IColumnMovingEventArgs extends IBaseEventArgs {
286
286
  /**
287
287
  * Represents the column that is being moved.
288
- * The `ColumnType` contains the informatoin (the grid it belongs to, css data, settings, etc.) of the column in its properties
288
+ * The `ColumnType` contains the information (the grid it belongs to, css data, settings, etc.) of the column in its properties
289
289
  */
290
290
  source: ColumnType;
291
291
  /**
292
- * `cancel` returns whether the event has been interepted and stopped
293
- * If the value becomes "true", it returns/exits from the method, instanciating the interface
292
+ * `cancel` returns whether the event has been intercepted and stopped
293
+ * If the value becomes "true", it returns/exits from the method, instantiating the interface
294
294
  */
295
295
  cancel: boolean;
296
296
  }
@@ -298,17 +298,17 @@ export interface IColumnMovingEventArgs extends IBaseEventArgs {
298
298
  export interface IColumnMovingEndEventArgs extends IBaseEventArgs {
299
299
  /**
300
300
  * The source of the event represents the column that is being moved.
301
- * The `ColumnType` contains the informatoin (the grid it belongs to, css data, settings, etc.) of the column in its properties
301
+ * The `ColumnType` contains the information (the grid it belongs to, css data, settings, etc.) of the column in its properties
302
302
  */
303
303
  source: ColumnType;
304
304
  /**
305
305
  * The target of the event represents the column, the source is being moved to.
306
- * The `ColumnType` contains the informatoin (the grid it belongs to, css data, settings, etc.) of the column in its properties
306
+ * The `ColumnType` contains the information (the grid it belongs to, css data, settings, etc.) of the column in its properties
307
307
  */
308
308
  target: ColumnType;
309
309
  /**
310
- * `cancel` returns whether the event has been interepted and stopped
311
- * If the value becomes "true", it returns/exits from the method, instanciating the interface
310
+ * `cancel` returns whether the event has been intercepted and stopped
311
+ * If the value becomes "true", it returns/exits from the method, instantiating the interface
312
312
  */
313
313
  cancel: boolean;
314
314
  }
@@ -321,12 +321,12 @@ export interface IGridKeydownEventArgs extends IBaseEventArgs {
321
321
  targetType: GridKeydownTargetType;
322
322
  /** Represents the information and details of the object itself */
323
323
  target: any;
324
- /** Represents the original event, that occured. */
324
+ /** Represents the original event, that occurred. */
325
325
  event: Event;
326
326
  /**
327
327
  * The event is cancelable
328
- * `cancel` returns whether the event has been interepted and stopped
329
- * If the value becomes "true", it returns/exits from the method, instanciating the interface
328
+ * `cancel` returns whether the event has been intercepted and stopped
329
+ * If the value becomes "true", it returns/exits from the method, instantiating the interface
330
330
  */
331
331
  cancel: boolean;
332
332
  }
@@ -335,7 +335,7 @@ export interface ICellPosition {
335
335
  /** It returns the position (index) of the row, the cell is in */
336
336
  rowIndex: number;
337
337
  /**
338
- * It returns the position (index) of the colunm, the cell is in
338
+ * It returns the position (index) of the column, the cell is in
339
339
  * Counts only the visible (non hidden) columns
340
340
  */
341
341
  visibleColumnIndex: number;
@@ -363,7 +363,7 @@ export interface IRowDragStartEventArgs extends CancelableEventArgs, IBaseEventA
363
363
  /** Represents the HTML element itself */
364
364
  dragElement: HTMLElement;
365
365
  }
366
- /** Рepresents event arguments related to the row's expansion state being changed in a grid */
366
+ /** Represents event arguments related to the row's expansion state being changed in a grid */
367
367
  export interface IRowToggleEventArgs extends IBaseEventArgs {
368
368
  /**
369
369
  * Represents the ID of the row that emitted the event (which state is changed)
@@ -378,13 +378,13 @@ export interface IRowToggleEventArgs extends IBaseEventArgs {
378
378
  expanded: boolean;
379
379
  /**
380
380
  * Optional
381
- * Represents the original event, that has triggered the expantion/collapse
381
+ * Represents the original event, that has triggered the expansion/collapse
382
382
  */
383
383
  event?: Event;
384
384
  /**
385
385
  * The event is cancelable
386
- * `cancel` returns whether the event has been interepted and stopped
387
- * If the value becomes "true", it returns/exits from the method, instanciating the interface
386
+ * `cancel` returns whether the event has been intercepted and stopped
387
+ * If the value becomes "true", it returns/exits from the method, instantiating the interface
388
388
  */
389
389
  cancel: boolean;
390
390
  }
@@ -427,7 +427,7 @@ export interface IColumnToggledEventArgs extends IBaseEventArgs {
427
427
  /** The checked state after the action. */
428
428
  checked: boolean;
429
429
  }
430
- /** Emmited when the active node is changed */
430
+ /** Emitted when the active node is changed */
431
431
  export interface IActiveNodeChangeEventArgs extends IBaseEventArgs {
432
432
  /** Represents the row index of the active node */
433
433
  row: number;
@@ -458,7 +458,7 @@ export interface ISortingEventArgs extends IBaseEventArgs, CancelableEventArgs {
458
458
  sortingExpressions?: ISortingExpression | Array<ISortingExpression>;
459
459
  /**
460
460
  * Optional
461
- * Represents the gouping expressions applied to the grid.
461
+ * Represents the grouping expressions applied to the grid.
462
462
  * It can be a single grouping expression or an array of them
463
463
  * The expression contains information like the sorting expression and criteria by which the elements will be grouped
464
464
  */
@@ -480,7 +480,7 @@ export interface IColumnVisibilityChangedEventArgs extends IBaseEventArgs {
480
480
  /** Represents the column the event originated from */
481
481
  column: any;
482
482
  /**
483
- * The new hidden state that the column will have, if operation is succesfull.
483
+ * The new hidden state that the column will have, if operation is successful.
484
484
  * Will be `true` when hiding and `false` when showing.
485
485
  */
486
486
  newValue: boolean;