ccs-frontend_helpers 3.3.0 → 3.4.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile +2 -2
- data/Gemfile.lock +90 -89
- data/README.md +1 -0
- data/bun.lock +5 -4
- data/lib/ccs/components/govuk/footer.rb +4 -2
- data/lib/ccs/components/govuk/pagination.rb +1 -1
- data/lib/ccs/components/govuk/service_navigation/navigation.rb +1 -0
- data/lib/ccs/frontend_helpers/version.rb +1 -1
- data/package.json +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 818be8a5adc4da073cad350833f043325c50da21328a75594908314ab2fa66a3
|
|
4
|
+
data.tar.gz: fd013bcc1c712daf19609ead118df43345eba59e9154046754ac372119ee8b77
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3c22049c6e35cbaecaa910baac1a9371200a0bd307b2b2e0df9117ed08bac77ec11262f8825966396e57dedc65cfd97724257cccadd1523d10e0584a2b17c34a
|
|
7
|
+
data.tar.gz: 8975ccb89f525fb8427f6b8c6753d46ffd66b3f132581ba87c041790514a36db13937b2098cf05a9eb004501d3dda7316dc5dcc8f06e4710cd8fcfc06cbb4e97
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [3.4.0] - 2026-01-19
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Add support for Ruby v4.0
|
|
15
|
+
- Updated CCS Frontend to v2.4.0
|
|
16
|
+
- Updated GOV.UK Frontend to v5.14.0
|
|
17
|
+
|
|
10
18
|
## [3.3.0] - 2025-11-26
|
|
11
19
|
|
|
12
20
|
### Added
|
data/Gemfile
CHANGED
|
@@ -16,11 +16,11 @@ gem 'simplecov', '~> 0.21'
|
|
|
16
16
|
gem 'nokogiri-diff', '~> 0.3.0'
|
|
17
17
|
|
|
18
18
|
# Gems for linting/formatting the package
|
|
19
|
-
gem 'rubocop', '~> 1.
|
|
19
|
+
gem 'rubocop', '~> 1.82'
|
|
20
20
|
gem 'rubocop-capybara', '~> 2.22'
|
|
21
21
|
gem 'rubocop-rails', '~> 2.34'
|
|
22
22
|
gem 'rubocop-rake', '~> 0.7'
|
|
23
|
-
gem 'rubocop-rspec', '~> 3.
|
|
23
|
+
gem 'rubocop-rspec', '~> 3.9'
|
|
24
24
|
|
|
25
25
|
# Gems for documenting the package
|
|
26
26
|
gem 'yard', '~> 0.9'
|
data/Gemfile.lock
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
ccs-frontend_helpers (3.
|
|
4
|
+
ccs-frontend_helpers (3.4.0)
|
|
5
5
|
rails (>= 7.2)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
action_text-trix (2.1.
|
|
10
|
+
action_text-trix (2.1.16)
|
|
11
11
|
railties
|
|
12
|
-
actioncable (8.1.
|
|
13
|
-
actionpack (= 8.1.
|
|
14
|
-
activesupport (= 8.1.
|
|
12
|
+
actioncable (8.1.2)
|
|
13
|
+
actionpack (= 8.1.2)
|
|
14
|
+
activesupport (= 8.1.2)
|
|
15
15
|
nio4r (~> 2.0)
|
|
16
16
|
websocket-driver (>= 0.6.1)
|
|
17
17
|
zeitwerk (~> 2.6)
|
|
18
|
-
actionmailbox (8.1.
|
|
19
|
-
actionpack (= 8.1.
|
|
20
|
-
activejob (= 8.1.
|
|
21
|
-
activerecord (= 8.1.
|
|
22
|
-
activestorage (= 8.1.
|
|
23
|
-
activesupport (= 8.1.
|
|
18
|
+
actionmailbox (8.1.2)
|
|
19
|
+
actionpack (= 8.1.2)
|
|
20
|
+
activejob (= 8.1.2)
|
|
21
|
+
activerecord (= 8.1.2)
|
|
22
|
+
activestorage (= 8.1.2)
|
|
23
|
+
activesupport (= 8.1.2)
|
|
24
24
|
mail (>= 2.8.0)
|
|
25
|
-
actionmailer (8.1.
|
|
26
|
-
actionpack (= 8.1.
|
|
27
|
-
actionview (= 8.1.
|
|
28
|
-
activejob (= 8.1.
|
|
29
|
-
activesupport (= 8.1.
|
|
25
|
+
actionmailer (8.1.2)
|
|
26
|
+
actionpack (= 8.1.2)
|
|
27
|
+
actionview (= 8.1.2)
|
|
28
|
+
activejob (= 8.1.2)
|
|
29
|
+
activesupport (= 8.1.2)
|
|
30
30
|
mail (>= 2.8.0)
|
|
31
31
|
rails-dom-testing (~> 2.2)
|
|
32
|
-
actionpack (8.1.
|
|
33
|
-
actionview (= 8.1.
|
|
34
|
-
activesupport (= 8.1.
|
|
32
|
+
actionpack (8.1.2)
|
|
33
|
+
actionview (= 8.1.2)
|
|
34
|
+
activesupport (= 8.1.2)
|
|
35
35
|
nokogiri (>= 1.8.5)
|
|
36
36
|
rack (>= 2.2.4)
|
|
37
37
|
rack-session (>= 1.0.1)
|
|
@@ -39,36 +39,36 @@ GEM
|
|
|
39
39
|
rails-dom-testing (~> 2.2)
|
|
40
40
|
rails-html-sanitizer (~> 1.6)
|
|
41
41
|
useragent (~> 0.16)
|
|
42
|
-
actiontext (8.1.
|
|
42
|
+
actiontext (8.1.2)
|
|
43
43
|
action_text-trix (~> 2.1.15)
|
|
44
|
-
actionpack (= 8.1.
|
|
45
|
-
activerecord (= 8.1.
|
|
46
|
-
activestorage (= 8.1.
|
|
47
|
-
activesupport (= 8.1.
|
|
44
|
+
actionpack (= 8.1.2)
|
|
45
|
+
activerecord (= 8.1.2)
|
|
46
|
+
activestorage (= 8.1.2)
|
|
47
|
+
activesupport (= 8.1.2)
|
|
48
48
|
globalid (>= 0.6.0)
|
|
49
49
|
nokogiri (>= 1.8.5)
|
|
50
|
-
actionview (8.1.
|
|
51
|
-
activesupport (= 8.1.
|
|
50
|
+
actionview (8.1.2)
|
|
51
|
+
activesupport (= 8.1.2)
|
|
52
52
|
builder (~> 3.1)
|
|
53
53
|
erubi (~> 1.11)
|
|
54
54
|
rails-dom-testing (~> 2.2)
|
|
55
55
|
rails-html-sanitizer (~> 1.6)
|
|
56
|
-
activejob (8.1.
|
|
57
|
-
activesupport (= 8.1.
|
|
56
|
+
activejob (8.1.2)
|
|
57
|
+
activesupport (= 8.1.2)
|
|
58
58
|
globalid (>= 0.3.6)
|
|
59
|
-
activemodel (8.1.
|
|
60
|
-
activesupport (= 8.1.
|
|
61
|
-
activerecord (8.1.
|
|
62
|
-
activemodel (= 8.1.
|
|
63
|
-
activesupport (= 8.1.
|
|
59
|
+
activemodel (8.1.2)
|
|
60
|
+
activesupport (= 8.1.2)
|
|
61
|
+
activerecord (8.1.2)
|
|
62
|
+
activemodel (= 8.1.2)
|
|
63
|
+
activesupport (= 8.1.2)
|
|
64
64
|
timeout (>= 0.4.0)
|
|
65
|
-
activestorage (8.1.
|
|
66
|
-
actionpack (= 8.1.
|
|
67
|
-
activejob (= 8.1.
|
|
68
|
-
activerecord (= 8.1.
|
|
69
|
-
activesupport (= 8.1.
|
|
65
|
+
activestorage (8.1.2)
|
|
66
|
+
actionpack (= 8.1.2)
|
|
67
|
+
activejob (= 8.1.2)
|
|
68
|
+
activerecord (= 8.1.2)
|
|
69
|
+
activesupport (= 8.1.2)
|
|
70
70
|
marcel (~> 1.0)
|
|
71
|
-
activesupport (8.1.
|
|
71
|
+
activesupport (8.1.2)
|
|
72
72
|
base64
|
|
73
73
|
bigdecimal
|
|
74
74
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
@@ -85,7 +85,7 @@ GEM
|
|
|
85
85
|
public_suffix (>= 2.0.2, < 6.0)
|
|
86
86
|
ast (2.4.3)
|
|
87
87
|
base64 (0.3.0)
|
|
88
|
-
bigdecimal (
|
|
88
|
+
bigdecimal (4.0.1)
|
|
89
89
|
builder (3.3.0)
|
|
90
90
|
capybara (3.40.0)
|
|
91
91
|
addressable
|
|
@@ -96,29 +96,29 @@ GEM
|
|
|
96
96
|
rack-test (>= 0.6.3)
|
|
97
97
|
regexp_parser (>= 1.5, < 3.0)
|
|
98
98
|
xpath (~> 3.2)
|
|
99
|
-
concurrent-ruby (1.3.
|
|
100
|
-
connection_pool (
|
|
99
|
+
concurrent-ruby (1.3.6)
|
|
100
|
+
connection_pool (3.0.2)
|
|
101
101
|
crass (1.0.6)
|
|
102
|
-
date (3.5.
|
|
102
|
+
date (3.5.1)
|
|
103
103
|
diff-lcs (1.6.2)
|
|
104
104
|
docile (1.4.0)
|
|
105
105
|
drb (2.2.3)
|
|
106
|
-
erb (
|
|
106
|
+
erb (6.0.1)
|
|
107
107
|
erubi (1.13.1)
|
|
108
108
|
globalid (1.3.0)
|
|
109
109
|
activesupport (>= 6.1)
|
|
110
|
-
i18n (1.14.
|
|
110
|
+
i18n (1.14.8)
|
|
111
111
|
concurrent-ruby (~> 1.0)
|
|
112
|
-
io-console (0.8.
|
|
113
|
-
irb (1.
|
|
112
|
+
io-console (0.8.2)
|
|
113
|
+
irb (1.16.0)
|
|
114
114
|
pp (>= 0.6.0)
|
|
115
115
|
rdoc (>= 4.0.0)
|
|
116
116
|
reline (>= 0.4.2)
|
|
117
|
-
json (2.
|
|
117
|
+
json (2.18.0)
|
|
118
118
|
language_server-protocol (3.17.0.5)
|
|
119
119
|
lint_roller (1.1.0)
|
|
120
120
|
logger (1.7.0)
|
|
121
|
-
loofah (2.
|
|
121
|
+
loofah (2.25.0)
|
|
122
122
|
crass (~> 1.0.2)
|
|
123
123
|
nokogiri (>= 1.12.0)
|
|
124
124
|
mail (2.9.0)
|
|
@@ -130,8 +130,9 @@ GEM
|
|
|
130
130
|
marcel (1.1.0)
|
|
131
131
|
matrix (0.4.2)
|
|
132
132
|
mini_mime (1.1.5)
|
|
133
|
-
minitest (
|
|
134
|
-
|
|
133
|
+
minitest (6.0.1)
|
|
134
|
+
prism (~> 1.5)
|
|
135
|
+
net-imap (0.6.2)
|
|
135
136
|
date
|
|
136
137
|
net-protocol
|
|
137
138
|
net-pop (0.1.2)
|
|
@@ -141,11 +142,11 @@ GEM
|
|
|
141
142
|
net-smtp (0.5.1)
|
|
142
143
|
net-protocol
|
|
143
144
|
nio4r (2.7.5)
|
|
144
|
-
nokogiri (1.
|
|
145
|
+
nokogiri (1.19.0-arm64-darwin)
|
|
145
146
|
racc (~> 1.4)
|
|
146
|
-
nokogiri (1.
|
|
147
|
+
nokogiri (1.19.0-x86_64-darwin)
|
|
147
148
|
racc (~> 1.4)
|
|
148
|
-
nokogiri (1.
|
|
149
|
+
nokogiri (1.19.0-x86_64-linux-gnu)
|
|
149
150
|
racc (~> 1.4)
|
|
150
151
|
nokogiri-diff (0.3.0)
|
|
151
152
|
nokogiri (~> 1.5)
|
|
@@ -157,8 +158,8 @@ GEM
|
|
|
157
158
|
pp (0.6.3)
|
|
158
159
|
prettyprint
|
|
159
160
|
prettyprint (0.2.0)
|
|
160
|
-
prism (1.
|
|
161
|
-
psych (5.
|
|
161
|
+
prism (1.7.0)
|
|
162
|
+
psych (5.3.1)
|
|
162
163
|
date
|
|
163
164
|
stringio
|
|
164
165
|
public_suffix (5.0.4)
|
|
@@ -169,22 +170,22 @@ GEM
|
|
|
169
170
|
rack (>= 3.0.0)
|
|
170
171
|
rack-test (2.2.0)
|
|
171
172
|
rack (>= 1.3)
|
|
172
|
-
rackup (2.
|
|
173
|
+
rackup (2.3.1)
|
|
173
174
|
rack (>= 3)
|
|
174
|
-
rails (8.1.
|
|
175
|
-
actioncable (= 8.1.
|
|
176
|
-
actionmailbox (= 8.1.
|
|
177
|
-
actionmailer (= 8.1.
|
|
178
|
-
actionpack (= 8.1.
|
|
179
|
-
actiontext (= 8.1.
|
|
180
|
-
actionview (= 8.1.
|
|
181
|
-
activejob (= 8.1.
|
|
182
|
-
activemodel (= 8.1.
|
|
183
|
-
activerecord (= 8.1.
|
|
184
|
-
activestorage (= 8.1.
|
|
185
|
-
activesupport (= 8.1.
|
|
175
|
+
rails (8.1.2)
|
|
176
|
+
actioncable (= 8.1.2)
|
|
177
|
+
actionmailbox (= 8.1.2)
|
|
178
|
+
actionmailer (= 8.1.2)
|
|
179
|
+
actionpack (= 8.1.2)
|
|
180
|
+
actiontext (= 8.1.2)
|
|
181
|
+
actionview (= 8.1.2)
|
|
182
|
+
activejob (= 8.1.2)
|
|
183
|
+
activemodel (= 8.1.2)
|
|
184
|
+
activerecord (= 8.1.2)
|
|
185
|
+
activestorage (= 8.1.2)
|
|
186
|
+
activesupport (= 8.1.2)
|
|
186
187
|
bundler (>= 1.15.0)
|
|
187
|
-
railties (= 8.1.
|
|
188
|
+
railties (= 8.1.2)
|
|
188
189
|
rails-dom-testing (2.3.0)
|
|
189
190
|
activesupport (>= 5.0.0)
|
|
190
191
|
minitest
|
|
@@ -192,9 +193,9 @@ GEM
|
|
|
192
193
|
rails-html-sanitizer (1.6.2)
|
|
193
194
|
loofah (~> 2.21)
|
|
194
195
|
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
|
195
|
-
railties (8.1.
|
|
196
|
-
actionpack (= 8.1.
|
|
197
|
-
activesupport (= 8.1.
|
|
196
|
+
railties (8.1.2)
|
|
197
|
+
actionpack (= 8.1.2)
|
|
198
|
+
activesupport (= 8.1.2)
|
|
198
199
|
irb (~> 1.13)
|
|
199
200
|
rackup (>= 1.0.0)
|
|
200
201
|
rake (>= 12.2)
|
|
@@ -203,12 +204,12 @@ GEM
|
|
|
203
204
|
zeitwerk (~> 2.6)
|
|
204
205
|
rainbow (3.1.1)
|
|
205
206
|
rake (13.3.1)
|
|
206
|
-
rdoc (
|
|
207
|
+
rdoc (7.0.3)
|
|
207
208
|
erb
|
|
208
209
|
psych (>= 4.0.0)
|
|
209
210
|
tsort
|
|
210
211
|
regexp_parser (2.11.3)
|
|
211
|
-
reline (0.6.
|
|
212
|
+
reline (0.6.3)
|
|
212
213
|
io-console (~> 0.5)
|
|
213
214
|
rspec (3.13.2)
|
|
214
215
|
rspec-core (~> 3.13.0)
|
|
@@ -223,7 +224,7 @@ GEM
|
|
|
223
224
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
224
225
|
rspec-support (~> 3.13.0)
|
|
225
226
|
rspec-support (3.13.6)
|
|
226
|
-
rubocop (1.
|
|
227
|
+
rubocop (1.82.1)
|
|
227
228
|
json (~> 2.3)
|
|
228
229
|
language_server-protocol (~> 3.17.0.2)
|
|
229
230
|
lint_roller (~> 1.1.0)
|
|
@@ -231,16 +232,16 @@ GEM
|
|
|
231
232
|
parser (>= 3.3.0.2)
|
|
232
233
|
rainbow (>= 2.2.2, < 4.0)
|
|
233
234
|
regexp_parser (>= 2.9.3, < 3.0)
|
|
234
|
-
rubocop-ast (>= 1.
|
|
235
|
+
rubocop-ast (>= 1.48.0, < 2.0)
|
|
235
236
|
ruby-progressbar (~> 1.7)
|
|
236
237
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
237
|
-
rubocop-ast (1.
|
|
238
|
+
rubocop-ast (1.49.0)
|
|
238
239
|
parser (>= 3.3.7.2)
|
|
239
|
-
prism (~> 1.
|
|
240
|
+
prism (~> 1.7)
|
|
240
241
|
rubocop-capybara (2.22.1)
|
|
241
242
|
lint_roller (~> 1.1)
|
|
242
243
|
rubocop (~> 1.72, >= 1.72.1)
|
|
243
|
-
rubocop-rails (2.34.
|
|
244
|
+
rubocop-rails (2.34.3)
|
|
244
245
|
activesupport (>= 4.2.0)
|
|
245
246
|
lint_roller (~> 1.1)
|
|
246
247
|
rack (>= 1.1)
|
|
@@ -249,7 +250,7 @@ GEM
|
|
|
249
250
|
rubocop-rake (0.7.1)
|
|
250
251
|
lint_roller (~> 1.1)
|
|
251
252
|
rubocop (>= 1.72.1)
|
|
252
|
-
rubocop-rspec (3.
|
|
253
|
+
rubocop-rspec (3.9.0)
|
|
253
254
|
lint_roller (~> 1.1)
|
|
254
255
|
rubocop (~> 1.81)
|
|
255
256
|
ruby-progressbar (1.13.0)
|
|
@@ -260,16 +261,16 @@ GEM
|
|
|
260
261
|
simplecov_json_formatter (~> 0.1)
|
|
261
262
|
simplecov-html (0.12.3)
|
|
262
263
|
simplecov_json_formatter (0.1.4)
|
|
263
|
-
stringio (3.
|
|
264
|
+
stringio (3.2.0)
|
|
264
265
|
tdiff (0.4.0)
|
|
265
|
-
thor (1.
|
|
266
|
-
timeout (0.
|
|
266
|
+
thor (1.5.0)
|
|
267
|
+
timeout (0.6.0)
|
|
267
268
|
tsort (0.2.0)
|
|
268
269
|
tzinfo (2.0.6)
|
|
269
270
|
concurrent-ruby (~> 1.0)
|
|
270
271
|
unicode-display_width (3.2.0)
|
|
271
272
|
unicode-emoji (~> 4.1)
|
|
272
|
-
unicode-emoji (4.
|
|
273
|
+
unicode-emoji (4.2.0)
|
|
273
274
|
uri (1.1.1)
|
|
274
275
|
useragent (0.16.11)
|
|
275
276
|
websocket-driver (0.8.0)
|
|
@@ -278,8 +279,8 @@ GEM
|
|
|
278
279
|
websocket-extensions (0.1.5)
|
|
279
280
|
xpath (3.2.0)
|
|
280
281
|
nokogiri (~> 1.8)
|
|
281
|
-
yard (0.9.
|
|
282
|
-
zeitwerk (2.7.
|
|
282
|
+
yard (0.9.38)
|
|
283
|
+
zeitwerk (2.7.4)
|
|
283
284
|
|
|
284
285
|
PLATFORMS
|
|
285
286
|
arm64-darwin-24
|
|
@@ -297,11 +298,11 @@ DEPENDENCIES
|
|
|
297
298
|
nokogiri-diff (~> 0.3.0)
|
|
298
299
|
rake (~> 13.3)
|
|
299
300
|
rspec (~> 3.13)
|
|
300
|
-
rubocop (~> 1.
|
|
301
|
+
rubocop (~> 1.82)
|
|
301
302
|
rubocop-capybara (~> 2.22)
|
|
302
303
|
rubocop-rails (~> 2.34)
|
|
303
304
|
rubocop-rake (~> 0.7)
|
|
304
|
-
rubocop-rspec (~> 3.
|
|
305
|
+
rubocop-rspec (~> 3.9)
|
|
305
306
|
simplecov (~> 0.21)
|
|
306
307
|
yard (~> 0.9)
|
|
307
308
|
|
data/README.md
CHANGED
|
@@ -14,6 +14,7 @@ The following table shows the version of CCS Frontend Helpers that you should us
|
|
|
14
14
|
|
|
15
15
|
| CCS Frontend Helpers Version | Target GOV.UK Frontend Version | Target CCS Frontend Version |
|
|
16
16
|
| ----------------------------- | ------------------------------ | --------------------------- |
|
|
17
|
+
| [3.4.0](https://github.com/Crown-Commercial-Service/ccs-frontend_helpers/releases/tag/v3.4.0) | [5.14.0](https://github.com/alphagov/govuk-frontend/releases/tag/v5.14.0) | [2.4.0](https://github.com/Crown-Commercial-Service/ccs-frontend-project/releases/tag/v2.4.0) |
|
|
17
18
|
| [3.3.0](https://github.com/Crown-Commercial-Service/ccs-frontend_helpers/releases/tag/v3.3.0) | [5.13.0](https://github.com/alphagov/govuk-frontend/releases/tag/v5.13.0) | [2.3.0](https://github.com/Crown-Commercial-Service/ccs-frontend-project/releases/tag/v2.3.0) |
|
|
18
19
|
| [3.2.0](https://github.com/Crown-Commercial-Service/ccs-frontend_helpers/releases/tag/v3.2.0) | [5.13.0](https://github.com/alphagov/govuk-frontend/releases/tag/v5.13.0) | [2.2.1](https://github.com/Crown-Commercial-Service/ccs-frontend-project/releases/tag/v2.2.1) |
|
|
19
20
|
| [3.1.0](https://github.com/Crown-Commercial-Service/ccs-frontend_helpers/releases/tag/v3.1.0) | [5.13.0](https://github.com/alphagov/govuk-frontend/releases/tag/v5.13.0) | [2.1.0](https://github.com/Crown-Commercial-Service/ccs-frontend-project/releases/tag/v2.1.0) |
|
data/bun.lock
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"lockfileVersion": 1,
|
|
3
|
+
"configVersion": 0,
|
|
3
4
|
"workspaces": {
|
|
4
5
|
"": {
|
|
5
6
|
"devDependencies": {
|
|
6
|
-
"ccs-frontend": "2.
|
|
7
|
-
"govuk-frontend": "5.
|
|
7
|
+
"ccs-frontend": "2.4.0",
|
|
8
|
+
"govuk-frontend": "5.14.0",
|
|
8
9
|
},
|
|
9
10
|
},
|
|
10
11
|
},
|
|
11
12
|
"packages": {
|
|
12
|
-
"ccs-frontend": ["ccs-frontend@2.
|
|
13
|
+
"ccs-frontend": ["ccs-frontend@2.4.0", "", { "peerDependencies": { "govuk-frontend": "^5.14.0", "jquery": "^4.x" } }, "sha512-ZqVx/G1aNFnExMo/c1exM694M2kI8EAiWWW1AoXly1iGnfrqRcv+qLVSRlTLDuZ9dh8IZN7kfmNeh+XnUGSaRA=="],
|
|
13
14
|
|
|
14
|
-
"govuk-frontend": ["govuk-frontend@5.
|
|
15
|
+
"govuk-frontend": ["govuk-frontend@5.14.0", "", {}, "sha512-MgfaXswIM6KpXS2T5gltEnzgVLgfM3UoE9+rYkhBiR0suaJ8Let31VZXQZqz9QhiPDbv28fW1nRjIyLujfZIBA=="],
|
|
15
16
|
|
|
16
17
|
"jquery": ["jquery@3.7.1", "", {}, "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg=="],
|
|
17
18
|
}
|
|
@@ -67,8 +67,10 @@ module CCS
|
|
|
67
67
|
concat(tag.div(class: 'govuk-footer__meta') do
|
|
68
68
|
concat(tag.div(class: 'govuk-footer__meta-item govuk-footer__meta-item--grow') do
|
|
69
69
|
concat(meta.render) if meta
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
unless options.key?(:content_licence) && options[:content_licence].nil?
|
|
71
|
+
concat(footer_logo)
|
|
72
|
+
concat(footer_content_licence)
|
|
73
|
+
end
|
|
72
74
|
end)
|
|
73
75
|
concat(footer_copyright)
|
|
74
76
|
end)
|
|
@@ -87,7 +87,7 @@ module CCS
|
|
|
87
87
|
|
|
88
88
|
pagination_item_class = form ? Item::Form : Item::Tag
|
|
89
89
|
|
|
90
|
-
@pagination_items = pagination_items.map { |pagination_item| pagination_item[:ellipsis] ? Item::Ellipsis : pagination_item_class.new(form: form, context: context, **pagination_item) }
|
|
90
|
+
@pagination_items = pagination_items.compact_blank.map { |pagination_item| pagination_item[:ellipsis] ? Item::Ellipsis : pagination_item_class.new(form: form, context: context, **pagination_item) }
|
|
91
91
|
end
|
|
92
92
|
end
|
|
93
93
|
end
|
|
@@ -56,6 +56,7 @@ module CCS
|
|
|
56
56
|
|
|
57
57
|
menu_button[:aria] = { controls: @navigation[:id] }
|
|
58
58
|
menu_button[:aria][:label] = menu_button[:label] if menu_button[:label] && menu_button[:label] != menu_button[:text]
|
|
59
|
+
menu_button[:aria][:hidden] = true
|
|
59
60
|
|
|
60
61
|
@menu_button = menu_button
|
|
61
62
|
@navigation[:links] = navigation[:items].map { |navigation_link| Link.new(context: context, **navigation_link) }
|
data/package.json
CHANGED