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
@@ -93,11 +93,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
93
93
|
|
94
94
|
<th class="govuk-table__header" scope="row">text (or) html</th>
|
95
95
|
|
96
|
-
<td class="govuk-table__cell
|
96
|
+
<td class="govuk-table__cell">string</td>
|
97
97
|
|
98
|
-
<td class="govuk-table__cell
|
98
|
+
<td class="govuk-table__cell">No</td>
|
99
99
|
|
100
|
-
<td class="govuk-table__cell
|
100
|
+
<td class="govuk-table__cell">Text or HTML to use within for the tag component. If `html` is provided, the `text` argument will be ignored.</td>
|
101
101
|
|
102
102
|
</tr>
|
103
103
|
|
@@ -105,11 +105,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
105
105
|
|
106
106
|
<th class="govuk-table__header" scope="row">classes</th>
|
107
107
|
|
108
|
-
<td class="govuk-table__cell
|
108
|
+
<td class="govuk-table__cell">string</td>
|
109
109
|
|
110
|
-
<td class="govuk-table__cell
|
110
|
+
<td class="govuk-table__cell">No</td>
|
111
111
|
|
112
|
-
<td class="govuk-table__cell
|
112
|
+
<td class="govuk-table__cell">Optional additional classes to add to the tag container.</td>
|
113
113
|
|
114
114
|
</tr>
|
115
115
|
|
@@ -117,11 +117,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
117
117
|
|
118
118
|
<th class="govuk-table__header" scope="row">attributes</th>
|
119
119
|
|
120
|
-
<td class="govuk-table__cell
|
120
|
+
<td class="govuk-table__cell">object</td>
|
121
121
|
|
122
|
-
<td class="govuk-table__cell
|
122
|
+
<td class="govuk-table__cell">No</td>
|
123
123
|
|
124
|
-
<td class="govuk-table__cell
|
124
|
+
<td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the tag container.</td>
|
125
125
|
|
126
126
|
</tr>
|
127
127
|
|
@@ -209,11 +209,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
209
209
|
|
210
210
|
<th class="govuk-table__header" scope="row">id</th>
|
211
211
|
|
212
|
-
<td class="govuk-table__cell
|
212
|
+
<td class="govuk-table__cell">string</td>
|
213
213
|
|
214
|
-
<td class="govuk-table__cell
|
214
|
+
<td class="govuk-table__cell">Yes</td>
|
215
215
|
|
216
|
-
<td class="govuk-table__cell
|
216
|
+
<td class="govuk-table__cell">The id of the textarea</td>
|
217
217
|
|
218
218
|
</tr>
|
219
219
|
|
@@ -221,11 +221,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
221
221
|
|
222
222
|
<th class="govuk-table__header" scope="row">describedBy</th>
|
223
223
|
|
224
|
-
<td class="govuk-table__cell
|
224
|
+
<td class="govuk-table__cell">string</td>
|
225
225
|
|
226
|
-
<td class="govuk-table__cell
|
226
|
+
<td class="govuk-table__cell">No</td>
|
227
227
|
|
228
|
-
<td class="govuk-table__cell
|
228
|
+
<td class="govuk-table__cell">Text or element id to add to the `aria-describedby` attribute to provide description for screenreader users.</td>
|
229
229
|
|
230
230
|
</tr>
|
231
231
|
|
@@ -233,11 +233,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
233
233
|
|
234
234
|
<th class="govuk-table__header" scope="row">name</th>
|
235
235
|
|
236
|
-
<td class="govuk-table__cell
|
236
|
+
<td class="govuk-table__cell">string</td>
|
237
237
|
|
238
|
-
<td class="govuk-table__cell
|
238
|
+
<td class="govuk-table__cell">Yes</td>
|
239
239
|
|
240
|
-
<td class="govuk-table__cell
|
240
|
+
<td class="govuk-table__cell">The name of the textarea, which is submitted with the form data.</td>
|
241
241
|
|
242
242
|
</tr>
|
243
243
|
|
@@ -245,11 +245,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
245
245
|
|
246
246
|
<th class="govuk-table__header" scope="row">rows</th>
|
247
247
|
|
248
|
-
<td class="govuk-table__cell
|
248
|
+
<td class="govuk-table__cell">string</td>
|
249
249
|
|
250
|
-
<td class="govuk-table__cell
|
250
|
+
<td class="govuk-table__cell">No</td>
|
251
251
|
|
252
|
-
<td class="govuk-table__cell
|
252
|
+
<td class="govuk-table__cell">Optional number of textarea rows (default is 5 rows).</td>
|
253
253
|
|
254
254
|
</tr>
|
255
255
|
|
@@ -257,11 +257,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
257
257
|
|
258
258
|
<th class="govuk-table__header" scope="row">value</th>
|
259
259
|
|
260
|
-
<td class="govuk-table__cell
|
260
|
+
<td class="govuk-table__cell">string</td>
|
261
261
|
|
262
|
-
<td class="govuk-table__cell
|
262
|
+
<td class="govuk-table__cell">No</td>
|
263
263
|
|
264
|
-
<td class="govuk-table__cell
|
264
|
+
<td class="govuk-table__cell">Optional initial value of the textarea.</td>
|
265
265
|
|
266
266
|
</tr>
|
267
267
|
|
@@ -269,11 +269,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
269
269
|
|
270
270
|
<th class="govuk-table__header" scope="row">label</th>
|
271
271
|
|
272
|
-
<td class="govuk-table__cell
|
272
|
+
<td class="govuk-table__cell">object</td>
|
273
273
|
|
274
|
-
<td class="govuk-table__cell
|
274
|
+
<td class="govuk-table__cell">Yes</td>
|
275
275
|
|
276
|
-
<td class="govuk-table__cell
|
276
|
+
<td class="govuk-table__cell">Arguments for the label component. See <a href="../label/README.md#component-arguments">label</a> component.</td>
|
277
277
|
|
278
278
|
</tr>
|
279
279
|
|
@@ -281,11 +281,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
281
281
|
|
282
282
|
<th class="govuk-table__header" scope="row">hint</th>
|
283
283
|
|
284
|
-
<td class="govuk-table__cell
|
284
|
+
<td class="govuk-table__cell">object</td>
|
285
285
|
|
286
|
-
<td class="govuk-table__cell
|
286
|
+
<td class="govuk-table__cell">No</td>
|
287
287
|
|
288
|
-
<td class="govuk-table__cell
|
288
|
+
<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>
|
289
289
|
|
290
290
|
</tr>
|
291
291
|
|
@@ -293,11 +293,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
293
293
|
|
294
294
|
<th class="govuk-table__header" scope="row">errorMessage</th>
|
295
295
|
|
296
|
-
<td class="govuk-table__cell
|
296
|
+
<td class="govuk-table__cell">object</td>
|
297
297
|
|
298
|
-
<td class="govuk-table__cell
|
298
|
+
<td class="govuk-table__cell">No</td>
|
299
299
|
|
300
|
-
<td class="govuk-table__cell
|
300
|
+
<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>
|
301
301
|
|
302
302
|
</tr>
|
303
303
|
|
@@ -305,11 +305,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
305
305
|
|
306
306
|
<th class="govuk-table__header" scope="row">classes</th>
|
307
307
|
|
308
|
-
<td class="govuk-table__cell
|
308
|
+
<td class="govuk-table__cell">string</td>
|
309
309
|
|
310
|
-
<td class="govuk-table__cell
|
310
|
+
<td class="govuk-table__cell">No</td>
|
311
311
|
|
312
|
-
<td class="govuk-table__cell
|
312
|
+
<td class="govuk-table__cell">Optional additional classes to add to the textarea tag.</td>
|
313
313
|
|
314
314
|
</tr>
|
315
315
|
|
@@ -317,11 +317,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
317
317
|
|
318
318
|
<th class="govuk-table__header" scope="row">attributes</th>
|
319
319
|
|
320
|
-
<td class="govuk-table__cell
|
320
|
+
<td class="govuk-table__cell">object</td>
|
321
321
|
|
322
|
-
<td class="govuk-table__cell
|
322
|
+
<td class="govuk-table__cell">No</td>
|
323
323
|
|
324
|
-
<td class="govuk-table__cell
|
324
|
+
<td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the textarea tag.</td>
|
325
325
|
|
326
326
|
</tr>
|
327
327
|
|
@@ -79,11 +79,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
79
79
|
|
80
80
|
<th class="govuk-table__header" scope="row">text (or) html</th>
|
81
81
|
|
82
|
-
<td class="govuk-table__cell
|
82
|
+
<td class="govuk-table__cell">string</td>
|
83
83
|
|
84
|
-
<td class="govuk-table__cell
|
84
|
+
<td class="govuk-table__cell">Yes</td>
|
85
85
|
|
86
|
-
<td class="govuk-table__cell
|
86
|
+
<td class="govuk-table__cell">Text or HTML for the warning text content. If `html` is provided, the `text` argument is ignored.</td>
|
87
87
|
|
88
88
|
</tr>
|
89
89
|
|
@@ -91,11 +91,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
91
91
|
|
92
92
|
<th class="govuk-table__header" scope="row">iconFallbackText</th>
|
93
93
|
|
94
|
-
<td class="govuk-table__cell
|
94
|
+
<td class="govuk-table__cell">string</td>
|
95
95
|
|
96
|
-
<td class="govuk-table__cell
|
96
|
+
<td class="govuk-table__cell">Yes</td>
|
97
97
|
|
98
|
-
<td class="govuk-table__cell
|
98
|
+
<td class="govuk-table__cell">The fallback text for the icon</td>
|
99
99
|
|
100
100
|
</tr>
|
101
101
|
|
@@ -103,11 +103,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
103
103
|
|
104
104
|
<th class="govuk-table__header" scope="row">classes</th>
|
105
105
|
|
106
|
-
<td class="govuk-table__cell
|
106
|
+
<td class="govuk-table__cell">string</td>
|
107
107
|
|
108
|
-
<td class="govuk-table__cell
|
108
|
+
<td class="govuk-table__cell">No</td>
|
109
109
|
|
110
|
-
<td class="govuk-table__cell
|
110
|
+
<td class="govuk-table__cell">Optional additional classes to add to the warning-text container.</td>
|
111
111
|
|
112
112
|
</tr>
|
113
113
|
|
@@ -115,11 +115,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
115
115
|
|
116
116
|
<th class="govuk-table__header" scope="row">attributes</th>
|
117
117
|
|
118
|
-
<td class="govuk-table__cell
|
118
|
+
<td class="govuk-table__cell">object</td>
|
119
119
|
|
120
|
-
<td class="govuk-table__cell
|
120
|
+
<td class="govuk-table__cell">No</td>
|
121
121
|
|
122
|
-
<td class="govuk-table__cell
|
122
|
+
<td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the warning-text container.</td>
|
123
123
|
|
124
124
|
</tr>
|
125
125
|
|
@@ -15,13 +15,13 @@
|
|
15
15
|
],
|
16
16
|
"_from": "govuk-frontend@>=2.1.0 <3.0.0",
|
17
17
|
"_hasShrinkwrap": false,
|
18
|
-
"_id": "govuk-frontend@2.
|
18
|
+
"_id": "govuk-frontend@2.2.0",
|
19
19
|
"_inCache": true,
|
20
20
|
"_location": "/govuk-frontend",
|
21
21
|
"_nodeVersion": "8.9.4",
|
22
22
|
"_npmOperationalInternal": {
|
23
23
|
"host": "s3://npm-registry-packages",
|
24
|
-
"tmp": "tmp/govuk-frontend_2.
|
24
|
+
"tmp": "tmp/govuk-frontend_2.2.0_1539250074641_0.9313032769634357"
|
25
25
|
},
|
26
26
|
"_npmUser": {
|
27
27
|
"name": "govuk-patterns-and-tools",
|
@@ -41,8 +41,8 @@
|
|
41
41
|
"_requiredBy": [
|
42
42
|
"/"
|
43
43
|
],
|
44
|
-
"_resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-2.
|
45
|
-
"_shasum": "
|
44
|
+
"_resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-2.2.0.tgz",
|
45
|
+
"_shasum": "ef14463f8c0b4b628d5a498f8aa4f3bf6833315e",
|
46
46
|
"_shrinkwrap": null,
|
47
47
|
"_spec": "govuk-frontend@^2.1.0",
|
48
48
|
"_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ",
|
@@ -59,12 +59,12 @@
|
|
59
59
|
"devDependencies": {},
|
60
60
|
"directories": {},
|
61
61
|
"dist": {
|
62
|
-
"integrity": "sha512-
|
63
|
-
"shasum": "
|
64
|
-
"tarball": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-2.
|
65
|
-
"fileCount":
|
66
|
-
"unpackedSize":
|
67
|
-
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\
|
62
|
+
"integrity": "sha512-vNiUIp8EQACARNTyOwmE110HcQd+zJvkgbKv+gmY28QxqQGGd2DEJ35nblnjElsRJpSgbxwa85iqlNtbR3Q5tA==",
|
63
|
+
"shasum": "ef14463f8c0b4b628d5a498f8aa4f3bf6833315e",
|
64
|
+
"tarball": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-2.2.0.tgz",
|
65
|
+
"fileCount": 243,
|
66
|
+
"unpackedSize": 1506240,
|
67
|
+
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvxebCRA9TVsSAnZWagAAnu4P/joUeSqA0i0IEwczMeSk\nQbzzK1MIILyFu0iiwCRjjovMVLLdiJVD7IF/PyE3knwpEtTTL6iKGtv1HEhc\nNvgk8dKov/PslWgkcQzHfK3yloGdMcb0kBBdEZeIM38/IlEehy7BD38dNC20\nXRqgvsumHLwa8F0y9xcCLPNJhyqF2wWvExP/BPiW6kXTfrSy3LkaLlm6Bed6\nUWAGMOl58OJA4hkVnJ6MN85AvrS4XDUYFxGsjjPadorAPBHJkOlU4jvGwCO/\nNfFYsjbSe5U3ELmYt3o3fDzjbZjpET6pSYwQbbv/3trw6f8KQhpQdLfrrQ1C\ntbo9H1kGMDgUn8ubAYmFQh5SoOaDU0TI5MmVPFUR/nrgGLLwbXuQRVQKft2s\n/gnJLabagUFy3W5jMzwwb1LrqkYwYqhcgYXi7tzFx16W9CyPwaNOlcdidcRl\natUClg8hUxjh1sOs5iN9EPCF1Qn2XrzkRsyOzze43dxD+NAu47+yvk/CiwcR\nk5h+evWbxsnQHhqg1Jtxbx7Q+gneFAFkuqyTWDbfSK2q0nuJqK22iBbEHEym\ntGG8csG9F4id8KNlUjBvqxcZu9lCfyyqQDmR0n5sQDMD9jBsbfgZ23841KBA\nGUWqDHoaocfeoFj6Tb+LLx78dpjJmU/RHIG/9NpEOGMTuLJXZpz6EfjcWeiz\n/XHW\r\n=OtLE\r\n-----END PGP SIGNATURE-----\r\n"
|
68
68
|
},
|
69
69
|
"engines": {
|
70
70
|
"node": ">= 4.2.0"
|
@@ -92,5 +92,5 @@
|
|
92
92
|
"url": "git+https://github.com/alphagov/govuk-frontend.git"
|
93
93
|
},
|
94
94
|
"sass": "all.scss",
|
95
|
-
"version": "2.
|
95
|
+
"version": "2.2.0"
|
96
96
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_publishing_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.0.
|
4
|
+
version: 12.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|
@@ -645,6 +645,12 @@ files:
|
|
645
645
|
- node_modules/govuk-frontend/components/button/macro-options.json
|
646
646
|
- node_modules/govuk-frontend/components/button/macro.njk
|
647
647
|
- node_modules/govuk-frontend/components/button/template.njk
|
648
|
+
- node_modules/govuk-frontend/components/character-count/README.md
|
649
|
+
- node_modules/govuk-frontend/components/character-count/_character-count.scss
|
650
|
+
- node_modules/govuk-frontend/components/character-count/character-count.js
|
651
|
+
- node_modules/govuk-frontend/components/character-count/macro-options.json
|
652
|
+
- node_modules/govuk-frontend/components/character-count/macro.njk
|
653
|
+
- node_modules/govuk-frontend/components/character-count/template.njk
|
648
654
|
- node_modules/govuk-frontend/components/checkboxes/README.md
|
649
655
|
- node_modules/govuk-frontend/components/checkboxes/_checkboxes.scss
|
650
656
|
- node_modules/govuk-frontend/components/checkboxes/checkboxes.js
|