govuk_tech_docs 2.2.2 → 2.4.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of govuk_tech_docs might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.nvmrc +1 -1
- data/.travis.yml +2 -0
- data/CHANGELOG.md +24 -0
- data/example/config/tech-docs.yml +1 -0
- data/example/source/single-page-nav.html.md +13 -0
- data/govuk_tech_docs.gemspec +2 -1
- data/lib/assets/javascripts/_modules/collapsible-navigation.js +7 -7
- data/lib/assets/javascripts/_modules/in-page-navigation.js +2 -4
- data/lib/assets/stylesheets/_govuk_tech_docs.scss +9 -10
- data/lib/assets/stylesheets/modules/_search.scss +4 -25
- data/lib/assets/stylesheets/modules/_technical-documentation.scss +1 -1
- data/lib/assets/stylesheets/modules/_toc.scss +11 -11
- data/lib/govuk_tech_docs/table_of_contents/heading.rb +5 -1
- data/lib/govuk_tech_docs/table_of_contents/heading_tree_renderer.rb +2 -2
- data/lib/govuk_tech_docs/table_of_contents/helpers.rb +22 -11
- data/lib/govuk_tech_docs/tech_docs_html_renderer.rb +1 -1
- data/lib/govuk_tech_docs/version.rb +1 -1
- data/lib/source/layouts/_header.erb +1 -2
- data/lib/source/layouts/layout.erb +3 -1
- data/node_modules/govuk-frontend/govuk/_base.scss +3 -0
- data/node_modules/govuk-frontend/govuk/all.js +306 -94
- data/node_modules/govuk-frontend/govuk/all.scss +1 -3
- data/node_modules/govuk-frontend/govuk/components/_all.scss +33 -29
- data/node_modules/govuk-frontend/govuk/components/accordion/_accordion.scss +2 -208
- data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss +197 -0
- data/node_modules/govuk-frontend/govuk/components/accordion/accordion.js +1 -1
- data/node_modules/govuk-frontend/govuk/components/back-link/_back-link.scss +2 -65
- data/node_modules/govuk-frontend/govuk/components/back-link/_index.scss +99 -0
- data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_breadcrumbs.scss +2 -118
- data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_index.scss +138 -0
- data/node_modules/govuk-frontend/govuk/components/button/_button.scss +2 -284
- data/node_modules/govuk-frontend/govuk/components/button/_index.scss +288 -0
- data/node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss +2 -31
- data/node_modules/govuk-frontend/govuk/components/character-count/_index.scss +25 -0
- data/node_modules/govuk-frontend/govuk/components/character-count/character-count.js +17 -9
- data/node_modules/govuk-frontend/govuk/components/checkboxes/_checkboxes.scss +2 -308
- data/node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss +320 -0
- data/node_modules/govuk-frontend/govuk/components/checkboxes/checkboxes.js +129 -24
- data/node_modules/govuk-frontend/govuk/components/cookie-banner/_cookie-banner.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/cookie-banner/_index.scss +51 -0
- data/node_modules/govuk-frontend/govuk/components/date-input/_date-input.scss +2 -30
- data/node_modules/govuk-frontend/govuk/components/date-input/_index.scss +26 -0
- data/node_modules/govuk-frontend/govuk/components/details/_details.scss +2 -88
- data/node_modules/govuk-frontend/govuk/components/details/_index.scss +87 -0
- data/node_modules/govuk-frontend/govuk/components/error-message/_error-message.scss +2 -15
- data/node_modules/govuk-frontend/govuk/components/error-message/_index.scss +11 -0
- data/node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss +2 -59
- data/node_modules/govuk-frontend/govuk/components/error-summary/_index.scss +43 -0
- data/node_modules/govuk-frontend/govuk/components/fieldset/_fieldset.scss +2 -68
- data/node_modules/govuk-frontend/govuk/components/fieldset/_index.scss +64 -0
- data/node_modules/govuk-frontend/govuk/components/file-upload/_file-upload.scss +2 -81
- data/node_modules/govuk-frontend/govuk/components/file-upload/_index.scss +49 -0
- data/node_modules/govuk-frontend/govuk/components/footer/_footer.scss +2 -244
- data/node_modules/govuk-frontend/govuk/components/footer/_index.scss +241 -0
- data/node_modules/govuk-frontend/govuk/components/header/_header.scss +2 -318
- data/node_modules/govuk-frontend/govuk/components/header/_index.scss +331 -0
- data/node_modules/govuk-frontend/govuk/components/header/header.js +665 -316
- data/node_modules/govuk-frontend/govuk/components/hint/_hint.scss +2 -50
- data/node_modules/govuk-frontend/govuk/components/hint/_index.scss +44 -0
- data/node_modules/govuk-frontend/govuk/components/input/_index.scss +191 -0
- data/node_modules/govuk-frontend/govuk/components/input/_input.scss +2 -103
- data/node_modules/govuk-frontend/govuk/components/inset-text/_index.scss +24 -0
- data/node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss +2 -28
- data/node_modules/govuk-frontend/govuk/components/label/_index.scss +41 -0
- data/node_modules/govuk-frontend/govuk/components/label/_label.scss +2 -45
- data/node_modules/govuk-frontend/govuk/components/notification-banner/_index.scss +89 -0
- data/node_modules/govuk-frontend/govuk/components/notification-banner/_notification-banner.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/notification-banner/notification-banner.js +61 -0
- data/node_modules/govuk-frontend/govuk/components/panel/_index.scss +44 -0
- data/node_modules/govuk-frontend/govuk/components/panel/_panel.scss +2 -44
- data/node_modules/govuk-frontend/govuk/components/phase-banner/_index.scss +27 -0
- data/node_modules/govuk-frontend/govuk/components/phase-banner/_phase-banner.scss +2 -31
- data/node_modules/govuk-frontend/govuk/components/radios/_index.scss +342 -0
- data/node_modules/govuk-frontend/govuk/components/radios/_radios.scss +2 -346
- data/node_modules/govuk-frontend/govuk/components/radios/radios.js +76 -28
- data/node_modules/govuk-frontend/govuk/components/select/_index.scss +49 -0
- data/node_modules/govuk-frontend/govuk/components/select/_select.scss +2 -57
- data/node_modules/govuk-frontend/govuk/components/skip-link/_index.scss +36 -0
- data/node_modules/govuk-frontend/govuk/components/skip-link/_skip-link.scss +2 -37
- data/node_modules/govuk-frontend/govuk/components/summary-list/_index.scss +145 -0
- data/node_modules/govuk-frontend/govuk/components/summary-list/_summary-list.scss +2 -157
- data/node_modules/govuk-frontend/govuk/components/table/_index.scss +71 -0
- data/node_modules/govuk-frontend/govuk/components/table/_table.scss +2 -54
- data/node_modules/govuk-frontend/govuk/components/tabs/_index.scss +130 -0
- data/node_modules/govuk-frontend/govuk/components/tabs/_tabs.scss +2 -142
- data/node_modules/govuk-frontend/govuk/components/tag/_index.scss +86 -0
- data/node_modules/govuk-frontend/govuk/components/tag/_tag.scss +2 -91
- data/node_modules/govuk-frontend/govuk/components/textarea/_index.scss +47 -0
- data/node_modules/govuk-frontend/govuk/components/textarea/_textarea.scss +2 -55
- data/node_modules/govuk-frontend/govuk/components/warning-text/_index.scss +66 -0
- data/node_modules/govuk-frontend/govuk/components/warning-text/_warning-text.scss +2 -60
- data/node_modules/govuk-frontend/govuk/core/_global-styles.scss +5 -3
- data/node_modules/govuk-frontend/govuk/core/_links.scss +13 -3
- data/node_modules/govuk-frontend/govuk/core/_lists.scss +17 -3
- data/node_modules/govuk-frontend/govuk/core/_section-break.scss +5 -3
- data/node_modules/govuk-frontend/govuk/core/_template.scss +5 -4
- data/node_modules/govuk-frontend/govuk/core/_typography.scss +5 -3
- data/node_modules/govuk-frontend/govuk/helpers/_clearfix.scss +1 -1
- data/node_modules/govuk-frontend/govuk/helpers/_colour.scss +1 -1
- data/node_modules/govuk-frontend/govuk/helpers/_device-pixels.scss +3 -3
- data/node_modules/govuk-frontend/govuk/helpers/_focused.scss +1 -1
- data/node_modules/govuk-frontend/govuk/helpers/_font-faces.scss +9 -11
- data/node_modules/govuk-frontend/govuk/helpers/_grid.scss +2 -1
- data/node_modules/govuk-frontend/govuk/helpers/_links.scss +246 -33
- data/node_modules/govuk-frontend/govuk/helpers/_media-queries.scss +2 -6
- data/node_modules/govuk-frontend/govuk/helpers/_shape-arrow.scss +1 -1
- data/node_modules/govuk-frontend/govuk/helpers/_spacing.scss +3 -2
- data/node_modules/govuk-frontend/govuk/helpers/_typography.scss +8 -7
- data/node_modules/govuk-frontend/govuk/helpers/_visually-hidden.scss +1 -1
- data/node_modules/govuk-frontend/govuk/objects/_all.scss +1 -0
- data/node_modules/govuk-frontend/govuk/objects/_button-group.scss +101 -0
- data/node_modules/govuk-frontend/govuk/objects/_form-group.scss +1 -4
- data/node_modules/govuk-frontend/govuk/objects/_grid.scss +3 -6
- data/node_modules/govuk-frontend/govuk/objects/_main-wrapper.scss +5 -4
- data/node_modules/govuk-frontend/govuk/objects/_width-container.scss +6 -4
- data/node_modules/govuk-frontend/govuk/overrides/_display.scss +6 -4
- data/node_modules/govuk-frontend/govuk/overrides/_spacing.scss +5 -3
- data/node_modules/govuk-frontend/govuk/overrides/_typography.scss +5 -3
- data/node_modules/govuk-frontend/govuk/overrides/_width.scss +6 -3
- data/node_modules/govuk-frontend/govuk/settings/_all.scss +2 -0
- data/node_modules/govuk-frontend/govuk/settings/_colours-applied.scss +11 -5
- data/node_modules/govuk-frontend/govuk/settings/_colours-organisations.scss +3 -0
- data/node_modules/govuk-frontend/govuk/settings/_colours-palette.scss +42 -35
- data/node_modules/govuk-frontend/govuk/settings/_compatibility.scss +0 -1
- data/node_modules/govuk-frontend/govuk/settings/_ie8.scss +1 -1
- data/node_modules/govuk-frontend/govuk/settings/_links.scss +62 -0
- data/node_modules/govuk-frontend/govuk/settings/_measurements.scss +4 -5
- data/node_modules/govuk-frontend/govuk/settings/_typography-font-families.scss +2 -2
- data/node_modules/govuk-frontend/govuk/settings/_typography-font.scss +14 -5
- data/node_modules/govuk-frontend/govuk/settings/_typography-responsive.scss +6 -2
- data/node_modules/govuk-frontend/govuk/tools/_compatibility.scss +1 -1
- data/node_modules/govuk-frontend/govuk/tools/_font-url.scss +1 -4
- data/node_modules/govuk-frontend/govuk/tools/_ie8.scss +1 -1
- data/node_modules/govuk-frontend/govuk/tools/_image-url.scss +1 -4
- data/node_modules/govuk-frontend/govuk/tools/_px-to-em.scss +1 -1
- data/node_modules/govuk-frontend/govuk/tools/_px-to-rem.scss +1 -1
- data/node_modules/govuk-frontend/govuk/utilities/_visually-hidden.scss +0 -1
- data/node_modules/govuk-frontend/govuk/vendor/_sass-mq.scss +0 -4
- data/package-lock.json +358 -288
- data/package.json +2 -2
- metadata +56 -4
data/package.json
CHANGED
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_tech_docs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Government Digital Service
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: autoprefixer-rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '10.2'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '10.2'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: chronic
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,14 +170,14 @@ dependencies:
|
|
156
170
|
requirements:
|
157
171
|
- - "~>"
|
158
172
|
- !ruby/object:Gem::Version
|
159
|
-
version: 3.5.
|
173
|
+
version: 3.5.1
|
160
174
|
type: :runtime
|
161
175
|
prerelease: false
|
162
176
|
version_requirements: !ruby/object:Gem::Requirement
|
163
177
|
requirements:
|
164
178
|
- - "~>"
|
165
179
|
- !ruby/object:Gem::Version
|
166
|
-
version: 3.5.
|
180
|
+
version: 3.5.1
|
167
181
|
- !ruby/object:Gem::Dependency
|
168
182
|
name: byebug
|
169
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -295,6 +309,7 @@ files:
|
|
295
309
|
- example/source/not-expired-page.html.md
|
296
310
|
- example/source/pets.yml
|
297
311
|
- example/source/prevent-index-page.html.md
|
312
|
+
- example/source/single-page-nav.html.md
|
298
313
|
- example/source/stylesheets/print.css.scss
|
299
314
|
- example/source/stylesheets/screen-old-ie.css.scss
|
300
315
|
- example/source/stylesheets/screen.css.scss
|
@@ -374,6 +389,7 @@ files:
|
|
374
389
|
- lib/source/layouts/core.erb
|
375
390
|
- lib/source/layouts/layout.erb
|
376
391
|
- lib/source/stylesheets/manifest.css
|
392
|
+
- node_modules/govuk-frontend/govuk/_base.scss
|
377
393
|
- node_modules/govuk-frontend/govuk/all-ie8.scss
|
378
394
|
- node_modules/govuk-frontend/govuk/all.js
|
379
395
|
- node_modules/govuk-frontend/govuk/all.scss
|
@@ -394,42 +410,76 @@ files:
|
|
394
410
|
- node_modules/govuk-frontend/govuk/common.js
|
395
411
|
- node_modules/govuk-frontend/govuk/components/_all.scss
|
396
412
|
- node_modules/govuk-frontend/govuk/components/accordion/_accordion.scss
|
413
|
+
- node_modules/govuk-frontend/govuk/components/accordion/_index.scss
|
397
414
|
- node_modules/govuk-frontend/govuk/components/accordion/accordion.js
|
398
415
|
- node_modules/govuk-frontend/govuk/components/back-link/_back-link.scss
|
416
|
+
- node_modules/govuk-frontend/govuk/components/back-link/_index.scss
|
399
417
|
- node_modules/govuk-frontend/govuk/components/breadcrumbs/_breadcrumbs.scss
|
418
|
+
- node_modules/govuk-frontend/govuk/components/breadcrumbs/_index.scss
|
400
419
|
- node_modules/govuk-frontend/govuk/components/button/_button.scss
|
420
|
+
- node_modules/govuk-frontend/govuk/components/button/_index.scss
|
401
421
|
- node_modules/govuk-frontend/govuk/components/button/button.js
|
402
422
|
- node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
|
423
|
+
- node_modules/govuk-frontend/govuk/components/character-count/_index.scss
|
403
424
|
- node_modules/govuk-frontend/govuk/components/character-count/character-count.js
|
404
425
|
- node_modules/govuk-frontend/govuk/components/checkboxes/_checkboxes.scss
|
426
|
+
- node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss
|
405
427
|
- node_modules/govuk-frontend/govuk/components/checkboxes/checkboxes.js
|
428
|
+
- node_modules/govuk-frontend/govuk/components/cookie-banner/_cookie-banner.scss
|
429
|
+
- node_modules/govuk-frontend/govuk/components/cookie-banner/_index.scss
|
406
430
|
- node_modules/govuk-frontend/govuk/components/date-input/_date-input.scss
|
431
|
+
- node_modules/govuk-frontend/govuk/components/date-input/_index.scss
|
407
432
|
- node_modules/govuk-frontend/govuk/components/details/_details.scss
|
433
|
+
- node_modules/govuk-frontend/govuk/components/details/_index.scss
|
408
434
|
- node_modules/govuk-frontend/govuk/components/details/details.js
|
409
435
|
- node_modules/govuk-frontend/govuk/components/error-message/_error-message.scss
|
436
|
+
- node_modules/govuk-frontend/govuk/components/error-message/_index.scss
|
410
437
|
- node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
|
438
|
+
- node_modules/govuk-frontend/govuk/components/error-summary/_index.scss
|
411
439
|
- node_modules/govuk-frontend/govuk/components/error-summary/error-summary.js
|
412
440
|
- node_modules/govuk-frontend/govuk/components/fieldset/_fieldset.scss
|
441
|
+
- node_modules/govuk-frontend/govuk/components/fieldset/_index.scss
|
413
442
|
- node_modules/govuk-frontend/govuk/components/file-upload/_file-upload.scss
|
443
|
+
- node_modules/govuk-frontend/govuk/components/file-upload/_index.scss
|
414
444
|
- node_modules/govuk-frontend/govuk/components/footer/_footer.scss
|
445
|
+
- node_modules/govuk-frontend/govuk/components/footer/_index.scss
|
415
446
|
- node_modules/govuk-frontend/govuk/components/header/_header.scss
|
447
|
+
- node_modules/govuk-frontend/govuk/components/header/_index.scss
|
416
448
|
- node_modules/govuk-frontend/govuk/components/header/header.js
|
417
449
|
- node_modules/govuk-frontend/govuk/components/hint/_hint.scss
|
450
|
+
- node_modules/govuk-frontend/govuk/components/hint/_index.scss
|
451
|
+
- node_modules/govuk-frontend/govuk/components/input/_index.scss
|
418
452
|
- node_modules/govuk-frontend/govuk/components/input/_input.scss
|
453
|
+
- node_modules/govuk-frontend/govuk/components/inset-text/_index.scss
|
419
454
|
- node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
|
455
|
+
- node_modules/govuk-frontend/govuk/components/label/_index.scss
|
420
456
|
- node_modules/govuk-frontend/govuk/components/label/_label.scss
|
457
|
+
- node_modules/govuk-frontend/govuk/components/notification-banner/_index.scss
|
458
|
+
- node_modules/govuk-frontend/govuk/components/notification-banner/_notification-banner.scss
|
459
|
+
- node_modules/govuk-frontend/govuk/components/notification-banner/notification-banner.js
|
460
|
+
- node_modules/govuk-frontend/govuk/components/panel/_index.scss
|
421
461
|
- node_modules/govuk-frontend/govuk/components/panel/_panel.scss
|
462
|
+
- node_modules/govuk-frontend/govuk/components/phase-banner/_index.scss
|
422
463
|
- node_modules/govuk-frontend/govuk/components/phase-banner/_phase-banner.scss
|
464
|
+
- node_modules/govuk-frontend/govuk/components/radios/_index.scss
|
423
465
|
- node_modules/govuk-frontend/govuk/components/radios/_radios.scss
|
424
466
|
- node_modules/govuk-frontend/govuk/components/radios/radios.js
|
467
|
+
- node_modules/govuk-frontend/govuk/components/select/_index.scss
|
425
468
|
- node_modules/govuk-frontend/govuk/components/select/_select.scss
|
469
|
+
- node_modules/govuk-frontend/govuk/components/skip-link/_index.scss
|
426
470
|
- node_modules/govuk-frontend/govuk/components/skip-link/_skip-link.scss
|
471
|
+
- node_modules/govuk-frontend/govuk/components/summary-list/_index.scss
|
427
472
|
- node_modules/govuk-frontend/govuk/components/summary-list/_summary-list.scss
|
473
|
+
- node_modules/govuk-frontend/govuk/components/table/_index.scss
|
428
474
|
- node_modules/govuk-frontend/govuk/components/table/_table.scss
|
475
|
+
- node_modules/govuk-frontend/govuk/components/tabs/_index.scss
|
429
476
|
- node_modules/govuk-frontend/govuk/components/tabs/_tabs.scss
|
430
477
|
- node_modules/govuk-frontend/govuk/components/tabs/tabs.js
|
478
|
+
- node_modules/govuk-frontend/govuk/components/tag/_index.scss
|
431
479
|
- node_modules/govuk-frontend/govuk/components/tag/_tag.scss
|
480
|
+
- node_modules/govuk-frontend/govuk/components/textarea/_index.scss
|
432
481
|
- node_modules/govuk-frontend/govuk/components/textarea/_textarea.scss
|
482
|
+
- node_modules/govuk-frontend/govuk/components/warning-text/_index.scss
|
433
483
|
- node_modules/govuk-frontend/govuk/components/warning-text/_warning-text.scss
|
434
484
|
- node_modules/govuk-frontend/govuk/core/_all.scss
|
435
485
|
- node_modules/govuk-frontend/govuk/core/_global-styles.scss
|
@@ -452,6 +502,7 @@ files:
|
|
452
502
|
- node_modules/govuk-frontend/govuk/helpers/_typography.scss
|
453
503
|
- node_modules/govuk-frontend/govuk/helpers/_visually-hidden.scss
|
454
504
|
- node_modules/govuk-frontend/govuk/objects/_all.scss
|
505
|
+
- node_modules/govuk-frontend/govuk/objects/_button-group.scss
|
455
506
|
- node_modules/govuk-frontend/govuk/objects/_form-group.scss
|
456
507
|
- node_modules/govuk-frontend/govuk/objects/_grid.scss
|
457
508
|
- node_modules/govuk-frontend/govuk/objects/_main-wrapper.scss
|
@@ -469,6 +520,7 @@ files:
|
|
469
520
|
- node_modules/govuk-frontend/govuk/settings/_compatibility.scss
|
470
521
|
- node_modules/govuk-frontend/govuk/settings/_global-styles.scss
|
471
522
|
- node_modules/govuk-frontend/govuk/settings/_ie8.scss
|
523
|
+
- node_modules/govuk-frontend/govuk/settings/_links.scss
|
472
524
|
- node_modules/govuk-frontend/govuk/settings/_measurements.scss
|
473
525
|
- node_modules/govuk-frontend/govuk/settings/_media-queries.scss
|
474
526
|
- node_modules/govuk-frontend/govuk/settings/_spacing.scss
|