@ons/design-system 64.0.0 → 65.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/access-code/_macro.njk +2 -2
- package/components/access-code/_macro.spec.js +2 -2
- package/components/access-code/access-code.dom.js +11 -0
- package/components/access-code/{uac.js → access-code.js} +1 -1
- package/components/access-code/{uac.scss → access-code.scss} +1 -1
- package/components/access-code/example-access-code-error.njk +6 -6
- package/components/access-code/example-access-code.njk +4 -4
- package/components/accordion/_macro.njk +2 -2
- package/components/accordion/_macro.spec.js +3 -3
- package/components/accordion/accordion.dom.js +1 -1
- package/components/accordion/accordion.js +1 -1
- package/components/address-input/autosuggest.address.error.js +1 -1
- package/components/address-input/autosuggest.address.js +2 -2
- package/components/address-input/autosuggest.address.spec.js +5 -5
- package/components/autosuggest/_autosuggest.scss +11 -6
- package/components/autosuggest/_macro.njk +32 -31
- package/components/autosuggest/_macro.spec.js +18 -18
- package/components/autosuggest/autosuggest.spec.js +31 -31
- package/components/autosuggest/autosuggest.ui.js +8 -9
- package/components/breadcrumbs/_breadcrumbs.scss +6 -6
- package/components/breadcrumbs/_macro.njk +4 -4
- package/components/breadcrumbs/_macro.spec.js +13 -13
- package/components/button/_button.scss +27 -27
- package/components/button/_macro.spec.js +2 -2
- package/components/call-to-action/_macro.njk +1 -1
- package/components/card/_card.scss +14 -0
- package/components/card/_macro.njk +7 -8
- package/components/checkboxes/example-checkboxes-with-revealed-checkboxes-expanded.njk +88 -0
- package/components/checkboxes/example-checkboxes-with-revealed-radios-expanded.njk +70 -0
- package/components/checkboxes/example-checkboxes-with-revealed-select-expanded.njk +72 -0
- package/components/checkboxes/example-checkboxes-with-revealed-text-input-expanded.njk +60 -0
- package/components/content-pagination/_content-pagination.scss +1 -1
- package/components/date-input/_macro.njk +3 -3
- package/components/date-input/_macro.spec.js +118 -0
- package/components/date-input/example-date-input-error-for-single-field.njk +63 -0
- package/components/details/_details.scss +1 -1
- package/components/document-list/_macro.njk +5 -7
- package/components/document-list/_macro.spec.js +2 -2
- package/components/document-list/example-document-list-search-result-featured.njk +1 -1
- package/components/document-list/example-document-list-search-results.njk +3 -3
- package/components/external-link/_external-link.scss +3 -3
- package/components/external-link/_macro.njk +1 -1
- package/components/fieldset/_fieldset.scss +1 -1
- package/components/footer/_footer.scss +2 -2
- package/components/footer/example-footer-with-alternative-organisation.njk +5 -5
- package/components/header/_header.scss +8 -8
- package/components/header/_macro.njk +4 -4
- package/components/header/example-header-external-with-navigation.njk +5 -5
- package/components/header/example-header-external-with-service-links.njk +3 -3
- package/components/header/example-header-external-with-sub-navigation.njk +10 -10
- package/components/header/example-header-internal.njk +2 -2
- package/components/header/example-header-neutral-for-multicoloured-logo.njk +6 -6
- package/components/icon/_icon.scss +1 -1
- package/components/icon/_macro.njk +35 -35
- package/components/icon/_macro.spec.js +1 -1
- package/components/image/_image.scss +2 -2
- package/components/image/_macro.njk +4 -6
- package/components/image/_macro.spec.js +10 -10
- package/components/list/_list.scss +5 -2
- package/components/list/_macro.njk +22 -10
- package/components/list/_macro.spec.js +42 -0
- package/components/mutually-exclusive/_macro.njk +4 -3
- package/components/navigation/_macro.njk +6 -6
- package/components/navigation/_macro.spec.js +4 -4
- package/components/pagination/_macro.njk +17 -2
- package/components/pagination/_pagination.scss +14 -0
- package/components/pagination/example-pagination-first.njk +0 -2
- package/components/pagination/example-pagination-last.njk +0 -2
- package/components/pagination/example-pagination-with-no-range-indicator.njk +0 -2
- package/components/pagination/example-pagination.njk +0 -2
- package/components/panel/_macro.njk +1 -1
- package/components/panel/_panel.scss +7 -7
- package/components/password/_macro.njk +1 -1
- package/components/password/example-password.njk +1 -2
- package/components/question/example-question-interviewer-note.njk +1 -1
- package/components/quote/_quote.scss +1 -1
- package/components/radios/_macro.njk +1 -1
- package/components/radios/example-radios-with-clear-button-expanded.njk +98 -0
- package/components/radios/example-radios-with-revealed-checkboxes-expanded.njk +70 -0
- package/components/radios/example-radios-with-revealed-radios-expanded.njk +69 -0
- package/components/radios/example-radios-with-revealed-select-expanded.njk +70 -0
- package/components/radios/example-radios-with-revealed-text-input-expanded.njk +81 -0
- package/components/relationships/_macro.spec.js +9 -11
- package/components/relationships/example-relationships-error.njk +28 -28
- package/components/relationships/example-relationships-you.njk +29 -29
- package/components/relationships/example-relationships.njk +28 -28
- package/components/relationships/relationships.spec.js +13 -13
- package/components/reply/_macro.njk +5 -2
- package/components/reply/_macro.spec.js +7 -1
- package/components/section-navigation/_macro.njk +2 -1
- package/components/section-navigation/_macro.spec.js +2 -13
- package/components/skip-to-content/_macro.njk +2 -1
- package/components/skip-to-content/_macro.spec.js +17 -3
- package/components/skip-to-content/_skip.scss +1 -1
- package/components/skip-to-content/skip-to-content.dom.js +1 -1
- package/components/skip-to-content/skip-to-content.spec.js +3 -3
- package/components/summary/_summary.scss +1 -1
- package/components/table/_table.scss +6 -6
- package/components/table/sortable-table.js +1 -1
- package/components/tabs/_macro.njk +5 -5
- package/components/tabs/_macro.spec.js +1 -1
- package/components/tabs/example-tabs-details.njk +3 -0
- package/components/tabs/example-tabs.njk +0 -1
- package/components/textarea/example-textarea-error.njk +4 -4
- package/components/timeline/_macro.njk +18 -22
- package/components/timeline/_macro.spec.js +18 -0
- package/components/video/example-video.njk +1 -1
- package/components/video/video.js +10 -1
- package/components/video/video.spec.js +33 -0
- package/css/main.css +3 -3
- package/css/print.css +1 -1
- package/js/cookies-settings.js +1 -1
- package/js/main.js +1 -1
- package/package.json +19 -21
- package/scripts/main.es5.js +1 -1
- package/scripts/main.js +1 -1
- package/scss/base/_global.scss +1 -1
- package/scss/main.scss +1 -1
- package/scss/objects/_spacing.scss +3 -3
- package/scss/overrides/hcm.scss +10 -10
- package/scss/overrides/rtl.scss +2 -2
- package/scss/print.scss +2 -2
- package/components/access-code/uac.dom.js +0 -11
- /package/components/access-code/{uac.spec.js → access-code.spec.js} +0 -0
|
@@ -117,7 +117,7 @@ describe('macro: document list', () => {
|
|
|
117
117
|
it('has the correct container if `fullWidth`', () => {
|
|
118
118
|
const $ = cheerio.load(
|
|
119
119
|
renderComponent('document-list', {
|
|
120
|
-
documents: [{ ...EXAMPLE_DOCUMENT_LIST_BASIC, fullWidth: true }],
|
|
120
|
+
documents: [{ ...EXAMPLE_DOCUMENT_LIST_BASIC, featured: true, fullWidth: true }],
|
|
121
121
|
}),
|
|
122
122
|
);
|
|
123
123
|
|
|
@@ -127,7 +127,7 @@ describe('macro: document list', () => {
|
|
|
127
127
|
it('has the correct container class if `fullWidth` and `wide`', () => {
|
|
128
128
|
const $ = cheerio.load(
|
|
129
129
|
renderComponent('document-list', {
|
|
130
|
-
documents: [{ ...EXAMPLE_DOCUMENT_LIST_BASIC, fullWidth: true, wide: true }],
|
|
130
|
+
documents: [{ ...EXAMPLE_DOCUMENT_LIST_BASIC, featured: true, fullWidth: true, wide: true }],
|
|
131
131
|
}),
|
|
132
132
|
);
|
|
133
133
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"text": 'Topic'
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
|
-
"description": '<p>Figures on <
|
|
15
|
+
"description": '<p>Figures on <strong class="ons-highlight">crime</strong> levels and trends for England and Wales based primarily on two sets of statistics: the <strong class="ons-highlight">Crime</strong> Survey for England and Wales (CSEW) and police recorded crime data.</p>
|
|
16
16
|
<p>View all <a href="#0">datasets</a> or <a href="#0">publications</a> related to <a href="#0">Crime and justice</a></p>'
|
|
17
17
|
}
|
|
18
18
|
]
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"text": 'Topic'
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
|
-
"description": '<p>Figures on <
|
|
15
|
+
"description": '<p>Figures on <strong class="ons-highlight">crime</strong> levels and trends for England and Wales based primarily on two sets of statistics: the <strong class="ons-highlight">Crime</strong> Survey for England and Wales (CSEW) and police recorded <strong class="ons-highlight">crime</strong> data.</p>
|
|
16
16
|
<p>View all <a href="#0">datasets</a> or <a href="#0">publications</a> related to <a href="#0">Crime and justice</a></p>'
|
|
17
17
|
},
|
|
18
18
|
{
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"short": '18 February 2021'
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
"description": '<p>Domestic abuse and sexual assault outcomes for disabled people in England and Wales aged 16 to 59 years, with analysis by age, sex, impairment type, impairment severity, country and region using the <
|
|
32
|
+
"description": '<p>Domestic abuse and sexual assault outcomes for disabled people in England and Wales aged 16 to 59 years, with analysis by age, sex, impairment type, impairment severity, country and region using the <strong class="ons-highlight">Crime</strong> Survey for England and Wales (CSEW) data.</p>'
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"url": '#0',
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"short": '2 December 2019'
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
|
-
"description": '<p>An overview of published data on disability and <
|
|
48
|
+
"description": '<p>An overview of published data on disability and <strong class="ons-highlight">crime</strong> in the UK and analysis of the experience of domestic abuse and sexual assault for disabled adults aged 16 to 59 years in England and Wales. Analysis by age, sex and impairment type.</p>'
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"url": '#0',
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
visibility: hidden;
|
|
4
4
|
white-space: nowrap;
|
|
5
5
|
}
|
|
6
|
-
.ons-
|
|
6
|
+
.ons-icon {
|
|
7
7
|
fill: var(--ons-color-grey-100);
|
|
8
8
|
margin: 0 0 0 0.25rem;
|
|
9
9
|
padding-bottom: 0.1rem;
|
|
10
10
|
visibility: visible;
|
|
11
11
|
}
|
|
12
12
|
&:focus {
|
|
13
|
-
.ons-
|
|
13
|
+
.ons-icon {
|
|
14
14
|
fill: var(--ons-color-black);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
&:hover {
|
|
18
|
-
.ons-
|
|
18
|
+
.ons-icon {
|
|
19
19
|
fill: var(--ons-color-text-link-hover);
|
|
20
20
|
.ons-footer & {
|
|
21
21
|
fill: var(--ons-color-black);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<a href="{{ params.url }}" class="ons-external-link{% if params.classes %} {{ params.classes }}{% endif %}" target="_blank" rel="noopener">
|
|
4
4
|
<span class="ons-external-link__text">
|
|
5
5
|
{{- params.linkText | safe -}}
|
|
6
|
-
</span><span class="ons-external-link__icon"> <svg class="ons-
|
|
6
|
+
</span><span class="ons-external-link__icon"> <svg class="ons-icon" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true">
|
|
7
7
|
<path d="M13.5,9H13a.5.5,0,0,0-.5.5v3h-9v-9h3A.5.5,0,0,0,7,3V2.5A.5.5,0,0,0,6.5,2h-4a.5.5,0,0,0-.5.5v11a.5.5,0,0,0,.5.5h11a.5.5,0,0,0,.5-.5v-4A.5.5,0,0,0,13.5,9Z" transform="translate(-2 -1.99)"/>
|
|
8
8
|
<path d="M8.83,7.88a.51.51,0,0,0,.71,0l2.31-2.32,1.28,1.28A.51.51,0,0,0,14,6.49v-4a.52.52,0,0,0-.5-.5h-4A.51.51,0,0,0,9,2.52a.58.58,0,0,0,.14.33l1.28,1.28L8.12,6.46a.51.51,0,0,0,0,.71Z" transform="translate(-2 -1.99)"/>
|
|
9
9
|
</svg></span><span class="ons-external-link__new-window-description ons-u-vh"> ({{- params.newWindowDescription | default("opens in a new tab") -}})</span></a>
|
|
@@ -4,18 +4,18 @@
|
|
|
4
4
|
{% from "components/footer/_macro.njk" import onsFooter %}
|
|
5
5
|
{{
|
|
6
6
|
onsFooter({
|
|
7
|
-
"poweredBy": '<svg class="ons-
|
|
7
|
+
"poweredBy": '<svg class="ons-icon--logo ons-icon--logo--nisra" xmlns="http://www.w3.org/2000/svg" width="170" height="56" viewBox="0 1 170 54" aria-labelledby="poweredby-alt">
|
|
8
8
|
<title id="poweredby-alt">NISRA - Northern Ireland Statistics and Research Agency</title>
|
|
9
|
-
<g class="ons-
|
|
9
|
+
<g class="ons-icon--logo__group" fill="#3d7cc9">
|
|
10
10
|
<path d="M0,39.3c2.7,4.7,6.1,8.1,10.8,10.8c4.6,2.7,9.7,4,14.7,4c7,0,13.8-2.5,19.2-7.1c0.3-0.3,0.6-0.5,0.9-0.8 c2.1-2,3.9-4.2,5.5-6.9l-15.2-8.8l-1.2-0.7l-8.6-4.9l-0.6-0.4L25,24.8L6.4,35.6l-1.1,0.6L0,39.3L0,39.3z"></path>
|
|
11
11
|
</g>
|
|
12
|
-
<g class="ons-
|
|
12
|
+
<g class="ons-icon--logo__group" fill="#cddb00">
|
|
13
13
|
<path d="M36.4,7.2c-0.4-0.1-0.8-0.3-1.2-0.4c-2.9-0.9-5.9-1.4-9.1-1.4v18.1l9.1,5.3l1.2,0.7l15.2,8.8l1,0.6l-0.6,1 c-1.5,2.6-3.3,4.9-5.4,6.9l5,2.9c2.7-4.7,3.9-9.3,3.9-14.7C55.6,22.2,47.6,11.4,36.4,7.2L36.4,7.2z"></path>
|
|
14
14
|
</g>
|
|
15
|
-
<g class="ons-
|
|
15
|
+
<g class="ons-icon--logo__group" fill="#00205c">
|
|
16
16
|
<path d="M6.2,34.4L25,23.5V4.2h1.2c3.1,0,6.2,0.5,9.1,1.4V0c-5.4,0-10,1.2-14.7,4C9.5,10.3,4.2,22.6,6.2,34.4z"></path>
|
|
17
17
|
</g>
|
|
18
|
-
<g class="ons-
|
|
18
|
+
<g class="ons-icon--logo__group ons-icon--logo__group--text" fill="#00205c">
|
|
19
19
|
<path d="M94.5,48.4l-1-0.2c-0.4-0.1-0.7-0.2-0.7-0.5s0.3-0.5,0.8-0.5c0.7,0,0.8,0.4,0.8,0.5l0.9-0.2c-0.3-0.9-1.2-1.1-1.8-1.1 c-1.5,0-1.7,1-1.7,1.5c0,1.1,1,1.3,1.4,1.3l0.8,0.2c0.2,0,0.5,0.2,0.5,0.5c0,0.5-0.7,0.6-1,0.6c-0.7,0-0.9-0.3-1-0.6l-0.8,0.2 c0.2,0.7,0.9,1.1,1.9,1.1c0.6,0,2-0.2,2-1.5C95.6,49,95.2,48.5,94.5,48.4z M91.2,49c0-1.3-0.6-2.5-2.1-2.5c-1.3,0-2.1,1-2.1,2.4 c0,1.1,0.6,2.4,2.1,2.4c0.9,0,1.7-0.4,2-1.4l-0.9-0.2c-0.1,0.2-0.3,0.7-1,0.7c-0.4,0-0.7-0.1-0.9-0.4c-0.3-0.4-0.2-0.7-0.2-1H91.2z M88.3,47.7c0.2-0.3,0.5-0.4,0.8-0.4c0.4,0,0.6,0.2,0.8,0.4c0.2,0.3,0.2,0.5,0.2,0.7h-2C88.1,48.2,88.2,48,88.3,47.7z M148.6,49.6l-1.1-3h-1.1l1.6,4.3l0.1,0.3c0,0.1-0.1,0.5-0.3,0.7c-0.2,0.2-0.4,0.1-1,0.1v0.8h0.6c0.4,0,0.9-0.1,1.2-1l1.8-5.2
|
|
20
20
|
h-0.8L148.6,49.6z M100.4,49c0-1.3-0.6-2.5-2.1-2.5c-1.3,0-2.1,1-2.1,2.4c0,1.1,0.6,2.4,2.1,2.4c0.9,0,1.7-0.4,2-1.4l-0.9-0.2
|
|
21
21
|
c-0.1,0.2-0.3,0.7-1,0.7c-0.4,0-0.7-0.1-0.9-0.4c-0.3-0.4-0.2-0.7-0.2-1H100.4z M97.5,47.7c0.2-0.3,0.5-0.4,0.8-0.4
|
|
@@ -79,10 +79,10 @@
|
|
|
79
79
|
&--neutral & {
|
|
80
80
|
&__top {
|
|
81
81
|
background: var(--ons-color-header-masthead-internal);
|
|
82
|
-
.ons-
|
|
82
|
+
.ons-icon--logo {
|
|
83
83
|
display: block;
|
|
84
|
-
.ons-
|
|
85
|
-
.ons-
|
|
84
|
+
.ons-icon--logo__group--text,
|
|
85
|
+
.ons-icon--logo__group--primary {
|
|
86
86
|
fill: var(--ons-color-white);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
background-color: transparent;
|
|
92
92
|
box-shadow: none;
|
|
93
93
|
outline: 3px solid var(--ons-color-focus);
|
|
94
|
-
.ons-
|
|
94
|
+
.ons-icon--logo {
|
|
95
95
|
fill: var(--ons-color-text-link-focus);
|
|
96
96
|
}
|
|
97
97
|
}
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
.ons-
|
|
143
|
+
.ons-icon--logo {
|
|
144
144
|
display: block;
|
|
145
145
|
}
|
|
146
146
|
|
|
@@ -155,9 +155,9 @@
|
|
|
155
155
|
|
|
156
156
|
&__org-logo-link {
|
|
157
157
|
&:focus {
|
|
158
|
-
.ons-
|
|
158
|
+
.ons-icon--logo {
|
|
159
159
|
fill: var(--ons-color-black) !important;
|
|
160
|
-
.ons-
|
|
160
|
+
.ons-icon--logo__group {
|
|
161
161
|
fill: var(--ons-color-black) !important;
|
|
162
162
|
}
|
|
163
163
|
}
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
&:first-child {
|
|
208
208
|
margin-left: 0;
|
|
209
209
|
}
|
|
210
|
-
.ons-
|
|
210
|
+
.ons-icon {
|
|
211
211
|
clip-path: circle(9px at center);
|
|
212
212
|
margin-right: 0.5rem;
|
|
213
213
|
}
|
|
@@ -102,9 +102,9 @@
|
|
|
102
102
|
href="{{ item.url }}"
|
|
103
103
|
class="ons-header-service-nav__link"
|
|
104
104
|
{% if item.id %} id="{{ item.id }}"{% endif %}
|
|
105
|
-
>{{ item.title }}</a>
|
|
105
|
+
>{% if item.title %}{{ item.title }}{% elif item.text %}{{ item.text }}{% endif %}</a>
|
|
106
106
|
{% else %}
|
|
107
|
-
{{ item.title }}
|
|
107
|
+
{% if item.title %}{{ item.title }}{% elif item.text %}{{ item.text }}{% endif %}
|
|
108
108
|
{% endif %}
|
|
109
109
|
</li>
|
|
110
110
|
{% endfor %}
|
|
@@ -153,9 +153,9 @@
|
|
|
153
153
|
href="{{ item.url }}"
|
|
154
154
|
class="ons-header-service-nav__link"
|
|
155
155
|
{% if item.id %} id="{{ item.id }}"{% endif %}
|
|
156
|
-
>{{ item.title }}</a>
|
|
156
|
+
>{% if item.title %}{{ item.title }}{% elif item.text %}{{ item.text }}{% endif %}</a>
|
|
157
157
|
{% else %}
|
|
158
|
-
{{ item.title }}
|
|
158
|
+
{% if item.title %}{{ item.title }}{% elif item.text %}{{ item.text }}{% endif %}
|
|
159
159
|
{% endif %}
|
|
160
160
|
</li>
|
|
161
161
|
{% endfor %}
|
|
@@ -13,23 +13,23 @@
|
|
|
13
13
|
"currentPath": '#home',
|
|
14
14
|
"itemsList": [
|
|
15
15
|
{
|
|
16
|
-
"
|
|
16
|
+
"text": 'Home',
|
|
17
17
|
"url": '#home'
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
|
-
"
|
|
20
|
+
"text": 'Guidance',
|
|
21
21
|
"url": '#0'
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
"
|
|
24
|
+
"text": 'Foundations',
|
|
25
25
|
"url": '#0'
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
|
-
"
|
|
28
|
+
"text": 'Components',
|
|
29
29
|
"url": '#0'
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
|
-
"
|
|
32
|
+
"text": 'Patterns',
|
|
33
33
|
"url": '#0'
|
|
34
34
|
}
|
|
35
35
|
],
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
},
|
|
19
19
|
"itemsList": [
|
|
20
20
|
{
|
|
21
|
-
"
|
|
21
|
+
"text": "Help",
|
|
22
22
|
"url": "#0"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
|
-
"
|
|
25
|
+
"text": "My Account",
|
|
26
26
|
"url": "#0"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
"
|
|
29
|
+
"text": "Sign out",
|
|
30
30
|
"url": "#0"
|
|
31
31
|
}
|
|
32
32
|
]
|
|
@@ -15,29 +15,29 @@
|
|
|
15
15
|
"currentPageTitle": 'Design system',
|
|
16
16
|
"itemsList": [
|
|
17
17
|
{
|
|
18
|
-
"
|
|
18
|
+
"text": 'Service standard',
|
|
19
19
|
"url": '#0'
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
|
-
"
|
|
22
|
+
"text": 'Design system',
|
|
23
23
|
"url": '#design-system'
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
|
-
"
|
|
26
|
+
"text": 'Accessibility',
|
|
27
27
|
"url": '#0'
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
|
-
"
|
|
30
|
+
"text": 'Brand guidelines',
|
|
31
31
|
"url": '#0'
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
-
"
|
|
34
|
+
"text": 'Content style guide',
|
|
35
35
|
"url": '#0'
|
|
36
36
|
}
|
|
37
37
|
],
|
|
38
38
|
"toggleNavigationButton": {
|
|
39
39
|
"text": 'Menu',
|
|
40
|
-
"ariaLabel": 'Toggle
|
|
40
|
+
"ariaLabel": 'Toggle menu'
|
|
41
41
|
},
|
|
42
42
|
"subNavigation": {
|
|
43
43
|
"id": 'sub-nav',
|
|
@@ -46,19 +46,19 @@
|
|
|
46
46
|
"ariaLabel": 'Section menu',
|
|
47
47
|
"itemsList": [
|
|
48
48
|
{
|
|
49
|
-
"
|
|
49
|
+
"text": 'Guidance',
|
|
50
50
|
"url": '#0'
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
|
-
"
|
|
53
|
+
"text": 'Foundations',
|
|
54
54
|
"url": '#0'
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
"
|
|
57
|
+
"text": 'Components',
|
|
58
58
|
"url": '#0'
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
|
-
"
|
|
61
|
+
"text": 'Patterns',
|
|
62
62
|
"url": '#patterns',
|
|
63
63
|
"sections": [
|
|
64
64
|
{
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
},
|
|
19
19
|
"itemsList": [
|
|
20
20
|
{
|
|
21
|
-
"
|
|
21
|
+
"text": "Help",
|
|
22
22
|
"url": "#0"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
|
-
"
|
|
25
|
+
"text": "My Account",
|
|
26
26
|
"url": "#0"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
"
|
|
29
|
+
"text": "Sign out",
|
|
30
30
|
"url": "#0"
|
|
31
31
|
}
|
|
32
32
|
]
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
"currentPageTitle": 'Design system',
|
|
39
39
|
"itemsList": [
|
|
40
40
|
{
|
|
41
|
-
"
|
|
41
|
+
"text": 'Menu item 1',
|
|
42
42
|
"url": '#0'
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
|
-
"
|
|
45
|
+
"text": 'Menu item 2',
|
|
46
46
|
"url": '#menu-item-2'
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
|
-
"
|
|
49
|
+
"text": 'Menu item 3',
|
|
50
50
|
"url": '#0'
|
|
51
51
|
}
|
|
52
52
|
],
|