govuk_publishing_components 12.8.0 → 12.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/app/views/govuk_publishing_components/components/_checkboxes.html.erb +1 -0
  3. data/app/views/govuk_publishing_components/components/docs/checkboxes.yml +13 -0
  4. data/lib/govuk_publishing_components/version.rb +1 -1
  5. data/node_modules/govuk-frontend/all.js +161 -1
  6. data/node_modules/govuk-frontend/components/back-link/README.md +3 -77
  7. data/node_modules/govuk-frontend/components/breadcrumbs/README.md +3 -101
  8. data/node_modules/govuk-frontend/components/button/README.md +3 -137
  9. data/node_modules/govuk-frontend/components/character-count/README.md +3 -149
  10. data/node_modules/govuk-frontend/components/character-count/character-count.js +1 -1
  11. data/node_modules/govuk-frontend/components/checkboxes/README.md +3 -257
  12. data/node_modules/govuk-frontend/components/checkboxes/checkboxes.js +1 -1
  13. data/node_modules/govuk-frontend/components/checkboxes/template.njk +5 -0
  14. data/node_modules/govuk-frontend/components/date-input/README.md +3 -173
  15. data/node_modules/govuk-frontend/components/date-input/macro-options.json +14 -0
  16. data/node_modules/govuk-frontend/components/date-input/template.njk +1 -1
  17. data/node_modules/govuk-frontend/components/details/README.md +3 -101
  18. data/node_modules/govuk-frontend/components/error-message/README.md +3 -77
  19. data/node_modules/govuk-frontend/components/error-summary/README.md +3 -125
  20. data/node_modules/govuk-frontend/components/error-summary/error-summary.js +405 -87
  21. data/node_modules/govuk-frontend/components/fieldset/README.md +3 -113
  22. data/node_modules/govuk-frontend/components/file-upload/README.md +3 -125
  23. data/node_modules/govuk-frontend/components/file-upload/macro-options.json +14 -0
  24. data/node_modules/govuk-frontend/components/file-upload/template.njk +1 -1
  25. data/node_modules/govuk-frontend/components/footer/README.md +3 -233
  26. data/node_modules/govuk-frontend/components/header/README.md +3 -197
  27. data/node_modules/govuk-frontend/components/hint/README.md +3 -77
  28. data/node_modules/govuk-frontend/components/input/README.md +3 -137
  29. data/node_modules/govuk-frontend/components/input/macro-options.json +14 -0
  30. data/node_modules/govuk-frontend/components/input/template.njk +1 -1
  31. data/node_modules/govuk-frontend/components/inset-text/README.md +7 -77
  32. data/node_modules/govuk-frontend/components/label/README.md +3 -89
  33. data/node_modules/govuk-frontend/components/panel/README.md +3 -89
  34. data/node_modules/govuk-frontend/components/phase-banner/README.md +3 -77
  35. data/node_modules/govuk-frontend/components/radios/README.md +3 -269
  36. data/node_modules/govuk-frontend/components/radios/radios.js +1 -1
  37. data/node_modules/govuk-frontend/components/select/README.md +3 -185
  38. data/node_modules/govuk-frontend/components/select/macro-options.json +14 -0
  39. data/node_modules/govuk-frontend/components/select/template.njk +1 -1
  40. data/node_modules/govuk-frontend/components/skip-link/README.md +3 -77
  41. data/node_modules/govuk-frontend/components/table/README.md +3 -233
  42. data/node_modules/govuk-frontend/components/tabs/README.md +3 -149
  43. data/node_modules/govuk-frontend/components/tabs/tabs.js +111 -111
  44. data/node_modules/govuk-frontend/components/tag/README.md +3 -65
  45. data/node_modules/govuk-frontend/components/textarea/README.md +3 -149
  46. data/node_modules/govuk-frontend/components/textarea/macro-options.json +14 -0
  47. data/node_modules/govuk-frontend/components/textarea/template.njk +1 -1
  48. data/node_modules/govuk-frontend/components/warning-text/README.md +3 -77
  49. data/node_modules/govuk-frontend/package.json +11 -11
  50. data/node_modules/govuk-frontend/vendor/polyfills/Element/prototype/classList.js +141 -1
  51. data/node_modules/govuk-frontend/vendor/polyfills/Element/prototype/closest.js +54 -0
  52. data/node_modules/govuk-frontend/vendor/polyfills/Element/prototype/matches.js +31 -0
  53. metadata +4 -2
@@ -549,181 +549,11 @@ In order to include the images used in the components, you need to configure you
549
549
 
550
550
  app.use('/assets', express.static(path.join(__dirname, '/node_modules/govuk-frontend/assets')))
551
551
 
552
- ## Component arguments
552
+ ## Component options
553
553
 
554
- If you are using Nunjucks,then macros take the following arguments
554
+ Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text.
555
555
 
556
- **If you’re using Nunjucks macros in production be aware that using `html` arguments, or ones ending with `Html` can be a [security risk](https://en.wikipedia.org/wiki/Cross-site_scripting). More about it in the [Nunjucks documentation](https://mozilla.github.io/nunjucks/api.html#user-defined-templates-warning).**
557
-
558
- <table class="govuk-table">
559
-
560
- <thead class="govuk-table__head">
561
-
562
- <tr class="govuk-table__row">
563
-
564
- <th class="govuk-table__header" scope="col">Name</th>
565
-
566
- <th class="govuk-table__header" scope="col">Type</th>
567
-
568
- <th class="govuk-table__header" scope="col">Required</th>
569
-
570
- <th class="govuk-table__header" scope="col">Description</th>
571
-
572
- </tr>
573
-
574
- </thead>
575
-
576
- <tbody class="govuk-table__body">
577
-
578
- <tr class="govuk-table__row">
579
-
580
- <th class="govuk-table__header" scope="row">id</th>
581
-
582
- <td class="govuk-table__cell">string</td>
583
-
584
- <td class="govuk-table__cell">No</td>
585
-
586
- <td class="govuk-table__cell">Optional id. This is used for the main component and to compose id attribute for each item.</td>
587
-
588
- </tr>
589
-
590
- <tr class="govuk-table__row">
591
-
592
- <th class="govuk-table__header" scope="row">namePrefix</th>
593
-
594
- <td class="govuk-table__cell">string</td>
595
-
596
- <td class="govuk-table__cell">No</td>
597
-
598
- <td class="govuk-table__cell">Optional prefix. This is used to prefix each `item.name` using `-`.</td>
599
-
600
- </tr>
601
-
602
- <tr class="govuk-table__row">
603
-
604
- <th class="govuk-table__header" scope="row">items</th>
605
-
606
- <td class="govuk-table__cell">array</td>
607
-
608
- <td class="govuk-table__cell">Yes</td>
609
-
610
- <td class="govuk-table__cell">An array of input objects with name, value and optional classes</td>
611
-
612
- </tr>
613
-
614
- <tr class="govuk-table__row">
615
-
616
- <th class="govuk-table__header" scope="row">items.{}.id</th>
617
-
618
- <td class="govuk-table__cell">string</td>
619
-
620
- <td class="govuk-table__cell">No</td>
621
-
622
- <td class="govuk-table__cell">Optional item-specific id. If provided, it will be used instead of the generated id.</td>
623
-
624
- </tr>
625
-
626
- <tr class="govuk-table__row">
627
-
628
- <th class="govuk-table__header" scope="row">items.{}.name</th>
629
-
630
- <td class="govuk-table__cell">array</td>
631
-
632
- <td class="govuk-table__cell">Yes</td>
633
-
634
- <td class="govuk-table__cell">Item-specific name attribute.</td>
635
-
636
- </tr>
637
-
638
- <tr class="govuk-table__row">
639
-
640
- <th class="govuk-table__header" scope="row">items.{}.value</th>
641
-
642
- <td class="govuk-table__cell">string</td>
643
-
644
- <td class="govuk-table__cell">No</td>
645
-
646
- <td class="govuk-table__cell">Optional item-specific value attribute. If provided, it will be used as the initial value of the input.</td>
647
-
648
- </tr>
649
-
650
- <tr class="govuk-table__row">
651
-
652
- <th class="govuk-table__header" scope="row">items.{}.label</th>
653
-
654
- <td class="govuk-table__cell">string</td>
655
-
656
- <td class="govuk-table__cell">No</td>
657
-
658
- <td class="govuk-table__cell">Optional item-specific label text. If provided, this will be used instead of the items.{}.name.</td>
659
-
660
- </tr>
661
-
662
- <tr class="govuk-table__row">
663
-
664
- <th class="govuk-table__header" scope="row">hint</th>
665
-
666
- <td class="govuk-table__cell">object</td>
667
-
668
- <td class="govuk-table__cell">No</td>
669
-
670
- <td class="govuk-table__cell">Optional hint. See <a href="../hint/README.md#component-arguments">hint</a> component.</td>
671
-
672
- </tr>
673
-
674
- <tr class="govuk-table__row">
675
-
676
- <th class="govuk-table__header" scope="row">errorMessage</th>
677
-
678
- <td class="govuk-table__cell">object</td>
679
-
680
- <td class="govuk-table__cell">No</td>
681
-
682
- <td class="govuk-table__cell">Optional error message. See <a href="../error-message/README.md#component-arguments">errorMessage</a> component.</td>
683
-
684
- </tr>
685
-
686
- <tr class="govuk-table__row">
687
-
688
- <th class="govuk-table__header" scope="row">fieldset</th>
689
-
690
- <td class="govuk-table__cell">object</td>
691
-
692
- <td class="govuk-table__cell">No</td>
693
-
694
- <td class="govuk-table__cell">Arguments for the fieldset component (e.g. legend). See <a href="../fieldset/README.md#component-arguments">fieldset</a> component.</td>
695
-
696
- </tr>
697
-
698
- <tr class="govuk-table__row">
699
-
700
- <th class="govuk-table__header" scope="row">classes</th>
701
-
702
- <td class="govuk-table__cell">string</td>
703
-
704
- <td class="govuk-table__cell">No</td>
705
-
706
- <td class="govuk-table__cell">Optional additional classes to add to the date-input container.</td>
707
-
708
- </tr>
709
-
710
- <tr class="govuk-table__row">
711
-
712
- <th class="govuk-table__header" scope="row">attributes</th>
713
-
714
- <td class="govuk-table__cell">object</td>
715
-
716
- <td class="govuk-table__cell">No</td>
717
-
718
- <td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the date-input container.</td>
719
-
720
- </tr>
721
-
722
- </tbody>
723
-
724
- </table>
725
-
726
- **If you’re using Nunjucks macros in production be aware that using `html` arguments, or ones ending with `Html` can be a [security risk](https://en.wikipedia.org/wiki/Cross-site_scripting). More about it in the [Nunjucks documentation](https://mozilla.github.io/nunjucks/api.html#user-defined-templates-warning).**
556
+ See [options table](https://design-system.service.gov.uk/components/date-input/#options-example-default) for details.
727
557
 
728
558
  ### Setting up Nunjucks views and paths
729
559
 
@@ -63,6 +63,20 @@
63
63
  "description": "Options for the error message.",
64
64
  "isComponent": true
65
65
  },
66
+ {
67
+ "name": "formGroup",
68
+ "type": "object",
69
+ "required": false,
70
+ "description": "Options for the form-group wrapper",
71
+ "params": [
72
+ {
73
+ "name": "classes",
74
+ "type": "string",
75
+ "required": false,
76
+ "description": "Optional classes to add to the form group (e.g. to show error state for the whole group)"
77
+ }
78
+ ]
79
+ },
66
80
  {
67
81
  "name": "fieldset",
68
82
  "type": "object",
@@ -73,7 +73,7 @@
73
73
  </div>
74
74
  {% endset %}
75
75
 
76
- <div class="govuk-form-group {%- if params.errorMessage %} govuk-form-group--error{% endif %}">
76
+ <div class="govuk-form-group {%- if params.errorMessage %} govuk-form-group--error{% endif %} {%- if params.formGroup.classes %} {{ params.formGroup.classes }}{% endif %}">
77
77
  {% if params.fieldset %}
78
78
  {#- We override the fieldset's role to 'group' because otherwise JAWS does not
79
79
  announce the description for a fieldset comprised of text inputs, but
@@ -114,109 +114,11 @@ In order to include the images used in the components, you need to configure you
114
114
 
115
115
  app.use('/assets', express.static(path.join(__dirname, '/node_modules/govuk-frontend/assets')))
116
116
 
117
- ## Component arguments
117
+ ## Component options
118
118
 
119
- If you are using Nunjucks,then macros take the following arguments
119
+ Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text.
120
120
 
121
- **If you’re using Nunjucks macros in production be aware that using `html` arguments, or ones ending with `Html` can be a [security risk](https://en.wikipedia.org/wiki/Cross-site_scripting). More about it in the [Nunjucks documentation](https://mozilla.github.io/nunjucks/api.html#user-defined-templates-warning).**
122
-
123
- <table class="govuk-table">
124
-
125
- <thead class="govuk-table__head">
126
-
127
- <tr class="govuk-table__row">
128
-
129
- <th class="govuk-table__header" scope="col">Name</th>
130
-
131
- <th class="govuk-table__header" scope="col">Type</th>
132
-
133
- <th class="govuk-table__header" scope="col">Required</th>
134
-
135
- <th class="govuk-table__header" scope="col">Description</th>
136
-
137
- </tr>
138
-
139
- </thead>
140
-
141
- <tbody class="govuk-table__body">
142
-
143
- <tr class="govuk-table__row">
144
-
145
- <th class="govuk-table__header" scope="row">summaryText (or) summaryHtml</th>
146
-
147
- <td class="govuk-table__cell">string</td>
148
-
149
- <td class="govuk-table__cell">Yes</td>
150
-
151
- <td class="govuk-table__cell">Text or HTML to use within the summary element (the visible part of the details element). If `summaryHtml` is provided, the `summaryText` argument will be ignored.</td>
152
-
153
- </tr>
154
-
155
- <tr class="govuk-table__row">
156
-
157
- <th class="govuk-table__header" scope="row">text (or) html</th>
158
-
159
- <td class="govuk-table__cell">string</td>
160
-
161
- <td class="govuk-table__cell">Yes</td>
162
-
163
- <td class="govuk-table__cell">Text or HTML to use within the disclosed part of the details element. If `html` is provided, the `text` argument will be ignored.</td>
164
-
165
- </tr>
166
-
167
- <tr class="govuk-table__row">
168
-
169
- <th class="govuk-table__header" scope="row">id</th>
170
-
171
- <td class="govuk-table__cell">string</td>
172
-
173
- <td class="govuk-table__cell">No</td>
174
-
175
- <td class="govuk-table__cell">Optional id to add to the details element.</td>
176
-
177
- </tr>
178
-
179
- <tr class="govuk-table__row">
180
-
181
- <th class="govuk-table__header" scope="row">open</th>
182
-
183
- <td class="govuk-table__cell">boolean</td>
184
-
185
- <td class="govuk-table__cell">No</td>
186
-
187
- <td class="govuk-table__cell">If true, details element will be expanded.</td>
188
-
189
- </tr>
190
-
191
- <tr class="govuk-table__row">
192
-
193
- <th class="govuk-table__header" scope="row">classes</th>
194
-
195
- <td class="govuk-table__cell">string</td>
196
-
197
- <td class="govuk-table__cell">No</td>
198
-
199
- <td class="govuk-table__cell">Optional additional classes to add to the details element.</td>
200
-
201
- </tr>
202
-
203
- <tr class="govuk-table__row">
204
-
205
- <th class="govuk-table__header" scope="row">attributes</th>
206
-
207
- <td class="govuk-table__cell">object</td>
208
-
209
- <td class="govuk-table__cell">No</td>
210
-
211
- <td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the details element.</td>
212
-
213
- </tr>
214
-
215
- </tbody>
216
-
217
- </table>
218
-
219
- **If you’re using Nunjucks macros in production be aware that using `html` arguments, or ones ending with `Html` can be a [security risk](https://en.wikipedia.org/wiki/Cross-site_scripting). More about it in the [Nunjucks documentation](https://mozilla.github.io/nunjucks/api.html#user-defined-templates-warning).**
121
+ See [options table](https://design-system.service.gov.uk/components/details/#options-example-default) for details.
220
122
 
221
123
  ### Setting up Nunjucks views and paths
222
124
 
@@ -44,85 +44,11 @@ In order to include the images used in the components, you need to configure you
44
44
 
45
45
  app.use('/assets', express.static(path.join(__dirname, '/node_modules/govuk-frontend/assets')))
46
46
 
47
- ## Component arguments
47
+ ## Component options
48
48
 
49
- If you are using Nunjucks,then macros take the following arguments
49
+ Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text.
50
50
 
51
- **If you’re using Nunjucks macros in production be aware that using `html` arguments, or ones ending with `Html` can be a [security risk](https://en.wikipedia.org/wiki/Cross-site_scripting). More about it in the [Nunjucks documentation](https://mozilla.github.io/nunjucks/api.html#user-defined-templates-warning).**
52
-
53
- <table class="govuk-table">
54
-
55
- <thead class="govuk-table__head">
56
-
57
- <tr class="govuk-table__row">
58
-
59
- <th class="govuk-table__header" scope="col">Name</th>
60
-
61
- <th class="govuk-table__header" scope="col">Type</th>
62
-
63
- <th class="govuk-table__header" scope="col">Required</th>
64
-
65
- <th class="govuk-table__header" scope="col">Description</th>
66
-
67
- </tr>
68
-
69
- </thead>
70
-
71
- <tbody class="govuk-table__body">
72
-
73
- <tr class="govuk-table__row">
74
-
75
- <th class="govuk-table__header" scope="row">text (or) html</th>
76
-
77
- <td class="govuk-table__cell">string</td>
78
-
79
- <td class="govuk-table__cell">No</td>
80
-
81
- <td class="govuk-table__cell">Text to use within the error message. If `html` is provided, the `text` argument will be ignored.</td>
82
-
83
- </tr>
84
-
85
- <tr class="govuk-table__row">
86
-
87
- <th class="govuk-table__header" scope="row">id</th>
88
-
89
- <td class="govuk-table__cell">string</td>
90
-
91
- <td class="govuk-table__cell">No</td>
92
-
93
- <td class="govuk-table__cell">Optional id attribute to add to the error message span tag.</td>
94
-
95
- </tr>
96
-
97
- <tr class="govuk-table__row">
98
-
99
- <th class="govuk-table__header" scope="row">classes</th>
100
-
101
- <td class="govuk-table__cell">string</td>
102
-
103
- <td class="govuk-table__cell">No</td>
104
-
105
- <td class="govuk-table__cell">Optional additional classes to add to the error message span tag.</td>
106
-
107
- </tr>
108
-
109
- <tr class="govuk-table__row">
110
-
111
- <th class="govuk-table__header" scope="row">attributes</th>
112
-
113
- <td class="govuk-table__cell">object</td>
114
-
115
- <td class="govuk-table__cell">No</td>
116
-
117
- <td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the error message span tag</td>
118
-
119
- </tr>
120
-
121
- </tbody>
122
-
123
- </table>
124
-
125
- **If you’re using Nunjucks macros in production be aware that using `html` arguments, or ones ending with `Html` can be a [security risk](https://en.wikipedia.org/wiki/Cross-site_scripting). More about it in the [Nunjucks documentation](https://mozilla.github.io/nunjucks/api.html#user-defined-templates-warning).**
51
+ See [options table](https://design-system.service.gov.uk/components/error-message/#options-example-default) for details.
126
52
 
127
53
  ### Setting up Nunjucks views and paths
128
54
 
@@ -80,133 +80,11 @@ In order to include the images used in the components, you need to configure you
80
80
 
81
81
  app.use('/assets', express.static(path.join(__dirname, '/node_modules/govuk-frontend/assets')))
82
82
 
83
- ## Component arguments
83
+ ## Component options
84
84
 
85
- If you are using Nunjucks,then macros take the following arguments
85
+ Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text.
86
86
 
87
- **If you’re using Nunjucks macros in production be aware that using `html` arguments, or ones ending with `Html` can be a [security risk](https://en.wikipedia.org/wiki/Cross-site_scripting). More about it in the [Nunjucks documentation](https://mozilla.github.io/nunjucks/api.html#user-defined-templates-warning).**
88
-
89
- <table class="govuk-table">
90
-
91
- <thead class="govuk-table__head">
92
-
93
- <tr class="govuk-table__row">
94
-
95
- <th class="govuk-table__header" scope="col">Name</th>
96
-
97
- <th class="govuk-table__header" scope="col">Type</th>
98
-
99
- <th class="govuk-table__header" scope="col">Required</th>
100
-
101
- <th class="govuk-table__header" scope="col">Description</th>
102
-
103
- </tr>
104
-
105
- </thead>
106
-
107
- <tbody class="govuk-table__body">
108
-
109
- <tr class="govuk-table__row">
110
-
111
- <th class="govuk-table__header" scope="row">titleText (or) titleHtml</th>
112
-
113
- <td class="govuk-table__cell">string</td>
114
-
115
- <td class="govuk-table__cell">Yes</td>
116
-
117
- <td class="govuk-table__cell">Text or HTML to use for the heading of the error summary block. If `titleHtml` is provided, the `titleText` argument will be ignored.</td>
118
-
119
- </tr>
120
-
121
- <tr class="govuk-table__row">
122
-
123
- <th class="govuk-table__header" scope="row">descriptionText (or) descriptionHtml</th>
124
-
125
- <td class="govuk-table__cell">string</td>
126
-
127
- <td class="govuk-table__cell">No</td>
128
-
129
- <td class="govuk-table__cell">Optional text or HTML description of the errors. If `descriptionhtml` is provided, the `descriptionText` argument will be ignored.</td>
130
-
131
- </tr>
132
-
133
- <tr class="govuk-table__row">
134
-
135
- <th class="govuk-table__header" scope="row">errorList</th>
136
-
137
- <td class="govuk-table__cell">object</td>
138
-
139
- <td class="govuk-table__cell">Yes</td>
140
-
141
- <td class="govuk-table__cell">Contains an array of error link items and all their available arguments.</td>
142
-
143
- </tr>
144
-
145
- <tr class="govuk-table__row">
146
-
147
- <th class="govuk-table__header" scope="row">errorList.{}.href</th>
148
-
149
- <td class="govuk-table__cell">string</td>
150
-
151
- <td class="govuk-table__cell">No</td>
152
-
153
- <td class="govuk-table__cell">Href attribute for the error link item. If provided item will be an anchor.</td>
154
-
155
- </tr>
156
-
157
- <tr class="govuk-table__row">
158
-
159
- <th class="govuk-table__header" scope="row">errorList.{}.text (or) errorList.{}.html</th>
160
-
161
- <td class="govuk-table__cell">string</td>
162
-
163
- <td class="govuk-table__cell">Yes</td>
164
-
165
- <td class="govuk-table__cell">Text or HTML for the error link item. If `html` is provided, the `text` argument will be ignored.</td>
166
-
167
- </tr>
168
-
169
- <tr class="govuk-table__row">
170
-
171
- <th class="govuk-table__header" scope="row">errorList.{}.attributes</th>
172
-
173
- <td class="govuk-table__cell">object</td>
174
-
175
- <td class="govuk-table__cell">No</td>
176
-
177
- <td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the error link anchor.</td>
178
-
179
- </tr>
180
-
181
- <tr class="govuk-table__row">
182
-
183
- <th class="govuk-table__header" scope="row">classes</th>
184
-
185
- <td class="govuk-table__cell">string</td>
186
-
187
- <td class="govuk-table__cell">No</td>
188
-
189
- <td class="govuk-table__cell">Optional additional classes to add to the error-summary container.</td>
190
-
191
- </tr>
192
-
193
- <tr class="govuk-table__row">
194
-
195
- <th class="govuk-table__header" scope="row">attributes</th>
196
-
197
- <td class="govuk-table__cell">object</td>
198
-
199
- <td class="govuk-table__cell">No</td>
200
-
201
- <td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the error-summary container.</td>
202
-
203
- </tr>
204
-
205
- </tbody>
206
-
207
- </table>
208
-
209
- **If you’re using Nunjucks macros in production be aware that using `html` arguments, or ones ending with `Html` can be a [security risk](https://en.wikipedia.org/wiki/Cross-site_scripting). More about it in the [Nunjucks documentation](https://mozilla.github.io/nunjucks/api.html#user-defined-templates-warning).**
87
+ See [options table](https://design-system.service.gov.uk/components/error-summary/#options-example-default) for details.
210
88
 
211
89
  ### Setting up Nunjucks views and paths
212
90