Skip to content

Commit 589d250

Browse files
authored
Merge branch 'master' into mpopov/outline-button-focus
2 parents 9e432d6 + dc8223d commit 589d250

File tree

16 files changed

+116
-191
lines changed

16 files changed

+116
-191
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ All notable changes for each version of this project will be documented in this
5050
- Added `groupSortingDirection` input, which allows you to set groups sorting order.
5151
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
5252
- Added new directives for re-templating header sorting indicators - `IgxSortHeaderIconDirective`, `IgxSortAscendingHeaderIconDirective` and `IgxSortDescendingHeaderIconDirective`.
53+
- `IgxGrid`
54+
- Exposed a `groupStrategy` input that functions similarly to `sortStrategy`, allowing customization of the grouping behavior of the grid. Please, refer to the [Group By ](https://www.infragistics.com/products/ignite-ui-angular/angular/components/grid/groupby) topic for more information.
5355
- `IgxDialog`
5456
- Added `focusTrap` input to set whether the Tab key focus is trapped within the dialog when opened. Defaults to `true`.
5557

@@ -101,8 +103,6 @@ All notable changes for each version of this project will be documented in this
101103
```
102104
- `IgxColumnActionsComponent`
103105
- **Breaking Change** - Input `columns` has been removed. Use `igxGrid` `columns` input instead.
104-
- `igxGrid`
105-
- Exposed a `groupStrategy` input that functions similarly to `sortStrategy`, allowing customization of the grouping behavior of the grid. Please, refer to the [Group By ](https://www.infragistics.com/products/ignite-ui-angular/angular/components/grid/groupby) topic for more information.
106106
- `IgxCarousel`
107107
- **Breaking Changes** - The carousel animation type `CarouselAnimationType` is renamed to `HorizontalAnimationType`.
108108

package-lock.json

Lines changed: 3 additions & 105 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,11 @@
112112
"igniteui-sassdoc-theme": "^1.1.4",
113113
"jasmine": "~3.6.0",
114114
"jasmine-core": "~3.6.0",
115-
"jasmine-spec-reporter": "~5.0.2",
116115
"karma": "^6.3.7",
117116
"karma-chrome-launcher": "~3.1.0",
118117
"karma-coverage": "^2.0.3",
119118
"karma-jasmine": "~3.3.0",
120-
"karma-jasmine-html-reporter": "~1.5.4",
121119
"karma-jasmine-spec-tags": "~1.3.0",
122-
"karma-junit-reporter": "~2.0.1",
123-
"karma-spec-reporter": "~0.0.32",
124120
"lunr": "^2.3.8",
125121
"ng-packagr": "^13.0.0",
126122
"pngcrush": "^2.0.1",

projects/igniteui-angular/karma.conf.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ module.exports = function (config) {
1717
require('karma-coverage'),
1818
require('karma-chrome-launcher'),
1919
require('karma-jasmine-spec-tags'),
20-
require('karma-jasmine-html-reporter'),
21-
require('karma-spec-reporter'),
2220
require('@angular-devkit/build-angular/plugins/karma')
2321
],
2422
parallelOptions: {
@@ -41,20 +39,10 @@ module.exports = function (config) {
4139
subdir: '.',
4240
reporters: [
4341
// reporters not supporting the `file` property
44-
{ type: 'html' },
45-
{ type: 'json' },
46-
{ type: 'lcovonly' },
42+
{ type: 'lcov' },
4743
]
4844
},
4945
reporters: ['progress', 'coverage'],
50-
specReporter: {
51-
suppressSkipped: true,
52-
suppressErrorSummary: false,
53-
suppressFailed: false,
54-
suppressPassed: false,
55-
showSpecTiming: false,
56-
failFast: false
57-
},
5846
port: 9876,
5947
colors: true,
6048
logLevel: config.LOG_INFO,

projects/igniteui-angular/migrations/common/UpdateChanges.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ export class UpdateChanges {
4242
// and no actual angular metadata will be resolved for the rest of the migration
4343
const wsProject = this.workspace.projects[this.workspace.defaultProject] || this.workspace.projects[0];
4444
const mainRelPath = wsProject.architect?.build?.options['main'] ?
45-
path.join(wsProject.root, wsProject.architect?.build?.options['main']) :
46-
`src/main.ts`;
45+
path.join(wsProject.root, wsProject.architect?.build?.options['main']) :
46+
`src/main.ts`;
4747
// patch TSConfig so it includes angularOptions.strictTemplates
4848
// ivy ls requires this in order to function properly on templates
4949
this.patchTsConfig();
@@ -491,9 +491,8 @@ export class UpdateChanges {
491491
// use the absolute path for ALL LS operations
492492
// do not overwrite the entryPath, as Tree operations require relative paths
493493
const changes = new Set<{ change; position }>();
494-
let langServ;
494+
let langServ: tss.LanguageService;
495495
for (const change of memberChanges.changes) {
496-
497496
if (!content.includes(change.member)) {
498497
continue;
499498
}
@@ -532,7 +531,7 @@ export class UpdateChanges {
532531
originalContent = this.serverHost.readFile(this.tsconfigPath);
533532
} catch {
534533
this.context?.logger
535-
.warn(`Could not read ${this.tsconfigPath}. Some Angular Ivy features might be unavailable during migrations.`);
534+
.warn(`Could not read ${this.tsconfigPath}. Some Angular Ivy features might be unavailable during migrations.`);
536535
return;
537536
}
538537
let content;
@@ -542,17 +541,17 @@ export class UpdateChanges {
542541
content = result.config;
543542
} else {
544543
this.context?.logger
545-
.warn(`Could not parse ${this.tsconfigPath}. Angular Ivy language service might be unavailable during migrations.`);
544+
.warn(`Could not parse ${this.tsconfigPath}. Angular Ivy language service might be unavailable during migrations.`);
546545
this.context?.logger
547-
.warn(`Error:\n${result.error}`);
546+
.warn(`Error:\n${result.error}`);
548547
return;
549548
}
550549
if (!content.angularCompilerOptions) {
551550
content.angularCompilerOptions = {};
552551
}
553552
if (!content.angularCompilerOptions.strictTemplates) {
554553
this.context?.logger
555-
.info(`Adding 'angularCompilerOptions.strictTemplates' to ${this.tsconfigPath} for migration run.`);
554+
.info(`Adding 'angularCompilerOptions.strictTemplates' to ${this.tsconfigPath} for migration run.`);
556555
content.angularCompilerOptions.strictTemplates = true;
557556
this.host.overwrite(this.tsconfigPath, JSON.stringify(content));
558557
// store initial state and restore it once migrations are finished

0 commit comments

Comments
 (0)