govuk_tech_docs 3.3.1 → 3.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/publish.yaml +10 -7
  3. data/.github/workflows/test.yaml +8 -3
  4. data/.nvmrc +1 -1
  5. data/.rubocop.yml +3 -0
  6. data/CHANGELOG.md +21 -1
  7. data/Gemfile +1 -1
  8. data/govuk_tech_docs.gemspec +13 -9
  9. data/lib/assets/stylesheets/_govuk_tech_docs.scss +13 -0
  10. data/lib/govuk_tech_docs/api_reference/api_reference_extension.rb +1 -1
  11. data/lib/govuk_tech_docs/api_reference/api_reference_renderer.rb +10 -10
  12. data/lib/govuk_tech_docs/path_helpers.rb +40 -10
  13. data/lib/govuk_tech_docs/redirects.rb +2 -2
  14. data/lib/govuk_tech_docs/table_of_contents/heading.rb +2 -2
  15. data/lib/govuk_tech_docs/table_of_contents/heading_tree_renderer.rb +5 -5
  16. data/lib/govuk_tech_docs/table_of_contents/helpers.rb +3 -3
  17. data/lib/govuk_tech_docs/version.rb +1 -1
  18. data/lib/govuk_tech_docs.rb +4 -4
  19. data/lib/source/favicon.ico +0 -0
  20. data/lib/source/layouts/_footer.erb +1 -1
  21. data/lib/source/layouts/_header.erb +15 -17
  22. data/node_modules/govuk-frontend/govuk/all-ie8.scss +8 -0
  23. data/node_modules/govuk-frontend/govuk/all.js +4918 -3796
  24. data/node_modules/govuk-frontend/govuk/common/closest-attribute-value.js +54 -49
  25. data/node_modules/govuk-frontend/govuk/common/govuk-frontend-version.js +17 -0
  26. data/node_modules/govuk-frontend/govuk/common/index.js +172 -152
  27. data/node_modules/govuk-frontend/govuk/common/normalise-dataset.js +334 -321
  28. data/node_modules/govuk-frontend/govuk/common.js +171 -151
  29. data/node_modules/govuk-frontend/govuk/components/_all.scss +3 -2
  30. data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss +26 -7
  31. data/node_modules/govuk-frontend/govuk/components/accordion/accordion.js +2203 -1650
  32. data/node_modules/govuk-frontend/govuk/components/back-link/_index.scss +24 -16
  33. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_index.scss +34 -11
  34. data/node_modules/govuk-frontend/govuk/components/button/_index.scss +49 -9
  35. data/node_modules/govuk-frontend/govuk/components/button/button.js +961 -916
  36. data/node_modules/govuk-frontend/govuk/components/character-count/character-count.js +2142 -2038
  37. data/node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss +6 -6
  38. data/node_modules/govuk-frontend/govuk/components/checkboxes/checkboxes.js +1204 -1145
  39. data/node_modules/govuk-frontend/govuk/components/details/details.js +826 -799
  40. data/node_modules/govuk-frontend/govuk/components/error-summary/error-summary.js +1097 -1044
  41. data/node_modules/govuk-frontend/govuk/components/exit-this-page/_exit-this-page.scss +2 -0
  42. data/node_modules/govuk-frontend/govuk/components/exit-this-page/_index.scss +97 -0
  43. data/node_modules/govuk-frontend/govuk/components/exit-this-page/exit-this-page.js +2120 -0
  44. data/node_modules/govuk-frontend/govuk/components/file-upload/_index.scss +6 -1
  45. data/node_modules/govuk-frontend/govuk/components/footer/_index.scss +0 -7
  46. data/node_modules/govuk-frontend/govuk/components/header/_index.scss +6 -0
  47. data/node_modules/govuk-frontend/govuk/components/header/header.js +683 -1003
  48. data/node_modules/govuk-frontend/govuk/components/input/_index.scss +15 -3
  49. data/node_modules/govuk-frontend/govuk/components/notification-banner/notification-banner.js +786 -751
  50. data/node_modules/govuk-frontend/govuk/components/radios/_index.scss +5 -5
  51. data/node_modules/govuk-frontend/govuk/components/radios/radios.js +1151 -1105
  52. data/node_modules/govuk-frontend/govuk/components/select/_index.scss +7 -1
  53. data/node_modules/govuk-frontend/govuk/components/skip-link/skip-link.js +1045 -1014
  54. data/node_modules/govuk-frontend/govuk/components/summary-list/_index.scss +107 -0
  55. data/node_modules/govuk-frontend/govuk/components/tabs/tabs.js +1514 -1268
  56. data/node_modules/govuk-frontend/govuk/components/tag/_index.scss +18 -18
  57. data/node_modules/govuk-frontend/govuk/components/textarea/_index.scss +8 -1
  58. data/node_modules/govuk-frontend/govuk/core/_all.scss +1 -0
  59. data/node_modules/govuk-frontend/govuk/core/_govuk-frontend-version.scss +5 -0
  60. data/node_modules/govuk-frontend/govuk/helpers/_colour.scss +5 -2
  61. data/node_modules/govuk-frontend/govuk/helpers/_focused.scss +1 -1
  62. data/node_modules/govuk-frontend/govuk/helpers/_font-faces.scss +1 -1
  63. data/node_modules/govuk-frontend/govuk/helpers/_visually-hidden.scss +12 -0
  64. data/node_modules/govuk-frontend/govuk/i18n.js +371 -364
  65. data/node_modules/govuk-frontend/govuk/objects/_template.scss +20 -0
  66. data/node_modules/govuk-frontend/govuk/objects/_width-container.scss +1 -1
  67. data/node_modules/govuk-frontend/govuk/settings/_colours-organisations.scss +4 -0
  68. data/node_modules/govuk-frontend/govuk/settings/_ie8.scss +16 -0
  69. data/node_modules/govuk-frontend/govuk/settings/_links.scss +5 -1
  70. data/node_modules/govuk-frontend/govuk/settings/_measurements.scss +5 -5
  71. data/node_modules/govuk-frontend/govuk/tools/_ie8.scss +38 -2
  72. data/node_modules/govuk-frontend/govuk/vendor/polyfills/DOMTokenList.js +243 -241
  73. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js +14 -12
  74. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Document.js +18 -16
  75. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/classList.js +553 -545
  76. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/closest.js +40 -36
  77. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/dataset.js +257 -250
  78. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/matches.js +22 -20
  79. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/nextElementSibling.js +204 -197
  80. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/previousElementSibling.js +204 -197
  81. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element.js +109 -105
  82. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Event.js +407 -399
  83. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Function/prototype/bind.js +242 -238
  84. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Object/defineProperty.js +73 -71
  85. data/node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js +15 -13
  86. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Window.js +18 -16
  87. data/node_modules/govuk-frontend/govuk-prototype-kit/init.js +1 -0
  88. data/package-lock.json +2708 -8
  89. data/package.json +1 -1
  90. metadata +25 -7
  91. data/.ruby-version +0 -1
data/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "lint": "standard"
7
7
  },
8
8
  "dependencies": {
9
- "govuk-frontend": "^4.4.1"
9
+ "govuk-frontend": "~4.7.0"
10
10
  },
11
11
  "devDependencies": {
12
12
  "standard": "^14.3.4"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_tech_docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.1
4
+ version: 3.4.5
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: 2023-04-11 00:00:00.000000000 Z
11
+ date: 2024-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: autoprefixer-rails
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.10.2
41
+ - !ruby/object:Gem::Dependency
42
+ name: haml
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "<"
46
+ - !ruby/object:Gem::Version
47
+ version: 6.0.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "<"
53
+ - !ruby/object:Gem::Version
54
+ version: 6.0.0
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: middleman
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -254,14 +268,14 @@ dependencies:
254
268
  requirements:
255
269
  - - "~>"
256
270
  - !ruby/object:Gem::Version
257
- version: 3.5.0
271
+ version: 4.10.0
258
272
  type: :development
259
273
  prerelease: false
260
274
  version_requirements: !ruby/object:Gem::Requirement
261
275
  requirements:
262
276
  - - "~>"
263
277
  - !ruby/object:Gem::Version
264
- version: 3.5.0
278
+ version: 4.10.0
265
279
  description: Gem to distribute the GOV.UK Tech Docs Template. See https://github.com/alphagov/tech-docs-gem
266
280
  for the project.
267
281
  email:
@@ -279,7 +293,6 @@ files:
279
293
  - ".nvmrc"
280
294
  - ".rspec"
281
295
  - ".rubocop.yml"
282
- - ".ruby-version"
283
296
  - CHANGELOG.md
284
297
  - Gemfile
285
298
  - LICENCE
@@ -414,6 +427,7 @@ files:
414
427
  - node_modules/govuk-frontend/govuk/assets/images/govuk-opengraph-image.png
415
428
  - node_modules/govuk-frontend/govuk/common.js
416
429
  - node_modules/govuk-frontend/govuk/common/closest-attribute-value.js
430
+ - node_modules/govuk-frontend/govuk/common/govuk-frontend-version.js
417
431
  - node_modules/govuk-frontend/govuk/common/index.js
418
432
  - node_modules/govuk-frontend/govuk/common/normalise-dataset.js
419
433
  - node_modules/govuk-frontend/govuk/components/_all.scss
@@ -445,6 +459,9 @@ files:
445
459
  - node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
446
460
  - node_modules/govuk-frontend/govuk/components/error-summary/_index.scss
447
461
  - node_modules/govuk-frontend/govuk/components/error-summary/error-summary.js
462
+ - node_modules/govuk-frontend/govuk/components/exit-this-page/_exit-this-page.scss
463
+ - node_modules/govuk-frontend/govuk/components/exit-this-page/_index.scss
464
+ - node_modules/govuk-frontend/govuk/components/exit-this-page/exit-this-page.js
448
465
  - node_modules/govuk-frontend/govuk/components/fieldset/_fieldset.scss
449
466
  - node_modules/govuk-frontend/govuk/components/fieldset/_index.scss
450
467
  - node_modules/govuk-frontend/govuk/components/file-upload/_file-upload.scss
@@ -494,6 +511,7 @@ files:
494
511
  - node_modules/govuk-frontend/govuk/components/warning-text/_warning-text.scss
495
512
  - node_modules/govuk-frontend/govuk/core/_all.scss
496
513
  - node_modules/govuk-frontend/govuk/core/_global-styles.scss
514
+ - node_modules/govuk-frontend/govuk/core/_govuk-frontend-version.scss
497
515
  - node_modules/govuk-frontend/govuk/core/_links.scss
498
516
  - node_modules/govuk-frontend/govuk/core/_lists.scss
499
517
  - node_modules/govuk-frontend/govuk/core/_section-break.scss
@@ -582,14 +600,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
582
600
  requirements:
583
601
  - - ">="
584
602
  - !ruby/object:Gem::Version
585
- version: '0'
603
+ version: 2.7.0
586
604
  required_rubygems_version: !ruby/object:Gem::Requirement
587
605
  requirements:
588
606
  - - ">="
589
607
  - !ruby/object:Gem::Version
590
608
  version: '0'
591
609
  requirements: []
592
- rubygems_version: 3.1.4
610
+ rubygems_version: 3.5.3
593
611
  signing_key:
594
612
  specification_version: 4
595
613
  summary: Gem to distribute the GOV.UK Tech Docs Template
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 2.7.2