govuk_publishing_components 42.0.0 → 43.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +2 -1
- data/app/assets/stylesheets/govuk_publishing_components/component_support.scss +4 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss +18 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_attachment-link.scss +15 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_attachment.scss +20 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_breadcrumbs.scss +21 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_cards.scss +27 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/_chat-entry.scss +36 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss +6 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/_cross-service-header.scss +29 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_devolved-nations.scss +23 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss +19 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak-html-publication.scss +5 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_heading.scss +16 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +19 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_inset-text.scss +23 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss +29 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-for-admin.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_lead-paragraph.scss +6 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +16 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +7 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_phase-banner.scss +21 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss +8 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +8 -7
- data/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss +22 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_title.scss +8 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_warning-text.scss +11 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_brand-colours.scss +24 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_govuk-frontend-settings.scss +2 -0
- data/app/views/govuk_publishing_components/components/_action_link.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_attachment.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/_breadcrumbs.html.erb +2 -1
- data/app/views/govuk_publishing_components/components/_chat_entry.html.erb +46 -0
- data/app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb +6 -4
- data/app/views/govuk_publishing_components/components/_contextual_footer.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_contextual_sidebar.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_error_alert.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_intervention.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_layout_header.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/_modal_dialogue.html.erb +3 -5
- data/app/views/govuk_publishing_components/components/_related_navigation.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/cross_service_header/_one_login_header.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/cross_service_header/_service_header.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/docs/chat_entry.yml +36 -0
- data/app/views/govuk_publishing_components/components/docs/contents_list.yml +3 -3
- data/app/views/govuk_publishing_components/components/docs/organisation_logo.yml +1 -1
- data/{node_modules/govuk-frontend/dist/govuk/components/header/template-with-tudor-crown.html → app/views/govuk_publishing_components/components/govuk_logo/_govuk_logo.html.erb} +5 -12
- data/app/views/govuk_publishing_components/components/govuk_logo/_govuk_logo_crown_only.html.erb +15 -0
- data/app/views/govuk_publishing_components/components/layout_for_public/_header_logo.html.erb +6 -27
- data/app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb +1 -13
- data/config/locales/ar.yml +4 -1
- data/config/locales/az.yml +4 -1
- data/config/locales/be.yml +4 -1
- data/config/locales/bg.yml +4 -1
- data/config/locales/bn.yml +4 -1
- data/config/locales/cs.yml +4 -1
- data/config/locales/cy.yml +4 -1
- data/config/locales/da.yml +4 -1
- data/config/locales/de.yml +4 -1
- data/config/locales/dr.yml +4 -1
- data/config/locales/el.yml +4 -1
- data/config/locales/en.yml +3 -0
- data/config/locales/es-419.yml +4 -1
- data/config/locales/es.yml +4 -1
- data/config/locales/et.yml +4 -1
- data/config/locales/fa.yml +4 -1
- data/config/locales/fi.yml +4 -1
- data/config/locales/fr.yml +4 -1
- data/config/locales/gd.yml +4 -1
- data/config/locales/gu.yml +4 -1
- data/config/locales/he.yml +4 -1
- data/config/locales/hi.yml +4 -1
- data/config/locales/hr.yml +4 -1
- data/config/locales/hu.yml +4 -1
- data/config/locales/hy.yml +4 -1
- data/config/locales/id.yml +4 -1
- data/config/locales/is.yml +4 -1
- data/config/locales/it.yml +4 -1
- data/config/locales/ja.yml +4 -1
- data/config/locales/ka.yml +4 -1
- data/config/locales/kk.yml +4 -1
- data/config/locales/ko.yml +4 -1
- data/config/locales/lt.yml +4 -1
- data/config/locales/lv.yml +4 -1
- data/config/locales/ms.yml +4 -1
- data/config/locales/mt.yml +4 -1
- data/config/locales/nl.yml +4 -1
- data/config/locales/no.yml +4 -1
- data/config/locales/pa-pk.yml +4 -1
- data/config/locales/pa.yml +4 -1
- data/config/locales/pl.yml +4 -1
- data/config/locales/ps.yml +4 -1
- data/config/locales/pt.yml +4 -1
- data/config/locales/ro.yml +4 -1
- data/config/locales/ru.yml +4 -1
- data/config/locales/si.yml +4 -1
- data/config/locales/sk.yml +4 -1
- data/config/locales/sl.yml +4 -1
- data/config/locales/so.yml +4 -1
- data/config/locales/sq.yml +4 -1
- data/config/locales/sr.yml +4 -1
- data/config/locales/sv.yml +4 -1
- data/config/locales/sw.yml +4 -1
- data/config/locales/ta.yml +4 -1
- data/config/locales/th.yml +4 -1
- data/config/locales/tk.yml +4 -1
- data/config/locales/tr.yml +4 -1
- data/config/locales/uk.yml +4 -1
- data/config/locales/ur.yml +4 -1
- data/config/locales/uz.yml +4 -1
- data/config/locales/vi.yml +4 -1
- data/config/locales/zh-hk.yml +4 -1
- data/config/locales/zh-tw.yml +4 -1
- data/config/locales/zh.yml +4 -1
- data/lib/govuk_publishing_components/presenters/contents_list_helper.rb +2 -1
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/govuk-frontend/dist/govuk/_base.scss +3 -3
- data/node_modules/govuk-frontend/dist/govuk/_base.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.js +451 -176
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs +450 -177
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/all.mjs +13 -76
- data/node_modules/govuk-frontend/dist/govuk/all.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/all.scss +1 -9
- data/node_modules/govuk-frontend/dist/govuk/all.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/common/closest-attribute-value.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs +1 -1
- data/node_modules/govuk-frontend/dist/govuk/common/index.mjs +56 -36
- data/node_modules/govuk-frontend/dist/govuk/common/index.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/common/normalise-dataset.mjs +12 -20
- data/node_modules/govuk-frontend/dist/govuk/common/normalise-dataset.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/common/normalise-string.mjs +31 -0
- data/node_modules/govuk-frontend/dist/govuk/common/normalise-string.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/_all.scss +7 -35
- data/node_modules/govuk-frontend/dist/govuk/components/_all.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/_index.scss +39 -0
- data/node_modules/govuk-frontend/dist/govuk/components/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss +35 -31
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js +177 -133
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs +177 -133
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.mjs +80 -76
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/fixtures.json +16 -3
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/template.njk +2 -1
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/fixtures.json +25 -15
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/template-with-custom-link.html +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/template.njk +6 -2
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/fixtures.json +53 -15
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/macro-options.json +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-default.html +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-inverse.html +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-with-collapse-on-mobile.html +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-with-last-breadcrumb-as-current-page.html +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-with-multiple-levels.html +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-with-one-level.html +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-without-the-home-section.html +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template.njk +6 -4
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.js +97 -39
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.mjs +97 -39
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.mjs +13 -3
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/fixtures.json +38 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/template.njk +4 -2
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss +4 -4
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js +125 -69
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs +125 -69
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs +17 -3
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/fixtures.json +46 -23
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/macro-options.json +40 -0
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-default.html +1 -4
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-custom-rows.html +1 -4
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-custom-textarea-description.html +1 -4
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-default-value-exceeding-limit.html +1 -4
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-default-value.html +1 -4
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-hint.html +1 -4
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-label-as-page-heading.html +1 -4
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-threshold.html +1 -4
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-translations.html +1 -4
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-word-count.html +1 -4
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template.njk +72 -39
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss +10 -2
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.js +9 -1
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.mjs +9 -1
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.mjs +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/fixtures.json +153 -47
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/macro-options.json +40 -0
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-default.html +12 -12
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-conditional-reveal.html +11 -12
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-disabled.html +12 -12
- 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 +12 -12
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-hint.html +13 -13
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-long-text.html +12 -12
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small.html +12 -12
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-a-medium-legend.html +12 -12
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-conditional-item-checked.html +21 -24
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-conditional-items-with-special-characters.html +21 -24
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-conditional-items.html +21 -24
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-disabled-item.html +10 -10
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-divider-and-none.html +17 -16
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-divider-none-and-conditional-items.html +24 -24
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-error-message-and-hints-on-items.html +15 -15
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-error-message.html +12 -12
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-fieldset-and-error-message.html +12 -12
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-hints-on-items.html +10 -10
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-id-and-name.html +12 -12
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-legend-as-a-page-heading.html +12 -12
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-optional-form-group-classes-showing-group-error.html +21 -24
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-pre-checked-values.html +15 -16
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-single-option-and-hint-set-aria-describedby-on-input.html +5 -5
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-single-option-set-aria-describedby-on-input.html +4 -4
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-very-long-option-text.html +12 -12
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-without-fieldset.html +12 -12
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template.njk +58 -54
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss +17 -14
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/fixtures.json +46 -23
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-accepted-confirmation-banner.html +11 -8
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-client-side-implementation.html +38 -29
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-default.html +18 -13
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-rejected-confirmation-banner.html +11 -8
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-with-html.html +19 -15
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template.njk +37 -44
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/_index.scss +1 -2
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/fixtures.json +27 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/macro-options.json +40 -0
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template.njk +10 -3
- data/node_modules/govuk-frontend/dist/govuk/components/details/fixtures.json +10 -0
- data/node_modules/govuk-frontend/dist/govuk/components/details/template.njk +6 -2
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/fixtures.json +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/template.njk +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss +14 -3
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.js +96 -37
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.mjs +96 -37
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.mjs +12 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/fixtures.json +48 -18
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/macro-options.json +2 -2
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-default.html +8 -8
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-mixed-with-and-without-links.html +8 -8
- 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 +8 -8
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-without-links.html +5 -5
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template.njk +19 -14
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js +112 -61
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs +112 -61
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.mjs +15 -4
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/fixtures.json +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/template.njk +3 -1
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_index.scss +3 -5
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/fixtures.json +18 -0
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template.njk +3 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss +8 -9
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/fixtures.json +13 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/macro-options.json +40 -0
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template.njk +10 -2
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/footer/fixtures.json +46 -23
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-default.html +10 -9
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-full-gds-example.html +41 -40
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-three-equal-columns.html +10 -9
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-html-content-licence-and-copyright-notice.html +5 -4
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-meta.html +14 -13
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-text-content-licence-and-copyright-notice.html +5 -4
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-one-column.html +10 -9
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-two-columns.html +10 -9
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-meta-links-and-meta-content.html +56 -55
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-meta.html +28 -27
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-navigation.html +10 -9
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template.njk +42 -38
- data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/fixtures.json +49 -26
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/macro-options.json +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-default.html +13 -16
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width-with-navigation.html +35 -36
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width.html +13 -16
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-html.html +35 -36
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-text-without-link.html +29 -30
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-custom-menu-button-label.html +40 -41
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-custom-menu-button-text.html +40 -41
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-custom-navigation-label.html +40 -41
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-large-navigation.html +100 -101
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-navigation.html +40 -41
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-product-name.html +13 -16
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name-and-navigation.html +40 -41
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name-but-no-service-url.html +13 -16
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name.html +13 -16
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-st-edwards-crown.html +21 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/template.njk +31 -26
- data/node_modules/govuk-frontend/dist/govuk/components/hint/fixtures.json +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/hint/template.njk +3 -1
- data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss +7 -4
- data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/input/fixtures.json +138 -25
- data/node_modules/govuk-frontend/dist/govuk/components/input/macro-options.json +67 -1
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-disabled.html +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-autocapitalize-turned-off.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 +2 -5
- data/node_modules/govuk-frontend/dist/govuk/components/input/template.njk +70 -14
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/fixtures.json +7 -1
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/template-with-html.html +8 -9
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/template.njk +4 -2
- data/node_modules/govuk-frontend/dist/govuk/components/label/fixtures.json +17 -0
- data/node_modules/govuk-frontend/dist/govuk/components/label/template.njk +3 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss +3 -2
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/fixtures.json +50 -26
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.js +96 -37
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.mjs +96 -37
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.mjs +12 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-auto-focus-disabled-with-type-as-success.html +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-auto-focus-explicitly-enabled-with-type-as-success.html +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-custom-tabindex.html +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-default.html +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-paragraph-as-html-heading.html +3 -2
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-rolealert-overridden-to-roleregion-with-type-as-success.html +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-success-with-custom-html.html +9 -8
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-a-list.html +9 -8
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-long-heading.html +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-lots-of-content.html +12 -9
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-text-as-html.html +8 -5
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-type-as-success.html +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template.njk +11 -7
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss +24 -37
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/fixtures.json +30 -15
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-default.html +38 -23
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-first-page.html +28 -16
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-last-page.html +29 -20
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-custom-accessible-labels-on-item-links.html +38 -23
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-custom-link-and-item-text.html +38 -23
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-custom-navigation-landmark.html +38 -23
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-many-pages.html +64 -39
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-next-only.html +11 -4
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-prev-and-next-only-and-labels.html +25 -13
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-prev-and-next-only-and-very-long-labels.html +25 -13
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-prev-and-next-only-in-a-different-language.html +21 -11
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-prev-and-next-only.html +21 -11
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-previous-only.html +11 -7
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template.njk +78 -63
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss +14 -10
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/panel/fixtures.json +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/panel/template.njk +6 -3
- 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 +196 -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 +528 -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 +520 -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 +163 -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-with-new-password-autocomplete.html +11 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-translations.html +11 -0
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/template.njk +91 -0
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss +6 -8
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/fixtures.json +7 -0
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/template.njk +4 -2
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss +11 -6
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/radios/fixtures.json +113 -48
- data/node_modules/govuk-frontend/dist/govuk/components/radios/macro-options.json +41 -1
- data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.js +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.mjs +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-default.html +8 -8
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-inline.html +8 -8
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-prechecked-using-value.html +8 -8
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-prechecked.html +8 -8
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-inline-extreme.html +40 -40
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-inline.html +12 -12
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-a-divider.html +13 -12
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-conditional-reveal.html +15 -16
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-disabled.html +12 -12
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-error.html +12 -12
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-hint.html +13 -13
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-long-text.html +12 -12
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small.html +12 -12
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-a-divider.html +13 -12
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-a-medium-legend.html +8 -8
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-item-checked.html +21 -24
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-items-and-pre-checked-value.html +21 -24
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-items-with-special-characters.html +21 -24
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-items.html +21 -24
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-disabled.html +10 -10
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-fieldset-and-error-message.html +8 -8
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-hints-on-items.html +10 -10
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-idprefix.html +8 -8
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-legend-as-page-heading.html +8 -8
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-optional-form-group-classes-showing-group-error.html +21 -24
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-very-long-option-text.html +12 -12
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-without-fieldset.html +12 -12
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template.njk +54 -50
- data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss +5 -5
- data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/select/fixtures.json +42 -23
- data/node_modules/govuk-frontend/dist/govuk/components/select/macro-options.json +40 -0
- data/node_modules/govuk-frontend/dist/govuk/components/select/template-default.html +3 -6
- data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-full-width-override.html +3 -6
- data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-hint-text-and-error-message.html +3 -6
- data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-label-as-page-heading.html +3 -6
- data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-optional-form-group-classes.html +3 -6
- data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-selected-value.html +3 -6
- data/node_modules/govuk-frontend/dist/govuk/components/select/template.njk +18 -8
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss +7 -4
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/fixtures.json +9 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.js +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.mjs +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/template.njk +4 -1
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss +2 -1
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/fixtures.json +63 -32
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-a-custom-header-level.html +25 -20
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-a-html-header.html +25 -20
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-a-text-header.html +25 -20
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-actions-plus-summary-list-actions.html +46 -29
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-actions.html +33 -23
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-check-your-answers.html +96 -97
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-default.html +35 -36
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-extreme.html +261 -70
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-no-border-on-last-row.html +35 -36
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-no-border.html +35 -36
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-overridden-widths.html +58 -45
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-translated.html +51 -45
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-with-actions.html +58 -45
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-with-no-first-action.html +58 -59
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-with-some-actions.html +45 -39
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template.njk +68 -65
- data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss +10 -0
- data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/table/fixtures.json +93 -21
- data/node_modules/govuk-frontend/dist/govuk/components/table/template-default.html +15 -15
- data/node_modules/govuk-frontend/dist/govuk/components/table/template-table-with-head-and-caption.html +15 -15
- data/node_modules/govuk-frontend/dist/govuk/components/table/template-table-with-head.html +15 -15
- data/node_modules/govuk-frontend/dist/govuk/components/table/template-with-small-text-modifier-for-tables-with-a-lot-of-data.html +19 -0
- data/node_modules/govuk-frontend/dist/govuk/components/table/template.njk +43 -31
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/fixtures.json +27 -13
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.js +13 -11
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.mjs +13 -11
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.mjs +5 -11
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/template-default.html +110 -113
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/template-tabs-with-anchor-in-panel.html +19 -21
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/template.njk +30 -18
- data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss +11 -8
- data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tag/fixtures.json +14 -0
- data/node_modules/govuk-frontend/dist/govuk/components/tag/template.njk +5 -2
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss +12 -10
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/fixtures.json +54 -10
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-default.html +35 -28
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-example-with-3-states.html +47 -38
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-example-with-all-possible-colours.html +141 -116
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-example-with-hint-text-and-additional-states.html +72 -59
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-example-with-very-long-single-word-tags.html +35 -28
- 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.njk +33 -23
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss +3 -3
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/fixtures.json +17 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/macro-options.json +40 -0
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/template.njk +10 -2
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss +5 -5
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/fixtures.json +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/template.njk +3 -2
- data/node_modules/govuk-frontend/dist/govuk/core/_all.scss +8 -6
- data/node_modules/govuk-frontend/dist/govuk/core/_all.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss +1 -1
- 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/errors/index.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend-component.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css +2 -2
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js +1 -1
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss +8 -12
- data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss +44 -8
- data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_grid.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_grid.scss.map +1 -1
- 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 +2 -2
- data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_shape-arrow.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_shape-arrow.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss +19 -0
- data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_visually-hidden.scss +30 -62
- data/node_modules/govuk-frontend/dist/govuk/helpers/_visually-hidden.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/i18n.mjs +18 -12
- data/node_modules/govuk-frontend/dist/govuk/i18n.mjs.map +1 -1
- 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 +100 -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/objects/_all.scss +8 -6
- data/node_modules/govuk-frontend/dist/govuk/objects/_all.scss.map +1 -1
- 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/overrides/_all.scss +7 -5
- data/node_modules/govuk-frontend/dist/govuk/overrides/_all.scss.map +1 -1
- 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/_typography.scss +10 -0
- data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss +8 -21
- data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss +235 -9
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss +23 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_measurements.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_measurements.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss +172 -13
- data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_warnings.scss +8 -3
- data/node_modules/govuk-frontend/dist/govuk/settings/_warnings.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/template.njk +3 -2
- data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss +8 -5
- data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss +7 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss +8 -2
- data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss.map +1 -1
- 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/govuk-prototype-kit.config.json +5 -1
- data/node_modules/govuk-frontend/package.json +16 -15
- metadata +60 -3
@@ -54,8 +54,8 @@
|
|
54
54
|
.govuk-pagination__next {
|
55
55
|
@include govuk-typography-weight-bold;
|
56
56
|
|
57
|
-
// Use flex to
|
58
|
-
//
|
57
|
+
// Use flex to avoid extra space being introduced when whitespace exists
|
58
|
+
// between the arrow svg and the link text
|
59
59
|
.govuk-pagination__link {
|
60
60
|
display: flex;
|
61
61
|
align-items: center;
|
@@ -96,7 +96,7 @@
|
|
96
96
|
@include govuk-typography-weight-bold;
|
97
97
|
color: $govuk-secondary-text-colour;
|
98
98
|
|
99
|
-
// Remove hover state for ellipsis items as they don't
|
99
|
+
// Remove hover state for ellipsis items as they don't contain links
|
100
100
|
&:hover {
|
101
101
|
background-color: transparent;
|
102
102
|
}
|
@@ -118,8 +118,8 @@
|
|
118
118
|
}
|
119
119
|
}
|
120
120
|
|
121
|
-
// Add link hover decoration to prev/next text if no label present on
|
122
|
-
//
|
121
|
+
// Add link hover decoration to prev/next text if no label present on
|
122
|
+
// prev/next only mode, so that we have a hover state in all cases
|
123
123
|
&:hover,
|
124
124
|
&:active {
|
125
125
|
.govuk-pagination__link-title--decorated {
|
@@ -151,11 +151,10 @@
|
|
151
151
|
@include govuk-typography-weight-regular;
|
152
152
|
@include govuk-link-decoration;
|
153
153
|
display: inline-block;
|
154
|
-
padding-left: govuk-spacing(6);
|
155
154
|
}
|
156
155
|
|
157
156
|
.govuk-pagination__icon {
|
158
|
-
// Set size using rems to make the icon scale with text
|
157
|
+
// Set size using rems to make the icon scale with text
|
159
158
|
width: govuk-px-to-rem(15px);
|
160
159
|
height: govuk-px-to-rem(13px);
|
161
160
|
color: $govuk-secondary-text-colour;
|
@@ -175,23 +174,18 @@
|
|
175
174
|
.govuk-pagination--block {
|
176
175
|
display: block;
|
177
176
|
|
178
|
-
.govuk-pagination__item {
|
179
|
-
padding: govuk-spacing(3);
|
180
|
-
float: none;
|
181
|
-
}
|
182
|
-
|
183
177
|
.govuk-pagination__next,
|
184
178
|
.govuk-pagination__prev {
|
185
179
|
padding-left: 0;
|
186
180
|
float: none;
|
181
|
+
|
182
|
+
.govuk-pagination__link {
|
183
|
+
display: inline-block;
|
184
|
+
}
|
187
185
|
}
|
188
186
|
|
189
187
|
.govuk-pagination__next {
|
190
188
|
padding-right: govuk-spacing(3);
|
191
|
-
|
192
|
-
.govuk-pagination__icon {
|
193
|
-
margin-left: 0;
|
194
|
-
}
|
195
189
|
}
|
196
190
|
|
197
191
|
// Only apply a border between prev and next if both are present
|
@@ -199,41 +193,34 @@
|
|
199
193
|
border-top: 1px solid $govuk-border-colour;
|
200
194
|
}
|
201
195
|
|
202
|
-
//
|
203
|
-
//
|
204
|
-
|
205
|
-
|
206
|
-
display: inline;
|
207
|
-
}
|
208
|
-
|
209
|
-
// Set the after pseudo element to a block which makes the title visually display
|
210
|
-
// as block level whilst programmatically being inline
|
211
|
-
// We do this to get around an NVDA quirk where adjacent block level
|
212
|
-
// elements are always read out separately
|
196
|
+
// Set the after pseudo element to a block which makes the title visually
|
197
|
+
// display as block level whilst programmatically being inline. We do this
|
198
|
+
// to get around an NVDA quirk where adjacent block level elements are
|
199
|
+
// always read out separately
|
213
200
|
.govuk-pagination__link-title::after {
|
214
201
|
content: "";
|
215
202
|
display: block;
|
216
203
|
}
|
217
204
|
|
218
205
|
.govuk-pagination__link {
|
206
|
+
padding-left: govuk-spacing(6);
|
219
207
|
text-align: left;
|
220
208
|
|
221
|
-
&:focus {
|
222
|
-
// apply focus styling to the label within the link as if it were being focused
|
223
|
-
// to get around a display issue with a focusable inline element containing a mixture
|
224
|
-
// of inline and inline-block level elements
|
225
|
-
.govuk-pagination__link-label {
|
226
|
-
@include govuk-focused-text;
|
227
|
-
}
|
228
|
-
}
|
229
|
-
|
230
209
|
&:not(:focus) {
|
231
210
|
text-decoration: none;
|
232
211
|
}
|
233
212
|
}
|
234
213
|
|
235
214
|
.govuk-pagination__icon {
|
236
|
-
|
215
|
+
// This magic number is brought to you by the following equation:
|
216
|
+
// ((lineHeight − arrowHeight) ÷ 2) ÷ fontSize
|
217
|
+
// ((25 − 13) ÷ 2) ÷ 19 = 0.326em
|
218
|
+
//
|
219
|
+
// This could have been done programmatically but we don't have functions
|
220
|
+
// for grabbing the line-height of specific typography sizes just yet.
|
221
|
+
margin-top: 0.326em;
|
222
|
+
margin-left: govuk-spacing(6) * -1;
|
223
|
+
float: left;
|
237
224
|
}
|
238
225
|
}
|
239
226
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../../src/govuk/components/pagination/_index.scss"],"names":[],"mappings":"AAAA;EACE,oDAAoD;EACpD,yDAAyD;EACzD;IACE,6CAA6C;IAC7C,aAAa;IACb,sBAAsB;IACtB,mBAAmB;IACnB,eAAe;;IAEf;MACE,mBAAmB;MACnB,uBAAuB;IACzB;EACF;;EAEA;IACE,SAAS;IACT,UAAU;IACV,gBAAgB;EAClB;;EAEA;;;IAGE,uBAAuB;IACvB,sBAAsB;IACtB,kBAAkB;IAClB,eAAe;IACf,gBAAgB;IAChB,0CAA0C;IAC1C,WAAW,EAAE,wDAAwD;;IAErE;MACE,4CAA4C;IAC9C;EACF;;EAEA;IACE,yDAAyD;IACzD,6CAA6C;IAC7C,aAAa;;IAEb,sEAAsE;IACtE,gDAAgD;IAChD,kBAAkB;;IAElB;MACE,cAAc;IAChB;EACF;;EAEA;;IAEE,qCAAqC;;IAErC,
|
1
|
+
{"version":3,"sources":["../../../../src/govuk/components/pagination/_index.scss"],"names":[],"mappings":"AAAA;EACE,oDAAoD;EACpD,yDAAyD;EACzD;IACE,6CAA6C;IAC7C,aAAa;IACb,sBAAsB;IACtB,mBAAmB;IACnB,eAAe;;IAEf;MACE,mBAAmB;MACnB,uBAAuB;IACzB;EACF;;EAEA;IACE,SAAS;IACT,UAAU;IACV,gBAAgB;EAClB;;EAEA;;;IAGE,uBAAuB;IACvB,sBAAsB;IACtB,kBAAkB;IAClB,eAAe;IACf,gBAAgB;IAChB,0CAA0C;IAC1C,WAAW,EAAE,wDAAwD;;IAErE;MACE,4CAA4C;IAC9C;EACF;;EAEA;IACE,yDAAyD;IACzD,6CAA6C;IAC7C,aAAa;;IAEb,sEAAsE;IACtE,gDAAgD;IAChD,kBAAkB;;IAElB;MACE,cAAc;IAChB;EACF;;EAEA;;IAEE,qCAAqC;;IAErC,uEAAuE;IACvE,yCAAyC;IACzC;MACE,aAAa;MACb,mBAAmB;IACrB;EACF;;EAEA;IACE,eAAe;EACjB;;EAEA;IACE,gBAAgB;EAClB;;EAEA,oDAAoD;EACpD;;;;IAIE,cAAc;EAChB;;EAEA;IACE,qCAAqC;IACrC,8BAA8B;IAC9B,oCAAoC;;IAEpC;MACE,oCAAoC;IACtC;;IAEA;MACE,iCAAiC;IACnC;EACF;;EAEA;IACE,qCAAqC;IACrC,mCAAmC;;IAEnC,mEAAmE;IACnE;MACE,6BAA6B;IAC/B;EACF;;EAEA;IACE,cAAc;IACd,2BAA2B;;IAE3B,6DAA6D;IAC7D;MACE;QACE,WAAW;QACX,kBAAkB;QAClB,MAAM;QACN,QAAQ;QACR,SAAS;QACT,OAAO;MACT;IACF;;IAEA,oEAAoE;IACpE,kEAAkE;IAClE;;MAEE;QACE,8BAA8B;MAChC;;MAEA;;QAEE,oCAAoC;MACtC;IACF;;IAEA;MACE;QACE,+BAA+B;MACjC;;MAEA;QACE,qBAAqB;MACvB;;MAEA;QACE,qBAAqB;MACvB;IACF;EACF;;EAEA;IACE,wCAAwC;IACxC,8BAA8B;IAC9B,qBAAqB;EACvB;;EAEA;IACE,sDAAsD;IACtD,4BAA4B;IAC5B,6BAA6B;IAC7B,mCAAmC;IACnC,kBAAkB;IAClB,yBAAyB;EAC3B;;EAEA;IACE,8BAA8B;EAChC;;EAEA;IACE,6BAA6B;EAC/B;;EAEA,uEAAuE;EACvE;IACE,cAAc;;IAEd;;MAEE,eAAe;MACf,WAAW;;MAEX;QACE,qBAAqB;MACvB;IACF;;IAEA;MACE,+BAA+B;IACjC;;IAEA,+DAA+D;IAC/D;MACE,0CAA0C;IAC5C;;IAEA,wEAAwE;IACxE,yEAAyE;IACzE,qEAAqE;IACrE,4BAA4B;IAC5B;MACE,WAAW;MACX,cAAc;IAChB;;IAEA;MACE,8BAA8B;MAC9B,gBAAgB;;MAEhB;QACE,qBAAqB;MACvB;IACF;;IAEA;MACE,gEAAgE;MAChE,6CAA6C;MAC7C,gCAAgC;MAChC,CAAC;MACD,wEAAwE;MACxE,qEAAqE;MACrE,mBAAmB;MACnB,kCAAkC;MAClC,WAAW;IACb;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/pagination\") {\n // Flexbox enhancement for small screen visual design\n // Falls back to a float: left layout on non-flex browsers\n .govuk-pagination {\n @include govuk-responsive-margin(6, \"bottom\");\n display: flex;\n flex-direction: column;\n align-items: center;\n flex-wrap: wrap;\n\n @include govuk-media-query($from: tablet) {\n flex-direction: row;\n align-items: flex-start;\n }\n }\n\n .govuk-pagination__list {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n\n .govuk-pagination__item,\n .govuk-pagination__next,\n .govuk-pagination__prev {\n @include govuk-font(19);\n box-sizing: border-box;\n position: relative;\n min-width: 45px;\n min-height: 45px;\n padding: govuk-spacing(2) govuk-spacing(3);\n float: left; // Float is ignored if flex is active for prev/next links\n\n &:hover {\n background-color: govuk-colour(\"light-grey\");\n }\n }\n\n .govuk-pagination__item {\n // Hide items on small screens except the prev/next items,\n // non-link items and the first and last items\n display: none;\n\n // Center align pagination links in their parent list item so that they\n // visually sit in the middle of their touch area\n text-align: center;\n\n @include govuk-media-query($from: tablet) {\n display: block;\n }\n }\n\n .govuk-pagination__prev,\n .govuk-pagination__next {\n @include govuk-typography-weight-bold;\n\n // Use flex to avoid extra space being introduced when whitespace exists\n // between the arrow svg and the link text\n .govuk-pagination__link {\n display: flex;\n align-items: center;\n }\n }\n\n .govuk-pagination__prev {\n padding-left: 0;\n }\n\n .govuk-pagination__next {\n padding-right: 0;\n }\n\n // Only show first, last and non-link items on mobile\n .govuk-pagination__item--current,\n .govuk-pagination__item--ellipses,\n .govuk-pagination__item:first-child,\n .govuk-pagination__item:last-child {\n display: block;\n }\n\n .govuk-pagination__item--current {\n @include govuk-typography-weight-bold;\n outline: 1px solid transparent;\n background-color: $govuk-link-colour;\n\n &:hover {\n background-color: $govuk-link-colour;\n }\n\n .govuk-pagination__link {\n @include govuk-link-style-inverse;\n }\n }\n\n .govuk-pagination__item--ellipses {\n @include govuk-typography-weight-bold;\n color: $govuk-secondary-text-colour;\n\n // Remove hover state for ellipsis items as they don't contain links\n &:hover {\n background-color: transparent;\n }\n }\n\n .govuk-pagination__link {\n display: block;\n min-width: govuk-spacing(3);\n\n // Increase the touch area for the link to the parent element.\n @media screen {\n &::after {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n }\n\n // Add link hover decoration to prev/next text if no label present on\n // prev/next only mode, so that we have a hover state in all cases\n &:hover,\n &:active {\n .govuk-pagination__link-title--decorated {\n @include govuk-link-decoration;\n }\n\n .govuk-pagination__link-label,\n .govuk-pagination__link-title--decorated {\n @include govuk-link-hover-decoration;\n }\n }\n\n &:focus {\n .govuk-pagination__icon {\n color: $govuk-focus-text-colour;\n }\n\n .govuk-pagination__link-label {\n text-decoration: none;\n }\n\n .govuk-pagination__link-title--decorated {\n text-decoration: none;\n }\n }\n }\n\n .govuk-pagination__link-label {\n @include govuk-typography-weight-regular;\n @include govuk-link-decoration;\n display: inline-block;\n }\n\n .govuk-pagination__icon {\n // Set size using rems to make the icon scale with text\n width: govuk-px-to-rem(15px);\n height: govuk-px-to-rem(13px);\n color: $govuk-secondary-text-colour;\n fill: currentcolor;\n forced-color-adjust: auto;\n }\n\n .govuk-pagination__icon--prev {\n margin-right: govuk-spacing(3);\n }\n\n .govuk-pagination__icon--next {\n margin-left: govuk-spacing(3);\n }\n\n // Block mode - position previous and next links above and below numbers\n .govuk-pagination--block {\n display: block;\n\n .govuk-pagination__next,\n .govuk-pagination__prev {\n padding-left: 0;\n float: none;\n\n .govuk-pagination__link {\n display: inline-block;\n }\n }\n\n .govuk-pagination__next {\n padding-right: govuk-spacing(3);\n }\n\n // Only apply a border between prev and next if both are present\n .govuk-pagination__prev + .govuk-pagination__next {\n border-top: 1px solid $govuk-border-colour;\n }\n\n // Set the after pseudo element to a block which makes the title visually\n // display as block level whilst programmatically being inline. We do this\n // to get around an NVDA quirk where adjacent block level elements are\n // always read out separately\n .govuk-pagination__link-title::after {\n content: \"\";\n display: block;\n }\n\n .govuk-pagination__link {\n padding-left: govuk-spacing(6);\n text-align: left;\n\n &:not(:focus) {\n text-decoration: none;\n }\n }\n\n .govuk-pagination__icon {\n // This magic number is brought to you by the following equation:\n // ((lineHeight − arrowHeight) ÷ 2) ÷ fontSize\n // ((25 − 13) ÷ 2) ÷ 19 = 0.326em\n //\n // This could have been done programmatically but we don't have functions\n // for grabbing the line-height of specific typography sizes just yet.\n margin-top: 0.326em;\n margin-left: govuk-spacing(6) * -1;\n float: left;\n }\n }\n}\n"]}
|
@@ -29,7 +29,8 @@
|
|
29
29
|
"hidden": false,
|
30
30
|
"description": "",
|
31
31
|
"previewLayoutModifiers": [],
|
32
|
-
"
|
32
|
+
"screenshot": false,
|
33
|
+
"html": "<nav class=\"govuk-pagination\" aria-label=\"Pagination\">\n <div class=\"govuk-pagination__prev\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/previous\" rel=\"prev\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--prev\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title\">\n Previous<span class=\"govuk-visually-hidden\"> page</span>\n </span>\n </a>\n </div>\n <ul class=\"govuk-pagination__list\">\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/1\" aria-label=\"Page 1\">\n 1\n </a>\n </li>\n <li class=\"govuk-pagination__item govuk-pagination__item--current\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/2\" aria-label=\"Page 2\" aria-current=\"page\">\n 2\n </a>\n </li>\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/3\" aria-label=\"Page 3\">\n 3\n </a>\n </li>\n </ul>\n <div class=\"govuk-pagination__next\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/next\" rel=\"next\">\n <span class=\"govuk-pagination__link-title\">\n Next<span class=\"govuk-visually-hidden\"> page</span>\n </span>\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--next\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"></path>\n </svg>\n </a>\n </div>\n</nav>"
|
33
34
|
},
|
34
35
|
{
|
35
36
|
"name": "with custom navigation landmark",
|
@@ -60,7 +61,8 @@
|
|
60
61
|
"hidden": false,
|
61
62
|
"description": "",
|
62
63
|
"previewLayoutModifiers": [],
|
63
|
-
"
|
64
|
+
"screenshot": false,
|
65
|
+
"html": "<nav class=\"govuk-pagination\" aria-label=\"search\">\n <div class=\"govuk-pagination__prev\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/previous\" rel=\"prev\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--prev\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title\">\n Previous<span class=\"govuk-visually-hidden\"> page</span>\n </span>\n </a>\n </div>\n <ul class=\"govuk-pagination__list\">\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/1\" aria-label=\"Page 1\">\n 1\n </a>\n </li>\n <li class=\"govuk-pagination__item govuk-pagination__item--current\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/2\" aria-label=\"Page 2\" aria-current=\"page\">\n 2\n </a>\n </li>\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/3\" aria-label=\"Page 3\">\n 3\n </a>\n </li>\n </ul>\n <div class=\"govuk-pagination__next\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/next\" rel=\"next\">\n <span class=\"govuk-pagination__link-title\">\n Next<span class=\"govuk-visually-hidden\"> page</span>\n </span>\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--next\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"></path>\n </svg>\n </a>\n </div>\n</nav>"
|
64
66
|
},
|
65
67
|
{
|
66
68
|
"name": "with custom link and item text",
|
@@ -92,7 +94,8 @@
|
|
92
94
|
"hidden": false,
|
93
95
|
"description": "",
|
94
96
|
"previewLayoutModifiers": [],
|
95
|
-
"
|
97
|
+
"screenshot": false,
|
98
|
+
"html": "<nav class=\"govuk-pagination\" aria-label=\"Pagination\">\n <div class=\"govuk-pagination__prev\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/previous\" rel=\"prev\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--prev\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title\">\n Previous page\n </span>\n </a>\n </div>\n <ul class=\"govuk-pagination__list\">\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/1\" aria-label=\"Page one\">\n one\n </a>\n </li>\n <li class=\"govuk-pagination__item govuk-pagination__item--current\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/2\" aria-label=\"Page two\" aria-current=\"page\">\n two\n </a>\n </li>\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/3\" aria-label=\"Page three\">\n three\n </a>\n </li>\n </ul>\n <div class=\"govuk-pagination__next\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/next\" rel=\"next\">\n <span class=\"govuk-pagination__link-title\">\n Next page\n </span>\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--next\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"></path>\n </svg>\n </a>\n </div>\n</nav>"
|
96
99
|
},
|
97
100
|
{
|
98
101
|
"name": "with custom accessible labels on item links",
|
@@ -125,7 +128,8 @@
|
|
125
128
|
"hidden": false,
|
126
129
|
"description": "",
|
127
130
|
"previewLayoutModifiers": [],
|
128
|
-
"
|
131
|
+
"screenshot": false,
|
132
|
+
"html": "<nav class=\"govuk-pagination\" aria-label=\"Pagination\">\n <div class=\"govuk-pagination__prev\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/previous\" rel=\"prev\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--prev\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title\">\n Previous<span class=\"govuk-visually-hidden\"> page</span>\n </span>\n </a>\n </div>\n <ul class=\"govuk-pagination__list\">\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/1\" aria-label=\"1st page\">\n 1\n </a>\n </li>\n <li class=\"govuk-pagination__item govuk-pagination__item--current\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/2\" aria-label=\"2nd page (you are currently on this page)\" aria-current=\"page\">\n 2\n </a>\n </li>\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/3\" aria-label=\"3rd page\">\n 3\n </a>\n </li>\n </ul>\n <div class=\"govuk-pagination__next\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/next\" rel=\"next\">\n <span class=\"govuk-pagination__link-title\">\n Next<span class=\"govuk-visually-hidden\"> page</span>\n </span>\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--next\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"></path>\n </svg>\n </a>\n </div>\n</nav>"
|
129
133
|
},
|
130
134
|
{
|
131
135
|
"name": "with many pages",
|
@@ -177,7 +181,8 @@
|
|
177
181
|
"hidden": false,
|
178
182
|
"description": "",
|
179
183
|
"previewLayoutModifiers": [],
|
180
|
-
"
|
184
|
+
"screenshot": false,
|
185
|
+
"html": "<nav class=\"govuk-pagination\" aria-label=\"Pagination\">\n <div class=\"govuk-pagination__prev\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/previous\" rel=\"prev\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--prev\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title\">\n Previous<span class=\"govuk-visually-hidden\"> page</span>\n </span>\n </a>\n </div>\n <ul class=\"govuk-pagination__list\">\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/1\" aria-label=\"Page 1\">\n 1\n </a>\n </li>\n <li class=\"govuk-pagination__item govuk-pagination__item--ellipses\">\n ⋯\n </li>\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/8\" aria-label=\"Page 8\">\n 8\n </a>\n </li>\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/9\" aria-label=\"Page 9\">\n 9\n </a>\n </li>\n <li class=\"govuk-pagination__item govuk-pagination__item--current\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/10\" aria-label=\"Page 10\" aria-current=\"page\">\n 10\n </a>\n </li>\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/11\" aria-label=\"Page 11\">\n 11\n </a>\n </li>\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/12\" aria-label=\"Page 12\">\n 12\n </a>\n </li>\n <li class=\"govuk-pagination__item govuk-pagination__item--ellipses\">\n ⋯\n </li>\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/40\" aria-label=\"Page 40\">\n 40\n </a>\n </li>\n </ul>\n <div class=\"govuk-pagination__next\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/next\" rel=\"next\">\n <span class=\"govuk-pagination__link-title\">\n Next<span class=\"govuk-visually-hidden\"> page</span>\n </span>\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--next\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"></path>\n </svg>\n </a>\n </div>\n</nav>"
|
181
186
|
},
|
182
187
|
{
|
183
188
|
"name": "first page",
|
@@ -204,7 +209,8 @@
|
|
204
209
|
"hidden": false,
|
205
210
|
"description": "",
|
206
211
|
"previewLayoutModifiers": [],
|
207
|
-
"
|
212
|
+
"screenshot": false,
|
213
|
+
"html": "<nav class=\"govuk-pagination\" aria-label=\"Pagination\">\n <ul class=\"govuk-pagination__list\">\n <li class=\"govuk-pagination__item govuk-pagination__item--current\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/1\" aria-label=\"Page 1\" aria-current=\"page\">\n 1\n </a>\n </li>\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/2\" aria-label=\"Page 2\">\n 2\n </a>\n </li>\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/3\" aria-label=\"Page 3\">\n 3\n </a>\n </li>\n </ul>\n <div class=\"govuk-pagination__next\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/next\" rel=\"next\">\n <span class=\"govuk-pagination__link-title\">\n Next<span class=\"govuk-visually-hidden\"> page</span>\n </span>\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--next\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"></path>\n </svg>\n </a>\n </div>\n</nav>"
|
208
214
|
},
|
209
215
|
{
|
210
216
|
"name": "last page",
|
@@ -231,7 +237,8 @@
|
|
231
237
|
"hidden": false,
|
232
238
|
"description": "",
|
233
239
|
"previewLayoutModifiers": [],
|
234
|
-
"
|
240
|
+
"screenshot": false,
|
241
|
+
"html": "<nav class=\"govuk-pagination\" aria-label=\"Pagination\">\n <div class=\"govuk-pagination__prev\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/previous\" rel=\"prev\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--prev\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title\">\n Previous<span class=\"govuk-visually-hidden\"> page</span>\n </span>\n </a>\n </div>\n <ul class=\"govuk-pagination__list\">\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/1\" aria-label=\"Page 1\">\n 1\n </a>\n </li>\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/2\" aria-label=\"Page 2\">\n 2\n </a>\n </li>\n <li class=\"govuk-pagination__item govuk-pagination__item--current\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/3\" aria-label=\"Page 3\" aria-current=\"page\">\n 3\n </a>\n </li>\n </ul>\n</nav>"
|
235
242
|
},
|
236
243
|
{
|
237
244
|
"name": "with prev and next only",
|
@@ -246,7 +253,8 @@
|
|
246
253
|
"hidden": false,
|
247
254
|
"description": "",
|
248
255
|
"previewLayoutModifiers": [],
|
249
|
-
"
|
256
|
+
"screenshot": true,
|
257
|
+
"html": "<nav class=\"govuk-pagination govuk-pagination--block\" aria-label=\"Pagination\">\n <div class=\"govuk-pagination__prev\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/previous\" rel=\"prev\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--prev\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title govuk-pagination__link-title--decorated\">\n Previous<span class=\"govuk-visually-hidden\"> page</span>\n </span>\n </a>\n </div>\n <div class=\"govuk-pagination__next\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/next\" rel=\"next\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--next\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title govuk-pagination__link-title--decorated\">\n Next<span class=\"govuk-visually-hidden\"> page</span>\n </span>\n </a>\n </div>\n</nav>"
|
250
258
|
},
|
251
259
|
{
|
252
260
|
"name": "with prev and next only and labels",
|
@@ -265,7 +273,8 @@
|
|
265
273
|
"hidden": false,
|
266
274
|
"description": "",
|
267
275
|
"previewLayoutModifiers": [],
|
268
|
-
"
|
276
|
+
"screenshot": true,
|
277
|
+
"html": "<nav class=\"govuk-pagination govuk-pagination--block\" aria-label=\"Pagination\">\n <div class=\"govuk-pagination__prev\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/previous\" rel=\"prev\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--prev\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title\">\n Previous page\n </span>\n <span class=\"govuk-visually-hidden\">:</span>\n <span class=\"govuk-pagination__link-label\">Paying VAT and duty</span>\n </a>\n </div>\n <div class=\"govuk-pagination__next\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/next\" rel=\"next\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--next\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title\">\n Next page\n </span>\n <span class=\"govuk-visually-hidden\">:</span>\n <span class=\"govuk-pagination__link-label\">Registering an imported vehicle</span>\n </a>\n </div>\n</nav>"
|
269
278
|
},
|
270
279
|
{
|
271
280
|
"name": "with prev and next only and very long labels",
|
@@ -284,7 +293,8 @@
|
|
284
293
|
"hidden": false,
|
285
294
|
"description": "",
|
286
295
|
"previewLayoutModifiers": [],
|
287
|
-
"
|
296
|
+
"screenshot": false,
|
297
|
+
"html": "<nav class=\"govuk-pagination govuk-pagination--block\" aria-label=\"Pagination\">\n <div class=\"govuk-pagination__prev\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/previous\" rel=\"prev\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--prev\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title\">\n Previous page\n </span>\n <span class=\"govuk-visually-hidden\">:</span>\n <span class=\"govuk-pagination__link-label\">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</span>\n </a>\n </div>\n <div class=\"govuk-pagination__next\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/next\" rel=\"next\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--next\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title\">\n Next page\n </span>\n <span class=\"govuk-visually-hidden\">:</span>\n <span class=\"govuk-pagination__link-label\">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</span>\n </a>\n </div>\n</nav>"
|
288
298
|
},
|
289
299
|
{
|
290
300
|
"name": "with prev and next only in a different language",
|
@@ -301,7 +311,8 @@
|
|
301
311
|
"hidden": false,
|
302
312
|
"description": "",
|
303
313
|
"previewLayoutModifiers": [],
|
304
|
-
"
|
314
|
+
"screenshot": false,
|
315
|
+
"html": "<nav class=\"govuk-pagination govuk-pagination--block\" aria-label=\"Pagination\">\n <div class=\"govuk-pagination__prev\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/previous\" rel=\"prev\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--prev\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title govuk-pagination__link-title--decorated\">\n précédente\n </span>\n </a>\n </div>\n <div class=\"govuk-pagination__next\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/next\" rel=\"next\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--next\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title govuk-pagination__link-title--decorated\">\n suivante\n </span>\n </a>\n </div>\n</nav>"
|
305
316
|
},
|
306
317
|
{
|
307
318
|
"name": "with previous only",
|
@@ -313,7 +324,8 @@
|
|
313
324
|
"hidden": false,
|
314
325
|
"description": "",
|
315
326
|
"previewLayoutModifiers": [],
|
316
|
-
"
|
327
|
+
"screenshot": false,
|
328
|
+
"html": "<nav class=\"govuk-pagination govuk-pagination--block\" aria-label=\"Pagination\">\n <div class=\"govuk-pagination__prev\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/previous\" rel=\"prev\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--prev\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title govuk-pagination__link-title--decorated\">\n Previous<span class=\"govuk-visually-hidden\"> page</span>\n </span>\n </a>\n </div>\n</nav>"
|
317
329
|
},
|
318
330
|
{
|
319
331
|
"name": "with next only",
|
@@ -325,7 +337,8 @@
|
|
325
337
|
"hidden": false,
|
326
338
|
"description": "",
|
327
339
|
"previewLayoutModifiers": [],
|
328
|
-
"
|
340
|
+
"screenshot": false,
|
341
|
+
"html": "<nav class=\"govuk-pagination govuk-pagination--block\" aria-label=\"Pagination\">\n <div class=\"govuk-pagination__next\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/next\" rel=\"next\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--next\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title govuk-pagination__link-title--decorated\">\n Next<span class=\"govuk-visually-hidden\"> page</span>\n </span>\n </a>\n </div>\n</nav>"
|
329
342
|
},
|
330
343
|
{
|
331
344
|
"name": "with custom classes",
|
@@ -356,7 +369,8 @@
|
|
356
369
|
"hidden": true,
|
357
370
|
"description": "",
|
358
371
|
"previewLayoutModifiers": [],
|
359
|
-
"
|
372
|
+
"screenshot": false,
|
373
|
+
"html": "<nav class=\"govuk-pagination my-custom-class\" aria-label=\"Pagination\">\n <div class=\"govuk-pagination__prev\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/previous\" rel=\"prev\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--prev\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title\">\n Previous<span class=\"govuk-visually-hidden\"> page</span>\n </span>\n </a>\n </div>\n <ul class=\"govuk-pagination__list\">\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/1\" aria-label=\"Page 1\">\n 1\n </a>\n </li>\n <li class=\"govuk-pagination__item govuk-pagination__item--current\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/2\" aria-label=\"Page 2\" aria-current=\"page\">\n 2\n </a>\n </li>\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/3\" aria-label=\"Page 3\">\n 3\n </a>\n </li>\n </ul>\n <div class=\"govuk-pagination__next\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/next\" rel=\"next\">\n <span class=\"govuk-pagination__link-title\">\n Next<span class=\"govuk-visually-hidden\"> page</span>\n </span>\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--next\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"></path>\n </svg>\n </a>\n </div>\n</nav>"
|
360
374
|
},
|
361
375
|
{
|
362
376
|
"name": "with custom attributes",
|
@@ -390,7 +404,8 @@
|
|
390
404
|
"hidden": true,
|
391
405
|
"description": "",
|
392
406
|
"previewLayoutModifiers": [],
|
393
|
-
"
|
407
|
+
"screenshot": false,
|
408
|
+
"html": "<nav class=\"govuk-pagination\" aria-label=\"Pagination\" data-attribute-1=\"value-1\" data-attribute-2=\"value-2\">\n <div class=\"govuk-pagination__prev\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/previous\" rel=\"prev\">\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--prev\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z\"></path>\n </svg>\n <span class=\"govuk-pagination__link-title\">\n Previous<span class=\"govuk-visually-hidden\"> page</span>\n </span>\n </a>\n </div>\n <ul class=\"govuk-pagination__list\">\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/1\" aria-label=\"Page 1\">\n 1\n </a>\n </li>\n <li class=\"govuk-pagination__item govuk-pagination__item--current\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/2\" aria-label=\"Page 2\" aria-current=\"page\">\n 2\n </a>\n </li>\n <li class=\"govuk-pagination__item\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/page/3\" aria-label=\"Page 3\">\n 3\n </a>\n </li>\n </ul>\n <div class=\"govuk-pagination__next\">\n <a class=\"govuk-link govuk-pagination__link\" href=\"/next\" rel=\"next\">\n <span class=\"govuk-pagination__link-title\">\n Next<span class=\"govuk-visually-hidden\"> page</span>\n </span>\n <svg class=\"govuk-pagination__icon govuk-pagination__icon--next\" xmlns=\"http://www.w3.org/2000/svg\" height=\"13\" width=\"15\" aria-hidden=\"true\" focusable=\"false\" viewBox=\"0 0 15 13\">\n <path d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"></path>\n </svg>\n </a>\n </div>\n</nav>"
|
394
409
|
}
|
395
410
|
]
|
396
411
|
}
|
@@ -1,24 +1,39 @@
|
|
1
|
-
<nav class="govuk-pagination"
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
<
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
1
|
+
<nav class="govuk-pagination" aria-label="Pagination">
|
2
|
+
<div class="govuk-pagination__prev">
|
3
|
+
<a class="govuk-link govuk-pagination__link" href="/previous" rel="prev">
|
4
|
+
<svg class="govuk-pagination__icon govuk-pagination__icon--prev" xmlns="http://www.w3.org/2000/svg" height="13" width="15" aria-hidden="true" focusable="false" viewBox="0 0 15 13">
|
5
|
+
<path d="m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z"></path>
|
6
|
+
</svg>
|
7
|
+
<span class="govuk-pagination__link-title">
|
8
|
+
Previous<span class="govuk-visually-hidden"> page</span>
|
9
|
+
</span>
|
10
|
+
</a>
|
11
|
+
</div>
|
12
|
+
<ul class="govuk-pagination__list">
|
13
|
+
<li class="govuk-pagination__item">
|
14
|
+
<a class="govuk-link govuk-pagination__link" href="/page/1" aria-label="Page 1">
|
15
|
+
1
|
16
|
+
</a>
|
17
|
+
</li>
|
18
|
+
<li class="govuk-pagination__item govuk-pagination__item--current">
|
19
|
+
<a class="govuk-link govuk-pagination__link" href="/page/2" aria-label="Page 2" aria-current="page">
|
20
|
+
2
|
21
|
+
</a>
|
22
|
+
</li>
|
23
|
+
<li class="govuk-pagination__item">
|
24
|
+
<a class="govuk-link govuk-pagination__link" href="/page/3" aria-label="Page 3">
|
25
|
+
3
|
26
|
+
</a>
|
27
|
+
</li>
|
28
|
+
</ul>
|
29
|
+
<div class="govuk-pagination__next">
|
30
|
+
<a class="govuk-link govuk-pagination__link" href="/next" rel="next">
|
31
|
+
<span class="govuk-pagination__link-title">
|
32
|
+
Next<span class="govuk-visually-hidden"> page</span>
|
33
|
+
</span>
|
34
|
+
<svg class="govuk-pagination__icon govuk-pagination__icon--next" xmlns="http://www.w3.org/2000/svg" height="13" width="15" aria-hidden="true" focusable="false" viewBox="0 0 15 13">
|
22
35
|
<path d="m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z"></path>
|
23
|
-
</svg
|
24
|
-
</
|
36
|
+
</svg>
|
37
|
+
</a>
|
38
|
+
</div>
|
39
|
+
</nav>
|
@@ -1,17 +1,29 @@
|
|
1
|
-
<nav class="govuk-pagination"
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
<a class="govuk-link govuk-pagination__link" href="/
|
1
|
+
<nav class="govuk-pagination" aria-label="Pagination">
|
2
|
+
<ul class="govuk-pagination__list">
|
3
|
+
<li class="govuk-pagination__item govuk-pagination__item--current">
|
4
|
+
<a class="govuk-link govuk-pagination__link" href="/page/1" aria-label="Page 1" aria-current="page">
|
5
|
+
1
|
6
|
+
</a>
|
7
|
+
</li>
|
8
|
+
<li class="govuk-pagination__item">
|
9
|
+
<a class="govuk-link govuk-pagination__link" href="/page/2" aria-label="Page 2">
|
10
|
+
2
|
11
|
+
</a>
|
12
|
+
</li>
|
13
|
+
<li class="govuk-pagination__item">
|
14
|
+
<a class="govuk-link govuk-pagination__link" href="/page/3" aria-label="Page 3">
|
15
|
+
3
|
16
|
+
</a>
|
17
|
+
</li>
|
18
|
+
</ul>
|
19
|
+
<div class="govuk-pagination__next">
|
20
|
+
<a class="govuk-link govuk-pagination__link" href="/next" rel="next">
|
21
|
+
<span class="govuk-pagination__link-title">
|
22
|
+
Next<span class="govuk-visually-hidden"> page</span>
|
23
|
+
</span>
|
24
|
+
<svg class="govuk-pagination__icon govuk-pagination__icon--next" xmlns="http://www.w3.org/2000/svg" height="13" width="15" aria-hidden="true" focusable="false" viewBox="0 0 15 13">
|
15
25
|
<path d="m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z"></path>
|
16
|
-
</svg
|
17
|
-
</
|
26
|
+
</svg>
|
27
|
+
</a>
|
28
|
+
</div>
|
29
|
+
</nav>
|