igniteui-angular 17.2.1 → 17.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 (59) hide show
  1. package/esm2022/lib/buttonGroup/buttonGroup.component.mjs +1 -5
  2. package/esm2022/lib/directives/for-of/for_of.directive.mjs +17 -12
  3. package/esm2022/lib/grids/common/crud.service.mjs +10 -6
  4. package/esm2022/lib/grids/grid-base.directive.mjs +20 -9
  5. package/esm2022/lib/grids/hierarchical-grid/row-island.component.mjs +2 -1
  6. package/esm2022/lib/grids/pivot-grid/pivot-grid.component.mjs +6 -2
  7. package/esm2022/lib/grids/pivot-grid/pivot-header-row.component.mjs +2 -2
  8. package/esm2022/lib/navbar/navbar.component.mjs +3 -3
  9. package/esm2022/lib/navigation-drawer/navigation-drawer.component.mjs +1 -29
  10. package/fesm2022/igniteui-angular.mjs +53 -60
  11. package/fesm2022/igniteui-angular.mjs.map +1 -1
  12. package/lib/core/styles/components/bottom-nav/_bottom-nav-component.scss +2 -0
  13. package/lib/core/styles/components/bottom-nav/_bottom-nav-theme.scss +107 -24
  14. package/lib/core/styles/components/button/_button-theme.scss +17 -3
  15. package/lib/core/styles/components/button-group/_button-group-theme.scss +6 -6
  16. package/lib/core/styles/components/navbar/_navbar-component.scss +4 -0
  17. package/lib/core/styles/components/navbar/_navbar-theme.scss +62 -25
  18. package/lib/core/styles/components/navdrawer/_navdrawer-theme.scss +43 -33
  19. package/lib/core/styles/components/switch/_switch-component.scss +12 -0
  20. package/lib/core/styles/components/switch/_switch-theme.scss +24 -18
  21. package/lib/core/styles/typography/_indigo.scss +10 -3
  22. package/lib/directives/for-of/for_of.directive.d.ts +2 -2
  23. package/lib/grids/grid-base.directive.d.ts +1 -1
  24. package/lib/navigation-drawer/navigation-drawer.component.d.ts +5 -5
  25. package/migrations/migration-collection.json +10 -0
  26. package/migrations/update-17_2_0/changes/inputs.json +0 -40
  27. package/migrations/update-17_2_2/changes/inputs.json +29 -0
  28. package/migrations/update-17_2_2/index.d.ts +3 -0
  29. package/migrations/update-17_2_2/index.js +18 -0
  30. package/migrations/update-17_2_3/changes/theme-changes.json +17 -0
  31. package/migrations/update-17_2_3/index.d.ts +3 -0
  32. package/migrations/update-17_2_3/index.js +31 -0
  33. package/package.json +2 -2
  34. package/styles/igniteui-angular-dark.css +1 -1
  35. package/styles/igniteui-angular.css +1 -1
  36. package/styles/igniteui-bootstrap-dark.css +1 -1
  37. package/styles/igniteui-bootstrap-light.css +1 -1
  38. package/styles/igniteui-dark-green.css +1 -1
  39. package/styles/igniteui-fluent-dark-excel.css +1 -1
  40. package/styles/igniteui-fluent-dark-word.css +1 -1
  41. package/styles/igniteui-fluent-dark.css +1 -1
  42. package/styles/igniteui-fluent-light-excel.css +1 -1
  43. package/styles/igniteui-fluent-light-word.css +1 -1
  44. package/styles/igniteui-fluent-light.css +1 -1
  45. package/styles/igniteui-indigo-dark.css +1 -1
  46. package/styles/igniteui-indigo-light.css +1 -1
  47. package/styles/maps/igniteui-angular-dark.css.map +1 -1
  48. package/styles/maps/igniteui-angular.css.map +1 -1
  49. package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
  50. package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
  51. package/styles/maps/igniteui-dark-green.css.map +1 -1
  52. package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
  53. package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
  54. package/styles/maps/igniteui-fluent-dark.css.map +1 -1
  55. package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
  56. package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
  57. package/styles/maps/igniteui-fluent-light.css.map +1 -1
  58. package/styles/maps/igniteui-indigo-dark.css.map +1 -1
  59. package/styles/maps/igniteui-indigo-light.css.map +1 -1
@@ -24,6 +24,7 @@
24
24
  /// @param {Color} $track-disabled-color [null] - The color of the track when the switch is disabled.
25
25
  /// @param {Color} $track-on-disabled-color [null] - The color of the track when the switch is on and disabled.
26
26
  /// @param {Color} $label-color [null] - The color of the switch label
27
+ /// @param {Color} $label-hover-color [null] - The color of the switch label on hover.
27
28
  /// @param {Color} $label-disabled-color [null] - The color of the switch label when the switch is disabled
28
29
  /// @param {box-shadow} $resting-shadow [null] - The shadow used for the thumb in resting state of the switch.
29
30
  /// @param {box-shadow} $hover-shadow [null] - The shadow used for the thumb in hover state of the switch.
@@ -66,6 +67,7 @@
66
67
  $thumb-on-disabled-color: null,
67
68
 
68
69
  $label-color: null,
70
+ $label-hover-color: null,
69
71
  $label-disabled-color: null,
70
72
  $label-invalid-color: null,
71
73
 
@@ -144,6 +146,7 @@
144
146
  thumb-on-disabled-color: $thumb-on-disabled-color,
145
147
 
146
148
  label-color: $label-color,
149
+ label-hover-color: $label-hover-color,
147
150
  label-disabled-color: $label-disabled-color,
148
151
  label-invalid-color: $label-invalid-color,
149
152
 
@@ -189,7 +192,7 @@
189
192
  material: 36px,
190
193
  fluent: 40px,
191
194
  bootstrap: 32px,
192
- indigo-design: 34px
195
+ indigo-design: 32px
193
196
  ), $variant);
194
197
 
195
198
  $switch-height: map.get((
@@ -297,11 +300,9 @@
297
300
  }
298
301
 
299
302
  %switch-composite--hover {
300
- @if $variant == 'material' or $variant == 'fluent' {
301
- border-color: var-get($theme, 'border-hover-color');
302
- }
303
+ border-color: var-get($theme, 'border-hover-color');
303
304
 
304
- @if $variant == 'fluent' {
305
+ @if $variant == 'fluent' or $variant == 'indigo-design' {
305
306
  %switch-composite-thumb {
306
307
  background: var-get($theme, 'border-hover-color');
307
308
  }
@@ -337,13 +338,10 @@
337
338
  }
338
339
 
339
340
  %switch-composite--x--hover {
340
- @if $variant != 'bootstrap' {
341
- border-color: var-get($theme, 'border-on-hover-color');
342
- }
343
-
344
- @if $variant == 'fluent' {
345
- background: var-get($theme, 'track-on-hover-color');
341
+ background: var-get($theme, 'track-on-hover-color');
342
+ border-color: var-get($theme, 'border-on-hover-color');
346
343
 
344
+ @if $variant == 'fluent' or $variant == 'indigo-design' {
347
345
  %switch-composite-thumb {
348
346
  background: var-get($theme, 'thumb-on-color');
349
347
  }
@@ -491,14 +489,12 @@
491
489
  }
492
490
 
493
491
  %igx-switch--disabled-checked {
494
- @if $variant != 'indigo-design' {
495
- %switch-composite--x {
496
- background: var-get($theme, 'track-on-disabled-color');
497
- }
492
+ %switch-composite--x {
493
+ background: var-get($theme, 'track-on-disabled-color');
494
+ }
498
495
 
499
- %switch-composite-thumb--x {
500
- background: var-get($theme, 'thumb-on-disabled-color');
501
- }
496
+ %switch-composite-thumb--x {
497
+ background: var-get($theme, 'thumb-on-disabled-color');
502
498
  }
503
499
 
504
500
  @if $variant == 'bootstrap' or $variant == 'fluent'{
@@ -506,6 +502,12 @@
506
502
  border-color: var-get($theme, 'track-on-disabled-color');
507
503
  }
508
504
  }
505
+
506
+ @if $variant == 'indigo-design' {
507
+ %switch-composite--x {
508
+ border-color: transparent;
509
+ }
510
+ }
509
511
  }
510
512
 
511
513
  %switch-ripple--focused {
@@ -554,6 +556,10 @@
554
556
  margin-inline-end: $label-margin;
555
557
  }
556
558
 
559
+ %switch-label--hover {
560
+ color: var-get($theme, 'label-hover-color');
561
+ }
562
+
557
563
  %switch-label--invalid {
558
564
  color: var-get($theme, 'label-invalid-color');
559
565
  }
@@ -81,8 +81,13 @@
81
81
  title: 'subtitle-1',
82
82
  subtitle: 'body-2'
83
83
  ));
84
- @include navbar-typography();
85
- @include navdrawer-typography();
84
+ @include navbar-typography($categories: (
85
+ title: 'h5',
86
+ ));
87
+ @include navdrawer-typography($categories: (
88
+ item: 'subtitle-2',
89
+ header: 'overline'
90
+ ));
86
91
  @include radio-typography($categories: (
87
92
  label: 'body-2'
88
93
  ));
@@ -91,7 +96,9 @@
91
96
  thumb-label: 'subtitle-2',
92
97
  ));
93
98
  @include snackbar-typography();
94
- @include switch-typography();
99
+ @include switch-typography($categories: (
100
+ label: 'body-2'
101
+ ));
95
102
  @include tabs-typography();
96
103
  @include time-picker-typography($categories: (
97
104
  header-time-period: 'subtitle-1',
@@ -501,9 +501,9 @@ export declare class IgxForOfDirective<T, U extends T[] = T[]> extends IgxForOfT
501
501
  * @hidden
502
502
  */
503
503
  protected getIndexAt(left: any, set: any): number;
504
- protected _recalcScrollBarSize(): void;
504
+ protected _recalcScrollBarSize(containerSizeInfo?: any): void;
505
505
  protected _calcSize(): number;
506
- protected _recalcOnContainerChange(): void;
506
+ protected _recalcOnContainerChange(containerSizeInfo?: any): void;
507
507
  /**
508
508
  * @hidden
509
509
  * Removes an element from the embedded views and updates chunkSize.
@@ -2387,7 +2387,7 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
2387
2387
  /**
2388
2388
  * @hidden @internal
2389
2389
  */
2390
- get isHorizontalScrollHidden(): boolean;
2390
+ isHorizontalScrollHidden: boolean;
2391
2391
  /**
2392
2392
  * @hidden @internal
2393
2393
  * Gets the header cell inner width for auto-sizing.
@@ -110,7 +110,7 @@ export declare class IgxNavigationDrawerComponent implements IToggleView, OnInit
110
110
  */
111
111
  pin: boolean;
112
112
  /**
113
- * Width of the drawer in its open state. Defaults to "280px".
113
+ * Width of the drawer in its open state.
114
114
  *
115
115
  * ```typescript
116
116
  * // get
@@ -122,7 +122,7 @@ export declare class IgxNavigationDrawerComponent implements IToggleView, OnInit
122
122
  * <igx-nav-drawer [width]="'228px'"></igx-nav-drawer>
123
123
  * ```
124
124
  */
125
- width: string;
125
+ width: any;
126
126
  /**
127
127
  * Enables/disables the animation, when toggling the drawer. Set to `false` by default.
128
128
  * ````html
@@ -131,7 +131,7 @@ export declare class IgxNavigationDrawerComponent implements IToggleView, OnInit
131
131
  */
132
132
  disableAnimation: boolean;
133
133
  /**
134
- * Width of the drawer in its mini state. Defaults to 68px.
134
+ * Width of the drawer in its mini state.
135
135
  *
136
136
  * ```typescript
137
137
  * // get
@@ -143,7 +143,7 @@ export declare class IgxNavigationDrawerComponent implements IToggleView, OnInit
143
143
  * <igx-nav-drawer [miniWidth]="'34px'"></igx-nav-drawer>
144
144
  * ```
145
145
  */
146
- miniWidth: string;
146
+ miniWidth: any;
147
147
  /**
148
148
  * Pinned state change output for two-way binding.
149
149
  *
@@ -235,7 +235,7 @@ export declare class IgxNavigationDrawerComponent implements IToggleView, OnInit
235
235
  /**
236
236
  * @hidden
237
237
  */
238
- get flexWidth(): string;
238
+ get flexWidth(): any;
239
239
  /** @hidden */
240
240
  get isPinnedRight(): "1" | "0";
241
241
  private _gesturesAttached;
@@ -176,6 +176,16 @@
176
176
  "version": "17.2.0",
177
177
  "description": "Updates Ignite UI for Angular from v17.1.x to v17.2.0",
178
178
  "factory": "./update-17_2_0"
179
+ },
180
+ "migration-36": {
181
+ "version": "17.2.2",
182
+ "description": "Updates Ignite UI for Angular from v17.2.0 to v17.2.2",
183
+ "factory": "./update-17_2_2"
184
+ },
185
+ "migration-37": {
186
+ "version": "17.2.3",
187
+ "description": "Updates Ignite UI for Angular from v17.2.2 to v17.2.3",
188
+ "factory": "./update-17_2_3"
179
189
  }
180
190
  }
181
191
  }
@@ -18,38 +18,6 @@
18
18
  "type": "component"
19
19
  }
20
20
  },
21
- {
22
- "name": "color",
23
- "remove": true,
24
- "owner": {
25
- "selector": "igxButton",
26
- "type": "directive"
27
- }
28
- },
29
- {
30
- "name": "background",
31
- "remove": true,
32
- "owner": {
33
- "selector": "igxButton",
34
- "type": "directive"
35
- }
36
- },
37
- {
38
- "name": "igxButtonColor",
39
- "remove": true,
40
- "owner": {
41
- "selector": "igxButton",
42
- "type": "directive"
43
- }
44
- },
45
- {
46
- "name": "igxButtonBackground",
47
- "remove": true,
48
- "owner": {
49
- "selector": "igxButton",
50
- "type": "directive"
51
- }
52
- },
53
21
  {
54
22
  "name": "type",
55
23
  "remove": true,
@@ -58,14 +26,6 @@
58
26
  "type": "component"
59
27
  }
60
28
  },
61
- {
62
- "name": "reverse",
63
- "remove": true,
64
- "owner": {
65
- "selector": "igx-card",
66
- "type": "component"
67
- }
68
- },
69
29
  {
70
30
  "name": "leftButtonColor",
71
31
  "remove": true,
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "../../common/schema/binding.schema.json",
3
+ "changes": [
4
+ {
5
+ "name": "igxButtonColor",
6
+ "replaceWith": "style.--foreground",
7
+ "owner": {
8
+ "selector": "igxButton",
9
+ "type": "directive"
10
+ }
11
+ },
12
+ {
13
+ "name": "igxButtonBackground",
14
+ "replaceWith": "style.--background",
15
+ "owner": {
16
+ "selector": "igxButton",
17
+ "type": "directive"
18
+ }
19
+ },
20
+ {
21
+ "name": "reverse",
22
+ "remove": true,
23
+ "owner": {
24
+ "selector": "igx-card-actions",
25
+ "type": "component"
26
+ }
27
+ }
28
+ ]
29
+ }
@@ -0,0 +1,3 @@
1
+ import { 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 = "17.2.2";
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
+ });
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "../../common/schema/theme-changes.schema.json",
3
+ "changes": [
4
+ {
5
+ "name": "$idle-item-color",
6
+ "replaceWith": "$label-color",
7
+ "owner": "bottom-nav-theme",
8
+ "type": "property"
9
+ },
10
+ {
11
+ "name": "$selected-item-color",
12
+ "replaceWith": "$label-selected-color",
13
+ "owner": "bottom-nav-theme",
14
+ "type": "property"
15
+ }
16
+ ]
17
+ }
@@ -0,0 +1,3 @@
1
+ import { Rule } from "@angular-devkit/schematics";
2
+ declare const _default: () => Rule;
3
+ export default _default;
@@ -0,0 +1,31 @@
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 = "17.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.addValueTransform('vertical_to_orientation', (args) => {
18
+ args.bindingType = UpdateChanges_1.InputPropertyType.STRING;
19
+ switch (args.value) {
20
+ case 'true':
21
+ args.value = 'vertical';
22
+ break;
23
+ case 'false':
24
+ args.value = 'horizontal';
25
+ break;
26
+ default:
27
+ args.value += ` ? 'vertical' : 'horizontal' `;
28
+ }
29
+ });
30
+ update.applyChanges();
31
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-angular",
3
- "version": "17.2.1",
3
+ "version": "17.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": "^6.2.0",
77
+ "igniteui-theming": "^6.3.0",
78
78
  "@igniteui/material-icons-extended": "^3.0.0"
79
79
  },
80
80
  "peerDependencies": {