Skip to content
Open
Show file tree
Hide file tree
Changes from 37 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
3d07f6c
updating dependancies
anthonydummer Sep 29, 2025
86fbf85
committing after successful test run
anthonydummer Sep 30, 2025
ed46b18
yarn-audit-known-issues updated
anthonydummer Sep 30, 2025
ea2d041
re-set lint script
anthonydummer Sep 30, 2025
5090c75
Angular 20 upgrade initial checkin
anthonydummer Sep 30, 2025
54200b6
updated eslint
anthonydummer Sep 30, 2025
1282146
initial checkin of failed errors
anthonydummer Oct 1, 2025
36dd927
re-setting karma.conf.js timeouts
anthonydummer Oct 1, 2025
9d5f12b
fix to import() errors
anthonydummer Oct 6, 2025
283bf7f
removed unused import
anthonydummer Oct 6, 2025
48d1a4f
remove unused import
anthonydummer Oct 6, 2025
a5a66e1
Final two tests fixed
anthonydummer Oct 6, 2025
3982b8a
yarn-audit-known-issues update
anthonydummer Oct 7, 2025
a285fdd
update yarn-audit-known-issues
anthonydummer Oct 7, 2025
677d924
update of node
anthonydummer Oct 7, 2025
2a976de
checking in yarn.lock
anthonydummer Oct 7, 2025
a35c792
Updating node version
anthonydummer Oct 7, 2025
fbea0dc
COT-775: angular 20 upgrade, suppress sonar issues
kiran-yenigala-hmcts Oct 8, 2025
a1841c7
Merge branch 'master' into cot-775-material-20
kiran-yenigala-hmcts Oct 8, 2025
efd825c
COT-775: angular 20 upgrade, suppress sonar issues
kiran-yenigala-hmcts Oct 8, 2025
063b2fc
Updated package name to reflect new branch name
anthonydummer Oct 9, 2025
8f300f5
updating version number
anthonydummer Oct 13, 2025
42ca161
Merge branch 'master' into cot-775-angular-20
anthonydummer Oct 13, 2025
94f5bff
updgrade of ngrx to version 20
anthonydummer Oct 14, 2025
0124cfc
update to version numbers
anthonydummer Oct 14, 2025
ebd471c
Merge branch 'master' into cot-775-angular-20
anthonydummer Oct 15, 2025
1310bc1
review comments re spacing and remove an unnecessary constant
anthonydummer Oct 16, 2025
db39163
spacing fixes
anthonydummer Oct 16, 2025
288e38c
fixing ident
anthonydummer Oct 16, 2025
0c69822
fixing idents
anthonydummer Oct 16, 2025
8ee67af
fix: correct typo in tab component selector and fix indentation
AntonyLeons Oct 17, 2025
d00478c
build: update ngx-markdown from v19 to v20
AntonyLeons Oct 17, 2025
a91ea2e
build: update package versions to 7.3.4-angular-20
AntonyLeons Oct 20, 2025
2f62df5
Merge branch 'master' into cot-775-angular-20
AntonyLeons Oct 22, 2025
0700248
build: update package versions to 7.3.5-angular-20
AntonyLeons Oct 22, 2025
de48eb9
test(case-full-access-view): update test component imports and routin…
AntonyLeons Oct 22, 2025
4b3ab27
chore: update package version to 7.3.6-angular-20
AntonyLeons Oct 22, 2025
24eeb26
Update @hmcts/ccpay-web-component version to 6.5.9
kiran-yenigala-hmcts Oct 22, 2025
82deec3
CME-775: update ccpay-web-component version
kiran-yenigala-hmcts Oct 22, 2025
0ecff0b
Merge branch 'master' into cot-775-angular-20
AntonyLeons Oct 23, 2025
7a4c6f4
chore: bump version to 7.3.7-angular-20
AntonyLeons Oct 23, 2025
e4de109
Merge branch 'master' into cot-775-angular-20
Josh-HMCTS Oct 27, 2025
8170040
fix tests
Josh-HMCTS Oct 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 10 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module.exports = {
'@typescript-eslint/no-extra-semi': 'off',
'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-require-imports': 'off',
'array-bracket-spacing': 'error',
'arrow-parens': ['error', 'always'],
'arrow-spacing': 'error',
Expand Down Expand Up @@ -84,5 +85,13 @@ module.exports = {
'semi-style': ['error', 'last'],
'space-in-parens': ['error', 'never'],
'switch-colon-spacing': 'error'
}
},
'overrides': [
{
files: ['src/assets/**/*.js'],
rules: {
'@typescript-eslint/no-unused-expressions': 'off'
}
}
]
};
10 changes: 5 additions & 5 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- run: corepack enable && yarn --version
- run: yarn install
- run: yarn test:audit
Expand All @@ -44,7 +44,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- run: corepack enable && yarn --version
- run: yarn install
- run: yarn build
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: https://registry.npmjs.org/
- run: corepack enable && yarn --version
- run: yarn install
Expand All @@ -105,7 +105,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: https://npm.pkg.github.com/
scope: '@hmcts'
- run: corepack enable && yarn --version
Expand All @@ -114,4 +114,4 @@ jobs:
- run: npm publish dist/ccd-case-ui-toolkit/ --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_PUBLISH_REGISTRY: https://npm.pkg.github.com/
NPM_PUBLISH_REGISTRY: https://npm.pkg.github.com/
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.19.0
20.19.0
33 changes: 32 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@
],
"styles": [],
"scripts": [],
"preserveSymlinks": true
"preserveSymlinks": true,
"stylePreprocessorOptions": {
"includePaths": [
"node_modules"
]
}
},
"configurations": {
"production": {
Expand Down Expand Up @@ -176,5 +181,31 @@
}
}
}
},
"schematics": {
"@schematics/angular:component": {
"type": "component"
},
"@schematics/angular:directive": {
"type": "directive"
},
"@schematics/angular:service": {
"type": "service"
},
"@schematics/angular:guard": {
"typeSeparator": "."
},
"@schematics/angular:interceptor": {
"typeSeparator": "."
},
"@schematics/angular:module": {
"typeSeparator": "."
},
"@schematics/angular:pipe": {
"typeSeparator": "."
},
"@schematics/angular:resolver": {
"typeSeparator": "."
}
}
}
65 changes: 32 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@hmcts/ccd-case-ui-toolkit",
"version": "7.2.51",
"version": "7.3.6-angular-20",
"engines": {
"node": ">=18.19.0"
"node": ">=20.19.0"
},
"description": "Case UI Toolkit",
"main": "./dist/index.umd.js",
Expand Down Expand Up @@ -48,24 +48,24 @@
"dependencies": {
"@angular-material-components/datetime-picker": "16.0.1",
"@angular-material-components/moment-adapter": "16.0.1",
"@angular/animations": "~18.2.13",
"@angular/animations": "~20.3.2",
"@angular/cdk": "17.3.5",
"@angular/common": "^18.2.13",
"@angular/compiler": "18.2.13",
"@angular/core": "18.2.13",
"@angular/forms": "18.2.13",
"@angular/localize": "18.2.13",
"@angular/common": "^20.3.2",
"@angular/compiler": "20.3.2",
"@angular/core": "20.3.2",
"@angular/forms": "20.3.2",
"@angular/localize": "20.3.2",
"@angular/material": "^16.2.0",
"@angular/platform-browser": "18.2.13",
"@angular/platform-browser-dynamic": "18.2.13",
"@angular/router": "18.2.13",
"@angular/upgrade": "18.2.13",
"@angular/platform-browser": "20.3.2",
"@angular/platform-browser-dynamic": "20.3.2",
"@angular/router": "20.3.2",
"@angular/upgrade": "20.3.2",
"@edium/fsm": "^2.1.2",
"@hmcts/ccpay-web-component": "6.3.3",
"@hmcts/ccpay-web-component": "6.5.0-cme-779-prerelease",
"@hmcts/frontend": "0.0.50-alpha",
"@hmcts/media-viewer": "4.1.8",
"@ngrx/effects": "17.2.0",
"@ngrx/store": "^17.2.0",
"@hmcts/media-viewer": "4.1.9-cme-776-angular-20",
"@ngrx/effects": "^20.0.1",
"@ngrx/store": "^20.0.1",
"@nicky-lenaers/ngx-scroll-to": "^14.0.0",
"braces": "^2.3.1",
"enhanced-resolve": "3.3.0",
Expand All @@ -80,30 +80,30 @@
"moment": "^2.30.1",
"moment-timezone": "^0.5.31",
"ngx-chips": "^3.0.0",
"ngx-markdown": "^17.2.1",
"ngx-markdown": "^20",
"ngx-pagination": "6.0.3",
"npm-registry-fetch": "^4.0.5",
"pegjs": "^0.10.0",
"prism": "^4.1.2",
"prismjs": "^1.29.0",
"rpx-xui-translation": "1.1.2",
"rpx-xui-translation": "1.1.2-CME-780-9",
"rx-polling-hmcts": "1.1.1",
"rxjs": "^7.8.1",
"rxjs-compat": "^6.6.7",
"underscore": "^1.9.1",
"yargs": "17.7.2",
"yargs-parser": "^21.1.1",
"zone.js": "^0.14.10"
"zone.js": "^0.15.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "^18.2.15",
"@angular-eslint/builder": "18.4.3",
"@angular-eslint/eslint-plugin": "18.4.3",
"@angular-eslint/eslint-plugin-template": "18.4.3",
"@angular-eslint/schematics": "18.4.3",
"@angular-eslint/template-parser": "18.4.3",
"@angular/cli": "^18.2.17",
"@angular/compiler-cli": "^18.2.13",
"@angular-devkit/build-angular": "^20.3.3",
"@angular-eslint/builder": "^20",
"@angular-eslint/eslint-plugin": "^20",
"@angular-eslint/eslint-plugin-template": "^20",
"@angular-eslint/schematics": "^20",
"@angular-eslint/template-parser": "^20",
"@angular/cli": "^20.3.3",
"@angular/compiler-cli": "^20.3.2",
"@babel/core": "^7.23.0",
"@compodoc/compodoc": "1.1.12",
"@storybook/addon-actions": "^6.5.10",
Expand All @@ -117,7 +117,7 @@
"@storybook/testing-library": "^0.2.0",
"@types/jasmine": "~2.8.0",
"@types/jasminewd2": "^2.0.3",
"@types/node": "^18.19.0",
"@types/node": "^20.19.0",
"@types/pegjs": "^0.10.0",
"@types/underscore": "^1.11.4",
"@types/webpack": "^4.41.25",
Expand All @@ -141,7 +141,7 @@
"font-awesome": "^4.6.1",
"gh-pages": "^2.0.0",
"git-message": "^2.0.2",
"govuk_frontend_toolkit": "^9.0.0",
"govuk_frontend_toolkit": "^9.0.1",
"gulp": "^4.0.2",
"gulp-inline-ng2-template": "^5.0.1",
"gulp-sass": "^5.1.0",
Expand All @@ -164,9 +164,8 @@
"mocha": "^8.1.1",
"multidep": "2.0.2",
"ng-mocks": "^14.12.2",
"ng-packagr": "^18.0.0",
"ng-packagr": "^20.3.0",
"ng2-mock-component": "^0.1.1",
"ngx-device-detector": "^7.0.0",
"nyc": "^13.0.1",
"raw-loader": "^0.5.1",
"reflect-metadata": "^0.1.12",
Expand All @@ -185,7 +184,7 @@
"ts-node": "^10.9.2",
"tslib": "^2.6.1",
"tslint": "^6.1.3",
"typescript": "~5.4.5",
"typescript": "^5.9.2",
"webpack": "^5.88.2",
"webpack-angular-externals": "^1.0.2",
"webpack-cli": "^4.4.0",
Expand Down Expand Up @@ -225,7 +224,7 @@
"hosted-git-info": "^3.0.8",
"normalize-url": "^6.0.1",
"trim-newlines": "^3.0.1",
"typescript": "~5.4.5"
"typescript": "~5.9.2"
},
"nyc": {
"include": [
Expand Down
7 changes: 5 additions & 2 deletions projects/ccd-case-ui-toolkit/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
"dest": "../../dist/ccd-case-ui-toolkit",
"lib": {
"entryFile": "src/public-api.ts"
"entryFile": "src/public-api.ts",
"styleIncludePaths": [
"../../node_modules"
]
}
}
}
4 changes: 2 additions & 2 deletions projects/ccd-case-ui-toolkit/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@hmcts/ccd-case-ui-toolkit",
"version": "7.2.51",
"version": "7.3.6-angular-20",
"engines": {
"node": ">=18.19.0"
"node": ">=20.19.0"
},
"description": "Case UI Toolkit",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion projects/ccd-case-ui-toolkit/src/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ module.exports = function (config) {
singleRun: true,
restartOnFileChange: true
});
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { Pipe, PipeTransform } from '@angular/core';
import { AlertComponent } from './alert.component';

@Pipe({
name: 'cutAlertIconClass'
name: 'cutAlertIconClass',
standalone: false
})
export class AlertIconClassPipe implements PipeTransform {
private static readonly CLASS_WARNING = 'icon-alert';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ export enum AlertMessageType {
templateUrl: './alert.component.html',
styleUrls: [
'./alert.component.scss'
]
],
standalone: false
})
export class AlertComponent {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import { NotificationBannerType } from './enums';
@Component({
selector: 'ccd-notification-banner',
templateUrl: './notification-banner.component.html',
styleUrls: ['./notification-banner.component.scss']
styleUrls: ['./notification-banner.component.scss'],
standalone: false
})
export class NotificationBannerComponent {
@Input()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import { Component, ViewEncapsulation } from '@angular/core';
selector: 'cut-body',
templateUrl: './body.html',
styleUrls: ['./fonts.scss'],
encapsulation: ViewEncapsulation.None
encapsulation: ViewEncapsulation.None,
standalone: false
})
export class BodyComponent {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { Component, Input } from '@angular/core';
@Component({
selector: 'cut-footer-bar',
templateUrl: './footer.html',
styleUrls: ['./footer.scss']
styleUrls: ['./footer.scss'],
standalone: false
})
export class FooterComponent {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,12 @@ describe('Date input component', () => {
.configureTestingModule({
imports: [
ReactiveFormsModule,
PaletteUtilsModule
PaletteUtilsModule,
inputComponentMock
],
declarations: [
DateInputComponent,
MockRpxTranslatePipe,

// Mocks
inputComponentMock
MockRpxTranslatePipe
],
providers: []
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { AbstractControl, ControlValueAccessor, FormControl, NG_VALIDATORS, NG_V
multi: true
}
],
standalone: false
})
export class DateInputComponent implements ControlValueAccessor, Validator, OnInit, OnDestroy {
@Input()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { Component, EventEmitter, Input, Output } from '@angular/core';
@Component({
selector: 'cut-header-bar',
templateUrl: './header-bar.html',
styleUrls: ['./header-bar.scss']
styleUrls: ['./header-bar.scss'],
standalone: false
})
export class HeaderBarComponent {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { Component, Input } from '@angular/core';
@Component({
selector: 'cut-nav-item',
templateUrl: './navigation-item.html',
styleUrls: ['./navigation-item.scss']
styleUrls: ['./navigation-item.scss'],
standalone: false
})
export class NavigationItemComponent {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { Component, Input } from '@angular/core';
@Component({
selector: 'cut-nav-bar',
templateUrl: './navigation.html',
styleUrls: ['./navigation.scss']
styleUrls: ['./navigation.scss'],
standalone: false
})
export class NavigationComponent {

Expand Down
Loading