Skip to content

Commit f98440f

Browse files
committed
Merge branch 'master' into apetrov/remove-outlined-flat-shadow-params
2 parents d531173 + a11a592 commit f98440f

File tree

1,609 files changed

+16684
-12972
lines changed

Some content is hidden

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

1,609 files changed

+16684
-12972
lines changed

CHANGELOG.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,50 @@ All notable changes for each version of this project will be documented in this
1414
- `focus-shadow`
1515
- `active-shadow`
1616

17+
## 21.0.0
18+
19+
### Breaking Changes
20+
21+
#### Multiple Entry Points Support
22+
23+
The library now supports multiple entry points for better tree-shaking and code splitting. While the main entry point (`igniteui-angular`) remains fully backwards compatible by re-exporting all granular entry points, we recommend migrating to the new entry points for optimal bundle sizes.
24+
25+
**Entry Points:**
26+
- `igniteui-angular/core` - Core utilities, services, and base types
27+
- `igniteui-angular/directives` - Common directives
28+
- Component-specific entry points: `igniteui-angular/grids`, `igniteui-angular/input-group`, `igniteui-angular/drop-down`, etc.
29+
- Grid-specific entry points for tree-shakable imports:
30+
- `igniteui-angular/grids/core` - Shared grid infrastructure (columns, toolbar, filtering, sorting, etc.)
31+
- `igniteui-angular/grids/grid` - Standard grid component (`IgxGridComponent`)
32+
- `igniteui-angular/grids/tree-grid` - Tree grid component (`IgxTreeGridComponent`)
33+
- `igniteui-angular/grids/hierarchical-grid` - Hierarchical grid component (`IgxHierarchicalGridComponent`, `IgxRowIslandComponent`)
34+
- `igniteui-angular/grids/pivot-grid` - Pivot grid component (`IgxPivotGridComponent`, `IgxPivotDataSelectorComponent`)
35+
36+
**Migration:**
37+
The `ng update` migration will prompt you to optionally migrate your imports to the new entry points. If you choose not to migrate, you can continue using the main entry point with full backwards compatibility.
38+
39+
To migrate manually later:
40+
```bash
41+
ng update igniteui-angular --migrate-only --from=20.1.0 --to=21.0.0 --migrate-imports
42+
```
43+
44+
**Component Relocations:**
45+
- Input directives (`IgxHintDirective`, `IgxInputDirective`, `IgxLabelDirective`, `IgxPrefixDirective`, `IgxSuffixDirective`) → `igniteui-angular/input-group`
46+
- `IgxAutocompleteDirective``igniteui-angular/drop-down`
47+
- `IgxRadioGroupDirective``igniteui-angular/radio`
48+
49+
**Type Renames (to avoid conflicts):**
50+
- `Direction``CarouselAnimationDirection` (in carousel)
51+
52+
**Benefits:**
53+
- Better tree-shaking - unused components won't be bundled
54+
- Code splitting - each component can be lazy-loaded separately
55+
- Smaller bundle sizes - import only what you need
56+
- Improved build performance
57+
58+
See the [Angular Package Format documentation](https://angular.io/guide/angular-package-format#entrypoints-and-code-splitting) for more details on entry points.
59+
60+
1761
## 20.1.0
1862

1963
### New Features

README.md

Lines changed: 44 additions & 47 deletions
Large diffs are not rendered by default.

angular.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
},
167167
"igniteui-angular": {
168168
"root": "projects/igniteui-angular",
169-
"sourceRoot": "projects/igniteui-angular/src",
169+
"sourceRoot": "projects/igniteui-angular",
170170
"projectType": "library",
171171
"prefix": "lib",
172172
"architect": {
@@ -204,7 +204,11 @@
204204
]
205205
},
206206
"tsConfig": "projects/igniteui-angular/tsconfig.spec.json",
207-
"karmaConfig": "projects/igniteui-angular/karma.conf.js"
207+
"karmaConfig": "projects/igniteui-angular/karma.conf.js",
208+
"exclude": [
209+
"migrations",
210+
"schematics"
211+
]
208212
}
209213
},
210214
"lint": {
@@ -399,6 +403,7 @@
399403
"outputPath": "dist/bundle-test",
400404
"index": "projects/bundle-test/src/index.html",
401405
"browser": "projects/bundle-test/src/main.ts",
406+
"server": "projects/bundle-test/src/main.server.ts",
402407
"polyfills": [
403408
"zone.js"
404409
],
@@ -414,19 +419,25 @@
414419
"node_modules"
415420
]
416421
},
417-
"server": "projects/bundle-test/src/main.server.ts",
418422
"ssr": {
419423
"entry": "projects/bundle-test/server.ts"
420424
}
421425
},
422426
"configurations": {
423427
"production": {
428+
"statsJson": true,
424429
"budgets": [
425430
{
426431
"type": "initial",
427432
"maximumWarning": "500kb",
428433
"maximumError": "1mb"
429434
},
435+
{
436+
"type": "bundle",
437+
"name": "grid-component",
438+
"maximumWarning": "500kb",
439+
"maximumError": "1mb"
440+
},
430441
{
431442
"type": "anyComponentStyle",
432443
"maximumWarning": "2kb",

0 commit comments

Comments
 (0)