govuk_publishing_components 34.7.0 → 34.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/lib/govuk_publishing_components/presenters/related_navigation_helper.rb +0 -7
  3. data/lib/govuk_publishing_components/version.rb +1 -1
  4. data/node_modules/govuk-frontend/govuk/all.js +4029 -3792
  5. data/node_modules/govuk-frontend/govuk/all.js.map +1 -0
  6. data/node_modules/govuk-frontend/govuk/common/closest-attribute-value.js +52 -51
  7. data/node_modules/govuk-frontend/govuk/common/closest-attribute-value.js.map +1 -0
  8. data/node_modules/govuk-frontend/govuk/common/index.js +153 -145
  9. data/node_modules/govuk-frontend/govuk/common/index.js.map +1 -0
  10. data/node_modules/govuk-frontend/govuk/common/normalise-dataset.js +324 -321
  11. data/node_modules/govuk-frontend/govuk/common/normalise-dataset.js.map +1 -0
  12. data/node_modules/govuk-frontend/govuk/common.js +154 -146
  13. data/node_modules/govuk-frontend/govuk/common.js.map +1 -0
  14. data/node_modules/govuk-frontend/govuk/components/_all.scss +1 -1
  15. data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss +23 -4
  16. data/node_modules/govuk-frontend/govuk/components/accordion/accordion.js +2059 -1654
  17. data/node_modules/govuk-frontend/govuk/components/accordion/accordion.js.map +1 -0
  18. data/node_modules/govuk-frontend/govuk/components/accordion/fixtures.json +11 -11
  19. data/node_modules/govuk-frontend/govuk/components/accordion/template.njk +1 -1
  20. data/node_modules/govuk-frontend/govuk/components/back-link/_index.scss +19 -19
  21. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_index.scss +21 -10
  22. data/node_modules/govuk-frontend/govuk/components/button/button.js +927 -917
  23. data/node_modules/govuk-frontend/govuk/components/button/button.js.map +1 -0
  24. data/node_modules/govuk-frontend/govuk/components/character-count/character-count.js +2050 -2040
  25. data/node_modules/govuk-frontend/govuk/components/character-count/character-count.js.map +1 -0
  26. data/node_modules/govuk-frontend/govuk/components/checkboxes/checkboxes.js +1155 -1147
  27. data/node_modules/govuk-frontend/govuk/components/checkboxes/checkboxes.js.map +1 -0
  28. data/node_modules/govuk-frontend/govuk/components/cookie-banner/fixtures.json +23 -23
  29. data/node_modules/govuk-frontend/govuk/components/cookie-banner/template.njk +1 -1
  30. data/node_modules/govuk-frontend/govuk/components/details/details.js +800 -799
  31. data/node_modules/govuk-frontend/govuk/components/details/details.js.map +1 -0
  32. data/node_modules/govuk-frontend/govuk/components/error-summary/error-summary.js +1058 -1045
  33. data/node_modules/govuk-frontend/govuk/components/error-summary/error-summary.js.map +1 -0
  34. data/node_modules/govuk-frontend/govuk/components/header/_index.scss +6 -0
  35. data/node_modules/govuk-frontend/govuk/components/header/header.js +646 -998
  36. data/node_modules/govuk-frontend/govuk/components/header/header.js.map +1 -0
  37. data/node_modules/govuk-frontend/govuk/components/notification-banner/notification-banner.js +760 -752
  38. data/node_modules/govuk-frontend/govuk/components/notification-banner/notification-banner.js.map +1 -0
  39. data/node_modules/govuk-frontend/govuk/components/pagination/fixtures.json +61 -0
  40. data/node_modules/govuk-frontend/govuk/components/pagination/template.njk +1 -1
  41. data/node_modules/govuk-frontend/govuk/components/phase-banner/macro-options.json +1 -1
  42. data/node_modules/govuk-frontend/govuk/components/radios/radios.js +1110 -1107
  43. data/node_modules/govuk-frontend/govuk/components/radios/radios.js.map +1 -0
  44. data/node_modules/govuk-frontend/govuk/components/skip-link/skip-link.js +1017 -1014
  45. data/node_modules/govuk-frontend/govuk/components/skip-link/skip-link.js.map +1 -0
  46. data/node_modules/govuk-frontend/govuk/components/summary-list/_index.scss +107 -0
  47. data/node_modules/govuk-frontend/govuk/components/summary-list/fixtures.json +318 -23
  48. data/node_modules/govuk-frontend/govuk/components/summary-list/macro-options.json +110 -0
  49. data/node_modules/govuk-frontend/govuk/components/summary-list/template.njk +72 -28
  50. data/node_modules/govuk-frontend/govuk/components/tabs/tabs.js +1392 -1264
  51. data/node_modules/govuk-frontend/govuk/components/tabs/tabs.js.map +1 -0
  52. data/node_modules/govuk-frontend/govuk/i18n.js +363 -364
  53. data/node_modules/govuk-frontend/govuk/i18n.js.map +1 -0
  54. data/node_modules/govuk-frontend/govuk/settings/_measurements.scss +5 -5
  55. data/node_modules/govuk-frontend/govuk/vendor/polyfills/DOMTokenList.js +242 -241
  56. data/node_modules/govuk-frontend/govuk/vendor/polyfills/DOMTokenList.js.map +1 -0
  57. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js +13 -12
  58. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js.map +1 -0
  59. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Document.js +17 -16
  60. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Document.js.map +1 -0
  61. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/classList.js +547 -546
  62. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/classList.js.map +1 -0
  63. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/closest.js +37 -36
  64. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/closest.js.map +1 -0
  65. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/dataset.js +251 -250
  66. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/dataset.js.map +1 -0
  67. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/matches.js +21 -20
  68. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/matches.js.map +1 -0
  69. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/nextElementSibling.js +198 -197
  70. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/nextElementSibling.js.map +1 -0
  71. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/previousElementSibling.js +198 -197
  72. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/previousElementSibling.js.map +1 -0
  73. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element.js +106 -105
  74. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element.js.map +1 -0
  75. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Event.js +400 -399
  76. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Event.js.map +1 -0
  77. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Function/prototype/bind.js +239 -238
  78. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Function/prototype/bind.js.map +1 -0
  79. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Object/defineProperty.js +72 -71
  80. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Object/defineProperty.js.map +1 -0
  81. data/node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js +14 -13
  82. data/node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map +1 -0
  83. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Window.js +17 -16
  84. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Window.js.map +1 -0
  85. data/node_modules/govuk-frontend/govuk-esm/all.mjs +2 -2
  86. data/node_modules/govuk-frontend/govuk-esm/common/index.mjs +17 -10
  87. data/node_modules/govuk-frontend/govuk-esm/common/normalise-dataset.mjs +3 -1
  88. data/node_modules/govuk-frontend/govuk-esm/components/accordion/accordion.mjs +135 -52
  89. data/node_modules/govuk-frontend/govuk-esm/components/button/button.mjs +11 -9
  90. data/node_modules/govuk-frontend/govuk-esm/components/character-count/character-count.mjs +10 -7
  91. data/node_modules/govuk-frontend/govuk-esm/components/checkboxes/checkboxes.mjs +24 -18
  92. data/node_modules/govuk-frontend/govuk-esm/components/details/details.mjs +23 -16
  93. data/node_modules/govuk-frontend/govuk-esm/components/error-summary/error-summary.mjs +15 -11
  94. data/node_modules/govuk-frontend/govuk-esm/components/header/header.mjs +3 -2
  95. data/node_modules/govuk-frontend/govuk-esm/components/notification-banner/notification-banner.mjs +3 -4
  96. data/node_modules/govuk-frontend/govuk-esm/components/radios/radios.mjs +10 -9
  97. data/node_modules/govuk-frontend/govuk-esm/components/skip-link/skip-link.mjs +5 -3
  98. data/node_modules/govuk-frontend/govuk-esm/components/tabs/tabs.mjs +165 -38
  99. data/node_modules/govuk-frontend/govuk-esm/i18n.mjs +9 -11
  100. data/node_modules/govuk-frontend/package.json +1 -1
  101. metadata +34 -2
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: 34.7.0
4
+ version: 34.7.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: 2023-02-02 00:00:00.000000000 Z
11
+ date: 2023-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config
@@ -1012,6 +1012,7 @@ files:
1012
1012
  - node_modules/govuk-frontend/govuk/_base.scss
1013
1013
  - node_modules/govuk-frontend/govuk/all-ie8.scss
1014
1014
  - node_modules/govuk-frontend/govuk/all.js
1015
+ - node_modules/govuk-frontend/govuk/all.js.map
1015
1016
  - node_modules/govuk-frontend/govuk/all.scss
1016
1017
  - node_modules/govuk-frontend/govuk/assets/fonts/bold-affa96571d-v2.woff
1017
1018
  - node_modules/govuk-frontend/govuk/assets/fonts/bold-b542beb274-v2.woff2
@@ -1028,14 +1029,19 @@ files:
1028
1029
  - node_modules/govuk-frontend/govuk/assets/images/govuk-mask-icon.svg
1029
1030
  - node_modules/govuk-frontend/govuk/assets/images/govuk-opengraph-image.png
1030
1031
  - node_modules/govuk-frontend/govuk/common.js
1032
+ - node_modules/govuk-frontend/govuk/common.js.map
1031
1033
  - node_modules/govuk-frontend/govuk/common/closest-attribute-value.js
1034
+ - node_modules/govuk-frontend/govuk/common/closest-attribute-value.js.map
1032
1035
  - node_modules/govuk-frontend/govuk/common/index.js
1036
+ - node_modules/govuk-frontend/govuk/common/index.js.map
1033
1037
  - node_modules/govuk-frontend/govuk/common/normalise-dataset.js
1038
+ - node_modules/govuk-frontend/govuk/common/normalise-dataset.js.map
1034
1039
  - node_modules/govuk-frontend/govuk/components/_all.scss
1035
1040
  - node_modules/govuk-frontend/govuk/components/accordion/README.md
1036
1041
  - node_modules/govuk-frontend/govuk/components/accordion/_accordion.scss
1037
1042
  - node_modules/govuk-frontend/govuk/components/accordion/_index.scss
1038
1043
  - node_modules/govuk-frontend/govuk/components/accordion/accordion.js
1044
+ - node_modules/govuk-frontend/govuk/components/accordion/accordion.js.map
1039
1045
  - node_modules/govuk-frontend/govuk/components/accordion/fixtures.json
1040
1046
  - node_modules/govuk-frontend/govuk/components/accordion/macro-options.json
1041
1047
  - node_modules/govuk-frontend/govuk/components/accordion/macro.njk
@@ -1058,6 +1064,7 @@ files:
1058
1064
  - node_modules/govuk-frontend/govuk/components/button/_button.scss
1059
1065
  - node_modules/govuk-frontend/govuk/components/button/_index.scss
1060
1066
  - node_modules/govuk-frontend/govuk/components/button/button.js
1067
+ - node_modules/govuk-frontend/govuk/components/button/button.js.map
1061
1068
  - node_modules/govuk-frontend/govuk/components/button/fixtures.json
1062
1069
  - node_modules/govuk-frontend/govuk/components/button/macro-options.json
1063
1070
  - node_modules/govuk-frontend/govuk/components/button/macro.njk
@@ -1066,6 +1073,7 @@ files:
1066
1073
  - node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
1067
1074
  - node_modules/govuk-frontend/govuk/components/character-count/_index.scss
1068
1075
  - node_modules/govuk-frontend/govuk/components/character-count/character-count.js
1076
+ - node_modules/govuk-frontend/govuk/components/character-count/character-count.js.map
1069
1077
  - node_modules/govuk-frontend/govuk/components/character-count/fixtures.json
1070
1078
  - node_modules/govuk-frontend/govuk/components/character-count/macro-options.json
1071
1079
  - node_modules/govuk-frontend/govuk/components/character-count/macro.njk
@@ -1074,6 +1082,7 @@ files:
1074
1082
  - node_modules/govuk-frontend/govuk/components/checkboxes/_checkboxes.scss
1075
1083
  - node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss
1076
1084
  - node_modules/govuk-frontend/govuk/components/checkboxes/checkboxes.js
1085
+ - node_modules/govuk-frontend/govuk/components/checkboxes/checkboxes.js.map
1077
1086
  - node_modules/govuk-frontend/govuk/components/checkboxes/fixtures.json
1078
1087
  - node_modules/govuk-frontend/govuk/components/checkboxes/macro-options.json
1079
1088
  - node_modules/govuk-frontend/govuk/components/checkboxes/macro.njk
@@ -1096,6 +1105,7 @@ files:
1096
1105
  - node_modules/govuk-frontend/govuk/components/details/_details.scss
1097
1106
  - node_modules/govuk-frontend/govuk/components/details/_index.scss
1098
1107
  - node_modules/govuk-frontend/govuk/components/details/details.js
1108
+ - node_modules/govuk-frontend/govuk/components/details/details.js.map
1099
1109
  - node_modules/govuk-frontend/govuk/components/details/fixtures.json
1100
1110
  - node_modules/govuk-frontend/govuk/components/details/implementation.md
1101
1111
  - node_modules/govuk-frontend/govuk/components/details/macro-options.json
@@ -1112,6 +1122,7 @@ files:
1112
1122
  - node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
1113
1123
  - node_modules/govuk-frontend/govuk/components/error-summary/_index.scss
1114
1124
  - node_modules/govuk-frontend/govuk/components/error-summary/error-summary.js
1125
+ - node_modules/govuk-frontend/govuk/components/error-summary/error-summary.js.map
1115
1126
  - node_modules/govuk-frontend/govuk/components/error-summary/fixtures.json
1116
1127
  - node_modules/govuk-frontend/govuk/components/error-summary/macro-options.json
1117
1128
  - node_modules/govuk-frontend/govuk/components/error-summary/macro.njk
@@ -1142,6 +1153,7 @@ files:
1142
1153
  - node_modules/govuk-frontend/govuk/components/header/_index.scss
1143
1154
  - node_modules/govuk-frontend/govuk/components/header/fixtures.json
1144
1155
  - node_modules/govuk-frontend/govuk/components/header/header.js
1156
+ - node_modules/govuk-frontend/govuk/components/header/header.js.map
1145
1157
  - node_modules/govuk-frontend/govuk/components/header/macro-options.json
1146
1158
  - node_modules/govuk-frontend/govuk/components/header/macro.njk
1147
1159
  - node_modules/govuk-frontend/govuk/components/header/template.njk
@@ -1180,6 +1192,7 @@ files:
1180
1192
  - node_modules/govuk-frontend/govuk/components/notification-banner/macro-options.json
1181
1193
  - node_modules/govuk-frontend/govuk/components/notification-banner/macro.njk
1182
1194
  - node_modules/govuk-frontend/govuk/components/notification-banner/notification-banner.js
1195
+ - node_modules/govuk-frontend/govuk/components/notification-banner/notification-banner.js.map
1183
1196
  - node_modules/govuk-frontend/govuk/components/notification-banner/template.njk
1184
1197
  - node_modules/govuk-frontend/govuk/components/pagination/README.md
1185
1198
  - node_modules/govuk-frontend/govuk/components/pagination/_index.scss
@@ -1209,6 +1222,7 @@ files:
1209
1222
  - node_modules/govuk-frontend/govuk/components/radios/macro-options.json
1210
1223
  - node_modules/govuk-frontend/govuk/components/radios/macro.njk
1211
1224
  - node_modules/govuk-frontend/govuk/components/radios/radios.js
1225
+ - node_modules/govuk-frontend/govuk/components/radios/radios.js.map
1212
1226
  - node_modules/govuk-frontend/govuk/components/radios/template.njk
1213
1227
  - node_modules/govuk-frontend/govuk/components/select/README.md
1214
1228
  - node_modules/govuk-frontend/govuk/components/select/_index.scss
@@ -1224,6 +1238,7 @@ files:
1224
1238
  - node_modules/govuk-frontend/govuk/components/skip-link/macro-options.json
1225
1239
  - node_modules/govuk-frontend/govuk/components/skip-link/macro.njk
1226
1240
  - node_modules/govuk-frontend/govuk/components/skip-link/skip-link.js
1241
+ - node_modules/govuk-frontend/govuk/components/skip-link/skip-link.js.map
1227
1242
  - node_modules/govuk-frontend/govuk/components/skip-link/template.njk
1228
1243
  - node_modules/govuk-frontend/govuk/components/summary-list/README.md
1229
1244
  - node_modules/govuk-frontend/govuk/components/summary-list/_index.scss
@@ -1246,6 +1261,7 @@ files:
1246
1261
  - node_modules/govuk-frontend/govuk/components/tabs/macro-options.json
1247
1262
  - node_modules/govuk-frontend/govuk/components/tabs/macro.njk
1248
1263
  - node_modules/govuk-frontend/govuk/components/tabs/tabs.js
1264
+ - node_modules/govuk-frontend/govuk/components/tabs/tabs.js.map
1249
1265
  - node_modules/govuk-frontend/govuk/components/tabs/template.njk
1250
1266
  - node_modules/govuk-frontend/govuk/components/tag/README.md
1251
1267
  - node_modules/govuk-frontend/govuk/components/tag/_index.scss
@@ -1288,6 +1304,7 @@ files:
1288
1304
  - node_modules/govuk-frontend/govuk/helpers/_typography.scss
1289
1305
  - node_modules/govuk-frontend/govuk/helpers/_visually-hidden.scss
1290
1306
  - node_modules/govuk-frontend/govuk/i18n.js
1307
+ - node_modules/govuk-frontend/govuk/i18n.js.map
1291
1308
  - node_modules/govuk-frontend/govuk/macros/i18n.njk
1292
1309
  - node_modules/govuk-frontend/govuk/objects/_all.scss
1293
1310
  - node_modules/govuk-frontend/govuk/objects/_button-group.scss
@@ -1332,20 +1349,35 @@ files:
1332
1349
  - node_modules/govuk-frontend/govuk/utilities/_visually-hidden.scss
1333
1350
  - node_modules/govuk-frontend/govuk/vendor/_sass-mq.scss
1334
1351
  - node_modules/govuk-frontend/govuk/vendor/polyfills/DOMTokenList.js
1352
+ - node_modules/govuk-frontend/govuk/vendor/polyfills/DOMTokenList.js.map
1335
1353
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js
1354
+ - node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js.map
1336
1355
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Document.js
1356
+ - node_modules/govuk-frontend/govuk/vendor/polyfills/Document.js.map
1337
1357
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Element.js
1358
+ - node_modules/govuk-frontend/govuk/vendor/polyfills/Element.js.map
1338
1359
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/classList.js
1360
+ - node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/classList.js.map
1339
1361
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/closest.js
1362
+ - node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/closest.js.map
1340
1363
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/dataset.js
1364
+ - node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/dataset.js.map
1341
1365
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/matches.js
1366
+ - node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/matches.js.map
1342
1367
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/nextElementSibling.js
1368
+ - node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/nextElementSibling.js.map
1343
1369
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/previousElementSibling.js
1370
+ - node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/previousElementSibling.js.map
1344
1371
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Event.js
1372
+ - node_modules/govuk-frontend/govuk/vendor/polyfills/Event.js.map
1345
1373
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Function/prototype/bind.js
1374
+ - node_modules/govuk-frontend/govuk/vendor/polyfills/Function/prototype/bind.js.map
1346
1375
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Object/defineProperty.js
1376
+ - node_modules/govuk-frontend/govuk/vendor/polyfills/Object/defineProperty.js.map
1347
1377
  - node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js
1378
+ - node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map
1348
1379
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Window.js
1380
+ - node_modules/govuk-frontend/govuk/vendor/polyfills/Window.js.map
1349
1381
  - node_modules/govuk-frontend/package.json
1350
1382
  - node_modules/sortablejs/LICENSE
1351
1383
  - node_modules/sortablejs/README.md