@ons/design-system 65.2.0 → 65.2.2

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 (101) hide show
  1. package/README.md +1 -0
  2. package/components/access-code/example-access-code-error.njk +1 -1
  3. package/components/access-code/example-access-code.njk +1 -1
  4. package/components/accordion/example-accordion-open.njk +10 -10
  5. package/components/accordion/example-accordion.njk +1 -1
  6. package/components/address-input/example-address-input-editable.njk +2 -2
  7. package/components/address-input/example-address-input-manual.njk +3 -3
  8. package/components/address-input/example-address-input.njk +2 -2
  9. package/components/autosuggest/_macro.njk +1 -0
  10. package/components/autosuggest/autosuggest.js +2 -1
  11. package/components/autosuggest/autosuggest.spec.js +89 -55
  12. package/components/autosuggest/autosuggest.ui.js +8 -12
  13. package/components/autosuggest/example-autosuggest-country-multiple.njk +4 -3
  14. package/components/autosuggest/example-autosuggest-country.njk +1 -1
  15. package/components/back-link/example-back-link.njk +1 -1
  16. package/components/breadcrumbs/_macro.njk +1 -1
  17. package/components/breadcrumbs/_macro.spec.js +5 -5
  18. package/components/card/example-card-set-with-images.njk +3 -3
  19. package/components/card/example-card-set-with-lists.njk +3 -3
  20. package/components/card/example-card-set.njk +3 -3
  21. package/components/card/example-card.njk +1 -1
  22. package/components/checkboxes/example-checkboxes-disabled.njk +3 -3
  23. package/components/checkboxes/example-checkboxes-error.njk +7 -7
  24. package/components/checkboxes/example-checkboxes-with-descriptions.njk +7 -7
  25. package/components/checkboxes/example-checkboxes-with-hidden-label.njk +9 -9
  26. package/components/checkboxes/example-checkboxes-with-revealed-checkboxes-expanded.njk +8 -8
  27. package/components/checkboxes/example-checkboxes-with-revealed-checkboxes.njk +8 -8
  28. package/components/checkboxes/example-checkboxes-with-revealed-radios-expanded.njk +8 -8
  29. package/components/checkboxes/example-checkboxes-with-revealed-radios.njk +8 -8
  30. package/components/checkboxes/example-checkboxes-with-revealed-select-expanded.njk +4 -4
  31. package/components/checkboxes/example-checkboxes-with-revealed-select.njk +4 -4
  32. package/components/checkboxes/example-checkboxes-with-revealed-text-input-expanded.njk +6 -6
  33. package/components/checkboxes/example-checkboxes-with-revealed-text-input.njk +6 -6
  34. package/components/checkboxes/example-checkboxes-with-select-all-button.njk +4 -4
  35. package/components/checkboxes/example-checkboxes-with-visible-text-input.njk +6 -6
  36. package/components/checkboxes/example-checkboxes-without-border.njk +3 -3
  37. package/components/checkboxes/example-checkboxes.njk +4 -4
  38. package/components/cookies-banner/_macro.njk +55 -41
  39. package/components/cookies-banner/_macro.spec.js +9 -27
  40. package/components/date-input/example-date-input-error.njk +2 -2
  41. package/components/date-input/example-date-input.njk +1 -1
  42. package/components/details/example-details-with-warning.njk +1 -1
  43. package/components/details/example-details.njk +1 -1
  44. package/components/duration/example-duration-error.njk +6 -6
  45. package/components/duration/example-duration.njk +5 -5
  46. package/components/header/example-header-external-with-service-links.njk +1 -1
  47. package/components/header/example-header-internal.njk +1 -1
  48. package/components/input/example-input-email.njk +1 -1
  49. package/components/input/example-input-number.njk +1 -1
  50. package/components/input/example-input-numeric-values.njk +7 -7
  51. package/components/input/example-input-text-with-character-limit-checker.njk +1 -1
  52. package/components/input/example-input-text-with-description.njk +1 -1
  53. package/components/input/example-input-text.njk +1 -1
  54. package/components/mutually-exclusive/example-mutually-exclusive-checkboxes.njk +6 -6
  55. package/components/mutually-exclusive/example-mutually-exclusive-date-with-error.njk +2 -2
  56. package/components/mutually-exclusive/example-mutually-exclusive-email.njk +2 -2
  57. package/components/mutually-exclusive/example-mutually-exclusive-multiple-options.njk +5 -5
  58. package/components/panel/_macro.spec.js +7 -29
  59. package/components/phase-banner/_macro.njk +1 -1
  60. package/components/radios/example-radios-with-clear-button-expanded.njk +9 -9
  61. package/components/radios/example-radios-with-clear-button.njk +9 -9
  62. package/components/radios/example-radios-with-descriptions.njk +5 -5
  63. package/components/radios/example-radios-with-error.njk +4 -4
  64. package/components/radios/example-radios-with-revealed-checkboxes-expanded.njk +8 -8
  65. package/components/radios/example-radios-with-revealed-checkboxes.njk +8 -8
  66. package/components/radios/example-radios-with-revealed-radios-expanded.njk +9 -9
  67. package/components/radios/example-radios-with-revealed-radios.njk +8 -8
  68. package/components/radios/example-radios-with-revealed-select-expanded.njk +5 -5
  69. package/components/radios/example-radios-with-revealed-select.njk +4 -4
  70. package/components/radios/example-radios-with-revealed-text-input-expanded.njk +9 -9
  71. package/components/radios/example-radios-with-revealed-text-input.njk +9 -9
  72. package/components/radios/example-radios-with-visible-text-input.njk +3 -3
  73. package/components/relationships/example-relationships-error.njk +13 -13
  74. package/components/relationships/example-relationships-you.njk +13 -13
  75. package/components/relationships/example-relationships.njk +13 -13
  76. package/components/select/example-select-with-error.njk +1 -1
  77. package/components/select/example-select-with-inline-label.njk +1 -1
  78. package/components/select/example-select.njk +1 -1
  79. package/components/summary/_macro.njk +2 -2
  80. package/components/summary/_macro.spec.js +28 -25
  81. package/components/summary/example-summary-grouped-total.njk +2 -0
  82. package/components/summary/example-summary-grouped-with-errors.njk +4 -0
  83. package/components/summary/example-summary-grouped.njk +19 -0
  84. package/components/summary/example-summary-household.njk +5 -0
  85. package/components/summary/example-summary-hub.njk +8 -0
  86. package/components/summary/example-summary-multiple.njk +4 -0
  87. package/components/summary/example-summary.njk +4 -0
  88. package/components/textarea/example-textarea-error.njk +1 -1
  89. package/components/upload/example-upload-error.njk +1 -1
  90. package/components/upload/example-upload.njk +1 -1
  91. package/package.json +2 -3
  92. package/scripts/main.es5.js +1 -1
  93. package/scripts/main.js +1 -1
  94. /package/{fonts → scss/fonts}/opensans-bold.woff +0 -0
  95. /package/{fonts → scss/fonts}/opensans-bold.woff2 +0 -0
  96. /package/{fonts → scss/fonts}/opensans-regular.woff +0 -0
  97. /package/{fonts → scss/fonts}/opensans-regular.woff2 +0 -0
  98. /package/{fonts → scss/fonts}/robotomono-bold.woff +0 -0
  99. /package/{fonts → scss/fonts}/robotomono-bold.woff2 +0 -0
  100. /package/{fonts → scss/fonts}/robotomono-regular.woff +0 -0
  101. /package/{fonts → scss/fonts}/robotomono-regular.woff2 +0 -0
@@ -26,14 +26,14 @@
26
26
  },
27
27
  "radios": [
28
28
  {
29
- "id": "none",
29
+ "id": "none-radio-with-clear-button",
30
30
  "label": {
31
31
  "text": "No religion"
32
32
  },
33
33
  "value": "none"
34
34
  },
35
35
  {
36
- "id": "christian",
36
+ "id": "christian-radio-with-clear-button",
37
37
  "label": {
38
38
  "text": "Christian",
39
39
  "description": "Including Church of England, Catholic, Protestant and all other Christian denominations"
@@ -41,49 +41,49 @@
41
41
  "value": "christian"
42
42
  },
43
43
  {
44
- "id": "buddhist",
44
+ "id": "buddhist-radio-with-clear-button",
45
45
  "label": {
46
46
  "text": "Buddhist"
47
47
  },
48
48
  "value": "buddhist"
49
49
  },
50
50
  {
51
- "id": "hindu",
51
+ "id": "hindu-radio-with-clear-button",
52
52
  "label": {
53
53
  "text": "Hindu"
54
54
  },
55
55
  "value": "hindu"
56
56
  },
57
57
  {
58
- "id": "jewish",
58
+ "id": "jewish-radio-with-clear-button",
59
59
  "label": {
60
60
  "text": "Jewish"
61
61
  },
62
62
  "value": "jewish"
63
63
  },
64
64
  {
65
- "id": "muslim",
65
+ "id": "muslim-radio-with-clear-button",
66
66
  "label": {
67
67
  "text": "Muslim"
68
68
  },
69
69
  "value": "muslim"
70
70
  },
71
71
  {
72
- "id": "sikh",
72
+ "id": "sikh-radio-with-clear-button",
73
73
  "label": {
74
74
  "text": "Sikh"
75
75
  },
76
76
  "value": "sikh"
77
77
  },
78
78
  {
79
- "id": "other-radio",
79
+ "id": "other-radio-radio-with-clear-button",
80
80
  "label": {
81
81
  "text": "Any other religion"
82
82
  },
83
83
  "value": "other",
84
84
  "other": {
85
85
  "otherType": "input",
86
- "id": "other-textbox",
86
+ "id": "other-textbox-radio-with-clear-button",
87
87
  "name": "other-answer",
88
88
  "label": {
89
89
  "text": "Enter your religion"
@@ -12,7 +12,7 @@
12
12
  "name": "ethnicity",
13
13
  "radios": [
14
14
  {
15
- "id": "white",
15
+ "id": "white-example-radio-with-description",
16
16
  "label": {
17
17
  "text": "White",
18
18
  "description": "Includes British, Northern Irish, Irish, Gypsy, Irish Traveller, Roma or any other White background"
@@ -20,7 +20,7 @@
20
20
  "name": "white"
21
21
  },
22
22
  {
23
- "id": "mixed",
23
+ "id": "mixed-example-radio-with-description",
24
24
  "label": {
25
25
  "text": "Mixed or Multiple ethnic groups",
26
26
  "description": "Includes White and Black Caribbean, White and Black African, White and Asian or any other Mixed or Multiple background"
@@ -28,7 +28,7 @@
28
28
  "name": "mixed"
29
29
  },
30
30
  {
31
- "id": "asian",
31
+ "id": "asian-example-radio-with-description",
32
32
  "label": {
33
33
  "text": "Asian or Asian British",
34
34
  "description": "Includes Indian, Pakistani, Bangladeshi, Chinese or any other Asian background"
@@ -36,7 +36,7 @@
36
36
  "name": "asian"
37
37
  },
38
38
  {
39
- "id": "black",
39
+ "id": "black-example-radio-with-description",
40
40
  "label": {
41
41
  "text": "Black, Black British, Caribbean or African",
42
42
  "description": "Includes Black British, Caribbean, African or any other Black background"
@@ -44,7 +44,7 @@
44
44
  "name": "black"
45
45
  },
46
46
  {
47
- "id": "other",
47
+ "id": "other-example-radio-with-description",
48
48
  "label": {
49
49
  "text": "Other ethnic group",
50
50
  "description": "Includes Arab or any other ethnic group"
@@ -6,14 +6,14 @@
6
6
  "dontWrap": true,
7
7
  "radios": [
8
8
  {
9
- "id": "yes",
9
+ "id": "yes-example-radio-with-error",
10
10
  "label": {
11
11
  "text": "Yes"
12
12
  },
13
13
  "value": "yes"
14
14
  },
15
15
  {
16
- "id": "no",
16
+ "id": "no-example-radio-with-error",
17
17
  "label": {
18
18
  "text": "No"
19
19
  },
@@ -22,7 +22,7 @@
22
22
  "other": {
23
23
  "open": true,
24
24
  "otherType": "input",
25
- "id": "no-textbox",
25
+ "id": "no-textbox-example-radio-with-error",
26
26
  "name": "no-answer",
27
27
  "label": {
28
28
  "text": "Enter your gender identity"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  ],
33
33
  "error": {
34
- "id": "dietary-error",
34
+ "id": "dietary-error-example-radio-with-error",
35
35
  "text": "Enter your gender identity"
36
36
  }
37
37
  })
@@ -7,21 +7,21 @@
7
7
  "borderless": true,
8
8
  "radios": [
9
9
  {
10
- "id": "post",
10
+ "id": "post-example-radio-with-revealed-checkbox-expanded",
11
11
  "label": {
12
12
  "text": "By post"
13
13
  },
14
14
  "value": "post"
15
15
  },
16
16
  {
17
- "id": "email",
17
+ "id": "email-example-radio-with-revealed-checkbox-expanded",
18
18
  "label": {
19
19
  "text": "By email"
20
20
  },
21
21
  "value": "email"
22
22
  },
23
23
  {
24
- "id": "phone",
24
+ "id": "phone-example-radio-with-revealed-checkbox-expanded",
25
25
  "label": {
26
26
  "text": "By phone"
27
27
  },
@@ -30,34 +30,34 @@
30
30
  "other": {
31
31
  "otherType": "checkboxes",
32
32
  "selectAllChildren": true,
33
- "id": "phone-time",
33
+ "id": "phone-time-example-radio-with-revealed-checkbox-expanded",
34
34
  "name": "phone-time",
35
35
  "legend": "Select preferred times of day",
36
36
  "checkboxes": [
37
37
  {
38
38
  "value": "anytime",
39
- "id": "anytime",
39
+ "id": "anytime-example-radio-with-revealed-checkbox-expanded",
40
40
  "label": {
41
41
  "text": "Anytime of day"
42
42
  }
43
43
  },
44
44
  {
45
45
  "value": "morning",
46
- "id": "morning",
46
+ "id": "morning-example-radio-with-revealed-checkbox-expanded",
47
47
  "label": {
48
48
  "text": "Morning"
49
49
  }
50
50
  },
51
51
  {
52
52
  "value": "afternoon",
53
- "id": "afternoon",
53
+ "id": "afternoon-example-radio-with-revealed-checkbox-expanded",
54
54
  "label": {
55
55
  "text": "Afternoon"
56
56
  }
57
57
  },
58
58
  {
59
59
  "value": "evening",
60
- "id": "evening",
60
+ "id": "evening-example-radio-with-revealed-checkbox-expanded",
61
61
  "label": {
62
62
  "text": "Evening"
63
63
  }
@@ -7,21 +7,21 @@
7
7
  "borderless": true,
8
8
  "radios": [
9
9
  {
10
- "id": "post",
10
+ "id": "post-example-radio-with-revealed-checkbox",
11
11
  "label": {
12
12
  "text": "By post"
13
13
  },
14
14
  "value": "post"
15
15
  },
16
16
  {
17
- "id": "email",
17
+ "id": "email-example-radio-with-revealed-checkbox",
18
18
  "label": {
19
19
  "text": "By email"
20
20
  },
21
21
  "value": "email"
22
22
  },
23
23
  {
24
- "id": "phone",
24
+ "id": "phone-example-radio-with-revealed-checkbox",
25
25
  "label": {
26
26
  "text": "By phone"
27
27
  },
@@ -29,34 +29,34 @@
29
29
  "other": {
30
30
  "otherType": "checkboxes",
31
31
  "selectAllChildren": true,
32
- "id": "phone-time",
32
+ "id": "phone-time-example-radio-with-revealed-checkbox",
33
33
  "name": "phone-time",
34
34
  "legend": "Select preferred times of day",
35
35
  "checkboxes": [
36
36
  {
37
37
  "value": "anytime",
38
- "id": "anytime",
38
+ "id": "anytime-example-radio-with-revealed-checkbox",
39
39
  "label": {
40
40
  "text": "Anytime of day"
41
41
  }
42
42
  },
43
43
  {
44
44
  "value": "morning",
45
- "id": "morning",
45
+ "id": "morning-example-radio-with-revealed-checkbox",
46
46
  "label": {
47
47
  "text": "Morning"
48
48
  }
49
49
  },
50
50
  {
51
51
  "value": "afternoon",
52
- "id": "afternoon",
52
+ "id": "afternoon-example-radio-with-revealed-checkbox",
53
53
  "label": {
54
54
  "text": "Afternoon"
55
55
  }
56
56
  },
57
57
  {
58
58
  "value": "evening",
59
- "id": "evening",
59
+ "id": "evening-example-radio-with-revealed-checkbox",
60
60
  "label": {
61
61
  "text": "Evening"
62
62
  }
@@ -7,21 +7,21 @@
7
7
  "borderless": true,
8
8
  "radios": [
9
9
  {
10
- "id": "post",
10
+ "id": "post-example-with-revealed-radio-expanded",
11
11
  "label": {
12
12
  "text": "By post"
13
13
  },
14
14
  "value": "post"
15
15
  },
16
16
  {
17
- "id": "email",
17
+ "id": "email-example-with-revealed-radio-expanded",
18
18
  "label": {
19
19
  "text": "By email"
20
20
  },
21
21
  "value": "email"
22
22
  },
23
23
  {
24
- "id": "phone",
24
+ "id": "phone-example-with-revealed-radio-expanded",
25
25
  "label": {
26
26
  "text": "By phone"
27
27
  },
@@ -29,34 +29,34 @@
29
29
  "checked": true,
30
30
  "other": {
31
31
  "otherType": "radios",
32
- "id": "phone-time",
32
+ "id": "phone-time-example-with-revealed-radio-expanded",
33
33
  "name": "phone-time",
34
34
  "legend": "Choose preferred time of day",
35
35
  "radios": [
36
36
  {
37
37
  "value": "anytime",
38
- "id": "anytime",
38
+ "id": "anytime-example-with-revealed-radio-expanded",
39
39
  "label": {
40
40
  "text": "Anytime of day"
41
41
  }
42
42
  },
43
43
  {
44
44
  "value": "morning",
45
- "id": "morning",
45
+ "id": "morning-example-with-revealed-radio-expanded",
46
46
  "label": {
47
47
  "text": "Morning"
48
48
  }
49
49
  },
50
50
  {
51
51
  "value": "afternoon",
52
- "id": "afternoon",
52
+ "id": "afternoon-example-with-revealed-radio-expanded",
53
53
  "label": {
54
54
  "text": "Afternoon"
55
55
  }
56
56
  },
57
57
  {
58
58
  "value": "evening",
59
- "id": "evening",
59
+ "id": "evening-example-with-revealed-radio-expanded",
60
60
  "label": {
61
61
  "text": "Evening"
62
62
  }
@@ -66,4 +66,4 @@
66
66
  }
67
67
  ]
68
68
  })
69
- }}
69
+ }}
@@ -7,55 +7,55 @@
7
7
  "borderless": true,
8
8
  "radios": [
9
9
  {
10
- "id": "post",
10
+ "id": "post-example-with-revealed-radio",
11
11
  "label": {
12
12
  "text": "By post"
13
13
  },
14
14
  "value": "post"
15
15
  },
16
16
  {
17
- "id": "email",
17
+ "id": "email-example-with-revealed-radio",
18
18
  "label": {
19
19
  "text": "By email"
20
20
  },
21
21
  "value": "email"
22
22
  },
23
23
  {
24
- "id": "phone",
24
+ "id": "phone-example-with-revealed-radio",
25
25
  "label": {
26
26
  "text": "By phone"
27
27
  },
28
28
  "value": "phone",
29
29
  "other": {
30
30
  "otherType": "radios",
31
- "id": "phone-time",
31
+ "id": "phone-time-example-with-revealed-radio",
32
32
  "name": "phone-time",
33
33
  "legend": "Choose preferred time of day",
34
34
  "radios": [
35
35
  {
36
36
  "value": "anytime",
37
- "id": "anytime",
37
+ "id": "anytime-example-with-revealed-radio",
38
38
  "label": {
39
39
  "text": "Anytime of day"
40
40
  }
41
41
  },
42
42
  {
43
43
  "value": "morning",
44
- "id": "morning",
44
+ "id": "morning-example-with-revealed-radio",
45
45
  "label": {
46
46
  "text": "Morning"
47
47
  }
48
48
  },
49
49
  {
50
50
  "value": "afternoon",
51
- "id": "afternoon",
51
+ "id": "afternoon-example-with-revealed-radio",
52
52
  "label": {
53
53
  "text": "Afternoon"
54
54
  }
55
55
  },
56
56
  {
57
57
  "value": "evening",
58
- "id": "evening",
58
+ "id": "evening-example-with-revealed-radio",
59
59
  "label": {
60
60
  "text": "Evening"
61
61
  }
@@ -11,21 +11,21 @@
11
11
  "name": "contact",
12
12
  "radios": [
13
13
  {
14
- "id": "post",
14
+ "id": "post-example-with-revealed-select-expanded",
15
15
  "label": {
16
16
  "text": "By post"
17
17
  },
18
18
  "value": "post"
19
19
  },
20
20
  {
21
- "id": "email",
21
+ "id": "email-example-with-revealed-select-expanded",
22
22
  "label": {
23
23
  "text": "By email"
24
24
  },
25
25
  "value": "email"
26
26
  },
27
27
  {
28
- "id": "phone",
28
+ "id": "phone-example-with-revealed-select-expanded",
29
29
  "label": {
30
30
  "text": "By phone"
31
31
  },
@@ -33,7 +33,7 @@
33
33
  "checked": true,
34
34
  "other": {
35
35
  "otherType": "select",
36
- "id": "phone-time",
36
+ "id": "phone-time-example-with-revealed-select-expanded",
37
37
  "name": "phone-time",
38
38
  "label": {
39
39
  "text": "Choose preferred time of day"
@@ -67,4 +67,4 @@
67
67
  ]
68
68
  })
69
69
  }}
70
- {% endcall %}
70
+ {% endcall %}
@@ -11,28 +11,28 @@
11
11
  "name": "contact",
12
12
  "radios": [
13
13
  {
14
- "id": "post",
14
+ "id": "post-example-with-revealed-select",
15
15
  "label": {
16
16
  "text": "By post"
17
17
  },
18
18
  "value": "post"
19
19
  },
20
20
  {
21
- "id": "email",
21
+ "id": "email-example-with-revealed-select",
22
22
  "label": {
23
23
  "text": "By email"
24
24
  },
25
25
  "value": "email"
26
26
  },
27
27
  {
28
- "id": "phone",
28
+ "id": "phone-example-with-revealed-select",
29
29
  "label": {
30
30
  "text": "By phone"
31
31
  },
32
32
  "value": "phone",
33
33
  "other": {
34
34
  "otherType": "select",
35
- "id": "phone-time",
35
+ "id": "phone-time-example-with-revealed-select",
36
36
  "name": "phone-time",
37
37
  "label": {
38
38
  "text": "Choose preferred time of day"
@@ -12,63 +12,63 @@
12
12
  "name": "travel",
13
13
  "radios": [
14
14
  {
15
- "id": "home",
15
+ "id": "home-example-radio-with-revealed-text-input-expanded",
16
16
  "label": {
17
17
  "text": "Work mainly from home"
18
18
  },
19
19
  "value": "home"
20
20
  },
21
21
  {
22
- "id": "car",
22
+ "id": "car-example-radio-with-revealed-text-input-expanded",
23
23
  "label": {
24
24
  "text": "Car or van"
25
25
  },
26
26
  "value": "car"
27
27
  },
28
28
  {
29
- "id": "underground",
29
+ "id": "underground-example-radio-with-revealed-text-input-expanded",
30
30
  "label": {
31
31
  "text": "Underground, metro, light rail or tram"
32
32
  },
33
33
  "value": "underground"
34
34
  },
35
35
  {
36
- "id": "train",
36
+ "id": "train-example-radio-with-revealed-text-input-expanded",
37
37
  "label": {
38
38
  "text": "Train"
39
39
  },
40
40
  "value": "train"
41
41
  },
42
42
  {
43
- "id": "bus",
43
+ "id": "bus-example-radio-with-revealed-text-input-expanded",
44
44
  "label": {
45
45
  "text": "Bus, minibus or coach"
46
46
  },
47
47
  "value": "bus"
48
48
  },
49
49
  {
50
- "id": "bicycle",
50
+ "id": "bicycle-example-radio-with-revealed-text-input-expanded",
51
51
  "label": {
52
52
  "text": "Bicycle"
53
53
  },
54
54
  "value": "bicycle"
55
55
  },
56
56
  {
57
- "id": "walk",
57
+ "id": "walk-example-radio-with-revealed-text-input-expanded",
58
58
  "label": {
59
59
  "text": "Walk"
60
60
  },
61
61
  "value": "walk"
62
62
  },
63
63
  {
64
- "id": "other-radio",
64
+ "id": "other-radio-with-revealed-text-input-expanded",
65
65
  "label": {
66
66
  "text": "Other"
67
67
  },
68
68
  "value": "other",
69
69
  "checked": true,
70
70
  "other": {
71
- "id": "other-textbox",
71
+ "id": "other-textbox-example-radio-with-revealed-text-input-expanded",
72
72
  "name": "other-answer",
73
73
  "label": {
74
74
  "text": "Enter how you travel"
@@ -12,62 +12,62 @@
12
12
  "name": "travel",
13
13
  "radios": [
14
14
  {
15
- "id": "home",
15
+ "id": "home-example-radio-with-revealed-text-input",
16
16
  "label": {
17
17
  "text": "Work mainly from home"
18
18
  },
19
19
  "value": "home"
20
20
  },
21
21
  {
22
- "id": "car",
22
+ "id": "car-example-radio-with-revealed-text-input",
23
23
  "label": {
24
24
  "text": "Car or van"
25
25
  },
26
26
  "value": "car"
27
27
  },
28
28
  {
29
- "id": "underground",
29
+ "id": "underground-example-radio-with-revealed-text-input",
30
30
  "label": {
31
31
  "text": "Underground, metro, light rail or tram"
32
32
  },
33
33
  "value": "underground"
34
34
  },
35
35
  {
36
- "id": "train",
36
+ "id": "train-example-radio-with-revealed-text-input",
37
37
  "label": {
38
38
  "text": "Train"
39
39
  },
40
40
  "value": "train"
41
41
  },
42
42
  {
43
- "id": "bus",
43
+ "id": "bus-example-radio-with-revealed-text-input",
44
44
  "label": {
45
45
  "text": "Bus, minibus or coach"
46
46
  },
47
47
  "value": "bus"
48
48
  },
49
49
  {
50
- "id": "bicycle",
50
+ "id": "bicycle-example-radio-with-revealed-text-input",
51
51
  "label": {
52
52
  "text": "Bicycle"
53
53
  },
54
54
  "value": "bicycle"
55
55
  },
56
56
  {
57
- "id": "walk",
57
+ "id": "walk-example-radio-with-revealed-text-input",
58
58
  "label": {
59
59
  "text": "Walk"
60
60
  },
61
61
  "value": "walk"
62
62
  },
63
63
  {
64
- "id": "other-radio",
64
+ "id": "other-radio-example-radio-with-revealed-text-input",
65
65
  "label": {
66
66
  "text": "Other"
67
67
  },
68
68
  "value": "other",
69
69
  "other": {
70
- "id": "other-textbox",
70
+ "id": "other-textbox-example-radio-with-revealed-text-input",
71
71
  "name": "other-answer",
72
72
  "label": {
73
73
  "text": "Enter how you travel"