govuk_publishing_components 12.0.0 → 12.0.1
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -144,11 +144,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
144
144
|
|
145
145
|
<th class="govuk-table__header" scope="row">summaryText (or) summaryHtml</th>
|
146
146
|
|
147
|
-
<td class="govuk-table__cell
|
147
|
+
<td class="govuk-table__cell">string</td>
|
148
148
|
|
149
|
-
<td class="govuk-table__cell
|
149
|
+
<td class="govuk-table__cell">Yes</td>
|
150
150
|
|
151
|
-
<td class="govuk-table__cell
|
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
152
|
|
153
153
|
</tr>
|
154
154
|
|
@@ -156,11 +156,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
156
156
|
|
157
157
|
<th class="govuk-table__header" scope="row">text (or) html</th>
|
158
158
|
|
159
|
-
<td class="govuk-table__cell
|
159
|
+
<td class="govuk-table__cell">string</td>
|
160
160
|
|
161
|
-
<td class="govuk-table__cell
|
161
|
+
<td class="govuk-table__cell">Yes</td>
|
162
162
|
|
163
|
-
<td class="govuk-table__cell
|
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
164
|
|
165
165
|
</tr>
|
166
166
|
|
@@ -168,11 +168,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
168
168
|
|
169
169
|
<th class="govuk-table__header" scope="row">id</th>
|
170
170
|
|
171
|
-
<td class="govuk-table__cell
|
171
|
+
<td class="govuk-table__cell">string</td>
|
172
172
|
|
173
|
-
<td class="govuk-table__cell
|
173
|
+
<td class="govuk-table__cell">No</td>
|
174
174
|
|
175
|
-
<td class="govuk-table__cell
|
175
|
+
<td class="govuk-table__cell">Optional id to add to the details element.</td>
|
176
176
|
|
177
177
|
</tr>
|
178
178
|
|
@@ -180,11 +180,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
180
180
|
|
181
181
|
<th class="govuk-table__header" scope="row">open</th>
|
182
182
|
|
183
|
-
<td class="govuk-table__cell
|
183
|
+
<td class="govuk-table__cell">boolean</td>
|
184
184
|
|
185
|
-
<td class="govuk-table__cell
|
185
|
+
<td class="govuk-table__cell">No</td>
|
186
186
|
|
187
|
-
<td class="govuk-table__cell
|
187
|
+
<td class="govuk-table__cell">If true, details element will be expanded.</td>
|
188
188
|
|
189
189
|
</tr>
|
190
190
|
|
@@ -192,11 +192,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
192
192
|
|
193
193
|
<th class="govuk-table__header" scope="row">classes</th>
|
194
194
|
|
195
|
-
<td class="govuk-table__cell
|
195
|
+
<td class="govuk-table__cell">string</td>
|
196
196
|
|
197
|
-
<td class="govuk-table__cell
|
197
|
+
<td class="govuk-table__cell">No</td>
|
198
198
|
|
199
|
-
<td class="govuk-table__cell
|
199
|
+
<td class="govuk-table__cell">Optional additional classes to add to the details element.</td>
|
200
200
|
|
201
201
|
</tr>
|
202
202
|
|
@@ -204,11 +204,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
204
204
|
|
205
205
|
<th class="govuk-table__header" scope="row">attributes</th>
|
206
206
|
|
207
|
-
<td class="govuk-table__cell
|
207
|
+
<td class="govuk-table__cell">object</td>
|
208
208
|
|
209
|
-
<td class="govuk-table__cell
|
209
|
+
<td class="govuk-table__cell">No</td>
|
210
210
|
|
211
|
-
<td class="govuk-table__cell
|
211
|
+
<td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the details element.</td>
|
212
212
|
|
213
213
|
</tr>
|
214
214
|
|
@@ -74,11 +74,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
74
74
|
|
75
75
|
<th class="govuk-table__header" scope="row">text (or) html</th>
|
76
76
|
|
77
|
-
<td class="govuk-table__cell
|
77
|
+
<td class="govuk-table__cell">string</td>
|
78
78
|
|
79
|
-
<td class="govuk-table__cell
|
79
|
+
<td class="govuk-table__cell">No</td>
|
80
80
|
|
81
|
-
<td class="govuk-table__cell
|
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
82
|
|
83
83
|
</tr>
|
84
84
|
|
@@ -86,11 +86,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
86
86
|
|
87
87
|
<th class="govuk-table__header" scope="row">id</th>
|
88
88
|
|
89
|
-
<td class="govuk-table__cell
|
89
|
+
<td class="govuk-table__cell">string</td>
|
90
90
|
|
91
|
-
<td class="govuk-table__cell
|
91
|
+
<td class="govuk-table__cell">No</td>
|
92
92
|
|
93
|
-
<td class="govuk-table__cell
|
93
|
+
<td class="govuk-table__cell">Optional id attribute to add to the error message span tag.</td>
|
94
94
|
|
95
95
|
</tr>
|
96
96
|
|
@@ -98,11 +98,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
98
98
|
|
99
99
|
<th class="govuk-table__header" scope="row">classes</th>
|
100
100
|
|
101
|
-
<td class="govuk-table__cell
|
101
|
+
<td class="govuk-table__cell">string</td>
|
102
102
|
|
103
|
-
<td class="govuk-table__cell
|
103
|
+
<td class="govuk-table__cell">No</td>
|
104
104
|
|
105
|
-
<td class="govuk-table__cell
|
105
|
+
<td class="govuk-table__cell">Optional additional classes to add to the error message span tag.</td>
|
106
106
|
|
107
107
|
</tr>
|
108
108
|
|
@@ -110,11 +110,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
110
110
|
|
111
111
|
<th class="govuk-table__header" scope="row">attributes</th>
|
112
112
|
|
113
|
-
<td class="govuk-table__cell
|
113
|
+
<td class="govuk-table__cell">object</td>
|
114
114
|
|
115
|
-
<td class="govuk-table__cell
|
115
|
+
<td class="govuk-table__cell">No</td>
|
116
116
|
|
117
|
-
<td class="govuk-table__cell
|
117
|
+
<td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the error message span tag</td>
|
118
118
|
|
119
119
|
</tr>
|
120
120
|
|
@@ -110,11 +110,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
110
110
|
|
111
111
|
<th class="govuk-table__header" scope="row">titleText (or) titleHtml</th>
|
112
112
|
|
113
|
-
<td class="govuk-table__cell
|
113
|
+
<td class="govuk-table__cell">string</td>
|
114
114
|
|
115
|
-
<td class="govuk-table__cell
|
115
|
+
<td class="govuk-table__cell">Yes</td>
|
116
116
|
|
117
|
-
<td class="govuk-table__cell
|
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
118
|
|
119
119
|
</tr>
|
120
120
|
|
@@ -122,11 +122,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
122
122
|
|
123
123
|
<th class="govuk-table__header" scope="row">descriptionText (or) descriptionHtml</th>
|
124
124
|
|
125
|
-
<td class="govuk-table__cell
|
125
|
+
<td class="govuk-table__cell">string</td>
|
126
126
|
|
127
|
-
<td class="govuk-table__cell
|
127
|
+
<td class="govuk-table__cell">No</td>
|
128
128
|
|
129
|
-
<td class="govuk-table__cell
|
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
130
|
|
131
131
|
</tr>
|
132
132
|
|
@@ -134,11 +134,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
134
134
|
|
135
135
|
<th class="govuk-table__header" scope="row">errorList</th>
|
136
136
|
|
137
|
-
<td class="govuk-table__cell
|
137
|
+
<td class="govuk-table__cell">object</td>
|
138
138
|
|
139
|
-
<td class="govuk-table__cell
|
139
|
+
<td class="govuk-table__cell">Yes</td>
|
140
140
|
|
141
|
-
<td class="govuk-table__cell
|
141
|
+
<td class="govuk-table__cell">Contains an array of error link items and all their available arguments.</td>
|
142
142
|
|
143
143
|
</tr>
|
144
144
|
|
@@ -146,11 +146,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
146
146
|
|
147
147
|
<th class="govuk-table__header" scope="row">errorList.{}.href</th>
|
148
148
|
|
149
|
-
<td class="govuk-table__cell
|
149
|
+
<td class="govuk-table__cell">string</td>
|
150
150
|
|
151
|
-
<td class="govuk-table__cell
|
151
|
+
<td class="govuk-table__cell">No</td>
|
152
152
|
|
153
|
-
<td class="govuk-table__cell
|
153
|
+
<td class="govuk-table__cell">Href attribute for the error link item. If provided item will be an anchor.</td>
|
154
154
|
|
155
155
|
</tr>
|
156
156
|
|
@@ -158,11 +158,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
158
158
|
|
159
159
|
<th class="govuk-table__header" scope="row">errorList.{}.text (or) errorList.{}.html</th>
|
160
160
|
|
161
|
-
<td class="govuk-table__cell
|
161
|
+
<td class="govuk-table__cell">string</td>
|
162
162
|
|
163
|
-
<td class="govuk-table__cell
|
163
|
+
<td class="govuk-table__cell">Yes</td>
|
164
164
|
|
165
|
-
<td class="govuk-table__cell
|
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
166
|
|
167
167
|
</tr>
|
168
168
|
|
@@ -170,11 +170,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
170
170
|
|
171
171
|
<th class="govuk-table__header" scope="row">errorList.{}.attributes</th>
|
172
172
|
|
173
|
-
<td class="govuk-table__cell
|
173
|
+
<td class="govuk-table__cell">object</td>
|
174
174
|
|
175
|
-
<td class="govuk-table__cell
|
175
|
+
<td class="govuk-table__cell">No</td>
|
176
176
|
|
177
|
-
<td class="govuk-table__cell
|
177
|
+
<td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the error link anchor.</td>
|
178
178
|
|
179
179
|
</tr>
|
180
180
|
|
@@ -182,11 +182,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
182
182
|
|
183
183
|
<th class="govuk-table__header" scope="row">classes</th>
|
184
184
|
|
185
|
-
<td class="govuk-table__cell
|
185
|
+
<td class="govuk-table__cell">string</td>
|
186
186
|
|
187
|
-
<td class="govuk-table__cell
|
187
|
+
<td class="govuk-table__cell">No</td>
|
188
188
|
|
189
|
-
<td class="govuk-table__cell
|
189
|
+
<td class="govuk-table__cell">Optional additional classes to add to the error-summary container.</td>
|
190
190
|
|
191
191
|
</tr>
|
192
192
|
|
@@ -194,11 +194,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
194
194
|
|
195
195
|
<th class="govuk-table__header" scope="row">attributes</th>
|
196
196
|
|
197
|
-
<td class="govuk-table__cell
|
197
|
+
<td class="govuk-table__cell">object</td>
|
198
198
|
|
199
|
-
<td class="govuk-table__cell
|
199
|
+
<td class="govuk-table__cell">No</td>
|
200
200
|
|
201
|
-
<td class="govuk-table__cell
|
201
|
+
<td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the error-summary container.</td>
|
202
202
|
|
203
203
|
</tr>
|
204
204
|
|
@@ -108,11 +108,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
108
108
|
|
109
109
|
<th class="govuk-table__header" scope="row">describedBy</th>
|
110
110
|
|
111
|
-
<td class="govuk-table__cell
|
111
|
+
<td class="govuk-table__cell">string</td>
|
112
112
|
|
113
|
-
<td class="govuk-table__cell
|
113
|
+
<td class="govuk-table__cell">No</td>
|
114
114
|
|
115
|
-
<td class="govuk-table__cell
|
115
|
+
<td class="govuk-table__cell">Text or element id to add to the `aria-describedby` attribute to provide description of the group of fields for screenreader users.</td>
|
116
116
|
|
117
117
|
</tr>
|
118
118
|
|
@@ -120,11 +120,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
120
120
|
|
121
121
|
<th class="govuk-table__header" scope="row">legend</th>
|
122
122
|
|
123
|
-
<td class="govuk-table__cell
|
123
|
+
<td class="govuk-table__cell">object</td>
|
124
124
|
|
125
|
-
<td class="govuk-table__cell
|
125
|
+
<td class="govuk-table__cell">No</td>
|
126
126
|
|
127
|
-
<td class="govuk-table__cell
|
127
|
+
<td class="govuk-table__cell">Arguments for the legend</td>
|
128
128
|
|
129
129
|
</tr>
|
130
130
|
|
@@ -132,11 +132,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
132
132
|
|
133
133
|
<th class="govuk-table__header" scope="row">legend.{}.text (or) legend.{}.html</th>
|
134
134
|
|
135
|
-
<td class="govuk-table__cell
|
135
|
+
<td class="govuk-table__cell">string</td>
|
136
136
|
|
137
|
-
<td class="govuk-table__cell
|
137
|
+
<td class="govuk-table__cell">No</td>
|
138
138
|
|
139
|
-
<td class="govuk-table__cell
|
139
|
+
<td class="govuk-table__cell">Legend text or HTML. If `html` is provided, the `text` argument will be ignored.</td>
|
140
140
|
|
141
141
|
</tr>
|
142
142
|
|
@@ -144,11 +144,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
144
144
|
|
145
145
|
<th class="govuk-table__header" scope="row">legend.{}.classes</th>
|
146
146
|
|
147
|
-
<td class="govuk-table__cell
|
147
|
+
<td class="govuk-table__cell">string</td>
|
148
148
|
|
149
|
-
<td class="govuk-table__cell
|
149
|
+
<td class="govuk-table__cell">No</td>
|
150
150
|
|
151
|
-
<td class="govuk-table__cell
|
151
|
+
<td class="govuk-table__cell">Optional additional classes to add to the legend container.</td>
|
152
152
|
|
153
153
|
</tr>
|
154
154
|
|
@@ -156,11 +156,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
156
156
|
|
157
157
|
<th class="govuk-table__header" scope="row">legend.{}.isPageHeading</th>
|
158
158
|
|
159
|
-
<td class="govuk-table__cell
|
159
|
+
<td class="govuk-table__cell">boolean</td>
|
160
160
|
|
161
|
-
<td class="govuk-table__cell
|
161
|
+
<td class="govuk-table__cell">No</td>
|
162
162
|
|
163
|
-
<td class="govuk-table__cell
|
163
|
+
<td class="govuk-table__cell">Whether the legend also acts as the heading for the page.</td>
|
164
164
|
|
165
165
|
</tr>
|
166
166
|
|
@@ -168,11 +168,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
168
168
|
|
169
169
|
<th class="govuk-table__header" scope="row">classes</th>
|
170
170
|
|
171
|
-
<td class="govuk-table__cell
|
171
|
+
<td class="govuk-table__cell">string</td>
|
172
172
|
|
173
|
-
<td class="govuk-table__cell
|
173
|
+
<td class="govuk-table__cell">No</td>
|
174
174
|
|
175
|
-
<td class="govuk-table__cell
|
175
|
+
<td class="govuk-table__cell">Optional additional classes to add to the fieldset container.</td>
|
176
176
|
|
177
177
|
</tr>
|
178
178
|
|
@@ -180,11 +180,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
180
180
|
|
181
181
|
<th class="govuk-table__header" scope="row">attributes</th>
|
182
182
|
|
183
|
-
<td class="govuk-table__cell
|
183
|
+
<td class="govuk-table__cell">object</td>
|
184
184
|
|
185
|
-
<td class="govuk-table__cell
|
185
|
+
<td class="govuk-table__cell">No</td>
|
186
186
|
|
187
|
-
<td class="govuk-table__cell
|
187
|
+
<td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the fieldset container.</td>
|
188
188
|
|
189
189
|
</tr>
|
190
190
|
|
@@ -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">name</th>
|
217
217
|
|
218
|
-
<td class="govuk-table__cell
|
218
|
+
<td class="govuk-table__cell">string</td>
|
219
219
|
|
220
|
-
<td class="govuk-table__cell
|
220
|
+
<td class="govuk-table__cell">Yes</td>
|
221
221
|
|
222
|
-
<td class="govuk-table__cell
|
222
|
+
<td class="govuk-table__cell">The name of the input, which is submitted with the form data.</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">id</th>
|
229
229
|
|
230
|
-
<td class="govuk-table__cell
|
230
|
+
<td class="govuk-table__cell">string</td>
|
231
231
|
|
232
|
-
<td class="govuk-table__cell
|
232
|
+
<td class="govuk-table__cell">Yes</td>
|
233
233
|
|
234
|
-
<td class="govuk-table__cell
|
234
|
+
<td class="govuk-table__cell">The id of the input</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">value</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">Optional initial value of the input</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">label</th>
|
253
253
|
|
254
|
-
<td class="govuk-table__cell
|
254
|
+
<td class="govuk-table__cell">object</td>
|
255
255
|
|
256
|
-
<td class="govuk-table__cell
|
256
|
+
<td class="govuk-table__cell">Yes</td>
|
257
257
|
|
258
|
-
<td class="govuk-table__cell
|
258
|
+
<td class="govuk-table__cell">Arguments for the label component. See <a href="../label/README.md#component-arguments">label</a> component.</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">hint</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">Arguments for the hint component (e.g. text). See <a href="../hint/README.md#component-arguments">hint</a> component.</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">errorMessage</th>
|
277
277
|
|
278
|
-
<td class="govuk-table__cell
|
278
|
+
<td class="govuk-table__cell">object</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">Arguments for the errorMessage component (e.g. text). See <a href="../error-message/README.md#component-arguments">errorMessage</a> component.</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 input tag.</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 accept or data attributes) to add to the input tag.</td>
|
307
307
|
|
308
308
|
</tr>
|
309
309
|
|