govuk_publishing_components 12.0.0 → 12.0.1
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/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss +1 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/govuk-frontend/all.js +188 -0
- data/node_modules/govuk-frontend/components/_all.scss +1 -0
- data/node_modules/govuk-frontend/components/back-link/README.md +12 -12
- data/node_modules/govuk-frontend/components/breadcrumbs/README.md +18 -18
- data/node_modules/govuk-frontend/components/button/README.md +30 -30
- data/node_modules/govuk-frontend/components/button/template.njk +1 -1
- data/node_modules/govuk-frontend/components/character-count/README.md +497 -0
- data/node_modules/govuk-frontend/components/character-count/_character-count.scss +31 -0
- data/node_modules/govuk-frontend/components/character-count/character-count.js +1201 -0
- data/node_modules/govuk-frontend/components/character-count/macro-options.json +83 -0
- data/node_modules/govuk-frontend/components/character-count/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/character-count/template.njk +32 -0
- data/node_modules/govuk-frontend/components/checkboxes/README.md +57 -57
- data/node_modules/govuk-frontend/components/date-input/README.md +36 -36
- data/node_modules/govuk-frontend/components/details/README.md +18 -18
- data/node_modules/govuk-frontend/components/error-message/README.md +12 -12
- data/node_modules/govuk-frontend/components/error-summary/README.md +24 -24
- data/node_modules/govuk-frontend/components/fieldset/README.md +21 -21
- data/node_modules/govuk-frontend/components/file-upload/README.md +24 -24
- data/node_modules/govuk-frontend/components/footer/README.md +51 -51
- data/node_modules/govuk-frontend/components/header/README.md +42 -42
- data/node_modules/govuk-frontend/components/header/_header.scss +2 -0
- data/node_modules/govuk-frontend/components/hint/README.md +12 -12
- data/node_modules/govuk-frontend/components/input/README.md +27 -27
- data/node_modules/govuk-frontend/components/inset-text/README.md +12 -12
- data/node_modules/govuk-frontend/components/label/README.md +15 -15
- data/node_modules/govuk-frontend/components/panel/README.md +15 -15
- data/node_modules/govuk-frontend/components/phase-banner/README.md +12 -12
- data/node_modules/govuk-frontend/components/radios/README.md +60 -60
- data/node_modules/govuk-frontend/components/radios/_radios.scss +1 -0
- data/node_modules/govuk-frontend/components/select/README.md +39 -39
- data/node_modules/govuk-frontend/components/select/_select.scss +1 -1
- data/node_modules/govuk-frontend/components/skip-link/README.md +12 -12
- data/node_modules/govuk-frontend/components/table/README.md +45 -45
- data/node_modules/govuk-frontend/components/table/macro-options.json +12 -0
- data/node_modules/govuk-frontend/components/table/template.njk +7 -3
- data/node_modules/govuk-frontend/components/tabs/README.md +30 -30
- data/node_modules/govuk-frontend/components/tag/README.md +9 -9
- data/node_modules/govuk-frontend/components/textarea/README.md +30 -30
- data/node_modules/govuk-frontend/components/warning-text/README.md +12 -12
- data/node_modules/govuk-frontend/package.json +11 -11
- metadata +8 -2
@@ -107,11 +107,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
107
107
|
|
108
108
|
<th class="govuk-table__header" scope="row">meta</th>
|
109
109
|
|
110
|
-
<td class="govuk-table__cell
|
110
|
+
<td class="govuk-table__cell">object</td>
|
111
111
|
|
112
|
-
<td class="govuk-table__cell
|
112
|
+
<td class="govuk-table__cell">No</td>
|
113
113
|
|
114
|
-
<td class="govuk-table__cell
|
114
|
+
<td class="govuk-table__cell">Object containing parameters for the meta navigation.</td>
|
115
115
|
|
116
116
|
</tr>
|
117
117
|
|
@@ -119,11 +119,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
119
119
|
|
120
120
|
<th class="govuk-table__header" scope="row">meta.text</th>
|
121
121
|
|
122
|
-
<td class="govuk-table__cell
|
122
|
+
<td class="govuk-table__cell">string</td>
|
123
123
|
|
124
|
-
<td class="govuk-table__cell
|
124
|
+
<td class="govuk-table__cell">No</td>
|
125
125
|
|
126
|
-
<td class="govuk-table__cell
|
126
|
+
<td class="govuk-table__cell">Text to add to the meta section of the footer, which will appear below any links specified using meta.items. If meta.html is specified, this option is ignored.</td>
|
127
127
|
|
128
128
|
</tr>
|
129
129
|
|
@@ -131,11 +131,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
131
131
|
|
132
132
|
<th class="govuk-table__header" scope="row">meta.html</th>
|
133
133
|
|
134
|
-
<td class="govuk-table__cell
|
134
|
+
<td class="govuk-table__cell">string</td>
|
135
135
|
|
136
|
-
<td class="govuk-table__cell
|
136
|
+
<td class="govuk-table__cell">No</td>
|
137
137
|
|
138
|
-
<td class="govuk-table__cell
|
138
|
+
<td class="govuk-table__cell">HTML to add to the meta section of the footer, which will appear below any links specified using meta.items. If you do not need to use HTML, use meta.text instead.</td>
|
139
139
|
|
140
140
|
</tr>
|
141
141
|
|
@@ -143,11 +143,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
143
143
|
|
144
144
|
<th class="govuk-table__header" scope="row">meta.items</th>
|
145
145
|
|
146
|
-
<td class="govuk-table__cell
|
146
|
+
<td class="govuk-table__cell">array</td>
|
147
147
|
|
148
|
-
<td class="govuk-table__cell
|
148
|
+
<td class="govuk-table__cell">No</td>
|
149
149
|
|
150
|
-
<td class="govuk-table__cell
|
150
|
+
<td class="govuk-table__cell">Array of items for use in the meta section of the footer.</td>
|
151
151
|
|
152
152
|
</tr>
|
153
153
|
|
@@ -155,11 +155,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
155
155
|
|
156
156
|
<th class="govuk-table__header" scope="row">meta.items.{}.text</th>
|
157
157
|
|
158
|
-
<td class="govuk-table__cell
|
158
|
+
<td class="govuk-table__cell">string</td>
|
159
159
|
|
160
|
-
<td class="govuk-table__cell
|
160
|
+
<td class="govuk-table__cell">No</td>
|
161
161
|
|
162
|
-
<td class="govuk-table__cell
|
162
|
+
<td class="govuk-table__cell">List item text in the meta section of the footer.</td>
|
163
163
|
|
164
164
|
</tr>
|
165
165
|
|
@@ -167,11 +167,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
167
167
|
|
168
168
|
<th class="govuk-table__header" scope="row">meta.items.{}.href</th>
|
169
169
|
|
170
|
-
<td class="govuk-table__cell
|
170
|
+
<td class="govuk-table__cell">string</td>
|
171
171
|
|
172
|
-
<td class="govuk-table__cell
|
172
|
+
<td class="govuk-table__cell">No</td>
|
173
173
|
|
174
|
-
<td class="govuk-table__cell
|
174
|
+
<td class="govuk-table__cell">List item href attribute in the meta section of the footer.</td>
|
175
175
|
|
176
176
|
</tr>
|
177
177
|
|
@@ -179,11 +179,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
179
179
|
|
180
180
|
<th class="govuk-table__header" scope="row">meta.items.{}.attributes</th>
|
181
181
|
|
182
|
-
<td class="govuk-table__cell
|
182
|
+
<td class="govuk-table__cell">object</td>
|
183
183
|
|
184
|
-
<td class="govuk-table__cell
|
184
|
+
<td class="govuk-table__cell">No</td>
|
185
185
|
|
186
|
-
<td class="govuk-table__cell
|
186
|
+
<td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the anchor in the footer meta section.</td>
|
187
187
|
|
188
188
|
</tr>
|
189
189
|
|
@@ -191,11 +191,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
191
191
|
|
192
192
|
<th class="govuk-table__header" scope="row">navigation</th>
|
193
193
|
|
194
|
-
<td class="govuk-table__cell
|
194
|
+
<td class="govuk-table__cell">array</td>
|
195
195
|
|
196
|
-
<td class="govuk-table__cell
|
196
|
+
<td class="govuk-table__cell">No</td>
|
197
197
|
|
198
|
-
<td class="govuk-table__cell
|
198
|
+
<td class="govuk-table__cell">Array of items for use in the navigation section of the footer.</td>
|
199
199
|
|
200
200
|
</tr>
|
201
201
|
|
@@ -203,11 +203,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
203
203
|
|
204
204
|
<th class="govuk-table__header" scope="row">navigation.{}.title</th>
|
205
205
|
|
206
|
-
<td class="govuk-table__cell
|
206
|
+
<td class="govuk-table__cell">string</td>
|
207
207
|
|
208
|
-
<td class="govuk-table__cell
|
208
|
+
<td class="govuk-table__cell">No</td>
|
209
209
|
|
210
|
-
<td class="govuk-table__cell
|
210
|
+
<td class="govuk-table__cell">Title for a section</td>
|
211
211
|
|
212
212
|
</tr>
|
213
213
|
|
@@ -215,11 +215,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
215
215
|
|
216
216
|
<th class="govuk-table__header" scope="row">navigation.{}.columns</th>
|
217
217
|
|
218
|
-
<td class="govuk-table__cell
|
218
|
+
<td class="govuk-table__cell">integer</td>
|
219
219
|
|
220
|
-
<td class="govuk-table__cell
|
220
|
+
<td class="govuk-table__cell">No</td>
|
221
221
|
|
222
|
-
<td class="govuk-table__cell
|
222
|
+
<td class="govuk-table__cell">Amount of columns to display items in navigation section of the footer.</td>
|
223
223
|
|
224
224
|
</tr>
|
225
225
|
|
@@ -227,11 +227,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
227
227
|
|
228
228
|
<th class="govuk-table__header" scope="row">navigation.items</th>
|
229
229
|
|
230
|
-
<td class="govuk-table__cell
|
230
|
+
<td class="govuk-table__cell">array</td>
|
231
231
|
|
232
|
-
<td class="govuk-table__cell
|
232
|
+
<td class="govuk-table__cell">No</td>
|
233
233
|
|
234
|
-
<td class="govuk-table__cell
|
234
|
+
<td class="govuk-table__cell">Array of items to display in the list in navigation section of the footer.</td>
|
235
235
|
|
236
236
|
</tr>
|
237
237
|
|
@@ -239,11 +239,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
239
239
|
|
240
240
|
<th class="govuk-table__header" scope="row">navigation.items.{}.text</th>
|
241
241
|
|
242
|
-
<td class="govuk-table__cell
|
242
|
+
<td class="govuk-table__cell">string</td>
|
243
243
|
|
244
|
-
<td class="govuk-table__cell
|
244
|
+
<td class="govuk-table__cell">No</td>
|
245
245
|
|
246
|
-
<td class="govuk-table__cell
|
246
|
+
<td class="govuk-table__cell">List item text in the navigation section of the footer.</td>
|
247
247
|
|
248
248
|
</tr>
|
249
249
|
|
@@ -251,11 +251,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
251
251
|
|
252
252
|
<th class="govuk-table__header" scope="row">navigation.items.{}.href</th>
|
253
253
|
|
254
|
-
<td class="govuk-table__cell
|
254
|
+
<td class="govuk-table__cell">string</td>
|
255
255
|
|
256
|
-
<td class="govuk-table__cell
|
256
|
+
<td class="govuk-table__cell">No</td>
|
257
257
|
|
258
|
-
<td class="govuk-table__cell
|
258
|
+
<td class="govuk-table__cell">List item href attribute in the navigation section of the footer. Both `text` and `href` attributes need to be present to create a link.</td>
|
259
259
|
|
260
260
|
</tr>
|
261
261
|
|
@@ -263,11 +263,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
263
263
|
|
264
264
|
<th class="govuk-table__header" scope="row">navigation.items.{}.attributes</th>
|
265
265
|
|
266
|
-
<td class="govuk-table__cell
|
266
|
+
<td class="govuk-table__cell">object</td>
|
267
267
|
|
268
|
-
<td class="govuk-table__cell
|
268
|
+
<td class="govuk-table__cell">No</td>
|
269
269
|
|
270
|
-
<td class="govuk-table__cell
|
270
|
+
<td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the anchor in the footer navigation section.</td>
|
271
271
|
|
272
272
|
</tr>
|
273
273
|
|
@@ -275,11 +275,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
275
275
|
|
276
276
|
<th class="govuk-table__header" scope="row">containerClasses</th>
|
277
277
|
|
278
|
-
<td class="govuk-table__cell
|
278
|
+
<td class="govuk-table__cell">string</td>
|
279
279
|
|
280
|
-
<td class="govuk-table__cell
|
280
|
+
<td class="govuk-table__cell">No</td>
|
281
281
|
|
282
|
-
<td class="govuk-table__cell
|
282
|
+
<td class="govuk-table__cell">Classes that can be added to the inner container, useful if you want to make the footer full width.</td>
|
283
283
|
|
284
284
|
</tr>
|
285
285
|
|
@@ -287,11 +287,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
287
287
|
|
288
288
|
<th class="govuk-table__header" scope="row">classes</th>
|
289
289
|
|
290
|
-
<td class="govuk-table__cell
|
290
|
+
<td class="govuk-table__cell">string</td>
|
291
291
|
|
292
|
-
<td class="govuk-table__cell
|
292
|
+
<td class="govuk-table__cell">No</td>
|
293
293
|
|
294
|
-
<td class="govuk-table__cell
|
294
|
+
<td class="govuk-table__cell">Optional additional classes to add to the footer component container.</td>
|
295
295
|
|
296
296
|
</tr>
|
297
297
|
|
@@ -299,11 +299,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
299
299
|
|
300
300
|
<th class="govuk-table__header" scope="row">attributes</th>
|
301
301
|
|
302
|
-
<td class="govuk-table__cell
|
302
|
+
<td class="govuk-table__cell">object</td>
|
303
303
|
|
304
|
-
<td class="govuk-table__cell
|
304
|
+
<td class="govuk-table__cell">No</td>
|
305
305
|
|
306
|
-
<td class="govuk-table__cell
|
306
|
+
<td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the footer component container.</td>
|
307
307
|
|
308
308
|
</tr>
|
309
309
|
|
@@ -367,11 +367,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
367
367
|
|
368
368
|
<th class="govuk-table__header" scope="row">homepageUrl</th>
|
369
369
|
|
370
|
-
<td class="govuk-table__cell
|
370
|
+
<td class="govuk-table__cell">string</td>
|
371
371
|
|
372
|
-
<td class="govuk-table__cell
|
372
|
+
<td class="govuk-table__cell">No</td>
|
373
373
|
|
374
|
-
<td class="govuk-table__cell
|
374
|
+
<td class="govuk-table__cell">The url of the homepage. Defaults to /</td>
|
375
375
|
|
376
376
|
</tr>
|
377
377
|
|
@@ -379,11 +379,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
379
379
|
|
380
380
|
<th class="govuk-table__header" scope="row">assetsPath</th>
|
381
381
|
|
382
|
-
<td class="govuk-table__cell
|
382
|
+
<td class="govuk-table__cell">string</td>
|
383
383
|
|
384
|
-
<td class="govuk-table__cell
|
384
|
+
<td class="govuk-table__cell">No</td>
|
385
385
|
|
386
|
-
<td class="govuk-table__cell
|
386
|
+
<td class="govuk-table__cell">The public path for the assets folder. If not provided it defaults to /assets/images</td>
|
387
387
|
|
388
388
|
</tr>
|
389
389
|
|
@@ -391,11 +391,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
391
391
|
|
392
392
|
<th class="govuk-table__header" scope="row">productName</th>
|
393
393
|
|
394
|
-
<td class="govuk-table__cell
|
394
|
+
<td class="govuk-table__cell">string</td>
|
395
395
|
|
396
|
-
<td class="govuk-table__cell
|
396
|
+
<td class="govuk-table__cell">No</td>
|
397
397
|
|
398
|
-
<td class="govuk-table__cell
|
398
|
+
<td class="govuk-table__cell">Header title that is placed next to GOV.UK. Used for product names (i.e. Pay, Verify)</td>
|
399
399
|
|
400
400
|
</tr>
|
401
401
|
|
@@ -403,11 +403,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
403
403
|
|
404
404
|
<th class="govuk-table__header" scope="row">serviceName</th>
|
405
405
|
|
406
|
-
<td class="govuk-table__cell
|
406
|
+
<td class="govuk-table__cell">string</td>
|
407
407
|
|
408
|
-
<td class="govuk-table__cell
|
408
|
+
<td class="govuk-table__cell">No</td>
|
409
409
|
|
410
|
-
<td class="govuk-table__cell
|
410
|
+
<td class="govuk-table__cell">Header title that is placed next to GOV.UK. Used for product names (i.e. Pay, Verify)</td>
|
411
411
|
|
412
412
|
</tr>
|
413
413
|
|
@@ -415,11 +415,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
415
415
|
|
416
416
|
<th class="govuk-table__header" scope="row">serviceUrl</th>
|
417
417
|
|
418
|
-
<td class="govuk-table__cell
|
418
|
+
<td class="govuk-table__cell">string</td>
|
419
419
|
|
420
|
-
<td class="govuk-table__cell
|
420
|
+
<td class="govuk-table__cell">No</td>
|
421
421
|
|
422
|
-
<td class="govuk-table__cell
|
422
|
+
<td class="govuk-table__cell">Url for the service name anchor.</td>
|
423
423
|
|
424
424
|
</tr>
|
425
425
|
|
@@ -427,11 +427,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
427
427
|
|
428
428
|
<th class="govuk-table__header" scope="row">navigation</th>
|
429
429
|
|
430
|
-
<td class="govuk-table__cell
|
430
|
+
<td class="govuk-table__cell">array</td>
|
431
431
|
|
432
|
-
<td class="govuk-table__cell
|
432
|
+
<td class="govuk-table__cell">No</td>
|
433
433
|
|
434
|
-
<td class="govuk-table__cell
|
434
|
+
<td class="govuk-table__cell">An array of navigation item objects.</td>
|
435
435
|
|
436
436
|
</tr>
|
437
437
|
|
@@ -439,11 +439,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
439
439
|
|
440
440
|
<th class="govuk-table__header" scope="row">navigation.{}.text</th>
|
441
441
|
|
442
|
-
<td class="govuk-table__cell
|
442
|
+
<td class="govuk-table__cell">string</td>
|
443
443
|
|
444
|
-
<td class="govuk-table__cell
|
444
|
+
<td class="govuk-table__cell">No</td>
|
445
445
|
|
446
|
-
<td class="govuk-table__cell
|
446
|
+
<td class="govuk-table__cell">Text of the navigation item.</td>
|
447
447
|
|
448
448
|
</tr>
|
449
449
|
|
@@ -451,11 +451,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
451
451
|
|
452
452
|
<th class="govuk-table__header" scope="row">navigation.{}.href</th>
|
453
453
|
|
454
|
-
<td class="govuk-table__cell
|
454
|
+
<td class="govuk-table__cell">string</td>
|
455
455
|
|
456
|
-
<td class="govuk-table__cell
|
456
|
+
<td class="govuk-table__cell">No</td>
|
457
457
|
|
458
|
-
<td class="govuk-table__cell
|
458
|
+
<td class="govuk-table__cell">Url of the navigation item anchor. Both `href` and `text` attributes for navigation items need to be provided to create an item.</td>
|
459
459
|
|
460
460
|
</tr>
|
461
461
|
|
@@ -463,11 +463,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
463
463
|
|
464
464
|
<th class="govuk-table__header" scope="row">navigation.{}.active</th>
|
465
465
|
|
466
|
-
<td class="govuk-table__cell
|
466
|
+
<td class="govuk-table__cell">boolean</td>
|
467
467
|
|
468
|
-
<td class="govuk-table__cell
|
468
|
+
<td class="govuk-table__cell">No</td>
|
469
469
|
|
470
|
-
<td class="govuk-table__cell
|
470
|
+
<td class="govuk-table__cell">Flag to mark the navigation item as active or not.</td>
|
471
471
|
|
472
472
|
</tr>
|
473
473
|
|
@@ -475,11 +475,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
475
475
|
|
476
476
|
<th class="govuk-table__header" scope="row">navigation.{}.attributes</th>
|
477
477
|
|
478
|
-
<td class="govuk-table__cell
|
478
|
+
<td class="govuk-table__cell">object</td>
|
479
479
|
|
480
|
-
<td class="govuk-table__cell
|
480
|
+
<td class="govuk-table__cell">No</td>
|
481
481
|
|
482
|
-
<td class="govuk-table__cell
|
482
|
+
<td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the navigation item anchor.</td>
|
483
483
|
|
484
484
|
</tr>
|
485
485
|
|
@@ -487,11 +487,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
487
487
|
|
488
488
|
<th class="govuk-table__header" scope="row">navigationClasses</th>
|
489
489
|
|
490
|
-
<td class="govuk-table__cell
|
490
|
+
<td class="govuk-table__cell">string</td>
|
491
491
|
|
492
|
-
<td class="govuk-table__cell
|
492
|
+
<td class="govuk-table__cell">No</td>
|
493
493
|
|
494
|
-
<td class="govuk-table__cell
|
494
|
+
<td class="govuk-table__cell">Optional classes that can be added to the navigation section of the header.</td>
|
495
495
|
|
496
496
|
</tr>
|
497
497
|
|
@@ -499,11 +499,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
499
499
|
|
500
500
|
<th class="govuk-table__header" scope="row">containerClasses</th>
|
501
501
|
|
502
|
-
<td class="govuk-table__cell
|
502
|
+
<td class="govuk-table__cell">string</td>
|
503
503
|
|
504
|
-
<td class="govuk-table__cell
|
504
|
+
<td class="govuk-table__cell">No</td>
|
505
505
|
|
506
|
-
<td class="govuk-table__cell
|
506
|
+
<td class="govuk-table__cell">Optional classes that can be added to the container, useful if you want to make the header fixed width.</td>
|
507
507
|
|
508
508
|
</tr>
|
509
509
|
|
@@ -511,11 +511,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
511
511
|
|
512
512
|
<th class="govuk-table__header" scope="row">classes</th>
|
513
513
|
|
514
|
-
<td class="govuk-table__cell
|
514
|
+
<td class="govuk-table__cell">string</td>
|
515
515
|
|
516
|
-
<td class="govuk-table__cell
|
516
|
+
<td class="govuk-table__cell">No</td>
|
517
517
|
|
518
|
-
<td class="govuk-table__cell
|
518
|
+
<td class="govuk-table__cell">Optional additional classes to add to the header container.</td>
|
519
519
|
|
520
520
|
</tr>
|
521
521
|
|
@@ -523,11 +523,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
523
523
|
|
524
524
|
<th class="govuk-table__header" scope="row">attributes</th>
|
525
525
|
|
526
|
-
<td class="govuk-table__cell
|
526
|
+
<td class="govuk-table__cell">object</td>
|
527
527
|
|
528
|
-
<td class="govuk-table__cell
|
528
|
+
<td class="govuk-table__cell">No</td>
|
529
529
|
|
530
|
-
<td class="govuk-table__cell
|
530
|
+
<td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the header container.</td>
|
531
531
|
|
532
532
|
</tr>
|
533
533
|
|