govuk_publishing_components 35.3.2 → 35.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/govuk_publishing_components/components/cookie-banner.js +11 -5
- data/app/assets/stylesheets/component_guide/application.scss +37 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_cookie-banner.scss +8 -59
- data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +10 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_brand-colours.scss +24 -0
- data/app/views/govuk_publishing_components/component_guide/example.html.erb +1 -1
- data/app/views/govuk_publishing_components/component_guide/preview.html.erb +1 -1
- data/app/views/govuk_publishing_components/component_guide/show.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_cookie_banner.html.erb +49 -57
- data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +3 -3
- data/app/views/govuk_publishing_components/components/_metadata.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_share_links.html.erb +6 -2
- data/app/views/govuk_publishing_components/components/_step_by_step_nav_related.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/docs/metadata.yml +1 -3
- data/app/views/govuk_publishing_components/components/docs/organisation_logo.yml +5 -5
- data/app/views/govuk_publishing_components/components/docs/step_by_step_nav_related.yml +1 -0
- data/app/views/layouts/govuk_publishing_components/application.html.erb +1 -0
- data/config/locales/cy.yml +1 -1
- data/lib/govuk_publishing_components/app_helpers/asset_helper.rb +4 -0
- data/lib/govuk_publishing_components/presenters/breadcrumbs_helper.rb +1 -1
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/axe-core/axe.d.ts +77 -6
- data/node_modules/axe-core/axe.js +955 -600
- data/node_modules/axe-core/axe.min.js +2 -2
- data/node_modules/axe-core/locales/_template.json +6 -6
- data/node_modules/axe-core/locales/ja.json +91 -11
- data/node_modules/axe-core/package.json +5 -5
- data/node_modules/axe-core/sri-history.json +4 -0
- data/node_modules/govuk-frontend/README.md +4 -5
- data/node_modules/govuk-frontend/govuk/all-ie8.scss +8 -0
- data/node_modules/govuk-frontend/govuk/all.js +738 -258
- data/node_modules/govuk-frontend/govuk/all.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/common/closest-attribute-value.js +11 -7
- data/node_modules/govuk-frontend/govuk/common/closest-attribute-value.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/common/govuk-frontend-version.js +17 -0
- data/node_modules/govuk-frontend/govuk/common/govuk-frontend-version.js.map +1 -0
- data/node_modules/govuk-frontend/govuk/common/index.js +16 -4
- data/node_modules/govuk-frontend/govuk/common/index.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/common/normalise-dataset.js +20 -10
- data/node_modules/govuk-frontend/govuk/common/normalise-dataset.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/common.js +16 -4
- data/node_modules/govuk-frontend/govuk/common.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss +3 -3
- data/node_modules/govuk-frontend/govuk/components/accordion/accordion.js +234 -86
- data/node_modules/govuk-frontend/govuk/components/accordion/accordion.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/accordion/fixtures.json +32 -13
- data/node_modules/govuk-frontend/govuk/components/accordion/macro-options.json +8 -2
- data/node_modules/govuk-frontend/govuk/components/accordion/template.njk +1 -0
- data/node_modules/govuk-frontend/govuk/components/back-link/_index.scss +1 -1
- data/node_modules/govuk-frontend/govuk/components/back-link/fixtures.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/back-link/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_index.scss +1 -1
- data/node_modules/govuk-frontend/govuk/components/breadcrumbs/fixtures.json +12 -12
- data/node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/button/_index.scss +8 -6
- data/node_modules/govuk-frontend/govuk/components/button/button.js +54 -19
- data/node_modules/govuk-frontend/govuk/components/button/button.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/button/fixtures.json +11 -1
- data/node_modules/govuk-frontend/govuk/components/button/macro-options.json +7 -1
- data/node_modules/govuk-frontend/govuk/components/button/template.njk +1 -1
- data/node_modules/govuk-frontend/govuk/components/character-count/character-count.js +170 -76
- data/node_modules/govuk-frontend/govuk/components/character-count/character-count.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/character-count/fixtures.json +24 -24
- data/node_modules/govuk-frontend/govuk/components/character-count/macro-options.json +3 -3
- data/node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss +6 -6
- data/node_modules/govuk-frontend/govuk/components/checkboxes/checkboxes.js +75 -24
- data/node_modules/govuk-frontend/govuk/components/checkboxes/checkboxes.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/checkboxes/fixtures.json +47 -47
- data/node_modules/govuk-frontend/govuk/components/checkboxes/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/checkboxes/template.njk +3 -3
- data/node_modules/govuk-frontend/govuk/components/cookie-banner/fixtures.json +24 -24
- data/node_modules/govuk-frontend/govuk/components/cookie-banner/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/date-input/fixtures.json +26 -26
- data/node_modules/govuk-frontend/govuk/components/date-input/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/date-input/template.njk +1 -1
- data/node_modules/govuk-frontend/govuk/components/details/details.js +39 -13
- data/node_modules/govuk-frontend/govuk/components/details/details.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/details/fixtures.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/details/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/error-message/fixtures.json +10 -10
- data/node_modules/govuk-frontend/govuk/components/error-message/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/error-summary/error-summary.js +67 -27
- data/node_modules/govuk-frontend/govuk/components/error-summary/error-summary.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/error-summary/fixtures.json +19 -19
- data/node_modules/govuk-frontend/govuk/components/error-summary/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/fieldset/fixtures.json +19 -19
- data/node_modules/govuk-frontend/govuk/components/fieldset/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/file-upload/_index.scss +6 -1
- data/node_modules/govuk-frontend/govuk/components/file-upload/fixtures.json +14 -14
- data/node_modules/govuk-frontend/govuk/components/file-upload/macro-options.json +7 -1
- data/node_modules/govuk-frontend/govuk/components/file-upload/template.njk +2 -1
- data/node_modules/govuk-frontend/govuk/components/footer/_index.scss +0 -7
- data/node_modules/govuk-frontend/govuk/components/footer/fixtures.json +24 -24
- data/node_modules/govuk-frontend/govuk/components/footer/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/header/fixtures.json +22 -22
- data/node_modules/govuk-frontend/govuk/components/header/header.js +46 -14
- data/node_modules/govuk-frontend/govuk/components/header/header.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/header/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/header/template.njk +1 -1
- data/node_modules/govuk-frontend/govuk/components/hint/fixtures.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/hint/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/input/_index.scss +15 -3
- data/node_modules/govuk-frontend/govuk/components/input/fixtures.json +54 -41
- data/node_modules/govuk-frontend/govuk/components/input/macro-options.json +7 -1
- data/node_modules/govuk-frontend/govuk/components/input/template.njk +2 -1
- data/node_modules/govuk-frontend/govuk/components/inset-text/fixtures.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/label/fixtures.json +6 -6
- data/node_modules/govuk-frontend/govuk/components/label/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/notification-banner/fixtures.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/notification-banner/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/notification-banner/notification-banner.js +49 -22
- data/node_modules/govuk-frontend/govuk/components/notification-banner/notification-banner.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/pagination/fixtures.json +16 -16
- data/node_modules/govuk-frontend/govuk/components/pagination/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/panel/fixtures.json +10 -10
- data/node_modules/govuk-frontend/govuk/components/panel/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/phase-banner/fixtures.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/phase-banner/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/radios/_index.scss +5 -5
- data/node_modules/govuk-frontend/govuk/components/radios/fixtures.json +46 -46
- data/node_modules/govuk-frontend/govuk/components/radios/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/radios/radios.js +65 -22
- data/node_modules/govuk-frontend/govuk/components/radios/radios.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/radios/template.njk +2 -2
- data/node_modules/govuk-frontend/govuk/components/select/_index.scss +7 -1
- data/node_modules/govuk-frontend/govuk/components/select/fixtures.json +19 -20
- data/node_modules/govuk-frontend/govuk/components/select/macro-options.json +7 -1
- data/node_modules/govuk-frontend/govuk/components/select/template.njk +5 -2
- data/node_modules/govuk-frontend/govuk/components/skip-link/fixtures.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/skip-link/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/skip-link/skip-link.js +41 -13
- data/node_modules/govuk-frontend/govuk/components/skip-link/skip-link.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/summary-list/fixtures.json +34 -34
- data/node_modules/govuk-frontend/govuk/components/summary-list/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/table/fixtures.json +21 -21
- data/node_modules/govuk-frontend/govuk/components/table/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/tabs/fixtures.json +15 -15
- data/node_modules/govuk-frontend/govuk/components/tabs/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/tabs/tabs.js +178 -60
- data/node_modules/govuk-frontend/govuk/components/tabs/tabs.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/tabs/template.njk +1 -1
- data/node_modules/govuk-frontend/govuk/components/tag/_index.scss +18 -18
- data/node_modules/govuk-frontend/govuk/components/tag/fixtures.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/tag/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/textarea/_index.scss +8 -1
- data/node_modules/govuk-frontend/govuk/components/textarea/fixtures.json +18 -18
- data/node_modules/govuk-frontend/govuk/components/textarea/macro-options.json +7 -1
- data/node_modules/govuk-frontend/govuk/components/textarea/template.njk +2 -1
- data/node_modules/govuk-frontend/govuk/components/warning-text/fixtures.json +9 -5
- data/node_modules/govuk-frontend/govuk/components/warning-text/macro-options.json +3 -3
- data/node_modules/govuk-frontend/govuk/components/warning-text/template.njk +1 -1
- data/node_modules/govuk-frontend/govuk/core/_all.scss +1 -0
- data/node_modules/govuk-frontend/govuk/core/_govuk-frontend-version.scss +5 -0
- data/node_modules/govuk-frontend/govuk/helpers/_colour.scss +5 -2
- data/node_modules/govuk-frontend/govuk/helpers/_focused.scss +1 -1
- data/node_modules/govuk-frontend/govuk/helpers/_font-faces.scss +1 -1
- data/node_modules/govuk-frontend/govuk/i18n.js +38 -30
- data/node_modules/govuk-frontend/govuk/i18n.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/macros/i18n.njk +12 -11
- data/node_modules/govuk-frontend/govuk/objects/_width-container.scss +1 -1
- data/node_modules/govuk-frontend/govuk/settings/_colours-organisations.scss +4 -0
- data/node_modules/govuk-frontend/govuk/settings/_ie8.scss +16 -0
- data/node_modules/govuk-frontend/govuk/settings/_links.scss +5 -1
- data/node_modules/govuk-frontend/govuk/tools/_ie8.scss +38 -2
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/DOMTokenList.js +2 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/DOMTokenList.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js +2 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Document.js +2 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Document.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/classList.js +10 -3
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/classList.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/closest.js +4 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/closest.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/dataset.js +13 -7
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/dataset.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/matches.js +2 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/matches.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/nextElementSibling.js +8 -2
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/nextElementSibling.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/previousElementSibling.js +8 -2
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/previousElementSibling.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element.js +4 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Event.js +10 -3
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Event.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Function/prototype/bind.js +4 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Function/prototype/bind.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Object/defineProperty.js +2 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Object/defineProperty.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js +3 -2
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Window.js +2 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Window.js.map +1 -1
- data/node_modules/govuk-frontend/govuk-esm/all.mjs +81 -60
- data/node_modules/govuk-frontend/govuk-esm/all.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/common/closest-attribute-value.mjs +12 -8
- data/node_modules/govuk-frontend/govuk-esm/common/closest-attribute-value.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/common/govuk-frontend-version.mjs +9 -0
- data/node_modules/govuk-frontend/govuk-esm/common/govuk-frontend-version.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/common/index.mjs +44 -29
- data/node_modules/govuk-frontend/govuk-esm/common/index.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/common/normalise-dataset.mjs +15 -9
- data/node_modules/govuk-frontend/govuk-esm/common/normalise-dataset.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/common.mjs +3 -5
- data/node_modules/govuk-frontend/govuk-esm/common.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/accordion/accordion.mjs +319 -211
- data/node_modules/govuk-frontend/govuk-esm/components/accordion/accordion.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/button/button.mjs +47 -30
- data/node_modules/govuk-frontend/govuk-esm/components/button/button.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/character-count/character-count.mjs +169 -115
- data/node_modules/govuk-frontend/govuk-esm/components/character-count/character-count.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/checkboxes/checkboxes.mjs +88 -51
- data/node_modules/govuk-frontend/govuk-esm/components/checkboxes/checkboxes.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/details/details.mjs +64 -54
- data/node_modules/govuk-frontend/govuk-esm/components/details/details.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/error-summary/error-summary.mjs +69 -50
- data/node_modules/govuk-frontend/govuk-esm/components/error-summary/error-summary.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/header/header.mjs +59 -35
- data/node_modules/govuk-frontend/govuk-esm/components/header/header.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/notification-banner/notification-banner.mjs +36 -25
- data/node_modules/govuk-frontend/govuk-esm/components/notification-banner/notification-banner.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/radios/radios.mjs +67 -38
- data/node_modules/govuk-frontend/govuk-esm/components/radios/radios.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/skip-link/skip-link.mjs +49 -32
- data/node_modules/govuk-frontend/govuk-esm/components/skip-link/skip-link.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/tabs/tabs.mjs +263 -163
- data/node_modules/govuk-frontend/govuk-esm/components/tabs/tabs.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/i18n.mjs +68 -57
- data/node_modules/govuk-frontend/govuk-esm/i18n.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/DOMTokenList.mjs +5 -3
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/DOMTokenList.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Date/now.mjs +4 -2
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Date/now.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Document.mjs +4 -2
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Document.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/classList.mjs +7 -4
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/classList.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/closest.mjs +5 -2
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/closest.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/dataset.mjs +13 -10
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/dataset.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/matches.mjs +4 -2
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/matches.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs +6 -3
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/previousElementSibling.mjs +6 -3
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/previousElementSibling.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element.mjs +5 -2
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Event.mjs +7 -4
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Event.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Function/prototype/bind.mjs +5 -2
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Function/prototype/bind.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Object/defineProperty.mjs +4 -2
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Object/defineProperty.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/String/prototype/trim.mjs +5 -3
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/String/prototype/trim.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs +4 -2
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-prototype-kit/init.js +1 -0
- data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +2 -1
- data/node_modules/govuk-frontend/package.json +3 -2
- metadata +43 -6
- /data/app/assets/images/govuk_publishing_components/crests/{dit_crest_13px.png → dbt_crest_13px.png} +0 -0
- /data/app/assets/images/govuk_publishing_components/crests/{dit_crest_13px_x2.png → dbt_crest_13px_x2.png} +0 -0
- /data/app/assets/images/govuk_publishing_components/crests/{dit_crest_18px.png → dbt_crest_18px.png} +0 -0
- /data/app/assets/images/govuk_publishing_components/crests/{dit_crest_18px_x2.png → dbt_crest_18px_x2.png} +0 -0
@@ -114,12 +114,12 @@
|
|
114
114
|
"help": "Page must have means to bypass repeated blocks"
|
115
115
|
},
|
116
116
|
"color-contrast-enhanced": {
|
117
|
-
"description": "Ensures the contrast between foreground and background colors meets WCAG 2 AAA contrast ratio thresholds",
|
118
|
-
"help": "Elements must
|
117
|
+
"description": "Ensures the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",
|
118
|
+
"help": "Elements must meet enhanced color contrast ratio thresholds"
|
119
119
|
},
|
120
120
|
"color-contrast": {
|
121
|
-
"description": "Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds",
|
122
|
-
"help": "Elements must
|
121
|
+
"description": "Ensures the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",
|
122
|
+
"help": "Elements must meet minimum color contrast ratio thresholds"
|
123
123
|
},
|
124
124
|
"css-orientation-lock": {
|
125
125
|
"description": "Ensures content is not locked to any specific display orientation, and the content is operable in all display orientations",
|
@@ -427,7 +427,7 @@
|
|
427
427
|
},
|
428
428
|
"aria-busy": {
|
429
429
|
"pass": "Element has an aria-busy attribute",
|
430
|
-
"fail": "Element
|
430
|
+
"fail": "Element uses aria-busy=\"true\" while showing a loader"
|
431
431
|
},
|
432
432
|
"aria-errormessage": {
|
433
433
|
"pass": "aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",
|
@@ -477,7 +477,7 @@
|
|
477
477
|
"fail": {
|
478
478
|
"singular": "Required ARIA child role not present: ${data.values}",
|
479
479
|
"plural": "Required ARIA children role not present: ${data.values}",
|
480
|
-
"unallowed": "Element has children which are not allowed
|
480
|
+
"unallowed": "Element has children which are not allowed: ${data.values}"
|
481
481
|
},
|
482
482
|
"incomplete": {
|
483
483
|
"singular": "Expecting ARIA child role to be added: ${data.values}",
|
@@ -289,6 +289,10 @@
|
|
289
289
|
"description": "<marquee>要素が使用されていないことを確認します",
|
290
290
|
"help": "<marquee>要素は非推奨のため、使用してはなりません"
|
291
291
|
},
|
292
|
+
"meta-refresh-no-exceptions": {
|
293
|
+
"description": "<meta http-equiv=\"refresh\">が使用されていないことを確認します",
|
294
|
+
"help": "制限時間のある更新が存在してはなりません"
|
295
|
+
},
|
292
296
|
"meta-refresh": {
|
293
297
|
"description": "<meta http-equiv=\"refresh\">が使用されていないことを確認します",
|
294
298
|
"help": "制限時間のある更新が存在してはなりません"
|
@@ -369,6 +373,10 @@
|
|
369
373
|
"description": "キャプション付きのテーブルが<caption>要素を用いていることを確認します",
|
370
374
|
"help": "データテーブルにキャプションをつけるためにデータまたはヘッダーセルを用いるべきではありません"
|
371
375
|
},
|
376
|
+
"target-size": {
|
377
|
+
"description": "タッチターゲットのサイズとスペースが十分にあることを確認します",
|
378
|
+
"help": "すべてのタッチターゲットは24pxの大きさか、十分なスペースが必要です"
|
379
|
+
},
|
372
380
|
"td-has-header": {
|
373
381
|
"description": "大きなテーブルの空ではないデータセルに1つかそれ以上のテーブルヘッダーが存在することを確認します",
|
374
382
|
"help": "3×3より大きいテーブルの空ではないtd要素はテーブルヘッダーと関連づいていなければなりません"
|
@@ -403,7 +411,8 @@
|
|
403
411
|
"fail": {
|
404
412
|
"singular": "ARIA属性は許可されていません: ${data.values}",
|
405
413
|
"plural": "ARIA属性は許可されていません: ${data.values}"
|
406
|
-
}
|
414
|
+
},
|
415
|
+
"incomplete": "次の要素のARIA属性が無視されても問題ないことを確認します: ${data.values}"
|
407
416
|
},
|
408
417
|
"aria-allowed-role": {
|
409
418
|
"pass": "ARIAロールは指定された要素に対して許可されています",
|
@@ -416,6 +425,10 @@
|
|
416
425
|
"plural": "ARIA ロール ${data.values} この要素に許可されていないため、要素が表示されたときはARIAロールを削除する必要があります"
|
417
426
|
}
|
418
427
|
},
|
428
|
+
"aria-busy": {
|
429
|
+
"pass": "要素にはaria-busy属性が存在しています",
|
430
|
+
"fail": "要素に aria-busy=\"true\" が設定されていません"
|
431
|
+
},
|
419
432
|
"aria-errormessage": {
|
420
433
|
"pass": "サポートされているaria-errormessageの技術を使用しています",
|
421
434
|
"fail": {
|
@@ -439,8 +452,18 @@
|
|
439
452
|
},
|
440
453
|
"aria-prohibited-attr": {
|
441
454
|
"pass": "ARIA属性は使用できます",
|
442
|
-
"fail":
|
443
|
-
|
455
|
+
"fail": {
|
456
|
+
"hasRolePlural": "${data.prohibited} 属性は \"${data.role}\" ロールでは使用できません",
|
457
|
+
"hasRoleSingular": "${data.prohibited} 属性は \"${data.role}\" ロールでは使用できません",
|
458
|
+
"noRolePlural": "${data.prohibited} 属性は、有効なロール属性のない ${data.nodeName} では使用できません",
|
459
|
+
"noRoleSingular": "${data.prohibited} 属性は、有効なロール属性のない ${data.nodeName} では使用できません"
|
460
|
+
},
|
461
|
+
"incomplete": {
|
462
|
+
"hasRoleSingular": "${data.prohibited} 属性はロール \"${data.role}\" では十分にサポートされていません",
|
463
|
+
"hasRolePlural": "${data.prohibited} 属性はロール \"${data.role}\" では十分にサポートされていません",
|
464
|
+
"noRoleSingular": "${data.prohibited} 属性は、有効なロール属性のない ${data.nodeName} では十分にサポートされていません",
|
465
|
+
"noRolePlural": "${data.prohibited} 属性は、有効なロール属性のない ${data.nodeName} では十分にサポートされていません"
|
466
|
+
}
|
444
467
|
},
|
445
468
|
"aria-required-attr": {
|
446
469
|
"pass": "すべての必須のARIA属性が存在しています",
|
@@ -453,7 +476,8 @@
|
|
453
476
|
"pass": "必須のARIA子ロールが存在しています",
|
454
477
|
"fail": {
|
455
478
|
"singular": "必須のARIA子ロールが提供されていません: ${data.values}",
|
456
|
-
"plural": "必須のARIA子ロールが提供されていません: ${data.values}"
|
479
|
+
"plural": "必須のARIA子ロールが提供されていません: ${data.values}",
|
480
|
+
"unallowed": "要素には許可されていないARIA子ロールがあります (関連ノードを参照)"
|
457
481
|
},
|
458
482
|
"incomplete": {
|
459
483
|
"singular": "ARIAの子ロールを追加することが求められます: ${data.values}",
|
@@ -484,8 +508,10 @@
|
|
484
508
|
},
|
485
509
|
"incomplete": {
|
486
510
|
"noId": "ARIA属性で指定されている要素のIDがページ上に存在しません: ${data.needsReview}",
|
487
|
-
"
|
488
|
-
"
|
511
|
+
"noIdShadow": "ARIA属性で指定されている要素のIDがページ上に存在しないか、別のshadow DOMツリーの小要素です: ${data.needsReview}",
|
512
|
+
"ariaCurrent": "ARIA属性値が無効であるため、\"aria-current=true\" として扱われます: ${data.needsReview}",
|
513
|
+
"idrefs": "ARIA属性で指定されている要素のIDがページ上に存在するかどうか判定できません: ${data.needsReview}",
|
514
|
+
"empty": "ARIA属性値が空のときは無視されます: ${data.needsReview}"
|
489
515
|
}
|
490
516
|
},
|
491
517
|
"aria-valid-attr": {
|
@@ -497,7 +523,7 @@
|
|
497
523
|
},
|
498
524
|
"deprecatedrole": {
|
499
525
|
"pass": "推奨されていないARIAロールではありません",
|
500
|
-
"fail": "非推奨のロールが使用されています: ${data
|
526
|
+
"fail": "非推奨のロールが使用されています: ${data}"
|
501
527
|
},
|
502
528
|
"fallbackrole": {
|
503
529
|
"pass": "1つのロール値のみ使用されています",
|
@@ -562,7 +588,10 @@
|
|
562
588
|
}
|
563
589
|
},
|
564
590
|
"color-contrast": {
|
565
|
-
"pass":
|
591
|
+
"pass": {
|
592
|
+
"default": "要素には${data.contrastRatio}の十分なコントラスト比があります",
|
593
|
+
"hidden": "要素は非表示です"
|
594
|
+
},
|
566
595
|
"fail": {
|
567
596
|
"default": "要素のコントラスト比が不十分です ${data.contrastRatio}(前景色: ${data.fgColor}、背景色: ${data.bgColor}、フォントサイズ: ${data.fontSize}、フォントの太さ: ${data.fontWeight})。コントラスト比${data.expectedContrastRatio}を必要とします",
|
568
597
|
"fgOnShadowColor": "要素の前景色と影(text-shadow)の色のコントラスト比が不十分です ${data.contrastRatio}(前景色: ${data.fgColor}、影(text-shadow)の色: ${data.shadowColor}、フォントサイズ: ${data.fontSize}、フォントの太さ: ${data.fontWeight})。コントラスト比${data.expectedContrastRatio}を必要とします",
|
@@ -584,9 +613,16 @@
|
|
584
613
|
"pseudoContent": "擬似要素のため、要素の背景色を判定することができませんでした"
|
585
614
|
}
|
586
615
|
},
|
616
|
+
"link-in-text-block-style": {
|
617
|
+
"pass": "リンクは視覚的なスタイル設定によって周囲のテキストと区別できます",
|
618
|
+
"fail": "リンクには、周囲のテキストと区別するためのスタイル (下線など) がありません"
|
619
|
+
},
|
587
620
|
"link-in-text-block": {
|
588
621
|
"pass": "リンクは色以外の方法で周囲のテキストと区別できます",
|
589
|
-
"fail":
|
622
|
+
"fail": {
|
623
|
+
"fgContrast": "このリンクは、周囲のテキストとの${data.contrastRatio}:1の色のコントラストが不十分です。(最小コントラストは ${data.requiredContrastRatio}:1、リンクテキスト: ${data.nodeColor}、周囲のテキスト: ${data.parentColor})",
|
624
|
+
"bgContrast": "リンクの背景の色コントラストが ${data.contrastRatio} で十分ではありません (最小コントラストは ${data.requiredContrastRatio}:1、リンク背景色: ${data.nodeBackgroundColor}、周囲の背景色: ${data.parentBackgroundColor})"
|
625
|
+
},
|
590
626
|
"incomplete": {
|
591
627
|
"default": "コントラスト比を判定できません",
|
592
628
|
"bgContrast": "要素のコントラスト比を判定できません。明確なホバー/フォーカススタイルを確認します",
|
@@ -614,6 +650,7 @@
|
|
614
650
|
},
|
615
651
|
"focusable-disabled": {
|
616
652
|
"pass": "要素内にフォーカス不可能な要素は含まれていません",
|
653
|
+
"incomplete": "フォーカス可能な要素がすぐにフォーカスインジケータを動かすかどうか確認します",
|
617
654
|
"fail": "フォーカス可能なコンテンツは無効にするか、DOMから削除するべきです"
|
618
655
|
},
|
619
656
|
"focusable-element": {
|
@@ -631,6 +668,7 @@
|
|
631
668
|
},
|
632
669
|
"focusable-not-tabbable": {
|
633
670
|
"pass": "要素内にフォーカス不可能な要素は含まれていません",
|
671
|
+
"incomplete": "フォーカス可能な要素がすぐにフォーカスインジケータを動かすかどうか確認します",
|
634
672
|
"fail": "フォーカス可能なコンテンツは tabindex='-1' を指定するか、DOMから削除するべきです"
|
635
673
|
},
|
636
674
|
"frame-focusable-content": {
|
@@ -785,6 +823,30 @@
|
|
785
823
|
"pass": "<meta>タグはモバイルデバイスでの拡大を無効にしません",
|
786
824
|
"fail": "<meta>タグの${data}がモバイルデバイスでの拡大を無効にします"
|
787
825
|
},
|
826
|
+
"target-offset": {
|
827
|
+
"pass": "ターゲットに最も近い隣接要素からのオフセットが十分にあリます (${data.closestOffset} px は少なくとも ${data.minOffset} px でなければなりません)",
|
828
|
+
"fail": "ターゲットの最も近い隣接要素からのオフセットが不十分です (${data.closestOffset} px は少なくとも ${data.minOffset} px でなければなりません)",
|
829
|
+
"incomplete": {
|
830
|
+
"default": "tabindexが負の要素において、最も近い隣接要素からのオフセットが不十分です (${data.closestOffset} px は少なくとも ${data.minOffset} px でなければなりません)。これがターゲットである要素か確認します",
|
831
|
+
"nonTabbableNeighbor": "ターゲットのtabindexが負の隣接ノードからのオフセットが不十分です (${data.closestOffset} px は少なくとも ${data.minOffset} px でなければなりません)。隣接要素がターゲットか確認します"
|
832
|
+
}
|
833
|
+
},
|
834
|
+
"target-size": {
|
835
|
+
"pass": {
|
836
|
+
"default": "コントロールには十分なサイズがあります (${data.width} px x ${data.height} pxであり、${data.minSize} px x ${data.minSize} px 以上です)",
|
837
|
+
"obscured": "コントロールは完全に隠されていてクリックできないため無視されます"
|
838
|
+
},
|
839
|
+
"fail": {
|
840
|
+
"default": "ターゲットのサイズが不十分です (${data.width} px x ${data.height} pxですが、少なくとも ${data.minSize} px x ${data.minSize} px でなければなりません)",
|
841
|
+
"partiallyObscured": "ターゲットは部分的に隠れているためサイズが不十分です (最小スペースは ${data.width} px x ${data.height} pxですが、少なくとも ${data.minSize} px x ${data.minSize} px でなければなりません)"
|
842
|
+
},
|
843
|
+
"incomplete": {
|
844
|
+
"default": "tabindex が負の要素のサイズが不十分です (${data.width} px x ${data.height} pxですが、少なくとも ${data.minSize} px x ${data.minSize} px でなければなりません)。これがターゲットの要素であることを確認します",
|
845
|
+
"contentOverflow": "コンテンツがオーバーフローしたため、要素のサイズを正確に決定できませんでした",
|
846
|
+
"partiallyObscured": "tabindex が負の要素は、部分的に隠れているためサイズが不十分です (最小のスペースは ${data.width} px x ${data.height} pxですが、少なくとも ${data.minSize} px x ${data.minSize} px でなければなりません)。これがターゲットの要素であることを確認します",
|
847
|
+
"partiallyObscuredNonTabbable": "ターゲットのサイズが不十分です。これは tabindex が負の隣接オブジェクトによって部分的に隠されているためです (最小のスペースは ${data.width} px x ${data.height} pxですが、少なくとも ${data.minSize} px x ${data.minSize} px でなければなりません)。隣接要素がターゲットの要素であることを確認します"
|
848
|
+
}
|
849
|
+
},
|
788
850
|
"header-present": {
|
789
851
|
"pass": "ページにheaderが存在しています",
|
790
852
|
"fail": "ページにheaderが存在していません"
|
@@ -806,6 +868,10 @@
|
|
806
868
|
"pass": "ページにランドマーク領域が存在しています",
|
807
869
|
"fail": "ページにランドマーク領域が存在していません"
|
808
870
|
},
|
871
|
+
"meta-refresh-no-exceptions": {
|
872
|
+
"pass": "<meta>タグはすぐにページを更新しません",
|
873
|
+
"fail": "<meta>タグは時限によるページの更新を強制します"
|
874
|
+
},
|
809
875
|
"meta-refresh": {
|
810
876
|
"pass": "<meta>タグはすぐにページを更新しません",
|
811
877
|
"fail": "<meta>タグは時限によるページの更新を強制します"
|
@@ -878,6 +944,18 @@
|
|
878
944
|
"fail": "要素にスクリーン・リーダーが認識可能なテキストが存在していません",
|
879
945
|
"incomplete": "要素に子ノードがあるか判定できません"
|
880
946
|
},
|
947
|
+
"important-letter-spacing": {
|
948
|
+
"pass": "文字の間隔(letter-spacing)の属性が '!important' に設定されていない、または最低条件を満たしています",
|
949
|
+
"fail": "文字の間隔(letter-spacing)の属性には '!important' を設定しない、または ${data.minValue} em以上(現在は ${data.value} em)にしてください"
|
950
|
+
},
|
951
|
+
"important-line-height": {
|
952
|
+
"pass": "行間(line-height)に '!important' が設定されていません、または最低条件を満たしています",
|
953
|
+
"fail": "行間(line-height)には '!important' を使用しないでください、または ${data.minValue} em以上(現在は ${data.value} em)にしてください"
|
954
|
+
},
|
955
|
+
"important-word-spacing": {
|
956
|
+
"pass": "単語の間隔(word-spacing)に '!important' が設定されていません、または最低条件を満たしています",
|
957
|
+
"fail": "単語の間隔(word-spacing)には '!important' を使用しないでください、または ${data.minValue} em以上(現在は ${data.value} em)にしてください"
|
958
|
+
},
|
881
959
|
"is-on-screen": {
|
882
960
|
"pass": "要素が表示されていません",
|
883
961
|
"fail": "要素が表示されています"
|
@@ -923,7 +1001,8 @@
|
|
923
1001
|
"default": "要素のデフォルトのセマンティクスはrole=\"none\"またはrole=\"presentation\"で上書きされませんでした",
|
924
1002
|
"globalAria": "要素にはARIAのグローバル属性が指定されているため、role=\"none\"またはrole=\"presentation\"にはなりません",
|
925
1003
|
"focusable": "要素がフォーカス可能なため、role=\"none\"またはrole=\"presentation\"にはなりません",
|
926
|
-
"both": "要素にはARIAのグローバル属性が指定されており、フォーカス可能なため、role=\"none\"またはrole=\"presentation\"にはなりません"
|
1004
|
+
"both": "要素にはARIAのグローバル属性が指定されており、フォーカス可能なため、role=\"none\"またはrole=\"presentation\"にはなりません",
|
1005
|
+
"iframe": "${data.nodeName} 要素にプレゼンテーション用のroleを持つ 'title' 属性を使用すると、スクリーンリーダー間で動作が一貫しません"
|
927
1006
|
}
|
928
1007
|
},
|
929
1008
|
"role-none": {
|
@@ -952,7 +1031,8 @@
|
|
952
1031
|
},
|
953
1032
|
"same-caption-summary": {
|
954
1033
|
"pass": "summary属性および<caption>のコンテンツは重複していません",
|
955
|
-
"fail": "summary属性および<caption>のコンテンツが同一です"
|
1034
|
+
"fail": "summary属性および<caption>のコンテンツが同一です",
|
1035
|
+
"incomplete": "<table>にキャプションがあるかどうかを確認できません"
|
956
1036
|
},
|
957
1037
|
"scope-value": {
|
958
1038
|
"pass": "scope属性は正しく使用されています",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "axe-core",
|
3
3
|
"description": "Accessibility engine for automated Web UI testing",
|
4
|
-
"version": "4.
|
4
|
+
"version": "4.7.0",
|
5
5
|
"license": "MPL-2.0",
|
6
6
|
"engines": {
|
7
7
|
"node": ">=4"
|
@@ -83,14 +83,14 @@
|
|
83
83
|
"test:unit:integration": "npm run test:unit -- testDirs=integration",
|
84
84
|
"test:unit:virtual-rules": "npm run test:unit -- testDirs=virtual-rules",
|
85
85
|
"integration": "node test/integration/full/test-webdriver.js",
|
86
|
-
"integration:apg": "mocha test/aria-practices/*.spec.js",
|
86
|
+
"integration:apg": "mocha --fail-zero test/aria-practices/*.spec.js",
|
87
87
|
"integration:chrome": "npm run integration -- browser=Chrome",
|
88
88
|
"integration:firefox": "npm run integration -- browser=Firefox",
|
89
89
|
"test:integration": "npm run test:integration:chrome",
|
90
90
|
"test:integration:chrome": "start-server-and-test 9876 integration:chrome",
|
91
91
|
"test:integration:firefox": "start-server-and-test 9876 integration:firefox",
|
92
92
|
"test:examples": "node ./doc/examples/test-examples",
|
93
|
-
"test:act": "mocha test/act-rules/*.spec.js",
|
93
|
+
"test:act": "mocha --fail-zero test/act-rules/*.spec.js",
|
94
94
|
"test:apg": "start-server-and-test 9876 integration:apg",
|
95
95
|
"test:locales": "mocha test/test-locales.js",
|
96
96
|
"test:virtual-rules": "mocha test/test-virtual-rules.js",
|
@@ -115,7 +115,7 @@
|
|
115
115
|
"@babel/preset-env": "^7.20.2",
|
116
116
|
"@babel/runtime-corejs3": "^7.20.7",
|
117
117
|
"@deque/dot": "^1.1.5",
|
118
|
-
"aria-practices": "github:w3c/aria-practices#
|
118
|
+
"aria-practices": "github:w3c/aria-practices#ce0336bd82d7d3651abcbde86af644197ddbc629",
|
119
119
|
"aria-query": "^5.1.3",
|
120
120
|
"browser-driver-manager": "1.0.4",
|
121
121
|
"chai": "^4.3.7",
|
@@ -174,7 +174,7 @@
|
|
174
174
|
"typedarray": "^0.0.7",
|
175
175
|
"typescript": "^4.9.4",
|
176
176
|
"uglify-js": "^3.17.4",
|
177
|
-
"wcag-act-rules": "github:w3c/wcag-act-rules#
|
177
|
+
"wcag-act-rules": "github:w3c/wcag-act-rules#2341a1b",
|
178
178
|
"weakmap-polyfill": "^2.0.4"
|
179
179
|
},
|
180
180
|
"lint-staged": {
|
@@ -338,5 +338,9 @@
|
|
338
338
|
"4.6.3": {
|
339
339
|
"axe.js": "sha256-N8N7PwDRFNyzsL80UoXAE5ibkfu/KJ71Ixw0zWYX+yM=",
|
340
340
|
"axe.min.js": "sha256-vOhlk9sgryrpUZOv6801a9uYhuG6Z/NBJmOJb0aAQQQ="
|
341
|
+
},
|
342
|
+
"4.7.0": {
|
343
|
+
"axe.js": "sha256-JxLtVRh3EvdwPhr6ipXNnoN2ugUYvpwIAx4usr5jKcU=",
|
344
|
+
"axe.min.js": "sha256-q5YvHv5paIlrWyys5xKDb79XtmXYpiAHFVZcg61Qick="
|
341
345
|
}
|
342
346
|
}
|
@@ -36,9 +36,9 @@ imports) if you want to override GOV.UK Frontend with your own styles.
|
|
36
36
|
|
37
37
|
To import add the below to your Sass file:
|
38
38
|
|
39
|
-
|
40
|
-
|
41
|
-
|
39
|
+
```scss
|
40
|
+
@import "node_modules/govuk-frontend/govuk/all";
|
41
|
+
```
|
42
42
|
|
43
43
|
[More details on importing styles](https://frontend.design-system.service.gov.uk/importing-css-assets-and-javascript/#css)
|
44
44
|
|
@@ -53,6 +53,7 @@ You can include Javascript for all components either by copying the `all.js` fro
|
|
53
53
|
```html
|
54
54
|
<script src="<path-to-govuk-frontend-all-file>/all.js"></script>
|
55
55
|
```
|
56
|
+
|
56
57
|
Next you need to initialise the script by adding:
|
57
58
|
|
58
59
|
```html
|
@@ -61,14 +62,12 @@ Next you need to initialise the script by adding:
|
|
61
62
|
|
62
63
|
[More details on importing Javascript and advanced options](https://frontend.design-system.service.gov.uk/importing-css-assets-and-javascript/#javascript)
|
63
64
|
|
64
|
-
|
65
65
|
## Importing assets
|
66
66
|
|
67
67
|
In order to import GOV.UK Frontend images and fonts to your project, you should configure your application to reference or copy the relevant GOV.UK Frontend assets.
|
68
68
|
|
69
69
|
[More details on importing assets](https://frontend.design-system.service.gov.uk/importing-css-assets-and-javascript/#font-and-image-assets)
|
70
70
|
|
71
|
-
|
72
71
|
## Getting updates
|
73
72
|
|
74
73
|
To be notified when there’s a new release, you can either:
|
@@ -1,3 +1,11 @@
|
|
1
|
+
// Ignore IE8 related warnings whilst we continue to generate IE8 specific
|
2
|
+
// stylesheets for the review app or dist versions of GOV.UK Frontend
|
3
|
+
$govuk-suppressed-warnings: if(
|
4
|
+
variable-exists(govuk-suppressed-warnings),
|
5
|
+
append($govuk-suppressed-warnings, "ie8"),
|
6
|
+
("ie8")
|
7
|
+
);
|
8
|
+
|
1
9
|
// By setting $govuk-is-ie8 to true, we create a version of the stylesheet that
|
2
10
|
// targets IE8 – e.g. conditionally including or excluding styles, and
|
3
11
|
// rasterizing media queries.
|