@ons/design-system 70.0.17 → 72.0.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.
Files changed (204) hide show
  1. package/components/access-code/_macro.njk +4 -4
  2. package/components/access-code/_macro.spec.js +8 -8
  3. package/components/access-code/example-access-code-error.njk +2 -2
  4. package/components/access-code/example-access-code.njk +2 -2
  5. package/components/accordion/_macro.njk +1 -1
  6. package/components/accordion/_macro.spec.js +1 -1
  7. package/components/address-input/_macro.njk +7 -7
  8. package/components/address-input/_macro.spec.js +16 -15
  9. package/components/address-input/autosuggest.address.error.js +1 -1
  10. package/components/address-input/autosuggest.address.js +25 -25
  11. package/components/address-input/autosuggest.address.spec.js +6 -5
  12. package/components/address-input/example-address-input-editable.njk +5 -4
  13. package/components/address-input/example-address-input.njk +4 -5
  14. package/components/autosuggest/_autosuggest.scss +8 -8
  15. package/components/autosuggest/_macro.njk +5 -5
  16. package/components/autosuggest/autosuggest.spec.js +1 -1
  17. package/components/back-to-top/_back-to-top.scss +2 -2
  18. package/components/back-to-top/example-full-page-back-to-top.njk +6 -6
  19. package/components/breadcrumbs/_breadcrumbs.scss +1 -1
  20. package/components/button/_button.scss +24 -16
  21. package/components/button/_macro.njk +3 -3
  22. package/components/button/example-button-custom.njk +1 -1
  23. package/components/card/_card.scss +0 -6
  24. package/components/card/_macro.njk +9 -9
  25. package/components/card/_macro.spec.js +57 -24
  26. package/components/card/example-card-set-with-images.njk +30 -18
  27. package/components/card/example-card-set-with-lists.njk +57 -45
  28. package/components/card/example-card-set.njk +27 -15
  29. package/components/card/example-card.njk +9 -5
  30. package/components/char-check-limit/_macro.njk +1 -1
  31. package/components/checkboxes/_checkbox.scss +4 -4
  32. package/components/checkboxes/_checkboxes.scss +1 -1
  33. package/components/checkboxes/example-checkboxes-with-hidden-label.njk +4 -4
  34. package/components/cookies-banner/_cookies-banner.scss +5 -5
  35. package/components/cookies-banner/_macro.njk +15 -13
  36. package/components/cookies-banner/_macro.spec.js +1 -1
  37. package/components/details/_details.scss +5 -6
  38. package/components/details/_macro.njk +4 -4
  39. package/components/details/_macro.spec.js +1 -1
  40. package/components/document-list/_document-list.scss +0 -2
  41. package/components/document-list/_macro.njk +18 -18
  42. package/components/document-list/_macro.spec.js +16 -14
  43. package/components/document-list/example-document-list-article-featured.njk +5 -3
  44. package/components/document-list/example-document-list-articles.njk +15 -9
  45. package/components/document-list/example-document-list-downloads.njk +15 -9
  46. package/components/document-list/example-document-list-search-result-featured.njk +5 -3
  47. package/components/document-list/example-document-list-search-results.njk +20 -12
  48. package/components/download-resources/_download-resources.scss +1 -2
  49. package/components/download-resources/download-resources.spec.js +12 -6
  50. package/components/external-link/_macro.njk +1 -1
  51. package/components/external-link/_macro.spec.js +1 -1
  52. package/components/external-link/example-external-link.njk +1 -1
  53. package/components/feedback/_macro.njk +1 -1
  54. package/components/feedback/_macro.spec.js +3 -3
  55. package/components/feedback/example-feedback-call-to-action.njk +1 -1
  56. package/components/field/_field-group.scss +0 -2
  57. package/components/field/_field.scss +1 -2
  58. package/components/fieldset/_fieldset.scss +2 -2
  59. package/components/fieldset/_macro.njk +1 -1
  60. package/components/fieldset/_macro.spec.js +1 -1
  61. package/components/footer/_footer.scss +12 -7
  62. package/components/footer/_macro.njk +54 -34
  63. package/components/footer/_macro.spec.js +90 -28
  64. package/components/footer/example-footer-cymraeg.njk +1 -1
  65. package/components/footer/example-footer-transactional.njk +1 -1
  66. package/components/footer/example-footer-warning.njk +1 -1
  67. package/components/footer/example-footer-with-alternative-organisation.njk +99 -94
  68. package/components/footer/example-footer-with-coat-of-arms.njk +1 -1
  69. package/components/footer/example-footer-with-copyright.njk +1 -1
  70. package/components/footer/example-footer-with-multiple-logos-and-split-display.njk +173 -0
  71. package/components/footer/example-footer-with-multiple-logos.njk +172 -0
  72. package/components/footer/example-footer.njk +1 -1
  73. package/components/header/_header.scss +7 -14
  74. package/components/header/_macro.njk +19 -19
  75. package/components/header/_macro.spec.js +17 -17
  76. package/components/header/example-header-external-for-surveys.njk +2 -2
  77. package/components/header/example-header-external-welsh.njk +2 -2
  78. package/components/header/example-header-external-with-sub-navigation-removed.njk +1 -1
  79. package/components/header/example-header-external-with-sub-navigation.njk +1 -1
  80. package/components/header/example-header-multiple-logos.njk +4 -4
  81. package/components/hero/_hero.scss +6 -8
  82. package/components/hero/_macro.njk +1 -1
  83. package/components/icon/_icon.scss +4 -4
  84. package/components/icon/_macro.njk +4 -4
  85. package/components/icon/_macro.spec.js +2 -2
  86. package/components/image/_image.scss +1 -1
  87. package/components/image/_macro.njk +1 -1
  88. package/components/image/_macro.spec.js +10 -10
  89. package/components/image/example-image-for-regular-screens.njk +1 -1
  90. package/components/input/_input-type.scss +0 -2
  91. package/components/input/_input.scss +10 -10
  92. package/components/input/_macro.njk +4 -2
  93. package/components/input/example-input-search-with-character-check.njk +1 -1
  94. package/components/input/example-input-search.njk +1 -1
  95. package/components/label/_label.scss +1 -3
  96. package/components/language-selector/_macro.njk +3 -3
  97. package/components/language-selector/_macro.spec.js +7 -7
  98. package/components/list/_list.scss +1 -5
  99. package/components/list/_macro.njk +9 -10
  100. package/components/list/_macro.spec.js +50 -9
  101. package/components/list/example-inline-list-with-social-icon-prefix.njk +1 -1
  102. package/components/message/_macro.njk +3 -3
  103. package/components/message/_macro.spec.js +3 -3
  104. package/components/message-list/_macro.njk +2 -2
  105. package/components/message-list/_macro.spec.js +8 -4
  106. package/components/message-list/_message-list.scss +2 -2
  107. package/components/navigation/_macro.njk +9 -9
  108. package/components/navigation/_macro.spec.js +2 -2
  109. package/components/navigation/_navigation.scss +2 -6
  110. package/components/navigation/navigation.dom.js +1 -1
  111. package/components/navigation/navigation.spec.js +4 -4
  112. package/components/pagination/_macro.njk +2 -2
  113. package/components/pagination/_pagination.scss +1 -7
  114. package/components/panel/_macro.njk +5 -4
  115. package/components/panel/_macro.spec.js +2 -2
  116. package/components/panel/_panel.scss +12 -8
  117. package/components/password/_macro.njk +1 -1
  118. package/components/password/_macro.spec.js +2 -2
  119. package/components/phase-banner/_macro.njk +1 -1
  120. package/components/phase-banner/_phase-banner.scss +3 -4
  121. package/components/phase-banner/example-phase-banner-alpha.njk +1 -1
  122. package/components/phase-banner/example-phase-banner-beta.njk +1 -1
  123. package/components/question/_macro.njk +8 -8
  124. package/components/question/_macro.spec.js +3 -3
  125. package/components/question/_question.scss +3 -3
  126. package/components/radios/_macro.njk +1 -1
  127. package/components/radios/_macro.spec.js +1 -1
  128. package/components/radios/_radios.scss +1 -1
  129. package/components/radios/example-radios-with-clear-button-expanded.njk +1 -1
  130. package/components/radios/example-radios-with-clear-button.njk +1 -1
  131. package/components/related-content/_macro.spec.js +2 -2
  132. package/components/related-content/_related-content.scss +1 -1
  133. package/components/related-content/example-related-content-general.njk +2 -2
  134. package/components/related-content/example-related-content-social-media.njk +1 -1
  135. package/components/reply/_macro.njk +3 -1
  136. package/components/reply/_macro.spec.js +1 -1
  137. package/components/reply/reply.spec.js +1 -1
  138. package/components/section-navigation/_macro.njk +10 -10
  139. package/components/section-navigation/_macro.spec.js +15 -15
  140. package/components/section-navigation/_section-navigation.scss +3 -8
  141. package/components/section-navigation/example-section-navigation-single-vertical-with-title.njk +3 -3
  142. package/components/section-navigation/example-section-navigation-vertical.njk +14 -14
  143. package/components/section-navigation/example-section-navigation.njk +3 -3
  144. package/components/select/example-select-with-inline-label.njk +1 -1
  145. package/components/share-page/_macro.njk +7 -7
  146. package/components/share-page/_macro.spec.js +2 -2
  147. package/components/share-page/example-share-page.njk +1 -1
  148. package/components/status/_status.scss +1 -1
  149. package/components/summary/_macro.njk +33 -33
  150. package/components/summary/_macro.spec.js +34 -34
  151. package/components/summary/_summary.scss +2 -4
  152. package/components/summary/example-summary-card-grouped.njk +34 -34
  153. package/components/summary/example-summary-grouped-total.njk +7 -7
  154. package/components/summary/example-summary-grouped-with-errors.njk +9 -9
  155. package/components/summary/example-summary-grouped.njk +34 -34
  156. package/components/summary/example-summary-household.njk +7 -7
  157. package/components/summary/example-summary-hub-minimal.njk +8 -8
  158. package/components/summary/example-summary-hub.njk +16 -16
  159. package/components/summary/example-summary-multiple.njk +7 -7
  160. package/components/summary/example-summary-no-action.njk +5 -5
  161. package/components/summary/example-summary.njk +9 -9
  162. package/components/table/_table.scss +2 -3
  163. package/components/table-of-contents/_macro.njk +3 -3
  164. package/components/table-of-contents/_macro.spec.js +3 -3
  165. package/components/table-of-contents/example-table-of-contents-sticky-full-page.njk +1 -1
  166. package/components/tabs/_macro.njk +3 -3
  167. package/components/tabs/_macro.spec.js +3 -3
  168. package/components/tabs/_tabs.scss +3 -4
  169. package/components/tabs/example-tabs-details.njk +1 -1
  170. package/components/text-indent/_text-indent.scss +1 -1
  171. package/components/timeline/_macro.njk +4 -4
  172. package/components/timeline/_macro.spec.js +3 -3
  173. package/components/timeline/_timeline.scss +4 -3
  174. package/components/timeline/example-timeline.njk +1 -1
  175. package/components/upload/_upload.scss +2 -2
  176. package/components/video/_macro.njk +4 -4
  177. package/components/video/_macro.spec.js +2 -2
  178. package/components/video/_video.scss +1 -1
  179. package/components/video/example-video.njk +2 -2
  180. package/components/video/video.spec.js +2 -2
  181. package/css/main.css +1 -1
  182. package/layout/_dsTemplate.njk +1 -1
  183. package/layout/_template.njk +31 -31
  184. package/package.json +1 -1
  185. package/scripts/main.es5.js +1 -1
  186. package/scripts/main.js +1 -1
  187. package/scss/base/_global.scss +2 -0
  188. package/scss/base/_typography.scss +0 -2
  189. package/scss/main.scss +0 -1
  190. package/scss/objects/_container.scss +1 -1
  191. package/scss/objects/_page.scss +2 -3
  192. package/scss/overrides/rtl.scss +1 -1
  193. package/scss/utilities/_grid.scss +103 -96
  194. package/scss/utilities/_margin.scss +11 -5
  195. package/scss/utilities/_padding.scss +12 -5
  196. package/scss/utilities/_typography.scss +2 -1
  197. package/scss/vars/_forms.scss +8 -10
  198. package/scss/vars/_grid.scss +4 -4
  199. package/scss/vars/_typography.scss +26 -19
  200. package/components/call-to-action/_call-to-action.scss +0 -8
  201. package/components/call-to-action/_macro.njk +0 -24
  202. package/components/call-to-action/_macro.spec.js +0 -48
  203. package/components/call-to-action/example-call-to-action-default.njk +0 -15
  204. package/components/metadata/_macro.njk +0 -14
@@ -5,12 +5,12 @@
5
5
  {
6
6
  "groups": [
7
7
  {
8
- "groupTitle": "Summary - Section Title",
8
+ "title": "Summary - Section Title",
9
9
  "rows": [
10
10
  {
11
- "rowItems": [
11
+ "itemsList": [
12
12
  {
13
- "rowTitle": "Total value of acquisitions for transport assets and equipment",
13
+ "title": "Total value of acquisitions for transport assets and equipment",
14
14
  "valueList": [
15
15
  {
16
16
  "text": "£9,000.00"
@@ -27,9 +27,9 @@
27
27
  ]
28
28
  },
29
29
  {
30
- "rowItems": [
30
+ "itemsList": [
31
31
  {
32
- "rowTitle": "Total value of acquisitions for computers and peripheral devices (hardware)",
32
+ "title": "Total value of acquisitions for computers and peripheral devices (hardware)",
33
33
  "valueList": [
34
34
  {
35
35
  "text": "£225,000.00"
@@ -47,9 +47,9 @@
47
47
  },
48
48
  {
49
49
  "total": true,
50
- "rowItems": [
50
+ "itemsList": [
51
51
  {
52
- "rowTitle": "Grand total for value of acquisitions",
52
+ "title": "Grand total for value of acquisitions",
53
53
  "valueList": [
54
54
  {
55
55
  "text": "£234,000.00"
@@ -5,11 +5,11 @@
5
5
  {
6
6
  "groups": [
7
7
  {
8
- "groupTitle": "Summary - Section Title",
8
+ "title": "Summary - Section Title",
9
9
  "rows": [
10
10
  {
11
- "rowTitle": "For the period 1 May 2017 to 31 May 2017, what was the total turnover of Essential Enterprise Ltd?",
12
- "rowItems": [
11
+ "title": "For the period 1 May 2017 to 31 May 2017, what was the total turnover of Essential Enterprise Ltd?",
12
+ "itemsList": [
13
13
  {
14
14
  "valueList": [
15
15
  {
@@ -27,10 +27,10 @@
27
27
  ]
28
28
  },
29
29
  {
30
- "rowTitle": "What was the value of the business's total sales of food?",
30
+ "title": "What was the value of the business's total sales of food?",
31
31
  "errorMessage": "Change one or more of the figures so they sum to £600",
32
32
  "error": true,
33
- "rowItems": [
33
+ "itemsList": [
34
34
  {
35
35
  "valueList": [
36
36
  {
@@ -48,9 +48,9 @@
48
48
  ]
49
49
  },
50
50
  {
51
- "rowTitle": "What was the value of the business's total sales of alcohol, confectionery and tobacco?",
51
+ "title": "What was the value of the business's total sales of alcohol, confectionery and tobacco?",
52
52
  "error": true,
53
- "rowItems": [
53
+ "itemsList": [
54
54
  {
55
55
  "valueList": [
56
56
  {
@@ -68,9 +68,9 @@
68
68
  ]
69
69
  },
70
70
  {
71
- "rowTitle": "What was the value of the business's total sales of clothing and footwear?",
71
+ "title": "What was the value of the business's total sales of clothing and footwear?",
72
72
  "error": true,
73
- "rowItems": [
73
+ "itemsList": [
74
74
  {
75
75
  "valueList": [
76
76
  {
@@ -6,14 +6,14 @@
6
6
  onsSummary({
7
7
  "summaries": [
8
8
  {
9
- "summaryTitle": "John Doe",
9
+ "title": "John Doe",
10
10
  "groups": [
11
11
  {
12
- "groupTitle": "Personal details",
12
+ "title": "Personal details",
13
13
  "rows": [
14
14
  {
15
- "rowTitle": "Are you John Doe?",
16
- "rowItems": [
15
+ "title": "Are you John Doe?",
16
+ "itemsList": [
17
17
  {
18
18
  "valueList": [
19
19
  {
@@ -31,8 +31,8 @@
31
31
  ]
32
32
  },
33
33
  {
34
- "rowTitle": "What's your date of birth?",
35
- "rowItems": [
34
+ "title": "What's your date of birth?",
35
+ "itemsList": [
36
36
  {
37
37
  "valueList": [
38
38
  {
@@ -50,8 +50,8 @@
50
50
  ]
51
51
  },
52
52
  {
53
- "rowTitle": "What is your sex?",
54
- "rowItems": [
53
+ "title": "What is your sex?",
54
+ "itemsList": [
55
55
  {
56
56
  "valueList": [
57
57
  {
@@ -71,11 +71,11 @@
71
71
  ]
72
72
  },
73
73
  {
74
- "groupTitle": "Identity and health",
74
+ "title": "Identity and health",
75
75
  "rows": [
76
76
  {
77
- "rowTitle": "What is your country of birth?",
78
- "rowItems": [
77
+ "title": "What is your country of birth?",
78
+ "itemsList": [
79
79
  {
80
80
  "valueList": [
81
81
  {
@@ -93,8 +93,8 @@
93
93
  ]
94
94
  },
95
95
  {
96
- "rowTitle": "What passports do you hold?",
97
- "rowItems": [
96
+ "title": "What passports do you hold?",
97
+ "itemsList": [
98
98
  {
99
99
  "valueList": [
100
100
  {
@@ -114,11 +114,11 @@
114
114
  ]
115
115
  },
116
116
  {
117
- "groupTitle": "Qualifications",
117
+ "title": "Qualifications",
118
118
  "rows": [
119
119
  {
120
- "rowTitle": "Have you completed an apprenticeship?",
121
- "rowItems": [
120
+ "title": "Have you completed an apprenticeship?",
121
+ "itemsList": [
122
122
  {
123
123
  "valueList": [
124
124
  {
@@ -136,8 +136,8 @@
136
136
  ]
137
137
  },
138
138
  {
139
- "rowTitle": "Have you achieved a GCSE or equivalent qualification?",
140
- "rowItems": [
139
+ "title": "Have you achieved a GCSE or equivalent qualification?",
140
+ "itemsList": [
141
141
  {
142
142
  "valueList": [
143
143
  {
@@ -157,12 +157,12 @@
157
157
  ]
158
158
  },
159
159
  {
160
- "groupTitle": "Employment history",
160
+ "title": "Employment history",
161
161
  "rows": [
162
162
  {
163
- "rowItems": [
163
+ "itemsList": [
164
164
  {
165
- "rowTitle": "Name of UK company",
165
+ "title": "Name of UK company",
166
166
  "valueList": [
167
167
  {
168
168
  "text": "Company A"
@@ -182,7 +182,7 @@
182
182
  ]
183
183
  },
184
184
  {
185
- "rowTitle": "Head office location",
185
+ "title": "Head office location",
186
186
  "valueList": [
187
187
  {
188
188
  "text": "Cardiff"
@@ -197,7 +197,7 @@
197
197
  ]
198
198
  },
199
199
  {
200
- "rowTitle": "Is this UK company your current employer?",
200
+ "title": "Is this UK company your current employer?",
201
201
  "valueList": [
202
202
  {
203
203
  "text": "No"
@@ -214,9 +214,9 @@
214
214
  ]
215
215
  },
216
216
  {
217
- "rowItems": [
217
+ "itemsList": [
218
218
  {
219
- "rowTitle": "Name of UK company",
219
+ "title": "Name of UK company",
220
220
  "valueList": [
221
221
  {
222
222
  "text": "Company A"
@@ -236,7 +236,7 @@
236
236
  ]
237
237
  },
238
238
  {
239
- "rowTitle": "Head office location",
239
+ "title": "Head office location",
240
240
  "valueList": [
241
241
  {
242
242
  "text": "Newport"
@@ -251,7 +251,7 @@
251
251
  ]
252
252
  },
253
253
  {
254
- "rowTitle": "Is this UK company your current employer?",
254
+ "title": "Is this UK company your current employer?",
255
255
  "valueList": [
256
256
  {
257
257
  "text": "Yes"
@@ -277,13 +277,13 @@
277
277
  }
278
278
  },
279
279
  {
280
- "groupTitle": "Spending",
280
+ "title": "Spending",
281
281
  "rows": [
282
282
  {
283
- "rowTitle": "What are your monthly household expenses?",
284
- "rowItems": [
283
+ "title": "What are your monthly household expenses?",
284
+ "itemsList": [
285
285
  {
286
- "rowTitle": "Food",
286
+ "title": "Food",
287
287
  "valueList": [
288
288
  {
289
289
  "text": "£50.00"
@@ -298,7 +298,7 @@
298
298
  ]
299
299
  },
300
300
  {
301
- "rowTitle": "Utilities",
301
+ "title": "Utilities",
302
302
  "valueList": [
303
303
  {
304
304
  "text": "£65.00"
@@ -313,7 +313,7 @@
313
313
  ]
314
314
  },
315
315
  {
316
- "rowTitle": "Transport",
316
+ "title": "Transport",
317
317
  "valueList": [
318
318
  {
319
319
  "text": "£70.00"
@@ -328,7 +328,7 @@
328
328
  ]
329
329
  },
330
330
  {
331
- "rowTitle": "Other",
331
+ "title": "Other",
332
332
  "valueList": [
333
333
  {
334
334
  "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
@@ -2,15 +2,15 @@
2
2
 
3
3
  {{
4
4
  onsSummary({
5
- "classes": "ons-u-mb-l",
5
+ "classes": "ons-u-mb-xl",
6
6
  "summaries": [
7
7
  {
8
8
  "groups": [
9
9
  {
10
10
  "rows": [
11
11
  {
12
- "rowTitle": "Joe Bloggs (You)",
13
- "rowItems": [
12
+ "title": "Joe Bloggs (You)",
13
+ "itemsList": [
14
14
  {
15
15
  "iconType": "person",
16
16
  "actions": [
@@ -24,8 +24,8 @@
24
24
  ]
25
25
  },
26
26
  {
27
- "rowTitle": "Barry Scott",
28
- "rowItems": [
27
+ "title": "Barry Scott",
28
+ "itemsList": [
29
29
  {
30
30
  "iconType": "person",
31
31
  "actions": [
@@ -44,8 +44,8 @@
44
44
  ]
45
45
  },
46
46
  {
47
- "rowTitle": "Wilhelmina Susannah Clementine-Smith",
48
- "rowItems": [
47
+ "title": "Wilhelmina Susannah Clementine-Smith",
48
+ "itemsList": [
49
49
  {
50
50
  "iconType": "person",
51
51
  "actions": [
@@ -9,8 +9,8 @@
9
9
  {
10
10
  "rows": [
11
11
  {
12
- "rowTitle": "People who live here",
13
- "rowItems": [
12
+ "title": "People who live here",
13
+ "itemsList": [
14
14
  {
15
15
  "iconType": "check",
16
16
  "iconVisuallyHiddenText": "Section complete",
@@ -25,8 +25,8 @@
25
25
  ]
26
26
  },
27
27
  {
28
- "rowTitle": "Mary Smith (You)",
29
- "rowItems": [
28
+ "title": "Mary Smith (You)",
29
+ "itemsList": [
30
30
  {
31
31
  "iconType": "check",
32
32
  "iconVisuallyHiddenText": "Section complete",
@@ -41,8 +41,8 @@
41
41
  ]
42
42
  },
43
43
  {
44
- "rowTitle": "John Smith",
45
- "rowItems": [
44
+ "title": "John Smith",
45
+ "itemsList": [
46
46
  {
47
47
  "actions": [
48
48
  {
@@ -55,8 +55,8 @@
55
55
  ]
56
56
  },
57
57
  {
58
- "rowTitle": "Billy Smith",
59
- "rowItems": [
58
+ "title": "Billy Smith",
59
+ "itemsList": [
60
60
  {
61
61
  "actions": [
62
62
  {
@@ -9,8 +9,8 @@
9
9
  {
10
10
  "rows": [
11
11
  {
12
- "rowTitle": "People who live here",
13
- "rowItems": [
12
+ "title": "People who live here",
13
+ "itemsList": [
14
14
  {
15
15
  "iconType": "check",
16
16
  "valueList": [
@@ -29,8 +29,8 @@
29
29
  ]
30
30
  },
31
31
  {
32
- "rowTitle": "Accommodation",
33
- "rowItems": [
32
+ "title": "Accommodation",
33
+ "itemsList": [
34
34
  {
35
35
  "iconType": "check",
36
36
  "valueList": [
@@ -49,8 +49,8 @@
49
49
  ]
50
50
  },
51
51
  {
52
- "rowTitle": "Mary Smith (You)",
53
- "rowItems": [
52
+ "title": "Mary Smith (You)",
53
+ "itemsList": [
54
54
  {
55
55
  "iconType": "check",
56
56
  "valueList": [
@@ -69,8 +69,8 @@
69
69
  ]
70
70
  },
71
71
  {
72
- "rowTitle": "John Smith",
73
- "rowItems": [
72
+ "title": "John Smith",
73
+ "itemsList": [
74
74
  {
75
75
  "valueList": [
76
76
  {
@@ -88,8 +88,8 @@
88
88
  ]
89
89
  },
90
90
  {
91
- "rowTitle": "Billy Smith",
92
- "rowItems": [
91
+ "title": "Billy Smith",
92
+ "itemsList": [
93
93
  {
94
94
  "valueList": [
95
95
  {
@@ -107,8 +107,8 @@
107
107
  ]
108
108
  },
109
109
  {
110
- "rowTitle": "Sally Smith",
111
- "rowItems": [
110
+ "title": "Sally Smith",
111
+ "itemsList": [
112
112
  {
113
113
  "valueList": [
114
114
  {
@@ -126,8 +126,8 @@
126
126
  ]
127
127
  },
128
128
  {
129
- "rowTitle": "Wilhelmina Susannah Clementine-Smith (Visitor)",
130
- "rowItems": [
129
+ "title": "Wilhelmina Susannah Clementine-Smith (Visitor)",
130
+ "itemsList": [
131
131
  {
132
132
  "valueList": [
133
133
  {
@@ -145,8 +145,8 @@
145
145
  ]
146
146
  },
147
147
  {
148
- "rowTitle": "Vera Jones (Visitor)",
149
- "rowItems": [
148
+ "title": "Vera Jones (Visitor)",
149
+ "itemsList": [
150
150
  {
151
151
  "valueList": [
152
152
  {
@@ -3,15 +3,15 @@
3
3
  onsSummary({
4
4
  "summaries": [
5
5
  {
6
- "summaryTitle": "Summary - Section Title",
6
+ "title": "Summary - Section Title",
7
7
  "groups": [
8
8
  {
9
9
  "rows": [
10
10
  {
11
- "rowTitle": "What are your monthly household expenses?",
12
- "rowItems": [
11
+ "title": "What are your monthly household expenses?",
12
+ "itemsList": [
13
13
  {
14
- "rowTitle": "Food",
14
+ "title": "Food",
15
15
  "valueList": [
16
16
  {
17
17
  "text": "£50.00"
@@ -26,7 +26,7 @@
26
26
  ]
27
27
  },
28
28
  {
29
- "rowTitle": "Utilities",
29
+ "title": "Utilities",
30
30
  "valueList": [
31
31
  {
32
32
  "text": "£65.00"
@@ -41,7 +41,7 @@
41
41
  ]
42
42
  },
43
43
  {
44
- "rowTitle": "Transport",
44
+ "title": "Transport",
45
45
  "valueList": [
46
46
  {
47
47
  "text": "£70.00"
@@ -56,7 +56,7 @@
56
56
  ]
57
57
  },
58
58
  {
59
- "rowTitle": "Other",
59
+ "title": "Other",
60
60
  "valueList": [
61
61
  {
62
62
  "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
@@ -5,11 +5,11 @@
5
5
  {
6
6
  "groups": [
7
7
  {
8
- "groupTitle": "Turnover",
8
+ "title": "Turnover",
9
9
  "rows": [
10
10
  {
11
- "rowTitle": "What are the dates of the sales period you are reporting for?",
12
- "rowItems": [
11
+ "title": "What are the dates of the sales period you are reporting for?",
12
+ "itemsList": [
13
13
  {
14
14
  "valueList": [
15
15
  {
@@ -20,8 +20,8 @@
20
20
  ]
21
21
  },
22
22
  {
23
- "rowTitle": "Total turnover",
24
- "rowItems": [
23
+ "title": "Total turnover",
24
+ "itemsList": [
25
25
  {
26
26
  "valueList": [
27
27
  {
@@ -8,12 +8,12 @@
8
8
  {
9
9
  "placeholderText": 'test',
10
10
  "id": "turnover",
11
- "groupTitle": "Turnover",
11
+ "title": "Turnover",
12
12
  "rows": [
13
13
  {
14
14
  "id": "sales-dates-row",
15
- "rowTitle": "What are the dates of the sales period you are reporting for?",
16
- "rowItems": [
15
+ "title": "What are the dates of the sales period you are reporting for?",
16
+ "itemsList": [
17
17
  {
18
18
  "id": "sales-dates",
19
19
  "valueList": [
@@ -32,9 +32,9 @@
32
32
  ]
33
33
  },
34
34
  {
35
- "rowTitle": "For the period 1 January 2015 to 2 February 2017, what was the value of your total turnover, excluding VAT?",
35
+ "title": "For the period 1 January 2015 to 2 February 2017, what was the value of your total turnover, excluding VAT?",
36
36
  "id": "sales-value-row",
37
- "rowItems": [
37
+ "itemsList": [
38
38
  {
39
39
  "id": "sales-value",
40
40
  "valueList": [
@@ -54,8 +54,8 @@
54
54
  },
55
55
  {
56
56
  "id": "sales-reasons-row",
57
- "rowTitle": "Please indicate the reasons for any changes in the total turnover",
58
- "rowItems": [
57
+ "title": "Please indicate the reasons for any changes in the total turnover",
58
+ "itemsList": [
59
59
  {
60
60
  "id": "sales-reasons",
61
61
  "valueList": [
@@ -79,8 +79,8 @@
79
79
  },
80
80
  {
81
81
  "id": "sales-detail-row",
82
- "rowTitle": "Please describe the changes in total turnover in more detail",
83
- "rowItems": [
82
+ "title": "Please describe the changes in total turnover in more detail",
83
+ "itemsList": [
84
84
  {
85
85
  "id": "sales-detail",
86
86
  "valueList": [
@@ -63,7 +63,7 @@
63
63
  }
64
64
 
65
65
  &--responsive {
66
- @include mq(xxs, s) {
66
+ @include mq('2xs', s) {
67
67
  .ons-table__header {
68
68
  display: none;
69
69
  }
@@ -124,7 +124,7 @@
124
124
  }
125
125
  .ons-table__header,
126
126
  .ons-table__cell {
127
- @include mq(xxs, m) {
127
+ @include mq('2xs', m) {
128
128
  white-space: nowrap;
129
129
  }
130
130
  }
@@ -207,7 +207,6 @@
207
207
  display: inline-block;
208
208
  font-family: $font-sans;
209
209
  font-weight: $font-weight-bold;
210
- line-height: 1rem;
211
210
  padding: 0 0 0.2rem;
212
211
  white-space: nowrap;
213
212
 
@@ -17,14 +17,14 @@
17
17
  {% if params.lists %}
18
18
  {% for list in params.lists %}
19
19
  {% if list.listHeading %}
20
- <h3 class="ons-u-fs-r ons-u-mb-xs">
20
+ <h3 class="ons-u-fs-r ons-u-mb-2xs">
21
21
  {{ list.listHeading }}<span class="ons-u-vh"> {{ list.listHeadingHidden }}</span>:
22
22
  </h3>
23
23
  {% endif %}
24
24
  {{
25
25
  onsList({
26
26
  "element": 'ol',
27
- "classes": 'ons-u-mb-m',
27
+ "classes": 'ons-u-mb-l',
28
28
  "variants": 'dashed',
29
29
  "itemsList": list.itemsList
30
30
  })
@@ -34,7 +34,7 @@
34
34
  {{
35
35
  onsList({
36
36
  "element": 'ol',
37
- "classes": 'ons-u-mb-m',
37
+ "classes": 'ons-u-mb-l',
38
38
  "variants": 'dashed',
39
39
  "itemsList": params.itemsList
40
40
  })