Skip to content

Commit ee98775

Browse files
committed
2 parents dec4593 + 9861f2c commit ee98775

File tree

490 files changed

+11358
-12445
lines changed

Some content is hidden

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

490 files changed

+11358
-12445
lines changed

.browserslistrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
# You can see what browsers were selected by your queries by running:
66
# npx browserslist
77

8-
> 0.5%
9-
last 2 versions
108
Firefox ESR
9+
not last 2 versions
10+
not > 0.5%
1111
not ie <= 11
1212
not dead
1313

.github/workflows/nodejs.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,30 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [14.x, 16.x, 18.x]
19+
node-version: [16.x, 18.x]
2020

2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v3
2424
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v2
25+
uses: actions/setup-node@v3
2626
with:
2727
node-version: ${{ matrix.node-version }}
2828
cache: 'npm'
2929
- name: Install packages
3030
run: npm ci
31-
- name: Lint
31+
- name: Lint Lib
3232
run: npm run lint:lib
3333
env:
3434
NODE_OPTIONS: --max_old_space_size=4096
3535
- name: Lint i18n
3636
run: npm run lint:i18n
37-
- name: Build
37+
- name: Build Lib
3838
run: npm run build:lib
39+
- name: Build TypeDoc & SassDoc
40+
run: |
41+
npm run build:typedoc:en:production
42+
npm run build:sassdoc:en:production
3943
- name: Test
4044
run: |
4145
npm run test:lib
@@ -49,11 +53,7 @@ jobs:
4953
npm run build:i18n
5054
npm run test:i18n:dist
5155
- name: Publish to coveralls.io
52-
if: github.repository == 'IgniteUI/igniteui-angular' && matrix.node-version == '14.x'
56+
if: github.repository == 'IgniteUI/igniteui-angular' && matrix.node-version == '16.x'
5357
uses: coverallsapp/[email protected]
5458
with:
5559
github-token: ${{ github.token }}
56-
- name: Build TypeDoc & SassDoc
57-
run: |
58-
npm run build:typedoc:en:production
59-
npm run build:sassdoc:en:production

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions/setup-node@v2
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-node@v3
1313
with:
14-
node-version: 14
14+
node-version: 16
1515
cache: 'npm'
1616
registry-url: 'https://registry.npmjs.org'
1717
- run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV

CHANGELOG.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,22 @@
22

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

5+
## 15.0.1
6+
7+
- `IgxGrid`
8+
- Added new auto-sizing API `recalculateAutoSizes` that recalculates widths of columns that have size set to `auto`. Can be used in scenarios where you want to auto-size the columns again post initialization.
9+
- `igxPivotGrid`
10+
- Adding `aggregatorName` for pivot value configuration as an alternative to setting `aggregator` function. If both are set `aggregatorName` takes precedent. If none are set an error is thrown.
11+
512
## 15.0.0
613

714
### New Features
815
- `igxGrid` - exposing new Input properties:
916

17+
- Parameters in grid templates now have types for their context. This can also cause issues if the app is in strict template mode and uses the wrong type. References to the template that may require conversion:
18+
* - `IgxColumnComponent` - `ColumnType` (for example the column parameter in `igxFilterCellTemplate`)
19+
* - `IgxGridCell` - `CellType` (for example the cell parameter in `igxCell` template)
20+
1021
- `excelStyleHeaderIconTemplate` - Gets/Sets the excel style header icon.
1122
- `groupRowTemplate` - Gets/Sets the template reference for the group row.
1223
- `headSelectorTemplate` - Gets/Sets the header row selector template.
@@ -21,6 +32,54 @@ All notable changes for each version of this project will be documented in this
2132
- `dragGhostCustomTemplate` - Gets/Sets the custom template used for row drag.
2233
- `dragIndicatorIconTemplate` - Gets/Sets the custom template used for row drag indicator.
2334
- `detailTemplate` - Gets/Sets the master-detail template.
35+
- `IgxGridToolbar`
36+
- **Breaking Change** - The `IgxGridToolbarTitleDirective` and `IgxGridToolbarActionsDirective` have been converted to components, keeping only the element selector. For apps using the preferred element markup of `<igx-grid-toolbar-title>` and `<igx-grid-toolbar-actions>` there should be no functional change. Apps using the `igxGridToolbarTitle` and `igxGridToolbarActions` directives on other elements will need to convert those to the mentioned elements instead.
37+
38+
- **Behavioral Change** - When adding new row in grid with enabled batch editing, `rowChangesCount` displays the number of the defined columns.
39+
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
40+
- **Behavioral Change** - When editing a row, `rowChangesCount` and `hiddenColumnsCount`would be displayed.
41+
- **Behavioral Change** - The Grid Paginator component is no longer hidden when there's no data and/or all columns are hidden.
42+
43+
- `IgxExcelExporterService`
44+
- Added support for exporting grid summaries.
45+
- Columns of type `currency` will be formatted as currency in Excel based on grid's locale. Locale currency different than `USD`, `EUR`, `GBP`, `CNY` or `JPY` will result in exporting the column as number instead.
46+
47+
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`, `IgxPivotGrid`
48+
- Adding `Image` column data type
49+
50+
- `IgxCalendar`
51+
52+
Added support for shift key + mouse click interactions.
53+
- `multi` mode - select/deselect all dates between the last selected/deselected and the one clicked while holding `Shift`.
54+
- `range` mode - extend/shorten the range from the last selected date to the one clicked while holding `Shift`.
55+
56+
### Theme Changes
57+
- **Breaking Changes** - The `palette` function no longer provides `info`, `success`, `warn` and `error` colors. Therefore you have to pass custom values for them if you need to use these colors. You can also use the values for `info`, `success`, `warn` and `error` colors from our predefined color palettes.
58+
59+
- Code example:
60+
61+
```scss
62+
// Mandatory colors
63+
$primary-color: #2a38b7;
64+
$secondary-color: #f96a88;
65+
$surface-color: #e1ebe4;
66+
// Additional colors
67+
$error-color: color($light-fluent-palette, 'error');
68+
$warn-color: color($light-fluent-palette, 'warn');
69+
$info-color: color($light-fluent-palette, 'info');
70+
$success-color: color($light-fluent-palette, 'success');
71+
72+
// Creating custom palette
73+
$my-color-palette: palette(
74+
$primary: $primary-color,
75+
$secondary: $secondary-color,
76+
$surface: $surface-color,
77+
$error: $error-color,
78+
$warn: $warn-color,
79+
$info: $info-color,
80+
$success: $success-color
81+
);
82+
```
2483

2584
## 14.2.0
2685

ROADMAP.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
# Current Milestone
44

5-
## Milestone 24, version 15.0 (Due by October, 2022)
5+
## Milestone 24, version 15.0 (Due by Nov, 2022)
66

7-
1. Support exporting grid with summaries [#11598](https://github.com/IgniteUI/igniteui-angular/issues/11598)
7+
1. **[DONE]** Support exporting grid with summaries [#11598](https://github.com/IgniteUI/igniteui-angular/issues/11598)
88
2. **[DONE]** Themes: Add support for adjusting spacing via CSS vars [#11368](https://github.com/IgniteUI/igniteui-angular/issues/11368)
99
3. Support for Angular 15
1010

@@ -20,12 +20,12 @@
2020

2121
# Previous Milestone
2222

23-
## Milestone 24, version 14.2 (Released October 06th, 2022)
23+
## Milestone 24, version 14.2 (Released October 06th, 2022) [Release Blog 22.2](https://www.infragistics.com/community/blogs/b/infragistics/posts/ignite-ui-for-angular-22-2)
2424

2525
1. **[DONE]** Angular query builder component (Angular Tree Grid Advanced Filtering without the tree grid) [#11750](https://github.com/IgniteUI/igniteui-angular/issues/11750)
2626
2. **[DONE]** [PivotGrid] Export to Excel [#11742](https://github.com/IgniteUI/igniteui-angular/issues/11742)
2727

28-
## Milestone 23, version 14.1 (Released September 13th, 2022)
28+
## Milestone 23, version 14.1 (Released September 13th, 2022) [Release Blog 14.1.0](https://www.infragistics.com/community/blogs/b/infragistics/posts/ignite-ui-for-angular-14-1-0-release)
2929

3030
1. **[DONE]** Grid autosize feature with performance improvements [#10205](https://github.com/IgniteUI/igniteui-angular/issues/10205)
3131
2. **[DONE]** Validator service for igxGrid editing [#6501](https://github.com/IgniteUI/igniteui-angular/issues/6501)
@@ -43,7 +43,7 @@
4343
2. **[DONE]** IgxCalendar: set weekStart globally [#10543](https://github.com/IgniteUI/igniteui-angular/issues/10543)
4444
3. **[DONE]** Hide delete and edit buttons in grid action strip [#11578](https://github.com/IgniteUI/igniteui-angular/issues/11578)
4545

46-
## Milestone 21, version 13.2 (Released May 25th, 2022)
46+
## Milestone 21, version 13.2 (Released May 25th, 2022) [Release Blog 22.1](https://www.infragistics.com/community/blogs/b/infragistics/posts/-ignite-ui-for-angular-22-1-release-and-updates)
4747

4848
1. **[DONE]** Improve sorting experience for users [#9674](https://github.com/IgniteUI/igniteui-angular/issues/9674)
4949
2. **[DONE]** Template grid excel filter footer [#10183](https://github.com/IgniteUI/igniteui-angular/issues/10183)
@@ -52,15 +52,15 @@
5252
5. **[DONE]** Checkbox size and disabled state in Bootstrap [#11096](https://github.com/IgniteUI/igniteui-angular/issues/11096)
5353
6. **[DONE]** [Pivot] Integrate ESF in tree view [#11049](https://github.com/IgniteUI/igniteui-angular/issues/11049)
5454

55-
## Milestone 20, version 13.1 (Released March 2nd, 2022)
55+
## Milestone 20, version 13.1 (Released March 2nd, 2022) [Release Blog 13.1.0](https://www.infragistics.com/community/blogs/b/infragistics/posts/ignite-ui-for-angular-13-1-0-release)
5656

5757
1. **[DONE]** Angular Pivot Grid [#5700](https://github.com/IgniteUI/igniteui-angular/issues/5700)
5858
2. **[DONE]** igx-tree-grid:excel-style filtering should show children of parent elements returned from the filter [#10342](https://github.com/IgniteUI/igniteui-angular/issues/10342)
5959
3. **[DONE]** Grid summary custom templating [#7981](https://github.com/IgniteUI/igniteui-angular/issues/7981)
6060
6. **[DONE]** Tabs component does not support RTL [#5904](https://github.com/IgniteUI/igniteui-angular/issues/5904)
6161
7. **[DONE]** Column moving feature on grid level [#10176](https://github.com/IgniteUI/igniteui-angular/issues/10176)
6262

63-
## Milestone 19, version 13.0 (Released November 23rd, 2021)
63+
## Milestone 19, version 13.0 (Released November 23rd, 2021) [Release Blog 13.0.0](https://www.infragistics.com/community/blogs/b/infragistics/posts/ignite-ui-for-angular-13-0-0-release)
6464

6565
1. **[DONE]** Stepper component [#8667](https://github.com/IgniteUI/igniteui-angular/issues/8667)
6666
2. **[DONE]** Themes: Move code to Sass modules [#9554](https://github.com/IgniteUI/igniteui-angular/issues/9554)
@@ -71,7 +71,7 @@
7171
9. **[DONE]** IgxCombo: being able to set groups sorting order [#10125](https://github.com/IgniteUI/igniteui-angular/issues/10125)
7272
10. **[DONE]** IgxGridState directive to save disableHiding property [#9304](https://github.com/IgniteUI/igniteui-angular/issues/9304)
7373

74-
## Milestone 18 (Released October 4th, 2021)
74+
## Milestone 18, version 12.2.0 (Released October 4th, 2021) [Release Blog 12.2.0](https://www.infragistics.com/community/blogs/b/infragistics/posts/ignite-ui-for-angular-12-2-0-release)
7575

7676
1. **[DONE]** Add row at top of grid [#9675](https://github.com/IgniteUI/igniteui-angular/issues/9675)
7777
2. **[DONE]** Grid row styles and classes [#9969](https://github.com/IgniteUI/igniteui-angular/issues/9969)
@@ -80,7 +80,7 @@
8080
5. **[DONE]** IgxTreeGrid: display only filtered records [#9923](https://github.com/IgniteUI/igniteui-angular/issues/9923)
8181
6. **[DONE]** Snackbar support for animation customization [#10126](https://github.com/IgniteUI/igniteui-angular/issues/10126)
8282

83-
## Milestone 17 (Released August 2nd, 2021)
83+
## Milestone 17 , version 21.1.0 (Released August 2nd, 2021) [Releae Blog 12.1.0](https://www.infragistics.com/community/blogs/b/infragistics/posts/ignite-ui-for-angular-12-1-0-release)
8484

8585
1. **[DONE]** Accordion component to Ignite UI for Angular [#9559](https://github.com/IgniteUI/igniteui-angular/issues/9559)
8686
2. **[DONE]** Expose a column input for passing additional data/state in the template contexts of the column [#9020](https://github.com/IgniteUI/igniteui-angular/issues/9020)
@@ -94,7 +94,7 @@
9494
10. **[DONE]** Editable cell styling support [#9630](https://github.com/IgniteUI/igniteui-angular/issues/9630)
9595
11. **[DONE]** Excel Export Service - onColumnExport Allow to modify columnIndex Property [#8874](https://github.com/IgniteUI/igniteui-angular/issues/8874)
9696

97-
## Milestone 16 (Released May 14th, 2021)
97+
## Milestone 16, version 12.0.0 (Released May 14th, 2021) [Release Blog 12.0.0](https://www.infragistics.com/community/blogs/b/infragistics/posts/ignite-ui-for-angular-12-0-0-release)
9898

9999
1. **[DONE]** Themes: Expose elevations as custom CSS props [#8920](https://github.com/IgniteUI/igniteui-angular/issues/8920)
100100
2. **[DONE]** Themes: Scope custom CSS props to component selectors [#8868](https://github.com/IgniteUI/igniteui-angular/issues/8868)
@@ -111,7 +111,7 @@
111111
13. **[DONE]** Accept ISO 8601 Date-only string as input for IgxDateTimeEditorDirective [#6994](https://github.com/IgniteUI/igniteui-angular/issues/6994)
112112

113113

114-
## Milestone 15 (Released February 17th, 2021)
114+
## Milestone 15, version 11.1.0 (Released February 17th, 2021) [Release Blog 11.1.0](https://www.infragistics.com/community/blogs/b/infragistics/posts/ignite-ui-for-angular-11-1-0-release)
115115

116116
1. **[DONE]** Filters should support filtering by formatted value [#8009](https://github.com/IgniteUI/igniteui-angular/issues/8009)
117117
2. **[DONE]** Support changing theme dynamically on Input Group [#8619](https://github.com/IgniteUI/igniteui-angular/issues/8619)
@@ -124,7 +124,7 @@
124124
9. **[DONE]** Carousel accessibility improvements [#8202](https://github.com/IgniteUI/igniteui-angular/issues/8202)
125125
10. **[DONE]** Datetime or Time in avaliable type of column [#7678](https://github.com/IgniteUI/igniteui-angular/issues/7678)
126126

127-
## Milestone 14 (Released November 11th, 2020)
127+
## Milestone 14, version 11.0.0 (Released November 11th, 2020) [Release Blog 11.0.0](https://www.infragistics.com/community/blogs/b/infragistics/posts/ignite-ui-for-angular-11-0-0-release)
128128

129129
1. **[DONE]** Grid Toolbar refactoring [#8055](https://github.com/IgniteUI/igniteui-angular/issues/8055)
130130
2. **[DONE]** Expose an event that indicates that the Grid is fully loaded [#7924](https://github.com/IgniteUI/igniteui-angular/issues/7924)

angular.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@
3939
"namedChunks": true,
4040
"aot": false,
4141
"stylePreprocessorOptions": {
42-
"includePaths": ["node_modules"]
42+
"includePaths": [
43+
"node_modules"
44+
]
4345
}
4446
},
4547
"configurations": {
@@ -110,7 +112,7 @@
110112
"tsConfig": "src/tsconfig.spec.json",
111113
"karmaConfig": "src/karma.conf.js",
112114
"styles": [
113-
"src/styles.css"
115+
"src/styles/styles.scss"
114116
],
115117
"scripts": [],
116118
"assets": [
@@ -283,5 +285,13 @@
283285
},
284286
"cli": {
285287
"analytics": false
288+
},
289+
"schematics": {
290+
"@angular-eslint/schematics:application": {
291+
"setParserOptionsProject": true
292+
},
293+
"@angular-eslint/schematics:library": {
294+
"setParserOptionsProject": true
295+
}
286296
}
287297
}

azure-pipelines.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ pool:
22
vmImage: 'ubuntu-latest'
33

44
steps:
5+
- task: NodeTool@0
6+
inputs:
7+
versionSpec: '16.x'
8+
displayName: 'Install Node.js'
9+
510
- script: npm ci
611
displayName: 'Install dependencies'
712
env:
813
AZURE_PIPELINES: "true"
914

10-
- script: sudo npm install -g istanbul-combine
11-
displayName: 'Install coverage combiner'
12-
env:
13-
AZURE_PIPELINES: "true"
14-
1515
- script: npm run lint:lib
1616
displayName: 'Run lint'
1717
env:
@@ -20,6 +20,12 @@ steps:
2020
- script: npm run build:lib
2121
displayName: 'Build source code and styles'
2222

23+
- script: npm run build:typedoc:en:production
24+
displayName: 'Build typedoc EN'
25+
26+
- script: npm run build:sassdoc:en:production
27+
displayName: 'Build sassdoc EN'
28+
2329
- script: npm run test:lib:azure
2430
displayName: 'Run all tests'
2531
env:
@@ -43,6 +49,9 @@ steps:
4349
- script: npm run test:schematics
4450
displayName: 'Run migrations & schematics'
4551

52+
- script: npm run test:i18n
53+
displayName: 'Test i18n'
54+
4655
- task: PublishTestResults@2
4756
condition: succeededOrFailed()
4857
inputs:

gulpfile.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,10 @@ function typedocBuildDocsEN(cb) {
248248
}
249249

250250
const SASSDOC = {
251-
PROJECT_PATH: path.join(__dirname, 'projects', 'igniteui-angular', 'src', 'lib', 'core', 'styles'),
251+
PROJECT_PATHS: [
252+
`${path.join(__dirname, 'projects', 'igniteui-angular', 'src', 'lib', 'core', 'styles')}/**/*.scss`,
253+
`${path.join(__dirname, 'node_modules', 'igniteui-theming', 'sass')}/**/*.scss`
254+
],
252255
DEST: path.join(DOCS_OUTPUT_PATH, 'sass'),
253256
OPTIONS: path.join(__dirname, '.sassdocrc'),
254257
};
@@ -266,7 +269,7 @@ function sassdocBuildJson(cb) {
266269
options.convert = convert;
267270
options.exportDir = exportDir;
268271

269-
gulp.src(`${SASSDOC.PROJECT_PATH}/**/*.scss`)
272+
gulp.src(SASSDOC.PROJECT_PATHS)
270273
.pipe(sassdoc(options));
271274

272275
cb();
@@ -282,7 +285,7 @@ function sassdocImportJson(cb) {
282285
options.json_dir = importDir;
283286
options.shellStringsPath = path.join(__dirname, 'extras', 'template', 'strings', 'shell-strings.json');
284287

285-
gulp.src(`${SASSDOC.PROJECT_PATH}/**/*.scss`)
288+
gulp.src(SASSDOC.PROJECT_PATHS)
286289
.pipe(sassdoc(options));
287290

288291
cb();
@@ -297,7 +300,7 @@ function sassdocBuildJA(cb) {
297300
options.json_dir = pathTranslations;
298301
options.shellStringsPath = path.join(__dirname, 'extras', 'template', 'strings', 'shell-strings.json');
299302

300-
gulp.src(`${SASSDOC.PROJECT_PATH}/**/*.scss`)
303+
gulp.src(SASSDOC.PROJECT_PATHS)
301304
.pipe(sassdoc(options));
302305

303306
cb();
@@ -309,7 +312,7 @@ function sassdocBuildEN(cb) {
309312
options.lang = 'en';
310313
options.shellStringsPath = path.join(__dirname, 'extras', 'template', 'strings', 'shell-strings.json');
311314

312-
gulp.src(`${SASSDOC.PROJECT_PATH}/**/*.scss`)
315+
gulp.src(SASSDOC.PROJECT_PATHS)
313316
.pipe(sassdoc(options));
314317

315318
cb();

0 commit comments

Comments
 (0)