defra_ruby_template 5.11.0 → 6.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +133 -9
- data/Rakefile +146 -22
- data/app/views/layouts/defra_ruby_template.html.erb +107 -63
- data/lib/defra_ruby_template/version.rb +1 -1
- data/lib/defra_ruby_template.rb +12 -8
- data/node_modules/govuk-frontend/README.md +1 -1
- data/node_modules/govuk-frontend/dist/govuk/_base.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/_base.scss +4 -4
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.js +214 -325
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs +215 -325
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/all.mjs +0 -1
- data/node_modules/govuk-frontend/dist/govuk/all.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/assets/images/favicon.ico +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/images/favicon.svg +1 -1
- data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-180.png +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-192.png +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-512.png +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-opengraph-image.png +0 -0
- data/node_modules/govuk-frontend/dist/govuk/common/configuration.mjs +29 -2
- data/node_modules/govuk-frontend/dist/govuk/common/configuration.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs +1 -1
- data/node_modules/govuk-frontend/dist/govuk/common/index.mjs +5 -11
- data/node_modules/govuk-frontend/dist/govuk/common/index.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/component.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/_index.import.scss +38 -0
- data/node_modules/govuk-frontend/dist/govuk/components/_index.scss +37 -39
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/_accordion.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss +3 -368
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/_mixin.scss +375 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js +14 -137
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs +14 -137
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.mjs +4 -4
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/fixtures.json +102 -97
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/_back-link.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.scss +3 -81
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/_mixin.scss +87 -0
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/fixtures.json +21 -32
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_breadcrumbs.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss +3 -132
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_mixin.scss +134 -0
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/fixtures.json +25 -45
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-default.html +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/_button.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/_index.import.scss +13 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss +9 -260
- data/node_modules/govuk-frontend/dist/govuk/components/button/_mixin.scss +233 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/_settings.import.scss +32 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/_settings.scss +34 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.js +7 -5
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.mjs +7 -5
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/fixtures.json +193 -209
- data/node_modules/govuk-frontend/dist/govuk/components/button/macro-options.json +12 -19
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-default-active-state.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-default-focus-state.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-default-hover-state.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-inverse-active-state.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-inverse-disabled.html +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-inverse-focus-state.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-inverse-hover-state.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-secondary-active-state.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-secondary-focus-state.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-secondary-hover-state.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-warning-active-state.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-warning-focus-state.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-warning-hover-state.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template.njk +20 -20
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/_character-count.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.import.scss +12 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss +7 -42
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/_mixin.scss +41 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js +30 -143
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs +30 -143
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs +20 -10
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/fixtures.json +72 -86
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_checkboxes.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.import.scss +12 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss +7 -309
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_mixin.scss +317 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.js +10 -5
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.mjs +10 -5
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/fixtures.json +326 -480
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/macro-options.json +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-default.html +5 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-conditional-reveal.html +21 -21
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-divider-and-none.html +30 -30
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-error.html +26 -26
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-hint.html +25 -25
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-long-text.html +23 -23
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small.html +23 -23
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-conditional-items.html +35 -35
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-divider-and-none.html +30 -32
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-divider-none-and-conditional-items.html +40 -42
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-error-message.html +32 -23
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-hint.html +30 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-hints-on-items.html +21 -23
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-legend-as-a-page-heading.html +27 -27
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-optional-form-group-classes-showing-group-error.html +36 -36
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-pre-checked-values.html +25 -16
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-very-long-option-text.html +27 -30
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template.njk +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_cookie-banner.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.import.scss +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss +4 -56
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_mixin.scss +56 -0
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/fixtures.json +82 -82
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-default.html +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-with-html.html +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/_date-input.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/_index.import.scss +13 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/_index.scss +8 -26
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/_mixin.scss +29 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/fixtures.json +780 -150
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/macro-options.json +50 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-day-and-month-using-items.html +28 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-default.html +30 -22
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-month-and-year-using-items.html +28 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-message-and-hint-using-items.html +39 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-message-and-hint.html +39 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-on-day-input-using-items.html +39 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-on-day-input.html +3 -3
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-on-month-input-using-items.html +39 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-on-month-input.html +3 -3
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-on-year-input-using-items.html +39 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-on-year-input.html +3 -3
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-errors-only-using-classes.html +33 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-errors-only-using-items-and-classes.html +33 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-errors-only-using-items.html +33 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-errors-only.html +5 -8
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-translations.html +36 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-values-and-name-prefix.html +36 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-values-name-prefix-and-custom-names.html +36 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-values.html +36 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template.njk +84 -29
- data/node_modules/govuk-frontend/dist/govuk/components/details/_details.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/details/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss +3 -137
- data/node_modules/govuk-frontend/dist/govuk/components/details/_mixin.scss +143 -0
- data/node_modules/govuk-frontend/dist/govuk/components/details/fixtures.json +22 -22
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/_error-message.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/_index.scss +3 -12
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/_mixin.scss +16 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/fixtures.json +10 -10
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_error-summary.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss +3 -53
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_mixin.scss +58 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.js +8 -12
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.mjs +8 -12
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.mjs +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/fixtures.json +21 -21
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_exit-this-page.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_index.import.scss +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_index.scss +4 -89
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_mixin.scss +96 -0
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js +10 -133
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs +10 -133
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/fixtures.json +19 -19
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_fieldset.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_index.scss +3 -67
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_mixin.scss +71 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/fixtures.json +19 -19
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_file-upload.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.import.scss +11 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss +6 -216
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_mixin.scss +217 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.js +76 -164
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.mjs +76 -164
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.mjs +66 -32
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/fixtures.json +125 -138
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/macro-options.json +15 -10
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-enhanced-custom-wrapper-classes-and-attributes.html +11 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-enhanced-multiple-files.html +11 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-enhanced-with-error-message-and-hint.html +3 -2
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-enhanced.html +3 -2
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-translated.html +3 -2
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template.njk +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_footer.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss +3 -192
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_mixin.scss +199 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/fixtures.json +129 -81
- data/node_modules/govuk-frontend/dist/govuk/components/footer/macro-options.json +1 -7
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-default.html +45 -24
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-full-gds-example.html +45 -24
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-three-equal-columns.html +45 -24
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-html-content-licence-and-copyright-notice.html +40 -19
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-meta.html +45 -24
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-text-content-licence-and-copyright-notice.html +40 -19
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-one-column.html +45 -24
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-two-columns.html +45 -24
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-meta-links-and-meta-content.html +45 -24
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-navigation.html +45 -24
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-no-content-licence.html +37 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-only-custom-meta.html +41 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-only-meta-links.html +80 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template.njk +36 -39
- data/node_modules/govuk-frontend/dist/govuk/components/generic-header/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/generic-header/_generic-header.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/generic-header/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/generic-header/_index.scss +5 -0
- data/node_modules/govuk-frontend/dist/govuk/components/generic-header/_mixin.scss +140 -0
- data/node_modules/govuk-frontend/dist/govuk/components/generic-header/fixtures.json +90 -0
- data/node_modules/govuk-frontend/dist/govuk/components/generic-header/macro-options.json +38 -0
- data/node_modules/govuk-frontend/dist/govuk/components/generic-header/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/generic-header/template-default.html +11 -0
- data/node_modules/govuk-frontend/dist/govuk/components/generic-header/template-full-width.html +20 -0
- data/node_modules/govuk-frontend/dist/govuk/components/generic-header/template-with-image-logo.html +20 -0
- data/node_modules/govuk-frontend/dist/govuk/components/generic-header/template-with-text-and-image-logo.html +20 -0
- data/node_modules/govuk-frontend/dist/govuk/components/generic-header/template.njk +14 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/README.md +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/_header.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss +3 -546
- data/node_modules/govuk-frontend/dist/govuk/components/header/_mixin.scss +119 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/fixtures.json +15 -492
- data/node_modules/govuk-frontend/dist/govuk/components/header/macro-options.json +2 -101
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-default.html +12 -7
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width.html +12 -8
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-product-name.html +11 -7
- data/node_modules/govuk-frontend/dist/govuk/components/header/template.njk +20 -63
- data/node_modules/govuk-frontend/dist/govuk/components/hint/_hint.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/hint/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/hint/_index.scss +3 -43
- data/node_modules/govuk-frontend/dist/govuk/components/hint/_mixin.scss +47 -0
- data/node_modules/govuk-frontend/dist/govuk/components/hint/fixtures.json +7 -7
- data/node_modules/govuk-frontend/dist/govuk/components/input/_index.import.scss +11 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss +6 -166
- data/node_modules/govuk-frontend/dist/govuk/components/input/_input.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/_mixin.scss +161 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/fixtures.json +161 -180
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-extra-letter-spacing.html +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.scss +3 -24
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_inset-text.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_mixin.scss +31 -0
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/fixtures.json +7 -7
- data/node_modules/govuk-frontend/dist/govuk/components/label/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/_index.scss +3 -44
- data/node_modules/govuk-frontend/dist/govuk/components/label/_label.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/_mixin.scss +48 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/fixtures.json +20 -20
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss +3 -91
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_mixin.scss +100 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_notification-banner.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/fixtures.json +74 -108
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.js +7 -5
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.mjs +7 -5
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-text-as-html.html +7 -1
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss +3 -226
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/_mixin.scss +235 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/_pagination.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/fixtures.json +109 -105
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-default.html +3 -3
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-first-page.html +3 -3
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-last-page.html +3 -3
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-custom-link-and-item-text.html +3 -3
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-many-pages.html +9 -9
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template.njk +4 -2
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss +3 -56
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_mixin.scss +94 -0
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_panel.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/panel/fixtures.json +249 -16
- data/node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json +58 -0
- data/node_modules/govuk-frontend/dist/govuk/components/panel/template-default.html +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/panel/template-interruption-with-content-with-long-line-length.html +17 -0
- data/node_modules/govuk-frontend/dist/govuk/components/panel/template-interruption-with-headings-content-and-lists.html +18 -0
- data/node_modules/govuk-frontend/dist/govuk/components/panel/template-interruption.html +14 -0
- data/node_modules/govuk-frontend/dist/govuk/components/panel/template.njk +42 -2
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/_index.import.scss +10 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/_index.scss +5 -54
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/_mixin.scss +56 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/_password-input.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/fixtures.json +53 -48
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js +10 -133
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.mjs +10 -133
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.import.scss +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss +4 -33
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_mixin.scss +42 -0
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_phase-banner.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/fixtures.json +15 -15
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/template-default.html +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/template.njk +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.import.scss +12 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss +7 -325
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_mixin.scss +336 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_radios.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/fixtures.json +244 -354
- data/node_modules/govuk-frontend/dist/govuk/components/radios/macro-options.json +3 -3
- data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.js +10 -5
- data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.mjs +10 -5
- data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-default.html +5 -3
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-inline.html +19 -19
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-inline.html +23 -23
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-a-divider.html +24 -24
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-conditional-reveal.html +27 -27
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-error.html +26 -26
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-hint.html +25 -25
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-long-text.html +23 -23
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small.html +23 -23
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-a-divider.html +24 -24
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-item-checked.html +35 -35
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-items-and-pre-checked-value.html +35 -35
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-items.html +35 -35
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-fieldset-and-error-message.html +20 -20
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-hint.html +24 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-hints-on-items.html +23 -23
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-legend-as-page-heading.html +21 -21
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-optional-form-group-classes-showing-group-error.html +36 -36
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-very-long-option-text.html +28 -28
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template.njk +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/select/_index.import.scss +11 -0
- data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss +6 -56
- data/node_modules/govuk-frontend/dist/govuk/components/select/_mixin.scss +45 -0
- data/node_modules/govuk-frontend/dist/govuk/components/select/_select.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/select/fixtures.json +99 -115
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss +3 -185
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_mixin.scss +238 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_service-navigation.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/fixtures.json +210 -69
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/macro-options.json +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.js +41 -8
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.mjs +41 -8
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.mjs +30 -2
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-default.html +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-inverse.html +63 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-a-single-navigation-item-and-collapsenavigationonmobile-set-to-true.html +38 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-a-single-navigation-item.html +35 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-collapsenavigationonmobile-set-to-false.html +60 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-html-navigation-items.html +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-large-navigation.html +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-navigation-with-a-current-item.html +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-non-link-navigation-items.html +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-service-name-and-navigation.html +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template.njk +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss +3 -50
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_mixin.scss +60 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_skip-link.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/fixtures.json +10 -10
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.js +12 -19
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.mjs +12 -19
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.mjs +3 -9
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss +3 -267
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_mixin.scss +286 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_summary-list.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/fixtures.json +282 -518
- data/node_modules/govuk-frontend/dist/govuk/components/table/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss +3 -73
- data/node_modules/govuk-frontend/dist/govuk/components/table/_mixin.scss +77 -0
- data/node_modules/govuk-frontend/dist/govuk/components/table/_table.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/table/fixtures.json +75 -75
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss +3 -132
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/_mixin.scss +140 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/_tabs.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/fixtures.json +44 -39
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.js +13 -14
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.mjs +13 -14
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.mjs +3 -3
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss +3 -94
- data/node_modules/govuk-frontend/dist/govuk/components/tag/_mixin.scss +135 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/_tag.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/fixtures.json +19 -43
- data/node_modules/govuk-frontend/dist/govuk/components/tag/template-pink.html +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/tag/template-turquoise.html +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.import.scss +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss +4 -76
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/_mixin.scss +83 -0
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/_task-list.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/fixtures.json +35 -58
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-forced-hover-state.html +37 -0
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-all-possible-colours.html +131 -0
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-hint-text-and-additional-states.html +77 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.import.scss +11 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss +6 -47
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/_mixin.scss +43 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/_textarea.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/fixtures.json +81 -81
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss +3 -64
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_mixin.scss +69 -0
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_warning-text.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/fixtures.json +9 -9
- data/node_modules/govuk-frontend/dist/govuk/core/_global-styles.import.scss +10 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_global-styles.mixin.scss +19 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_global-styles.scss +5 -18
- data/node_modules/govuk-frontend/dist/govuk/core/_index.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_index.scss +6 -7
- data/node_modules/govuk-frontend/dist/govuk/core/_links.import.scss +10 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_links.mixin.scss +44 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_links.scss +3 -40
- data/node_modules/govuk-frontend/dist/govuk/core/_lists.import.scss +14 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_lists.mixin.scss +74 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_lists.scss +6 -64
- data/node_modules/govuk-frontend/dist/govuk/core/_section-break.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_section-break.mixin.scss +54 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_section-break.scss +3 -49
- data/node_modules/govuk-frontend/dist/govuk/core/_typography.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_typography.mixin.scss +173 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss +3 -187
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_breakpoints.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_breakpoints.mixin.scss +15 -0
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_breakpoints.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_frontend-version.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_frontend-version.mixin.scss +13 -0
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_frontend-version.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_functional-colours.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_functional-colours.mixin.scss +21 -0
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_functional-colours.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_index.import.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_index.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/errors/index.mjs +5 -3
- data/node_modules/govuk-frontend/dist/govuk/errors/index.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css +2 -2
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js +1 -1
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_clearfix.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_clearfix.scss +0 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss +190 -89
- data/node_modules/govuk-frontend/dist/govuk/helpers/_device-pixels.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_device-pixels.scss +2 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss +44 -7
- data/node_modules/govuk-frontend/dist/govuk/helpers/_font-faces--internal.scss +41 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_grid.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_grid.scss +7 -4
- data/node_modules/govuk-frontend/dist/govuk/helpers/_index.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_index.scss +12 -13
- data/node_modules/govuk-frontend/dist/govuk/helpers/_links.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss +35 -46
- data/node_modules/govuk-frontend/dist/govuk/helpers/_media-queries.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_media-queries.scss +174 -34
- data/node_modules/govuk-frontend/dist/govuk/helpers/_shape-arrow.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_shape-arrow.scss +2 -3
- data/node_modules/govuk-frontend/dist/govuk/helpers/_spacing--internal.scss +80 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_spacing.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_spacing.scss +27 -82
- data/node_modules/govuk-frontend/dist/govuk/helpers/_typography--internal.scss +24 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss +55 -74
- data/node_modules/govuk-frontend/dist/govuk/helpers/_visually-hidden.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_visually-hidden.scss +17 -13
- data/node_modules/govuk-frontend/dist/govuk/helpers/_width-container.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_width-container.scss +73 -0
- data/node_modules/govuk-frontend/dist/govuk/i18n.mjs +5 -128
- data/node_modules/govuk-frontend/dist/govuk/i18n.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/index.import.scss +10 -0
- data/node_modules/govuk-frontend/dist/govuk/index.scss +6 -7
- data/node_modules/govuk-frontend/dist/govuk/init.mjs +53 -45
- data/node_modules/govuk-frontend/dist/govuk/init.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/macros/attributes.njk +30 -14
- data/node_modules/govuk-frontend/dist/govuk/macros/logo.njk +7 -29
- data/node_modules/govuk-frontend/dist/govuk/objects/_button-group.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_button-group.mixin.scss +80 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_button-group.scss +3 -78
- data/node_modules/govuk-frontend/dist/govuk/objects/_form-group.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_form-group.mixin.scss +26 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_form-group.scss +3 -23
- data/node_modules/govuk-frontend/dist/govuk/objects/_grid.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_grid.mixin.scss +28 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_grid.scss +3 -24
- data/node_modules/govuk-frontend/dist/govuk/objects/_index.import.scss +7 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_index.scss +6 -7
- data/node_modules/govuk-frontend/dist/govuk/objects/_main-wrapper.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_main-wrapper.mixin.scss +55 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_main-wrapper.scss +3 -53
- data/node_modules/govuk-frontend/dist/govuk/objects/_template.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_template.mixin.scss +53 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss +3 -55
- data/node_modules/govuk-frontend/dist/govuk/objects/_width-container.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_width-container.mixin.scss +9 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_width-container.scss +3 -75
- data/node_modules/govuk-frontend/dist/govuk/overrides/_display.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_display.mixin.scss +26 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_display.scss +2 -24
- data/node_modules/govuk-frontend/dist/govuk/overrides/_index.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_index.scss +5 -6
- data/node_modules/govuk-frontend/dist/govuk/overrides/_spacing.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_spacing.mixin.scss +89 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_spacing.scss +2 -84
- data/node_modules/govuk-frontend/dist/govuk/overrides/_text-align.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_text-align.mixin.scss +16 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_text-align.scss +2 -14
- data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.mixin.scss +43 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss +2 -40
- data/node_modules/govuk-frontend/dist/govuk/overrides/_width.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_width.mixin.scss +50 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_width.scss +2 -46
- data/node_modules/govuk-frontend/dist/govuk/settings/_assets.import.scss +13 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_assets.scss +50 -21
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-applied.import.scss +13 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-functional.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-functional.scss +168 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-legacy-functional.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-legacy-functional.scss +188 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss +9 -274
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-palette--internal.scss +128 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_custom-properties.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_custom-properties.scss +17 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_global-styles.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_global-styles.scss +0 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_index.import.scss +24 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss +14 -13
- data/node_modules/govuk-frontend/dist/govuk/settings/_links.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_links.scss +3 -3
- data/node_modules/govuk-frontend/dist/govuk/settings/_measurements.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_measurements.scss +8 -17
- data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss +0 -10
- data/node_modules/govuk-frontend/dist/govuk/settings/_spacing.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_spacing.scss +0 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_typography-font.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_typography-font.scss +3 -2
- data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss +12 -190
- data/node_modules/govuk-frontend/dist/govuk/settings/_warnings--internal.scss +69 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_warnings.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_warnings.scss +9 -56
- data/node_modules/govuk-frontend/dist/govuk/template.njk +61 -23
- data/node_modules/govuk-frontend/dist/govuk/tools/_exports.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_exports.scss +12 -6
- data/node_modules/govuk-frontend/dist/govuk/tools/_font-url.import.scss +31 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss +22 -6
- data/node_modules/govuk-frontend/dist/govuk/tools/_if.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_if.scss +23 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_image-url.import.scss +31 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_image-url.scss +22 -6
- data/node_modules/govuk-frontend/dist/govuk/tools/_index.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss +6 -7
- data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-em.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-em.scss +9 -6
- data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.import.scss +2 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss +6 -3
- data/node_modules/govuk-frontend/dist/govuk/utilities/_clearfix.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/utilities/_clearfix.mixin.scss +10 -0
- data/node_modules/govuk-frontend/dist/govuk/utilities/_clearfix.scss +3 -6
- data/node_modules/govuk-frontend/dist/govuk/utilities/_index.import.scss +3 -0
- data/node_modules/govuk-frontend/dist/govuk/utilities/_index.scss +2 -3
- data/node_modules/govuk-frontend/dist/govuk/utilities/_visually-hidden.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/utilities/_visually-hidden.mixin.scss +14 -0
- data/node_modules/govuk-frontend/dist/govuk/utilities/_visually-hidden.scss +2 -9
- data/node_modules/govuk-frontend/dist/govuk-prototype-kit/init.scss +4 -3
- data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +5 -4
- data/node_modules/govuk-frontend/package.json +27 -22
- data/vendor/assets/assets/images/favicon.ico +0 -0
- data/vendor/assets/assets/images/favicon.svg +1 -1
- data/vendor/assets/assets/images/govuk-icon-180.png +0 -0
- data/vendor/assets/assets/images/govuk-icon-192.png +0 -0
- data/vendor/assets/assets/images/govuk-icon-512.png +0 -0
- data/vendor/assets/assets/images/govuk-opengraph-image.png +0 -0
- data/vendor/assets/assets/manifest.json.erb +39 -0
- data/vendor/assets/images/favicon.ico +0 -0
- data/vendor/assets/images/favicon.svg +1 -1
- data/vendor/assets/images/govuk-icon-180.png +0 -0
- data/vendor/assets/images/govuk-icon-192.png +0 -0
- data/vendor/assets/images/govuk-icon-512.png +0 -0
- data/vendor/assets/images/govuk-opengraph-image.png +0 -0
- data/vendor/assets/javascripts/defra_ruby_template.js +214 -325
- data/vendor/assets/javascripts/defra_ruby_template_supported.js +4 -0
- data/vendor/assets/stylesheets/_base.import.scss +6 -0
- data/vendor/assets/stylesheets/_base.scss +4 -4
- data/vendor/assets/stylesheets/components/_index.import.scss +38 -0
- data/vendor/assets/stylesheets/components/_index.scss +37 -39
- data/vendor/assets/stylesheets/components/accordion/_accordion.import.scss +6 -0
- data/vendor/assets/stylesheets/components/accordion/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/accordion/_index.scss +3 -368
- data/vendor/assets/stylesheets/components/accordion/_mixin.scss +375 -0
- data/vendor/assets/stylesheets/components/back-link/_back-link.import.scss +6 -0
- data/vendor/assets/stylesheets/components/back-link/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/back-link/_index.scss +3 -81
- data/vendor/assets/stylesheets/components/back-link/_mixin.scss +87 -0
- data/vendor/assets/stylesheets/components/breadcrumbs/_breadcrumbs.import.scss +6 -0
- data/vendor/assets/stylesheets/components/breadcrumbs/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/breadcrumbs/_index.scss +3 -132
- data/vendor/assets/stylesheets/components/breadcrumbs/_mixin.scss +134 -0
- data/vendor/assets/stylesheets/components/button/_button.import.scss +6 -0
- data/vendor/assets/stylesheets/components/button/_index.import.scss +13 -0
- data/vendor/assets/stylesheets/components/button/_index.scss +9 -260
- data/vendor/assets/stylesheets/components/button/_mixin.scss +233 -0
- data/vendor/assets/stylesheets/components/button/_settings.import.scss +32 -0
- data/vendor/assets/stylesheets/components/button/_settings.scss +34 -0
- data/vendor/assets/stylesheets/components/character-count/_character-count.import.scss +6 -0
- data/vendor/assets/stylesheets/components/character-count/_index.import.scss +12 -0
- data/vendor/assets/stylesheets/components/character-count/_index.scss +7 -42
- data/vendor/assets/stylesheets/components/character-count/_mixin.scss +41 -0
- data/vendor/assets/stylesheets/components/checkboxes/_checkboxes.import.scss +6 -0
- data/vendor/assets/stylesheets/components/checkboxes/_index.import.scss +12 -0
- data/vendor/assets/stylesheets/components/checkboxes/_index.scss +7 -309
- data/vendor/assets/stylesheets/components/checkboxes/_mixin.scss +317 -0
- data/vendor/assets/stylesheets/components/cookie-banner/_cookie-banner.import.scss +6 -0
- data/vendor/assets/stylesheets/components/cookie-banner/_index.import.scss +9 -0
- data/vendor/assets/stylesheets/components/cookie-banner/_index.scss +4 -56
- data/vendor/assets/stylesheets/components/cookie-banner/_mixin.scss +56 -0
- data/vendor/assets/stylesheets/components/date-input/_date-input.import.scss +6 -0
- data/vendor/assets/stylesheets/components/date-input/_index.import.scss +13 -0
- data/vendor/assets/stylesheets/components/date-input/_index.scss +8 -26
- data/vendor/assets/stylesheets/components/date-input/_mixin.scss +29 -0
- data/vendor/assets/stylesheets/components/details/_details.import.scss +6 -0
- data/vendor/assets/stylesheets/components/details/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/details/_index.scss +3 -137
- data/vendor/assets/stylesheets/components/details/_mixin.scss +143 -0
- data/vendor/assets/stylesheets/components/error-message/_error-message.import.scss +6 -0
- data/vendor/assets/stylesheets/components/error-message/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/error-message/_index.scss +3 -12
- data/vendor/assets/stylesheets/components/error-message/_mixin.scss +16 -0
- data/vendor/assets/stylesheets/components/error-summary/_error-summary.import.scss +6 -0
- data/vendor/assets/stylesheets/components/error-summary/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/error-summary/_index.scss +3 -53
- data/vendor/assets/stylesheets/components/error-summary/_mixin.scss +58 -0
- data/vendor/assets/stylesheets/components/exit-this-page/_exit-this-page.import.scss +6 -0
- data/vendor/assets/stylesheets/components/exit-this-page/_index.import.scss +9 -0
- data/vendor/assets/stylesheets/components/exit-this-page/_index.scss +4 -89
- data/vendor/assets/stylesheets/components/exit-this-page/_mixin.scss +96 -0
- data/vendor/assets/stylesheets/components/fieldset/_fieldset.import.scss +6 -0
- data/vendor/assets/stylesheets/components/fieldset/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/fieldset/_index.scss +3 -67
- data/vendor/assets/stylesheets/components/fieldset/_mixin.scss +71 -0
- data/vendor/assets/stylesheets/components/file-upload/_file-upload.import.scss +6 -0
- data/vendor/assets/stylesheets/components/file-upload/_index.import.scss +11 -0
- data/vendor/assets/stylesheets/components/file-upload/_index.scss +6 -216
- data/vendor/assets/stylesheets/components/file-upload/_mixin.scss +217 -0
- data/vendor/assets/stylesheets/components/footer/_footer.import.scss +6 -0
- data/vendor/assets/stylesheets/components/footer/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/footer/_index.scss +3 -192
- data/vendor/assets/stylesheets/components/footer/_mixin.scss +199 -0
- data/vendor/assets/stylesheets/components/generic-header/_generic-header.import.scss +6 -0
- data/vendor/assets/stylesheets/components/generic-header/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/generic-header/_index.scss +5 -0
- data/vendor/assets/stylesheets/components/generic-header/_mixin.scss +140 -0
- data/vendor/assets/stylesheets/components/header/_header.import.scss +6 -0
- data/vendor/assets/stylesheets/components/header/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/header/_index.scss +3 -546
- data/vendor/assets/stylesheets/components/header/_mixin.scss +119 -0
- data/vendor/assets/stylesheets/components/hint/_hint.import.scss +6 -0
- data/vendor/assets/stylesheets/components/hint/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/hint/_index.scss +3 -43
- data/vendor/assets/stylesheets/components/hint/_mixin.scss +47 -0
- data/vendor/assets/stylesheets/components/input/_index.import.scss +11 -0
- data/vendor/assets/stylesheets/components/input/_index.scss +6 -166
- data/vendor/assets/stylesheets/components/input/_input.import.scss +6 -0
- data/vendor/assets/stylesheets/components/input/_mixin.scss +161 -0
- data/vendor/assets/stylesheets/components/inset-text/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/inset-text/_index.scss +3 -24
- data/vendor/assets/stylesheets/components/inset-text/_inset-text.import.scss +6 -0
- data/vendor/assets/stylesheets/components/inset-text/_mixin.scss +31 -0
- data/vendor/assets/stylesheets/components/label/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/label/_index.scss +3 -44
- data/vendor/assets/stylesheets/components/label/_label.import.scss +6 -0
- data/vendor/assets/stylesheets/components/label/_mixin.scss +48 -0
- data/vendor/assets/stylesheets/components/notification-banner/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/notification-banner/_index.scss +3 -91
- data/vendor/assets/stylesheets/components/notification-banner/_mixin.scss +100 -0
- data/vendor/assets/stylesheets/components/notification-banner/_notification-banner.import.scss +6 -0
- data/vendor/assets/stylesheets/components/pagination/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/pagination/_index.scss +3 -226
- data/vendor/assets/stylesheets/components/pagination/_mixin.scss +235 -0
- data/vendor/assets/stylesheets/components/pagination/_pagination.import.scss +6 -0
- data/vendor/assets/stylesheets/components/panel/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/panel/_index.scss +3 -56
- data/vendor/assets/stylesheets/components/panel/_mixin.scss +94 -0
- data/vendor/assets/stylesheets/components/panel/_panel.import.scss +6 -0
- data/vendor/assets/stylesheets/components/password-input/_index.import.scss +10 -0
- data/vendor/assets/stylesheets/components/password-input/_index.scss +5 -54
- data/vendor/assets/stylesheets/components/password-input/_mixin.scss +56 -0
- data/vendor/assets/stylesheets/components/password-input/_password-input.import.scss +6 -0
- data/vendor/assets/stylesheets/components/phase-banner/_index.import.scss +9 -0
- data/vendor/assets/stylesheets/components/phase-banner/_index.scss +4 -33
- data/vendor/assets/stylesheets/components/phase-banner/_mixin.scss +42 -0
- data/vendor/assets/stylesheets/components/phase-banner/_phase-banner.import.scss +6 -0
- data/vendor/assets/stylesheets/components/radios/_index.import.scss +12 -0
- data/vendor/assets/stylesheets/components/radios/_index.scss +7 -325
- data/vendor/assets/stylesheets/components/radios/_mixin.scss +336 -0
- data/vendor/assets/stylesheets/components/radios/_radios.import.scss +6 -0
- data/vendor/assets/stylesheets/components/select/_index.import.scss +11 -0
- data/vendor/assets/stylesheets/components/select/_index.scss +6 -56
- data/vendor/assets/stylesheets/components/select/_mixin.scss +45 -0
- data/vendor/assets/stylesheets/components/select/_select.import.scss +6 -0
- data/vendor/assets/stylesheets/components/service-navigation/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/service-navigation/_index.scss +3 -185
- data/vendor/assets/stylesheets/components/service-navigation/_mixin.scss +238 -0
- data/vendor/assets/stylesheets/components/service-navigation/_service-navigation.import.scss +6 -0
- data/vendor/assets/stylesheets/components/skip-link/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/skip-link/_index.scss +3 -50
- data/vendor/assets/stylesheets/components/skip-link/_mixin.scss +60 -0
- data/vendor/assets/stylesheets/components/skip-link/_skip-link.import.scss +6 -0
- data/vendor/assets/stylesheets/components/summary-list/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/summary-list/_index.scss +3 -267
- data/vendor/assets/stylesheets/components/summary-list/_mixin.scss +286 -0
- data/vendor/assets/stylesheets/components/summary-list/_summary-list.import.scss +6 -0
- data/vendor/assets/stylesheets/components/table/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/table/_index.scss +3 -73
- data/vendor/assets/stylesheets/components/table/_mixin.scss +77 -0
- data/vendor/assets/stylesheets/components/table/_table.import.scss +6 -0
- data/vendor/assets/stylesheets/components/tabs/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/tabs/_index.scss +3 -132
- data/vendor/assets/stylesheets/components/tabs/_mixin.scss +140 -0
- data/vendor/assets/stylesheets/components/tabs/_tabs.import.scss +6 -0
- data/vendor/assets/stylesheets/components/tag/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/tag/_index.scss +3 -94
- data/vendor/assets/stylesheets/components/tag/_mixin.scss +135 -0
- data/vendor/assets/stylesheets/components/tag/_tag.import.scss +6 -0
- data/vendor/assets/stylesheets/components/task-list/_index.import.scss +9 -0
- data/vendor/assets/stylesheets/components/task-list/_index.scss +4 -76
- data/vendor/assets/stylesheets/components/task-list/_mixin.scss +83 -0
- data/vendor/assets/stylesheets/components/task-list/_task-list.import.scss +6 -0
- data/vendor/assets/stylesheets/components/textarea/_index.import.scss +11 -0
- data/vendor/assets/stylesheets/components/textarea/_index.scss +6 -47
- data/vendor/assets/stylesheets/components/textarea/_mixin.scss +43 -0
- data/vendor/assets/stylesheets/components/textarea/_textarea.import.scss +6 -0
- data/vendor/assets/stylesheets/components/warning-text/_index.import.scss +8 -0
- data/vendor/assets/stylesheets/components/warning-text/_index.scss +3 -64
- data/vendor/assets/stylesheets/components/warning-text/_mixin.scss +69 -0
- data/vendor/assets/stylesheets/components/warning-text/_warning-text.import.scss +6 -0
- data/vendor/assets/stylesheets/core/_global-styles.import.scss +10 -0
- data/vendor/assets/stylesheets/core/_global-styles.mixin.scss +19 -0
- data/vendor/assets/stylesheets/core/_global-styles.scss +5 -18
- data/vendor/assets/stylesheets/core/_index.import.scss +6 -0
- data/vendor/assets/stylesheets/core/_index.scss +6 -7
- data/vendor/assets/stylesheets/core/_links.import.scss +10 -0
- data/vendor/assets/stylesheets/core/_links.mixin.scss +44 -0
- data/vendor/assets/stylesheets/core/_links.scss +3 -40
- data/vendor/assets/stylesheets/core/_lists.import.scss +14 -0
- data/vendor/assets/stylesheets/core/_lists.mixin.scss +74 -0
- data/vendor/assets/stylesheets/core/_lists.scss +6 -64
- data/vendor/assets/stylesheets/core/_section-break.import.scss +8 -0
- data/vendor/assets/stylesheets/core/_section-break.mixin.scss +54 -0
- data/vendor/assets/stylesheets/core/_section-break.scss +3 -49
- data/vendor/assets/stylesheets/core/_typography.import.scss +8 -0
- data/vendor/assets/stylesheets/core/_typography.mixin.scss +173 -0
- data/vendor/assets/stylesheets/core/_typography.scss +3 -187
- data/vendor/assets/stylesheets/custom-properties/_breakpoints.import.scss +8 -0
- data/vendor/assets/stylesheets/custom-properties/_breakpoints.mixin.scss +15 -0
- data/vendor/assets/stylesheets/custom-properties/_breakpoints.scss +4 -0
- data/vendor/assets/stylesheets/custom-properties/_frontend-version.import.scss +8 -0
- data/vendor/assets/stylesheets/custom-properties/_frontend-version.mixin.scss +13 -0
- data/vendor/assets/stylesheets/custom-properties/_frontend-version.scss +4 -0
- data/vendor/assets/stylesheets/custom-properties/_functional-colours.import.scss +8 -0
- data/vendor/assets/stylesheets/custom-properties/_functional-colours.mixin.scss +21 -0
- data/vendor/assets/stylesheets/custom-properties/_functional-colours.scss +4 -0
- data/vendor/assets/stylesheets/custom-properties/_index.import.scss +4 -0
- data/vendor/assets/stylesheets/custom-properties/_index.scss +4 -0
- data/vendor/assets/stylesheets/defra_ruby_template.scss +29 -10
- data/vendor/assets/stylesheets/govuk-frontend.min.css +2 -2
- data/vendor/assets/stylesheets/helpers/_clearfix.import.scss +2 -0
- data/vendor/assets/stylesheets/helpers/_clearfix.scss +0 -1
- data/vendor/assets/stylesheets/helpers/_colour.import.scss +2 -0
- data/vendor/assets/stylesheets/helpers/_colour.scss +190 -89
- data/vendor/assets/stylesheets/helpers/_device-pixels.import.scss +2 -0
- data/vendor/assets/stylesheets/helpers/_device-pixels.scss +2 -1
- data/vendor/assets/stylesheets/helpers/_focused.import.scss +2 -0
- data/vendor/assets/stylesheets/helpers/_focused.scss +44 -7
- data/vendor/assets/stylesheets/helpers/_font-faces--internal.scss +41 -0
- data/vendor/assets/stylesheets/helpers/_grid.import.scss +2 -0
- data/vendor/assets/stylesheets/helpers/_grid.scss +7 -4
- data/vendor/assets/stylesheets/helpers/_index.import.scss +2 -0
- data/vendor/assets/stylesheets/helpers/_index.scss +12 -13
- data/vendor/assets/stylesheets/helpers/_links.import.scss +2 -0
- data/vendor/assets/stylesheets/helpers/_links.scss +35 -46
- data/vendor/assets/stylesheets/helpers/_media-queries.import.scss +2 -0
- data/vendor/assets/stylesheets/helpers/_media-queries.scss +174 -34
- data/vendor/assets/stylesheets/helpers/_shape-arrow.import.scss +2 -0
- data/vendor/assets/stylesheets/helpers/_shape-arrow.scss +2 -3
- data/vendor/assets/stylesheets/helpers/_spacing--internal.scss +80 -0
- data/vendor/assets/stylesheets/helpers/_spacing.import.scss +2 -0
- data/vendor/assets/stylesheets/helpers/_spacing.scss +27 -82
- data/vendor/assets/stylesheets/helpers/_typography--internal.scss +24 -0
- data/vendor/assets/stylesheets/helpers/_typography.import.scss +2 -0
- data/vendor/assets/stylesheets/helpers/_typography.scss +55 -74
- data/vendor/assets/stylesheets/helpers/_visually-hidden.import.scss +2 -0
- data/vendor/assets/stylesheets/helpers/_visually-hidden.scss +17 -13
- data/vendor/assets/stylesheets/helpers/_width-container.import.scss +2 -0
- data/vendor/assets/stylesheets/helpers/_width-container.scss +73 -0
- data/vendor/assets/stylesheets/index.import.scss +10 -0
- data/vendor/assets/stylesheets/index.scss +6 -7
- data/vendor/assets/stylesheets/objects/_button-group.import.scss +8 -0
- data/vendor/assets/stylesheets/objects/_button-group.mixin.scss +80 -0
- data/vendor/assets/stylesheets/objects/_button-group.scss +3 -78
- data/vendor/assets/stylesheets/objects/_form-group.import.scss +8 -0
- data/vendor/assets/stylesheets/objects/_form-group.mixin.scss +26 -0
- data/vendor/assets/stylesheets/objects/_form-group.scss +3 -23
- data/vendor/assets/stylesheets/objects/_grid.import.scss +8 -0
- data/vendor/assets/stylesheets/objects/_grid.mixin.scss +28 -0
- data/vendor/assets/stylesheets/objects/_grid.scss +3 -24
- data/vendor/assets/stylesheets/objects/_index.import.scss +7 -0
- data/vendor/assets/stylesheets/objects/_index.scss +6 -7
- data/vendor/assets/stylesheets/objects/_main-wrapper.import.scss +8 -0
- data/vendor/assets/stylesheets/objects/_main-wrapper.mixin.scss +55 -0
- data/vendor/assets/stylesheets/objects/_main-wrapper.scss +3 -53
- data/vendor/assets/stylesheets/objects/_template.import.scss +8 -0
- data/vendor/assets/stylesheets/objects/_template.mixin.scss +53 -0
- data/vendor/assets/stylesheets/objects/_template.scss +3 -55
- data/vendor/assets/stylesheets/objects/_width-container.import.scss +8 -0
- data/vendor/assets/stylesheets/objects/_width-container.mixin.scss +9 -0
- data/vendor/assets/stylesheets/objects/_width-container.scss +3 -75
- data/vendor/assets/stylesheets/overrides/_display.import.scss +8 -0
- data/vendor/assets/stylesheets/overrides/_display.mixin.scss +26 -0
- data/vendor/assets/stylesheets/overrides/_display.scss +2 -24
- data/vendor/assets/stylesheets/overrides/_index.import.scss +6 -0
- data/vendor/assets/stylesheets/overrides/_index.scss +5 -6
- data/vendor/assets/stylesheets/overrides/_spacing.import.scss +8 -0
- data/vendor/assets/stylesheets/overrides/_spacing.mixin.scss +89 -0
- data/vendor/assets/stylesheets/overrides/_spacing.scss +2 -84
- data/vendor/assets/stylesheets/overrides/_text-align.import.scss +8 -0
- data/vendor/assets/stylesheets/overrides/_text-align.mixin.scss +16 -0
- data/vendor/assets/stylesheets/overrides/_text-align.scss +2 -14
- data/vendor/assets/stylesheets/overrides/_typography.import.scss +8 -0
- data/vendor/assets/stylesheets/overrides/_typography.mixin.scss +43 -0
- data/vendor/assets/stylesheets/overrides/_typography.scss +2 -40
- data/vendor/assets/stylesheets/overrides/_width.import.scss +8 -0
- data/vendor/assets/stylesheets/overrides/_width.mixin.scss +50 -0
- data/vendor/assets/stylesheets/overrides/_width.scss +2 -46
- data/vendor/assets/stylesheets/settings/_assets.import.scss +13 -0
- data/vendor/assets/stylesheets/settings/_assets.scss +50 -21
- data/vendor/assets/stylesheets/settings/_colours-applied.import.scss +13 -0
- data/vendor/assets/stylesheets/settings/_colours-functional.import.scss +2 -0
- data/vendor/assets/stylesheets/settings/_colours-functional.scss +168 -0
- data/vendor/assets/stylesheets/settings/_colours-legacy-functional.import.scss +2 -0
- data/vendor/assets/stylesheets/settings/_colours-legacy-functional.scss +188 -0
- data/vendor/assets/stylesheets/settings/_colours-organisations.import.scss +2 -0
- data/vendor/assets/stylesheets/settings/_colours-organisations.scss +9 -274
- data/vendor/assets/stylesheets/settings/_colours-palette--internal.scss +128 -0
- data/vendor/assets/stylesheets/settings/_custom-properties.import.scss +2 -0
- data/vendor/assets/stylesheets/settings/_custom-properties.scss +17 -0
- data/vendor/assets/stylesheets/settings/_global-styles.import.scss +2 -0
- data/vendor/assets/stylesheets/settings/_global-styles.scss +0 -1
- data/vendor/assets/stylesheets/settings/_index.import.scss +24 -0
- data/vendor/assets/stylesheets/settings/_index.scss +14 -13
- data/vendor/assets/stylesheets/settings/_links.import.scss +2 -0
- data/vendor/assets/stylesheets/settings/_links.scss +3 -3
- data/vendor/assets/stylesheets/settings/_measurements.import.scss +2 -0
- data/vendor/assets/stylesheets/settings/_measurements.scss +8 -17
- data/vendor/assets/stylesheets/settings/_media-queries.import.scss +2 -0
- data/vendor/assets/stylesheets/settings/_media-queries.scss +0 -10
- data/vendor/assets/stylesheets/settings/_spacing.import.scss +2 -0
- data/vendor/assets/stylesheets/settings/_spacing.scss +0 -1
- data/vendor/assets/stylesheets/settings/_typography-font.import.scss +2 -0
- data/vendor/assets/stylesheets/settings/_typography-font.scss +3 -2
- data/vendor/assets/stylesheets/settings/_typography-responsive.import.scss +2 -0
- data/vendor/assets/stylesheets/settings/_typography-responsive.scss +12 -190
- data/vendor/assets/stylesheets/settings/_warnings--internal.scss +69 -0
- data/vendor/assets/stylesheets/settings/_warnings.import.scss +2 -0
- data/vendor/assets/stylesheets/settings/_warnings.scss +9 -56
- data/vendor/assets/stylesheets/tools/_exports.import.scss +2 -0
- data/vendor/assets/stylesheets/tools/_exports.scss +12 -6
- data/vendor/assets/stylesheets/tools/_font-url.import.scss +31 -0
- data/vendor/assets/stylesheets/tools/_font-url.scss +22 -6
- data/vendor/assets/stylesheets/tools/_if.import.scss +2 -0
- data/vendor/assets/stylesheets/tools/_if.scss +23 -0
- data/vendor/assets/stylesheets/tools/_image-url.import.scss +31 -0
- data/vendor/assets/stylesheets/tools/_image-url.scss +22 -6
- data/vendor/assets/stylesheets/tools/_index.import.scss +2 -0
- data/vendor/assets/stylesheets/tools/_index.scss +6 -7
- data/vendor/assets/stylesheets/tools/_px-to-em.import.scss +2 -0
- data/vendor/assets/stylesheets/tools/_px-to-em.scss +9 -6
- data/vendor/assets/stylesheets/tools/_px-to-rem.import.scss +2 -0
- data/vendor/assets/stylesheets/tools/_px-to-rem.scss +6 -3
- data/vendor/assets/stylesheets/utilities/_clearfix.import.scss +8 -0
- data/vendor/assets/stylesheets/utilities/_clearfix.mixin.scss +10 -0
- data/vendor/assets/stylesheets/utilities/_clearfix.scss +3 -6
- data/vendor/assets/stylesheets/utilities/_index.import.scss +3 -0
- data/vendor/assets/stylesheets/utilities/_index.scss +2 -3
- data/vendor/assets/stylesheets/utilities/_visually-hidden.import.scss +8 -0
- data/vendor/assets/stylesheets/utilities/_visually-hidden.mixin.scss +14 -0
- data/vendor/assets/stylesheets/utilities/_visually-hidden.scss +2 -9
- metadata +490 -408
- data/node_modules/govuk-frontend/dist/govuk/_base.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/all.scss +0 -9
- data/node_modules/govuk-frontend/dist/govuk/all.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/favicon.ico +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/favicon.svg +0 -1
- data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-crest.svg +0 -1
- data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-180.png +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-192.png +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-512.png +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-mask.svg +0 -1
- data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-opengraph-image.png +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/manifest.json +0 -39
- data/node_modules/govuk-frontend/dist/govuk/components/_all.scss +0 -10
- data/node_modules/govuk-frontend/dist/govuk/components/_all.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/_accordion.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/_accordion.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/template-with-focusable-elements-inside.html +0 -26
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/template-with-one-section-open.html +0 -30
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/template-with-translations.html +0 -30
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/_back-link.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/_back-link.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/template-with-custom-link.html +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/template-with-custom-text.html +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_breadcrumbs.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_breadcrumbs.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-with-multiple-levels.html +0 -16
- data/node_modules/govuk-frontend/dist/govuk/components/button/_button.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/button/_button.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-input-disabled.html +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-input.html +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-inverse-link.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-inverse-start.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-prevent-double-click.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-secondary-link.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-start-link.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-warning-link.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-with-active-state.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-with-focus-state.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-with-hover-state.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/_character-count.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/_character-count.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-custom-textarea-description.html +0 -9
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-error.html +0 -12
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-translations.html +0 -9
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_checkboxes.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_checkboxes.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-disabled.html +0 -27
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-a-medium-legend.html +0 -33
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-conditional-item-checked.html +0 -39
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-conditional-items-with-special-characters.html +0 -39
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-disabled-item.html +0 -29
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-error-message-and-hints-on-items.html +0 -39
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-fieldset-and-error-message.html +0 -30
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-id-and-name.html +0 -30
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-single-option-and-hint-set-aria-describedby-on-input.html +0 -16
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-single-option-set-aria-describedby-on-input.html +0 -13
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-without-fieldset.html +0 -22
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_cookie-banner.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_cookie-banner.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-client-side-implementation.html +0 -60
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/_date-input.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/_date-input.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-autocomplete-values.html +0 -36
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-default-items.html +0 -36
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-errors-and-hint.html +0 -39
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-input-attributes.html +0 -36
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-optional-form-group-classes.html +0 -36
- data/node_modules/govuk-frontend/dist/govuk/components/details/_details.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/details/_details.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/_error-message.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/_error-message.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_error-summary.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_error-summary.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_exit-this-page.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_exit-this-page.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/template-translated.html +0 -5
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_fieldset.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_fieldset.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_file-upload.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_file-upload.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-allows-direct-media-capture.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-allows-image-files-only.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-allows-multiple-files.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-disabled.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-enhanced-disabled.html +0 -13
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-with-optional-form-group-classes.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_footer.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_footer.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-meta.html +0 -56
- data/node_modules/govuk-frontend/dist/govuk/components/header/_header.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/header/_header.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js +0 -233
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs +0 -225
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs +0 -89
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width-with-navigation.html +0 -55
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-html.html +0 -57
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-text-without-link.html +0 -51
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-custom-menu-button-label.html +0 -59
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-custom-menu-button-text.html +0 -59
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-custom-navigation-label.html +0 -59
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-full-width-border.html +0 -30
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-large-navigation.html +0 -119
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-navigation.html +0 -59
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name-and-navigation.html +0 -62
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name-but-no-service-url.html +0 -34
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name.html +0 -34
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-st-edwards-crown.html +0 -19
- data/node_modules/govuk-frontend/dist/govuk/components/hint/_hint.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/hint/_hint.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/hint/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/input/_input.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/input/_input.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-disabled.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-autocapitalize-turned-off.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-autocomplete-attribute.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-optional-form-group-classes.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-pattern-attribute.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-prefix-and-long-suffix.html +0 -10
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-spellcheck-disabled.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-spellcheck-enabled.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_inset-text.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_inset-text.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/label/_label.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/label/_label.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_notification-banner.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_notification-banner.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-auto-focus-disabled-with-type-as-success.html +0 -12
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-auto-focus-explicitly-enabled-with-type-as-success.html +0 -12
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-custom-tabindex.html +0 -12
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-paragraph-as-html-heading.html +0 -10
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-rolealert-overridden-to-roleregion-with-type-as-success.html +0 -12
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-success-with-custom-html.html +0 -16
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-a-list.html +0 -16
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/_pagination.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/_pagination.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-custom-accessible-labels-on-item-links.html +0 -39
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-custom-navigation-landmark.html +0 -39
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-prev-and-next-only-in-a-different-language.html +0 -22
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_panel.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_panel.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/panel/template-custom-heading-level.html +0 -8
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/_password-input.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/_password-input.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-new-password-autocomplete.html +0 -11
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-translations.html +0 -11
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_phase-banner.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_phase-banner.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_radios.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_radios.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-prechecked-using-value.html +0 -16
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-prechecked.html +0 -19
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-inline-extreme.html +0 -69
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-disabled.html +0 -27
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-a-medium-legend.html +0 -24
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-items-with-special-characters.html +0 -39
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-disabled.html +0 -29
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-idprefix.html +0 -16
- data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/select/_select.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/select/_select.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/select/template-id.html +0 -7
- data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-no-items.html +0 -7
- data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-optional-form-group-classes.html +0 -10
- data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-selected-value.html +0 -10
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_service-navigation.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_service-navigation.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-navigation-with-an-active-item.html +0 -58
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_skip-link.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_skip-link.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_summary-list.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_summary-list.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-a-custom-header-level.html +0 -28
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-check-your-answers.html +0 -98
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-overridden-widths.html +0 -58
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-translated.html +0 -51
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-with-no-first-action.html +0 -58
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-with-some-actions.html +0 -45
- data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/table/_table.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/table/_table.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/table/template-with-small-text-modifier-for-tables-with-a-lot-of-data.html +0 -19
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/_tabs.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/_tabs.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tag/_tag.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/tag/_tag.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tag/template-blue.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/tag/template-light-blue.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/_task-list.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/_task-list.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-example-with-3-states.html +0 -49
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-example-with-all-possible-colours.html +0 -143
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-example-with-hint-text-and-additional-states.html +0 -77
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/_textarea.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/_textarea.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-autocomplete-attribute.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-optional-form-group-classes.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-spellcheck-disabled.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-spellcheck-enabled.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_warning-text.scss +0 -4
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_warning-text.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_all.scss +0 -10
- data/node_modules/govuk-frontend/dist/govuk/core/_all.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_global-styles.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss +0 -12
- data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_links.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_lists.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_section-break.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss +0 -10
- data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_clearfix.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_device-pixels.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_font-faces.scss +0 -41
- data/node_modules/govuk-frontend/dist/govuk/helpers/_font-faces.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_grid.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_media-queries.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_shape-arrow.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_spacing.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_visually-hidden.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/objects/_all.scss +0 -10
- data/node_modules/govuk-frontend/dist/govuk/objects/_all.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/objects/_button-group.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/objects/_form-group.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/objects/_grid.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/objects/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/objects/_main-wrapper.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/objects/_width-container.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/overrides/_all.scss +0 -9
- data/node_modules/govuk-frontend/dist/govuk/overrides/_all.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/overrides/_display.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/overrides/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/overrides/_spacing.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/overrides/_text-align.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/overrides/_width.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss +0 -10
- data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_assets.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-applied.scss +0 -195
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-applied.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-palette.scss +0 -37
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-palette.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_global-styles.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_links.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_measurements.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_spacing.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_typography-font.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_warnings.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss +0 -10
- data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/tools/_exports.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/tools/_image-url.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-em.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/tools/_rebrand.scss +0 -65
- data/node_modules/govuk-frontend/dist/govuk/tools/_rebrand.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss +0 -10
- data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/utilities/_clearfix.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/utilities/_index.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/utilities/_visually-hidden.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk/vendor/_sass-mq.scss +0 -349
- data/node_modules/govuk-frontend/dist/govuk/vendor/_sass-mq.scss.map +0 -1
- data/node_modules/govuk-frontend/dist/govuk-prototype-kit/functions.js +0 -25
- data/node_modules/govuk-frontend/dist/govuk-prototype-kit/init.scss.map +0 -1
- data/spec/spec_helper.rb +0 -98
- data/spec/tasks/assets_spec.rb +0 -53
- data/vendor/assets/assets/manifest.json +0 -39
- data/vendor/assets/assets/rebrand/images/favicon.ico +0 -0
- data/vendor/assets/assets/rebrand/images/favicon.svg +0 -1
- data/vendor/assets/assets/rebrand/images/govuk-crest.svg +0 -1
- data/vendor/assets/assets/rebrand/images/govuk-icon-180.png +0 -0
- data/vendor/assets/assets/rebrand/images/govuk-icon-192.png +0 -0
- data/vendor/assets/assets/rebrand/images/govuk-icon-512.png +0 -0
- data/vendor/assets/assets/rebrand/images/govuk-icon-mask.svg +0 -1
- data/vendor/assets/assets/rebrand/images/govuk-opengraph-image.png +0 -0
- data/vendor/assets/assets/rebrand/manifest.json +0 -39
- data/vendor/assets/images/govuk-crest-2x.png +0 -0
- data/vendor/assets/images/govuk-crest.png +0 -0
- data/vendor/assets/stylesheets/all.scss +0 -9
- data/vendor/assets/stylesheets/components/_all.scss +0 -10
- data/vendor/assets/stylesheets/components/accordion/_accordion.scss +0 -4
- data/vendor/assets/stylesheets/components/back-link/_back-link.scss +0 -4
- data/vendor/assets/stylesheets/components/breadcrumbs/_breadcrumbs.scss +0 -4
- data/vendor/assets/stylesheets/components/button/_button.scss +0 -4
- data/vendor/assets/stylesheets/components/character-count/_character-count.scss +0 -4
- data/vendor/assets/stylesheets/components/checkboxes/_checkboxes.scss +0 -4
- data/vendor/assets/stylesheets/components/cookie-banner/_cookie-banner.scss +0 -4
- data/vendor/assets/stylesheets/components/date-input/_date-input.scss +0 -4
- data/vendor/assets/stylesheets/components/details/_details.scss +0 -4
- data/vendor/assets/stylesheets/components/error-message/_error-message.scss +0 -4
- data/vendor/assets/stylesheets/components/error-summary/_error-summary.scss +0 -4
- data/vendor/assets/stylesheets/components/exit-this-page/_exit-this-page.scss +0 -4
- data/vendor/assets/stylesheets/components/fieldset/_fieldset.scss +0 -4
- data/vendor/assets/stylesheets/components/file-upload/_file-upload.scss +0 -4
- data/vendor/assets/stylesheets/components/footer/_footer.scss +0 -4
- data/vendor/assets/stylesheets/components/header/_header.scss +0 -4
- data/vendor/assets/stylesheets/components/hint/_hint.scss +0 -4
- data/vendor/assets/stylesheets/components/input/_input.scss +0 -4
- data/vendor/assets/stylesheets/components/inset-text/_inset-text.scss +0 -4
- data/vendor/assets/stylesheets/components/label/_label.scss +0 -4
- data/vendor/assets/stylesheets/components/notification-banner/_notification-banner.scss +0 -4
- data/vendor/assets/stylesheets/components/pagination/_pagination.scss +0 -4
- data/vendor/assets/stylesheets/components/panel/_panel.scss +0 -4
- data/vendor/assets/stylesheets/components/password-input/_password-input.scss +0 -4
- data/vendor/assets/stylesheets/components/phase-banner/_phase-banner.scss +0 -4
- data/vendor/assets/stylesheets/components/radios/_radios.scss +0 -4
- data/vendor/assets/stylesheets/components/select/_select.scss +0 -4
- data/vendor/assets/stylesheets/components/service-navigation/_service-navigation.scss +0 -4
- data/vendor/assets/stylesheets/components/skip-link/_skip-link.scss +0 -4
- data/vendor/assets/stylesheets/components/summary-list/_summary-list.scss +0 -4
- data/vendor/assets/stylesheets/components/table/_table.scss +0 -4
- data/vendor/assets/stylesheets/components/tabs/_tabs.scss +0 -4
- data/vendor/assets/stylesheets/components/tag/_tag.scss +0 -4
- data/vendor/assets/stylesheets/components/task-list/_task-list.scss +0 -4
- data/vendor/assets/stylesheets/components/textarea/_textarea.scss +0 -4
- data/vendor/assets/stylesheets/components/warning-text/_warning-text.scss +0 -4
- data/vendor/assets/stylesheets/core/_all.scss +0 -10
- data/vendor/assets/stylesheets/core/_govuk-frontend-properties.scss +0 -12
- data/vendor/assets/stylesheets/helpers/_all.scss +0 -10
- data/vendor/assets/stylesheets/helpers/_font-faces.scss +0 -41
- data/vendor/assets/stylesheets/objects/_all.scss +0 -10
- data/vendor/assets/stylesheets/overrides/_all.scss +0 -9
- data/vendor/assets/stylesheets/settings/_all.scss +0 -10
- data/vendor/assets/stylesheets/settings/_colours-applied.scss +0 -195
- data/vendor/assets/stylesheets/settings/_colours-palette.scss +0 -37
- data/vendor/assets/stylesheets/tools/_all.scss +0 -10
- data/vendor/assets/stylesheets/tools/_rebrand.scss +0 -65
- data/vendor/assets/stylesheets/utilities/_all.scss +0 -10
- data/vendor/assets/stylesheets/vendor/_sass-mq.scss +0 -349
- /data/node_modules/govuk-frontend/dist/govuk/components/date-input/{template-complete-question.html → template-with-items.html} +0 -0
- /data/node_modules/govuk-frontend/dist/govuk/components/table/{template-table-with-head-and-caption.html → template-with-head-and-caption.html} +0 -0
- /data/node_modules/govuk-frontend/dist/govuk/components/table/{template-table-with-head.html → template-with-head.html} +0 -0
- /data/node_modules/govuk-frontend/dist/govuk/components/task-list/{template-example-with-very-long-single-word-tags.html → template-with-very-long-single-word-tags.html} +0 -0
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
////
|
|
2
2
|
/// @group helpers/spacing
|
|
3
3
|
////
|
|
4
|
+
@use "sass:map";
|
|
5
|
+
@use "sass:math";
|
|
6
|
+
@use "sass:meta";
|
|
7
|
+
|
|
8
|
+
@use "../tools/if" as *;
|
|
9
|
+
@use "../settings/spacing" as *;
|
|
10
|
+
@use "spacing--internal";
|
|
4
11
|
|
|
5
12
|
/// Single point spacing
|
|
6
13
|
///
|
|
@@ -29,7 +36,7 @@
|
|
|
29
36
|
/// @access public
|
|
30
37
|
|
|
31
38
|
@function govuk-spacing($spacing-point) {
|
|
32
|
-
$actual-input-type: type-of($spacing-point);
|
|
39
|
+
$actual-input-type: meta.type-of($spacing-point);
|
|
33
40
|
@if $actual-input-type != "number" {
|
|
34
41
|
@error "Expected a number (integer), but got a "
|
|
35
42
|
+ "#{$actual-input-type}.";
|
|
@@ -38,93 +45,22 @@
|
|
|
38
45
|
$is-negative: false;
|
|
39
46
|
@if $spacing-point < 0 {
|
|
40
47
|
$is-negative: true;
|
|
41
|
-
$spacing-point: abs($spacing-point);
|
|
48
|
+
$spacing-point: math.abs($spacing-point);
|
|
42
49
|
}
|
|
43
50
|
|
|
44
|
-
@if not map
|
|
51
|
+
@if not map.has-key($govuk-spacing-points, $spacing-point) {
|
|
45
52
|
@error "Unknown spacing variable `#{$spacing-point}`. Make sure you are using a point from the spacing scale in `_settings/spacing.scss`.";
|
|
46
53
|
}
|
|
47
54
|
|
|
48
|
-
$value: map
|
|
49
|
-
@return if($is-negative, $value * -1, $value);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/// Responsive spacing
|
|
53
|
-
///
|
|
54
|
-
/// Adds responsive spacing (either padding or margin, depending on `$property`)
|
|
55
|
-
/// by fetching a 'spacing map' from the responsive spacing scale, which defines
|
|
56
|
-
/// different spacing values at different breakpoints.
|
|
57
|
-
///
|
|
58
|
-
/// To generate responsive spacing, use 'govuk-responsive-margin' or
|
|
59
|
-
/// 'govuk-responsive-padding' mixins
|
|
60
|
-
///
|
|
61
|
-
/// @param {Number} $responsive-spacing-point - Point on the responsive spacing
|
|
62
|
-
/// scale, corresponds to a map of breakpoints and spacing values
|
|
63
|
-
/// @param {String} $property - Property to add spacing to (e.g. 'margin')
|
|
64
|
-
/// @param {String} $direction [all] - Direction to add spacing to
|
|
65
|
-
/// (`top`, `right`, `bottom`, `left`, `all`)
|
|
66
|
-
/// @param {Boolean} $important [false] - Whether to mark as `!important`
|
|
67
|
-
/// @param {Number} $adjustment [false] - Offset to adjust spacing by
|
|
68
|
-
///
|
|
69
|
-
/// @access private
|
|
70
|
-
|
|
71
|
-
@mixin _govuk-responsive-spacing(
|
|
72
|
-
$responsive-spacing-point,
|
|
73
|
-
$property,
|
|
74
|
-
$direction: "all",
|
|
75
|
-
$important: false,
|
|
76
|
-
$adjustment: false
|
|
77
|
-
) {
|
|
78
|
-
$actual-input-type: type-of($responsive-spacing-point);
|
|
79
|
-
@if $actual-input-type != "number" {
|
|
80
|
-
@error "Expected a number (integer), but got a " + "#{$actual-input-type}.";
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
@if not map-has-key($govuk-spacing-responsive-scale, $responsive-spacing-point) {
|
|
84
|
-
@error "Unknown spacing point `#{$responsive-spacing-point}`. Make sure you are using a point from the "
|
|
85
|
-
+ "responsive spacing scale in `_settings/spacing.scss`.";
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
// Make sure that the return value from `_settings/spacing.scss` is a map.
|
|
89
|
-
$scale-map: map-get($govuk-spacing-responsive-scale, $responsive-spacing-point);
|
|
90
|
-
$actual-map-type: type-of($scale-map);
|
|
91
|
-
@if $actual-map-type != "map" {
|
|
92
|
-
@error "Expected a number (integer), but got a "
|
|
93
|
-
+ "#{$actual-map-type}. Make sure you are using a map to set the responsive spacing in `_settings/spacing.scss`)";
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Loop through each breakpoint in the map
|
|
97
|
-
@each $breakpoint, $breakpoint-value in $scale-map {
|
|
98
|
-
@if $adjustment {
|
|
99
|
-
$breakpoint-value: $breakpoint-value + $adjustment;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// The 'null' breakpoint is for mobile.
|
|
103
|
-
@if not $breakpoint {
|
|
104
|
-
@if $direction == all {
|
|
105
|
-
#{$property}: $breakpoint-value if($important, !important, null);
|
|
106
|
-
} @else {
|
|
107
|
-
#{$property}-#{$direction}: $breakpoint-value if($important, !important, null);
|
|
108
|
-
}
|
|
109
|
-
} @else {
|
|
110
|
-
@include govuk-media-query($from: $breakpoint) {
|
|
111
|
-
@if $direction == all {
|
|
112
|
-
#{$property}: $breakpoint-value if($important, !important, null);
|
|
113
|
-
} @else {
|
|
114
|
-
#{$property}-#{$direction}: $breakpoint-value if($important, !important, null);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
55
|
+
$value: map.get($govuk-spacing-points, $spacing-point);
|
|
56
|
+
@return govuk-if($is-negative, $value * -1, $value);
|
|
119
57
|
}
|
|
120
58
|
|
|
121
59
|
/// Responsive margin
|
|
122
60
|
///
|
|
123
61
|
/// Adds responsive margin by fetching a 'spacing map' from the responsive
|
|
124
62
|
/// spacing scale, which defines different spacing values at different
|
|
125
|
-
/// breakpoints. Wrapper for the `
|
|
126
|
-
///
|
|
127
|
-
/// @see {mixin} _govuk-responsive-spacing
|
|
63
|
+
/// breakpoints. Wrapper for the `govuk-responsive-spacing.govuk-responsive-spacing` mixin.
|
|
128
64
|
///
|
|
129
65
|
/// @param {Number} $responsive-spacing-point - Point on the responsive spacing
|
|
130
66
|
/// scale, corresponds to a map of breakpoints and spacing values
|
|
@@ -141,7 +77,13 @@
|
|
|
141
77
|
/// @access public
|
|
142
78
|
|
|
143
79
|
@mixin govuk-responsive-margin($responsive-spacing-point, $direction: "all", $important: false, $adjustment: false) {
|
|
144
|
-
@include
|
|
80
|
+
@include spacing--internal.responsive-spacing(
|
|
81
|
+
$responsive-spacing-point,
|
|
82
|
+
"margin",
|
|
83
|
+
$direction,
|
|
84
|
+
$important,
|
|
85
|
+
$adjustment
|
|
86
|
+
);
|
|
145
87
|
}
|
|
146
88
|
|
|
147
89
|
/// Responsive padding
|
|
@@ -150,8 +92,6 @@
|
|
|
150
92
|
/// spacing scale, which defines different spacing values at different
|
|
151
93
|
/// breakpoints. Wrapper for the `_govuk-responsive-spacing` mixin.
|
|
152
94
|
///
|
|
153
|
-
/// @see {mixin} _govuk-responsive-spacing
|
|
154
|
-
///
|
|
155
95
|
/// @param {Number} $responsive-spacing-point - Point on the responsive spacing
|
|
156
96
|
/// scale, corresponds to a map of breakpoints and spacing values
|
|
157
97
|
/// @param {String} $direction [all] - Direction to add spacing to
|
|
@@ -167,7 +107,12 @@
|
|
|
167
107
|
/// @access public
|
|
168
108
|
|
|
169
109
|
@mixin govuk-responsive-padding($responsive-spacing-point, $direction: "all", $important: false, $adjustment: false) {
|
|
170
|
-
@include
|
|
110
|
+
@include spacing--internal.responsive-spacing(
|
|
111
|
+
$responsive-spacing-point,
|
|
112
|
+
"padding",
|
|
113
|
+
$direction,
|
|
114
|
+
$important,
|
|
115
|
+
$adjustment
|
|
116
|
+
);
|
|
171
117
|
}
|
|
172
118
|
|
|
173
|
-
/*# sourceMappingURL=_spacing.scss.map */
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
////
|
|
2
|
+
/// @group helpers/typography
|
|
3
|
+
////
|
|
4
|
+
|
|
5
|
+
@use "sass:math";
|
|
6
|
+
|
|
7
|
+
/// Convert line-heights specified in pixels into a relative value, unless
|
|
8
|
+
/// they are already unit-less (and thus already treated as relative values)
|
|
9
|
+
/// or the units do not match the units used for the font size.
|
|
10
|
+
///
|
|
11
|
+
/// @param {Number} $line-height Line height
|
|
12
|
+
/// @param {Number} $font-size Font size
|
|
13
|
+
/// @return {Number} The line height as either a relative value or unmodified
|
|
14
|
+
///
|
|
15
|
+
/// @access private
|
|
16
|
+
|
|
17
|
+
@function line-height($line-height, $font-size) {
|
|
18
|
+
@if not math.is-unitless($line-height) and math.unit($line-height) == math.unit($font-size) {
|
|
19
|
+
$line-height: math.div($line-height, $font-size);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@return $line-height;
|
|
23
|
+
}
|
|
24
|
+
|
|
@@ -1,8 +1,23 @@
|
|
|
1
1
|
////
|
|
2
2
|
/// @group helpers/typography
|
|
3
3
|
////
|
|
4
|
-
|
|
5
|
-
@
|
|
4
|
+
@use "sass:map";
|
|
5
|
+
@use "sass:string";
|
|
6
|
+
|
|
7
|
+
@use "../settings/warnings--internal";
|
|
8
|
+
|
|
9
|
+
@use "../settings/assets" as *;
|
|
10
|
+
@use "../settings/colours-functional" as *;
|
|
11
|
+
@use "../settings/spacing" as *;
|
|
12
|
+
@use "../settings/typography-font" as *;
|
|
13
|
+
@use "../settings/typography-responsive" as *;
|
|
14
|
+
@use "../tools/font-url" as *;
|
|
15
|
+
@use "../tools/px-to-rem" as *;
|
|
16
|
+
@use "../tools/if" as *;
|
|
17
|
+
@use "colour" as *;
|
|
18
|
+
@use "font-faces--internal";
|
|
19
|
+
@use "typography--internal";
|
|
20
|
+
@use "media-queries" as *;
|
|
6
21
|
|
|
7
22
|
/// 'Common typography' helper
|
|
8
23
|
///
|
|
@@ -20,10 +35,10 @@
|
|
|
20
35
|
// If the user is using the default GDS Transport font we need to include
|
|
21
36
|
// the font-face declarations.
|
|
22
37
|
@if $govuk-include-default-font-face {
|
|
23
|
-
@include
|
|
38
|
+
@include font-faces--internal.gds-transport;
|
|
24
39
|
}
|
|
25
40
|
|
|
26
|
-
@
|
|
41
|
+
@media print {
|
|
27
42
|
font-family: $govuk-font-family-print;
|
|
28
43
|
}
|
|
29
44
|
}
|
|
@@ -32,14 +47,16 @@
|
|
|
32
47
|
///
|
|
33
48
|
/// Sets the text colour, including a suitable override for print.
|
|
34
49
|
///
|
|
50
|
+
/// @deprecated
|
|
35
51
|
/// @access public
|
|
36
52
|
|
|
37
53
|
@mixin govuk-text-colour {
|
|
38
|
-
|
|
54
|
+
@include warnings--internal.warning(
|
|
55
|
+
"govuk-text-colour",
|
|
56
|
+
"The `govuk-text-colour` mixin is deprecated. Use `color: govuk-functional-colour(text)` instead."
|
|
57
|
+
);
|
|
39
58
|
|
|
40
|
-
|
|
41
|
-
color: $govuk-print-text-colour;
|
|
42
|
-
}
|
|
59
|
+
color: govuk-functional-colour(text);
|
|
43
60
|
}
|
|
44
61
|
|
|
45
62
|
/// Regular font weight helper
|
|
@@ -49,7 +66,7 @@
|
|
|
49
66
|
/// @access public
|
|
50
67
|
|
|
51
68
|
@mixin govuk-typography-weight-regular($important: false) {
|
|
52
|
-
font-weight: $govuk-font-weight-regular if($important, !important
|
|
69
|
+
font-weight: $govuk-font-weight-regular govuk-if($important, !important);
|
|
53
70
|
}
|
|
54
71
|
|
|
55
72
|
/// Bold font weight helper
|
|
@@ -59,7 +76,7 @@
|
|
|
59
76
|
/// @access public
|
|
60
77
|
|
|
61
78
|
@mixin govuk-typography-weight-bold($important: false) {
|
|
62
|
-
font-weight: $govuk-font-weight-bold if($important, !important
|
|
79
|
+
font-weight: $govuk-font-weight-bold govuk-if($important, !important);
|
|
63
80
|
}
|
|
64
81
|
|
|
65
82
|
/// Tabular number helper
|
|
@@ -76,7 +93,7 @@
|
|
|
76
93
|
/// @access public
|
|
77
94
|
|
|
78
95
|
@mixin govuk-font-tabular-numbers($important: false) {
|
|
79
|
-
font-variant-numeric: tabular-nums if($important, !important
|
|
96
|
+
font-variant-numeric: tabular-nums govuk-if($important, !important);
|
|
80
97
|
}
|
|
81
98
|
|
|
82
99
|
/// Word break helper
|
|
@@ -90,52 +107,10 @@
|
|
|
90
107
|
|
|
91
108
|
@mixin govuk-text-break-word($important: false) {
|
|
92
109
|
// IE 11 and Edge 16–17 only support the non-standard `word-wrap` property
|
|
93
|
-
word-wrap: break-word if($important, !important
|
|
110
|
+
word-wrap: break-word govuk-if($important, !important);
|
|
94
111
|
|
|
95
112
|
// All other browsers support `overflow-wrap`
|
|
96
|
-
overflow-wrap: break-word if($important, !important
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/// Convert line-heights specified in pixels into a relative value, unless
|
|
100
|
-
/// they are already unit-less (and thus already treated as relative values)
|
|
101
|
-
/// or the units do not match the units used for the font size.
|
|
102
|
-
///
|
|
103
|
-
/// @param {Number} $line-height Line height
|
|
104
|
-
/// @param {Number} $font-size Font size
|
|
105
|
-
/// @return {Number} The line height as either a relative value or unmodified
|
|
106
|
-
///
|
|
107
|
-
/// @access private
|
|
108
|
-
|
|
109
|
-
@function _govuk-line-height($line-height, $font-size) {
|
|
110
|
-
@if not unitless($line-height) and unit($line-height) == unit($font-size) {
|
|
111
|
-
$line-height: $line-height / $font-size;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
@return $line-height;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
/// Font size and line height helper
|
|
118
|
-
///
|
|
119
|
-
/// @param {Number} $size - Point from the type scale (the size as it would
|
|
120
|
-
/// appear on tablet and above)
|
|
121
|
-
/// @param {Number} $override-line-height [false] - Non responsive custom line
|
|
122
|
-
/// height. Omit to use the line height from the font map.
|
|
123
|
-
/// @param {Boolean} $important [false] - Whether to mark declarations as
|
|
124
|
-
/// `!important`.
|
|
125
|
-
///
|
|
126
|
-
/// @throw if `$size` is not a valid point from the type scale
|
|
127
|
-
///
|
|
128
|
-
/// @access public
|
|
129
|
-
///
|
|
130
|
-
/// @alias govuk-font-size
|
|
131
|
-
/// @deprecated Use `govuk-font-size` instead
|
|
132
|
-
|
|
133
|
-
@mixin govuk-typography-responsive($size, $override-line-height: false, $important: false) {
|
|
134
|
-
@include _warning(
|
|
135
|
-
"govuk-typography-responsive",
|
|
136
|
-
"govuk-typography-responsive is deprecated. Use govuk-font-size instead."
|
|
137
|
-
);
|
|
138
|
-
@include govuk-font-size($size, $override-line-height, $important);
|
|
113
|
+
overflow-wrap: break-word govuk-if($important, !important);
|
|
139
114
|
}
|
|
140
115
|
|
|
141
116
|
/// Font size and line height helper
|
|
@@ -177,21 +152,21 @@
|
|
|
177
152
|
@mixin govuk-font-size($size, $line-height: false, $important: false) {
|
|
178
153
|
// Flag font sizes that start with underscores so we can suppress warnings on
|
|
179
154
|
// deprecated sizes used internally, for example `govuk-font($size: "_14")`
|
|
180
|
-
$size-internal-use-only:
|
|
155
|
+
$size-internal-use-only: string.slice(#{$size}, 1, 1) == "_";
|
|
181
156
|
|
|
182
157
|
// Remove underscore from font sizes flagged for internal use
|
|
183
158
|
@if $size-internal-use-only {
|
|
184
|
-
$size:
|
|
159
|
+
$size: string.slice(#{$size}, 2);
|
|
185
160
|
}
|
|
186
161
|
|
|
187
162
|
// Check for a font map exactly matching the given size
|
|
188
|
-
$font-map: map
|
|
163
|
+
$font-map: map.get($govuk-typography-scale, $size);
|
|
189
164
|
|
|
190
165
|
// No match? Try with string type (e.g. $size: "16" not 16)
|
|
191
166
|
@if not $font-map {
|
|
192
|
-
@each $font-size in map
|
|
167
|
+
@each $font-size in map.keys($govuk-typography-scale) {
|
|
193
168
|
@if not $font-map and "#{$font-size}" == "#{$size}" {
|
|
194
|
-
$font-map: map
|
|
169
|
+
$font-map: map.get($govuk-typography-scale, $font-size);
|
|
195
170
|
}
|
|
196
171
|
}
|
|
197
172
|
}
|
|
@@ -202,50 +177,57 @@
|
|
|
202
177
|
}
|
|
203
178
|
|
|
204
179
|
// Check for a deprecation within the type scale
|
|
205
|
-
$deprecation: map
|
|
180
|
+
$deprecation: map.get($font-map, "deprecation");
|
|
206
181
|
|
|
207
182
|
@if $deprecation {
|
|
208
183
|
// Warn on deprecated font sizes unless flagged for internal use
|
|
209
184
|
@if not $size-internal-use-only {
|
|
210
|
-
@include
|
|
185
|
+
@include warnings--internal.warning(map.get($deprecation, "key"), map.get($deprecation, "message"));
|
|
211
186
|
}
|
|
212
187
|
|
|
213
188
|
// remove the deprecation map keys so they do not break the breakpoint loop
|
|
214
|
-
$font-map: map
|
|
189
|
+
$font-map: map.remove($font-map, "deprecation");
|
|
215
190
|
}
|
|
216
191
|
|
|
217
192
|
@each $breakpoint, $breakpoint-map in $font-map {
|
|
218
|
-
$font-size: map
|
|
193
|
+
$font-size: map.get($breakpoint-map, "font-size");
|
|
219
194
|
$font-size-rem: govuk-px-to-rem($font-size);
|
|
220
195
|
|
|
221
196
|
// $calculated-line-height is a separate variable from $line-height,
|
|
222
197
|
// as otherwise the value would get redefined with each loop and
|
|
223
|
-
// eventually break
|
|
224
|
-
//
|
|
198
|
+
// eventually break typography--internal.line-height.
|
|
199
|
+
// 1. See if the function was called with a specific line-height
|
|
200
|
+
$calculated-line-height: $line-height;
|
|
201
|
+
// 2. Default to the breakpoint-map if no specific value was given
|
|
202
|
+
@if not $calculated-line-height {
|
|
203
|
+
$calculated-line-height: map.get($breakpoint-map, "line-height");
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
// 3. Turn the value into a unitless line-height if possible
|
|
225
207
|
// We continue to call the param $line-height to stay consistent with the
|
|
226
208
|
// naming with govuk-font.
|
|
227
|
-
$calculated-line-height:
|
|
228
|
-
$line-height:
|
|
209
|
+
$calculated-line-height: typography--internal.line-height(
|
|
210
|
+
$line-height: $calculated-line-height,
|
|
229
211
|
$font-size: $font-size
|
|
230
212
|
);
|
|
231
213
|
|
|
232
214
|
// Mark rules as !important if $important is true - this will result in
|
|
233
215
|
// these variables becoming strings, so this needs to happen *after* they
|
|
234
216
|
// are used in calculations
|
|
235
|
-
$font-size: $font-size if($important, !important
|
|
236
|
-
$font-size-rem: $font-size-rem if($important, !important
|
|
237
|
-
$calculated-line-height: $calculated-line-height if($important, !important
|
|
217
|
+
$font-size: $font-size govuk-if($important, !important);
|
|
218
|
+
$font-size-rem: $font-size-rem govuk-if($important, !important);
|
|
219
|
+
$calculated-line-height: $calculated-line-height govuk-if($important, !important);
|
|
238
220
|
|
|
239
221
|
@if not $breakpoint {
|
|
240
222
|
font-size: $font-size-rem;
|
|
241
223
|
line-height: $calculated-line-height;
|
|
242
224
|
} @else if $breakpoint == "print" {
|
|
243
|
-
@
|
|
225
|
+
@media print {
|
|
244
226
|
font-size: $font-size;
|
|
245
227
|
line-height: $calculated-line-height;
|
|
246
228
|
}
|
|
247
229
|
} @else {
|
|
248
|
-
@
|
|
230
|
+
@media #{govuk-from-breakpoint($breakpoint)} {
|
|
249
231
|
font-size: $font-size-rem;
|
|
250
232
|
line-height: $calculated-line-height;
|
|
251
233
|
}
|
|
@@ -285,4 +267,3 @@
|
|
|
285
267
|
}
|
|
286
268
|
}
|
|
287
269
|
|
|
288
|
-
/*# sourceMappingURL=_typography.scss.map */
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
/// @group helpers/accessibility
|
|
3
3
|
////
|
|
4
4
|
|
|
5
|
+
@use "../tools/if" as *;
|
|
6
|
+
|
|
5
7
|
/// Helper function containing the common code for the following two mixins
|
|
6
8
|
///
|
|
7
9
|
/// @link https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
|
|
@@ -14,28 +16,28 @@
|
|
|
14
16
|
/// @access private
|
|
15
17
|
|
|
16
18
|
@mixin _govuk-visually-hide-content($important: true) {
|
|
17
|
-
position: absolute if($important, !important
|
|
19
|
+
position: absolute govuk-if($important, !important);
|
|
18
20
|
|
|
19
|
-
width: 1px if($important, !important
|
|
20
|
-
height: 1px if($important, !important
|
|
21
|
+
width: 1px govuk-if($important, !important);
|
|
22
|
+
height: 1px govuk-if($important, !important);
|
|
21
23
|
// If margin is set to a negative value it can cause text to be announced in
|
|
22
24
|
// the wrong order in VoiceOver for OSX
|
|
23
|
-
margin: 0 if($important, !important
|
|
24
|
-
padding: 0 if($important, !important
|
|
25
|
+
margin: 0 govuk-if($important, !important);
|
|
26
|
+
padding: 0 govuk-if($important, !important);
|
|
25
27
|
|
|
26
|
-
overflow: hidden if($important, !important
|
|
28
|
+
overflow: hidden govuk-if($important, !important);
|
|
27
29
|
|
|
28
30
|
// `clip` is needed for IE11 support
|
|
29
|
-
clip: rect(0 0 0 0) if($important, !important
|
|
30
|
-
-webkit-clip-path: inset(50%) if($important, !important
|
|
31
|
-
clip-path: inset(50%) if($important, !important
|
|
31
|
+
clip: rect(0 0 0 0) govuk-if($important, !important);
|
|
32
|
+
-webkit-clip-path: inset(50%) govuk-if($important, !important);
|
|
33
|
+
clip-path: inset(50%) govuk-if($important, !important);
|
|
32
34
|
|
|
33
|
-
border: 0 if($important, !important
|
|
35
|
+
border: 0 govuk-if($important, !important);
|
|
34
36
|
|
|
35
37
|
// For long content, line feeds are not interpreted as spaces and small width
|
|
36
38
|
// causes content to wrap 1 word per line:
|
|
37
39
|
// https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
|
|
38
|
-
white-space: nowrap if($important, !important
|
|
40
|
+
white-space: nowrap govuk-if($important, !important);
|
|
39
41
|
|
|
40
42
|
// Prevent users from selecting or copying visually-hidden text. This prevents
|
|
41
43
|
// a user unintentionally copying more text than they intended and needing to
|
|
@@ -77,9 +79,11 @@
|
|
|
77
79
|
|
|
78
80
|
@mixin govuk-visually-hidden-focusable($important: true) {
|
|
79
81
|
// IE 11 doesn't support the combined `:not(:active, :focus)` syntax.
|
|
80
|
-
|
|
82
|
+
// Also allows for ':focus' companion classes from postcss-pseudo-classes
|
|
83
|
+
// which the plugin unfortunately doesn't handle automatically.
|
|
84
|
+
// stylelint-disable-next-line selector-class-pattern
|
|
85
|
+
&:not(:active):not(:focus):not(.\:focus) {
|
|
81
86
|
@include _govuk-visually-hide-content($important: $important);
|
|
82
87
|
}
|
|
83
88
|
}
|
|
84
89
|
|
|
85
|
-
/*# sourceMappingURL=_visually-hidden.scss.map */
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
////
|
|
2
|
+
/// @group helpers/width-container
|
|
3
|
+
////
|
|
4
|
+
|
|
5
|
+
@use "sass:string";
|
|
6
|
+
|
|
7
|
+
@use "../settings/measurements" as *;
|
|
8
|
+
@use "media-queries" as *;
|
|
9
|
+
|
|
10
|
+
/// Width container mixin
|
|
11
|
+
///
|
|
12
|
+
/// Used to create page width and custom width container classes.
|
|
13
|
+
///
|
|
14
|
+
/// @param {String} $width [$govuk-page-width] - Width in pixels
|
|
15
|
+
///
|
|
16
|
+
/// @example scss - Creating a 1200px wide container class
|
|
17
|
+
/// .app-width-container--wide {
|
|
18
|
+
/// @include govuk-width-container(1200px);
|
|
19
|
+
/// }
|
|
20
|
+
///
|
|
21
|
+
/// @access public
|
|
22
|
+
|
|
23
|
+
@mixin govuk-width-container($width: $govuk-page-width) {
|
|
24
|
+
// By default, limit the width of the container to the page width
|
|
25
|
+
max-width: $width;
|
|
26
|
+
|
|
27
|
+
// On mobile, add half width gutters
|
|
28
|
+
margin-right: $govuk-gutter-half;
|
|
29
|
+
margin-left: $govuk-gutter-half;
|
|
30
|
+
|
|
31
|
+
// Respect 'display cutout' safe area (avoids notches and rounded corners)
|
|
32
|
+
@supports (margin: string.unquote("max(calc(0px))")) {
|
|
33
|
+
$gutter-safe-area-right: calc(#{$govuk-gutter-half} + env(safe-area-inset-right));
|
|
34
|
+
$gutter-safe-area-left: calc(#{$govuk-gutter-half} + env(safe-area-inset-left));
|
|
35
|
+
|
|
36
|
+
// Use max() to pick largest margin, default or with safe area
|
|
37
|
+
// Escaped due to Sass max() vs. CSS native max()
|
|
38
|
+
margin-right: string.unquote("max(#{$govuk-gutter-half}, #{$gutter-safe-area-right})");
|
|
39
|
+
margin-left: string.unquote("max(#{$govuk-gutter-half}, #{$gutter-safe-area-left})");
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// On tablet, add full width gutters
|
|
43
|
+
@media #{govuk-from-breakpoint(tablet)} {
|
|
44
|
+
margin-right: $govuk-gutter;
|
|
45
|
+
margin-left: $govuk-gutter;
|
|
46
|
+
|
|
47
|
+
// Respect 'display cutout' safe area (avoids notches and rounded corners)
|
|
48
|
+
@supports (margin: string.unquote("max(calc(0px))")) {
|
|
49
|
+
$gutter-safe-area-right: calc(#{$govuk-gutter-half} + env(safe-area-inset-right));
|
|
50
|
+
$gutter-safe-area-left: calc(#{$govuk-gutter-half} + env(safe-area-inset-left));
|
|
51
|
+
|
|
52
|
+
// Use max() to pick largest margin, default or with safe area
|
|
53
|
+
// Escaped due to Sass max() vs. CSS native max()
|
|
54
|
+
margin-right: string.unquote("max(#{$govuk-gutter}, #{$gutter-safe-area-right})");
|
|
55
|
+
margin-left: string.unquote("max(#{$govuk-gutter}, #{$gutter-safe-area-left})");
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// As soon as the viewport is greater than the width of the page plus the
|
|
60
|
+
// gutters, just centre the content instead of adding gutters.
|
|
61
|
+
@media (min-width: #{($width + $govuk-gutter * 2)}) {
|
|
62
|
+
margin-right: auto;
|
|
63
|
+
margin-left: auto;
|
|
64
|
+
|
|
65
|
+
// Since a safe area may have previously been set above,
|
|
66
|
+
// we need to duplicate this margin that centers the page.
|
|
67
|
+
@supports (margin: string.unquote("max(calc(0px))")) {
|
|
68
|
+
margin-right: auto;
|
|
69
|
+
margin-left: auto;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|