content_block_tools 0.17.0 → 1.0.1
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/app/assets/stylesheets/blocks/_contact.scss +13 -0
- data/app/assets/stylesheets/content_block_tools.scss +24 -0
- data/lib/content_block_tools/engine.rb +16 -0
- data/lib/content_block_tools/presenters/block_presenters/contact/address_presenter.rb +1 -7
- data/lib/content_block_tools/presenters/block_presenters/contact/block_level_contact_item.rb +10 -16
- data/lib/content_block_tools/presenters/block_presenters/contact/contact_link_presenter.rb +6 -4
- data/lib/content_block_tools/presenters/block_presenters/contact/email_address_presenter.rb +10 -4
- data/lib/content_block_tools/presenters/block_presenters/contact/telephone_presenter.rb +9 -26
- data/lib/content_block_tools/presenters/contact_presenter.rb +6 -10
- data/lib/content_block_tools/version.rb +1 -1
- data/lib/content_block_tools.rb +2 -8
- data/node_modules/govuk-frontend/README.md +92 -0
- data/node_modules/govuk-frontend/dist/govuk/_base.scss +5 -0
- data/node_modules/govuk-frontend/dist/govuk/_base.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.js +2847 -0
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.js.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs +2820 -0
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/all.mjs +20 -0
- data/node_modules/govuk-frontend/dist/govuk/all.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/all.scss +9 -0
- data/node_modules/govuk-frontend/dist/govuk/all.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/fonts/bold-affa96571d-v2.woff +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/fonts/bold-b542beb274-v2.woff2 +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/fonts/light-94a07e06a1-v2.woff2 +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/fonts/light-f591b13f7d-v2.woff +0 -0
- 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 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-crest.svg +1 -0
- 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-icon-mask.svg +1 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-opengraph-image.png +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/manifest.json +39 -0
- 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 +1 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-crest.svg +1 -0
- 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 +1 -0
- 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 +39 -0
- data/node_modules/govuk-frontend/dist/govuk/common/closest-attribute-value.mjs +7 -0
- data/node_modules/govuk-frontend/dist/govuk/common/closest-attribute-value.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/common/configuration.mjs +169 -0
- data/node_modules/govuk-frontend/dist/govuk/common/configuration.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs +4 -0
- data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/common/index.mjs +76 -0
- data/node_modules/govuk-frontend/dist/govuk/common/index.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/component.mjs +60 -0
- data/node_modules/govuk-frontend/dist/govuk/component.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/_all.scss +10 -0
- data/node_modules/govuk-frontend/dist/govuk/components/_all.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/_index.scss +40 -0
- data/node_modules/govuk-frontend/dist/govuk/components/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/_accordion.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/_accordion.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss +370 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js +830 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs +822 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.mjs +346 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/fixtures.json +377 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/macro-options.json +142 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/template-default.html +30 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/template-with-additional-descriptions.html +39 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/template-with-all-sections-already-open.html +30 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/template-with-long-content-and-description.html +36 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/template.njk +67 -0
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/_back-link.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/_back-link.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.scss +83 -0
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/fixtures.json +86 -0
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/macro-options.json +32 -0
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/template-default.html +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/template-inverse.html +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/template.njk +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_breadcrumbs.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_breadcrumbs.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss +134 -0
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/fixtures.json +258 -0
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/macro-options.json +58 -0
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-default.html +16 -0
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-inverse.html +11 -0
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-with-collapse-on-mobile.html +13 -0
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-with-last-breadcrumb-as-current-page.html +11 -0
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-with-one-level.html +7 -0
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-without-the-home-section.html +10 -0
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template.njk +30 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/_button.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/_button.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss +262 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.js +363 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.js.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.mjs +355 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.mjs +70 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/fixtures.json +368 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/macro-options.json +81 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-default.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-disabled.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-input.html +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-inverse.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-link.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-secondary.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-start.html +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-warning.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template.njk +58 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/_character-count.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/_character-count.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss +44 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js +806 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs +798 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs +299 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/fixtures.json +463 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/macro-options.json +199 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-default.html +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-custom-rows.html +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-default-value-exceeding-limit.html +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-default-value.html +12 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-hint-and-error.html +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-hint.html +12 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-label-as-page-heading.html +11 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-threshold.html +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-word-count.html +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template.njk +121 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_checkboxes.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_checkboxes.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss +311 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.js +248 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.js.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.mjs +240 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.mjs +111 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/fixtures.json +1339 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/macro-options.json +229 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-default.html +27 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-conditional-reveal.html +25 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-divider-and-none.html +34 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-error.html +30 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-hint.html +30 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-long-text.html +27 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small.html +27 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-conditional-items.html +39 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-divider-and-none.html +34 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-divider-none-and-conditional-items.html +44 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-error-message.html +39 -0
- 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 +27 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-legend-as-a-page-heading.html +32 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-optional-form-group-classes-showing-group-error.html +40 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-pre-checked-values.html +39 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-very-long-option-text.html +30 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template.njk +122 -0
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_cookie-banner.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_cookie-banner.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss +59 -0
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/fixtures.json +543 -0
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/macro-options.json +132 -0
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-accepted-confirmation-banner.html +19 -0
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-default.html +26 -0
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-rejected-confirmation-banner.html +19 -0
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-with-html.html +27 -0
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template.njk +57 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/_date-input.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/_date-input.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/_index.scss +28 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/fixtures.json +672 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/macro-options.json +163 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-day-and-month.html +28 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-default.html +36 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-month-and-year.html +28 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-on-day-input.html +39 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-on-month-input.html +39 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-on-year-input.html +39 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-errors-and-hint.html +39 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-errors-only.html +36 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-items.html +36 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template.njk +106 -0
- data/node_modules/govuk-frontend/dist/govuk/components/details/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/details/_details.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/details/_details.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss +139 -0
- data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/details/fixtures.json +133 -0
- data/node_modules/govuk-frontend/dist/govuk/components/details/implementation.md +87 -0
- data/node_modules/govuk-frontend/dist/govuk/components/details/macro-options.json +56 -0
- data/node_modules/govuk-frontend/dist/govuk/components/details/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/details/template-default.html +10 -0
- data/node_modules/govuk-frontend/dist/govuk/components/details/template-expanded.html +10 -0
- data/node_modules/govuk-frontend/dist/govuk/components/details/template-with-html.html +18 -0
- data/node_modules/govuk-frontend/dist/govuk/components/details/template.njk +14 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/_error-message.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/_error-message.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/_index.scss +14 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/fixtures.json +113 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json +38 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/template-default.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/template-translated.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/template.njk +13 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_error-summary.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_error-summary.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss +56 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.js +423 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.js.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.mjs +415 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.mjs +101 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/fixtures.json +326 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/macro-options.json +82 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-default.html +17 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-mixed-with-and-without-links.html +17 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-with-description-only.html +12 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-with-everything.html +20 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-without-links.html +14 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template.njk +37 -0
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_exit-this-page.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_exit-this-page.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_index.scss +92 -0
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js +707 -0
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs +699 -0
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.mjs +223 -0
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/fixtures.json +62 -0
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/macro-options.json +62 -0
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/template-default.html +5 -0
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/template.njk +25 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_fieldset.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_fieldset.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_index.scss +69 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/fixtures.json +260 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/macro-options.json +70 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-as-page-heading-l.html +7 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-as-page-heading-m.html +7 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-as-page-heading-s.html +7 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-as-page-heading-without-class.html +7 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-as-page-heading-xl.html +7 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-default.html +5 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-styled-as-large-text.html +5 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-styled-as-medium-text.html +5 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-styled-as-small-text.html +5 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-styled-as-xl-text.html +5 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template.njk +24 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_file-upload.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_file-upload.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss +218 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.js +744 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.js.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.mjs +736 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.mjs +257 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/fixtures.json +378 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/macro-options.json +174 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-default.html +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-enhanced-with-error-message-and-hint.html +16 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-enhanced.html +10 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-translated.html +10 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-with-error-message-and-hint.html +12 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-with-hint-text.html +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-with-label-as-page-heading.html +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template.njk +90 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_footer.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_footer.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss +194 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/fixtures.json +712 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/macro-options.json +170 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-default.html +38 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-full-gds-example.html +212 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-three-equal-columns.html +146 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-html-content-licence-and-copyright-notice.html +33 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-meta.html +42 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-text-content-licence-and-copyright-notice.html +33 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-one-column.html +76 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-two-columns.html +76 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-meta-links-and-meta-content.html +84 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-navigation.html +96 -0
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template.njk +107 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/_header.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/_header.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss +548 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/fixtures.json +602 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js +233 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs +225 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs +89 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/macro-options.json +131 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-default.html +29 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width-with-navigation.html +54 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width.html +29 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-html.html +54 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-text-without-link.html +48 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-custom-menu-button-text.html +59 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-full-width-border.html +29 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-large-navigation.html +119 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-navigation.html +59 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-product-name.html +30 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name-and-navigation.html +62 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name-but-no-service-url.html +34 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name.html +34 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-st-edwards-crown.html +19 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/template.njk +66 -0
- data/node_modules/govuk-frontend/dist/govuk/components/hint/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/hint/_hint.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/hint/_hint.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/hint/_index.scss +45 -0
- data/node_modules/govuk-frontend/dist/govuk/components/hint/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/hint/fixtures.json +77 -0
- data/node_modules/govuk-frontend/dist/govuk/components/hint/macro-options.json +32 -0
- data/node_modules/govuk-frontend/dist/govuk/components/hint/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/hint/template-default.html +5 -0
- data/node_modules/govuk-frontend/dist/govuk/components/hint/template-with-html.html +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/hint/template.njk +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss +168 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/_input.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/_input.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/fixtures.json +830 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/macro-options.json +245 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-default.html +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-error-and-hint.html +12 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-error-message.html +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-extra-letter-spacing.html +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-hint-text.html +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-label-as-page-heading.html +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-prefix-and-suffix-and-error.html +13 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-prefix-and-suffix-and-width-modifier.html +10 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-prefix-and-suffix.html +10 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-prefix.html +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-suffix.html +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-10-class.html +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-2-class.html +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-20-class.html +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-3-class.html +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-30-class.html +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-4-class.html +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-5-class.html +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/template.njk +133 -0
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.scss +26 -0
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_inset-text.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_inset-text.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/fixtures.json +76 -0
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/macro-options.json +38 -0
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/template-default.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/template-with-html.html +11 -0
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/template.njk +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/_index.scss +46 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/_label.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/_label.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/fixtures.json +210 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json +38 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/template-as-page-heading-l.html +5 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/template-as-page-heading-m.html +5 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/template-as-page-heading-s.html +5 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/template-as-page-heading-without-class.html +5 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/template-as-page-heading-xl.html +5 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/template-default.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/template-styled-as-large-text.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/template-styled-as-medium-text.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/template-styled-as-small-text.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/template-styled-as-xl-text.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/template-with-bold-text.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/template.njk +19 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss +93 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_notification-banner.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_notification-banner.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/fixtures.json +260 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/macro-options.json +74 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.js +365 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.js.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.mjs +357 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.mjs +49 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-default.html +12 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-long-heading.html +12 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-lots-of-content.html +19 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-text-as-html.html +21 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-type-as-success.html +12 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template.njk +49 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss +228 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/_pagination.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/_pagination.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/fixtures.json +393 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/macro-options.json +140 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-default.html +39 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-first-page.html +29 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-last-page.html +29 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-custom-link-and-item-text.html +39 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-many-pages.html +65 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-next-only.html +12 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-prev-and-next-only-and-labels.html +26 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-prev-and-next-only-and-very-long-labels.html +26 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-prev-and-next-only.html +22 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-previous-only.html +12 -0
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template.njk +85 -0
- data/node_modules/govuk-frontend/dist/govuk/components/panel/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss +58 -0
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_panel.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_panel.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/panel/fixtures.json +118 -0
- data/node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json +50 -0
- data/node_modules/govuk-frontend/dist/govuk/components/panel/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/panel/template-default.html +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/panel/template.njk +16 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/_index.scss +57 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/_password-input.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/_password-input.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/fixtures.json +215 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/macro-options.json +181 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js +638 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.mjs +630 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.mjs +150 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-default.html +11 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-error-message.html +17 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-hint-text.html +14 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-input-width-class.html +11 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-label-as-page-heading.html +13 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/template.njk +93 -0
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss +36 -0
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_phase-banner.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_phase-banner.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/fixtures.json +97 -0
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/macro-options.json +33 -0
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/template-default.html +10 -0
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/template.njk +17 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss +328 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_radios.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_radios.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/fixtures.json +1334 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/macro-options.json +211 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.js +225 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.js.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.mjs +217 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.mjs +88 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-default.html +21 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-inline.html +24 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-inline.html +27 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-a-divider.html +28 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-conditional-reveal.html +31 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-error.html +30 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-hint.html +30 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-long-text.html +27 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small.html +27 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-a-divider.html +28 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-item-checked.html +39 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-items-and-pre-checked-value.html +39 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-items.html +39 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-fieldset-and-error-message.html +24 -0
- 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 +29 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-legend-as-page-heading.html +26 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-optional-form-group-classes-showing-group-error.html +40 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-very-long-option-text.html +33 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-without-fieldset.html +22 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template.njk +115 -0
- data/node_modules/govuk-frontend/dist/govuk/components/select/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss +59 -0
- data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/select/_select.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/select/_select.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/select/fixtures.json +550 -0
- data/node_modules/govuk-frontend/dist/govuk/components/select/macro-options.json +163 -0
- data/node_modules/govuk-frontend/dist/govuk/components/select/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/select/template-default.html +10 -0
- data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-full-width-override.html +10 -0
- data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-hint-text-and-error-message.html +16 -0
- data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-label-as-page-heading.html +12 -0
- data/node_modules/govuk-frontend/dist/govuk/components/select/template.njk +68 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss +254 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_service-navigation.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_service-navigation.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/fixtures.json +651 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/macro-options.json +144 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.js +229 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.js.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.mjs +221 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.mjs +85 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-default.html +57 -0
- 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 +49 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-large-navigation.html +153 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-long-service-name.html +20 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-navigation-with-a-current-item.html +58 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-non-link-navigation-items.html +49 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-service-link.html +20 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-service-name-and-navigation.html +63 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-service-name.html +18 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template.njk +106 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss +52 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_skip-link.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_skip-link.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/fixtures.json +113 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/macro-options.json +32 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.js +224 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.js.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.mjs +216 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.mjs +58 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/template-default.html +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/template-with-focus.html +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/template.njk +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss +269 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_summary-list.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_summary-list.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/fixtures.json +1528 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/macro-options.json +248 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-extreme.html +106 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-a-html-header.html +28 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-a-text-header.html +28 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-actions-plus-summary-list-actions.html +49 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-actions.html +36 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-default.html +35 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-extreme.html +261 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-no-border-on-last-row.html +35 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-no-border.html +35 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-with-actions.html +58 -0
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template.njk +94 -0
- data/node_modules/govuk-frontend/dist/govuk/components/table/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss +75 -0
- data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/table/_table.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/table/_table.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/table/fixtures.json +651 -0
- data/node_modules/govuk-frontend/dist/govuk/components/table/macro-options.json +132 -0
- data/node_modules/govuk-frontend/dist/govuk/components/table/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/table/template-default.html +19 -0
- data/node_modules/govuk-frontend/dist/govuk/components/table/template-with-head-and-caption.html +27 -0
- data/node_modules/govuk-frontend/dist/govuk/components/table/template-with-head.html +26 -0
- data/node_modules/govuk-frontend/dist/govuk/components/table/template.njk +57 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss +134 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/_tabs.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/_tabs.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/fixtures.json +333 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/macro-options.json +84 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.js +433 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.js.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.mjs +425 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.mjs +283 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/template-default.html +117 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/template-tabs-with-anchor-in-panel.html +26 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/template.njk +48 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss +97 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/_tag.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/_tag.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/fixtures.json +161 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/macro-options.json +26 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/template-default.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/template-green.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/template-grey.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/template-light-blue.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/template-orange.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/template-pink.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/template-purple.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/template-red.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/template-turquoise.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/template-yellow.html +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/template.njk +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss +79 -0
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/_task-list.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/_task-list.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/fixtures.json +529 -0
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/macro-options.json +119 -0
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-default.html +37 -0
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-all-possible-colours.html +143 -0
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-empty-values.html +27 -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/task-list/template-with-very-long-single-word-tags.html +37 -0
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/template.njk +41 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss +50 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/_textarea.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/_textarea.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/fixtures.json +316 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/macro-options.json +143 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-default.html +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-custom-rows.html +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-default-value.html +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-error-message.html +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-hint.html +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-label-as-page-heading.html +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/template.njk +56 -0
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss +66 -0
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_warning-text.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_warning-text.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/fixtures.json +101 -0
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json +32 -0
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/template-default.html +7 -0
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/template-multiple-lines.html +7 -0
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/template.njk +10 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_all.scss +10 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_all.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_global-styles.scss +20 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_global-styles.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss +15 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_index.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_links.scss +42 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_links.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_lists.scss +67 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_lists.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_section-break.scss +51 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_section-break.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss +189 -0
- data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/errors/index.mjs +57 -0
- data/node_modules/govuk-frontend/dist/govuk/errors/index.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css +3 -0
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js +1 -0
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss +10 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_clearfix.scss +17 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_clearfix.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss +167 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_device-pixels.scss +38 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_device-pixels.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss +59 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_font-faces.scss +41 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_font-faces.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_grid.scss +63 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_grid.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_index.scss +14 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss +391 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_media-queries.scss +82 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_media-queries.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_shape-arrow.scss +82 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_shape-arrow.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_spacing.scss +173 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_spacing.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss +288 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_visually-hidden.scss +88 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_visually-hidden.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/i18n.mjs +195 -0
- data/node_modules/govuk-frontend/dist/govuk/i18n.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/index.scss +11 -0
- data/node_modules/govuk-frontend/dist/govuk/index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/init.mjs +166 -0
- data/node_modules/govuk-frontend/dist/govuk/init.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/macros/attributes.njk +94 -0
- data/node_modules/govuk-frontend/dist/govuk/macros/i18n.njk +21 -0
- data/node_modules/govuk-frontend/dist/govuk/macros/logo.njk +78 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_all.scss +10 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_all.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_button-group.scss +80 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_button-group.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_form-group.scss +25 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_form-group.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_grid.scss +26 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_grid.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_index.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_main-wrapper.scss +55 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_main-wrapper.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss +57 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_width-container.scss +77 -0
- data/node_modules/govuk-frontend/dist/govuk/objects/_width-container.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_all.scss +9 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_all.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_display.scss +26 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_display.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_index.scss +7 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_spacing.scss +86 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_spacing.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_text-align.scss +16 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_text-align.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss +42 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_width.scss +48 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_width.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss +10 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_assets.scss +84 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_assets.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-applied.scss +195 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-applied.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss +382 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-palette.scss +37 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-palette.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_global-styles.scss +15 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_global-styles.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss +36 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_links.scss +49 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_links.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_measurements.scss +107 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_measurements.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss +25 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_spacing.scss +78 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_spacing.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_typography-font.scss +52 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_typography-font.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss +317 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_warnings.scss +78 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_warnings.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/template.njk +69 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss +10 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_exports.scss +35 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_exports.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss +28 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_image-url.scss +28 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_image-url.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-em.scss +22 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-em.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss +22 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_rebrand.scss +65 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_rebrand.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss +10 -0
- data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/utilities/_clearfix.scss +7 -0
- data/node_modules/govuk-frontend/dist/govuk/utilities/_clearfix.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/utilities/_index.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/utilities/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/utilities/_visually-hidden.scss +11 -0
- data/node_modules/govuk-frontend/dist/govuk/utilities/_visually-hidden.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/vendor/_sass-mq.scss +349 -0
- data/node_modules/govuk-frontend/dist/govuk/vendor/_sass-mq.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk-prototype-kit/functions.js +25 -0
- data/node_modules/govuk-frontend/dist/govuk-prototype-kit/init.js +15 -0
- data/node_modules/govuk-frontend/dist/govuk-prototype-kit/init.scss +13 -0
- data/node_modules/govuk-frontend/dist/govuk-prototype-kit/init.scss.map +1 -0
- data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +179 -0
- data/node_modules/govuk-frontend/package.json +92 -0
- metadata +852 -17
- data/.github/dependabot.yml +0 -10
- data/.github/pull_request_template.md +0 -1
- data/.github/workflows/actionlint.yml +0 -12
- data/.github/workflows/autorelease.yml +0 -12
- data/.github/workflows/ci.yml +0 -55
- data/.gitignore +0 -19
- data/.rspec +0 -3
- data/.rubocop.yml +0 -3
- data/.ruby-version +0 -1
- data/CHANGELOG.md +0 -163
- data/Gemfile +0 -7
- data/LICENSE.txt +0 -19
- data/Rakefile +0 -10
- data/bin/console +0 -15
- data/bin/setup +0 -8
- data/content_block_tools.gemspec +0 -35
@@ -0,0 +1,78 @@
|
|
1
|
+
{#- This macro is for interal use within GOV.UK Frontend. It isn't intended for
|
2
|
+
external use and may receive undocumented breaking changes in non-breaking
|
3
|
+
releases of Frontend. #}
|
4
|
+
|
5
|
+
{% from "./attributes.njk" import govukAttributes %}
|
6
|
+
|
7
|
+
{% macro govukLogo(params) %}
|
8
|
+
{#- Default options #}
|
9
|
+
{%- set rebrand = params.rebrand | default(false) %}
|
10
|
+
{%- set useLogotype = params.useLogotype | default(true) %}
|
11
|
+
{%- set useTudorCrown = params.useTudorCrown | default(true) %}
|
12
|
+
|
13
|
+
{# Force use of Tudor Crown if rebrand flag is on. #}
|
14
|
+
{%- set useTudorCrown = true if rebrand else useTudorCrown %}
|
15
|
+
|
16
|
+
{#- Calculate how wide the logo needs to be for the given parameters. #}
|
17
|
+
{%- set svgWidth = 32 if useTudorCrown else 36 %}
|
18
|
+
{%- set svgWidth = svgWidth + 116 if (useLogotype and not rebrand) else svgWidth %}
|
19
|
+
{%- set svgWidth = svgWidth + 130 if (useLogotype and rebrand) else svgWidth %}
|
20
|
+
|
21
|
+
{#- Charles III's Tudor Crown icon has been the default since February 2024. #}
|
22
|
+
{%- set _tudorCrown %}
|
23
|
+
<g>
|
24
|
+
<circle cx="20" cy="17.6" r="3.7"/>
|
25
|
+
<circle cx="10.2" cy="23.5" r="3.7"/>
|
26
|
+
<circle cx="3.7" cy="33.2" r="3.7"/>
|
27
|
+
<circle cx="31.7" cy="30.6" r="3.7"/>
|
28
|
+
<circle cx="43.3" cy="17.6" r="3.7"/>
|
29
|
+
<circle cx="53.2" cy="23.5" r="3.7"/>
|
30
|
+
<circle cx="59.7" cy="33.2" r="3.7"/>
|
31
|
+
<circle cx="31.7" cy="30.6" r="3.7"/>
|
32
|
+
<path d="M33.1,9.8c.2-.1.3-.3.5-.5l4.6,2.4v-6.8l-4.6,1.5c-.1-.2-.3-.3-.5-.5l1.9-5.9h-6.7l1.9,5.9c-.2.1-.3.3-.5.5l-4.6-1.5v6.8l4.6-2.4c.1.2.3.3.5.5l-2.6,8c-.9,2.8,1.2,5.7,4.1,5.7h0c3,0,5.1-2.9,4.1-5.7l-2.6-8ZM37,37.9s-3.4,3.8-4.1,6.1c2.2,0,4.2-.5,6.4-2.8l-.7,8.5c-2-2.8-4.4-4.1-5.7-3.8.1,3.1.5,6.7,5.8,7.2,3.7.3,6.7-1.5,7-3.8.4-2.6-2-4.3-3.7-1.6-1.4-4.5,2.4-6.1,4.9-3.2-1.9-4.5-1.8-7.7,2.4-10.9,3,4,2.6,7.3-1.2,11.1,2.4-1.3,6.2,0,4,4.6-1.2-2.8-3.7-2.2-4.2.2-.3,1.7.7,3.7,3,4.2,1.9.3,4.7-.9,7-5.9-1.3,0-2.4.7-3.9,1.7l2.4-8c.6,2.3,1.4,3.7,2.2,4.5.6-1.6.5-2.8,0-5.3l5,1.8c-2.6,3.6-5.2,8.7-7.3,17.5-7.4-1.1-15.7-1.7-24.5-1.7h0c-8.8,0-17.1.6-24.5,1.7-2.1-8.9-4.7-13.9-7.3-17.5l5-1.8c-.5,2.5-.6,3.7,0,5.3.8-.8,1.6-2.3,2.2-4.5l2.4,8c-1.5-1-2.6-1.7-3.9-1.7,2.3,5,5.2,6.2,7,5.9,2.3-.4,3.3-2.4,3-4.2-.5-2.4-3-3.1-4.2-.2-2.2-4.6,1.6-6,4-4.6-3.7-3.7-4.2-7.1-1.2-11.1,4.2,3.2,4.3,6.4,2.4,10.9,2.5-2.8,6.3-1.3,4.9,3.2-1.8-2.7-4.1-1-3.7,1.6.3,2.3,3.3,4.1,7,3.8,5.4-.5,5.7-4.2,5.8-7.2-1.3-.2-3.7,1-5.7,3.8l-.7-8.5c2.2,2.3,4.2,2.7,6.4,2.8-.7-2.3-4.1-6.1-4.1-6.1h10.6,0Z"/>
|
33
|
+
</g>
|
34
|
+
{%- endset %}
|
35
|
+
|
36
|
+
{#- St. Edward's Crown was the logo under Elizabeth II. It's included to avoid
|
37
|
+
a breaking change in services. It can be removed in Frontend v6. #}
|
38
|
+
{%- set _stEdwardsCrown %}
|
39
|
+
<path d="M13.4,22.3c2,.8,4.2-.2,5-2s-.2-4.2-2-5c-2-.8-4.2.2-5,2-.8,2,0,4.2,2,5M4.8,27.3c2,.8,4.2-.2,5-2s-.2-4.2-2-5c-2-.8-4.2.2-5,2-1,2,0,4.2,2,5M2.2,36.9c2,.8,4.2-.2,5-2,.8-2-.2-4.2-2-5-2-.8-4.2.2-5,2-.8,2,0,4.2,2,5M23,25.3c2,.8,4.2-.2,5-2s-.2-4.2-2-5c-2-.8-4.2.2-5,2s0,4.2,2,5M57.8,22.3c-2,.8-4.2-.2-5-2s.2-4.2,2-5c2-.8,4.2.2,5,2,1,2,0,4.2-2,5M66.4,27.3c-2,.8-4.2-.2-5-2s.2-4.2,2-5c2-.8,4.2.2,5,2,1,2,0,4.2-2,5M69,36.9c-2,.8-4.2-.2-5-2-.8-2,.2-4.2,2-5,2-.8,4.2.2,5,2,.8,2,0,4.2-2,5M48.2,25.3c-2,.8-4.2-.2-5-2s.2-4.2,2-5c2-.8,4.2.2,5,2s0,4.2-2,5M37.6,15.5l4.8,2.6v-7.2l-4.8,1.6c-.2-.2-.2-.4-.4-.4s2-6,2-6h-6.8l2,6c-.2.2-.4.2-.4.4-.2.2-4.8-1.4-4.8-1.4v7l4.8-2.6c-.2.2,0,.4.2.6l-2.8,8.4c-.2.4-.2.8-.2,1.4,0,2.2,1.6,4.2,3.8,4.4h1.2c2.2-.4,3.8-2.2,3.8-4.4s0-.8-.2-1.4l-2.8-8.4c.4-.2.6-.4.6-.6M35.6,56.1c9.2,0,17.8.6,25.6,1.8,2.2-9.2,4.8-14.4,7.6-18.2l-5.2-1.8c.6,2.6.6,3.8,0,5.6-.8-.8-1.6-2.4-2.2-4.8l-2.4,8.4c1.6-1,2.8-1.8,4-1.8-2.4,5.2-5.4,6.4-7.2,6-2.4-.4-3.4-2.6-3-4.4.6-2.6,3.2-3.2,4.4-.2,2.4-4.8-1.6-6.2-4.2-4.8,3.8-3.8,4.4-7.2,1.2-11.4-4.4,3.4-4.4,6.6-2.4,11.2-2.6-3-6.6-1.4-5,3.4,1.8-2.8,4.2-1,4,1.6-.4,2.4-3.4,4.2-7.4,4-5.6-.4-6-4.4-6-7.4,1.4-.2,3.8,1,6,4l.8-8.8c-2.2,2.4-4.4,2.8-6.6,2.8.8-2.4,4.2-6.2,4.2-6.2h-11s3.6,4,4.2,6.2c-2.2,0-4.4-.6-6.6-2.8l.8,8.8c2.2-3,4.6-4.2,6-4-.2,3.2-.4,7-6,7.4-3.8.4-7-1.6-7.4-4-.4-2.6,2-4.4,3.8-1.6,1.4-4.8-2.6-6.2-5.2-3.4,2-4.6,2-8-2.4-11.2-3.2,4.2-2.6,7.6,1.2,11.4-2.6-1.4-6.4,0-4.2,4.8,1.2-3,3.8-2.2,4.4.2.4,1.8-.8,3.8-3,4.4-2,.4-5-1-7.4-6,1.4,0,2.6.8,4,1.8l-3-8.4c-.6,2.4-1.4,3.8-2.4,4.8-.6-1.6-.4-3,0-5.6l-5.2,1.8c3,3.8,5.6,9,7.8,18.2,7.6-1,16.4-1.8,25.4-1.8"/>
|
40
|
+
{%- endset %}
|
41
|
+
|
42
|
+
{#- The GOV.UK logotype with standard dot. This needs to be slightly offset if
|
43
|
+
using the St. Edward's Crown, as that crown is wider. #}
|
44
|
+
{%- set _logotype %}
|
45
|
+
<path {%- if not useTudorCrown %} transform="translate(8 0)"{% endif %} d="M88.6,33.2c0,1.8.2,3.4.6,5s1.2,3,2,4.4c1,1.2,2,2.2,3.4,3s3,1.2,5,1.2,3.4-.2,4.6-.8,2.2-1.4,3-2.2,1.2-1.8,1.6-3c.2-1,.4-2,.4-3v-.4h-10.6v-6.4h18.8v23h-7.4v-5c-.6.8-1.2,1.6-2,2.2-.8.6-1.6,1.2-2.6,1.8-1,.4-2,.8-3.2,1.2s-2.4.4-3.6.4c-3,0-5.8-.6-8-1.6-2.4-1.2-4.4-2.6-6-4.6s-2.8-4.2-3.6-6.8c-.6-2.8-1-5.6-1-8.6s.4-5.8,1.4-8.4,2.2-4.8,4-6.8,3.8-3.4,6.2-4.6c2.4-1.2,5.2-1.6,8.2-1.6s3.8.2,5.6.6c1.8.4,3.4,1.2,4.8,2s2.8,1.8,3.8,3c1.2,1.2,2,2.6,2.8,4l-7.4,4.2c-.4-.8-1-1.8-1.6-2.4-.6-.8-1.2-1.4-2-2s-1.6-1-2.6-1.4-2.2-.4-3.4-.4c-2,0-3.6.4-5,1.2-1.4.8-2.6,1.8-3.4,3-1,1.2-1.6,2.8-2,4.4-.6,1.6-.8,3.8-.8,5.4ZM161.4,24.6c-.8-2.6-2.2-4.8-4-6.8s-3.8-3.4-6.2-4.6c-2.4-1.2-5.2-1.6-8.4-1.6s-5.8.6-8.4,1.6c-2.2,1.2-4.4,2.8-6,4.6-1.8,2-3,4.2-4,6.8-.8,2.6-1.4,5.4-1.4,8.4s.4,5.8,1.4,8.4c.8,2.6,2.2,4.8,4,6.8s3.8,3.4,6.2,4.6c2.4,1.2,5.2,1.6,8.4,1.6s5.8-.6,8.4-1.6c2.4-1.2,4.6-2.6,6.2-4.6,1.8-2,3-4.2,4-6.8.8-2.6,1.4-5.4,1.4-8.4-.2-3-.6-5.8-1.6-8.4h0ZM154,33.2c0,2-.2,3.8-.8,5.4-.4,1.6-1.2,3.2-2.2,4.4s-2.2,2.2-3.4,2.8c-1.4.6-3,1-4.8,1s-3.4-.4-4.8-1-2.6-1.6-3.4-2.8c-1-1.2-1.6-2.6-2.2-4.4-.4-1.6-.8-3.4-.8-5.4v-.2c0-2,.2-3.8.8-5.4.4-1.6,1.2-3.2,2.2-4.4,1-1.2,2.2-2.2,3.4-2.8,1.4-.6,3-1,4.8-1s3.4.4,4.8,1,2.6,1.6,3.4,2.8c1,1.2,1.6,2.6,2.2,4.4.4,1.6.8,3.4.8,5.4v.2ZM177.8,54l-11.8-42h9.4l8,31.4h.2l8-31.4h9.4l-11.8,42h-11.4,0ZM235.4,46.7c1.2,0,2.4-.2,3.4-.6,1-.4,2-.8,2.8-1.6s1.4-1.6,1.8-2.8c.4-1.2.6-2.4.6-4V11.8h8.2v27.2c0,2.4-.4,4.4-1.2,6.2s-2,3.4-3.6,4.8c-1.4,1.4-3.2,2.4-5.4,3-2,.8-4.4,1-6.8,1s-4.8-.4-6.8-1c-2-.8-3.8-1.8-5.4-3-1.6-1.4-2.6-3-3.6-4.8-.8-1.8-1.2-4-1.2-6.2V11.7h8.4v26c0,1.6.2,2.8.6,4,.4,1.2,1,2,1.8,2.8s1.6,1.2,2.8,1.6c1.2.4,2.2.6,3.6.6h0ZM261.4,11.9h8.4v18.2l14.8-18.2h10.4l-14.4,16.8,15.4,25.2h-9.8l-11-18.8-5.4,6v12.8h-8.4V11.9h0ZM206.2,44.2c-3,0-5.4,2.4-5.4,5.4s2.4,5.4,5.4,5.4,5.4-2.4,5.4-5.4-2.4-5.4-5.4-5.4Z"/>
|
46
|
+
{%- endset %}
|
47
|
+
|
48
|
+
{#- The GOV.UK logotype with raised and coloured dot. This is only intended for
|
49
|
+
use alongide the Tudor Crown, so don't bother with offsetting for the
|
50
|
+
St. Edward's Crown. #}
|
51
|
+
{%- set _dotLogotype %}
|
52
|
+
<circle class="govuk-logo-dot" cx="226" cy="36" r="7.3"/>
|
53
|
+
<path d="M93.94 41.25c.4 1.81 1.2 3.21 2.21 4.62 1 1.4 2.21 2.41 3.61 3.21s3.21 1.2 5.22 1.2 3.61-.4 4.82-1c1.4-.6 2.41-1.4 3.21-2.41.8-1 1.4-2.01 1.61-3.01s.4-2.01.4-3.01v.14h-10.86v-7.02h20.07v24.08h-8.03v-5.56c-.6.8-1.38 1.61-2.19 2.41-.8.8-1.81 1.2-2.81 1.81-1 .4-2.21.8-3.41 1.2s-2.41.4-3.81.4a18.56 18.56 0 0 1-14.65-6.63c-1.6-2.01-3.01-4.41-3.81-7.02s-1.4-5.62-1.4-8.83.4-6.02 1.4-8.83a20.45 20.45 0 0 1 19.46-13.65c3.21 0 4.01.2 5.82.8 1.81.4 3.61 1.2 5.02 2.01 1.61.8 2.81 2.01 4.01 3.21s2.21 2.61 2.81 4.21l-7.63 4.41c-.4-1-1-1.81-1.61-2.61-.6-.8-1.4-1.4-2.21-2.01-.8-.6-1.81-1-2.81-1.4-1-.4-2.21-.4-3.61-.4-2.01 0-3.81.4-5.22 1.2-1.4.8-2.61 1.81-3.61 3.21s-1.61 2.81-2.21 4.62c-.4 1.81-.6 3.71-.6 5.42s.8 5.22.8 5.22Zm57.8-27.9c3.21 0 6.22.6 8.63 1.81 2.41 1.2 4.82 2.81 6.62 4.82S170.2 24.39 171 27s1.4 5.62 1.4 8.83-.4 6.02-1.4 8.83-2.41 5.02-4.01 7.02-4.01 3.61-6.62 4.82-5.42 1.81-8.63 1.81-6.22-.6-8.63-1.81-4.82-2.81-6.42-4.82-3.21-4.41-4.01-7.02-1.4-5.62-1.4-8.83.4-6.02 1.4-8.83 2.41-5.02 4.01-7.02 4.01-3.61 6.42-4.82 5.42-1.81 8.63-1.81Zm0 36.73c1.81 0 3.61-.4 5.02-1s2.61-1.81 3.61-3.01 1.81-2.81 2.21-4.41c.4-1.81.8-3.61.8-5.62 0-2.21-.2-4.21-.8-6.02s-1.2-3.21-2.21-4.62c-1-1.2-2.21-2.21-3.61-3.01s-3.21-1-5.02-1-3.61.4-5.02 1c-1.4.8-2.61 1.81-3.61 3.01s-1.81 2.81-2.21 4.62c-.4 1.81-.8 3.61-.8 5.62 0 2.41.2 4.21.8 6.02.4 1.81 1.2 3.21 2.21 4.41s2.21 2.21 3.61 3.01c1.4.8 3.21 1 5.02 1Zm36.32 7.96-12.24-44.15h9.83l8.43 32.77h.4l8.23-32.77h9.83L200.3 58.04h-12.24Zm74.14-7.96c2.18 0 3.51-.6 3.51-.6 1.2-.6 2.01-1 2.81-1.81s1.4-1.81 1.81-2.81a13 13 0 0 0 .8-4.01V13.9h8.63v28.15c0 2.41-.4 4.62-1.4 6.62-.8 2.01-2.21 3.61-3.61 5.02s-3.41 2.41-5.62 3.21-4.62 1.2-7.02 1.2-5.02-.4-7.02-1.2c-2.21-.8-4.01-1.81-5.62-3.21s-2.81-3.01-3.61-5.02-1.4-4.21-1.4-6.62V13.9h8.63v26.95c0 1.61.2 3.01.8 4.01.4 1.2 1.2 2.21 2.01 2.81.8.8 1.81 1.4 2.81 1.81 0 0 1.34.6 3.51.6Zm34.22-36.18v18.92l15.65-18.92h10.82l-15.03 17.32 16.03 26.83h-10.21l-11.44-20.21-5.62 6.22v13.99h-8.83V13.9"/>
|
54
|
+
{%- endset %}
|
55
|
+
|
56
|
+
{#- The SVG needs `focusable="false"` so that Internet Explorer does not treat
|
57
|
+
it as an interactive element - without this it will be 'focusable' when using
|
58
|
+
the keyboard to navigate. #}
|
59
|
+
<svg
|
60
|
+
focusable="false"
|
61
|
+
role="{{ "img" if params.ariaLabelText else "presentation" }}"
|
62
|
+
xmlns="http://www.w3.org/2000/svg"
|
63
|
+
{#- The viewbox is 2x the actual display dimensions #}
|
64
|
+
viewBox="0 0 {{ svgWidth * 2 }} 60"
|
65
|
+
height="30"
|
66
|
+
width="{{ svgWidth }}"
|
67
|
+
fill="currentcolor"
|
68
|
+
{%- if params.classes %} class="{{ params.classes }}"{% endif %}
|
69
|
+
{%- if params.ariaLabelText %} aria-label="{{ params.ariaLabelText }}"{% endif %}
|
70
|
+
{{- govukAttributes(params.attributes) }}
|
71
|
+
>
|
72
|
+
{%- if params.ariaLabelText %}<title>{{ params.ariaLabelText }}</title>{% endif %}
|
73
|
+
{{ (_stEdwardsCrown if not useTudorCrown else _tudorCrown) | safe | trim | indent(2) }}
|
74
|
+
{% if useLogotype %}
|
75
|
+
{{ (_dotLogotype if rebrand else _logotype) | safe | trim | indent(2) }}
|
76
|
+
{% endif %}
|
77
|
+
</svg>
|
78
|
+
{% endmacro %}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
@import "../settings/warnings";
|
2
|
+
@import "index";
|
3
|
+
|
4
|
+
@include _warning(
|
5
|
+
"import-using-all",
|
6
|
+
"Importing using 'govuk/objects/all' is deprecated. Update your import statement to import 'govuk/objects/index'.",
|
7
|
+
$silence-further-warnings: false
|
8
|
+
);
|
9
|
+
|
10
|
+
/*# sourceMappingURL=_all.scss.map */
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/govuk/objects/_all.scss"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,eAAe;;AAEf;;;;CAIC","file":"_all.scss","sourcesContent":["@import \"../settings/warnings\";\n@import \"index\";\n\n@include _warning(\n \"import-using-all\",\n \"Importing using 'govuk/objects/all' is deprecated. Update your import statement to import 'govuk/objects/index'.\",\n $silence-further-warnings: false\n);\n"]}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
@import "../base";
|
2
|
+
|
3
|
+
@include govuk-exports("govuk/objects/button-group") {
|
4
|
+
// Button groups can be used to group buttons and links together as a group.
|
5
|
+
//
|
6
|
+
// Within a button group:
|
7
|
+
//
|
8
|
+
// - links are styled to line up visually with the buttons, including being
|
9
|
+
// centre-aligned on mobile
|
10
|
+
// - spacing between the buttons and links is handled automatically, including
|
11
|
+
// when they wrap across multiple lines
|
12
|
+
.govuk-button-group {
|
13
|
+
$horizontal-gap: govuk-spacing(3);
|
14
|
+
$vertical-gap: govuk-spacing(3);
|
15
|
+
|
16
|
+
// These need to be kept in sync with the button component's styles
|
17
|
+
$button-padding: govuk-spacing(2);
|
18
|
+
$button-shadow-size: $govuk-border-width-form-element;
|
19
|
+
|
20
|
+
$link-spacing: govuk-spacing(1);
|
21
|
+
|
22
|
+
@include govuk-responsive-margin(6, "bottom", $adjustment: $vertical-gap * -1);
|
23
|
+
|
24
|
+
// Flexbox is used to center-align links on mobile, align everything along
|
25
|
+
// the baseline on tablet and above, and to removes extra whitespace that
|
26
|
+
// we'd get between the buttons and links because they're inline-blocks.
|
27
|
+
//
|
28
|
+
// Ideally we'd use `gap` with flexbox rather than having to do it all with
|
29
|
+
// margins, but unfortunately the support isn't there (yet) and @supports
|
30
|
+
// doesn't play nicely with it
|
31
|
+
// (https://github.com/w3c/csswg-drafts/issues/3559)
|
32
|
+
display: flex;
|
33
|
+
flex-direction: column;
|
34
|
+
align-items: center;
|
35
|
+
|
36
|
+
// Give links within the button group the same font-size and line-height
|
37
|
+
// as buttons.
|
38
|
+
//
|
39
|
+
// Because we want the focus state to be tight around the link text, we use
|
40
|
+
// margins where the buttons would use padding.
|
41
|
+
.govuk-link {
|
42
|
+
@include govuk-font($size: 19, $line-height: 19px);
|
43
|
+
display: inline-block;
|
44
|
+
// Prevent links overflowing their container in IE10/11 because of bug
|
45
|
+
// with align-items: center
|
46
|
+
max-width: 100%;
|
47
|
+
margin-top: $link-spacing;
|
48
|
+
margin-bottom: $link-spacing + $vertical-gap;
|
49
|
+
text-align: center;
|
50
|
+
}
|
51
|
+
|
52
|
+
// Reduce the bottom margin to the size of the vertical gap (accommodating
|
53
|
+
// the button shadow) – the 'lost' margin is moved to the button-group.
|
54
|
+
.govuk-button {
|
55
|
+
margin-bottom: $vertical-gap + $button-shadow-size;
|
56
|
+
}
|
57
|
+
|
58
|
+
// On tablet and above, we also introduce a 'column gap' between the
|
59
|
+
// buttons and links in each row and left align links
|
60
|
+
@include govuk-media-query($from: tablet) {
|
61
|
+
// Cancel out the column gap for the last item in each row
|
62
|
+
margin-right: ($horizontal-gap * -1);
|
63
|
+
|
64
|
+
flex-direction: row;
|
65
|
+
flex-wrap: wrap;
|
66
|
+
align-items: baseline;
|
67
|
+
|
68
|
+
.govuk-button,
|
69
|
+
.govuk-link {
|
70
|
+
margin-right: $horizontal-gap;
|
71
|
+
}
|
72
|
+
|
73
|
+
.govuk-link {
|
74
|
+
text-align: left;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
/*# sourceMappingURL=_button-group.scss.map */
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/govuk/objects/_button-group.scss"],"names":[],"mappings":"AAAA,iBAAiB;;AAEjB;EACE,2EAA2E;EAC3E,CAAC;EACD,wBAAwB;EACxB,CAAC;EACD,0EAA0E;EAC1E,4BAA4B;EAC5B,6EAA6E;EAC7E,wCAAwC;EACxC;IACE,iCAAiC;IACjC,+BAA+B;;IAE/B,kEAAkE;IAClE,iCAAiC;IACjC,qDAAqD;;IAErD,+BAA+B;;IAE/B,8EAA8E;;IAE9E,yEAAyE;IACzE,wEAAwE;IACxE,uEAAuE;IACvE,CAAC;IACD,0EAA0E;IAC1E,wEAAwE;IACxE,6BAA6B;IAC7B,mDAAmD;IACnD,aAAa;IACb,sBAAsB;IACtB,mBAAmB;;IAEnB,uEAAuE;IACvE,aAAa;IACb,CAAC;IACD,0EAA0E;IAC1E,8CAA8C;IAC9C;MACE,kDAAkD;MAClD,qBAAqB;MACrB,qEAAqE;MACrE,0BAA0B;MAC1B,eAAe;MACf,yBAAyB;MACzB,4CAA4C;MAC5C,kBAAkB;IACpB;;IAEA,yEAAyE;IACzE,sEAAsE;IACtE;MACE,kDAAkD;IACpD;;IAEA,mEAAmE;IACnE,oDAAoD;IACpD;MACE,yDAAyD;MACzD,oCAAoC;;MAEpC,mBAAmB;MACnB,eAAe;MACf,qBAAqB;;MAErB;;QAEE,6BAA6B;MAC/B;;MAEA;QACE,gBAAgB;MAClB;IACF;EACF;AACF","file":"_button-group.scss","sourcesContent":["@import \"../base\";\n\n@include govuk-exports(\"govuk/objects/button-group\") {\n // Button groups can be used to group buttons and links together as a group.\n //\n // Within a button group:\n //\n // - links are styled to line up visually with the buttons, including being\n // centre-aligned on mobile\n // - spacing between the buttons and links is handled automatically, including\n // when they wrap across multiple lines\n .govuk-button-group {\n $horizontal-gap: govuk-spacing(3);\n $vertical-gap: govuk-spacing(3);\n\n // These need to be kept in sync with the button component's styles\n $button-padding: govuk-spacing(2);\n $button-shadow-size: $govuk-border-width-form-element;\n\n $link-spacing: govuk-spacing(1);\n\n @include govuk-responsive-margin(6, \"bottom\", $adjustment: $vertical-gap * -1);\n\n // Flexbox is used to center-align links on mobile, align everything along\n // the baseline on tablet and above, and to removes extra whitespace that\n // we'd get between the buttons and links because they're inline-blocks.\n //\n // Ideally we'd use `gap` with flexbox rather than having to do it all with\n // margins, but unfortunately the support isn't there (yet) and @supports\n // doesn't play nicely with it\n // (https://github.com/w3c/csswg-drafts/issues/3559)\n display: flex;\n flex-direction: column;\n align-items: center;\n\n // Give links within the button group the same font-size and line-height\n // as buttons.\n //\n // Because we want the focus state to be tight around the link text, we use\n // margins where the buttons would use padding.\n .govuk-link {\n @include govuk-font($size: 19, $line-height: 19px);\n display: inline-block;\n // Prevent links overflowing their container in IE10/11 because of bug\n // with align-items: center\n max-width: 100%;\n margin-top: $link-spacing;\n margin-bottom: $link-spacing + $vertical-gap;\n text-align: center;\n }\n\n // Reduce the bottom margin to the size of the vertical gap (accommodating\n // the button shadow) – the 'lost' margin is moved to the button-group.\n .govuk-button {\n margin-bottom: $vertical-gap + $button-shadow-size;\n }\n\n // On tablet and above, we also introduce a 'column gap' between the\n // buttons and links in each row and left align links\n @include govuk-media-query($from: tablet) {\n // Cancel out the column gap for the last item in each row\n margin-right: ($horizontal-gap * -1);\n\n flex-direction: row;\n flex-wrap: wrap;\n align-items: baseline;\n\n .govuk-button,\n .govuk-link {\n margin-right: $horizontal-gap;\n }\n\n .govuk-link {\n text-align: left;\n }\n }\n }\n}\n"]}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
@import "../base";
|
2
|
+
|
3
|
+
@include govuk-exports("govuk/objects/form-group") {
|
4
|
+
.govuk-form-group {
|
5
|
+
@include govuk-clearfix;
|
6
|
+
@include govuk-responsive-margin(6, "bottom");
|
7
|
+
|
8
|
+
.govuk-form-group:last-of-type {
|
9
|
+
margin-bottom: 0; // Remove margin from last item in nested groups
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
.govuk-form-group--error {
|
14
|
+
padding-left: govuk-spacing(3);
|
15
|
+
border-left: $govuk-border-width-form-group-error solid $govuk-error-colour;
|
16
|
+
|
17
|
+
.govuk-form-group {
|
18
|
+
// Reset error styles in nested form groups that might have error class
|
19
|
+
padding: 0;
|
20
|
+
border: 0;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
/*# sourceMappingURL=_form-group.scss.map */
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/govuk/objects/_form-group.scss"],"names":[],"mappings":"AAAA,iBAAiB;;AAEjB;EACE;IACE,uBAAuB;IACvB,6CAA6C;;IAE7C;MACE,gBAAgB,EAAE,+CAA+C;IACnE;EACF;;EAEA;IACE,8BAA8B;IAC9B,2EAA2E;;IAE3E;MACE,sEAAsE;MACtE,UAAU;MACV,SAAS;IACX;EACF;AACF","file":"_form-group.scss","sourcesContent":["@import \"../base\";\n\n@include govuk-exports(\"govuk/objects/form-group\") {\n .govuk-form-group {\n @include govuk-clearfix;\n @include govuk-responsive-margin(6, \"bottom\");\n\n .govuk-form-group:last-of-type {\n margin-bottom: 0; // Remove margin from last item in nested groups\n }\n }\n\n .govuk-form-group--error {\n padding-left: govuk-spacing(3);\n border-left: $govuk-border-width-form-group-error solid $govuk-error-colour;\n\n .govuk-form-group {\n // Reset error styles in nested form groups that might have error class\n padding: 0;\n border: 0;\n }\n }\n}\n"]}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
@import "../base";
|
2
|
+
|
3
|
+
@include govuk-exports("govuk/objects/grid") {
|
4
|
+
.govuk-grid-row {
|
5
|
+
@include govuk-clearfix;
|
6
|
+
margin-right: -($govuk-gutter-half);
|
7
|
+
margin-left: -($govuk-gutter-half);
|
8
|
+
}
|
9
|
+
|
10
|
+
@each $width in map-keys($govuk-grid-widths) {
|
11
|
+
.govuk-grid-column-#{$width} {
|
12
|
+
@include govuk-grid-column($width);
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
// These *must* be defined in a separate loop as they have the same
|
17
|
+
// specificity as the non-breakpoint specific classes, so need to appear after
|
18
|
+
// them in the outputted CSS
|
19
|
+
@each $width in map-keys($govuk-grid-widths) {
|
20
|
+
.govuk-grid-column-#{$width}-from-desktop {
|
21
|
+
@include govuk-grid-column($width, $at: desktop);
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
/*# sourceMappingURL=_grid.scss.map */
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/govuk/objects/_grid.scss"],"names":[],"mappings":"AAAA,iBAAiB;;AAEjB;EACE;IACE,uBAAuB;IACvB,mCAAmC;IACnC,kCAAkC;EACpC;;EAEA;IACE;MACE,kCAAkC;IACpC;EACF;;EAEA,kEAAkE;EAClE,6EAA6E;EAC7E,2BAA2B;EAC3B;IACE;MACE,gDAAgD;IAClD;EACF;AACF","file":"_grid.scss","sourcesContent":["@import \"../base\";\n\n@include govuk-exports(\"govuk/objects/grid\") {\n .govuk-grid-row {\n @include govuk-clearfix;\n margin-right: -($govuk-gutter-half);\n margin-left: -($govuk-gutter-half);\n }\n\n @each $width in map-keys($govuk-grid-widths) {\n .govuk-grid-column-#{$width} {\n @include govuk-grid-column($width);\n }\n }\n\n // These *must* be defined in a separate loop as they have the same\n // specificity as the non-breakpoint specific classes, so need to appear after\n // them in the outputted CSS\n @each $width in map-keys($govuk-grid-widths) {\n .govuk-grid-column-#{$width}-from-desktop {\n @include govuk-grid-column($width, $at: desktop);\n }\n }\n}\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/govuk/objects/_index.scss"],"names":[],"mappings":"AAAA,sBAAsB;AACtB,oBAAoB;AACpB,cAAc;AACd,sBAAsB;AACtB,kBAAkB;AAClB,yBAAyB","file":"_index.scss","sourcesContent":["@import \"button-group\";\n@import \"form-group\";\n@import \"grid\";\n@import \"main-wrapper\";\n@import \"template\";\n@import \"width-container\";\n"]}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
@import "../base";
|
2
|
+
|
3
|
+
////
|
4
|
+
/// @group objects/layout
|
5
|
+
////
|
6
|
+
|
7
|
+
// Example usage with Breadcrumbs, phase banners, back links:
|
8
|
+
// <div class="govuk-width-container">
|
9
|
+
// <!-- Breadcrumbs, phase banners, back links are placed in here. -->
|
10
|
+
// <div class="govuk-main-wrapper">
|
11
|
+
// <!-- Wrapper for the main content of your page which applies padding
|
12
|
+
// to the top / bottom -->
|
13
|
+
// </div>
|
14
|
+
// </div>
|
15
|
+
//
|
16
|
+
// Example usage without Breadcrumbs, phase banners, back links:
|
17
|
+
// <div class="govuk-width-container">
|
18
|
+
// <div class="govuk-main-wrapper govuk-main-wrapper--l">
|
19
|
+
// <!-- Wrapper for the main content of your page which applies padding
|
20
|
+
// to the top / bottom -->
|
21
|
+
// </div>
|
22
|
+
// </div>
|
23
|
+
|
24
|
+
@include govuk-exports("govuk/objects/main-wrapper") {
|
25
|
+
.govuk-main-wrapper {
|
26
|
+
// In IE11 the `main` element can be used, but is not recognized –
|
27
|
+
// meaning it's not defined in IE's default style sheet,
|
28
|
+
// so it uses CSS initial value, which is inline.
|
29
|
+
display: block;
|
30
|
+
padding-top: govuk-spacing(4);
|
31
|
+
padding-bottom: govuk-spacing(4);
|
32
|
+
|
33
|
+
@include govuk-media-query($from: tablet) {
|
34
|
+
// This spacing is manually adjusted to replicate the margin of
|
35
|
+
// govuk-heading-xl (50px) minus the spacing of back link and
|
36
|
+
// breadcrumbs (10px)
|
37
|
+
padding-top: govuk-spacing(7);
|
38
|
+
padding-bottom: govuk-spacing(7);
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
// Using the `.govuk-main-wrapper--auto-spacing` modifier should apply the
|
43
|
+
// correct spacing depending on whether there are any elements
|
44
|
+
// (such the back link, breadcrumbs or phase banner components) before the
|
45
|
+
// `.govuk-main-wrapper` in the `govuk-width-container`.
|
46
|
+
//
|
47
|
+
// If you need to control the spacing manually, use the
|
48
|
+
// `govuk-main-wrapper--l` modifier instead.
|
49
|
+
.govuk-main-wrapper--auto-spacing:first-child,
|
50
|
+
.govuk-main-wrapper--l {
|
51
|
+
@include govuk-responsive-padding(8, "top");
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
/*# sourceMappingURL=_main-wrapper.scss.map */
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/govuk/objects/_main-wrapper.scss"],"names":[],"mappings":"AAAA,iBAAiB;;AAEjB,GAAG;AACH,wBAAwB;AACxB,GAAG;;AAEH,4DAA4D;AAC5D,qCAAqC;AACrC,uEAAuE;AACvE,oCAAoC;AACpC,4EAA4E;AAC5E,oCAAoC;AACpC,UAAU;AACV,QAAQ;AACR,CAAC;AACD,+DAA+D;AAC/D,qCAAqC;AACrC,0DAA0D;AAC1D,4EAA4E;AAC5E,oCAAoC;AACpC,UAAU;AACV,QAAQ;;AAER;EACE;IACE,kEAAkE;IAClE,uDAAuD;IACvD,gDAAgD;IAChD,cAAc;IACd,6BAA6B;IAC7B,gCAAgC;;IAEhC;MACE,8DAA8D;MAC9D,4DAA4D;MAC5D,oBAAoB;MACpB,6BAA6B;MAC7B,gCAAgC;IAClC;EACF;;EAEA,yEAAyE;EACzE,6DAA6D;EAC7D,yEAAyE;EACzE,uDAAuD;EACvD,CAAC;EACD,sDAAsD;EACtD,2CAA2C;EAC3C;;IAEE,2CAA2C;EAC7C;AACF","file":"_main-wrapper.scss","sourcesContent":["@import \"../base\";\n\n////\n/// @group objects/layout\n////\n\n// Example usage with Breadcrumbs, phase banners, back links:\n// <div class=\"govuk-width-container\">\n// <!-- Breadcrumbs, phase banners, back links are placed in here. -->\n// <div class=\"govuk-main-wrapper\">\n// <!-- Wrapper for the main content of your page which applies padding\n// to the top / bottom -->\n// </div>\n// </div>\n//\n// Example usage without Breadcrumbs, phase banners, back links:\n// <div class=\"govuk-width-container\">\n// <div class=\"govuk-main-wrapper govuk-main-wrapper--l\">\n// <!-- Wrapper for the main content of your page which applies padding\n// to the top / bottom -->\n// </div>\n// </div>\n\n@include govuk-exports(\"govuk/objects/main-wrapper\") {\n .govuk-main-wrapper {\n // In IE11 the `main` element can be used, but is not recognized –\n // meaning it's not defined in IE's default style sheet,\n // so it uses CSS initial value, which is inline.\n display: block;\n padding-top: govuk-spacing(4);\n padding-bottom: govuk-spacing(4);\n\n @include govuk-media-query($from: tablet) {\n // This spacing is manually adjusted to replicate the margin of\n // govuk-heading-xl (50px) minus the spacing of back link and\n // breadcrumbs (10px)\n padding-top: govuk-spacing(7);\n padding-bottom: govuk-spacing(7);\n }\n }\n\n // Using the `.govuk-main-wrapper--auto-spacing` modifier should apply the\n // correct spacing depending on whether there are any elements\n // (such the back link, breadcrumbs or phase banner components) before the\n // `.govuk-main-wrapper` in the `govuk-width-container`.\n //\n // If you need to control the spacing manually, use the\n // `govuk-main-wrapper--l` modifier instead.\n .govuk-main-wrapper--auto-spacing:first-child,\n .govuk-main-wrapper--l {\n @include govuk-responsive-padding(8, \"top\");\n }\n}\n"]}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
@import "../base";
|
2
|
+
|
3
|
+
@include govuk-exports("govuk/objects/template") {
|
4
|
+
// Applied to the <html> element
|
5
|
+
.govuk-template {
|
6
|
+
// Set the overall page background colour to the same colour as used by the
|
7
|
+
// footer to give the illusion of a long footer.
|
8
|
+
@include _govuk-rebrand(
|
9
|
+
background-color,
|
10
|
+
$from: $govuk-template-background-colour,
|
11
|
+
$to: $_govuk-rebrand-template-background-colour
|
12
|
+
);
|
13
|
+
|
14
|
+
// Prevent automatic text sizing, as we already cater for small devices and
|
15
|
+
// would like the browser to stay on 100% text zoom by default.
|
16
|
+
-webkit-text-size-adjust: 100%;
|
17
|
+
-moz-text-size-adjust: 100%;
|
18
|
+
text-size-adjust: 100%;
|
19
|
+
|
20
|
+
// Add scroll padding to the top of govuk-template but remove it if the
|
21
|
+
// exit this page component is present.
|
22
|
+
//
|
23
|
+
// This is a solution to exit this page potentially failing WCAG SC 2.4.12:
|
24
|
+
// Focus Not Obscured (https://www.w3.org/WAI/WCAG22/Understanding/focus-not-obscured-minimum.html)
|
25
|
+
// due to it's sticky positioning.
|
26
|
+
//
|
27
|
+
// This will apply scroll-padding-top in any browsers that don't support :has
|
28
|
+
// (https://caniuse.com/css-has). This is part of the reason we do this in
|
29
|
+
// a "wrong way round" way as we hypothesise that the risks of having
|
30
|
+
// scroll-padding unnecessarily is better than risking not having scroll-padding
|
31
|
+
// and needing it to account for exit this page.
|
32
|
+
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
33
|
+
scroll-padding-top: govuk-spacing(9);
|
34
|
+
|
35
|
+
&:not(:has(.govuk-exit-this-page)) {
|
36
|
+
scroll-padding-top: 0;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
// Force the scrollbar to always display in IE, to prevent horizontal page
|
41
|
+
// jumps as content height changes (e.g. autocomplete results open).
|
42
|
+
@include govuk-media-query($media-type: screen) {
|
43
|
+
overflow-y: scroll;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
// Applied to the <body> element
|
48
|
+
.govuk-template__body {
|
49
|
+
// The default margins set by user-agents are not required since we have our
|
50
|
+
// own containers.
|
51
|
+
margin: 0;
|
52
|
+
// Set the overall body of the page back to the typical background colour.
|
53
|
+
background-color: $govuk-body-background-colour;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
/*# sourceMappingURL=_template.scss.map */
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/govuk/objects/_template.scss"],"names":[],"mappings":"AAAA,iBAAiB;;AAEjB;EACE,+BAA+B;EAC/B;IACE,0EAA0E;IAC1E,+CAA+C;IAC/C;;;;KAIC;;IAED,0EAA0E;IAC1E,8DAA8D;IAC9D,8BAAsB;OAAtB,2BAAsB;YAAtB,sBAAsB;;IAEtB,sEAAsE;IACtE,sCAAsC;IACtC,CAAC;IACD,0EAA0E;IAC1E,kGAAkG;IAClG,iCAAiC;IACjC,CAAC;IACD,4EAA4E;IAC5E,yEAAyE;IACzE,oEAAoE;IACpE,+EAA+E;IAC/E,+CAA+C;IAC/C;MACE,oCAAoC;;MAEpC;QACE,qBAAqB;MACvB;IACF;;IAEA,yEAAyE;IACzE,mEAAmE;IACnE;MACE,kBAAkB;IACpB;EACF;;EAEA,+BAA+B;EAC/B;IACE,2EAA2E;IAC3E,iBAAiB;IACjB,SAAS;IACT,yEAAyE;IACzE,+CAA+C;EACjD;AACF","file":"_template.scss","sourcesContent":["@import \"../base\";\n\n@include govuk-exports(\"govuk/objects/template\") {\n // Applied to the <html> element\n .govuk-template {\n // Set the overall page background colour to the same colour as used by the\n // footer to give the illusion of a long footer.\n @include _govuk-rebrand(\n background-color,\n $from: $govuk-template-background-colour,\n $to: $_govuk-rebrand-template-background-colour\n );\n\n // Prevent automatic text sizing, as we already cater for small devices and\n // would like the browser to stay on 100% text zoom by default.\n text-size-adjust: 100%;\n\n // Add scroll padding to the top of govuk-template but remove it if the\n // exit this page component is present.\n //\n // This is a solution to exit this page potentially failing WCAG SC 2.4.12:\n // Focus Not Obscured (https://www.w3.org/WAI/WCAG22/Understanding/focus-not-obscured-minimum.html)\n // due to it's sticky positioning.\n //\n // This will apply scroll-padding-top in any browsers that don't support :has\n // (https://caniuse.com/css-has). This is part of the reason we do this in\n // a \"wrong way round\" way as we hypothesise that the risks of having\n // scroll-padding unnecessarily is better than risking not having scroll-padding\n // and needing it to account for exit this page.\n @supports (position: sticky) {\n scroll-padding-top: govuk-spacing(9);\n\n &:not(:has(.govuk-exit-this-page)) {\n scroll-padding-top: 0;\n }\n }\n\n // Force the scrollbar to always display in IE, to prevent horizontal page\n // jumps as content height changes (e.g. autocomplete results open).\n @include govuk-media-query($media-type: screen) {\n overflow-y: scroll;\n }\n }\n\n // Applied to the <body> element\n .govuk-template__body {\n // The default margins set by user-agents are not required since we have our\n // own containers.\n margin: 0;\n // Set the overall body of the page back to the typical background colour.\n background-color: $govuk-body-background-colour;\n }\n}\n"]}
|
@@ -0,0 +1,77 @@
|
|
1
|
+
@import "../base";
|
2
|
+
|
3
|
+
////
|
4
|
+
/// @group objects/layout
|
5
|
+
////
|
6
|
+
|
7
|
+
/// Width container mixin
|
8
|
+
///
|
9
|
+
/// Used to create page width and custom width container classes.
|
10
|
+
///
|
11
|
+
/// @param {String} $width [$govuk-page-width] - Width in pixels
|
12
|
+
///
|
13
|
+
/// @example scss - Creating a 1200px wide container class
|
14
|
+
/// .app-width-container--wide {
|
15
|
+
/// @include govuk-width-container(1200px);
|
16
|
+
/// }
|
17
|
+
///
|
18
|
+
/// @access public
|
19
|
+
|
20
|
+
@mixin govuk-width-container($width: $govuk-page-width) {
|
21
|
+
// By default, limit the width of the container to the page width
|
22
|
+
max-width: $width;
|
23
|
+
|
24
|
+
// On mobile, add half width gutters
|
25
|
+
margin-right: $govuk-gutter-half;
|
26
|
+
margin-left: $govuk-gutter-half;
|
27
|
+
|
28
|
+
// Respect 'display cutout' safe area (avoids notches and rounded corners)
|
29
|
+
@supports (margin: unquote("max(calc(0px))")) {
|
30
|
+
$gutter-safe-area-right: calc(#{$govuk-gutter-half} + env(safe-area-inset-right));
|
31
|
+
$gutter-safe-area-left: calc(#{$govuk-gutter-half} + env(safe-area-inset-left));
|
32
|
+
|
33
|
+
// Use max() to pick largest margin, default or with safe area
|
34
|
+
// Escaped due to Sass max() vs. CSS native max()
|
35
|
+
margin-right: unquote("max(#{$govuk-gutter-half}, #{$gutter-safe-area-right})");
|
36
|
+
margin-left: unquote("max(#{$govuk-gutter-half}, #{$gutter-safe-area-left})");
|
37
|
+
}
|
38
|
+
|
39
|
+
// On tablet, add full width gutters
|
40
|
+
@include govuk-media-query($from: tablet) {
|
41
|
+
margin-right: $govuk-gutter;
|
42
|
+
margin-left: $govuk-gutter;
|
43
|
+
|
44
|
+
// Respect 'display cutout' safe area (avoids notches and rounded corners)
|
45
|
+
@supports (margin: unquote("max(calc(0px))")) {
|
46
|
+
$gutter-safe-area-right: calc(#{$govuk-gutter-half} + env(safe-area-inset-right));
|
47
|
+
$gutter-safe-area-left: calc(#{$govuk-gutter-half} + env(safe-area-inset-left));
|
48
|
+
|
49
|
+
// Use max() to pick largest margin, default or with safe area
|
50
|
+
// Escaped due to Sass max() vs. CSS native max()
|
51
|
+
margin-right: unquote("max(#{$govuk-gutter}, #{$gutter-safe-area-right})");
|
52
|
+
margin-left: unquote("max(#{$govuk-gutter}, #{$gutter-safe-area-left})");
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
// As soon as the viewport is greater than the width of the page plus the
|
57
|
+
// gutters, just centre the content instead of adding gutters.
|
58
|
+
@include govuk-media-query($and: "(min-width: #{($width + $govuk-gutter * 2)})") {
|
59
|
+
margin-right: auto;
|
60
|
+
margin-left: auto;
|
61
|
+
|
62
|
+
// Since a safe area may have previously been set above,
|
63
|
+
// we need to duplicate this margin that centers the page.
|
64
|
+
@supports (margin: unquote("max(calc(0px))")) {
|
65
|
+
margin-right: auto;
|
66
|
+
margin-left: auto;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
@include govuk-exports("govuk/objects/width-container") {
|
72
|
+
.govuk-width-container {
|
73
|
+
@include govuk-width-container;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
/*# sourceMappingURL=_width-container.scss.map */
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/govuk/objects/_width-container.scss"],"names":[],"mappings":"AAAA,iBAAiB;;AAEjB,GAAG;AACH,wBAAwB;AACxB,GAAG;;AAEH,wBAAwB;AACxB,EAAE;AACF,gEAAgE;AAChE,EAAE;AACF,+DAA+D;AAC/D,EAAE;AACF,yDAAyD;AACzD,gCAAgC;AAChC,6CAA6C;AAC7C,KAAK;AACL,EAAE;AACF,iBAAiB;;AAEjB;EACE,gEAAgE;EAChE,iBAAiB;;EAEjB,mCAAmC;EACnC,gCAAgC;EAChC,+BAA+B;;EAE/B,yEAAyE;EACzE;IACE,iFAAiF;IACjF,+EAA+E;;IAE/E,6DAA6D;IAC7D,gDAAgD;IAChD,+EAA+E;IAC/E,6EAA6E;EAC/E;;EAEA,mCAAmC;EACnC;IACE,2BAA2B;IAC3B,0BAA0B;;IAE1B,yEAAyE;IACzE;MACE,iFAAiF;MACjF,+EAA+E;;MAE/E,6DAA6D;MAC7D,gDAAgD;MAChD,0EAA0E;MAC1E,wEAAwE;IAC1E;EACF;;EAEA,wEAAwE;EACxE,6DAA6D;EAC7D;IACE,kBAAkB;IAClB,iBAAiB;;IAEjB,uDAAuD;IACvD,yDAAyD;IACzD;MACE,kBAAkB;MAClB,iBAAiB;IACnB;EACF;AACF;;AAEA;EACE;IACE,8BAA8B;EAChC;AACF","file":"_width-container.scss","sourcesContent":["@import \"../base\";\n\n////\n/// @group objects/layout\n////\n\n/// Width container mixin\n///\n/// Used to create page width and custom width container classes.\n///\n/// @param {String} $width [$govuk-page-width] - Width in pixels\n///\n/// @example scss - Creating a 1200px wide container class\n/// .app-width-container--wide {\n/// @include govuk-width-container(1200px);\n/// }\n///\n/// @access public\n\n@mixin govuk-width-container($width: $govuk-page-width) {\n // By default, limit the width of the container to the page width\n max-width: $width;\n\n // On mobile, add half width gutters\n margin-right: $govuk-gutter-half;\n margin-left: $govuk-gutter-half;\n\n // Respect 'display cutout' safe area (avoids notches and rounded corners)\n @supports (margin: unquote(\"max(calc(0px))\")) {\n $gutter-safe-area-right: calc(#{$govuk-gutter-half} + env(safe-area-inset-right));\n $gutter-safe-area-left: calc(#{$govuk-gutter-half} + env(safe-area-inset-left));\n\n // Use max() to pick largest margin, default or with safe area\n // Escaped due to Sass max() vs. CSS native max()\n margin-right: unquote(\"max(#{$govuk-gutter-half}, #{$gutter-safe-area-right})\");\n margin-left: unquote(\"max(#{$govuk-gutter-half}, #{$gutter-safe-area-left})\");\n }\n\n // On tablet, add full width gutters\n @include govuk-media-query($from: tablet) {\n margin-right: $govuk-gutter;\n margin-left: $govuk-gutter;\n\n // Respect 'display cutout' safe area (avoids notches and rounded corners)\n @supports (margin: unquote(\"max(calc(0px))\")) {\n $gutter-safe-area-right: calc(#{$govuk-gutter-half} + env(safe-area-inset-right));\n $gutter-safe-area-left: calc(#{$govuk-gutter-half} + env(safe-area-inset-left));\n\n // Use max() to pick largest margin, default or with safe area\n // Escaped due to Sass max() vs. CSS native max()\n margin-right: unquote(\"max(#{$govuk-gutter}, #{$gutter-safe-area-right})\");\n margin-left: unquote(\"max(#{$govuk-gutter}, #{$gutter-safe-area-left})\");\n }\n }\n\n // As soon as the viewport is greater than the width of the page plus the\n // gutters, just centre the content instead of adding gutters.\n @include govuk-media-query($and: \"(min-width: #{($width + $govuk-gutter * 2)})\") {\n margin-right: auto;\n margin-left: auto;\n\n // Since a safe area may have previously been set above,\n // we need to duplicate this margin that centers the page.\n @supports (margin: unquote(\"max(calc(0px))\")) {\n margin-right: auto;\n margin-left: auto;\n }\n }\n}\n\n@include govuk-exports(\"govuk/objects/width-container\") {\n .govuk-width-container {\n @include govuk-width-container;\n }\n}\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/govuk/overrides/_all.scss"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,eAAe;;AAEf;;;CAGC","file":"_all.scss","sourcesContent":["@import \"../settings/warnings\";\n@import \"index\";\n\n@include _warning(\n \"import-using-all\",\n \"Importing using 'govuk/overrides/all' is deprecated. Update your import statement to import 'govuk/overrides/index'.\"\n);\n"]}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
// stylelint-disable declaration-no-important
|
2
|
+
@include govuk-exports("govuk/overrides/display") {
|
3
|
+
.govuk-\!-display-inline {
|
4
|
+
display: inline !important;
|
5
|
+
}
|
6
|
+
|
7
|
+
.govuk-\!-display-inline-block {
|
8
|
+
display: inline-block !important;
|
9
|
+
}
|
10
|
+
|
11
|
+
.govuk-\!-display-block {
|
12
|
+
display: block !important;
|
13
|
+
}
|
14
|
+
|
15
|
+
.govuk-\!-display-none {
|
16
|
+
display: none !important;
|
17
|
+
}
|
18
|
+
|
19
|
+
@include govuk-media-query($media-type: print) {
|
20
|
+
.govuk-\!-display-none-print {
|
21
|
+
display: none !important;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
/*# sourceMappingURL=_display.scss.map */
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/govuk/overrides/_display.scss"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C;EACE;IACE,0BAA0B;EAC5B;;EAEA;IACE,gCAAgC;EAClC;;EAEA;IACE,yBAAyB;EAC3B;;EAEA;IACE,wBAAwB;EAC1B;;EAEA;IACE;MACE,wBAAwB;IAC1B;EACF;AACF","file":"_display.scss","sourcesContent":["// stylelint-disable declaration-no-important\n@include govuk-exports(\"govuk/overrides/display\") {\n .govuk-\\!-display-inline {\n display: inline !important;\n }\n\n .govuk-\\!-display-inline-block {\n display: inline-block !important;\n }\n\n .govuk-\\!-display-block {\n display: block !important;\n }\n\n .govuk-\\!-display-none {\n display: none !important;\n }\n\n @include govuk-media-query($media-type: print) {\n .govuk-\\!-display-none-print {\n display: none !important;\n }\n }\n}\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/govuk/overrides/_index.scss"],"names":[],"mappings":"AAAA,iBAAiB;AACjB,iBAAiB;AACjB,oBAAoB;AACpB,oBAAoB;AACpB,eAAe","file":"_index.scss","sourcesContent":["@import \"display\";\n@import \"spacing\";\n@import \"text-align\";\n@import \"typography\";\n@import \"width\";\n"]}
|
@@ -0,0 +1,86 @@
|
|
1
|
+
////
|
2
|
+
/// @group overrides
|
3
|
+
////
|
4
|
+
|
5
|
+
// stylelint-disable declaration-no-important
|
6
|
+
|
7
|
+
/// Directions for spacing
|
8
|
+
///
|
9
|
+
/// @type Map
|
10
|
+
/// @access private
|
11
|
+
|
12
|
+
$_spacing-directions: ("top", "right", "bottom", "left") !default;
|
13
|
+
|
14
|
+
/// Generate responsive spacing override classes
|
15
|
+
///
|
16
|
+
/// Generate spacing override classes for the given property (e.g. margin)
|
17
|
+
/// for each point in the responsive spacing scale.
|
18
|
+
///
|
19
|
+
/// @param {String} $property - Property to add spacing to (e.g. 'margin')
|
20
|
+
///
|
21
|
+
/// @example css
|
22
|
+
/// .govuk-\!-margin-4 {
|
23
|
+
/// margin: 15px !important;
|
24
|
+
/// }
|
25
|
+
///
|
26
|
+
/// @media (min-width: 40.0625em) {
|
27
|
+
/// .govuk-\!-margin-4 {
|
28
|
+
/// margin: 20px !important;
|
29
|
+
/// }
|
30
|
+
/// }
|
31
|
+
///
|
32
|
+
/// @access private
|
33
|
+
|
34
|
+
@mixin _govuk-generate-responsive-spacing-overrides($property) {
|
35
|
+
// For each point in the spacing scale (defined in settings), create an
|
36
|
+
// override that affects all directions...
|
37
|
+
@each $scale-point, $scale-map in $govuk-spacing-responsive-scale {
|
38
|
+
.govuk-\!-#{$property}-#{$scale-point} {
|
39
|
+
@include _govuk-responsive-spacing($scale-point, $property, "all", true);
|
40
|
+
}
|
41
|
+
|
42
|
+
// ... and then an override for each individual direction
|
43
|
+
@each $direction in $_spacing-directions {
|
44
|
+
.govuk-\!-#{$property}-#{$direction}-#{$scale-point} {
|
45
|
+
@include _govuk-responsive-spacing($scale-point, $property, $direction, true);
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
/// Generate static spacing override classes
|
52
|
+
///
|
53
|
+
/// Generate spacing override classes for the given property (e.g. margin)
|
54
|
+
/// for each point in the non-responsive spacing scale.
|
55
|
+
///
|
56
|
+
/// @param {String} $property - Property to add spacing to (e.g. 'margin')
|
57
|
+
///
|
58
|
+
/// @example css
|
59
|
+
/// .govuk-\!-static-margin-4 {
|
60
|
+
/// margin: 20px !important;
|
61
|
+
/// }
|
62
|
+
///
|
63
|
+
/// @access private
|
64
|
+
@mixin _govuk-generate-static-spacing-overrides($property) {
|
65
|
+
@each $spacing-point in map-keys($govuk-spacing-points) {
|
66
|
+
.govuk-\!-static-#{$property}-#{$spacing-point} {
|
67
|
+
#{$property}: govuk-spacing($spacing-point) !important;
|
68
|
+
}
|
69
|
+
|
70
|
+
@each $direction in $_spacing-directions {
|
71
|
+
.govuk-\!-static-#{$property}-#{$direction}-#{$spacing-point} {
|
72
|
+
#{$property}-#{$direction}: govuk-spacing($spacing-point) !important;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
@include govuk-exports("govuk/overrides/spacing") {
|
79
|
+
@include _govuk-generate-responsive-spacing-overrides("margin");
|
80
|
+
@include _govuk-generate-responsive-spacing-overrides("padding");
|
81
|
+
|
82
|
+
@include _govuk-generate-static-spacing-overrides("margin");
|
83
|
+
@include _govuk-generate-static-spacing-overrides("padding");
|
84
|
+
}
|
85
|
+
|
86
|
+
/*# sourceMappingURL=_spacing.scss.map */
|