govuk_publishing_components 44.1.0 → 44.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +32 -0
- data/app/views/govuk_publishing_components/components/_share_links.html.erb +4 -1
- data/app/views/govuk_publishing_components/components/docs/share_links.yml +36 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.js +336 -225
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs +334 -226
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/all.mjs +3 -0
- data/node_modules/govuk-frontend/dist/govuk/all.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-crest.svg +1 -0
- data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs +1 -1
- data/node_modules/govuk-frontend/dist/govuk/common/index.mjs +21 -1
- data/node_modules/govuk-frontend/dist/govuk/common/index.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/_index.scss +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js +92 -26
- 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 +92 -26
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.mjs +12 -21
- data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.js +86 -20
- 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 +86 -20
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.mjs +6 -16
- data/node_modules/govuk-frontend/dist/govuk/components/button/button.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js +89 -23
- 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 +89 -23
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs +10 -19
- data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.js +113 -47
- 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 +113 -47
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.mjs +7 -16
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss +7 -2
- data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.js +86 -20
- 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 +86 -20
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.mjs +6 -16
- data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js +87 -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 +87 -21
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.mjs +7 -16
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss +8 -10
- data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss +8 -0
- 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 +12 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js +87 -21
- 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 +87 -21
- 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 +7 -16
- data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-full-width-border.html +24 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.js +86 -20
- 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 +86 -20
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.mjs +6 -16
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js +89 -23
- 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 +89 -23
- 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/password-input/password-input.mjs +9 -18
- data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.js +113 -47
- 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 +113 -47
- data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.mjs +7 -16
- data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/README.md +15 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss +168 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_service-navigation.scss +4 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_service-navigation.scss.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/fixtures.json +464 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/macro-options.json +138 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/macro.njk +3 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.js +249 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.js.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.mjs +241 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.mjs +85 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.mjs.map +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-default.html +57 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-html-navigation-items.html +49 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-large-navigation.html +153 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-long-service-name.html +20 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-navigation-with-a-current-item.html +58 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-navigation-with-an-active-item.html +58 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-non-link-navigation-items.html +49 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-service-link.html +20 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-service-name-and-navigation.html +63 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-service-name.html +18 -0
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template.njk +102 -0
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.js +93 -26
- 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 +93 -26
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.mjs +13 -21
- data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.js +93 -27
- 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 +93 -27
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.mjs +13 -22
- data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss +4 -3
- data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/errors/index.mjs +16 -3
- data/node_modules/govuk-frontend/dist/govuk/errors/index.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend-component.mjs +49 -5
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend-component.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css +2 -2
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js +1 -1
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/init.mjs +72 -10
- data/node_modules/govuk-frontend/dist/govuk/init.mjs.map +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss +3 -0
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss.map +1 -1
- data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +5 -1
- data/node_modules/govuk-frontend/package.json +8 -8
- metadata +29 -4
- data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-crest-2x.png +0 -0
- data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-crest.png +0 -0
data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.mjs
ADDED
@@ -0,0 +1,85 @@
|
|
1
|
+
import { getBreakpoint } from '../../common/index.mjs';
|
2
|
+
import { ElementError } from '../../errors/index.mjs';
|
3
|
+
import { GOVUKFrontendComponent } from '../../govuk-frontend-component.mjs';
|
4
|
+
|
5
|
+
/**
|
6
|
+
* Service Navigation component
|
7
|
+
*
|
8
|
+
* @preserve
|
9
|
+
*/
|
10
|
+
class ServiceNavigation extends GOVUKFrontendComponent {
|
11
|
+
/**
|
12
|
+
* @param {Element | null} $root - HTML element to use for header
|
13
|
+
*/
|
14
|
+
constructor($root) {
|
15
|
+
super($root);
|
16
|
+
this.$menuButton = void 0;
|
17
|
+
this.$menu = void 0;
|
18
|
+
this.menuIsOpen = false;
|
19
|
+
this.mql = null;
|
20
|
+
const $menuButton = this.$root.querySelector('.govuk-js-service-navigation-toggle');
|
21
|
+
if (!$menuButton) {
|
22
|
+
return this;
|
23
|
+
}
|
24
|
+
const menuId = $menuButton.getAttribute('aria-controls');
|
25
|
+
if (!menuId) {
|
26
|
+
throw new ElementError({
|
27
|
+
component: ServiceNavigation,
|
28
|
+
identifier: 'Navigation button (`<button class="govuk-js-service-navigation-toggle">`) attribute (`aria-controls`)'
|
29
|
+
});
|
30
|
+
}
|
31
|
+
const $menu = document.getElementById(menuId);
|
32
|
+
if (!$menu) {
|
33
|
+
throw new ElementError({
|
34
|
+
component: ServiceNavigation,
|
35
|
+
element: $menu,
|
36
|
+
identifier: `Navigation (\`<ul id="${menuId}">\`)`
|
37
|
+
});
|
38
|
+
}
|
39
|
+
this.$menu = $menu;
|
40
|
+
this.$menuButton = $menuButton;
|
41
|
+
this.setupResponsiveChecks();
|
42
|
+
this.$menuButton.addEventListener('click', () => this.handleMenuButtonClick());
|
43
|
+
}
|
44
|
+
setupResponsiveChecks() {
|
45
|
+
const breakpoint = getBreakpoint('tablet');
|
46
|
+
if (!breakpoint.value) {
|
47
|
+
throw new ElementError({
|
48
|
+
component: ServiceNavigation,
|
49
|
+
identifier: `CSS custom property (\`${breakpoint.property}\`) on pseudo-class \`:root\``
|
50
|
+
});
|
51
|
+
}
|
52
|
+
this.mql = window.matchMedia(`(min-width: ${breakpoint.value})`);
|
53
|
+
if ('addEventListener' in this.mql) {
|
54
|
+
this.mql.addEventListener('change', () => this.checkMode());
|
55
|
+
} else {
|
56
|
+
this.mql.addListener(() => this.checkMode());
|
57
|
+
}
|
58
|
+
this.checkMode();
|
59
|
+
}
|
60
|
+
checkMode() {
|
61
|
+
if (!this.mql || !this.$menu || !this.$menuButton) {
|
62
|
+
return;
|
63
|
+
}
|
64
|
+
if (this.mql.matches) {
|
65
|
+
this.$menu.removeAttribute('hidden');
|
66
|
+
this.$menuButton.setAttribute('hidden', '');
|
67
|
+
} else {
|
68
|
+
this.$menuButton.removeAttribute('hidden');
|
69
|
+
this.$menuButton.setAttribute('aria-expanded', this.menuIsOpen.toString());
|
70
|
+
if (this.menuIsOpen) {
|
71
|
+
this.$menu.removeAttribute('hidden');
|
72
|
+
} else {
|
73
|
+
this.$menu.setAttribute('hidden', '');
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
handleMenuButtonClick() {
|
78
|
+
this.menuIsOpen = !this.menuIsOpen;
|
79
|
+
this.checkMode();
|
80
|
+
}
|
81
|
+
}
|
82
|
+
ServiceNavigation.moduleName = 'govuk-service-navigation';
|
83
|
+
|
84
|
+
export { ServiceNavigation };
|
85
|
+
//# sourceMappingURL=service-navigation.mjs.map
|
data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.mjs.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"service-navigation.mjs","sources":["../../../../src/govuk/components/service-navigation/service-navigation.mjs"],"sourcesContent":["import { getBreakpoint } from '../../common/index.mjs'\nimport { ElementError } from '../../errors/index.mjs'\nimport { GOVUKFrontendComponent } from '../../govuk-frontend-component.mjs'\n\n/**\n * Service Navigation component\n *\n * @preserve\n */\nexport class ServiceNavigation extends GOVUKFrontendComponent {\n /** @private */\n $menuButton\n\n /** @private */\n $menu\n\n /**\n * Remember the open/closed state of the nav so we can maintain it when the\n * screen is resized.\n *\n * @private\n */\n menuIsOpen = false\n\n /**\n * A global const for storing a matchMedia instance which we'll use to detect\n * when a screen size change happens. We rely on it being null if the feature\n * isn't available to initially apply hidden attributes\n *\n * @private\n * @type {MediaQueryList | null}\n */\n mql = null\n\n /**\n * @param {Element | null} $root - HTML element to use for header\n */\n constructor($root) {\n super($root)\n\n const $menuButton = this.$root.querySelector(\n '.govuk-js-service-navigation-toggle'\n )\n\n // Headers don't necessarily have a navigation. When they don't, the menu\n // toggle won't be rendered by our macro (or may be omitted when writing\n // plain HTML)\n if (!$menuButton) {\n return this\n }\n\n const menuId = $menuButton.getAttribute('aria-controls')\n if (!menuId) {\n throw new ElementError({\n component: ServiceNavigation,\n identifier:\n 'Navigation button (`<button class=\"govuk-js-service-navigation-toggle\">`) attribute (`aria-controls`)'\n })\n }\n\n const $menu = document.getElementById(menuId)\n if (!$menu) {\n throw new ElementError({\n component: ServiceNavigation,\n element: $menu,\n identifier: `Navigation (\\`<ul id=\"${menuId}\">\\`)`\n })\n }\n\n this.$menu = $menu\n this.$menuButton = $menuButton\n\n this.setupResponsiveChecks()\n\n this.$menuButton.addEventListener('click', () =>\n this.handleMenuButtonClick()\n )\n }\n\n /**\n * Setup viewport resize check\n *\n * @private\n */\n setupResponsiveChecks() {\n const breakpoint = getBreakpoint('tablet')\n\n if (!breakpoint.value) {\n throw new ElementError({\n component: ServiceNavigation,\n identifier: `CSS custom property (\\`${breakpoint.property}\\`) on pseudo-class \\`:root\\``\n })\n }\n\n // Media query list for GOV.UK Frontend desktop breakpoint\n this.mql = window.matchMedia(`(min-width: ${breakpoint.value})`)\n\n // MediaQueryList.addEventListener isn't supported by Safari < 14 so we need\n // to be able to fall back to the deprecated MediaQueryList.addListener\n if ('addEventListener' in this.mql) {\n this.mql.addEventListener('change', () => this.checkMode())\n } else {\n // @ts-expect-error Property 'addListener' does not exist\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n this.mql.addListener(() => this.checkMode())\n }\n\n this.checkMode()\n }\n\n /**\n * Sync menu state\n *\n * Uses the global variable menuIsOpen to correctly set the accessible and\n * visual states of the menu and the menu button.\n * Additionally will force the menu to be visible and the menu button to be\n * hidden if the matchMedia is triggered to desktop.\n *\n * @private\n */\n checkMode() {\n if (!this.mql || !this.$menu || !this.$menuButton) {\n return\n }\n\n if (this.mql.matches) {\n this.$menu.removeAttribute('hidden')\n this.$menuButton.setAttribute('hidden', '')\n } else {\n this.$menuButton.removeAttribute('hidden')\n this.$menuButton.setAttribute('aria-expanded', this.menuIsOpen.toString())\n\n if (this.menuIsOpen) {\n this.$menu.removeAttribute('hidden')\n } else {\n this.$menu.setAttribute('hidden', '')\n }\n }\n }\n\n /**\n * Handle menu button click\n *\n * When the menu button is clicked, change the visibility of the menu and then\n * sync the accessibility state and menu button state\n *\n * @private\n */\n handleMenuButtonClick() {\n this.menuIsOpen = !this.menuIsOpen\n this.checkMode()\n }\n\n /**\n * Name for the component used when initialising using data-module attributes.\n */\n static moduleName = 'govuk-service-navigation'\n}\n"],"names":["ServiceNavigation","GOVUKFrontendComponent","constructor","$root","$menuButton","$menu","menuIsOpen","mql","querySelector","menuId","getAttribute","ElementError","component","identifier","document","getElementById","element","setupResponsiveChecks","addEventListener","handleMenuButtonClick","breakpoint","getBreakpoint","value","property","window","matchMedia","checkMode","addListener","matches","removeAttribute","setAttribute","toString","moduleName"],"mappings":"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"}
|
data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-default.html
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
|
2
|
+
<div class="govuk-service-navigation"
|
3
|
+
data-module="govuk-service-navigation"
|
4
|
+
>
|
5
|
+
<div class="govuk-width-container">
|
6
|
+
|
7
|
+
<div class="govuk-service-navigation__container">
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
<nav aria-label="Menu" class="govuk-service-navigation__wrapper">
|
12
|
+
<button type="button" class="govuk-service-navigation__toggle govuk-js-service-navigation-toggle" aria-controls="navigation" hidden>
|
13
|
+
Menu
|
14
|
+
</button>
|
15
|
+
|
16
|
+
<ul class="govuk-service-navigation__list" id="navigation" >
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
<li class="govuk-service-navigation__item">
|
21
|
+
<a class="govuk-service-navigation__link" href="#/1">
|
22
|
+
|
23
|
+
Navigation item 1
|
24
|
+
</a>
|
25
|
+
</li>
|
26
|
+
|
27
|
+
|
28
|
+
<li class="govuk-service-navigation__item">
|
29
|
+
<a class="govuk-service-navigation__link" href="#/2">
|
30
|
+
|
31
|
+
Navigation item 2
|
32
|
+
</a>
|
33
|
+
</li>
|
34
|
+
|
35
|
+
|
36
|
+
<li class="govuk-service-navigation__item">
|
37
|
+
<a class="govuk-service-navigation__link" href="#/3">
|
38
|
+
|
39
|
+
Navigation item 3
|
40
|
+
</a>
|
41
|
+
</li>
|
42
|
+
|
43
|
+
|
44
|
+
<li class="govuk-service-navigation__item">
|
45
|
+
<a class="govuk-service-navigation__link" href="#/4">
|
46
|
+
|
47
|
+
Navigation item 4
|
48
|
+
</a>
|
49
|
+
</li>
|
50
|
+
|
51
|
+
</ul>
|
52
|
+
</nav>
|
53
|
+
</div>
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
</div>
|
@@ -0,0 +1,49 @@
|
|
1
|
+
|
2
|
+
<div class="govuk-service-navigation"
|
3
|
+
data-module="govuk-service-navigation"
|
4
|
+
>
|
5
|
+
<div class="govuk-width-container">
|
6
|
+
|
7
|
+
<div class="govuk-service-navigation__container">
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
<nav aria-label="Menu" class="govuk-service-navigation__wrapper">
|
12
|
+
<button type="button" class="govuk-service-navigation__toggle govuk-js-service-navigation-toggle" aria-controls="navigation" hidden>
|
13
|
+
Menu
|
14
|
+
</button>
|
15
|
+
|
16
|
+
<ul class="govuk-service-navigation__list" id="navigation" >
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
<li class="govuk-service-navigation__item">
|
21
|
+
<a class="govuk-service-navigation__link" href="#/1">
|
22
|
+
|
23
|
+
<em>Navigation item 1</em>
|
24
|
+
</a>
|
25
|
+
</li>
|
26
|
+
|
27
|
+
|
28
|
+
<li class="govuk-service-navigation__item">
|
29
|
+
<a class="govuk-service-navigation__link" href="#/2">
|
30
|
+
|
31
|
+
<em>Navigation item 2</em>
|
32
|
+
</a>
|
33
|
+
</li>
|
34
|
+
|
35
|
+
|
36
|
+
<li class="govuk-service-navigation__item">
|
37
|
+
<a class="govuk-service-navigation__link" href="#/3">
|
38
|
+
|
39
|
+
<em>Navigation item 3</em>
|
40
|
+
</a>
|
41
|
+
</li>
|
42
|
+
|
43
|
+
</ul>
|
44
|
+
</nav>
|
45
|
+
</div>
|
46
|
+
|
47
|
+
</div>
|
48
|
+
|
49
|
+
</div>
|
@@ -0,0 +1,153 @@
|
|
1
|
+
|
2
|
+
<div class="govuk-service-navigation"
|
3
|
+
data-module="govuk-service-navigation"
|
4
|
+
>
|
5
|
+
<div class="govuk-width-container">
|
6
|
+
|
7
|
+
<div class="govuk-service-navigation__container">
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
<nav aria-label="Menu" class="govuk-service-navigation__wrapper">
|
12
|
+
<button type="button" class="govuk-service-navigation__toggle govuk-js-service-navigation-toggle" aria-controls="navigation" hidden>
|
13
|
+
Menu
|
14
|
+
</button>
|
15
|
+
|
16
|
+
<ul class="govuk-service-navigation__list" id="navigation" >
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
<li class="govuk-service-navigation__item">
|
21
|
+
<a class="govuk-service-navigation__link" href="#/browse/benefits">
|
22
|
+
|
23
|
+
Benefits
|
24
|
+
</a>
|
25
|
+
</li>
|
26
|
+
|
27
|
+
|
28
|
+
<li class="govuk-service-navigation__item">
|
29
|
+
<a class="govuk-service-navigation__link" href="#/browse/births-deaths-marriages">
|
30
|
+
|
31
|
+
Births, deaths, marriages and care
|
32
|
+
</a>
|
33
|
+
</li>
|
34
|
+
|
35
|
+
|
36
|
+
<li class="govuk-service-navigation__item">
|
37
|
+
<a class="govuk-service-navigation__link" href="#/browse/business">
|
38
|
+
|
39
|
+
Business and self-employed
|
40
|
+
</a>
|
41
|
+
</li>
|
42
|
+
|
43
|
+
|
44
|
+
<li class="govuk-service-navigation__item">
|
45
|
+
<a class="govuk-service-navigation__link" href="#/browse/childcare-parenting">
|
46
|
+
|
47
|
+
Childcare and parenting
|
48
|
+
</a>
|
49
|
+
</li>
|
50
|
+
|
51
|
+
|
52
|
+
<li class="govuk-service-navigation__item">
|
53
|
+
<a class="govuk-service-navigation__link" href="#/browse/citizenship">
|
54
|
+
|
55
|
+
Citizenship and living in the UK
|
56
|
+
</a>
|
57
|
+
</li>
|
58
|
+
|
59
|
+
|
60
|
+
<li class="govuk-service-navigation__item">
|
61
|
+
<a class="govuk-service-navigation__link" href="#/browse/justice">
|
62
|
+
|
63
|
+
Crime, justice and the law
|
64
|
+
</a>
|
65
|
+
</li>
|
66
|
+
|
67
|
+
|
68
|
+
<li class="govuk-service-navigation__item">
|
69
|
+
<a class="govuk-service-navigation__link" href="#/browse/disabilities">
|
70
|
+
|
71
|
+
Disabled people
|
72
|
+
</a>
|
73
|
+
</li>
|
74
|
+
|
75
|
+
|
76
|
+
<li class="govuk-service-navigation__item">
|
77
|
+
<a class="govuk-service-navigation__link" href="#/browse/driving">
|
78
|
+
|
79
|
+
Driving and transport
|
80
|
+
</a>
|
81
|
+
</li>
|
82
|
+
|
83
|
+
|
84
|
+
<li class="govuk-service-navigation__item">
|
85
|
+
<a class="govuk-service-navigation__link" href="#/browse/education">
|
86
|
+
|
87
|
+
Education and learning
|
88
|
+
</a>
|
89
|
+
</li>
|
90
|
+
|
91
|
+
|
92
|
+
<li class="govuk-service-navigation__item">
|
93
|
+
<a class="govuk-service-navigation__link" href="#/browse/employing-people">
|
94
|
+
|
95
|
+
Employing people
|
96
|
+
</a>
|
97
|
+
</li>
|
98
|
+
|
99
|
+
|
100
|
+
<li class="govuk-service-navigation__item">
|
101
|
+
<a class="govuk-service-navigation__link" href="#/browse/environment-countryside">
|
102
|
+
|
103
|
+
Environment and countryside
|
104
|
+
</a>
|
105
|
+
</li>
|
106
|
+
|
107
|
+
|
108
|
+
<li class="govuk-service-navigation__item">
|
109
|
+
<a class="govuk-service-navigation__link" href="#/browse/housing-local-services">
|
110
|
+
|
111
|
+
Housing and local services
|
112
|
+
</a>
|
113
|
+
</li>
|
114
|
+
|
115
|
+
|
116
|
+
<li class="govuk-service-navigation__item">
|
117
|
+
<a class="govuk-service-navigation__link" href="#/browse/tax">
|
118
|
+
|
119
|
+
Money and tax
|
120
|
+
</a>
|
121
|
+
</li>
|
122
|
+
|
123
|
+
|
124
|
+
<li class="govuk-service-navigation__item">
|
125
|
+
<a class="govuk-service-navigation__link" href="#/browse/abroad">
|
126
|
+
|
127
|
+
Passports, travel and living abroad
|
128
|
+
</a>
|
129
|
+
</li>
|
130
|
+
|
131
|
+
|
132
|
+
<li class="govuk-service-navigation__item">
|
133
|
+
<a class="govuk-service-navigation__link" href="#/browse/visas-immigration">
|
134
|
+
|
135
|
+
Visas and immigration
|
136
|
+
</a>
|
137
|
+
</li>
|
138
|
+
|
139
|
+
|
140
|
+
<li class="govuk-service-navigation__item">
|
141
|
+
<a class="govuk-service-navigation__link" href="#/browse/working">
|
142
|
+
|
143
|
+
Working, jobs and pensions
|
144
|
+
</a>
|
145
|
+
</li>
|
146
|
+
|
147
|
+
</ul>
|
148
|
+
</nav>
|
149
|
+
</div>
|
150
|
+
|
151
|
+
</div>
|
152
|
+
|
153
|
+
</div>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
|
2
|
+
<section aria-label="Service information" class="govuk-service-navigation"
|
3
|
+
data-module="govuk-service-navigation"
|
4
|
+
>
|
5
|
+
<div class="govuk-width-container">
|
6
|
+
|
7
|
+
<div class="govuk-service-navigation__container">
|
8
|
+
|
9
|
+
<span class="govuk-service-navigation__service-name">
|
10
|
+
<a href="#/" class="govuk-service-navigation__link">
|
11
|
+
Apply to receive a rare holofoil Charizard Pokémon card from the King
|
12
|
+
</a>
|
13
|
+
</span>
|
14
|
+
|
15
|
+
|
16
|
+
</div>
|
17
|
+
|
18
|
+
</div>
|
19
|
+
|
20
|
+
</section>
|
@@ -0,0 +1,58 @@
|
|
1
|
+
|
2
|
+
<div class="govuk-service-navigation"
|
3
|
+
data-module="govuk-service-navigation"
|
4
|
+
>
|
5
|
+
<div class="govuk-width-container">
|
6
|
+
|
7
|
+
<div class="govuk-service-navigation__container">
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
<nav aria-label="Menu" class="govuk-service-navigation__wrapper">
|
12
|
+
<button type="button" class="govuk-service-navigation__toggle govuk-js-service-navigation-toggle" aria-controls="navigation" hidden>
|
13
|
+
Menu
|
14
|
+
</button>
|
15
|
+
|
16
|
+
<ul class="govuk-service-navigation__list" id="navigation" >
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
<li class="govuk-service-navigation__item">
|
21
|
+
<a class="govuk-service-navigation__link" href="#/1">
|
22
|
+
|
23
|
+
Navigation item 1
|
24
|
+
</a>
|
25
|
+
</li>
|
26
|
+
|
27
|
+
|
28
|
+
<li class="govuk-service-navigation__item govuk-service-navigation__item--active">
|
29
|
+
<a class="govuk-service-navigation__link" href="#/2" aria-current="page">
|
30
|
+
|
31
|
+
<strong class="govuk-service-navigation__active-fallback">Navigation item 2</strong>
|
32
|
+
|
33
|
+
</a>
|
34
|
+
</li>
|
35
|
+
|
36
|
+
|
37
|
+
<li class="govuk-service-navigation__item">
|
38
|
+
<a class="govuk-service-navigation__link" href="#/3">
|
39
|
+
|
40
|
+
Navigation item 3
|
41
|
+
</a>
|
42
|
+
</li>
|
43
|
+
|
44
|
+
|
45
|
+
<li class="govuk-service-navigation__item">
|
46
|
+
<a class="govuk-service-navigation__link" href="#/4">
|
47
|
+
|
48
|
+
Navigation item 4
|
49
|
+
</a>
|
50
|
+
</li>
|
51
|
+
|
52
|
+
</ul>
|
53
|
+
</nav>
|
54
|
+
</div>
|
55
|
+
|
56
|
+
</div>
|
57
|
+
|
58
|
+
</div>
|
@@ -0,0 +1,58 @@
|
|
1
|
+
|
2
|
+
<div class="govuk-service-navigation"
|
3
|
+
data-module="govuk-service-navigation"
|
4
|
+
>
|
5
|
+
<div class="govuk-width-container">
|
6
|
+
|
7
|
+
<div class="govuk-service-navigation__container">
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
<nav aria-label="Menu" class="govuk-service-navigation__wrapper">
|
12
|
+
<button type="button" class="govuk-service-navigation__toggle govuk-js-service-navigation-toggle" aria-controls="navigation" hidden>
|
13
|
+
Menu
|
14
|
+
</button>
|
15
|
+
|
16
|
+
<ul class="govuk-service-navigation__list" id="navigation" >
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
<li class="govuk-service-navigation__item">
|
21
|
+
<a class="govuk-service-navigation__link" href="#/1">
|
22
|
+
|
23
|
+
Navigation item 1
|
24
|
+
</a>
|
25
|
+
</li>
|
26
|
+
|
27
|
+
|
28
|
+
<li class="govuk-service-navigation__item govuk-service-navigation__item--active">
|
29
|
+
<a class="govuk-service-navigation__link" href="#/2" aria-current="true">
|
30
|
+
|
31
|
+
<strong class="govuk-service-navigation__active-fallback">Navigation item 2</strong>
|
32
|
+
|
33
|
+
</a>
|
34
|
+
</li>
|
35
|
+
|
36
|
+
|
37
|
+
<li class="govuk-service-navigation__item">
|
38
|
+
<a class="govuk-service-navigation__link" href="#/3">
|
39
|
+
|
40
|
+
Navigation item 3
|
41
|
+
</a>
|
42
|
+
</li>
|
43
|
+
|
44
|
+
|
45
|
+
<li class="govuk-service-navigation__item">
|
46
|
+
<a class="govuk-service-navigation__link" href="#/4">
|
47
|
+
|
48
|
+
Navigation item 4
|
49
|
+
</a>
|
50
|
+
</li>
|
51
|
+
|
52
|
+
</ul>
|
53
|
+
</nav>
|
54
|
+
</div>
|
55
|
+
|
56
|
+
</div>
|
57
|
+
|
58
|
+
</div>
|
@@ -0,0 +1,49 @@
|
|
1
|
+
|
2
|
+
<div class="govuk-service-navigation"
|
3
|
+
data-module="govuk-service-navigation"
|
4
|
+
>
|
5
|
+
<div class="govuk-width-container">
|
6
|
+
|
7
|
+
<div class="govuk-service-navigation__container">
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
<nav aria-label="Menu" class="govuk-service-navigation__wrapper">
|
12
|
+
<button type="button" class="govuk-service-navigation__toggle govuk-js-service-navigation-toggle" aria-controls="navigation" hidden>
|
13
|
+
Menu
|
14
|
+
</button>
|
15
|
+
|
16
|
+
<ul class="govuk-service-navigation__list" id="navigation" >
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
<li class="govuk-service-navigation__item">
|
21
|
+
<span class="govuk-service-navigation__text">
|
22
|
+
|
23
|
+
Navigation item 1
|
24
|
+
</span>
|
25
|
+
</li>
|
26
|
+
|
27
|
+
|
28
|
+
<li class="govuk-service-navigation__item">
|
29
|
+
<span class="govuk-service-navigation__text">
|
30
|
+
|
31
|
+
<em>Navigation item 2</em>
|
32
|
+
</span>
|
33
|
+
</li>
|
34
|
+
|
35
|
+
|
36
|
+
<li class="govuk-service-navigation__item">
|
37
|
+
<span class="govuk-service-navigation__text">
|
38
|
+
|
39
|
+
Navigation item 3
|
40
|
+
</span>
|
41
|
+
</li>
|
42
|
+
|
43
|
+
</ul>
|
44
|
+
</nav>
|
45
|
+
</div>
|
46
|
+
|
47
|
+
</div>
|
48
|
+
|
49
|
+
</div>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
|
2
|
+
<section aria-label="Service information" class="govuk-service-navigation"
|
3
|
+
data-module="govuk-service-navigation"
|
4
|
+
>
|
5
|
+
<div class="govuk-width-container">
|
6
|
+
|
7
|
+
<div class="govuk-service-navigation__container">
|
8
|
+
|
9
|
+
<span class="govuk-service-navigation__service-name">
|
10
|
+
<a href="#/" class="govuk-service-navigation__link">
|
11
|
+
Service name
|
12
|
+
</a>
|
13
|
+
</span>
|
14
|
+
|
15
|
+
|
16
|
+
</div>
|
17
|
+
|
18
|
+
</div>
|
19
|
+
|
20
|
+
</section>
|
@@ -0,0 +1,63 @@
|
|
1
|
+
|
2
|
+
<section aria-label="Service information" class="govuk-service-navigation"
|
3
|
+
data-module="govuk-service-navigation"
|
4
|
+
>
|
5
|
+
<div class="govuk-width-container">
|
6
|
+
|
7
|
+
<div class="govuk-service-navigation__container">
|
8
|
+
|
9
|
+
<span class="govuk-service-navigation__service-name">
|
10
|
+
<a href="#/" class="govuk-service-navigation__link">
|
11
|
+
Apply for a juggling license
|
12
|
+
</a>
|
13
|
+
</span>
|
14
|
+
|
15
|
+
|
16
|
+
<nav aria-label="Menu" class="govuk-service-navigation__wrapper">
|
17
|
+
<button type="button" class="govuk-service-navigation__toggle govuk-js-service-navigation-toggle" aria-controls="navigation" hidden>
|
18
|
+
Menu
|
19
|
+
</button>
|
20
|
+
|
21
|
+
<ul class="govuk-service-navigation__list" id="navigation" >
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
<li class="govuk-service-navigation__item">
|
26
|
+
<a class="govuk-service-navigation__link" href="#/1">
|
27
|
+
|
28
|
+
Navigation item 1
|
29
|
+
</a>
|
30
|
+
</li>
|
31
|
+
|
32
|
+
|
33
|
+
<li class="govuk-service-navigation__item govuk-service-navigation__item--active">
|
34
|
+
<a class="govuk-service-navigation__link" href="#/2" aria-current="true">
|
35
|
+
|
36
|
+
<strong class="govuk-service-navigation__active-fallback">Navigation item 2</strong>
|
37
|
+
|
38
|
+
</a>
|
39
|
+
</li>
|
40
|
+
|
41
|
+
|
42
|
+
<li class="govuk-service-navigation__item">
|
43
|
+
<a class="govuk-service-navigation__link" href="#/3">
|
44
|
+
|
45
|
+
Navigation item 3
|
46
|
+
</a>
|
47
|
+
</li>
|
48
|
+
|
49
|
+
|
50
|
+
<li class="govuk-service-navigation__item">
|
51
|
+
<a class="govuk-service-navigation__link" href="#/4">
|
52
|
+
|
53
|
+
Navigation item 4
|
54
|
+
</a>
|
55
|
+
</li>
|
56
|
+
|
57
|
+
</ul>
|
58
|
+
</nav>
|
59
|
+
</div>
|
60
|
+
|
61
|
+
</div>
|
62
|
+
|
63
|
+
</section>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
|
2
|
+
<section aria-label="Service information" class="govuk-service-navigation"
|
3
|
+
data-module="govuk-service-navigation"
|
4
|
+
>
|
5
|
+
<div class="govuk-width-container">
|
6
|
+
|
7
|
+
<div class="govuk-service-navigation__container">
|
8
|
+
|
9
|
+
<span class="govuk-service-navigation__service-name">
|
10
|
+
<span class="govuk-service-navigation__text">Service name</span>
|
11
|
+
</span>
|
12
|
+
|
13
|
+
|
14
|
+
</div>
|
15
|
+
|
16
|
+
</div>
|
17
|
+
|
18
|
+
</section>
|