@ons/design-system 70.0.8 → 70.0.9

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.
Files changed (201) hide show
  1. package/components/access-code/_macro.njk +31 -25
  2. package/components/access-code/example-access-code-error.njk +49 -37
  3. package/components/access-code/example-access-code.njk +40 -30
  4. package/components/accordion/_macro.njk +7 -6
  5. package/components/accordion/example-accordion-open.njk +0 -1
  6. package/components/address-input/_macro.njk +23 -11
  7. package/components/address-input/autosuggest.address.js +0 -5
  8. package/components/address-input/example-address-input-editable.njk +52 -50
  9. package/components/address-input/example-address-input-manual.njk +23 -21
  10. package/components/address-input/example-address-input.njk +40 -38
  11. package/components/address-output/_macro.njk +6 -6
  12. package/components/autosuggest/_macro.njk +57 -37
  13. package/components/autosuggest/example-autosuggest-country-multiple.njk +26 -26
  14. package/components/autosuggest/example-autosuggest-country.njk +24 -24
  15. package/components/back-to-top/example-back-to-top.njk +183 -6
  16. package/components/back-to-top/example-full-page-back-to-top.njk +135 -123
  17. package/components/breadcrumbs/_macro.njk +12 -4
  18. package/components/browser-banner/_macro.njk +6 -3
  19. package/components/button/_button.scss +36 -1
  20. package/components/button/_macro.njk +63 -62
  21. package/components/button/example-button-ghost.njk +1 -0
  22. package/components/call-to-action/_macro.njk +7 -5
  23. package/components/call-to-action/example-call-to-action-default.njk +3 -2
  24. package/components/card/_macro.njk +26 -10
  25. package/components/card/example-card-set-with-images.njk +31 -29
  26. package/components/card/example-card-set-with-lists.njk +58 -56
  27. package/components/card/example-card-set.njk +28 -26
  28. package/components/card/example-card.njk +9 -7
  29. package/components/char-check-limit/_macro.njk +1 -3
  30. package/components/checkboxes/_checkbox-macro.njk +19 -15
  31. package/components/checkboxes/_macro.njk +81 -72
  32. package/components/checkboxes/example-checkboxes-disabled.njk +30 -30
  33. package/components/checkboxes/example-checkboxes-error.njk +0 -1
  34. package/components/checkboxes/example-checkboxes-with-descriptions.njk +7 -5
  35. package/components/checkboxes/example-checkboxes-with-hidden-label.njk +162 -170
  36. package/components/checkboxes/example-checkboxes-with-revealed-checkboxes-expanded.njk +81 -81
  37. package/components/checkboxes/example-checkboxes-with-revealed-checkboxes.njk +79 -79
  38. package/components/checkboxes/example-checkboxes-with-revealed-select-expanded.njk +7 -5
  39. package/components/checkboxes/example-checkboxes-with-revealed-select.njk +7 -5
  40. package/components/checkboxes/example-checkboxes-with-revealed-text-input-expanded.njk +7 -5
  41. package/components/checkboxes/example-checkboxes-with-revealed-text-input.njk +7 -5
  42. package/components/checkboxes/example-checkboxes-with-select-all-button.njk +7 -5
  43. package/components/checkboxes/example-checkboxes-with-visible-text-input.njk +7 -5
  44. package/components/checkboxes/example-checkboxes.njk +7 -5
  45. package/components/content-pagination/_macro.njk +34 -32
  46. package/components/content-pagination/example-content-pagination.njk +17 -17
  47. package/components/cookies-banner/_macro.njk +19 -6
  48. package/components/cookies-banner/example-cookies-banner-cymraeg.njk +2 -1
  49. package/components/cookies-banner/example-cookies-banner.njk +3 -4
  50. package/components/date-input/_macro.njk +71 -63
  51. package/components/date-input/example-date-input-error-for-single-field.njk +0 -1
  52. package/components/date-input/example-date-input-error.njk +0 -1
  53. package/components/description-list/_macro.njk +20 -11
  54. package/components/details/_macro.njk +18 -11
  55. package/components/details/example-details-with-warning.njk +15 -10
  56. package/components/document-list/_macro.njk +102 -93
  57. package/components/document-list/example-document-list-article-featured.njk +27 -25
  58. package/components/document-list/example-document-list-articles.njk +55 -53
  59. package/components/document-list/example-document-list-downloads.njk +49 -47
  60. package/components/document-list/example-document-list-search-result-featured.njk +19 -17
  61. package/components/document-list/example-document-list-search-results.njk +60 -58
  62. package/components/duration/_macro.njk +61 -55
  63. package/components/duration/example-duration-error-for-single-field.njk +28 -26
  64. package/components/duration/example-duration-single-field.njk +23 -19
  65. package/components/duration/example-duration.njk +33 -29
  66. package/components/error/_macro.njk +8 -6
  67. package/components/external-link/_macro.njk +7 -5
  68. package/components/external-link/example-external-link.njk +9 -6
  69. package/components/feedback/_macro.njk +7 -5
  70. package/components/field/_macro.njk +2 -2
  71. package/components/fieldset/_macro.njk +23 -16
  72. package/components/footer/_macro.njk +28 -21
  73. package/components/footer/_macro.spec.js +1 -1
  74. package/components/footer/example-footer-cymraeg.njk +2 -1
  75. package/components/footer/example-footer-default.njk +3 -4
  76. package/components/footer/example-footer-transactional.njk +2 -1
  77. package/components/footer/example-footer-warning.njk +2 -1
  78. package/components/footer/example-footer-with-alternative-organisation.njk +2 -1
  79. package/components/footer/example-footer-with-coat-of-arms.njk +2 -1
  80. package/components/footer/example-footer-with-copyright.njk +2 -1
  81. package/components/footer/example-footer.njk +2 -1
  82. package/components/header/_header.scss +24 -19
  83. package/components/header/_macro.njk +183 -141
  84. package/components/header/example-header-default.njk +2 -1
  85. package/components/header/example-header-external-for-survey-with-description.njk +2 -1
  86. package/components/header/example-header-external-for-surveys.njk +2 -1
  87. package/components/header/example-header-external-welsh.njk +7 -7
  88. package/components/header/example-header-external-with-navigation-and-search.njk +3 -2
  89. package/components/header/example-header-external-with-navigation.njk +2 -1
  90. package/components/header/example-header-external-with-service-links.njk +2 -1
  91. package/components/header/example-header-external-with-sub-navigation-removed.njk +2 -1
  92. package/components/header/example-header-external-with-sub-navigation.njk +3 -2
  93. package/components/header/example-header-internal.njk +2 -1
  94. package/components/header/example-header-multiple-logos.njk +2 -1
  95. package/components/header/{example-header-neutral-for-multicoloured-logo.njk → example-header-neutral.njk} +2 -1
  96. package/components/helpers/grid.njk +17 -16
  97. package/components/hero/_macro.njk +6 -11
  98. package/components/hero/example-hero-dark.njk +2 -1
  99. package/components/hero/example-hero-default.njk +2 -1
  100. package/components/icon/_macro.njk +601 -168
  101. package/components/image/_macro.njk +7 -5
  102. package/components/input/_macro.njk +114 -95
  103. package/components/input/example-input-search-with-character-check.njk +1 -1
  104. package/components/input/example-input-search-with-placeholder.njk +1 -1
  105. package/components/input/example-input-search.njk +1 -1
  106. package/components/label/_macro.njk +32 -26
  107. package/components/language-selector/_macro.njk +11 -2
  108. package/components/list/_list.scss +13 -0
  109. package/components/list/_macro.njk +93 -73
  110. package/components/message/_macro.njk +20 -7
  111. package/components/message-list/_macro.njk +26 -20
  112. package/components/modal/_macro.njk +11 -12
  113. package/components/multiple-input-fields/_macro.njk +30 -28
  114. package/components/mutually-exclusive/_macro.njk +20 -13
  115. package/components/mutually-exclusive/example-mutually-exclusive-checkboxes.njk +6 -4
  116. package/components/mutually-exclusive/example-mutually-exclusive-date.njk +7 -5
  117. package/components/mutually-exclusive/example-mutually-exclusive-duration.njk +44 -40
  118. package/components/mutually-exclusive/example-mutually-exclusive-email.njk +7 -5
  119. package/components/mutually-exclusive/example-mutually-exclusive-multiple-options.njk +6 -4
  120. package/components/mutually-exclusive/example-mutually-exclusive-number.njk +6 -4
  121. package/components/mutually-exclusive/example-mutually-exclusive-textarea.njk +6 -4
  122. package/components/navigation/_macro.njk +133 -67
  123. package/components/navigation/_navigation.scss +0 -9
  124. package/components/pagination/_macro.njk +42 -20
  125. package/components/panel/_macro.njk +27 -16
  126. package/components/panel/example-panel-bare.njk +6 -4
  127. package/components/panel/example-panel-with-announcement.njk +7 -4
  128. package/components/panel/example-panel-with-error-summary.njk +6 -4
  129. package/components/panel/example-panel-with-warning.njk +5 -3
  130. package/components/password/_macro.njk +7 -5
  131. package/components/phase-banner/_macro.njk +3 -3
  132. package/components/phase-banner/example-phase-banner-alpha.njk +2 -1
  133. package/components/phase-banner/example-phase-banner-beta.njk +4 -3
  134. package/components/question/_macro.njk +62 -47
  135. package/components/question/example-question-ccs.njk +40 -35
  136. package/components/question/example-question-fieldset.njk +84 -80
  137. package/components/question/example-question-interviewer-note.njk +27 -24
  138. package/components/question/example-question-no-fieldset.njk +39 -33
  139. package/components/quote/_macro.njk +3 -1
  140. package/components/radios/_macro.njk +54 -36
  141. package/components/radios/_macro.spec.js +21 -0
  142. package/components/radios/example-radios-with-clear-button-expanded.njk +6 -4
  143. package/components/radios/example-radios-with-clear-button.njk +6 -4
  144. package/components/radios/example-radios-with-descriptions.njk +7 -5
  145. package/components/radios/example-radios-with-revealed-select-expanded.njk +6 -4
  146. package/components/radios/example-radios-with-revealed-select.njk +6 -4
  147. package/components/radios/example-radios-with-revealed-text-area-expanded.njk +7 -5
  148. package/components/radios/example-radios-with-revealed-text-area.njk +7 -5
  149. package/components/radios/example-radios-with-revealed-text-input-expanded.njk +7 -5
  150. package/components/radios/example-radios-with-revealed-text-input.njk +7 -5
  151. package/components/radios/example-radios-with-separator.njk +6 -4
  152. package/components/radios/example-radios-with-visible-text-input.njk +7 -5
  153. package/components/radios/example-radios-without-border.njk +0 -1
  154. package/components/radios/example-radios.njk +7 -5
  155. package/components/related-content/_macro.njk +10 -11
  156. package/components/related-content/_section-macro.njk +7 -7
  157. package/components/related-content/example-related-content-general.njk +5 -3
  158. package/components/related-content/example-related-content-multiple-rows-of-links.njk +51 -49
  159. package/components/related-content/example-related-content-social-media.njk +40 -38
  160. package/components/relationships/_macro.njk +10 -8
  161. package/components/relationships/example-relationships-error.njk +176 -168
  162. package/components/relationships/example-relationships-you.njk +169 -163
  163. package/components/relationships/example-relationships.njk +167 -161
  164. package/components/section-navigation/_macro.njk +34 -12
  165. package/components/select/_macro.njk +21 -18
  166. package/components/share-page/_macro.njk +10 -5
  167. package/components/skip-to-content/_macro.njk +1 -1
  168. package/components/skip-to-content/example-skip-to-content.njk +1 -0
  169. package/components/status/_macro.njk +1 -1
  170. package/components/summary/_macro.njk +53 -23
  171. package/components/summary/example-summary-household-no-rows.njk +18 -16
  172. package/components/summary/example-summary-household.njk +75 -73
  173. package/components/summary/example-summary-hub-minimal.njk +74 -72
  174. package/components/summary/example-summary-hub.njk +169 -167
  175. package/components/table/_macro.njk +72 -45
  176. package/components/table-of-contents/_macro.njk +34 -32
  177. package/components/table-of-contents/example-table-of-contents-grouped.njk +1 -1
  178. package/components/table-of-contents/example-table-of-contents-single.njk +1 -1
  179. package/components/table-of-contents/example-table-of-contents-sticky-full-page.njk +79 -38
  180. package/components/table-of-contents/example-table-of-contents-sticky.njk +50 -13
  181. package/components/tabs/_macro.njk +12 -6
  182. package/components/tabs/example-tabs-details.njk +5 -6
  183. package/components/text-indent/_macro.njk +1 -3
  184. package/components/textarea/_macro.njk +49 -46
  185. package/components/textarea/_macro.spec.js +0 -11
  186. package/components/timeline/_macro.njk +4 -6
  187. package/components/timeout-modal/_macro.njk +21 -19
  188. package/components/timeout-modal/example-timeout-modal.njk +16 -14
  189. package/components/timeout-panel/_macro.njk +19 -17
  190. package/components/timeout-panel/example-panel-with-timeout-warning.njk +13 -11
  191. package/components/upload/_macro.njk +20 -16
  192. package/components/video/_macro.njk +16 -2
  193. package/components/video/example-video.njk +2 -2
  194. package/css/main.css +1 -1
  195. package/layout/_dsTemplate.njk +22 -20
  196. package/layout/_template.njk +63 -49
  197. package/package.json +4 -3
  198. package/scripts/main.es5.js +1 -1
  199. package/scripts/main.js +1 -1
  200. package/scss/overrides/hcm.scss +1 -1
  201. package/scss/vars/_colors.scss +1 -1
@@ -1,40 +1,42 @@
1
1
  {% from "components/related-content/_macro.njk" import onsRelatedContent %}
2
2
 
3
- {{ onsRelatedContent({
4
- "ariaLabel": 'Social media links',
5
- "rows": [
6
- {
7
- "id": 'follow-us',
8
- "title": 'Follow us',
9
- "variants": 'social',
10
- "iconPosition": 'before',
11
- "iconSize": 'xxl',
12
- "itemsList": [
13
- {
14
- "url": '#0',
15
- "text": 'Twitter',
16
- "iconType": 'twitter',
17
- "rel": 'noreferrer external'
18
- },
19
- {
20
- "url": '#0',
21
- "text": 'Facebook',
22
- "iconType": 'facebook',
23
- "rel": 'noreferrer external'
24
- },
25
- {
26
- "url": '#0',
27
- "text": 'Instagram',
28
- "iconType": 'instagram',
29
- "rel": 'noreferrer external'
30
- },
31
- {
32
- "url": '#0',
33
- "text": 'LinkedIn',
34
- "iconType": 'linkedin',
35
- "rel": 'noreferrer external'
36
- }
37
- ]
38
- }
39
- ]
40
- }) }}
3
+ {{
4
+ onsRelatedContent({
5
+ "ariaLabel": 'Social media links',
6
+ "rows": [
7
+ {
8
+ "id": 'follow-us',
9
+ "title": 'Follow us',
10
+ "variants": 'social',
11
+ "iconPosition": 'before',
12
+ "iconSize": 'xxl',
13
+ "itemsList": [
14
+ {
15
+ "url": '#0',
16
+ "text": 'Twitter',
17
+ "iconType": 'twitter',
18
+ "rel": 'noreferrer external'
19
+ },
20
+ {
21
+ "url": '#0',
22
+ "text": 'Facebook',
23
+ "iconType": 'facebook',
24
+ "rel": 'noreferrer external'
25
+ },
26
+ {
27
+ "url": '#0',
28
+ "text": 'Instagram',
29
+ "iconType": 'instagram',
30
+ "rel": 'noreferrer external'
31
+ },
32
+ {
33
+ "url": '#0',
34
+ "text": 'LinkedIn',
35
+ "iconType": 'linkedin',
36
+ "rel": 'noreferrer external'
37
+ }
38
+ ]
39
+ }
40
+ ]
41
+ })
42
+ }}
@@ -3,15 +3,17 @@
3
3
  {% macro onsRelationships(params) %}
4
4
  <div
5
5
  {% if params.id %}id="{{ params.id }}"{% endif %}
6
- class="ons-relationships ons-js-relationships{% if params.classes %} {{ params.classes }}{% endif %}"
6
+ class="ons-relationships ons-js-relationships{{ ' ' + params.classes if params.classes else '' }}"
7
7
  >
8
- {{ onsRadios({
9
- "name": params.name,
10
- "dontWrap": params.dontWrap,
11
- "legendIsQuestionTitle": params.legendIsQuestionTitle,
12
- "radios": params.radios,
13
- "error": params.error
14
- }) }}
8
+ {{
9
+ onsRadios({
10
+ "name": params.name,
11
+ "dontWrap": params.dontWrap,
12
+ "legendIsQuestionTitle": params.legendIsQuestionTitle,
13
+ "radios": params.radios,
14
+ "error": params.error
15
+ })
16
+ }}
15
17
  <p class="ons-relationships__playback ons-js-relationships-playback ons-u-d-no" aria-live="polite">{{ params.playback | safe }}</p>
16
18
  </div>
17
19
  {% endmacro %}
@@ -1,34 +1,38 @@
1
1
  ---
2
- title: "Example: Third-person relationship question"
2
+ title: 'Example: Third-person relationship question'
3
3
  layout: ~
4
4
  ---
5
+
5
6
  {% extends "layout/_template.njk" %}
6
7
  {% from "components/question/_macro.njk" import onsQuestion %}
7
8
  {% from "components/relationships/_macro.njk" import onsRelationships %}
8
9
  {% from "components/panel/_macro.njk" import onsPanel %}
9
10
  {% from "components/list/_macro.njk" import onsList %}
10
-
11
- {% set pageConfig = {
12
- "header": {
13
- "title": "Relationships example"
14
- },
15
- "breadcrumbs": {
16
- "ariaLabel": 'Breadcrumbs',
17
- "itemsList": [
18
- {
19
- "url": '#0',
20
- "text": 'Previous'
21
- }
22
- ]
11
+ {%
12
+ set pageConfig = {
13
+ "header": {
14
+ "title": "Relationships example"
15
+ },
16
+ "breadcrumbs": {
17
+ "ariaLabel": 'Breadcrumbs',
18
+ "itemsList": [
19
+ {
20
+ "url": '#0',
21
+ "text": 'Previous'
22
+ }
23
+ ]
24
+ }
23
25
  }
24
- } %}
26
+ %}
25
27
 
26
28
  {% block main %}
27
29
 
28
- {% call onsPanel({
29
- "title": "There is a problem with your answer",
30
- "variant": "error"
31
- }) %}
30
+ {%
31
+ call onsPanel({
32
+ "title": "There is a problem with your answer",
33
+ "variant": "error"
34
+ })
35
+ %}
32
36
  {{
33
37
  onsList({
34
38
  "element": "ol",
@@ -42,168 +46,172 @@ layout: ~
42
46
  })
43
47
  }}
44
48
  {% endcall %}
45
- {% call onsQuestion({
46
- "title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>…</strong>",
47
- "description": "<p>Complete the sentence by selecting the appropriate relationship</p>",
48
- "readDescriptionFirst": true,
49
- "legendIsQuestionTitle": true,
50
- "legendTitleClasses": "ons-js-relationships-legend",
51
- "submitButton": true
52
- }) %}
53
- {{ onsRelationships({
54
- "playback": "Amanda Bloggs is Joe Bloggs' <strong>…</strong>",
55
- "name": "relationship",
56
- "dontWrap": true,
57
- "error": {
58
- "id": "relationship-error",
59
- "text": "Select a relationship"
60
- },
61
- "radios": [
62
- {
63
- "id": "husband-wife-example-relationships-error",
64
- "value": "husband-wife",
65
- "label": {
66
- "text": "Husband or wife"
67
- },
68
- "attributes": {
69
- "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>husband or wife</strong>",
70
- "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>husband or wife</strong>"
71
- }
49
+ {%
50
+ call onsQuestion({
51
+ "title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>…</strong>",
52
+ "description": "<p>Complete the sentence by selecting the appropriate relationship</p>",
53
+ "readDescriptionFirst": true,
54
+ "legendIsQuestionTitle": true,
55
+ "legendTitleClasses": "ons-js-relationships-legend",
56
+ "submitButton": true
57
+ })
58
+ %}
59
+ {{
60
+ onsRelationships({
61
+ "playback": "Amanda Bloggs is Joe Bloggs' <strong>…</strong>",
62
+ "name": "relationship",
63
+ "dontWrap": true,
64
+ "error": {
65
+ "id": "relationship-error",
66
+ "text": "Select a relationship"
72
67
  },
73
- {
74
- "id": "civil-partner-example-relationships-error",
75
- "value": "civil-partner",
76
- "label": {
77
- "text": "Legally registered civil partner"
68
+ "radios": [
69
+ {
70
+ "id": "husband-wife-example-relationships-error",
71
+ "value": "husband-wife",
72
+ "label": {
73
+ "text": "Husband or wife"
74
+ },
75
+ "attributes": {
76
+ "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>husband or wife</strong>",
77
+ "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>husband or wife</strong>"
78
+ }
78
79
  },
79
- "attributes": {
80
- "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>legally registered civil partner</strong>",
81
- "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>legally registered civil partner</strong>"
82
- }
83
- },
84
- {
85
- "id": "partner-example-relationships-error",
86
- "value": "partner",
87
- "label": {
88
- "text": "Partner"
80
+ {
81
+ "id": "civil-partner-example-relationships-error",
82
+ "value": "civil-partner",
83
+ "label": {
84
+ "text": "Legally registered civil partner"
85
+ },
86
+ "attributes": {
87
+ "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>legally registered civil partner</strong>",
88
+ "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>legally registered civil partner</strong>"
89
+ }
89
90
  },
90
- "attributes": {
91
- "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>partner</strong>",
92
- "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>partner</strong>"
93
- }
94
- },
95
- {
96
- "id": "son-daughter-example-relationships-error",
97
- "value": "son-daughter",
98
- "label": {
99
- "text": "Son or daughter"
91
+ {
92
+ "id": "partner-example-relationships-error",
93
+ "value": "partner",
94
+ "label": {
95
+ "text": "Partner"
96
+ },
97
+ "attributes": {
98
+ "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>partner</strong>",
99
+ "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>partner</strong>"
100
+ }
100
101
  },
101
- "attributes": {
102
- "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>son or daughter</strong>",
103
- "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>son or daughter</strong>"
104
- }
105
- },
106
- {
107
- "id": "stepchild-example-relationships-error",
108
- "value": "stepchild",
109
- "label": {
110
- "text": "Stepchild"
102
+ {
103
+ "id": "son-daughter-example-relationships-error",
104
+ "value": "son-daughter",
105
+ "label": {
106
+ "text": "Son or daughter"
107
+ },
108
+ "attributes": {
109
+ "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>son or daughter</strong>",
110
+ "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>son or daughter</strong>"
111
+ }
111
112
  },
112
- "attributes": {
113
- "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>stepchild</strong>",
114
- "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>stepchild</strong>"
115
- }
116
- },
117
- {
118
- "id": "brother-sister-example-relationships-error",
119
- "value": "brother-sister",
120
- "label": {
121
- "text": "Brother or sister"
113
+ {
114
+ "id": "stepchild-example-relationships-error",
115
+ "value": "stepchild",
116
+ "label": {
117
+ "text": "Stepchild"
118
+ },
119
+ "attributes": {
120
+ "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>stepchild</strong>",
121
+ "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>stepchild</strong>"
122
+ }
122
123
  },
123
- "attributes": {
124
- "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>brother or sister</strong>",
125
- "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>brother or sister</strong>"
126
- }
127
- },
128
- {
129
- "id": "stepbrother-stepsister-example-relationships-error",
130
- "value": "stepbrother-stepsister",
131
- "label": {
132
- "text": "Stepbrother or stepsister"
124
+ {
125
+ "id": "brother-sister-example-relationships-error",
126
+ "value": "brother-sister",
127
+ "label": {
128
+ "text": "Brother or sister"
129
+ },
130
+ "attributes": {
131
+ "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>brother or sister</strong>",
132
+ "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>brother or sister</strong>"
133
+ }
133
134
  },
134
- "attributes": {
135
- "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>stepbrother or sister</strong>",
136
- "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>stepbrother or sister</strong>"
137
- }
138
- },
139
- {
140
- "id": "mother-father-example-relationships-error",
141
- "value": "mother-father",
142
- "label": {
143
- "text": "Mother or father"
135
+ {
136
+ "id": "stepbrother-stepsister-example-relationships-error",
137
+ "value": "stepbrother-stepsister",
138
+ "label": {
139
+ "text": "Stepbrother or stepsister"
140
+ },
141
+ "attributes": {
142
+ "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>stepbrother or sister</strong>",
143
+ "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>stepbrother or sister</strong>"
144
+ }
144
145
  },
145
- "attributes": {
146
- "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>mother or father</strong>",
147
- "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>mother or father</strong>"
148
- }
149
- },
150
- {
151
- "id": "stepmother-stepfather-example-relationships-error",
152
- "value": "stepmother-stepfather",
153
- "label": {
154
- "text": "Stepmother or stepfather"
146
+ {
147
+ "id": "mother-father-example-relationships-error",
148
+ "value": "mother-father",
149
+ "label": {
150
+ "text": "Mother or father"
151
+ },
152
+ "attributes": {
153
+ "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>mother or father</strong>",
154
+ "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>mother or father</strong>"
155
+ }
155
156
  },
156
- "attributes": {
157
- "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>stepmother or stepfather</strong>",
158
- "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>stepmother or stepfather</strong>"
159
- }
160
- },
161
- {
162
- "id": "grandchild-example-relationships-error",
163
- "value": "grandchild",
164
- "label": {
165
- "text": "Grandchild"
157
+ {
158
+ "id": "stepmother-stepfather-example-relationships-error",
159
+ "value": "stepmother-stepfather",
160
+ "label": {
161
+ "text": "Stepmother or stepfather"
162
+ },
163
+ "attributes": {
164
+ "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>stepmother or stepfather</strong>",
165
+ "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>stepmother or stepfather</strong>"
166
+ }
166
167
  },
167
- "attributes": {
168
- "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>grandchild</strong>",
169
- "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>grandchild</strong>"
170
- }
171
- },
172
- {
173
- "id": "grandparent-example-relationships-error",
174
- "value": "grandparent",
175
- "label": {
176
- "text": "Grandparent"
168
+ {
169
+ "id": "grandchild-example-relationships-error",
170
+ "value": "grandchild",
171
+ "label": {
172
+ "text": "Grandchild"
173
+ },
174
+ "attributes": {
175
+ "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>grandchild</strong>",
176
+ "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>grandchild</strong>"
177
+ }
177
178
  },
178
- "attributes": {
179
- "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>grandparents</strong>",
180
- "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>grandparents</strong>"
181
- }
182
- },
183
- {
184
- "id": "other-relation-example-relationships-error",
185
- "value": "other-relation",
186
- "label": {
187
- "text": "Other relation"
179
+ {
180
+ "id": "grandparent-example-relationships-error",
181
+ "value": "grandparent",
182
+ "label": {
183
+ "text": "Grandparent"
184
+ },
185
+ "attributes": {
186
+ "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>grandparents</strong>",
187
+ "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>grandparents</strong>"
188
+ }
188
189
  },
189
- "attributes": {
190
- "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>other relation</strong>",
191
- "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>other relation</strong>"
192
- }
193
- },
194
- {
195
- "id": "unrelated-example-relationships-error",
196
- "value": "unrelated",
197
- "label": {
198
- "text": "Unrelated",
199
- "description": "Including foster child"
190
+ {
191
+ "id": "other-relation-example-relationships-error",
192
+ "value": "other-relation",
193
+ "label": {
194
+ "text": "Other relation"
195
+ },
196
+ "attributes": {
197
+ "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is their <strong>other relation</strong>",
198
+ "data-playback": "Amanda Bloggs is Joe Bloggs' <strong>other relation</strong>"
199
+ }
200
200
  },
201
- "attributes": {
202
- "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is <strong>unrelated</strong> to Joe Bloggs",
203
- "data-playback": "Amanda Bloggs is <strong>unrelated</strong> to Joe Bloggs"
201
+ {
202
+ "id": "unrelated-example-relationships-error",
203
+ "value": "unrelated",
204
+ "label": {
205
+ "text": "Unrelated",
206
+ "description": "Including foster child"
207
+ },
208
+ "attributes": {
209
+ "data-title": "Thinking of Joe Bloggs, Amanda Bloggs is <strong>unrelated</strong> to Joe Bloggs",
210
+ "data-playback": "Amanda Bloggs is <strong>unrelated</strong> to Joe Bloggs"
211
+ }
204
212
  }
205
- }
206
- ]
207
- }) }}
213
+ ]
214
+ })
215
+ }}
208
216
  {% endcall %}
209
217
  {% endblock %}