Skip to content

Commit 29c8864

Browse files
authored
Merge branch 'master' into dmdimitrov/fix-10391-master
2 parents c51fd99 + c195aa4 commit 29c8864

File tree

780 files changed

+58607
-26153
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

780 files changed

+58607
-26153
lines changed

.browserslistrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
last 2 versions
1010
Firefox ESR
1111
not dead
12-
IE 11 # For IE 9-11 support, remove 'not'.
12+

.eslintrc.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
"createDefaultProgram": true
1717
},
1818
"extends": [
19-
"plugin:@angular-eslint/ng-cli-compat",
20-
"plugin:@angular-eslint/ng-cli-compat--formatting-add-on",
19+
"plugin:@angular-eslint/recommended",
2120
"plugin:@angular-eslint/template/process-inline-templates"
2221
],
2322
"rules": {
@@ -36,7 +35,7 @@
3635
"@typescript-eslint/consistent-type-definitions": "error",
3736
"@typescript-eslint/dot-notation": "off",
3837
"@typescript-eslint/explicit-member-accessibility": [
39-
"warn",
38+
"error",
4039
{
4140
"accessibility": "explicit",
4241
"overrides": {

.github/workflows/nodejs.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [12.x, 14.x, 16.x]
19+
node-version: [14.x, 16.x]
2020

2121
steps:
2222
- name: Checkout
@@ -47,16 +47,9 @@ jobs:
4747
- name: Build i18n & validate output
4848
run: |
4949
npm run build:i18n
50-
npm run lint:i18n:dist
51-
- name: Install coverage combiner - istanbul
52-
if: github.repository == 'IgniteUI/igniteui-angular' && matrix.node-version == '14.x'
53-
run: npm install -g istanbul
54-
- name: Combine scripts
55-
if: github.repository == 'IgniteUI/igniteui-angular' && matrix.node-version == '14.x'
56-
run: istanbul report --dir coverage --include coverage/**/coverage-final.json lcov
50+
npm run test:i18n:dist
5751
- name: Publish to coveralls.io
5852
if: github.repository == 'IgniteUI/igniteui-angular' && matrix.node-version == '14.x'
5953
uses: coverallsapp/[email protected]
6054
with:
6155
github-token: ${{ github.token }}
62-

.github/workflows/npm-publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- uses: actions/setup-node@v2
1313
with:
14-
node-version: 12
14+
node-version: 14
1515
cache: 'npm'
1616
registry-url: 'https://registry.npmjs.org'
1717
- run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
@@ -35,8 +35,10 @@ jobs:
3535
if [[ ${VERSION} == *"alpha"* || ${VERSION} == *"beta"* || ${VERSION} == *"rc"* ]]; then echo "NPM_TAG=next"; else echo "NPM_TAG=latest"; fi >> $GITHUB_ENV
3636
echo ${NPM_TAG}
3737
38-
- name: Copy readme for igniteui-angular
39-
run: cp ../../README.md README.md
38+
- name: Copy readme and license for igniteui-angular
39+
run: |
40+
cp ../../README.md README.md
41+
cp ../../LICENSE LICENSE
4042
working-directory: dist/igniteui-angular
4143

4244
- name: Copy i18n files

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
/tmp
77
/out-tsc
88

9+
.angular/*
10+
911
# dependencies
1012
/node_modules
1113

@@ -27,6 +29,7 @@
2729
!.vscode/extensions.json
2830

2931
# misc
32+
/.angular/cache
3033
/.sass-cache
3134
/connect.lock
3235
/coverage

CHANGELOG.md

Lines changed: 38 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ All notable changes for each version of this project will be documented in this
5555

5656
### General
5757

58+
- `IE discontinued support` **Breaking Change** [details](https://angular.io/guide/browser-support)
59+
- `web-animations-js` is removed as Peer Dependency.
60+
- Removed IE from `.browserslistrc`
61+
- Removed IE related `polyfills`, like Importing ES7 polyfill for Object (`'core-js/es7/object'`) for IE is no longer used.
62+
5863
- `IgxDialog`
5964
- **Breaking Change** - The default positionSettings open/close animation has been changed to `fadeIn`/`fadeOut`. The open/close animation can be set through the position settings, e.g. change the animation to the previously default open/close animation:
6065

@@ -73,13 +78,41 @@ All notable changes for each version of this project will be documented in this
7378
- Inputs `showToolbar`, `toolbarTitle`, `columnHiding`, `columnHidingTitle`, `hiddenColumnsText`,
7479
`columnPinning`, `columnPinningTitle`, `pinnedColumnsText`.
7580
Use `IgxGridToolbarComponent`, `IgxGridToolbarHidingComponent`, `IgxGridToolbarPinningComponent` instead.
76-
- `igxGrid`
81+
- **Breaking Change** - The `rowSelected` event is renamed to `rowSelectionChanging` to better reflect its function.
82+
- **Breaking Change** - The `columnSelected` event is renamed to `columnSelectionChanging` to better reflect its function.
83+
- **Breaking Change** - `columnsCollection` is removed. Use `columns` instead. If at certain ocasions `columns` return empty array, query the columns using `ViewChildren` and access those in `ngAfterViewInit`:
84+
```ts
85+
@ViewChildren(IgxColumnComponent, { read: IgxColumnComponent })
86+
public columns: QueryList<IgxColumnComponent>;
87+
```
88+
- `RowType`, `IgxRowDirective`
89+
- **Breaking Change** - `rowData` and `rowID` deprecated properties are now removed. Use `data` and `key` instead. Use `ng update` for automatic migration.
90+
- `igxRowSelector`
91+
- `rowID` in the context object of the `igxRowSelector` is now deprecated and will be removed in future version. Use `key` property instead:
92+
```html
93+
<igx-grid [data]="data", [rowSelection]="'multiple'" primaryKey="ID">
94+
<igx-column field="Name"></igx-column>
95+
<igx-column field="Age"></igx-column>
96+
97+
<ng-template igxRowSelector let-rowContext>
98+
<span>{{ rowContext.key }}</span>
99+
</ng-template>
100+
</igx-grid>
101+
```
102+
- `IgxColumnActionsComponent`
103+
- **Breaking Change** - Input `columns` has been removed. Use `igxGrid` `columns` input instead.
104+
- `igxGrid`
77105
- 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.
78-
- `IgxColumnActionsComponent`
79-
- **Breaking Change** - The following input has been removed
80-
- Input `columns`. Use `igxGrid` `columns` input instead.
81106
- `IgxCarousel`
82-
- **Breaking Changes** -The carousel animation type `CarouselAnimationType` is renamed to `HorizontalAnimationType`.
107+
- **Breaking Changes** - The carousel animation type `CarouselAnimationType` is renamed to `HorizontalAnimationType`.
108+
109+
- `Theming`
110+
- **Breaking Change** - Changed CSS palette variables from HEX values to a list of H, S, L comma-separated values, which requires the use of the CSS `hsl` function when accessing these values directly.
111+
```scss
112+
.bozo {
113+
background: hsl(var(--igx-surface-500));
114+
}
115+
```
83116

84117
## 12.2.3
85118

angular.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@
7575
"with": "src/environments/environment.hmr.ts"
7676
}
7777
]
78-
},
79-
"es5": {
80-
"tsConfig": "src/tsconfig-es5.app.json"
8178
}
8279
}
8380
},
@@ -92,13 +89,7 @@
9289
},
9390
"hmr": {
9491
"hmr": true,
95-
"hmrWarning": false,
9692
"browserTarget": "igniteui-dev-demos:build:hmr"
97-
},
98-
"es5": {
99-
"hmr": true,
100-
"hmrWarning": false,
101-
"browserTarget": "igniteui-dev-demos:build:es5"
10293
}
10394
}
10495
},

gulpfile.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,11 @@ module.exports.copyMigrations = (cb) => {
118118
'!**/tsconfig.json'
119119
]).pipe(gulp.dest('./dist/igniteui-angular/migrations'));
120120

121+
122+
gulp.src([
123+
'./projects/igniteui-angular/migrations/common/import-helper.js'
124+
]).pipe(gulp.dest('./dist/igniteui-angular/migrations/common'));
125+
121126
cb();
122127
};
123128

0 commit comments

Comments
 (0)