Skip to content

Commit 632dfcb

Browse files
Svetoslav KrastevSvetoslav Krastev
authored andcommitted
Merge master into skrastev/fix-12669
2 parents 5d05d80 + d7392c0 commit 632dfcb

File tree

818 files changed

+36316
-17199
lines changed

Some content is hidden

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

818 files changed

+36316
-17199
lines changed

.eslintrc.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,25 @@
1010
],
1111
"parserOptions": {
1212
"project": [
13-
"tsconfig.json",
14-
"e2e/tsconfig.json"
13+
"tsconfig.json"
1514
],
1615
"createDefaultProgram": true
1716
},
1817
"extends": [
18+
"eslint:recommended",
19+
"plugin:@typescript-eslint/recommended",
1920
"plugin:@angular-eslint/recommended",
2021
"plugin:@angular-eslint/template/process-inline-templates"
2122
],
2223
"rules": {
2324
"no-shadow": "off",
25+
"no-prototype-builtins": "off",
26+
"no-case-declarations": "warn",
27+
"prefer-spread": "warn",
28+
"no-async-promise-executor": "warn",
29+
"prefer-const": "warn",
30+
"no-useless-escape": "warn",
31+
"@typescript-eslint/no-var-requires": "off",
2432
"@typescript-eslint/no-shadow": [
2533
"error"
2634
],
@@ -58,7 +66,10 @@
5866
],
5967
"id-blacklist": "off",
6068
"id-match": "off",
61-
"no-underscore-dangle": "off"
69+
"no-underscore-dangle": "off",
70+
"@typescript-eslint/no-explicit-any": "off",
71+
"@typescript-eslint/no-empty-function": "off",
72+
"@typescript-eslint/ban-types": "warn"
6273
}
6374
},
6475
{

CHANGELOG.md

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,96 @@ All notable changes for each version of this project will be documented in this
44

55
## 16.0.0
66

7+
### General
8+
- All Ignite UI for Angular components are now exported as `standalone` components. The library still exports `NgModules`, which have been preserved for backward compatibility, but they no longer declare any of the Ignite UI for Angular components, instead they just import and export the `standalone` components. The `standalone` components are still in a preview stage. Some utility directive exports may change in the future and may be missing from the documentation in the initial release, hence the `preview` state of the feature.
9+
10+
Now you can do:
11+
12+
```typescript
13+
// IGX_GRID_DIRECTIVES exports all grid related components and directives
14+
import { IGX_GRID_DIRECTIVES } from 'igniteui-angular';
15+
16+
@Component({
17+
selector: 'app-grid-sample',
18+
styleUrls: ['grid.sample.scss'],
19+
templateUrl: 'grid.sample.html',
20+
standalone: true,
21+
imports: [IGX_GRID_DIRECTIVES, AsyncPipe]
22+
})
23+
```
24+
25+
or
26+
27+
```typescript
28+
// Single import of only the <igx-grid> component.
29+
import { IgxGridComponent } from 'igniteui-angular';
30+
31+
@Component({
32+
selector: 'app-grid-sample',
33+
styleUrls: ['grid.sample.scss'],
34+
templateUrl: 'grid.sample.html',
35+
standalone: true,
36+
imports: [IgxGridComponent, AsyncPipe]
37+
})
38+
```
39+
40+
or still
41+
42+
```typescript
43+
// `NgModule` import of the `IgxGridModule` module, which is equivalent to IGX_GRID_DIRECTIVES in terms of exported components and directives.
44+
import { IgxGridModule } from 'igniteui-angular';
45+
46+
@Component({
47+
selector: 'app-grid-sample',
48+
styleUrls: ['grid.sample.scss'],
49+
templateUrl: 'grid.sample.html',
50+
standalone: true,
51+
imports: [IgxGridModule, AsyncPipe]
52+
})
53+
```
54+
- `IgxChip`
55+
- **Behavioral Change** The `igxChip` styles have been revisited and the select container animation has been removed when selecting/deselecting a chip.
56+
- **Behavioral Change** The remove button behavior have been revisited, now when the chip is in `disabled` state the remove button is hidden.
57+
- `IgxGrid`, `IgxHierarchicalGrid`:
58+
- **Breaking Change** The `IgxHeaderExpandIndicatorDirective` and `IgxHeaderCollapseIndicatorDirective` directives, as well as the `headerExpandIndicatorTemplate` and `headerCollapseIndicatorTemplate` properties have been renamed to `IgxHeaderExpandedIndicatorDirective`, `IgxHeaderCollapsedIndicatorDirective`, `headerExpandedIndicatorTemplate` and `headerCollapsedIndicatorTemplate` respectively to properly reflect their purpose. Automatic migrations are available and will be applied on `ng update`.
59+
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
60+
61+
**Breaking Changes**: The following grid properties, deprecated since version 12.1.0 are now removed:
62+
- *evenRowCSS*;
63+
- *oddRowCSS*;
64+
- *page*;
65+
- *paging*;
66+
- *perPage*;
67+
- *totalPages*;
68+
- *isFirstPage*;
69+
- *isLastPage*;
70+
71+
Also the following deprecated grid events are removed.
72+
73+
- *pageChange*;
74+
- *perPageChange*;
75+
- *pagingDone*;
76+
77+
Deprecated methods removed from the grid API are:
78+
- *nextPage*;
79+
- *previousPage*;
80+
- *paginate*;
81+
- *getCellByColumnVisibleIndex*;
782
### New Features
83+
- `IgxChip`
84+
- New input `variant` which can take any of the following values: `'primary'`, `'info'`, `'success'`, `'warning'`, `'danger'`
885
- `IgxExpansionPanel`:
986
- `IgxExpansionPanelTitleDirective` and `IgxExpansionPanelDescriptionDirective` show tooltip of the provided text content.
1087
- `IgxDateRangePicker`
1188
- Added `showWeekNumbers` input that toggles whether or not the number of a week will be visible next to it
89+
- `IgxGrid`, `IgxHierarchicalGrid`:
90+
- `totalItemCount` can now also be bound as `Input` in remote virtualization scenarios.
91+
- `rowExpandedIndicatorTemplate`, `rowCollapsedIndicatorTemplate`, `headerExpandedIndicatorTemplate`, `headerCollapsedIndicatorTemplate` can now also be bound as `Input` to provide templates for the row and header expand/collapse indicators respectively. This is in addition to the existing equivalent template directives to allow reuse.
92+
- `IgxPivotGrid`
93+
- Added `pivotConfigurationChanged` event triggered any time any of `pivotConfiguration` properties is changed via the UI.
94+
- `ISortingExpression` now accepts an optional generic type parameter for type narrowing of the `fieldName` property to keys of the data item, e.g. `ISortingExpression<MyDataItem>`
95+
- `Util`
96+
- Added new `CachedDataCloneStrategy` that allows for cloning object with circular references.
1297

1398
## 15.1.0
1499

e2e/protractor.conf.js

Lines changed: 0 additions & 28 deletions
This file was deleted.

e2e/src/app.e2e-spec.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

e2e/src/app.po.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

e2e/tsconfig.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)