hof 22.1.0-timeout-warning-sign-in-beta.3 → 22.2.0-time-mixin-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/automate-publish.yml +4 -4
- package/.github/workflows/automate-tag.yml +16 -16
- package/.nyc_output/34671fe1-441d-41ed-b012-ece4e3964dbb.json +1 -0
- package/.nyc_output/processinfo/34671fe1-441d-41ed-b012-ece4e3964dbb.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/CHANGELOG.md +20 -19
- package/README.md +44 -7
- package/components/emailer/transports/smtp.js +1 -1
- package/components/index.js +1 -0
- package/components/session-timeout-warning/index.js +11 -0
- package/components/time/fields.js +12 -0
- package/components/time/index.js +168 -0
- package/components/time/templates/time.html +20 -0
- package/config/hof-defaults.js +2 -0
- package/controller/controller.js +9 -0
- package/controller/validation/validators.js +13 -0
- package/frontend/template-mixins/mixins/template-mixins.js +45 -1
- package/frontend/template-mixins/partials/forms/input-text-time.html +37 -0
- package/frontend/template-partials/translations/src/en/save-and-exit.json +4 -0
- package/frontend/template-partials/views/partials/head.html +4 -1
- package/frontend/template-partials/views/partials/session-timeout-warning.html +7 -6
- package/frontend/template-partials/views/save-and-exit.html +1 -3
- package/frontend/themes/gov-uk/styles/_time-input.scss +5 -0
- package/frontend/themes/gov-uk/styles/govuk.scss +1 -0
- package/frontend/toolkit/assets/javascript/form-focus.js +4 -0
- package/index.js +3 -0
- package/lib/deindex.js +18 -0
- package/lib/router.js +2 -0
- package/package.json +1 -2
- package/{pull-request-template.md → pull_request_template.md} +1 -1
- package/sandbox/.env +2 -2
- package/sandbox/apps/sandbox/fields.js +9 -0
- package/sandbox/apps/sandbox/index.js +4 -0
- package/sandbox/apps/sandbox/sections/summary-data-sections.js +7 -0
- package/sandbox/apps/sandbox/translations/en/default.json +12 -2
- package/sandbox/apps/sandbox/translations/src/en/fields.json +4 -0
- package/sandbox/apps/sandbox/translations/src/en/pages.json +5 -2
- package/sandbox/apps/sandbox/translations/src/en/validation.json +3 -0
- package/sandbox/apps/sandbox/views/save-and-exit.html +19 -0
- package/sandbox/public/css/app.css +40 -34
- package/sandbox/public/js/bundle.js +4 -0
- package/utilities/autofill/inputs.js +6 -1
- package/wizard/index.js +2 -0
- package/.nyc_output/9376679c-295d-4483-8c62-60e08528311a.json +0 -1
- package/.nyc_output/processinfo/9376679c-295d-4483-8c62-60e08528311a.json +0 -1
|
@@ -8,15 +8,15 @@ on:
|
|
|
8
8
|
- completed
|
|
9
9
|
jobs:
|
|
10
10
|
auto-publish:
|
|
11
|
-
runs-on: ubuntu-
|
|
11
|
+
runs-on: ubuntu-22.04
|
|
12
12
|
if: startsWith(github.ref, 'refs/heads/master')
|
|
13
13
|
steps:
|
|
14
|
-
- uses: actions/checkout@
|
|
14
|
+
- uses: actions/checkout@v4
|
|
15
15
|
with:
|
|
16
16
|
fetch-depth: 0
|
|
17
|
-
- uses: actions/setup-node@
|
|
17
|
+
- uses: actions/setup-node@v4
|
|
18
18
|
with:
|
|
19
|
-
node-version:
|
|
19
|
+
node-version: 20
|
|
20
20
|
registry-url: https://registry.npmjs.org/
|
|
21
21
|
- name: 'Get Previous tag'
|
|
22
22
|
id: previoustag
|
|
@@ -4,14 +4,14 @@ name: Automate_Tag
|
|
|
4
4
|
on: [push]
|
|
5
5
|
jobs:
|
|
6
6
|
test:
|
|
7
|
-
runs-on: ubuntu-
|
|
7
|
+
runs-on: ubuntu-22.04
|
|
8
8
|
strategy:
|
|
9
9
|
matrix:
|
|
10
|
-
node-version: [
|
|
10
|
+
node-version: [20.x]
|
|
11
11
|
redis-version: [4, 5, 6]
|
|
12
12
|
steps:
|
|
13
|
-
- uses: actions/checkout@
|
|
14
|
-
- uses: actions/setup-node@
|
|
13
|
+
- uses: actions/checkout@v4
|
|
14
|
+
- uses: actions/setup-node@v4
|
|
15
15
|
with:
|
|
16
16
|
node-version: ${{ matrix.node-version }}
|
|
17
17
|
- name: Start Redis
|
|
@@ -25,16 +25,16 @@ jobs:
|
|
|
25
25
|
|
|
26
26
|
auto-tag-patch:
|
|
27
27
|
needs: test
|
|
28
|
-
runs-on: ubuntu-
|
|
28
|
+
runs-on: ubuntu-22.04
|
|
29
29
|
if: |
|
|
30
30
|
startsWith(github.ref, 'refs/heads/master') &&
|
|
31
31
|
!contains(github.event.head_commit.message, '[MAJOR]') &&
|
|
32
32
|
!contains(github.event.head_commit.message, '[MINOR]')
|
|
33
33
|
steps:
|
|
34
|
-
- uses: actions/checkout@
|
|
35
|
-
- uses: actions/setup-node@
|
|
34
|
+
- uses: actions/checkout@v4
|
|
35
|
+
- uses: actions/setup-node@v4
|
|
36
36
|
with:
|
|
37
|
-
node-version:
|
|
37
|
+
node-version: 20
|
|
38
38
|
registry-url: https://registry.npmjs.org/
|
|
39
39
|
- run: |
|
|
40
40
|
git config --local user.email "$(git log --format='%ae' HEAD^!)"
|
|
@@ -43,16 +43,16 @@ jobs:
|
|
|
43
43
|
|
|
44
44
|
auto-tag-minor:
|
|
45
45
|
needs: test
|
|
46
|
-
runs-on: ubuntu-
|
|
46
|
+
runs-on: ubuntu-22.04
|
|
47
47
|
if: |
|
|
48
48
|
startsWith(github.ref, 'refs/heads/master') &&
|
|
49
49
|
!contains(github.event.head_commit.message, '[MAJOR]') &&
|
|
50
50
|
contains(github.event.head_commit.message, '[MINOR]')
|
|
51
51
|
steps:
|
|
52
|
-
- uses: actions/checkout@
|
|
53
|
-
- uses: actions/setup-node@
|
|
52
|
+
- uses: actions/checkout@v4
|
|
53
|
+
- uses: actions/setup-node@v4
|
|
54
54
|
with:
|
|
55
|
-
node-version:
|
|
55
|
+
node-version: 20
|
|
56
56
|
registry-url: https://registry.npmjs.org/
|
|
57
57
|
- run: |
|
|
58
58
|
git config --local user.email "$(git log --format='%ae' HEAD^!)"
|
|
@@ -61,16 +61,16 @@ jobs:
|
|
|
61
61
|
|
|
62
62
|
auto-tag-major:
|
|
63
63
|
needs: test
|
|
64
|
-
runs-on: ubuntu-
|
|
64
|
+
runs-on: ubuntu-22.04
|
|
65
65
|
if: |
|
|
66
66
|
startsWith(github.ref, 'refs/heads/master') &&
|
|
67
67
|
contains(github.event.head_commit.message, '[MAJOR]') &&
|
|
68
68
|
!contains(github.event.head_commit.message, '[MINOR]')
|
|
69
69
|
steps:
|
|
70
|
-
- uses: actions/checkout@
|
|
71
|
-
- uses: actions/setup-node@
|
|
70
|
+
- uses: actions/checkout@v4
|
|
71
|
+
- uses: actions/setup-node@v4
|
|
72
72
|
with:
|
|
73
|
-
node-version:
|
|
73
|
+
node-version: 20
|
|
74
74
|
registry-url: https://registry.npmjs.org/
|
|
75
75
|
- run: |
|
|
76
76
|
git config --local user.email "$(git log --format='%ae' HEAD^!)"
|