Skip to content

Commit 36e91f0

Browse files
committed
Merge branch 'master' into skrastev/localization
2 parents 784f2e4 + 0966885 commit 36e91f0

File tree

1,336 files changed

+17247
-13078
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,336 files changed

+17247
-13078
lines changed

CHANGELOG.md

Lines changed: 60 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,73 @@
22

33
All notable changes for each version of this project will be documented in this file.
44

5-
## 20.2.0
5+
## 21.1.0
66

7-
- Localization(i18n) for `IgxActionStrip`, `IgxBanner`, `IgxCalendar`, `IgxCarousel`, `IgxChip`, `IgxCombo`, `IgxDatePicker`, `IgxDateRangePicker`, `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`, `IgxPivotGrid`, `IgxInputs`, `IgxList`, `IgxPaginator`, `IgxQueryBuilder`, `IgxTimePicker`, `IgxTree`
7+
# Localization(i18n)
8+
9+
- `IgxActionStrip`, `IgxBanner`, `IgxCalendar`, `IgxCarousel`, `IgxChip`, `IgxCombo`, `IgxDatePicker`, `IgxDateRangePicker`, `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`, `IgxPivotGrid`, `IgxInputs`, `IgxList`, `IgxPaginator`, `IgxQueryBuilder`, `IgxTimePicker`, `IgxTree`
810
- New `Intl` implementation for all currently supported components that format and render data like dates and numbers.
911
- New localization implementation for the currently supported languages for all components that have resource strings in the currently supported languages.
1012
- New public localization API and package named `igniteui-i18n-resources` containing the new resources that are used in conjunction.
1113
- Added API to toggle off Angular's default formatting completely in favor of the new `Intl` implementation. Otherwise `Intl` will be used when a locale is not defined for Angular to use.
1214
- Old resources and API should still remain working and not experience any change in behavior, despite internally using the new localization as well.
1315

16+
## 21.0.0
17+
18+
### Themes
19+
20+
- `IgxButton`
21+
- **Breaking Change**
22+
- The following shadow-related parameters were removed from the `outlined-button-theme` and `flat-button-theme`:
23+
- `resting-shadow`
24+
- `hover-shadow`
25+
- `focus-shadow`
26+
- `active-shadow`
27+
28+
## 21.0.0
29+
30+
### Breaking Changes
31+
32+
#### Multiple Entry Points Support
33+
34+
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.
35+
36+
**Entry Points:**
37+
- `igniteui-angular/core` - Core utilities, services, and base types
38+
- `igniteui-angular/directives` - Common directives
39+
- Component-specific entry points: `igniteui-angular/grids`, `igniteui-angular/input-group`, `igniteui-angular/drop-down`, etc.
40+
- Grid-specific entry points for tree-shakable imports:
41+
- `igniteui-angular/grids/core` - Shared grid infrastructure (columns, toolbar, filtering, sorting, etc.)
42+
- `igniteui-angular/grids/grid` - Standard grid component (`IgxGridComponent`)
43+
- `igniteui-angular/grids/tree-grid` - Tree grid component (`IgxTreeGridComponent`)
44+
- `igniteui-angular/grids/hierarchical-grid` - Hierarchical grid component (`IgxHierarchicalGridComponent`, `IgxRowIslandComponent`)
45+
- `igniteui-angular/grids/pivot-grid` - Pivot grid component (`IgxPivotGridComponent`, `IgxPivotDataSelectorComponent`)
46+
47+
**Migration:**
48+
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.
49+
50+
To migrate manually later:
51+
```bash
52+
ng update igniteui-angular --migrate-only --from=20.1.0 --to=21.0.0 --migrate-imports
53+
```
54+
55+
**Component Relocations:**
56+
- Input directives (`IgxHintDirective`, `IgxInputDirective`, `IgxLabelDirective`, `IgxPrefixDirective`, `IgxSuffixDirective`) → `igniteui-angular/input-group`
57+
- `IgxAutocompleteDirective``igniteui-angular/drop-down`
58+
- `IgxRadioGroupDirective``igniteui-angular/radio`
59+
60+
**Type Renames (to avoid conflicts):**
61+
- `Direction``CarouselAnimationDirection` (in carousel)
62+
63+
**Benefits:**
64+
- Better tree-shaking - unused components won't be bundled
65+
- Code splitting - each component can be lazy-loaded separately
66+
- Smaller bundle sizes - import only what you need
67+
- Improved build performance
68+
69+
See the [Angular Package Format documentation](https://angular.io/guide/angular-package-format#entrypoints-and-code-splitting) for more details on entry points.
70+
71+
1472
## 20.1.0
1573

1674
### 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)