Skip to content

Commit 951ed6c

Browse files
authored
Merge branch 'master' into mtsvyatkova/fix-12953
2 parents 7f989b4 + 90d5234 commit 951ed6c

File tree

740 files changed

+34468
-14499
lines changed

Some content is hidden

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

740 files changed

+34468
-14499
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: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,57 @@ 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 animaton 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+
- The `igxChip` have new input `variant` which can take any of the following values: `'primary'`, `'info'`, `'success'`, `'warning'`, `'danger'`
758
### New Features
859
- `IgxExpansionPanel`:
960
- `IgxExpansionPanelTitleDirective` and `IgxExpansionPanelDescriptionDirective` show tooltip of the provided text content.

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)