govuk_publishing_components 60.0.1 → 60.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-form-tracker.js +3 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss +5 -0
- data/app/views/govuk_publishing_components/components/docs/govspeak.yml +9 -3
- data/app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb +1 -2
- data/app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb +0 -1
- data/config/locales/ku.yml +230 -0
- data/config/locales/ky.yml +13 -26
- data/config/locales/ti.yml +231 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.js +3 -2
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs +3 -2
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.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 +1 -1
- data/node_modules/govuk-frontend/dist/govuk/common/index.mjs.map +1 -1
- 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.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/fixtures.json +102 -97
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/fixtures.json +21 -32
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/fixtures.json +25 -45
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-default.html +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/fixtures.json +66 -210
- 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.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/fixtures.json +72 -86
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.js.map +1 -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/fixtures.json +305 -464
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-default.html +24 -19
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-divider-and-none.html +2 -4
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-divider-none-and-conditional-items.html +2 -4
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-error-message.html +12 -3
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/{template-with-fieldset-and-error-message.html → template-with-hint.html} +5 -5
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-hints-on-items.html +2 -4
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-pre-checked-values.html +36 -27
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-very-long-option-text.html +2 -5
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/fixtures.json +79 -79
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/fixtures.json +147 -159
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-default.html +30 -22
- data/node_modules/govuk-frontend/dist/govuk/components/details/fixtures.json +22 -22
- data/node_modules/govuk-frontend/dist/govuk/components/error-message/fixtures.json +10 -10
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.js.map +1 -1
- 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/fixtures.json +21 -21
- 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.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/fixtures.json +19 -19
- data/node_modules/govuk-frontend/dist/govuk/components/fieldset/fixtures.json +19 -19
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/fixtures.json +99 -150
- data/node_modules/govuk-frontend/dist/govuk/components/footer/fixtures.json +50 -63
- data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss +10 -4
- 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 +155 -103
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js +2 -1
- 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 +2 -1
- 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 +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width-with-navigation.html +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width.html +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-html.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-text-without-link.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-full-width-border.html +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/hint/fixtures.json +7 -7
- data/node_modules/govuk-frontend/dist/govuk/components/input/fixtures.json +158 -179
- data/node_modules/govuk-frontend/dist/govuk/components/inset-text/fixtures.json +7 -7
- data/node_modules/govuk-frontend/dist/govuk/components/label/fixtures.json +18 -18
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/fixtures.json +74 -108
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.js.map +1 -1
- 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/template-with-text-as-html.html +7 -1
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/fixtures.json +80 -98
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/macro-options.json +4 -4
- data/node_modules/govuk-frontend/dist/govuk/components/panel/fixtures.json +22 -22
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/fixtures.json +53 -48
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/fixtures.json +8 -8
- data/node_modules/govuk-frontend/dist/govuk/components/radios/fixtures.json +213 -328
- 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.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-default.html +18 -16
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-hint.html +24 -0
- data/node_modules/govuk-frontend/dist/govuk/components/select/fixtures.json +99 -115
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss +72 -5
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/fixtures.json +198 -62
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/macro-options.json +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.js +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.mjs +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/{template-with-navigation-with-an-active-item.html → template-inverse.html} +7 -2
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-a-single-navigation-item-and-collapsenavigationonmobile-set-to-true.html +38 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-a-single-navigation-item.html +35 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-collapsenavigationonmobile-set-to-false.html +60 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/fixtures.json +10 -10
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.js.map +1 -1
- 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/summary-list/fixtures.json +282 -518
- data/node_modules/govuk-frontend/dist/govuk/components/table/fixtures.json +75 -75
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/fixtures.json +44 -39
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.js +1 -1
- 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 +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tag/fixtures.json +14 -26
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/fixtures.json +14 -71
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/fixtures.json +81 -81
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/fixtures.json +9 -9
- data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss +5 -2
- data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss.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/_colour.scss +31 -2
- data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_visually-hidden.scss +4 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_visually-hidden.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/macros/logo.njk +2 -2
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-applied.scss +2 -2
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-applied.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss +13 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +1 -1
- data/node_modules/govuk-frontend/package.json +7 -7
- metadata +15 -102
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/template-with-focusable-elements-inside.html +0 -26
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/template-with-one-section-open.html +0 -30
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/template-with-translations.html +0 -30
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/template-with-custom-link.html +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/back-link/template-with-custom-text.html +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-with-multiple-levels.html +0 -16
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-input-disabled.html +0 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-inverse-disabled.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-inverse-link.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-inverse-start.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-prevent-double-click.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-secondary-disabled.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-secondary-link.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-start-link.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-warning-disabled.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-warning-link.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-with-active-state.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-with-focus-state.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/button/template-with-hover-state.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-custom-textarea-description.html +0 -9
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-error.html +0 -12
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-translations.html +0 -9
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-disabled.html +0 -27
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-a-medium-legend.html +0 -33
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-conditional-item-checked.html +0 -39
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-conditional-items-with-special-characters.html +0 -39
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-disabled-item.html +0 -29
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-error-message-and-hints-on-items.html +0 -39
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-id-and-name.html +0 -30
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-single-option-and-hint-set-aria-describedby-on-input.html +0 -16
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-single-option-set-aria-describedby-on-input.html +0 -13
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-without-fieldset.html +0 -22
- data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-client-side-implementation.html +0 -60
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-autocomplete-values.html +0 -36
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-default-items.html +0 -36
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-input-attributes.html +0 -36
- data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-optional-form-group-classes.html +0 -36
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/template-translated.html +0 -5
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-allows-direct-media-capture.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-allows-image-files-only.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-allows-multiple-files.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-disabled.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-enhanced-disabled.html +0 -13
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-with-optional-form-group-classes.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-meta.html +0 -56
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-custom-menu-button-label.html +0 -59
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-custom-navigation-label.html +0 -59
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-disabled.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-autocapitalize-turned-off.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-autocomplete-attribute.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-optional-form-group-classes.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-pattern-attribute.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-prefix-and-long-suffix.html +0 -10
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-spellcheck-disabled.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-spellcheck-enabled.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-auto-focus-disabled-with-type-as-success.html +0 -12
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-auto-focus-explicitly-enabled-with-type-as-success.html +0 -12
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-custom-tabindex.html +0 -12
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-paragraph-as-html-heading.html +0 -10
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-rolealert-overridden-to-roleregion-with-type-as-success.html +0 -12
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-success-with-custom-html.html +0 -16
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-a-list.html +0 -16
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-custom-accessible-labels-on-item-links.html +0 -39
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-custom-navigation-landmark.html +0 -39
- data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-prev-and-next-only-in-a-different-language.html +0 -22
- data/node_modules/govuk-frontend/dist/govuk/components/panel/template-custom-heading-level.html +0 -8
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-new-password-autocomplete.html +0 -11
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-translations.html +0 -11
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-prechecked-using-value.html +0 -16
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-prechecked.html +0 -19
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-inline-extreme.html +0 -69
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-disabled.html +0 -27
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-a-medium-legend.html +0 -24
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-items-with-special-characters.html +0 -39
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-disabled.html +0 -29
- data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-idprefix.html +0 -16
- data/node_modules/govuk-frontend/dist/govuk/components/select/template-id.html +0 -7
- data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-no-items.html +0 -7
- data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-optional-form-group-classes.html +0 -10
- data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-selected-value.html +0 -10
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-a-custom-header-level.html +0 -28
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-check-your-answers.html +0 -98
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-overridden-widths.html +0 -58
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-translated.html +0 -51
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-with-no-first-action.html +0 -58
- data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-with-some-actions.html +0 -45
- data/node_modules/govuk-frontend/dist/govuk/components/table/template-with-small-text-modifier-for-tables-with-a-lot-of-data.html +0 -19
- data/node_modules/govuk-frontend/dist/govuk/components/tag/template-blue.html +0 -3
- data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-example-with-3-states.html +0 -49
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-autocomplete-attribute.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-optional-form-group-classes.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-spellcheck-disabled.html +0 -6
- data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-spellcheck-enabled.html +0 -6
- /data/node_modules/govuk-frontend/dist/govuk/components/date-input/{template-complete-question.html → template-with-items.html} +0 -0
- /data/node_modules/govuk-frontend/dist/govuk/components/table/{template-table-with-head-and-caption.html → template-with-head-and-caption.html} +0 -0
- /data/node_modules/govuk-frontend/dist/govuk/components/table/{template-table-with-head.html → template-with-head.html} +0 -0
- /data/node_modules/govuk-frontend/dist/govuk/components/task-list/{template-example-with-all-possible-colours.html → template-with-all-possible-colours.html} +0 -0
- /data/node_modules/govuk-frontend/dist/govuk/components/task-list/{template-example-with-hint-text-and-additional-states.html → template-with-hint-text-and-additional-states.html} +0 -0
- /data/node_modules/govuk-frontend/dist/govuk/components/task-list/{template-example-with-very-long-single-word-tags.html → template-with-very-long-single-word-tags.html} +0 -0
@@ -11,8 +11,8 @@
|
|
11
11
|
},
|
12
12
|
"hidden": false,
|
13
13
|
"description": "",
|
14
|
-
"
|
15
|
-
"screenshot":
|
14
|
+
"pageTemplateOptions": {},
|
15
|
+
"screenshot": true,
|
16
16
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"test-name\">\n National Insurance number\n </label>\n <input class=\"govuk-input\" id=\"test-name\" name=\"test-name\" type=\"text\">\n</div>"
|
17
17
|
},
|
18
18
|
{
|
@@ -29,7 +29,7 @@
|
|
29
29
|
},
|
30
30
|
"hidden": false,
|
31
31
|
"description": "",
|
32
|
-
"
|
32
|
+
"pageTemplateOptions": {},
|
33
33
|
"screenshot": false,
|
34
34
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-hint-text\">\n National insurance number\n </label>\n <div id=\"input-with-hint-text-hint\" class=\"govuk-hint\">\n It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’.\n </div>\n <input class=\"govuk-input\" id=\"input-with-hint-text\" name=\"test-name-2\" type=\"text\" aria-describedby=\"input-with-hint-text-hint\">\n</div>"
|
35
35
|
},
|
@@ -47,7 +47,7 @@
|
|
47
47
|
},
|
48
48
|
"hidden": false,
|
49
49
|
"description": "",
|
50
|
-
"
|
50
|
+
"pageTemplateOptions": {},
|
51
51
|
"screenshot": false,
|
52
52
|
"html": "<div class=\"govuk-form-group govuk-form-group--error\">\n <label class=\"govuk-label\" for=\"input-with-error-message\">\n National Insurance number\n </label>\n <p id=\"input-with-error-message-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span> Enter a National Insurance number in the correct format\n </p>\n <input class=\"govuk-input govuk-input--error\" id=\"input-with-error-message\" name=\"test-name-3\" type=\"text\" aria-describedby=\"input-with-error-message-error\">\n</div>"
|
53
53
|
},
|
@@ -68,7 +68,7 @@
|
|
68
68
|
},
|
69
69
|
"hidden": false,
|
70
70
|
"description": "",
|
71
|
-
"
|
71
|
+
"pageTemplateOptions": {},
|
72
72
|
"screenshot": false,
|
73
73
|
"html": "<div class=\"govuk-form-group govuk-form-group--error\">\n <label class=\"govuk-label\" for=\"with-error-hint\">\n National insurance number\n </label>\n <div id=\"with-error-hint-hint\" class=\"govuk-hint\">\n It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’.\n </div>\n <p id=\"with-error-hint-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span> Enter a National Insurance number in the correct format\n </p>\n <input class=\"govuk-input govuk-input--error\" id=\"with-error-hint\" name=\"with-error-hint\" type=\"text\" aria-describedby=\"with-error-hint-hint with-error-hint-error\">\n</div>"
|
74
74
|
},
|
@@ -87,7 +87,7 @@
|
|
87
87
|
},
|
88
88
|
"hidden": false,
|
89
89
|
"description": "",
|
90
|
-
"
|
90
|
+
"pageTemplateOptions": {},
|
91
91
|
"screenshot": false,
|
92
92
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-width-2\">\n National insurance number\n </label>\n <div id=\"input-width-2-hint\" class=\"govuk-hint\">\n It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’.\n </div>\n <input class=\"govuk-input govuk-input--width-2\" id=\"input-width-2\" name=\"test-width-2\" type=\"text\" aria-describedby=\"input-width-2-hint\">\n</div>"
|
93
93
|
},
|
@@ -106,7 +106,7 @@
|
|
106
106
|
},
|
107
107
|
"hidden": false,
|
108
108
|
"description": "",
|
109
|
-
"
|
109
|
+
"pageTemplateOptions": {},
|
110
110
|
"screenshot": false,
|
111
111
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-width-3\">\n National insurance number\n </label>\n <div id=\"input-width-3-hint\" class=\"govuk-hint\">\n It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’.\n </div>\n <input class=\"govuk-input govuk-input--width-3\" id=\"input-width-3\" name=\"test-width-3\" type=\"text\" aria-describedby=\"input-width-3-hint\">\n</div>"
|
112
112
|
},
|
@@ -125,7 +125,7 @@
|
|
125
125
|
},
|
126
126
|
"hidden": false,
|
127
127
|
"description": "",
|
128
|
-
"
|
128
|
+
"pageTemplateOptions": {},
|
129
129
|
"screenshot": false,
|
130
130
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-width-4\">\n National insurance number\n </label>\n <div id=\"input-width-4-hint\" class=\"govuk-hint\">\n It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’.\n </div>\n <input class=\"govuk-input govuk-input--width-4\" id=\"input-width-4\" name=\"test-width-4\" type=\"text\" aria-describedby=\"input-width-4-hint\">\n</div>"
|
131
131
|
},
|
@@ -144,7 +144,7 @@
|
|
144
144
|
},
|
145
145
|
"hidden": false,
|
146
146
|
"description": "",
|
147
|
-
"
|
147
|
+
"pageTemplateOptions": {},
|
148
148
|
"screenshot": false,
|
149
149
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-width-5\">\n National insurance number\n </label>\n <div id=\"input-width-5-hint\" class=\"govuk-hint\">\n It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’.\n </div>\n <input class=\"govuk-input govuk-input--width-5\" id=\"input-width-5\" name=\"test-width-5\" type=\"text\" aria-describedby=\"input-width-5-hint\">\n</div>"
|
150
150
|
},
|
@@ -163,7 +163,7 @@
|
|
163
163
|
},
|
164
164
|
"hidden": false,
|
165
165
|
"description": "",
|
166
|
-
"
|
166
|
+
"pageTemplateOptions": {},
|
167
167
|
"screenshot": false,
|
168
168
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-width-10\">\n National insurance number\n </label>\n <div id=\"input-width-10-hint\" class=\"govuk-hint\">\n It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’.\n </div>\n <input class=\"govuk-input govuk-input--width-10\" id=\"input-width-10\" name=\"test-width-10\" type=\"text\" aria-describedby=\"input-width-10-hint\">\n</div>"
|
169
169
|
},
|
@@ -182,7 +182,7 @@
|
|
182
182
|
},
|
183
183
|
"hidden": false,
|
184
184
|
"description": "",
|
185
|
-
"
|
185
|
+
"pageTemplateOptions": {},
|
186
186
|
"screenshot": false,
|
187
187
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-width-20\">\n National insurance number\n </label>\n <div id=\"input-width-20-hint\" class=\"govuk-hint\">\n It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’.\n </div>\n <input class=\"govuk-input govuk-input--width-20\" id=\"input-width-20\" name=\"test-width-20\" type=\"text\" aria-describedby=\"input-width-20-hint\">\n</div>"
|
188
188
|
},
|
@@ -201,7 +201,7 @@
|
|
201
201
|
},
|
202
202
|
"hidden": false,
|
203
203
|
"description": "",
|
204
|
-
"
|
204
|
+
"pageTemplateOptions": {},
|
205
205
|
"screenshot": false,
|
206
206
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-width-30\">\n National insurance number\n </label>\n <div id=\"input-width-30-hint\" class=\"govuk-hint\">\n It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’.\n </div>\n <input class=\"govuk-input govuk-input--width-30\" id=\"input-width-30\" name=\"test-width-30\" type=\"text\" aria-describedby=\"input-width-30-hint\">\n</div>"
|
207
207
|
},
|
@@ -218,127 +218,10 @@
|
|
218
218
|
},
|
219
219
|
"hidden": false,
|
220
220
|
"description": "",
|
221
|
-
"
|
221
|
+
"pageTemplateOptions": {},
|
222
222
|
"screenshot": false,
|
223
223
|
"html": "<div class=\"govuk-form-group\">\n <h1 class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--l\" for=\"input-with-page-heading\">\n National Insurance number\n </label>\n </h1>\n <input class=\"govuk-input\" id=\"input-with-page-heading\" name=\"test-name\" type=\"text\">\n</div>"
|
224
224
|
},
|
225
|
-
{
|
226
|
-
"name": "with optional form-group classes",
|
227
|
-
"options": {
|
228
|
-
"label": {
|
229
|
-
"text": "National Insurance number"
|
230
|
-
},
|
231
|
-
"id": "input-example",
|
232
|
-
"name": "test-name",
|
233
|
-
"formGroup": {
|
234
|
-
"classes": "extra-class"
|
235
|
-
}
|
236
|
-
},
|
237
|
-
"hidden": false,
|
238
|
-
"description": "",
|
239
|
-
"previewLayoutModifiers": [],
|
240
|
-
"screenshot": false,
|
241
|
-
"html": "<div class=\"govuk-form-group extra-class\">\n <label class=\"govuk-label\" for=\"input-example\">\n National Insurance number\n </label>\n <input class=\"govuk-input\" id=\"input-example\" name=\"test-name\" type=\"text\">\n</div>"
|
242
|
-
},
|
243
|
-
{
|
244
|
-
"name": "with autocomplete attribute",
|
245
|
-
"options": {
|
246
|
-
"label": {
|
247
|
-
"text": "Postcode"
|
248
|
-
},
|
249
|
-
"id": "input-with-autocomplete-attribute",
|
250
|
-
"name": "postcode",
|
251
|
-
"autocomplete": "postal-code"
|
252
|
-
},
|
253
|
-
"hidden": false,
|
254
|
-
"description": "",
|
255
|
-
"previewLayoutModifiers": [],
|
256
|
-
"screenshot": false,
|
257
|
-
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-autocomplete-attribute\">\n Postcode\n </label>\n <input class=\"govuk-input\" id=\"input-with-autocomplete-attribute\" name=\"postcode\" type=\"text\" autocomplete=\"postal-code\">\n</div>"
|
258
|
-
},
|
259
|
-
{
|
260
|
-
"name": "with pattern attribute",
|
261
|
-
"options": {
|
262
|
-
"label": {
|
263
|
-
"text": "Numbers only"
|
264
|
-
},
|
265
|
-
"id": "input-with-pattern-attribute",
|
266
|
-
"name": "numbers-only",
|
267
|
-
"type": "number",
|
268
|
-
"pattern": "[0-9]*"
|
269
|
-
},
|
270
|
-
"hidden": false,
|
271
|
-
"description": "",
|
272
|
-
"previewLayoutModifiers": [],
|
273
|
-
"screenshot": false,
|
274
|
-
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-pattern-attribute\">\n Numbers only\n </label>\n <input class=\"govuk-input\" id=\"input-with-pattern-attribute\" name=\"numbers-only\" type=\"number\" pattern=\"[0-9]*\">\n</div>"
|
275
|
-
},
|
276
|
-
{
|
277
|
-
"name": "with spellcheck enabled",
|
278
|
-
"options": {
|
279
|
-
"label": {
|
280
|
-
"text": "Spellcheck is enabled"
|
281
|
-
},
|
282
|
-
"id": "input-with-spellcheck-enabled",
|
283
|
-
"name": "spellcheck",
|
284
|
-
"type": "text",
|
285
|
-
"spellcheck": true
|
286
|
-
},
|
287
|
-
"hidden": false,
|
288
|
-
"description": "",
|
289
|
-
"previewLayoutModifiers": [],
|
290
|
-
"screenshot": false,
|
291
|
-
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-spellcheck-enabled\">\n Spellcheck is enabled\n </label>\n <input class=\"govuk-input\" id=\"input-with-spellcheck-enabled\" name=\"spellcheck\" type=\"text\" spellcheck=\"true\">\n</div>"
|
292
|
-
},
|
293
|
-
{
|
294
|
-
"name": "with spellcheck disabled",
|
295
|
-
"options": {
|
296
|
-
"label": {
|
297
|
-
"text": "Spellcheck is disabled"
|
298
|
-
},
|
299
|
-
"id": "input-with-spellcheck-disabled",
|
300
|
-
"name": "spellcheck",
|
301
|
-
"type": "text",
|
302
|
-
"spellcheck": false
|
303
|
-
},
|
304
|
-
"hidden": false,
|
305
|
-
"description": "",
|
306
|
-
"previewLayoutModifiers": [],
|
307
|
-
"screenshot": false,
|
308
|
-
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-spellcheck-disabled\">\n Spellcheck is disabled\n </label>\n <input class=\"govuk-input\" id=\"input-with-spellcheck-disabled\" name=\"spellcheck\" type=\"text\" spellcheck=\"false\">\n</div>"
|
309
|
-
},
|
310
|
-
{
|
311
|
-
"name": "with autocapitalize turned off",
|
312
|
-
"options": {
|
313
|
-
"label": {
|
314
|
-
"text": "Autocapitalize is turned off"
|
315
|
-
},
|
316
|
-
"id": "input-with-autocapitalize-off",
|
317
|
-
"name": "autocapitalize",
|
318
|
-
"type": "text",
|
319
|
-
"autocapitalize": "none"
|
320
|
-
},
|
321
|
-
"hidden": false,
|
322
|
-
"description": "",
|
323
|
-
"previewLayoutModifiers": [],
|
324
|
-
"screenshot": false,
|
325
|
-
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-autocapitalize-off\">\n Autocapitalize is turned off\n </label>\n <input class=\"govuk-input\" id=\"input-with-autocapitalize-off\" name=\"autocapitalize\" type=\"text\" autocapitalize=\"none\">\n</div>"
|
326
|
-
},
|
327
|
-
{
|
328
|
-
"name": "disabled",
|
329
|
-
"options": {
|
330
|
-
"label": {
|
331
|
-
"text": "Disabled input"
|
332
|
-
},
|
333
|
-
"id": "disabled-input",
|
334
|
-
"disabled": true
|
335
|
-
},
|
336
|
-
"hidden": false,
|
337
|
-
"description": "",
|
338
|
-
"previewLayoutModifiers": [],
|
339
|
-
"screenshot": false,
|
340
|
-
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"disabled-input\">\n Disabled input\n </label>\n <input class=\"govuk-input\" id=\"disabled-input\" name=\"\" type=\"text\" disabled>\n</div>"
|
341
|
-
},
|
342
225
|
{
|
343
226
|
"name": "with prefix",
|
344
227
|
"options": {
|
@@ -353,7 +236,7 @@
|
|
353
236
|
},
|
354
237
|
"hidden": false,
|
355
238
|
"description": "",
|
356
|
-
"
|
239
|
+
"pageTemplateOptions": {},
|
357
240
|
"screenshot": false,
|
358
241
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-prefix\">\n Amount, in pounds\n </label>\n <div class=\"govuk-input__wrapper\">\n <div class=\"govuk-input__prefix\" aria-hidden=\"true\">£</div>\n <input class=\"govuk-input\" id=\"input-with-prefix\" name=\"amount\" type=\"text\">\n </div>\n</div>"
|
359
242
|
},
|
@@ -371,7 +254,7 @@
|
|
371
254
|
},
|
372
255
|
"hidden": false,
|
373
256
|
"description": "",
|
374
|
-
"
|
257
|
+
"pageTemplateOptions": {},
|
375
258
|
"screenshot": false,
|
376
259
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-suffix\">\n Weight, in kilograms\n </label>\n <div class=\"govuk-input__wrapper\">\n <input class=\"govuk-input\" id=\"input-with-suffix\" name=\"weight\" type=\"text\">\n <div class=\"govuk-input__suffix\" aria-hidden=\"true\">kg</div>\n </div>\n</div>"
|
377
260
|
},
|
@@ -392,31 +275,10 @@
|
|
392
275
|
},
|
393
276
|
"hidden": false,
|
394
277
|
"description": "",
|
395
|
-
"
|
396
|
-
"screenshot":
|
278
|
+
"pageTemplateOptions": {},
|
279
|
+
"screenshot": true,
|
397
280
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-prefix-suffix\">\n Cost per item, in pounds\n </label>\n <div class=\"govuk-input__wrapper\">\n <div class=\"govuk-input__prefix\" aria-hidden=\"true\">£</div>\n <input class=\"govuk-input\" id=\"input-with-prefix-suffix\" name=\"cost\" type=\"text\">\n <div class=\"govuk-input__suffix\" aria-hidden=\"true\">per item</div>\n </div>\n</div>"
|
398
281
|
},
|
399
|
-
{
|
400
|
-
"name": "with prefix and long suffix",
|
401
|
-
"options": {
|
402
|
-
"label": {
|
403
|
-
"text": "Cost per item, in pounds, per household member"
|
404
|
-
},
|
405
|
-
"id": "input-with-prefix-suffix",
|
406
|
-
"name": "cost",
|
407
|
-
"prefix": {
|
408
|
-
"text": "£"
|
409
|
-
},
|
410
|
-
"suffix": {
|
411
|
-
"text": "per household member"
|
412
|
-
}
|
413
|
-
},
|
414
|
-
"hidden": false,
|
415
|
-
"description": "",
|
416
|
-
"previewLayoutModifiers": [],
|
417
|
-
"screenshot": false,
|
418
|
-
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-prefix-suffix\">\n Cost per item, in pounds, per household member\n </label>\n <div class=\"govuk-input__wrapper\">\n <div class=\"govuk-input__prefix\" aria-hidden=\"true\">£</div>\n <input class=\"govuk-input\" id=\"input-with-prefix-suffix\" name=\"cost\" type=\"text\">\n <div class=\"govuk-input__suffix\" aria-hidden=\"true\">per household member</div>\n </div>\n</div>"
|
419
|
-
},
|
420
282
|
{
|
421
283
|
"name": "with prefix and suffix and error",
|
422
284
|
"options": {
|
@@ -437,7 +299,7 @@
|
|
437
299
|
},
|
438
300
|
"hidden": false,
|
439
301
|
"description": "",
|
440
|
-
"
|
302
|
+
"pageTemplateOptions": {},
|
441
303
|
"screenshot": false,
|
442
304
|
"html": "<div class=\"govuk-form-group govuk-form-group--error\">\n <label class=\"govuk-label\" for=\"input-with-prefix-suffix\">\n Cost per item, in pounds\n </label>\n <p id=\"input-with-prefix-suffix-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span> Error message goes here\n </p>\n <div class=\"govuk-input__wrapper\">\n <div class=\"govuk-input__prefix\" aria-hidden=\"true\">£</div>\n <input class=\"govuk-input govuk-input--error\" id=\"input-with-prefix-suffix\" name=\"cost\" type=\"text\" aria-describedby=\"input-with-prefix-suffix-error\">\n <div class=\"govuk-input__suffix\" aria-hidden=\"true\">per item</div>\n </div>\n</div>"
|
443
305
|
},
|
@@ -459,7 +321,7 @@
|
|
459
321
|
},
|
460
322
|
"hidden": false,
|
461
323
|
"description": "",
|
462
|
-
"
|
324
|
+
"pageTemplateOptions": {},
|
463
325
|
"screenshot": false,
|
464
326
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-prefix-suffix\">\n Cost per item, in pounds\n </label>\n <div class=\"govuk-input__wrapper\">\n <div class=\"govuk-input__prefix\" aria-hidden=\"true\">£</div>\n <input class=\"govuk-input govuk-input--width-5\" id=\"input-with-prefix-suffix\" name=\"cost\" type=\"text\">\n <div class=\"govuk-input__suffix\" aria-hidden=\"true\">per item</div>\n </div>\n</div>"
|
465
327
|
},
|
@@ -475,8 +337,8 @@
|
|
475
337
|
},
|
476
338
|
"hidden": false,
|
477
339
|
"description": "",
|
478
|
-
"
|
479
|
-
"screenshot":
|
340
|
+
"pageTemplateOptions": {},
|
341
|
+
"screenshot": true,
|
480
342
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-extra-letter-spacing\">\n National insurance number\n </label>\n <input class=\"govuk-input govuk-input--width-30 govuk-input--extra-letter-spacing\" id=\"input-with-extra-letter-spacing\" name=\"\" type=\"text\" value=\"QQ 12 34 56 C\">\n</div>"
|
481
343
|
},
|
482
344
|
{
|
@@ -491,7 +353,7 @@
|
|
491
353
|
},
|
492
354
|
"hidden": true,
|
493
355
|
"description": "",
|
494
|
-
"
|
356
|
+
"pageTemplateOptions": {},
|
495
357
|
"screenshot": false,
|
496
358
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-classes\">\n With classes\n </label>\n <input class=\"govuk-input app-input--custom-modifier\" id=\"with-classes\" name=\"with-classes\" type=\"text\">\n</div>"
|
497
359
|
},
|
@@ -506,7 +368,7 @@
|
|
506
368
|
},
|
507
369
|
"hidden": true,
|
508
370
|
"description": "",
|
509
|
-
"
|
371
|
+
"pageTemplateOptions": {},
|
510
372
|
"screenshot": false,
|
511
373
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-id\">\n With custom id\n </label>\n <input class=\"govuk-input\" id=\"input-id\" name=\"testing-name\" type=\"text\">\n</div>"
|
512
374
|
},
|
@@ -522,7 +384,7 @@
|
|
522
384
|
},
|
523
385
|
"hidden": true,
|
524
386
|
"description": "",
|
525
|
-
"
|
387
|
+
"pageTemplateOptions": {},
|
526
388
|
"screenshot": false,
|
527
389
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-custom-type\">\n With custom type\n </label>\n <input class=\"govuk-input\" id=\"with-custom-type\" name=\"with-custom-type\" type=\"number\">\n</div>"
|
528
390
|
},
|
@@ -538,7 +400,7 @@
|
|
538
400
|
},
|
539
401
|
"hidden": true,
|
540
402
|
"description": "",
|
541
|
-
"
|
403
|
+
"pageTemplateOptions": {},
|
542
404
|
"screenshot": false,
|
543
405
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-value\">\n With value\n </label>\n <input class=\"govuk-input\" id=\"with-value\" name=\"with-value\" type=\"text\" value=\"QQ 12 34 56 C\">\n</div>"
|
544
406
|
},
|
@@ -554,7 +416,7 @@
|
|
554
416
|
},
|
555
417
|
"hidden": true,
|
556
418
|
"description": "",
|
557
|
-
"
|
419
|
+
"pageTemplateOptions": {},
|
558
420
|
"screenshot": false,
|
559
421
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-zero-value\">\n With zero value\n </label>\n <input class=\"govuk-input\" id=\"with-zero-value\" name=\"with-zero-value\" type=\"text\" value=\"0\">\n</div>"
|
560
422
|
},
|
@@ -570,7 +432,7 @@
|
|
570
432
|
},
|
571
433
|
"hidden": true,
|
572
434
|
"description": "",
|
573
|
-
"
|
435
|
+
"pageTemplateOptions": {},
|
574
436
|
"screenshot": false,
|
575
437
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-describedby\">\n With describedBy\n </label>\n <input class=\"govuk-input\" id=\"with-describedby\" name=\"with-describedby\" type=\"text\" aria-describedby=\"test-target-element\">\n</div>"
|
576
438
|
},
|
@@ -588,7 +450,7 @@
|
|
588
450
|
},
|
589
451
|
"hidden": true,
|
590
452
|
"description": "",
|
591
|
-
"
|
453
|
+
"pageTemplateOptions": {},
|
592
454
|
"screenshot": false,
|
593
455
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-attributes\">\n With attributes\n </label>\n <input class=\"govuk-input\" id=\"with-attributes\" name=\"with-attributes\" type=\"text\" data-attribute=\"my data value\">\n</div>"
|
594
456
|
},
|
@@ -607,7 +469,7 @@
|
|
607
469
|
},
|
608
470
|
"hidden": true,
|
609
471
|
"description": "",
|
610
|
-
"
|
472
|
+
"pageTemplateOptions": {},
|
611
473
|
"screenshot": false,
|
612
474
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-hint-describedby\">\n With hint describedBy\n </label>\n <div id=\"with-hint-describedby-hint\" class=\"govuk-hint\">\n It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’.\n </div>\n <input class=\"govuk-input\" id=\"with-hint-describedby\" name=\"with-hint-describedby\" type=\"text\" aria-describedby=\"test-target-element with-hint-describedby-hint\">\n</div>"
|
613
475
|
},
|
@@ -626,7 +488,7 @@
|
|
626
488
|
},
|
627
489
|
"hidden": true,
|
628
490
|
"description": "",
|
629
|
-
"
|
491
|
+
"pageTemplateOptions": {},
|
630
492
|
"screenshot": false,
|
631
493
|
"html": "<div class=\"govuk-form-group govuk-form-group--error\">\n <label class=\"govuk-label\" for=\"with-error-describedby\">\n With error describedBy\n </label>\n <p id=\"with-error-describedby-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span> Error message\n </p>\n <input class=\"govuk-input govuk-input--error\" id=\"with-error-describedby\" name=\"with-error-describedby\" type=\"text\" aria-describedby=\"test-target-element with-error-describedby-error\">\n</div>"
|
632
494
|
},
|
@@ -648,7 +510,7 @@
|
|
648
510
|
},
|
649
511
|
"hidden": true,
|
650
512
|
"description": "",
|
651
|
-
"
|
513
|
+
"pageTemplateOptions": {},
|
652
514
|
"screenshot": false,
|
653
515
|
"html": "<div class=\"govuk-form-group govuk-form-group--error\">\n <label class=\"govuk-label\" for=\"with-error-hint-describedby\">\n With error, hint and describedBy\n </label>\n <div id=\"with-error-hint-describedby-hint\" class=\"govuk-hint\">\n Hint\n </div>\n <p id=\"with-error-hint-describedby-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span> Error message\n </p>\n <input class=\"govuk-input govuk-input--error\" id=\"with-error-hint-describedby\" name=\"with-error-hint-describedby\" type=\"text\" aria-describedby=\"test-target-element with-error-hint-describedby-hint with-error-hint-describedby-error\">\n</div>"
|
654
516
|
},
|
@@ -664,7 +526,7 @@
|
|
664
526
|
},
|
665
527
|
"hidden": true,
|
666
528
|
"description": "",
|
667
|
-
"
|
529
|
+
"pageTemplateOptions": {},
|
668
530
|
"screenshot": false,
|
669
531
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-inputmode\">\n With inputmode\n </label>\n <input class=\"govuk-input\" id=\"with-inputmode\" name=\"with-inputmode\" type=\"text\" inputmode=\"decimal\">\n</div>"
|
670
532
|
},
|
@@ -682,7 +544,7 @@
|
|
682
544
|
},
|
683
545
|
"hidden": true,
|
684
546
|
"description": "",
|
685
|
-
"
|
547
|
+
"pageTemplateOptions": {},
|
686
548
|
"screenshot": false,
|
687
549
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-prefix\">\n Amount, in pounds\n </label>\n <div class=\"govuk-input__wrapper\">\n <div class=\"govuk-input__prefix\" aria-hidden=\"true\"><span>£</span></div>\n <input class=\"govuk-input\" id=\"input-with-prefix\" name=\"amount\" type=\"text\">\n </div>\n</div>"
|
688
550
|
},
|
@@ -700,7 +562,7 @@
|
|
700
562
|
},
|
701
563
|
"hidden": true,
|
702
564
|
"description": "",
|
703
|
-
"
|
565
|
+
"pageTemplateOptions": {},
|
704
566
|
"screenshot": false,
|
705
567
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-prefix\">\n Amount, in pounds\n </label>\n <div class=\"govuk-input__wrapper\">\n <div class=\"govuk-input__prefix\" aria-hidden=\"true\"><span>£</span></div>\n <input class=\"govuk-input\" id=\"input-with-prefix\" name=\"amount\" type=\"text\">\n </div>\n</div>"
|
706
568
|
},
|
@@ -719,7 +581,7 @@
|
|
719
581
|
},
|
720
582
|
"hidden": true,
|
721
583
|
"description": "",
|
722
|
-
"
|
584
|
+
"pageTemplateOptions": {},
|
723
585
|
"screenshot": false,
|
724
586
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-prefix-element\">\n Amount, in pounds\n </label>\n <div class=\"govuk-input__wrapper\">\n <div class=\"govuk-input__prefix app-input__prefix--custom-modifier\" aria-hidden=\"true\">£</div>\n <input class=\"govuk-input\" id=\"input-with-prefix-element\" name=\"amount\" type=\"text\">\n </div>\n</div>"
|
725
587
|
},
|
@@ -740,7 +602,7 @@
|
|
740
602
|
},
|
741
603
|
"hidden": true,
|
742
604
|
"description": "",
|
743
|
-
"
|
605
|
+
"pageTemplateOptions": {},
|
744
606
|
"screenshot": false,
|
745
607
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-prefix-element\">\n Amount, in pounds\n </label>\n <div class=\"govuk-input__wrapper\">\n <div class=\"govuk-input__prefix\" aria-hidden=\"true\" data-attribute=\"value\">£</div>\n <input class=\"govuk-input\" id=\"input-with-prefix-element\" name=\"amount\" type=\"text\">\n </div>\n</div>"
|
746
608
|
},
|
@@ -758,7 +620,7 @@
|
|
758
620
|
},
|
759
621
|
"hidden": true,
|
760
622
|
"description": "",
|
761
|
-
"
|
623
|
+
"pageTemplateOptions": {},
|
762
624
|
"screenshot": false,
|
763
625
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-suffix\">\n Weight, in kilograms\n </label>\n <div class=\"govuk-input__wrapper\">\n <input class=\"govuk-input\" id=\"input-with-suffix\" name=\"weight\" type=\"text\">\n <div class=\"govuk-input__suffix\" aria-hidden=\"true\"><span>kg</span></div>\n </div>\n</div>"
|
764
626
|
},
|
@@ -776,7 +638,7 @@
|
|
776
638
|
},
|
777
639
|
"hidden": true,
|
778
640
|
"description": "",
|
779
|
-
"
|
641
|
+
"pageTemplateOptions": {},
|
780
642
|
"screenshot": false,
|
781
643
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-suffix\">\n Weight, in kilograms\n </label>\n <div class=\"govuk-input__wrapper\">\n <input class=\"govuk-input\" id=\"input-with-suffix\" name=\"weight\" type=\"text\">\n <div class=\"govuk-input__suffix\" aria-hidden=\"true\"><span>kg</span></div>\n </div>\n</div>"
|
782
644
|
},
|
@@ -795,7 +657,7 @@
|
|
795
657
|
},
|
796
658
|
"hidden": true,
|
797
659
|
"description": "",
|
798
|
-
"
|
660
|
+
"pageTemplateOptions": {},
|
799
661
|
"screenshot": false,
|
800
662
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-suffix\">\n Weight, in kilograms\n </label>\n <div class=\"govuk-input__wrapper\">\n <input class=\"govuk-input\" id=\"input-with-suffix\" name=\"weight\" type=\"text\">\n <div class=\"govuk-input__suffix app-input__suffix--custom-modifier\" aria-hidden=\"true\"><span>kg</span></div>\n </div>\n</div>"
|
801
663
|
},
|
@@ -816,7 +678,7 @@
|
|
816
678
|
},
|
817
679
|
"hidden": true,
|
818
680
|
"description": "",
|
819
|
-
"
|
681
|
+
"pageTemplateOptions": {},
|
820
682
|
"screenshot": false,
|
821
683
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-suffix\">\n Weight, in kilograms\n </label>\n <div class=\"govuk-input__wrapper\">\n <input class=\"govuk-input\" id=\"input-with-suffix\" name=\"weight\" type=\"text\">\n <div class=\"govuk-input__suffix\" aria-hidden=\"true\" data-attribute=\"value\"><span>kg</span></div>\n </div>\n</div>"
|
822
684
|
},
|
@@ -843,9 +705,126 @@
|
|
843
705
|
},
|
844
706
|
"hidden": true,
|
845
707
|
"description": "",
|
846
|
-
"
|
708
|
+
"pageTemplateOptions": {},
|
847
709
|
"screenshot": false,
|
848
710
|
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-customised-input-wrapper\">\n Cost per item, in pounds\n </label>\n <div class=\"govuk-input__wrapper app-input-wrapper--custom-modifier\" data-attribute=\"value\">\n <div class=\"govuk-input__prefix\" aria-hidden=\"true\">£</div>\n <input class=\"govuk-input\" id=\"input-with-customised-input-wrapper\" name=\"cost\" type=\"text\">\n <div class=\"govuk-input__suffix\" aria-hidden=\"true\">per item</div>\n </div>\n</div>"
|
711
|
+
},
|
712
|
+
{
|
713
|
+
"name": "with optional form-group classes",
|
714
|
+
"options": {
|
715
|
+
"label": {
|
716
|
+
"text": "National Insurance number"
|
717
|
+
},
|
718
|
+
"id": "input-example",
|
719
|
+
"name": "test-name",
|
720
|
+
"formGroup": {
|
721
|
+
"classes": "extra-class"
|
722
|
+
}
|
723
|
+
},
|
724
|
+
"hidden": true,
|
725
|
+
"description": "",
|
726
|
+
"pageTemplateOptions": {},
|
727
|
+
"screenshot": false,
|
728
|
+
"html": "<div class=\"govuk-form-group extra-class\">\n <label class=\"govuk-label\" for=\"input-example\">\n National Insurance number\n </label>\n <input class=\"govuk-input\" id=\"input-example\" name=\"test-name\" type=\"text\">\n</div>"
|
729
|
+
},
|
730
|
+
{
|
731
|
+
"name": "with autocomplete attribute",
|
732
|
+
"options": {
|
733
|
+
"label": {
|
734
|
+
"text": "Postcode"
|
735
|
+
},
|
736
|
+
"id": "input-with-autocomplete-attribute",
|
737
|
+
"name": "postcode",
|
738
|
+
"autocomplete": "postal-code"
|
739
|
+
},
|
740
|
+
"hidden": true,
|
741
|
+
"description": "",
|
742
|
+
"pageTemplateOptions": {},
|
743
|
+
"screenshot": false,
|
744
|
+
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-autocomplete-attribute\">\n Postcode\n </label>\n <input class=\"govuk-input\" id=\"input-with-autocomplete-attribute\" name=\"postcode\" type=\"text\" autocomplete=\"postal-code\">\n</div>"
|
745
|
+
},
|
746
|
+
{
|
747
|
+
"name": "with pattern attribute",
|
748
|
+
"options": {
|
749
|
+
"label": {
|
750
|
+
"text": "Numbers only"
|
751
|
+
},
|
752
|
+
"id": "input-with-pattern-attribute",
|
753
|
+
"name": "numbers-only",
|
754
|
+
"type": "number",
|
755
|
+
"pattern": "[0-9]*"
|
756
|
+
},
|
757
|
+
"hidden": true,
|
758
|
+
"description": "",
|
759
|
+
"pageTemplateOptions": {},
|
760
|
+
"screenshot": false,
|
761
|
+
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-pattern-attribute\">\n Numbers only\n </label>\n <input class=\"govuk-input\" id=\"input-with-pattern-attribute\" name=\"numbers-only\" type=\"number\" pattern=\"[0-9]*\">\n</div>"
|
762
|
+
},
|
763
|
+
{
|
764
|
+
"name": "with spellcheck enabled",
|
765
|
+
"options": {
|
766
|
+
"label": {
|
767
|
+
"text": "Spellcheck is enabled"
|
768
|
+
},
|
769
|
+
"id": "input-with-spellcheck-enabled",
|
770
|
+
"name": "spellcheck",
|
771
|
+
"type": "text",
|
772
|
+
"spellcheck": true
|
773
|
+
},
|
774
|
+
"hidden": true,
|
775
|
+
"description": "",
|
776
|
+
"pageTemplateOptions": {},
|
777
|
+
"screenshot": false,
|
778
|
+
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-spellcheck-enabled\">\n Spellcheck is enabled\n </label>\n <input class=\"govuk-input\" id=\"input-with-spellcheck-enabled\" name=\"spellcheck\" type=\"text\" spellcheck=\"true\">\n</div>"
|
779
|
+
},
|
780
|
+
{
|
781
|
+
"name": "with spellcheck disabled",
|
782
|
+
"options": {
|
783
|
+
"label": {
|
784
|
+
"text": "Spellcheck is disabled"
|
785
|
+
},
|
786
|
+
"id": "input-with-spellcheck-disabled",
|
787
|
+
"name": "spellcheck",
|
788
|
+
"type": "text",
|
789
|
+
"spellcheck": false
|
790
|
+
},
|
791
|
+
"hidden": true,
|
792
|
+
"description": "",
|
793
|
+
"pageTemplateOptions": {},
|
794
|
+
"screenshot": false,
|
795
|
+
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-spellcheck-disabled\">\n Spellcheck is disabled\n </label>\n <input class=\"govuk-input\" id=\"input-with-spellcheck-disabled\" name=\"spellcheck\" type=\"text\" spellcheck=\"false\">\n</div>"
|
796
|
+
},
|
797
|
+
{
|
798
|
+
"name": "with autocapitalize turned off",
|
799
|
+
"options": {
|
800
|
+
"label": {
|
801
|
+
"text": "Autocapitalize is turned off"
|
802
|
+
},
|
803
|
+
"id": "input-with-autocapitalize-off",
|
804
|
+
"name": "autocapitalize",
|
805
|
+
"type": "text",
|
806
|
+
"autocapitalize": "none"
|
807
|
+
},
|
808
|
+
"hidden": true,
|
809
|
+
"description": "",
|
810
|
+
"pageTemplateOptions": {},
|
811
|
+
"screenshot": false,
|
812
|
+
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-autocapitalize-off\">\n Autocapitalize is turned off\n </label>\n <input class=\"govuk-input\" id=\"input-with-autocapitalize-off\" name=\"autocapitalize\" type=\"text\" autocapitalize=\"none\">\n</div>"
|
813
|
+
},
|
814
|
+
{
|
815
|
+
"name": "disabled",
|
816
|
+
"options": {
|
817
|
+
"label": {
|
818
|
+
"text": "Disabled input"
|
819
|
+
},
|
820
|
+
"id": "disabled-input",
|
821
|
+
"disabled": true
|
822
|
+
},
|
823
|
+
"hidden": true,
|
824
|
+
"description": "",
|
825
|
+
"pageTemplateOptions": {},
|
826
|
+
"screenshot": false,
|
827
|
+
"html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"disabled-input\">\n Disabled input\n </label>\n <input class=\"govuk-input\" id=\"disabled-input\" name=\"\" type=\"text\" disabled>\n</div>"
|
849
828
|
}
|
850
829
|
]
|
851
830
|
}
|