Skip to content

Commit 26ee0cc

Browse files
authored
Merge branch 'master' into dpetev/migrations-schema-upkeep
2 parents 323f8f5 + 0966885 commit 26ee0cc

File tree

1,635 files changed

+20507
-15370
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,635 files changed

+20507
-15370
lines changed

.github/workflows/codeql-analysis.yml

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

.github/workflows/nodejs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
33

44
name: Node.js CI
5+
permissions:
6+
contents: read
57

68
on:
79
push:
@@ -16,7 +18,7 @@ jobs:
1618

1719
strategy:
1820
matrix:
19-
node-version: [20.x, 22.17.1]
21+
node-version: [20.x, 22.x]
2022

2123
steps:
2224
- name: Checkout
@@ -50,7 +52,7 @@ jobs:
5052
npm run test:schematics
5153
npm run test:i18n
5254
env:
53-
NODE_OPTIONS: --max_old_space_size=4096
55+
NODE_OPTIONS: --max_old_space_size=4096 ${{ matrix.node-version == '22.x' && '--no-experimental-strip-types' || '' }}
5456
TZ: America/New_York
5557
- name: Build i18n & validate output
5658
run: |

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Npm.js deploy
2+
permissions:
3+
contents: read
24

35
on:
46
release:

.github/workflows/stale.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
jobs:
88
stale:
99

10+
permissions:
11+
contents: read
12+
issues: write
13+
pull-requests: write
14+
1015
runs-on: ubuntu-latest
1116

1217
steps:

CHANGELOG.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,61 @@
22

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

5+
## 21.0.0
6+
7+
### Themes
8+
9+
- `IgxButton`
10+
- **Breaking Change**
11+
- The following shadow-related parameters were removed from the `outlined-button-theme` and `flat-button-theme`:
12+
- `resting-shadow`
13+
- `hover-shadow`
14+
- `focus-shadow`
15+
- `active-shadow`
16+
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+
560

661
## 20.1.0
762

0 commit comments

Comments
 (0)