Skip to content

Commit

Permalink
Merge branch 'master' into mtihova/fix-15136-master
Browse files Browse the repository at this point in the history
  • Loading branch information
kdinev authored Mar 7, 2025
2 parents f18605c + 09e3ffb commit 11aa934
Show file tree
Hide file tree
Showing 76 changed files with 1,133 additions and 562 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ name: "CodeQL"

on:
push:
branches: [ master, 19.0.x, 18.2.x, 17.2.x, 16.1.x, 15.1.x ]
branches: [ master, 19.1.x, 18.2.x, 17.2.x, 16.1.x, 15.1.x ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master, 19.0.x, 18.2.x, 17.2.x, 16.1.x, 15.1.x ]
branches: [ master, 19.1.x, 18.2.x, 17.2.x, 16.1.x, 15.1.x ]
schedule:
- cron: '33 4 * * 4'

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
npm run test:i18n
env:
NODE_OPTIONS: --max_old_space_size=4096
TZ: America/New_York
- name: Build i18n & validate output
run: |
npm run build:i18n
Expand Down
8 changes: 7 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
"javascript.preferences.quoteStyle": "single",
"typescript.preferences.quoteStyle": "single",
"cSpell.words": [
"aria-describedby",
"aria-haspopup",
"aria-labelledby",
"ghostclass",
"groupable",
"groupby",
"maxlength",
"ungroup"
]
}
}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Ignite UI for Angular Change Log

All notable changes for each version of this project will be documented in this file.
## 19.1.1
### New Features
- IgxListItem
- Added a new `selected` input property, making it easier to indicate when a list item is selected by applying styling responsible for that state.

## 19.1.0
### General
- `IgxCarousel`
Expand Down
3 changes: 2 additions & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

| Version | Supported |
| -------- | ------------------ |
| 19.0.x | :white_check_mark: |
| 19.1.x | :white_check_mark: |
| 19.0.x | :x: |
| 18.2.x | :white_check_mark: |
| 18.1.x | :x: |
| 18.0.x | :x: |
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"@types/source-map": "0.5.2",
"express": "^4.21.1",
"fflate": "^0.8.1",
"igniteui-theming": "^15.0.0",
"igniteui-theming": "^16.0.0",
"igniteui-trial-watermark": "^3.0.2",
"lodash-es": "^4.17.21",
"rxjs": "^7.8.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,11 @@
"version": "19.1.0",
"description": "Updates Ignite UI for Angular from v18.2.3 to v19.1.0",
"factory": "./update-19_1_0"
},
"migration-43": {
"version": "19.1.1",
"description": "Updates Ignite UI for Angular from v19.1.0 to v19.1.1",
"factory": "./update-19_1_1"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "../../common/schema/theme-changes.schema.json",
"changes": [
{
"name": "$progress-circle-color",
"replaceWith": "$fill-color-default",
"owner": "circular-theme",
"type": "property"
}
]
}
36 changes: 36 additions & 0 deletions projects/igniteui-angular/migrations/update-19_1_1/index.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import * as path from 'path';

import { SchematicTestRunner, UnitTestTree } from '@angular-devkit/schematics/testing';
import { setupTestTree } from '../common/setup.spec';

const version = '19.1.1';
const themes = [
'circular-theme'
];
const testFilePath = '/testSrc/appPrefix/component/${theme}.component.scss';

describe(`Update to ${version}`, () => {
let appTree: UnitTestTree;
const schematicRunner = new SchematicTestRunner('ig-migrate', path.join(__dirname, '../migration-collection.json'));

beforeEach(() => {
appTree = setupTestTree();
});

const migrationName = 'migration-43';

themes.forEach(theme => {
it('should rename the progress circle color property of the circular progress', async () => {
appTree.create(
testFilePath,
`$custom-${theme}: ${theme}($progress-circle-color: red);`
);

const tree = await schematicRunner.runSchematic(migrationName, {}, appTree);

expect(tree.readContent(testFilePath)).toEqual(
`$custom-${theme}: ${theme}($fill-color-default: red);`
);
});
});
});
14 changes: 14 additions & 0 deletions projects/igniteui-angular/migrations/update-19_1_1/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import type {
Rule,
SchematicContext,
Tree
} from '@angular-devkit/schematics';
import { UpdateChanges } from '../common/UpdateChanges';

const version = '19.1.1';

export default (): Rule => async (host: Tree, context: SchematicContext) => {
context.logger.info(`Applying migration for Ignite UI for Angular to version ${version}`);
const update = new UpdateChanges(__dirname, host, context);
update.applyChanges();
};
4 changes: 2 additions & 2 deletions projects/igniteui-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"tslib": "^2.3.0",
"igniteui-trial-watermark": "^3.0.2",
"lodash-es": "^4.17.21",
"igniteui-theming": "^15.0.0",
"igniteui-theming": "^16.0.0",
"@igniteui/material-icons-extended": "^3.1.0"
},
"peerDependencies": {
Expand All @@ -93,7 +93,7 @@
}
},
"igxDevDependencies": {
"@igniteui/angular-schematics": "~19.0.1430"
"@igniteui/angular-schematics": "~19.1.14315"
},
"ng-update": {
"migrations": "./migrations/migration-collection.json",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ describe('igxGridEditingActions #grid ', () => {
template: `
<igx-grid #grid [data]="data" [width]="'800px'" [height]="'500px'"
[rowEditable]="true" [primaryKey]="'ID'">
@for (c of columns; track c) {
@for (c of columns; track c.field) {
<igx-column [sortable]="true" [field]="c.field" [header]="c.field"
[width]="c.width" [pinned]='c.pinned' [hidden]='c.hidden'>
</igx-column>
Expand Down Expand Up @@ -469,7 +469,7 @@ class IgxActionStripTestingComponent implements OnInit {
template: `
<igx-grid #grid [data]="data" [width]="'800px'" [height]="'500px'"
[rowEditable]="true" [primaryKey]="'ID'">
@for (c of columns; track c) {
@for (c of columns; track c.field) {
<igx-column [sortable]="true" [field]="c.field" [header]="c.field"
[width]="c.width" [pinned]='c.pinned' [hidden]='c.hidden'>
</igx-column>
Expand All @@ -491,7 +491,7 @@ class IgxActionStripPinEditComponent extends IgxActionStripTestingComponent {
template: `
<igx-grid #grid [data]="data" [width]="'800px'" [height]="'500px'"
[rowEditable]="true" [primaryKey]="'ID'">
@for (c of columns; track c) {
@for (c of columns; track c.field) {
<igx-column [sortable]="true" [field]="c.field" [header]="c.field"
[width]="c.width" [pinned]='c.pinned' [hidden]='c.hidden'>
</igx-column>
Expand All @@ -512,7 +512,7 @@ class IgxActionStripEditMenuComponent extends IgxActionStripTestingComponent {
template: `
<igx-grid #grid [data]="dataOneRow" [width]="'800px'" [height]="'500px'"
[rowEditable]="true" [primaryKey]="'ID'">
@for (c of columns; track c) {
@for (c of columns; track c.field) {
<igx-column [sortable]="true" [field]="c.field" [header]="c.field"
[width]="c.width" [pinned]='c.pinned' [hidden]='c.hidden'>
</igx-column>
Expand All @@ -534,7 +534,7 @@ class IgxActionStripOneRowComponent extends IgxActionStripTestingComponent {
template: `
<igx-grid #grid [data]="dataOneRow" [width]="'800px'" [height]="'500px'"
[rowEditable]="true" [primaryKey]="'ID'">
@for (c of columns; track c) {
@for (c of columns; track c.field) {
<igx-column [sortable]="true" [field]="c.field" [header]="c.field"
[width]="c.width" [pinned]='c.pinned' [hidden]='c.hidden'>
</igx-column>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ describe('igxGridPinningActions #grid ', () => {
template: `
<igx-grid #grid [data]="data" [width]="'800px'" [height]="'500px'"
[rowEditable]="true" [primaryKey]="'ID'">
@for (c of columns; track c) {
@for (c of columns; track c.field) {
<igx-column [sortable]="true" [field]="c.field" [header]="c.field"
[width]="c.width" [pinned]='c.pinned' [hidden]='c.hidden'>
</igx-column>
Expand Down Expand Up @@ -176,7 +176,7 @@ class IgxActionStripTestingComponent implements OnInit {
template: `
<igx-grid #grid [data]="data" [width]="'800px'" [height]="'500px'"
[rowEditable]="true" [primaryKey]="'ID'">
@for (c of columns; track c) {
@for (c of columns; track c.field) {
<igx-column [sortable]="true" [field]="c.field" [header]="c.field"
[width]="c.width" [pinned]='c.pinned' [hidden]='c.hidden'>
</igx-column>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ class ButtonGroupWithSelectedButtonComponent {
@Component({
template: `
<igx-buttongroup>
@for (item of items; track item) {
@for (item of items; track item.key) {
<button igxButton [selected]="item.key === selectedValue">{{item.value}}</button>
}
</igx-buttongroup>
Expand Down
Loading

0 comments on commit 11aa934

Please sign in to comment.