Skip to content

Commit 737df27

Browse files
commit after pulling from master and resolving conflicts
2 parents 902aa6a + 1e73925 commit 737df27

File tree

308 files changed

+7948
-6893
lines changed

Some content is hidden

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

308 files changed

+7948
-6893
lines changed

.eslintrc.cjs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ module.exports = {
2121
'@typescript-eslint/no-extra-semi': 'off',
2222
'@typescript-eslint/no-inferrable-types': 'off',
2323
'@typescript-eslint/no-var-requires': 'off',
24+
'@typescript-eslint/no-require-imports': 'off',
2425
'array-bracket-spacing': 'error',
2526
'arrow-parens': ['error', 'always'],
2627
'arrow-spacing': 'error',
@@ -84,5 +85,13 @@ module.exports = {
8485
'semi-style': ['error', 'last'],
8586
'space-in-parens': ['error', 'never'],
8687
'switch-colon-spacing': 'error'
87-
}
88+
},
89+
'overrides': [
90+
{
91+
files: ['src/assets/**/*.js'],
92+
rules: {
93+
'@typescript-eslint/no-unused-expressions': 'off'
94+
}
95+
}
96+
]
8897
};

.github/workflows/npmpublish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v4
2222
- uses: actions/setup-node@v4
2323
with:
24-
node-version: 18
24+
node-version: 20
2525
- run: corepack enable && yarn --version
2626
- run: yarn install
2727
- run: yarn test:audit
@@ -44,7 +44,7 @@ jobs:
4444
- uses: actions/checkout@v4
4545
- uses: actions/setup-node@v4
4646
with:
47-
node-version: 18
47+
node-version: 20
4848
- run: corepack enable && yarn --version
4949
- run: yarn install
5050
- run: yarn build
@@ -87,7 +87,7 @@ jobs:
8787
- uses: actions/checkout@v4
8888
- uses: actions/setup-node@v4
8989
with:
90-
node-version: 18
90+
node-version: 20
9191
registry-url: https://registry.npmjs.org/
9292
- run: corepack enable && yarn --version
9393
- run: yarn install
@@ -105,7 +105,7 @@ jobs:
105105
- uses: actions/checkout@v4
106106
- uses: actions/setup-node@v4
107107
with:
108-
node-version: 18
108+
node-version: 20
109109
registry-url: https://npm.pkg.github.com/
110110
scope: '@hmcts'
111111
- run: corepack enable && yarn --version
@@ -114,4 +114,4 @@ jobs:
114114
- run: npm publish dist/ccd-case-ui-toolkit/ --ignore-scripts
115115
env:
116116
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
117-
NPM_PUBLISH_REGISTRY: https://npm.pkg.github.com/
117+
NPM_PUBLISH_REGISTRY: https://npm.pkg.github.com/

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.19.0
1+
20.19.0

RELEASE-NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## RELEASE NOTES
22

3-
### Version 7.2.59-exui-3066-2
3+
### Version 7.2.60-exui-3066
44
**EXUI-3066** HALO-23226 Dates/Times: Accept input in local time
55

66
### Version 7.2.59

angular.json

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,12 @@
2929
],
3030
"styles": [],
3131
"scripts": [],
32-
"preserveSymlinks": true
32+
"preserveSymlinks": true,
33+
"stylePreprocessorOptions": {
34+
"includePaths": [
35+
"node_modules"
36+
]
37+
}
3338
},
3439
"configurations": {
3540
"production": {
@@ -176,5 +181,31 @@
176181
}
177182
}
178183
}
184+
},
185+
"schematics": {
186+
"@schematics/angular:component": {
187+
"type": "component"
188+
},
189+
"@schematics/angular:directive": {
190+
"type": "directive"
191+
},
192+
"@schematics/angular:service": {
193+
"type": "service"
194+
},
195+
"@schematics/angular:guard": {
196+
"typeSeparator": "."
197+
},
198+
"@schematics/angular:interceptor": {
199+
"typeSeparator": "."
200+
},
201+
"@schematics/angular:module": {
202+
"typeSeparator": "."
203+
},
204+
"@schematics/angular:pipe": {
205+
"typeSeparator": "."
206+
},
207+
"@schematics/angular:resolver": {
208+
"typeSeparator": "."
209+
}
179210
}
180211
}

package.json

Lines changed: 30 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "@hmcts/ccd-case-ui-toolkit",
3-
"version": "7.2.59-exui-3066-2",
3+
"version": "7.3.0-exui-3066",
44
"engines": {
5-
"node": ">=18.19.0"
5+
"node": ">=20.19.0"
66
},
77
"description": "Case UI Toolkit",
88
"main": "./dist/index.umd.js",
@@ -48,22 +48,22 @@
4848
"dependencies": {
4949
"@angular-material-components/datetime-picker": "16.0.1",
5050
"@angular-material-components/moment-adapter": "16.0.1",
51-
"@angular/animations": "~18.2.13",
51+
"@angular/animations": "~20.3.2",
5252
"@angular/cdk": "17.3.5",
53-
"@angular/common": "^18.2.13",
54-
"@angular/compiler": "18.2.13",
55-
"@angular/core": "18.2.13",
56-
"@angular/forms": "18.2.13",
57-
"@angular/localize": "18.2.13",
53+
"@angular/common": "^20.3.2",
54+
"@angular/compiler": "20.3.2",
55+
"@angular/core": "20.3.2",
56+
"@angular/forms": "20.3.2",
57+
"@angular/localize": "20.3.2",
5858
"@angular/material": "^16.2.0",
59-
"@angular/platform-browser": "18.2.13",
60-
"@angular/platform-browser-dynamic": "18.2.13",
61-
"@angular/router": "18.2.13",
62-
"@angular/upgrade": "18.2.13",
59+
"@angular/platform-browser": "20.3.2",
60+
"@angular/platform-browser-dynamic": "20.3.2",
61+
"@angular/router": "20.3.2",
62+
"@angular/upgrade": "20.3.2",
6363
"@edium/fsm": "^2.1.2",
64-
"@hmcts/ccpay-web-component": "6.3.3",
64+
"@hmcts/ccpay-web-component": "6.5.14",
6565
"@hmcts/frontend": "0.0.50-alpha",
66-
"@hmcts/media-viewer": "4.1.10",
66+
"@hmcts/media-viewer": "4.2.0",
6767
"@ngrx/effects": "17.2.0",
6868
"@ngrx/store": "^17.2.0",
6969
"@nicky-lenaers/ngx-scroll-to": "^14.0.0",
@@ -80,30 +80,30 @@
8080
"moment": "^2.30.1",
8181
"moment-timezone": "^0.5.31",
8282
"ngx-chips": "^3.0.0",
83-
"ngx-markdown": "^17.2.1",
83+
"ngx-markdown": "^20",
8484
"ngx-pagination": "6.0.3",
8585
"npm-registry-fetch": "^4.0.5",
8686
"pegjs": "^0.10.0",
8787
"prism": "^4.1.2",
8888
"prismjs": "^1.29.0",
89-
"rpx-xui-translation": "1.1.2",
89+
"rpx-xui-translation": "1.2.0",
9090
"rx-polling-hmcts": "1.1.1",
9191
"rxjs": "^7.8.1",
9292
"rxjs-compat": "^6.6.7",
9393
"underscore": "^1.9.1",
9494
"yargs": "17.7.2",
9595
"yargs-parser": "^21.1.1",
96-
"zone.js": "^0.14.10"
96+
"zone.js": "^0.15.1"
9797
},
9898
"devDependencies": {
99-
"@angular-devkit/build-angular": "^18.2.15",
100-
"@angular-eslint/builder": "18.4.3",
101-
"@angular-eslint/eslint-plugin": "18.4.3",
102-
"@angular-eslint/eslint-plugin-template": "18.4.3",
103-
"@angular-eslint/schematics": "18.4.3",
104-
"@angular-eslint/template-parser": "18.4.3",
105-
"@angular/cli": "^18.2.17",
106-
"@angular/compiler-cli": "^18.2.13",
99+
"@angular-devkit/build-angular": "^20.3.3",
100+
"@angular-eslint/builder": "^20",
101+
"@angular-eslint/eslint-plugin": "^20",
102+
"@angular-eslint/eslint-plugin-template": "^20",
103+
"@angular-eslint/schematics": "^20",
104+
"@angular-eslint/template-parser": "^20",
105+
"@angular/cli": "^20.3.3",
106+
"@angular/compiler-cli": "^20.3.2",
107107
"@babel/core": "^7.23.0",
108108
"@compodoc/compodoc": "1.1.12",
109109
"@storybook/addon-actions": "^6.5.10",
@@ -117,7 +117,7 @@
117117
"@storybook/testing-library": "^0.2.0",
118118
"@types/jasmine": "~2.8.0",
119119
"@types/jasminewd2": "^2.0.3",
120-
"@types/node": "^18.19.0",
120+
"@types/node": "^20.19.0",
121121
"@types/pegjs": "^0.10.0",
122122
"@types/underscore": "^1.11.4",
123123
"@types/webpack": "^4.41.25",
@@ -141,7 +141,7 @@
141141
"font-awesome": "^4.6.1",
142142
"gh-pages": "^2.0.0",
143143
"git-message": "^2.0.2",
144-
"govuk_frontend_toolkit": "^9.0.0",
144+
"govuk_frontend_toolkit": "^9.0.1",
145145
"gulp": "^4.0.2",
146146
"gulp-inline-ng2-template": "^5.0.1",
147147
"gulp-sass": "^5.1.0",
@@ -164,9 +164,8 @@
164164
"mocha": "^8.1.1",
165165
"multidep": "2.0.2",
166166
"ng-mocks": "^14.12.2",
167-
"ng-packagr": "^18.0.0",
167+
"ng-packagr": "^20.3.0",
168168
"ng2-mock-component": "^0.1.1",
169-
"ngx-device-detector": "^7.0.0",
170169
"nyc": "^13.0.1",
171170
"raw-loader": "^0.5.1",
172171
"reflect-metadata": "^0.1.12",
@@ -185,7 +184,7 @@
185184
"ts-node": "^10.9.2",
186185
"tslib": "^2.6.1",
187186
"tslint": "^6.1.3",
188-
"typescript": "~5.4.5",
187+
"typescript": "^5.9.2",
189188
"webpack": "^5.88.2",
190189
"webpack-angular-externals": "^1.0.2",
191190
"webpack-cli": "^4.4.0",
@@ -225,7 +224,7 @@
225224
"hosted-git-info": "^3.0.8",
226225
"normalize-url": "^6.0.1",
227226
"trim-newlines": "^3.0.1",
228-
"typescript": "~5.4.5"
227+
"typescript": "~5.9.2"
229228
},
230229
"nyc": {
231230
"include": [

projects/ccd-case-ui-toolkit/ng-package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
33
"dest": "../../dist/ccd-case-ui-toolkit",
44
"lib": {
5-
"entryFile": "src/public-api.ts"
5+
"entryFile": "src/public-api.ts",
6+
"styleIncludePaths": [
7+
"../../node_modules"
8+
]
69
}
7-
}
10+
}

projects/ccd-case-ui-toolkit/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "@hmcts/ccd-case-ui-toolkit",
3-
"version": "7.2.59-exui-3066-2",
3+
"version": "7.3.0-exui-3066",
44
"engines": {
5-
"node": ">=18.19.0"
5+
"node": ">=20.19.0"
66
},
77
"description": "Case UI Toolkit",
88
"license": "MIT",

projects/ccd-case-ui-toolkit/src/karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ module.exports = function (config) {
5151
singleRun: true,
5252
restartOnFileChange: true
5353
});
54-
};
54+
};

projects/ccd-case-ui-toolkit/src/lib/components/banners/alert/alert-icon-class.pipe.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import { Pipe, PipeTransform } from '@angular/core';
22
import { AlertComponent } from './alert.component';
33

44
@Pipe({
5-
name: 'cutAlertIconClass'
5+
name: 'cutAlertIconClass',
6+
standalone: false
67
})
78
export class AlertIconClassPipe implements PipeTransform {
89
private static readonly CLASS_WARNING = 'icon-alert';

0 commit comments

Comments
 (0)