govuk_publishing_components 35.3.3 → 35.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/component_guide/application.scss +37 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +10 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +2 -2
- data/app/views/govuk_publishing_components/component_guide/example.html.erb +1 -1
- data/app/views/govuk_publishing_components/component_guide/preview.html.erb +1 -1
- data/app/views/govuk_publishing_components/component_guide/show.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/_metadata.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_share_links.html.erb +6 -2
- data/app/views/govuk_publishing_components/components/_step_by_step_nav_related.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/docs/metadata.yml +1 -3
- data/app/views/govuk_publishing_components/components/docs/organisation_logo.yml +5 -5
- data/app/views/govuk_publishing_components/components/docs/step_by_step_nav_related.yml +1 -0
- data/app/views/layouts/govuk_publishing_components/application.html.erb +1 -0
- data/lib/govuk_publishing_components/app_helpers/asset_helper.rb +4 -0
- data/lib/govuk_publishing_components/presenters/breadcrumbs_helper.rb +1 -1
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/axe-core/axe.d.ts +77 -6
- data/node_modules/axe-core/axe.js +955 -600
- data/node_modules/axe-core/axe.min.js +2 -2
- data/node_modules/axe-core/locales/_template.json +6 -6
- data/node_modules/axe-core/locales/ja.json +91 -11
- data/node_modules/axe-core/package.json +5 -5
- data/node_modules/axe-core/sri-history.json +4 -0
- data/node_modules/govuk-frontend/README.md +4 -5
- data/node_modules/govuk-frontend/govuk/all-ie8.scss +8 -0
- data/node_modules/govuk-frontend/govuk/all.js +738 -258
- data/node_modules/govuk-frontend/govuk/all.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/common/closest-attribute-value.js +11 -7
- data/node_modules/govuk-frontend/govuk/common/closest-attribute-value.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/common/govuk-frontend-version.js +17 -0
- data/node_modules/govuk-frontend/govuk/common/govuk-frontend-version.js.map +1 -0
- data/node_modules/govuk-frontend/govuk/common/index.js +16 -4
- data/node_modules/govuk-frontend/govuk/common/index.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/common/normalise-dataset.js +20 -10
- data/node_modules/govuk-frontend/govuk/common/normalise-dataset.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/common.js +16 -4
- data/node_modules/govuk-frontend/govuk/common.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss +3 -3
- data/node_modules/govuk-frontend/govuk/components/accordion/accordion.js +234 -86
- data/node_modules/govuk-frontend/govuk/components/accordion/accordion.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/accordion/fixtures.json +32 -13
- data/node_modules/govuk-frontend/govuk/components/accordion/macro-options.json +8 -2
- data/node_modules/govuk-frontend/govuk/components/accordion/template.njk +1 -0
- data/node_modules/govuk-frontend/govuk/components/back-link/_index.scss +1 -1
- data/node_modules/govuk-frontend/govuk/components/back-link/fixtures.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/back-link/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_index.scss +1 -1
- data/node_modules/govuk-frontend/govuk/components/breadcrumbs/fixtures.json +12 -12
- data/node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/button/_index.scss +8 -6
- data/node_modules/govuk-frontend/govuk/components/button/button.js +54 -19
- data/node_modules/govuk-frontend/govuk/components/button/button.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/button/fixtures.json +11 -1
- data/node_modules/govuk-frontend/govuk/components/button/macro-options.json +7 -1
- data/node_modules/govuk-frontend/govuk/components/button/template.njk +1 -1
- data/node_modules/govuk-frontend/govuk/components/character-count/character-count.js +170 -76
- data/node_modules/govuk-frontend/govuk/components/character-count/character-count.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/character-count/fixtures.json +24 -24
- data/node_modules/govuk-frontend/govuk/components/character-count/macro-options.json +3 -3
- data/node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss +6 -6
- data/node_modules/govuk-frontend/govuk/components/checkboxes/checkboxes.js +75 -24
- data/node_modules/govuk-frontend/govuk/components/checkboxes/checkboxes.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/checkboxes/fixtures.json +47 -47
- data/node_modules/govuk-frontend/govuk/components/checkboxes/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/checkboxes/template.njk +3 -3
- data/node_modules/govuk-frontend/govuk/components/cookie-banner/fixtures.json +24 -24
- data/node_modules/govuk-frontend/govuk/components/cookie-banner/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/date-input/fixtures.json +26 -26
- data/node_modules/govuk-frontend/govuk/components/date-input/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/date-input/template.njk +1 -1
- data/node_modules/govuk-frontend/govuk/components/details/details.js +39 -13
- data/node_modules/govuk-frontend/govuk/components/details/details.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/details/fixtures.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/details/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/error-message/fixtures.json +10 -10
- data/node_modules/govuk-frontend/govuk/components/error-message/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/error-summary/error-summary.js +67 -27
- data/node_modules/govuk-frontend/govuk/components/error-summary/error-summary.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/error-summary/fixtures.json +19 -19
- data/node_modules/govuk-frontend/govuk/components/error-summary/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/fieldset/fixtures.json +19 -19
- data/node_modules/govuk-frontend/govuk/components/fieldset/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/file-upload/_index.scss +6 -1
- data/node_modules/govuk-frontend/govuk/components/file-upload/fixtures.json +14 -14
- data/node_modules/govuk-frontend/govuk/components/file-upload/macro-options.json +7 -1
- data/node_modules/govuk-frontend/govuk/components/file-upload/template.njk +2 -1
- data/node_modules/govuk-frontend/govuk/components/footer/_index.scss +0 -7
- data/node_modules/govuk-frontend/govuk/components/footer/fixtures.json +24 -24
- data/node_modules/govuk-frontend/govuk/components/footer/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/header/fixtures.json +22 -22
- data/node_modules/govuk-frontend/govuk/components/header/header.js +46 -14
- data/node_modules/govuk-frontend/govuk/components/header/header.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/header/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/header/template.njk +1 -1
- data/node_modules/govuk-frontend/govuk/components/hint/fixtures.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/hint/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/input/_index.scss +15 -3
- data/node_modules/govuk-frontend/govuk/components/input/fixtures.json +54 -41
- data/node_modules/govuk-frontend/govuk/components/input/macro-options.json +7 -1
- data/node_modules/govuk-frontend/govuk/components/input/template.njk +2 -1
- data/node_modules/govuk-frontend/govuk/components/inset-text/fixtures.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/label/fixtures.json +6 -6
- data/node_modules/govuk-frontend/govuk/components/label/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/notification-banner/fixtures.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/notification-banner/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/notification-banner/notification-banner.js +49 -22
- data/node_modules/govuk-frontend/govuk/components/notification-banner/notification-banner.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/pagination/fixtures.json +16 -16
- data/node_modules/govuk-frontend/govuk/components/pagination/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/panel/fixtures.json +10 -10
- data/node_modules/govuk-frontend/govuk/components/panel/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/phase-banner/fixtures.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/phase-banner/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/radios/_index.scss +5 -5
- data/node_modules/govuk-frontend/govuk/components/radios/fixtures.json +46 -46
- data/node_modules/govuk-frontend/govuk/components/radios/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/radios/radios.js +65 -22
- data/node_modules/govuk-frontend/govuk/components/radios/radios.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/radios/template.njk +2 -2
- data/node_modules/govuk-frontend/govuk/components/select/_index.scss +7 -1
- data/node_modules/govuk-frontend/govuk/components/select/fixtures.json +19 -20
- data/node_modules/govuk-frontend/govuk/components/select/macro-options.json +7 -1
- data/node_modules/govuk-frontend/govuk/components/select/template.njk +5 -2
- data/node_modules/govuk-frontend/govuk/components/skip-link/fixtures.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/skip-link/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/skip-link/skip-link.js +41 -13
- data/node_modules/govuk-frontend/govuk/components/skip-link/skip-link.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/summary-list/fixtures.json +34 -34
- data/node_modules/govuk-frontend/govuk/components/summary-list/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/table/fixtures.json +21 -21
- data/node_modules/govuk-frontend/govuk/components/table/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/tabs/fixtures.json +15 -15
- data/node_modules/govuk-frontend/govuk/components/tabs/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/tabs/tabs.js +178 -60
- data/node_modules/govuk-frontend/govuk/components/tabs/tabs.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/components/tabs/template.njk +1 -1
- data/node_modules/govuk-frontend/govuk/components/tag/_index.scss +18 -18
- data/node_modules/govuk-frontend/govuk/components/tag/fixtures.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/tag/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/textarea/_index.scss +8 -1
- data/node_modules/govuk-frontend/govuk/components/textarea/fixtures.json +18 -18
- data/node_modules/govuk-frontend/govuk/components/textarea/macro-options.json +7 -1
- data/node_modules/govuk-frontend/govuk/components/textarea/template.njk +2 -1
- data/node_modules/govuk-frontend/govuk/components/warning-text/fixtures.json +9 -5
- data/node_modules/govuk-frontend/govuk/components/warning-text/macro-options.json +3 -3
- data/node_modules/govuk-frontend/govuk/components/warning-text/template.njk +1 -1
- data/node_modules/govuk-frontend/govuk/core/_all.scss +1 -0
- data/node_modules/govuk-frontend/govuk/core/_govuk-frontend-version.scss +5 -0
- data/node_modules/govuk-frontend/govuk/helpers/_colour.scss +5 -2
- data/node_modules/govuk-frontend/govuk/helpers/_focused.scss +1 -1
- data/node_modules/govuk-frontend/govuk/helpers/_font-faces.scss +1 -1
- data/node_modules/govuk-frontend/govuk/i18n.js +38 -30
- data/node_modules/govuk-frontend/govuk/i18n.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/macros/i18n.njk +12 -11
- data/node_modules/govuk-frontend/govuk/objects/_width-container.scss +1 -1
- data/node_modules/govuk-frontend/govuk/settings/_colours-organisations.scss +4 -0
- data/node_modules/govuk-frontend/govuk/settings/_ie8.scss +16 -0
- data/node_modules/govuk-frontend/govuk/settings/_links.scss +5 -1
- data/node_modules/govuk-frontend/govuk/tools/_ie8.scss +38 -2
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/DOMTokenList.js +2 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/DOMTokenList.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js +2 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Document.js +2 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Document.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/classList.js +10 -3
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/classList.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/closest.js +4 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/closest.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/dataset.js +13 -7
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/dataset.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/matches.js +2 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/matches.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/nextElementSibling.js +8 -2
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/nextElementSibling.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/previousElementSibling.js +8 -2
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/previousElementSibling.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element.js +4 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Event.js +10 -3
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Event.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Function/prototype/bind.js +4 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Function/prototype/bind.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Object/defineProperty.js +2 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Object/defineProperty.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js +3 -2
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map +1 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Window.js +2 -1
- data/node_modules/govuk-frontend/govuk/vendor/polyfills/Window.js.map +1 -1
- data/node_modules/govuk-frontend/govuk-esm/all.mjs +81 -60
- data/node_modules/govuk-frontend/govuk-esm/all.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/common/closest-attribute-value.mjs +12 -8
- data/node_modules/govuk-frontend/govuk-esm/common/closest-attribute-value.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/common/govuk-frontend-version.mjs +9 -0
- data/node_modules/govuk-frontend/govuk-esm/common/govuk-frontend-version.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/common/index.mjs +44 -29
- data/node_modules/govuk-frontend/govuk-esm/common/index.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/common/normalise-dataset.mjs +15 -9
- data/node_modules/govuk-frontend/govuk-esm/common/normalise-dataset.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/common.mjs +3 -5
- data/node_modules/govuk-frontend/govuk-esm/common.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/accordion/accordion.mjs +319 -211
- data/node_modules/govuk-frontend/govuk-esm/components/accordion/accordion.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/button/button.mjs +47 -30
- data/node_modules/govuk-frontend/govuk-esm/components/button/button.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/character-count/character-count.mjs +169 -115
- data/node_modules/govuk-frontend/govuk-esm/components/character-count/character-count.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/checkboxes/checkboxes.mjs +88 -51
- data/node_modules/govuk-frontend/govuk-esm/components/checkboxes/checkboxes.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/details/details.mjs +64 -54
- data/node_modules/govuk-frontend/govuk-esm/components/details/details.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/error-summary/error-summary.mjs +69 -50
- data/node_modules/govuk-frontend/govuk-esm/components/error-summary/error-summary.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/header/header.mjs +59 -35
- data/node_modules/govuk-frontend/govuk-esm/components/header/header.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/notification-banner/notification-banner.mjs +36 -25
- data/node_modules/govuk-frontend/govuk-esm/components/notification-banner/notification-banner.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/radios/radios.mjs +67 -38
- data/node_modules/govuk-frontend/govuk-esm/components/radios/radios.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/skip-link/skip-link.mjs +49 -32
- data/node_modules/govuk-frontend/govuk-esm/components/skip-link/skip-link.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/components/tabs/tabs.mjs +263 -163
- data/node_modules/govuk-frontend/govuk-esm/components/tabs/tabs.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/i18n.mjs +68 -57
- data/node_modules/govuk-frontend/govuk-esm/i18n.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/DOMTokenList.mjs +5 -3
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/DOMTokenList.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Date/now.mjs +4 -2
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Date/now.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Document.mjs +4 -2
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Document.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/classList.mjs +7 -4
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/classList.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/closest.mjs +5 -2
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/closest.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/dataset.mjs +13 -10
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/dataset.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/matches.mjs +4 -2
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/matches.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs +6 -3
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/previousElementSibling.mjs +6 -3
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/previousElementSibling.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element.mjs +5 -2
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Event.mjs +7 -4
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Event.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Function/prototype/bind.mjs +5 -2
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Function/prototype/bind.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Object/defineProperty.mjs +4 -2
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Object/defineProperty.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/String/prototype/trim.mjs +5 -3
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/String/prototype/trim.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs +4 -2
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs.map +1 -0
- data/node_modules/govuk-frontend/govuk-prototype-kit/init.js +1 -0
- data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +2 -1
- data/node_modules/govuk-frontend/package.json +3 -2
- metadata +43 -6
- /data/app/assets/images/govuk_publishing_components/crests/{dit_crest_13px.png → dbt_crest_13px.png} +0 -0
- /data/app/assets/images/govuk_publishing_components/crests/{dit_crest_13px_x2.png → dbt_crest_13px_x2.png} +0 -0
- /data/app/assets/images/govuk_publishing_components/crests/{dit_crest_18px.png → dbt_crest_18px.png} +0 -0
- /data/app/assets/images/govuk_publishing_components/crests/{dit_crest_18px_x2.png → dbt_crest_18px_x2.png} +0 -0
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import '../../Object/defineProperty.mjs'
|
|
2
|
-
import '../../Element.mjs'
|
|
1
|
+
import '../../Object/defineProperty.mjs';
|
|
2
|
+
import '../../Element.mjs';
|
|
3
|
+
|
|
4
|
+
// @ts-nocheck
|
|
3
5
|
|
|
4
6
|
(function(undefined) {
|
|
5
7
|
|
|
@@ -11,7 +13,7 @@ import '../../Element.mjs'
|
|
|
11
13
|
var el = document.createElement('div');
|
|
12
14
|
el.setAttribute("data-a-b", "c");
|
|
13
15
|
return el.dataset && el.dataset.aB == "c";
|
|
14
|
-
}())
|
|
16
|
+
}());
|
|
15
17
|
|
|
16
18
|
if (detect) return
|
|
17
19
|
|
|
@@ -21,10 +23,10 @@ import '../../Element.mjs'
|
|
|
21
23
|
var element = this;
|
|
22
24
|
var attributes = this.attributes;
|
|
23
25
|
var map = {};
|
|
24
|
-
|
|
26
|
+
|
|
25
27
|
for (var i = 0; i < attributes.length; i++) {
|
|
26
28
|
var attribute = attributes[i];
|
|
27
|
-
|
|
29
|
+
|
|
28
30
|
// This regex has been edited from the original polyfill, to add
|
|
29
31
|
// support for period (.) separators in data-* attribute names. These
|
|
30
32
|
// are allowed in the HTML spec, but were not covered by the original
|
|
@@ -32,11 +34,11 @@ import '../../Element.mjs'
|
|
|
32
34
|
if (attribute && attribute.name && (/^data-\w[.\w-]*$/).test(attribute.name)) {
|
|
33
35
|
var name = attribute.name;
|
|
34
36
|
var value = attribute.value;
|
|
35
|
-
|
|
37
|
+
|
|
36
38
|
var propName = name.substr(5).replace(/-./g, function (prop) {
|
|
37
39
|
return prop.charAt(1).toUpperCase();
|
|
38
40
|
});
|
|
39
|
-
|
|
41
|
+
|
|
40
42
|
// If this browser supports __defineGetter__ and __defineSetter__,
|
|
41
43
|
// continue using defineProperty. If not (like IE 8 and below), we use
|
|
42
44
|
// a hacky fallback which at least gives an object in the right format
|
|
@@ -55,14 +57,15 @@ import '../../Element.mjs'
|
|
|
55
57
|
}.bind(element, name)
|
|
56
58
|
});
|
|
57
59
|
} else {
|
|
58
|
-
map[propName] = value
|
|
60
|
+
map[propName] = value;
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
}
|
|
62
64
|
}
|
|
63
|
-
|
|
65
|
+
|
|
64
66
|
return map;
|
|
65
67
|
}
|
|
66
68
|
});
|
|
67
69
|
|
|
68
|
-
}).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
|
|
70
|
+
}).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
|
|
71
|
+
//# sourceMappingURL=vendor/polyfills/Element/prototype/dataset.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataset.mjs","sources":["../../../../../../src/govuk/vendor/polyfills/Element/prototype/dataset.mjs"],"sourcesContent":["// @ts-nocheck\nimport '../../Object/defineProperty.mjs'\nimport '../../Element.mjs'\n\n(function(undefined) {\n\n // Detection from https://raw.githubusercontent.com/Financial-Times/polyfill-library/13cf7c340974d128d557580b5e2dafcd1b1192d1/polyfills/Element/prototype/dataset/detect.js\n var detect = (function(){\n if (!document.documentElement.dataset) {\n return false;\n }\n var el = document.createElement('div');\n el.setAttribute(\"data-a-b\", \"c\");\n return el.dataset && el.dataset.aB == \"c\";\n }())\n\n if (detect) return\n\n // Polyfill derived from https://raw.githubusercontent.com/Financial-Times/polyfill-library/13cf7c340974d128d557580b5e2dafcd1b1192d1/polyfills/Element/prototype/dataset/polyfill.js\n Object.defineProperty(Element.prototype, 'dataset', {\n get: function() {\n var element = this;\n var attributes = this.attributes;\n var map = {};\n\n for (var i = 0; i < attributes.length; i++) {\n var attribute = attributes[i];\n\n // This regex has been edited from the original polyfill, to add\n // support for period (.) separators in data-* attribute names. These\n // are allowed in the HTML spec, but were not covered by the original\n // polyfill's regex. We use periods in our i18n implementation.\n if (attribute && attribute.name && (/^data-\\w[.\\w-]*$/).test(attribute.name)) {\n var name = attribute.name;\n var value = attribute.value;\n\n var propName = name.substr(5).replace(/-./g, function (prop) {\n return prop.charAt(1).toUpperCase();\n });\n\n // If this browser supports __defineGetter__ and __defineSetter__,\n // continue using defineProperty. If not (like IE 8 and below), we use\n // a hacky fallback which at least gives an object in the right format\n if ('__defineGetter__' in Object.prototype && '__defineSetter__' in Object.prototype) {\n Object.defineProperty(map, propName, {\n enumerable: true,\n get: function() {\n return this.value;\n }.bind({value: value || ''}),\n set: function setter(name, value) {\n if (typeof value !== 'undefined') {\n this.setAttribute(name, value);\n } else {\n this.removeAttribute(name);\n }\n }.bind(element, name)\n });\n } else {\n map[propName] = value\n }\n\n }\n }\n\n return map;\n }\n });\n\n}).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});"],"names":[],"mappings":";;;AAAA;AACA,AAEA;AACA,CAAC,SAAS,SAAS,EAAE;;;EAGnB,IAAI,MAAM,IAAI,UAAU;IACtB,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,OAAO,EAAE;MACrC,OAAO,KAAK,CAAC;KACd;IACD,IAAI,EAAE,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IACvC,EAAE,CAAC,YAAY,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,KAAK,IAAI,EAAE,CAAC,CAAC;cAC5B,GAAG,EAAE,SAAS,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE;gBAChC,IAAI,OAAO,KAAK,KAAK,WAAW,EAAE;kBAChC,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;iBAChC,MAAM;kBACL,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;iBAC5B;eACF,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC;aACtB,CAAC,CAAC;WACJ,MAAM;YACL,GAAG,CAAC,QAAQ,CAAC,GAAG,MAAK;WACtB;;SAEF;OACF;;MAED,OAAO,GAAG,CAAC;KACZ;GACF,CAAC,CAAC;;CAEJ,EAAE,IAAI,CAAC,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,QAAQ,KAAK,OAAO,IAAI,IAAI,IAAI,IAAI,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,EAAE,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
(function (undefined) {
|
|
2
3
|
|
|
3
4
|
// Detection from https://raw.githubusercontent.com/Financial-Times/polyfill-service/1f3c09b402f65bf6e393f933a15ba63f1b86ef1f/packages/polyfill-library/polyfills/Element/prototype/matches/detect.js
|
|
4
5
|
var detect = (
|
|
5
6
|
'document' in this && "matches" in document.documentElement
|
|
6
|
-
)
|
|
7
|
+
);
|
|
7
8
|
|
|
8
9
|
if (detect) return
|
|
9
10
|
|
|
@@ -21,3 +22,4 @@
|
|
|
21
22
|
};
|
|
22
23
|
|
|
23
24
|
}).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
|
|
25
|
+
//# sourceMappingURL=vendor/polyfills/Element/prototype/matches.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"matches.mjs","sources":["../../../../../../src/govuk/vendor/polyfills/Element/prototype/matches.mjs"],"sourcesContent":["// @ts-nocheck\n(function (undefined) {\n\n // Detection from https://raw.githubusercontent.com/Financial-Times/polyfill-service/1f3c09b402f65bf6e393f933a15ba63f1b86ef1f/packages/polyfill-library/polyfills/Element/prototype/matches/detect.js\n var detect = (\n 'document' in this && \"matches\" in document.documentElement\n )\n\n if (detect) return\n\n // Polyfill from https://raw.githubusercontent.com/Financial-Times/polyfill-service/1f3c09b402f65bf6e393f933a15ba63f1b86ef1f/packages/polyfill-library/polyfills/Element/prototype/matches/polyfill.js\n Element.prototype.matches = Element.prototype.webkitMatchesSelector || Element.prototype.oMatchesSelector || Element.prototype.msMatchesSelector || Element.prototype.mozMatchesSelector || function matches(selector) {\n var element = this;\n var elements = (element.document || element.ownerDocument).querySelectorAll(selector);\n var index = 0;\n\n while (elements[index] && elements[index] !== element) {\n ++index;\n }\n\n return !!elements[index];\n };\n\n}).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});\n"],"names":[],"mappings":"AAAA;AACA,CAAC,UAAU,SAAS,EAAE;;;EAGpB,IAAI,MAAM;IACR,UAAU,IAAI,IAAI,IAAI,SAAS,IAAI,QAAQ,CAAC,eAAe;IAC5D;;EAED,IAAI,MAAM,EAAE,MAAM;;;EAGlB,OAAO,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC,SAAS,CAAC,qBAAqB,IAAI,OAAO,CAAC,SAAS,CAAC,gBAAgB,IAAI,OAAO,CAAC,SAAS,CAAC,iBAAiB,IAAI,OAAO,CAAC,SAAS,CAAC,kBAAkB,IAAI,SAAS,OAAO,CAAC,QAAQ,EAAE;IACrN,IAAI,OAAO,GAAG,IAAI,CAAC;IACnB,IAAI,QAAQ,GAAG,CAAC,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,aAAa,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IACtF,IAAI,KAAK,GAAG,CAAC,CAAC;;IAEd,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,QAAQ,CAAC,KAAK,CAAC,KAAK,OAAO,EAAE;MACrD,EAAE,KAAK,CAAC;KACT;;IAED,OAAO,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;GAC1B,CAAC;;CAEH,EAAE,IAAI,CAAC,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,QAAQ,KAAK,OAAO,IAAI,IAAI,IAAI,IAAI,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,EAAE,CAAC,CAAC"}
|
data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import '../../Object/defineProperty.mjs'
|
|
2
|
-
import '../../Element.mjs'
|
|
1
|
+
import '../../Object/defineProperty.mjs';
|
|
2
|
+
import '../../Element.mjs';
|
|
3
|
+
|
|
4
|
+
// @ts-nocheck
|
|
3
5
|
|
|
4
6
|
(function(undefined) {
|
|
5
7
|
|
|
6
8
|
// Detection from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/nextElementSibling/detect.js
|
|
7
9
|
var detect = (
|
|
8
10
|
'document' in this && "nextElementSibling" in document.documentElement
|
|
9
|
-
)
|
|
11
|
+
);
|
|
10
12
|
|
|
11
13
|
if (detect) return
|
|
12
14
|
|
|
@@ -20,3 +22,4 @@ import '../../Element.mjs'
|
|
|
20
22
|
});
|
|
21
23
|
|
|
22
24
|
}).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
|
|
25
|
+
//# sourceMappingURL=vendor/polyfills/Element/prototype/nextElementSibling.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nextElementSibling.mjs","sources":["../../../../../../src/govuk/vendor/polyfills/Element/prototype/nextElementSibling.mjs"],"sourcesContent":["// @ts-nocheck\nimport '../../Object/defineProperty.mjs'\nimport '../../Element.mjs'\n\n(function(undefined) {\n\n // Detection from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/nextElementSibling/detect.js\n var detect = (\n 'document' in this && \"nextElementSibling\" in document.documentElement\n )\n\n if (detect) return\n\n // Polyfill from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/nextElementSibling/polyfill.js\n Object.defineProperty(Element.prototype, \"nextElementSibling\", {\n get: function(){\n var el = this.nextSibling;\n while (el && el.nodeType !== 1) { el = el.nextSibling; }\n return el;\n }\n });\n\n}).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});\n"],"names":[],"mappings":";;;AAAA;AACA,AAEA;AACA,CAAC,SAAS,SAAS,EAAE;;;IAGjB,IAAI,MAAM;MACR,UAAU,IAAI,IAAI,IAAI,oBAAoB,IAAI,QAAQ,CAAC,eAAe;MACvE;;IAED,IAAI,MAAM,EAAE,MAAM;;;IAGlB,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,SAAS,EAAE,oBAAoB,EAAE;MAC7D,GAAG,EAAE,UAAU;QACb,IAAI,EAAE,GAAG,IAAI,CAAC,WAAW,CAAC;QAC1B,OAAO,EAAE,IAAI,EAAE,CAAC,QAAQ,KAAK,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,EAAE;QACxD,OAAO,EAAE,CAAC;OACX;KACF,CAAC,CAAC;;CAEN,EAAE,IAAI,CAAC,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,QAAQ,KAAK,OAAO,IAAI,IAAI,IAAI,IAAI,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import '../../Object/defineProperty.mjs'
|
|
2
|
-
import '../../Element.mjs'
|
|
1
|
+
import '../../Object/defineProperty.mjs';
|
|
2
|
+
import '../../Element.mjs';
|
|
3
|
+
|
|
4
|
+
// @ts-nocheck
|
|
3
5
|
|
|
4
6
|
(function(undefined) {
|
|
5
7
|
|
|
6
8
|
// Detection from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/previousElementSibling/detect.js
|
|
7
9
|
var detect = (
|
|
8
10
|
'document' in this && "previousElementSibling" in document.documentElement
|
|
9
|
-
)
|
|
11
|
+
);
|
|
10
12
|
|
|
11
13
|
if (detect) return
|
|
12
14
|
|
|
@@ -20,3 +22,4 @@ import '../../Element.mjs'
|
|
|
20
22
|
});
|
|
21
23
|
|
|
22
24
|
}).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
|
|
25
|
+
//# sourceMappingURL=vendor/polyfills/Element/prototype/previousElementSibling.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"previousElementSibling.mjs","sources":["../../../../../../src/govuk/vendor/polyfills/Element/prototype/previousElementSibling.mjs"],"sourcesContent":["// @ts-nocheck\nimport '../../Object/defineProperty.mjs'\nimport '../../Element.mjs'\n\n(function(undefined) {\n\n // Detection from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/previousElementSibling/detect.js\n var detect = (\n 'document' in this && \"previousElementSibling\" in document.documentElement\n )\n\n if (detect) return\n\n // Polyfill from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/previousElementSibling/polyfill.js\n Object.defineProperty(Element.prototype, 'previousElementSibling', {\n get: function(){\n var el = this.previousSibling;\n while (el && el.nodeType !== 1) { el = el.previousSibling; }\n return el;\n }\n });\n\n}).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});\n"],"names":[],"mappings":";;;AAAA;AACA,AAEA;AACA,CAAC,SAAS,SAAS,EAAE;;;IAGjB,IAAI,MAAM;MACR,UAAU,IAAI,IAAI,IAAI,wBAAwB,IAAI,QAAQ,CAAC,eAAe;MAC3E;;IAED,IAAI,MAAM,EAAE,MAAM;;;IAGlB,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,SAAS,EAAE,wBAAwB,EAAE;MACjE,GAAG,EAAE,UAAU;QACb,IAAI,EAAE,GAAG,IAAI,CAAC,eAAe,CAAC;QAC9B,OAAO,EAAE,IAAI,EAAE,CAAC,QAAQ,KAAK,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,EAAE;QAC5D,OAAO,EAAE,CAAC;OACX;KACF,CAAC,CAAC;;CAEN,EAAE,IAAI,CAAC,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,QAAQ,KAAK,OAAO,IAAI,IAAI,IAAI,IAAI,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import './Document.mjs'
|
|
1
|
+
import './Document.mjs';
|
|
2
|
+
|
|
3
|
+
// @ts-nocheck
|
|
2
4
|
|
|
3
5
|
(function(undefined) {
|
|
4
6
|
|
|
5
7
|
// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Element/detect.js
|
|
6
|
-
var detect = ('Element' in this && 'HTMLElement' in this)
|
|
8
|
+
var detect = ('Element' in this && 'HTMLElement' in this);
|
|
7
9
|
|
|
8
10
|
if (detect) return
|
|
9
11
|
|
|
@@ -112,3 +114,4 @@ if (detect) return
|
|
|
112
114
|
|
|
113
115
|
})
|
|
114
116
|
.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
|
|
117
|
+
//# sourceMappingURL=vendor/polyfills/Element.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Element.mjs","sources":["../../../../src/govuk/vendor/polyfills/Element.mjs"],"sourcesContent":["// @ts-nocheck\nimport './Document.mjs'\n\n(function(undefined) {\n\n// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Element/detect.js\nvar detect = ('Element' in this && 'HTMLElement' in this)\n\nif (detect) return\n\n// Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Element&flags=always\n(function () {\n\n\t// IE8\n\tif (window.Element && !window.HTMLElement) {\n\t\twindow.HTMLElement = window.Element;\n\t\treturn;\n\t}\n\n\t// create Element constructor\n\twindow.Element = window.HTMLElement = new Function('return function Element() {}')();\n\n\t// generate sandboxed iframe\n\tvar vbody = document.appendChild(document.createElement('body'));\n\tvar frame = vbody.appendChild(document.createElement('iframe'));\n\n\t// use sandboxed iframe to replicate Element functionality\n\tvar frameDocument = frame.contentWindow.document;\n\tvar prototype = Element.prototype = frameDocument.appendChild(frameDocument.createElement('*'));\n\tvar cache = {};\n\n\t// polyfill Element.prototype on an element\n\tvar shiv = function (element, deep) {\n\t\tvar\n\t\tchildNodes = element.childNodes || [],\n\t\tindex = -1,\n\t\tkey, value, childNode;\n\n\t\tif (element.nodeType === 1 && element.constructor !== Element) {\n\t\t\telement.constructor = Element;\n\n\t\t\tfor (key in cache) {\n\t\t\t\tvalue = cache[key];\n\t\t\t\telement[key] = value;\n\t\t\t}\n\t\t}\n\n\t\twhile (childNode = deep && childNodes[++index]) {\n\t\t\tshiv(childNode, deep);\n\t\t}\n\n\t\treturn element;\n\t};\n\n\tvar elements = document.getElementsByTagName('*');\n\tvar nativeCreateElement = document.createElement;\n\tvar interval;\n\tvar loopLimit = 100;\n\n\tprototype.attachEvent('onpropertychange', function (event) {\n\t\tvar\n\t\tpropertyName = event.propertyName,\n\t\tnonValue = !cache.hasOwnProperty(propertyName),\n\t\tnewValue = prototype[propertyName],\n\t\toldValue = cache[propertyName],\n\t\tindex = -1,\n\t\telement;\n\n\t\twhile (element = elements[++index]) {\n\t\t\tif (element.nodeType === 1) {\n\t\t\t\tif (nonValue || element[propertyName] === oldValue) {\n\t\t\t\t\telement[propertyName] = newValue;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tcache[propertyName] = newValue;\n\t});\n\n\tprototype.constructor = Element;\n\n\tif (!prototype.hasAttribute) {\n\t\t// <Element>.hasAttribute\n\t\tprototype.hasAttribute = function hasAttribute(name) {\n\t\t\treturn this.getAttribute(name) !== null;\n\t\t};\n\t}\n\n\t// Apply Element prototype to the pre-existing DOM as soon as the body element appears.\n\tfunction bodyCheck() {\n\t\tif (!(loopLimit--)) clearTimeout(interval);\n\t\tif (document.body && !document.body.prototype && /(complete|interactive)/.test(document.readyState)) {\n\t\t\tshiv(document, true);\n\t\t\tif (interval && document.body.prototype) clearTimeout(interval);\n\t\t\treturn (!!document.body.prototype);\n\t\t}\n\t\treturn false;\n\t}\n\tif (!bodyCheck()) {\n\t\tdocument.onreadystatechange = bodyCheck;\n\t\tinterval = setInterval(bodyCheck, 25);\n\t}\n\n\t// Apply to any new elements created after load\n\tdocument.createElement = function createElement(nodeName) {\n\t\tvar element = nativeCreateElement(String(nodeName).toLowerCase());\n\t\treturn shiv(element);\n\t};\n\n\t// remove sandboxed iframe\n\tdocument.removeChild(vbody);\n}());\n\n})\n.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});\n"],"names":[],"mappings":";;AAAA;AACA,AACA;AACA,CAAC,SAAS,SAAS,EAAE;;;AAGrB,IAAI,MAAM,IAAI,SAAS,IAAI,IAAI,IAAI,aAAa,IAAI,IAAI,EAAC;;AAEzD,IAAI,MAAM,EAAE,MAAM;;;AAGlB,CAAC,YAAY;;;CAGZ,IAAI,MAAM,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE;EAC1C,MAAM,CAAC,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC;EACpC,OAAO;EACP;;;CAGD,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC,WAAW,GAAG,IAAI,QAAQ,CAAC,8BAA8B,CAAC,EAAE,CAAC;;;CAGrF,IAAI,KAAK,GAAG,QAAQ,CAAC,WAAW,CAAC,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;CACjE,IAAI,KAAK,GAAG,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC,aAAa,CAA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EACxC,QAAQ,GAAG,WAAW,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;EACtC;;;CAGD,QAAQ,CAAC,aAAa,GAAG,SAAS,aAAa,CAAC,QAAQ,EAAE;EACzD,IAAI,OAAO,GAAG,mBAAmB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;EAClE,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;EACrB,CAAC;;;CAGF,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;CAC5B,EAAE,EAAE;;CAEJ;CACA,IAAI,CAAC,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,QAAQ,KAAK,OAAO,IAAI,IAAI,IAAI,IAAI,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import './Window.mjs'
|
|
2
|
-
import './Element.mjs'
|
|
3
|
-
import './Object/defineProperty.mjs'
|
|
1
|
+
import './Window.mjs';
|
|
2
|
+
import './Element.mjs';
|
|
3
|
+
import './Object/defineProperty.mjs';
|
|
4
|
+
|
|
5
|
+
// @ts-nocheck
|
|
4
6
|
|
|
5
7
|
(function(undefined) {
|
|
6
8
|
|
|
@@ -20,7 +22,7 @@ var detect = (
|
|
|
20
22
|
return false;
|
|
21
23
|
}
|
|
22
24
|
}(this))
|
|
23
|
-
)
|
|
25
|
+
);
|
|
24
26
|
|
|
25
27
|
if (detect) return
|
|
26
28
|
|
|
@@ -250,3 +252,4 @@ if (detect) return
|
|
|
250
252
|
|
|
251
253
|
})
|
|
252
254
|
.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
|
|
255
|
+
//# sourceMappingURL=vendor/polyfills/Event.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Event.mjs","sources":["../../../../src/govuk/vendor/polyfills/Event.mjs"],"sourcesContent":["// @ts-nocheck\nimport './Window.mjs'\nimport './Element.mjs'\nimport './Object/defineProperty.mjs'\n\n(function(undefined) {\n\n// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Event/detect.js\nvar detect = (\n (function(global) {\n\n \tif (!('Event' in global)) return false;\n \tif (typeof global.Event === 'function') return true;\n\n \ttry {\n\n \t\t// In IE 9-11, the Event object exists but cannot be instantiated\n \t\tnew Event('click');\n \t\treturn true;\n \t} catch(e) {\n \t\treturn false;\n \t}\n }(this))\n)\n\nif (detect) return\n\n// Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Event&flags=always\n(function () {\n\tvar unlistenableWindowEvents = {\n\t\tclick: 1,\n\t\tdblclick: 1,\n\t\tkeyup: 1,\n\t\tkeypress: 1,\n\t\tkeydown: 1,\n\t\tmousedown: 1,\n\t\tmouseup: 1,\n\t\tmousemove: 1,\n\t\tmouseover: 1,\n\t\tmouseenter: 1,\n\t\tmouseleave: 1,\n\t\tmouseout: 1,\n\t\tstorage: 1,\n\t\tstoragecommit: 1,\n\t\ttextinput: 1\n\t};\n\n\t// This polyfill depends on availability of `document` so will not run in a worker\n\t// However, we asssume there are no browsers with worker support that lack proper\n\t// support for `Event` within the worker\n\tif (typeof document === 'undefined' || typeof window === 'undefined') return;\n\n\tfunction indexOf(array, element) {\n\t\tvar\n\t\tindex = -1,\n\t\tlength = array.length;\n\n\t\twhile (++index < length) {\n\t\t\tif (index in array && array[index] === element) {\n\t\t\t\treturn index;\n\t\t\t}\n\t\t}\n\n\t\treturn -1;\n\t}\n\n\tvar existingProto = (window.Event && window.Event.prototype) || null;\n\twindow.Event = Window.prototype.Event = function Event(type, eventInitDict) {\n\t\tif (!type) {\n\t\t\tthrow new Error('Not enough arguments');\n\t\t}\n\n\t\tvar event;\n\t\t// Shortcut if browser supports createEvent\n\t\tif ('createEvent' in document) {\n\t\t\tevent = document.createEvent('Event');\n\t\t\tvar bubbles = eventInitDict && eventInitDict.bubbles !== undefined ? eventInitDict.bubbles : false;\n\t\t\tvar cancelable = eventInitDict && eventInitDict.cancelable !== undefined ? eventInitDict.cancelable : false;\n\n\t\t\tevent.initEvent(type, bubbles, cancelable);\n\n\t\t\treturn event;\n\t\t}\n\n\t\tevent = document.createEventObject();\n\n\t\tevent.type = type;\n\t\tevent.bubbles = eventInitDict && eventInitDict.bubbles !== undefined ? eventInitDict.bubbles : false;\n\t\tevent.cancelable = eventInitDict && eventInitDict.cancelable !== undefined ? eventInitDict.cancelable : false;\n\n\t\treturn event;\n\t};\n\tif (existingProto) {\n\t\tObject.defineProperty(window.Event, 'prototype', {\n\t\t\tconfigurable: false,\n\t\t\tenumerable: false,\n\t\t\twritable: true,\n\t\t\tvalue: existingProto\n\t\t});\n\t}\n\n\tif (!('createEvent' in document)) {\n\t\twindow.addEventListener = Window.prototype.addEventListener = Document.prototype.addEventListener = Element.prototype.addEventListener = function addEventListener() {\n\t\t\tvar\n\t\t\telement = this,\n\t\t\ttype = arguments[0],\n\t\t\tlistener = arguments[1];\n\n\t\t\tif (element === window && type in unlistenableWindowEvents) {\n\t\t\t\tthrow new Error('In IE8 the event: ' + type + ' is not available on the window object. Please see https://github.com/Financial-Times/polyfill-service/issues/317 for more information.');\n\t\t\t}\n\n\t\t\tif (!element._events) {\n\t\t\t\telement._events = {};\n\t\t\t}\n\n\t\t\tif (!element._events[type]) {\n\t\t\t\telement._events[type] = function (event) {\n\t\t\t\t\tvar\n\t\t\t\t\tlist = element._events[event.type].list,\n\t\t\t\t\tevents = list.slice(),\n\t\t\t\t\tindex = -1,\n\t\t\t\t\tlength = events.length,\n\t\t\t\t\teventElement;\n\n\t\t\t\t\tevent.preventDefault = function preventDefault() {\n\t\t\t\t\t\tif (event.cancelable !== false) {\n\t\t\t\t\t\t\tevent.returnValue = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\n\t\t\t\t\tevent.stopPropagation = function stopPropagation() {\n\t\t\t\t\t\tevent.cancelBubble = true;\n\t\t\t\t\t};\n\n\t\t\t\t\tevent.stopImmediatePropagation = function stopImmediatePropagation() {\n\t\t\t\t\t\tevent.cancelBubble = true;\n\t\t\t\t\t\tevent.cancelImmediate = true;\n\t\t\t\t\t};\n\n\t\t\t\t\tevent.currentTarget = element;\n\t\t\t\t\tevent.relatedTarget = event.fromElement || null;\n\t\t\t\t\tevent.target = event.target || event.srcElement || element;\n\t\t\t\t\tevent.timeStamp = new Date().getTime();\n\n\t\t\t\t\tif (event.clientX) {\n\t\t\t\t\t\tevent.pageX = event.clientX + document.documentElement.scrollLeft;\n\t\t\t\t\t\tevent.pageY = event.clientY + document.documentElement.scrollTop;\n\t\t\t\t\t}\n\n\t\t\t\t\twhile (++index < length && !event.cancelImmediate) {\n\t\t\t\t\t\tif (index in events) {\n\t\t\t\t\t\t\teventElement = events[index];\n\n\t\t\t\t\t\t\tif (indexOf(list, eventElement) !== -1 && typeof eventElement === 'function') {\n\t\t\t\t\t\t\t\teventElement.call(element, event);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\telement._events[type].list = [];\n\n\t\t\t\tif (element.attachEvent) {\n\t\t\t\t\telement.attachEvent('on' + type, element._events[type]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\telement._events[type].list.push(listener);\n\t\t};\n\n\t\twindow.removeEventListener = Window.prototype.removeEventListener = Document.prototype.removeEventListener = Element.prototype.removeEventListener = function removeEventListener() {\n\t\t\tvar\n\t\t\telement = this,\n\t\t\ttype = arguments[0],\n\t\t\tlistener = arguments[1],\n\t\t\tindex;\n\n\t\t\tif (element._events && element._events[type] && element._events[type].list) {\n\t\t\t\tindex = indexOf(element._events[type].list, listener);\n\n\t\t\t\tif (index !== -1) {\n\t\t\t\t\telement._events[type].list.splice(index, 1);\n\n\t\t\t\t\tif (!element._events[type].list.length) {\n\t\t\t\t\t\tif (element.detachEvent) {\n\t\t\t\t\t\t\telement.detachEvent('on' + type, element._events[type]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdelete element._events[type];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\twindow.dispatchEvent = Window.prototype.dispatchEvent = Document.prototype.dispatchEvent = Element.prototype.dispatchEvent = function dispatchEvent(event) {\n\t\t\tif (!arguments.length) {\n\t\t\t\tthrow new Error('Not enough arguments');\n\t\t\t}\n\n\t\t\tif (!event || typeof event.type !== 'string') {\n\t\t\t\tthrow new Error('DOM Events Exception 0');\n\t\t\t}\n\n\t\t\tvar element = this, type = event.type;\n\n\t\t\ttry {\n\t\t\t\tif (!event.bubbles) {\n\t\t\t\t\tevent.cancelBubble = true;\n\n\t\t\t\t\tvar cancelBubbleEvent = function (event) {\n\t\t\t\t\t\tevent.cancelBubble = true;\n\n\t\t\t\t\t\t(element || window).detachEvent('on' + type, cancelBubbleEvent);\n\t\t\t\t\t};\n\n\t\t\t\t\tthis.attachEvent('on' + type, cancelBubbleEvent);\n\t\t\t\t}\n\n\t\t\t\tthis.fireEvent('on' + type, event);\n\t\t\t} catch (error) {\n\t\t\t\tevent.target = element;\n\n\t\t\t\tdo {\n\t\t\t\t\tevent.currentTarget = element;\n\n\t\t\t\t\tif ('_events' in element && typeof element._events[type] === 'function') {\n\t\t\t\t\t\telement._events[type].call(element, event);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (typeof element['on' + type] === 'function') {\n\t\t\t\t\t\telement['on' + type].call(element, event);\n\t\t\t\t\t}\n\n\t\t\t\t\telement = element.nodeType === 9 ? element.parentWindow : element.parentNode;\n\t\t\t\t} while (element && !event.cancelBubble);\n\t\t\t}\n\n\t\t\treturn true;\n\t\t};\n\n\t\t// Add the DOMContentLoaded Event\n\t\tdocument.attachEvent('onreadystatechange', function() {\n\t\t\tif (document.readyState === 'complete') {\n\t\t\t\tdocument.dispatchEvent(new Event('DOMContentLoaded', {\n\t\t\t\t\tbubbles: true\n\t\t\t\t}));\n\t\t\t}\n\t\t});\n\t}\n}());\n\n})\n.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});\n"],"names":[],"mappings":";;;;AAAA;AACA,AAGA;AACA,CAAC,SAAS,SAAS,EAAE;;;AAGrB,IAAI,MAAM;GACP,SAAS,MAAM,EAAE;;GAEjB,IAAI,EAAE,OAAO,IAAI,MAAM,CAAC,EAAE,OAAO,KAAK,CAAC;GACvC,IAAI,OAAO,MAAM,CAAC,KAAK,KAAK,UAAU,EAAE,OAAO,IAAI,CAAC;;GAEpD,IAAI;;;IAGH,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;IACnB,OAAO,IAAI,CAAC;IACZ,CAAC,MAAM,CAAC,EAAE;IACV,OAAO,KAAK,CAAC;IACb;GACD,CAAC,IAAI,CAAC;EACR;;AAED,IAAI,MAAM,EAAE,MAAM;;;AAGlB,CAAC,YAAY;CACZ,IAAI,wBAAwB,GAAG;EAC9B,KAAK,EAAE,CAAC;EACR,QAAQ,EAAE,CAAC;EACX,KAAK,EAAE,CAAC;EACR,QAAQ,EAAE,CAAC;EACX,OAAO,EAAE,CAAC;EACV,SAAS,EAAE,CAAC;EACZ,OAAO,EAAE,CAAC;EACV,SAAS,EAAE,CAAC;EACZ,SAAS,EAAE,CAAC;EACZ,UAAU,EAAE,CAAC;EACb,UAAU,EAAE,CAAC;EACb,QAAQ,EAAE,CAAC;EACX,OAAO,EAAE,CAAC;EACV,aAAa,EAAE,CAAC;EAChB,SAAS,EAAE,CAAC;EACZ,CAAC;;;;;CAKF,IAAI,OAAO,QAAQ,KAAK,WAAW,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,OAAO;;CAE7E,SAAS,OAAO,CAAC,KAAK,EAAE,OAAO,EAAE;EAChC;EACA,KAAK,GAAG,CAAC,CAAC;EACV,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;;EAEtB,OAAO,EAAE,KAAK,GAAG,MAAM,EAAE;GACxB,IAAI,KAAK,IAAI,KAAK,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,OAAO,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OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,KAAK,UAAU,EAAE;MAC/C,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;MAC1C;;KAED,OAAO,GAAG,OAAO,CAAC,QAAQ,KAAK,CAAC,GAAG,OAAO,CAAC,YAAY,GAAG,OAAO,CAAC,UAAU,CAAC;KAC7E,QAAQ,OAAO,IAAI,CAAC,KAAK,CAAC,YAAY,EAAE;IACzC;;GAED,OAAO,IAAI,CAAC;GACZ,CAAC;;;EAGF,QAAQ,CAAC,WAAW,CAAC,oBAAoB,EAAE,WAAW;GACrD,IAAI,QAAQ,CAAC,UAAU,KAAK,UAAU,EAAE;IACvC,QAAQ,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,kBAAkB,EAAE;KACpD,OAAO,EAAE,IAAI;KACb,CAAC,CAAC,CAAC;IACJ;GACD,CAAC,CAAC;EACH;CACD,EAAE,EAAE;;CAEJ;CACA,IAAI,CAAC,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,QAAQ,KAAK,OAAO,IAAI,IAAI,IAAI,IAAI,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import '../../Object/defineProperty.mjs'
|
|
1
|
+
import '../../Object/defineProperty.mjs';
|
|
2
|
+
|
|
3
|
+
// @ts-nocheck
|
|
2
4
|
|
|
3
5
|
(function(undefined) {
|
|
4
6
|
// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Function/prototype/bind/detect.js
|
|
5
|
-
var detect = 'bind' in Function.prototype
|
|
7
|
+
var detect = 'bind' in Function.prototype;
|
|
6
8
|
|
|
7
9
|
if (detect) return
|
|
8
10
|
|
|
@@ -157,3 +159,4 @@ import '../../Object/defineProperty.mjs'
|
|
|
157
159
|
});
|
|
158
160
|
})
|
|
159
161
|
.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
|
|
162
|
+
//# sourceMappingURL=vendor/polyfills/Function/prototype/bind.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bind.mjs","sources":["../../../../../../src/govuk/vendor/polyfills/Function/prototype/bind.mjs"],"sourcesContent":["// @ts-nocheck\nimport '../../Object/defineProperty.mjs'\n\n(function(undefined) {\n // Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Function/prototype/bind/detect.js\n var detect = 'bind' in Function.prototype\n\n if (detect) return\n\n // Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Function.prototype.bind&flags=always\n Object.defineProperty(Function.prototype, 'bind', {\n value: function bind(that) { // .length is 1\n // add necessary es5-shim utilities\n var $Array = Array;\n var $Object = Object;\n var ObjectPrototype = $Object.prototype;\n var ArrayPrototype = $Array.prototype;\n var Empty = function Empty() {};\n var to_string = ObjectPrototype.toString;\n var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n var isCallable; /* inlined from https://npmjs.com/is-callable */ var fnToStr = Function.prototype.toString, tryFunctionObject = function tryFunctionObject(value) { try { fnToStr.call(value); return true; } catch (e) { return false; } }, fnClass = '[object Function]', genClass = '[object GeneratorFunction]'; isCallable = function isCallable(value) { if (typeof value !== 'function') { return false; } if (hasToStringTag) { return tryFunctionObject(value); } var strClass = to_string.call(value); return strClass === fnClass || strClass === genClass; };\n var array_slice = ArrayPrototype.slice;\n var array_concat = ArrayPrototype.concat;\n var array_push = ArrayPrototype.push;\n var max = Math.max;\n // /add necessary es5-shim utilities\n\n // 1. Let Target be the this value.\n var target = this;\n // 2. If IsCallable(Target) is false, throw a TypeError exception.\n if (!isCallable(target)) {\n throw new TypeError('Function.prototype.bind called on incompatible ' + target);\n }\n // 3. Let A be a new (possibly empty) internal list of all of the\n // argument values provided after thisArg (arg1, arg2 etc), in order.\n // XXX slicedArgs will stand in for \"A\" if used\n var args = array_slice.call(arguments, 1); // for normal call\n // 4. Let F be a new native ECMAScript object.\n // 11. Set the [[Prototype]] internal property of F to the standard\n // built-in Function prototype object as specified in 15.3.3.1.\n // 12. Set the [[Call]] internal property of F as described in\n // 15.3.4.5.1.\n // 13. Set the [[Construct]] internal property of F as described in\n // 15.3.4.5.2.\n // 14. Set the [[HasInstance]] internal property of F as described in\n // 15.3.4.5.3.\n var bound;\n var binder = function () {\n\n if (this instanceof bound) {\n // 15.3.4.5.2 [[Construct]]\n // When the [[Construct]] internal method of a function object,\n // F that was created using the bind function is called with a\n // list of arguments ExtraArgs, the following steps are taken:\n // 1. Let target be the value of F's [[TargetFunction]]\n // internal property.\n // 2. If target has no [[Construct]] internal method, a\n // TypeError exception is thrown.\n // 3. Let boundArgs be the value of F's [[BoundArgs]] internal\n // property.\n // 4. Let args be a new list containing the same values as the\n // list boundArgs in the same order followed by the same\n // values as the list ExtraArgs in the same order.\n // 5. Return the result of calling the [[Construct]] internal\n // method of target providing args as the arguments.\n\n var result = target.apply(\n this,\n array_concat.call(args, array_slice.call(arguments))\n );\n if ($Object(result) === result) {\n return result;\n }\n return this;\n\n } else {\n // 15.3.4.5.1 [[Call]]\n // When the [[Call]] internal method of a function object, F,\n // which was created using the bind function is called with a\n // this value and a list of arguments ExtraArgs, the following\n // steps are taken:\n // 1. Let boundArgs be the value of F's [[BoundArgs]] internal\n // property.\n // 2. Let boundThis be the value of F's [[BoundThis]] internal\n // property.\n // 3. Let target be the value of F's [[TargetFunction]] internal\n // property.\n // 4. Let args be a new list containing the same values as the\n // list boundArgs in the same order followed by the same\n // values as the list ExtraArgs in the same order.\n // 5. Return the result of calling the [[Call]] internal method\n // of target providing boundThis as the this value and\n // providing args as the arguments.\n\n // equiv: target.call(this, ...boundArgs, ...args)\n return target.apply(\n that,\n array_concat.call(args, array_slice.call(arguments))\n );\n\n }\n\n };\n\n // 15. If the [[Class]] internal property of Target is \"Function\", then\n // a. Let L be the length property of Target minus the length of A.\n // b. Set the length own property of F to either 0 or L, whichever is\n // larger.\n // 16. Else set the length own property of F to 0.\n\n var boundLength = max(0, target.length - args.length);\n\n // 17. Set the attributes of the length own property of F to the values\n // specified in 15.3.5.1.\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n array_push.call(boundArgs, '$' + i);\n }\n\n // XXX Build a dynamic function with desired amount of arguments is the only\n // way to set the length property of a function.\n // In environments where Content Security Policies enabled (Chrome extensions,\n // for ex.) all use of eval or Function costructor throws an exception.\n // However in all of these environments Function.prototype.bind exists\n // and so this code will never be executed.\n bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this, arguments); }')(binder);\n\n if (target.prototype) {\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n // Clean up dangling references.\n Empty.prototype = null;\n }\n\n // TODO\n // 18. Set the [[Extensible]] internal property of F to true.\n\n // TODO\n // 19. Let thrower be the [[ThrowTypeError]] function Object (13.2.3).\n // 20. Call the [[DefineOwnProperty]] internal method of F with\n // arguments \"caller\", PropertyDescriptor {[[Get]]: thrower, [[Set]]:\n // thrower, [[Enumerable]]: false, [[Configurable]]: false}, and\n // false.\n // 21. Call the [[DefineOwnProperty]] internal method of F with\n // arguments \"arguments\", PropertyDescriptor {[[Get]]: thrower,\n // [[Set]]: thrower, [[Enumerable]]: false, [[Configurable]]: false},\n // and false.\n\n // TODO\n // NOTE Function objects created using Function.prototype.bind do not\n // have a prototype property or the [[Code]], [[FormalParameters]], and\n // [[Scope]] internal properties.\n // XXX can't delete prototype in pure-js.\n\n // 22. Return F.\n return bound;\n }\n });\n})\n.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});\n"],"names":[],"mappings":";;AAAA;AACA,AACA;AACA,CAAC,SAAS,SAAS,EAAE;;EAEnB,IAAI,MAAM,GAAG,MAAM,IAAI,QAAQ,CAAC,UAAS;;EAEzC,IAAI,MAAM,EAAE,MAAM;;;EAGlB,MAAM,CAAC,cAAc,CAAC,Q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C,CAAC;WACvC;;;;;;;;UAQD,KAAK,GAAG,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,4CAA4C,CAAC,CAAC,MAAM,CAAC,CAAC;;UAE7H,IAAI,MAAM,CAAC,SAAS,EAAE;cAClB,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;cACnC,KAAK,CAAC,SAAS,GAAG,IAAI,KAAK,EAAE,CAAC;;cAE9B,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;WAC1B;;;;;;;;;;;;;;;;;;;;;;;UAuBD,OAAO,KAAK,CAAC;OAChB;GACJ,CAAC,CAAC;CACJ;CACA,IAAI,CAAC,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,QAAQ,KAAK,OAAO,IAAI,IAAI,IAAI,IAAI,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
(function (undefined) {
|
|
2
3
|
|
|
3
4
|
// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Object/defineProperty/detect.js
|
|
4
5
|
var detect = (
|
|
@@ -13,7 +14,7 @@ var detect = (
|
|
|
13
14
|
return false
|
|
14
15
|
}
|
|
15
16
|
}())
|
|
16
|
-
)
|
|
17
|
+
);
|
|
17
18
|
|
|
18
19
|
if (detect) return
|
|
19
20
|
|
|
@@ -84,3 +85,4 @@ if (detect) return
|
|
|
84
85
|
}(Object.defineProperty));
|
|
85
86
|
})
|
|
86
87
|
.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
|
|
88
|
+
//# sourceMappingURL=vendor/polyfills/Object/defineProperty.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defineProperty.mjs","sources":["../../../../../src/govuk/vendor/polyfills/Object/defineProperty.mjs"],"sourcesContent":["// @ts-nocheck\n(function (undefined) {\n\n// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Object/defineProperty/detect.js\nvar detect = (\n // In IE8, defineProperty could only act on DOM elements, so full support\n // for the feature requires the ability to set a property on an arbitrary object\n 'defineProperty' in Object && (function() {\n \ttry {\n \t\tvar a = {};\n \t\tObject.defineProperty(a, 'test', {value:42});\n \t\treturn true;\n \t} catch(e) {\n \t\treturn false\n \t}\n }())\n)\n\nif (detect) return\n\n// Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Object.defineProperty&flags=always\n(function (nativeDefineProperty) {\n\n\tvar supportsAccessors = Object.prototype.hasOwnProperty('__defineGetter__');\n\tvar ERR_ACCESSORS_NOT_SUPPORTED = 'Getters & setters cannot be defined on this javascript engine';\n\tvar ERR_VALUE_ACCESSORS = 'A property cannot both have accessors and be writable or have a value';\n\n\tObject.defineProperty = function defineProperty(object, property, descriptor) {\n\n\t\t// Where native support exists, assume it\n\t\tif (nativeDefineProperty && (object === window || object === document || object === Element.prototype || object instanceof Element)) {\n\t\t\treturn nativeDefineProperty(object, property, descriptor);\n\t\t}\n\n\t\tif (object === null || !(object instanceof Object || typeof object === 'object')) {\n\t\t\tthrow new TypeError('Object.defineProperty called on non-object');\n\t\t}\n\n\t\tif (!(descriptor instanceof Object)) {\n\t\t\tthrow new TypeError('Property description must be an object');\n\t\t}\n\n\t\tvar propertyString = String(property);\n\t\tvar hasValueOrWritable = 'value' in descriptor || 'writable' in descriptor;\n\t\tvar getterType = 'get' in descriptor && typeof descriptor.get;\n\t\tvar setterType = 'set' in descriptor && typeof descriptor.set;\n\n\t\t// handle descriptor.get\n\t\tif (getterType) {\n\t\t\tif (getterType !== 'function') {\n\t\t\t\tthrow new TypeError('Getter must be a function');\n\t\t\t}\n\t\t\tif (!supportsAccessors) {\n\t\t\t\tthrow new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);\n\t\t\t}\n\t\t\tif (hasValueOrWritable) {\n\t\t\t\tthrow new TypeError(ERR_VALUE_ACCESSORS);\n\t\t\t}\n\t\t\tObject.__defineGetter__.call(object, propertyString, descriptor.get);\n\t\t} else {\n\t\t\tobject[propertyString] = descriptor.value;\n\t\t}\n\n\t\t// handle descriptor.set\n\t\tif (setterType) {\n\t\t\tif (setterType !== 'function') {\n\t\t\t\tthrow new TypeError('Setter must be a function');\n\t\t\t}\n\t\t\tif (!supportsAccessors) {\n\t\t\t\tthrow new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);\n\t\t\t}\n\t\t\tif (hasValueOrWritable) {\n\t\t\t\tthrow new TypeError(ERR_VALUE_ACCESSORS);\n\t\t\t}\n\t\t\tObject.__defineSetter__.call(object, propertyString, descriptor.set);\n\t\t}\n\n\t\t// OK to define value unconditionally - if a getter has been specified as well, an error would be thrown above\n\t\tif ('value' in descriptor) {\n\t\t\tobject[propertyString] = descriptor.value;\n\t\t}\n\n\t\treturn object;\n\t};\n}(Object.defineProperty));\n})\n.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});\n"],"names":[],"mappings":"AAAA;AACA,CAAC,UAAU,SAAS,EAAE;;;AAGtB,IAAI,MAAM;;;EAGR,gBAAgB,IAAI,MAAM,KAAK,WAAW;GACzC,IAAI;IACH,IAAI,CAAC,GAAG,EAAE,CAAC;IACX,MAAM,CAAC,cAAc,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;IAC7C,OAAO,IAAI,CAAC;IACZ,CAAC,MAAM,CAAC,EAAE;IACV,OAAO,KAAK;IACZ;GACD,EAAE,CAAC;EACL;;AAED,IAAI,MAAM,EAAE,MAAM;;;AAGlB,CAAC,UAAU,oBAAoB,EAAE;;CAEhC,IAAI,iBAAiB,GAAG,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAAC;CAC5E,IAAI,2BAA2B,GAAG,+DAA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AC,IAAI,CAAC,MAAM,EAAE,cAAc,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;GACrE,MAAM;GACN,MAAM,CAAC,cAAc,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC;GAC1C;;;EAGD,IAAI,UAAU,EAAE;GACf,IAAI,UAAU,KAAK,UAAU,EAAE;IAC9B,MAAM,IAAI,SAAS,CAAC,2BAA2B,CAAC,CAAC;IACjD;GACD,IAAI,CAAC,iBAAiB,EAAE;IACvB,MAAM,IAAI,SAAS,CAAC,2BAA2B,CAAC,CAAC;IACjD;GACD,IAAI,kBAAkB,EAAE;IACvB,MAAM,IAAI,SAAS,CAAC,mBAAmB,CAAC,CAAC;IACzC;GACD,MAAM,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,EAAE,cAAc,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;GACrE;;;EAGD,IAAI,OAAO,IAAI,UAAU,EAAE;GAC1B,MAAM,CAAC,cAAc,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC;GAC1C;;EAED,OAAO,MAAM,CAAC;EACd,CAAC;CACF,CAAC,MAAM,CAAC,cAAc,CAAC,EAAE;CACzB;CACA,IAAI,CAAC,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,QAAQ,KAAK,OAAO,IAAI,IAAI,IAAI,IAAI,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
(function (undefined) {
|
|
2
3
|
|
|
3
4
|
// Detection from https://github.com/mdn/content/blob/cf607d68522cd35ee7670782d3ee3a361eaef2e4/files/en-us/web/javascript/reference/global_objects/string/trim/index.md#polyfill
|
|
4
|
-
var detect = ('trim' in String.prototype)
|
|
5
|
-
|
|
5
|
+
var detect = ('trim' in String.prototype);
|
|
6
|
+
|
|
6
7
|
if (detect) return
|
|
7
8
|
|
|
8
9
|
// Polyfill from https://github.com/mdn/content/blob/cf607d68522cd35ee7670782d3ee3a361eaef2e4/files/en-us/web/javascript/reference/global_objects/string/trim/index.md#polyfill
|
|
@@ -11,3 +12,4 @@
|
|
|
11
12
|
};
|
|
12
13
|
|
|
13
14
|
}).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
|
|
15
|
+
//# sourceMappingURL=vendor/polyfills/String/prototype/trim.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trim.mjs","sources":["../../../../../../src/govuk/vendor/polyfills/String/prototype/trim.mjs"],"sourcesContent":["// @ts-nocheck\n(function (undefined) {\n\n // Detection from https://github.com/mdn/content/blob/cf607d68522cd35ee7670782d3ee3a361eaef2e4/files/en-us/web/javascript/reference/global_objects/string/trim/index.md#polyfill\n var detect = ('trim' in String.prototype)\n\n if (detect) return\n\n // Polyfill from https://github.com/mdn/content/blob/cf607d68522cd35ee7670782d3ee3a361eaef2e4/files/en-us/web/javascript/reference/global_objects/string/trim/index.md#polyfill\n String.prototype.trim = function () {\n return this.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n };\n\n}).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});\n"],"names":[],"mappings":"AAAA;AACA,CAAC,UAAU,SAAS,EAAE;;;IAGlB,IAAI,MAAM,IAAI,MAAM,IAAI,MAAM,CAAC,SAAS,EAAC;;IAEzC,IAAI,MAAM,EAAE,MAAM;;;IAGlB,MAAM,CAAC,SAAS,CAAC,IAAI,GAAG,YAAY;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,oCAAoC,EAAE,EAAE,CAAC,CAAC;KACjE,CAAC;;CAEL,EAAE,IAAI,CAAC,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,QAAQ,KAAK,OAAO,IAAI,IAAI,IAAI,IAAI,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
(function (undefined) {
|
|
2
3
|
|
|
3
4
|
// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Window/detect.js
|
|
4
|
-
var detect = ('Window' in this)
|
|
5
|
+
var detect = ('Window' in this);
|
|
5
6
|
|
|
6
7
|
if (detect) return
|
|
7
8
|
|
|
@@ -18,3 +19,4 @@ if ((typeof WorkerGlobalScope === "undefined") && (typeof importScripts !== "fun
|
|
|
18
19
|
|
|
19
20
|
})
|
|
20
21
|
.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
|
|
22
|
+
//# sourceMappingURL=vendor/polyfills/Window.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Window.mjs","sources":["../../../../src/govuk/vendor/polyfills/Window.mjs"],"sourcesContent":["// @ts-nocheck\n(function (undefined) {\n\n// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Window/detect.js\nvar detect = ('Window' in this)\n\nif (detect) return\n\n// Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Window&flags=always\nif ((typeof WorkerGlobalScope === \"undefined\") && (typeof importScripts !== \"function\")) {\n\t(function (global) {\n\t\tif (global.constructor) {\n\t\t\tglobal.Window = global.constructor;\n\t\t} else {\n\t\t\t(global.Window = global.constructor = new Function('return function Window() {}')()).prototype = this;\n\t\t}\n\t}(this));\n}\n\n})\n.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});\n"],"names":[],"mappings":"AAAA;AACA,CAAC,UAAU,SAAS,EAAE;;;AAGtB,IAAI,MAAM,IAAI,QAAQ,IAAI,IAAI,EAAC;;AAE/B,IAAI,MAAM,EAAE,MAAM;;;AAGlB,IAAI,CAAC,OAAO,iBAAiB,KAAK,WAAW,MAAM,OAAO,aAAa,KAAK,UAAU,CAAC,EAAE;CACxF,CAAC,UAAU,MAAM,EAAE;EAClB,IAAI,MAAM,CAAC,WAAW,EAAE;GACvB,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC;GACnC,MAAM;GACN,CAAC,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,WAAW,GAAG,IAAI,QAAQ,CAAC,6BAA6B,CAAC,EAAE,EAAE,SAAS,GAAG,IAAI,CAAC;GACtG;EACD,CAAC,IAAI,CAAC,EAAE;CACT;;CAEA;CACA,IAAI,CAAC,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,QAAQ,KAAK,OAAO,IAAI,IAAI,IAAI,IAAI,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "govuk-frontend",
|
|
3
3
|
"description": "GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.6.0",
|
|
5
5
|
"main": "govuk/all.js",
|
|
6
6
|
"module": "govuk-esm/all.mjs",
|
|
7
7
|
"exports": {
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"require": "./govuk/all.js"
|
|
12
12
|
},
|
|
13
13
|
"./govuk/": "./govuk/",
|
|
14
|
-
"./govuk-esm/": "./govuk-esm/"
|
|
14
|
+
"./govuk-esm/": "./govuk-esm/",
|
|
15
|
+
"./package.json": "./package.json"
|
|
15
16
|
},
|
|
16
17
|
"sideEffects": [
|
|
17
18
|
"govuk-esm/vendor/**"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: govuk_publishing_components
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 35.3.
|
|
4
|
+
version: 35.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GOV.UK Dev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-05-
|
|
11
|
+
date: 2023-05-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: govuk_app_config
|
|
@@ -367,10 +367,10 @@ files:
|
|
|
367
367
|
- app/assets/images/govuk_publishing_components/crests/coastguard_13px_x2.png
|
|
368
368
|
- app/assets/images/govuk_publishing_components/crests/coastguard_18px.png
|
|
369
369
|
- app/assets/images/govuk_publishing_components/crests/coastguard_18px_x2.png
|
|
370
|
-
- app/assets/images/govuk_publishing_components/crests/
|
|
371
|
-
- app/assets/images/govuk_publishing_components/crests/
|
|
372
|
-
- app/assets/images/govuk_publishing_components/crests/
|
|
373
|
-
- app/assets/images/govuk_publishing_components/crests/
|
|
370
|
+
- app/assets/images/govuk_publishing_components/crests/dbt_crest_13px.png
|
|
371
|
+
- app/assets/images/govuk_publishing_components/crests/dbt_crest_13px_x2.png
|
|
372
|
+
- app/assets/images/govuk_publishing_components/crests/dbt_crest_18px.png
|
|
373
|
+
- app/assets/images/govuk_publishing_components/crests/dbt_crest_18px_x2.png
|
|
374
374
|
- app/assets/images/govuk_publishing_components/crests/hmrc_crest_13px.png
|
|
375
375
|
- app/assets/images/govuk_publishing_components/crests/hmrc_crest_13px_x2.png
|
|
376
376
|
- app/assets/images/govuk_publishing_components/crests/hmrc_crest_18px.png
|
|
@@ -985,37 +985,71 @@ files:
|
|
|
985
985
|
- node_modules/axe-core/sri-history.json
|
|
986
986
|
- node_modules/govuk-frontend/README.md
|
|
987
987
|
- node_modules/govuk-frontend/govuk-esm/all.mjs
|
|
988
|
+
- node_modules/govuk-frontend/govuk-esm/all.mjs.map
|
|
988
989
|
- node_modules/govuk-frontend/govuk-esm/common.mjs
|
|
990
|
+
- node_modules/govuk-frontend/govuk-esm/common.mjs.map
|
|
989
991
|
- node_modules/govuk-frontend/govuk-esm/common/closest-attribute-value.mjs
|
|
992
|
+
- node_modules/govuk-frontend/govuk-esm/common/closest-attribute-value.mjs.map
|
|
993
|
+
- node_modules/govuk-frontend/govuk-esm/common/govuk-frontend-version.mjs
|
|
994
|
+
- node_modules/govuk-frontend/govuk-esm/common/govuk-frontend-version.mjs.map
|
|
990
995
|
- node_modules/govuk-frontend/govuk-esm/common/index.mjs
|
|
996
|
+
- node_modules/govuk-frontend/govuk-esm/common/index.mjs.map
|
|
991
997
|
- node_modules/govuk-frontend/govuk-esm/common/normalise-dataset.mjs
|
|
998
|
+
- node_modules/govuk-frontend/govuk-esm/common/normalise-dataset.mjs.map
|
|
992
999
|
- node_modules/govuk-frontend/govuk-esm/components/accordion/accordion.mjs
|
|
1000
|
+
- node_modules/govuk-frontend/govuk-esm/components/accordion/accordion.mjs.map
|
|
993
1001
|
- node_modules/govuk-frontend/govuk-esm/components/button/button.mjs
|
|
1002
|
+
- node_modules/govuk-frontend/govuk-esm/components/button/button.mjs.map
|
|
994
1003
|
- node_modules/govuk-frontend/govuk-esm/components/character-count/character-count.mjs
|
|
1004
|
+
- node_modules/govuk-frontend/govuk-esm/components/character-count/character-count.mjs.map
|
|
995
1005
|
- node_modules/govuk-frontend/govuk-esm/components/checkboxes/checkboxes.mjs
|
|
1006
|
+
- node_modules/govuk-frontend/govuk-esm/components/checkboxes/checkboxes.mjs.map
|
|
996
1007
|
- node_modules/govuk-frontend/govuk-esm/components/details/details.mjs
|
|
1008
|
+
- node_modules/govuk-frontend/govuk-esm/components/details/details.mjs.map
|
|
997
1009
|
- node_modules/govuk-frontend/govuk-esm/components/error-summary/error-summary.mjs
|
|
1010
|
+
- node_modules/govuk-frontend/govuk-esm/components/error-summary/error-summary.mjs.map
|
|
998
1011
|
- node_modules/govuk-frontend/govuk-esm/components/header/header.mjs
|
|
1012
|
+
- node_modules/govuk-frontend/govuk-esm/components/header/header.mjs.map
|
|
999
1013
|
- node_modules/govuk-frontend/govuk-esm/components/notification-banner/notification-banner.mjs
|
|
1014
|
+
- node_modules/govuk-frontend/govuk-esm/components/notification-banner/notification-banner.mjs.map
|
|
1000
1015
|
- node_modules/govuk-frontend/govuk-esm/components/radios/radios.mjs
|
|
1016
|
+
- node_modules/govuk-frontend/govuk-esm/components/radios/radios.mjs.map
|
|
1001
1017
|
- node_modules/govuk-frontend/govuk-esm/components/skip-link/skip-link.mjs
|
|
1018
|
+
- node_modules/govuk-frontend/govuk-esm/components/skip-link/skip-link.mjs.map
|
|
1002
1019
|
- node_modules/govuk-frontend/govuk-esm/components/tabs/tabs.mjs
|
|
1020
|
+
- node_modules/govuk-frontend/govuk-esm/components/tabs/tabs.mjs.map
|
|
1003
1021
|
- node_modules/govuk-frontend/govuk-esm/i18n.mjs
|
|
1022
|
+
- node_modules/govuk-frontend/govuk-esm/i18n.mjs.map
|
|
1004
1023
|
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/DOMTokenList.mjs
|
|
1024
|
+
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/DOMTokenList.mjs.map
|
|
1005
1025
|
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Date/now.mjs
|
|
1026
|
+
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Date/now.mjs.map
|
|
1006
1027
|
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Document.mjs
|
|
1028
|
+
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Document.mjs.map
|
|
1007
1029
|
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element.mjs
|
|
1030
|
+
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element.mjs.map
|
|
1008
1031
|
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/classList.mjs
|
|
1032
|
+
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/classList.mjs.map
|
|
1009
1033
|
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/closest.mjs
|
|
1034
|
+
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/closest.mjs.map
|
|
1010
1035
|
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/dataset.mjs
|
|
1036
|
+
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/dataset.mjs.map
|
|
1011
1037
|
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/matches.mjs
|
|
1038
|
+
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/matches.mjs.map
|
|
1012
1039
|
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs
|
|
1040
|
+
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map
|
|
1013
1041
|
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/previousElementSibling.mjs
|
|
1042
|
+
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/previousElementSibling.mjs.map
|
|
1014
1043
|
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Event.mjs
|
|
1044
|
+
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Event.mjs.map
|
|
1015
1045
|
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Function/prototype/bind.mjs
|
|
1046
|
+
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Function/prototype/bind.mjs.map
|
|
1016
1047
|
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Object/defineProperty.mjs
|
|
1048
|
+
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Object/defineProperty.mjs.map
|
|
1017
1049
|
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/String/prototype/trim.mjs
|
|
1050
|
+
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/String/prototype/trim.mjs.map
|
|
1018
1051
|
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
|
|
1052
|
+
- node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs.map
|
|
1019
1053
|
- node_modules/govuk-frontend/govuk-prototype-kit.config.json
|
|
1020
1054
|
- node_modules/govuk-frontend/govuk-prototype-kit/init.js
|
|
1021
1055
|
- node_modules/govuk-frontend/govuk-prototype-kit/init.scss
|
|
@@ -1042,6 +1076,8 @@ files:
|
|
|
1042
1076
|
- node_modules/govuk-frontend/govuk/common.js.map
|
|
1043
1077
|
- node_modules/govuk-frontend/govuk/common/closest-attribute-value.js
|
|
1044
1078
|
- node_modules/govuk-frontend/govuk/common/closest-attribute-value.js.map
|
|
1079
|
+
- node_modules/govuk-frontend/govuk/common/govuk-frontend-version.js
|
|
1080
|
+
- node_modules/govuk-frontend/govuk/common/govuk-frontend-version.js.map
|
|
1045
1081
|
- node_modules/govuk-frontend/govuk/common/index.js
|
|
1046
1082
|
- node_modules/govuk-frontend/govuk/common/index.js.map
|
|
1047
1083
|
- node_modules/govuk-frontend/govuk/common/normalise-dataset.js
|
|
@@ -1296,6 +1332,7 @@ files:
|
|
|
1296
1332
|
- node_modules/govuk-frontend/govuk/components/warning-text/template.njk
|
|
1297
1333
|
- node_modules/govuk-frontend/govuk/core/_all.scss
|
|
1298
1334
|
- node_modules/govuk-frontend/govuk/core/_global-styles.scss
|
|
1335
|
+
- node_modules/govuk-frontend/govuk/core/_govuk-frontend-version.scss
|
|
1299
1336
|
- node_modules/govuk-frontend/govuk/core/_links.scss
|
|
1300
1337
|
- node_modules/govuk-frontend/govuk/core/_lists.scss
|
|
1301
1338
|
- node_modules/govuk-frontend/govuk/core/_section-break.scss
|
/data/app/assets/images/govuk_publishing_components/crests/{dit_crest_13px.png → dbt_crest_13px.png}
RENAMED
|
File without changes
|
|
File without changes
|
/data/app/assets/images/govuk_publishing_components/crests/{dit_crest_18px.png → dbt_crest_18px.png}
RENAMED
|
File without changes
|
|
File without changes
|