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.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss +1 -0
  3. data/lib/govuk_publishing_components/version.rb +1 -1
  4. data/node_modules/govuk-frontend/all.js +188 -0
  5. data/node_modules/govuk-frontend/components/_all.scss +1 -0
  6. data/node_modules/govuk-frontend/components/back-link/README.md +12 -12
  7. data/node_modules/govuk-frontend/components/breadcrumbs/README.md +18 -18
  8. data/node_modules/govuk-frontend/components/button/README.md +30 -30
  9. data/node_modules/govuk-frontend/components/button/template.njk +1 -1
  10. data/node_modules/govuk-frontend/components/character-count/README.md +497 -0
  11. data/node_modules/govuk-frontend/components/character-count/_character-count.scss +31 -0
  12. data/node_modules/govuk-frontend/components/character-count/character-count.js +1201 -0
  13. data/node_modules/govuk-frontend/components/character-count/macro-options.json +83 -0
  14. data/node_modules/govuk-frontend/components/character-count/macro.njk +3 -0
  15. data/node_modules/govuk-frontend/components/character-count/template.njk +32 -0
  16. data/node_modules/govuk-frontend/components/checkboxes/README.md +57 -57
  17. data/node_modules/govuk-frontend/components/date-input/README.md +36 -36
  18. data/node_modules/govuk-frontend/components/details/README.md +18 -18
  19. data/node_modules/govuk-frontend/components/error-message/README.md +12 -12
  20. data/node_modules/govuk-frontend/components/error-summary/README.md +24 -24
  21. data/node_modules/govuk-frontend/components/fieldset/README.md +21 -21
  22. data/node_modules/govuk-frontend/components/file-upload/README.md +24 -24
  23. data/node_modules/govuk-frontend/components/footer/README.md +51 -51
  24. data/node_modules/govuk-frontend/components/header/README.md +42 -42
  25. data/node_modules/govuk-frontend/components/header/_header.scss +2 -0
  26. data/node_modules/govuk-frontend/components/hint/README.md +12 -12
  27. data/node_modules/govuk-frontend/components/input/README.md +27 -27
  28. data/node_modules/govuk-frontend/components/inset-text/README.md +12 -12
  29. data/node_modules/govuk-frontend/components/label/README.md +15 -15
  30. data/node_modules/govuk-frontend/components/panel/README.md +15 -15
  31. data/node_modules/govuk-frontend/components/phase-banner/README.md +12 -12
  32. data/node_modules/govuk-frontend/components/radios/README.md +60 -60
  33. data/node_modules/govuk-frontend/components/radios/_radios.scss +1 -0
  34. data/node_modules/govuk-frontend/components/select/README.md +39 -39
  35. data/node_modules/govuk-frontend/components/select/_select.scss +1 -1
  36. data/node_modules/govuk-frontend/components/skip-link/README.md +12 -12
  37. data/node_modules/govuk-frontend/components/table/README.md +45 -45
  38. data/node_modules/govuk-frontend/components/table/macro-options.json +12 -0
  39. data/node_modules/govuk-frontend/components/table/template.njk +7 -3
  40. data/node_modules/govuk-frontend/components/tabs/README.md +30 -30
  41. data/node_modules/govuk-frontend/components/tag/README.md +9 -9
  42. data/node_modules/govuk-frontend/components/textarea/README.md +30 -30
  43. data/node_modules/govuk-frontend/components/warning-text/README.md +12 -12
  44. data/node_modules/govuk-frontend/package.json +11 -11
  45. metadata +8 -2
@@ -12,8 +12,8 @@
12
12
  @include govuk-focusable;
13
13
 
14
14
  box-sizing: border-box; // should this be global?
15
+ max-width: 100%;
15
16
  height: 40px;
16
-
17
17
  padding: govuk-spacing(1); // was 5px 4px 4px - size of it should be adjusted to match other form elements
18
18
  border: $govuk-border-width-form-element solid $govuk-input-border-colour;
19
19
  }
@@ -73,11 +73,11 @@ If you are using Nunjucks,then macros take the following arguments
73
73
 
74
74
  <th class="govuk-table__header" scope="row">text (or) html</th>
75
75
 
76
- <td class="govuk-table__cell ">string</td>
76
+ <td class="govuk-table__cell">string</td>
77
77
 
78
- <td class="govuk-table__cell ">No</td>
78
+ <td class="govuk-table__cell">No</td>
79
79
 
80
- <td class="govuk-table__cell ">Text or HTML to use within the skip link. If `html` is provided, the `text` argument will be ignored.</td>
80
+ <td class="govuk-table__cell">Text or HTML to use within the skip link. If `html` is provided, the `text` argument will be ignored.</td>
81
81
 
82
82
  </tr>
83
83
 
@@ -85,11 +85,11 @@ If you are using Nunjucks,then macros take the following arguments
85
85
 
86
86
  <th class="govuk-table__header" scope="row">href</th>
87
87
 
88
- <td class="govuk-table__cell ">string</td>
88
+ <td class="govuk-table__cell">string</td>
89
89
 
90
- <td class="govuk-table__cell ">Yes</td>
90
+ <td class="govuk-table__cell">Yes</td>
91
91
 
92
- <td class="govuk-table__cell ">The value of the skip link href attribute. Defaults to #content</td>
92
+ <td class="govuk-table__cell">The value of the skip link href attribute. Defaults to #content</td>
93
93
 
94
94
  </tr>
95
95
 
@@ -97,11 +97,11 @@ If you are using Nunjucks,then macros take the following arguments
97
97
 
98
98
  <th class="govuk-table__header" scope="row">classes</th>
99
99
 
100
- <td class="govuk-table__cell ">string</td>
100
+ <td class="govuk-table__cell">string</td>
101
101
 
102
- <td class="govuk-table__cell ">No</td>
102
+ <td class="govuk-table__cell">No</td>
103
103
 
104
- <td class="govuk-table__cell ">Optional additional classes to add to the skip link.</td>
104
+ <td class="govuk-table__cell">Optional additional classes to add to the skip link.</td>
105
105
 
106
106
  </tr>
107
107
 
@@ -109,11 +109,11 @@ If you are using Nunjucks,then macros take the following arguments
109
109
 
110
110
  <th class="govuk-table__header" scope="row">attributes</th>
111
111
 
112
- <td class="govuk-table__cell ">object</td>
112
+ <td class="govuk-table__cell">object</td>
113
113
 
114
- <td class="govuk-table__cell ">No</td>
114
+ <td class="govuk-table__cell">No</td>
115
115
 
116
- <td class="govuk-table__cell ">Any extra HTML attributes (for example data attributes) to add to the skip link.</td>
116
+ <td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the skip link.</td>
117
117
 
118
118
  </tr>
119
119
 
@@ -384,11 +384,11 @@ If you are using Nunjucks,then macros take the following arguments
384
384
 
385
385
  <th class="govuk-table__header" scope="row">rows</th>
386
386
 
387
- <td class="govuk-table__cell ">array</td>
387
+ <td class="govuk-table__cell">array</td>
388
388
 
389
- <td class="govuk-table__cell ">Yes</td>
389
+ <td class="govuk-table__cell">Yes</td>
390
390
 
391
- <td class="govuk-table__cell ">Array of table rows and cells.</td>
391
+ <td class="govuk-table__cell">Array of table rows and cells.</td>
392
392
 
393
393
  </tr>
394
394
 
@@ -396,11 +396,11 @@ If you are using Nunjucks,then macros take the following arguments
396
396
 
397
397
  <th class="govuk-table__header" scope="row">rows.[].text (or) rows.[].html</th>
398
398
 
399
- <td class="govuk-table__cell ">string</td>
399
+ <td class="govuk-table__cell">string</td>
400
400
 
401
- <td class="govuk-table__cell ">Yes</td>
401
+ <td class="govuk-table__cell">Yes</td>
402
402
 
403
- <td class="govuk-table__cell ">Text or HTML for cells in table rows. If `html` is specified, the `text` argument will be ignored.</td>
403
+ <td class="govuk-table__cell">Text or HTML for cells in table rows. If `html` is specified, the `text` argument will be ignored.</td>
404
404
 
405
405
  </tr>
406
406
 
@@ -408,11 +408,11 @@ If you are using Nunjucks,then macros take the following arguments
408
408
 
409
409
  <th class="govuk-table__header" scope="row">rows.[].format</th>
410
410
 
411
- <td class="govuk-table__cell ">string</td>
411
+ <td class="govuk-table__cell">string</td>
412
412
 
413
- <td class="govuk-table__cell ">No</td>
413
+ <td class="govuk-table__cell">No</td>
414
414
 
415
- <td class="govuk-table__cell ">Specify format of a cell. Currently we only use "numeric".</td>
415
+ <td class="govuk-table__cell">Specify format of a cell. Currently we only use "numeric".</td>
416
416
 
417
417
  </tr>
418
418
 
@@ -420,11 +420,11 @@ If you are using Nunjucks,then macros take the following arguments
420
420
 
421
421
  <th class="govuk-table__header" scope="row">rows.[].colspan</th>
422
422
 
423
- <td class="govuk-table__cell ">number</td>
423
+ <td class="govuk-table__cell">number</td>
424
424
 
425
- <td class="govuk-table__cell ">No</td>
425
+ <td class="govuk-table__cell">No</td>
426
426
 
427
- <td class="govuk-table__cell ">Specify how many columns a cell extends.</td>
427
+ <td class="govuk-table__cell">Specify how many columns a cell extends.</td>
428
428
 
429
429
  </tr>
430
430
 
@@ -432,11 +432,11 @@ If you are using Nunjucks,then macros take the following arguments
432
432
 
433
433
  <th class="govuk-table__header" scope="row">rows.[].rowspan</th>
434
434
 
435
- <td class="govuk-table__cell ">number</td>
435
+ <td class="govuk-table__cell">number</td>
436
436
 
437
- <td class="govuk-table__cell ">No</td>
437
+ <td class="govuk-table__cell">No</td>
438
438
 
439
- <td class="govuk-table__cell ">Specify how many rows a cell extends.</td>
439
+ <td class="govuk-table__cell">Specify how many rows a cell extends.</td>
440
440
 
441
441
  </tr>
442
442
 
@@ -444,11 +444,11 @@ If you are using Nunjucks,then macros take the following arguments
444
444
 
445
445
  <th class="govuk-table__header" scope="row">head</th>
446
446
 
447
- <td class="govuk-table__cell ">array</td>
447
+ <td class="govuk-table__cell">array</td>
448
448
 
449
- <td class="govuk-table__cell ">No</td>
449
+ <td class="govuk-table__cell">No</td>
450
450
 
451
- <td class="govuk-table__cell ">Optional array of table head cells.</td>
451
+ <td class="govuk-table__cell">Optional array of table head cells.</td>
452
452
 
453
453
  </tr>
454
454
 
@@ -456,11 +456,11 @@ If you are using Nunjucks,then macros take the following arguments
456
456
 
457
457
  <th class="govuk-table__header" scope="row">head.[].text or head.[].html</th>
458
458
 
459
- <td class="govuk-table__cell ">array</td>
459
+ <td class="govuk-table__cell">array</td>
460
460
 
461
- <td class="govuk-table__cell ">No</td>
461
+ <td class="govuk-table__cell">No</td>
462
462
 
463
- <td class="govuk-table__cell ">Optional array of table head cells. If `html` is specified, the `text` argument will be ignored.</td>
463
+ <td class="govuk-table__cell">Optional array of table head cells. If `html` is specified, the `text` argument will be ignored.</td>
464
464
 
465
465
  </tr>
466
466
 
@@ -468,11 +468,11 @@ If you are using Nunjucks,then macros take the following arguments
468
468
 
469
469
  <th class="govuk-table__header" scope="row">head.[].colspan</th>
470
470
 
471
- <td class="govuk-table__cell ">number</td>
471
+ <td class="govuk-table__cell">number</td>
472
472
 
473
- <td class="govuk-table__cell ">No</td>
473
+ <td class="govuk-table__cell">No</td>
474
474
 
475
- <td class="govuk-table__cell ">Specify how many columns a cell extends.</td>
475
+ <td class="govuk-table__cell">Specify how many columns a cell extends.</td>
476
476
 
477
477
  </tr>
478
478
 
@@ -480,11 +480,11 @@ If you are using Nunjucks,then macros take the following arguments
480
480
 
481
481
  <th class="govuk-table__header" scope="row">head.[].rowspan</th>
482
482
 
483
- <td class="govuk-table__cell ">number</td>
483
+ <td class="govuk-table__cell">number</td>
484
484
 
485
- <td class="govuk-table__cell ">No</td>
485
+ <td class="govuk-table__cell">No</td>
486
486
 
487
- <td class="govuk-table__cell ">Specify how many rows a cell extends.</td>
487
+ <td class="govuk-table__cell">Specify how many rows a cell extends.</td>
488
488
 
489
489
  </tr>
490
490
 
@@ -492,11 +492,11 @@ If you are using Nunjucks,then macros take the following arguments
492
492
 
493
493
  <th class="govuk-table__header" scope="row">head.[].format</th>
494
494
 
495
- <td class="govuk-table__cell ">string</td>
495
+ <td class="govuk-table__cell">string</td>
496
496
 
497
- <td class="govuk-table__cell ">No</td>
497
+ <td class="govuk-table__cell">No</td>
498
498
 
499
- <td class="govuk-table__cell ">Specify format of a cell. Currently we only use "numeric".</td>
499
+ <td class="govuk-table__cell">Specify format of a cell. Currently we only use "numeric".</td>
500
500
 
501
501
  </tr>
502
502
 
@@ -504,11 +504,11 @@ If you are using Nunjucks,then macros take the following arguments
504
504
 
505
505
  <th class="govuk-table__header" scope="row">caption</th>
506
506
 
507
- <td class="govuk-table__cell ">string</td>
507
+ <td class="govuk-table__cell">string</td>
508
508
 
509
- <td class="govuk-table__cell ">No</td>
509
+ <td class="govuk-table__cell">No</td>
510
510
 
511
- <td class="govuk-table__cell ">Optional caption text.</td>
511
+ <td class="govuk-table__cell">Optional caption text.</td>
512
512
 
513
513
  </tr>
514
514
 
@@ -516,11 +516,11 @@ If you are using Nunjucks,then macros take the following arguments
516
516
 
517
517
  <th class="govuk-table__header" scope="row">captionClasses</th>
518
518
 
519
- <td class="govuk-table__cell ">string</td>
519
+ <td class="govuk-table__cell">string</td>
520
520
 
521
- <td class="govuk-table__cell ">No</td>
521
+ <td class="govuk-table__cell">No</td>
522
522
 
523
- <td class="govuk-table__cell ">Optional classes for caption text size. Class should correspond to the available typography heading classes.</td>
523
+ <td class="govuk-table__cell">Optional classes for caption text size. Class should correspond to the available typography heading classes.</td>
524
524
 
525
525
  </tr>
526
526
 
@@ -528,11 +528,11 @@ If you are using Nunjucks,then macros take the following arguments
528
528
 
529
529
  <th class="govuk-table__header" scope="row">firstCellIsHeader</th>
530
530
 
531
- <td class="govuk-table__cell ">boolean</td>
531
+ <td class="govuk-table__cell">boolean</td>
532
532
 
533
- <td class="govuk-table__cell ">No</td>
533
+ <td class="govuk-table__cell">No</td>
534
534
 
535
- <td class="govuk-table__cell ">If set to true, first cell in table row will be a TH instead of a TD.</td>
535
+ <td class="govuk-table__cell">If set to true, first cell in table row will be a TH instead of a TD.</td>
536
536
 
537
537
  </tr>
538
538
 
@@ -540,11 +540,11 @@ If you are using Nunjucks,then macros take the following arguments
540
540
 
541
541
  <th class="govuk-table__header" scope="row">classes</th>
542
542
 
543
- <td class="govuk-table__cell ">string</td>
543
+ <td class="govuk-table__cell">string</td>
544
544
 
545
- <td class="govuk-table__cell ">No</td>
545
+ <td class="govuk-table__cell">No</td>
546
546
 
547
- <td class="govuk-table__cell ">Optional additional classes to add to the table container.</td>
547
+ <td class="govuk-table__cell">Optional additional classes to add to the table container.</td>
548
548
 
549
549
  </tr>
550
550
 
@@ -552,11 +552,11 @@ If you are using Nunjucks,then macros take the following arguments
552
552
 
553
553
  <th class="govuk-table__header" scope="row">attributes</th>
554
554
 
555
- <td class="govuk-table__cell ">object</td>
555
+ <td class="govuk-table__cell">object</td>
556
556
 
557
- <td class="govuk-table__cell ">No</td>
557
+ <td class="govuk-table__cell">No</td>
558
558
 
559
- <td class="govuk-table__cell ">Any extra HTML attributes (for example data attributes) to add to the table container.</td>
559
+ <td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the table container.</td>
560
560
 
561
561
  </tr>
562
562
 
@@ -23,6 +23,12 @@
23
23
  "required": false,
24
24
  "description": "Specify format of a cell. Currently we only use \"numeric\"."
25
25
  },
26
+ {
27
+ "name": "classes",
28
+ "type": "string",
29
+ "required": false,
30
+ "description": "Classes to add to the table row cell."
31
+ },
26
32
  {
27
33
  "name": "colspan",
28
34
  "type": "integer",
@@ -61,6 +67,12 @@
61
67
  "required": false,
62
68
  "description": "Specify format of a cell. Currently we only use \"numeric\"."
63
69
  },
70
+ {
71
+ "name": "classes",
72
+ "type": "string",
73
+ "required": false,
74
+ "description": "Classes to add to the table head cell."
75
+ },
64
76
  {
65
77
  "name": "colspan",
66
78
  "type": "integer",
@@ -9,7 +9,8 @@
9
9
  <tr class="govuk-table__row">
10
10
  {% for item in params.head %}
11
11
  <th class="govuk-table__header
12
- {%- if item.format %} govuk-table__header--{{ item.format }}{% endif %}"
12
+ {%- if item.format %} govuk-table__header--{{ item.format }}{% endif %}
13
+ {%- if item.classes %} {{ item.classes }}{% endif %}"
13
14
  {%- if item.colspan %} colspan="{{ item.colspan }}"{% endif %}
14
15
  {%- if item.rowspan %} rowspan="{{ item.rowspan }}"{% endif %} scope="col">{{ item.html |safe if item.html else item.text }}</th>
15
16
  {% endfor %}
@@ -24,11 +25,14 @@
24
25
  <th class="govuk-table__header" scope="row">{{ cell.html | safe if cell.html else cell.text }}</th>
25
26
  {% elseif loop.first %}
26
27
  <td class="govuk-table__cell
27
- {%- if cell.format %} govuk-table__cell--{{ cell.format }}{% endif %}"
28
+ {%- if cell.format %} govuk-table__cell--{{ cell.format }}{% endif %}
29
+ {%- if cell.classes %} {{ cell.classes }}{% endif %}"
28
30
  {%- if cell.colspan %} colspan="{{ cell.colspan }}"{% endif %}
29
31
  {%- if cell.rowspan %} rowspan="{{ cell.rowspan }}"{% endif %}>{{ cell.html | safe if cell.html else cell.text }}</td>
30
32
  {% else %}
31
- <td class="govuk-table__cell {% if cell.format %}govuk-table__cell--{{ cell.format }}{% endif %}"
33
+ <td class="govuk-table__cell
34
+ {%- if cell.format %} govuk-table__cell--{{ cell.format }}{% endif %}
35
+ {%- if cell.classes %} {{ cell.classes }}{% endif %}"
32
36
  {%- if cell.colspan %} colspan="{{ cell.colspan }}"{% endif %}
33
37
  {%- if cell.rowspan %} rowspan="{{ cell.rowspan }}"{% endif %}>{{ cell.html | safe if cell.html else cell.text }}</td>
34
38
  {% endif %}
@@ -258,11 +258,11 @@ If you are using Nunjucks,then macros take the following arguments
258
258
 
259
259
  <th class="govuk-table__header" scope="row">id</th>
260
260
 
261
- <td class="govuk-table__cell ">string</td>
261
+ <td class="govuk-table__cell">string</td>
262
262
 
263
- <td class="govuk-table__cell ">No</td>
263
+ <td class="govuk-table__cell">No</td>
264
264
 
265
- <td class="govuk-table__cell ">Optional id</td>
265
+ <td class="govuk-table__cell">Optional id</td>
266
266
 
267
267
  </tr>
268
268
 
@@ -270,11 +270,11 @@ If you are using Nunjucks,then macros take the following arguments
270
270
 
271
271
  <th class="govuk-table__header" scope="row">classes</th>
272
272
 
273
- <td class="govuk-table__cell ">string</td>
273
+ <td class="govuk-table__cell">string</td>
274
274
 
275
- <td class="govuk-table__cell ">No</td>
275
+ <td class="govuk-table__cell">No</td>
276
276
 
277
- <td class="govuk-table__cell ">Optional additional classes</td>
277
+ <td class="govuk-table__cell">Optional additional classes</td>
278
278
 
279
279
  </tr>
280
280
 
@@ -282,11 +282,11 @@ If you are using Nunjucks,then macros take the following arguments
282
282
 
283
283
  <th class="govuk-table__header" scope="row">attributes</th>
284
284
 
285
- <td class="govuk-table__cell ">object</td>
285
+ <td class="govuk-table__cell">object</td>
286
286
 
287
- <td class="govuk-table__cell ">No</td>
287
+ <td class="govuk-table__cell">No</td>
288
288
 
289
- <td class="govuk-table__cell ">Any extra HTML attributes (for example data attributes) to add to the tabs container</td>
289
+ <td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the tabs container</td>
290
290
 
291
291
  </tr>
292
292
 
@@ -294,11 +294,11 @@ If you are using Nunjucks,then macros take the following arguments
294
294
 
295
295
  <th class="govuk-table__header" scope="row">idPrefix</th>
296
296
 
297
- <td class="govuk-table__cell ">string</td>
297
+ <td class="govuk-table__cell">string</td>
298
298
 
299
- <td class="govuk-table__cell ">No</td>
299
+ <td class="govuk-table__cell">No</td>
300
300
 
301
- <td class="govuk-table__cell ">String to prefix id for each tab item if no id is specified on each item</td>
301
+ <td class="govuk-table__cell">String to prefix id for each tab item if no id is specified on each item</td>
302
302
 
303
303
  </tr>
304
304
 
@@ -306,11 +306,11 @@ If you are using Nunjucks,then macros take the following arguments
306
306
 
307
307
  <th class="govuk-table__header" scope="row">items</th>
308
308
 
309
- <td class="govuk-table__cell ">array</td>
309
+ <td class="govuk-table__cell">array</td>
310
310
 
311
- <td class="govuk-table__cell ">Yes</td>
311
+ <td class="govuk-table__cell">Yes</td>
312
312
 
313
- <td class="govuk-table__cell ">Array of tab items</td>
313
+ <td class="govuk-table__cell">Array of tab items</td>
314
314
 
315
315
  </tr>
316
316
 
@@ -318,11 +318,11 @@ If you are using Nunjucks,then macros take the following arguments
318
318
 
319
319
  <th class="govuk-table__header" scope="row">items.{}.id</th>
320
320
 
321
- <td class="govuk-table__cell ">string</td>
321
+ <td class="govuk-table__cell">string</td>
322
322
 
323
- <td class="govuk-table__cell ">Yes</td>
323
+ <td class="govuk-table__cell">Yes</td>
324
324
 
325
- <td class="govuk-table__cell ">Specific id attribute for the tab item. If ommited, then `idPrefix` string will be applied.</td>
325
+ <td class="govuk-table__cell">Specific id attribute for the tab item. If ommited, then `idPrefix` string will be applied.</td>
326
326
 
327
327
  </tr>
328
328
 
@@ -330,11 +330,11 @@ If you are using Nunjucks,then macros take the following arguments
330
330
 
331
331
  <th class="govuk-table__header" scope="row">items.{}.label</th>
332
332
 
333
- <td class="govuk-table__cell ">string</td>
333
+ <td class="govuk-table__cell">string</td>
334
334
 
335
- <td class="govuk-table__cell ">Yes</td>
335
+ <td class="govuk-table__cell">Yes</td>
336
336
 
337
- <td class="govuk-table__cell ">The text label of a tab item</td>
337
+ <td class="govuk-table__cell">The text label of a tab item</td>
338
338
 
339
339
  </tr>
340
340
 
@@ -342,11 +342,11 @@ If you are using Nunjucks,then macros take the following arguments
342
342
 
343
343
  <th class="govuk-table__header" scope="row">items.{}.attributes</th>
344
344
 
345
- <td class="govuk-table__cell ">object</td>
345
+ <td class="govuk-table__cell">object</td>
346
346
 
347
- <td class="govuk-table__cell ">No</td>
347
+ <td class="govuk-table__cell">No</td>
348
348
 
349
- <td class="govuk-table__cell ">Any extra HTML attributes (for example data attributes) to add to the tab item anchor.</td>
349
+ <td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the tab item anchor.</td>
350
350
 
351
351
  </tr>
352
352
 
@@ -354,11 +354,11 @@ If you are using Nunjucks,then macros take the following arguments
354
354
 
355
355
  <th class="govuk-table__header" scope="row">items.{}.panel.text (or) items.{}.panel.html</th>
356
356
 
357
- <td class="govuk-table__cell ">string</td>
357
+ <td class="govuk-table__cell">string</td>
358
358
 
359
- <td class="govuk-table__cell ">No</td>
359
+ <td class="govuk-table__cell">No</td>
360
360
 
361
- <td class="govuk-table__cell ">Text or HTML to use within each tab panel. If `html` is provided, the `text` argument will be ignored.</td>
361
+ <td class="govuk-table__cell">Text or HTML to use within each tab panel. If `html` is provided, the `text` argument will be ignored.</td>
362
362
 
363
363
  </tr>
364
364
 
@@ -366,11 +366,11 @@ If you are using Nunjucks,then macros take the following arguments
366
366
 
367
367
  <th class="govuk-table__header" scope="row">items.{}.panel.attributes</th>
368
368
 
369
- <td class="govuk-table__cell ">object</td>
369
+ <td class="govuk-table__cell">object</td>
370
370
 
371
- <td class="govuk-table__cell ">No</td>
371
+ <td class="govuk-table__cell">No</td>
372
372
 
373
- <td class="govuk-table__cell ">Any extra HTML attributes (for example data attributes) to add to the tab panel.</td>
373
+ <td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the tab panel.</td>
374
374
 
375
375
  </tr>
376
376