govuk_publishing_components 9.5.1 → 9.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js +11 -6
  3. data/app/assets/javascripts/govuk_publishing_components/vendor/modernizr.js +3 -0
  4. data/app/assets/stylesheets/govuk_publishing_components/admin_styles_ie8.scss +2 -0
  5. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +2 -0
  6. data/app/views/govuk_publishing_components/components/_layout_for_admin.html.erb +7 -1
  7. data/app/views/govuk_publishing_components/components/_step_by_step_nav.html.erb +3 -5
  8. data/app/views/layouts/govuk_publishing_components/application.html.erb +6 -0
  9. data/config/initializers/assets.rb +2 -0
  10. data/lib/govuk_publishing_components/version.rb +1 -1
  11. data/node_modules/govuk-frontend/README.md +1 -1
  12. data/node_modules/govuk-frontend/all.js +3 -1
  13. data/node_modules/govuk-frontend/components/back-link/README.md +23 -7
  14. data/node_modules/govuk-frontend/components/breadcrumbs/README.md +26 -26
  15. data/node_modules/govuk-frontend/components/button/README.md +22 -22
  16. data/node_modules/govuk-frontend/components/checkboxes/README.md +115 -27
  17. data/node_modules/govuk-frontend/components/checkboxes/_checkboxes.scss +7 -1
  18. data/node_modules/govuk-frontend/components/date-input/README.md +141 -61
  19. data/node_modules/govuk-frontend/components/date-input/_date-input.scss +0 -5
  20. data/node_modules/govuk-frontend/components/date-input/template.njk +40 -17
  21. data/node_modules/govuk-frontend/components/details/README.md +10 -10
  22. data/node_modules/govuk-frontend/components/error-message/README.md +4 -4
  23. data/node_modules/govuk-frontend/components/error-summary/README.md +5 -5
  24. data/node_modules/govuk-frontend/components/fieldset/README.md +7 -7
  25. data/node_modules/govuk-frontend/components/file-upload/README.md +16 -16
  26. data/node_modules/govuk-frontend/components/footer/README.md +5 -5
  27. data/node_modules/govuk-frontend/components/footer/template.njk +1 -1
  28. data/node_modules/govuk-frontend/components/header/README.md +26 -18
  29. data/node_modules/govuk-frontend/components/header/_header.scss +3 -2
  30. data/node_modules/govuk-frontend/components/header/template.njk +5 -3
  31. data/node_modules/govuk-frontend/components/hint/README.md +14 -10
  32. data/node_modules/govuk-frontend/components/input/README.md +166 -30
  33. data/node_modules/govuk-frontend/components/input/_input.scss +20 -3
  34. data/node_modules/govuk-frontend/components/inset-text/README.md +6 -6
  35. data/node_modules/govuk-frontend/components/label/README.md +9 -9
  36. data/node_modules/govuk-frontend/components/panel/README.md +43 -4
  37. data/node_modules/govuk-frontend/components/panel/template.njk +4 -2
  38. data/node_modules/govuk-frontend/components/phase-banner/README.md +4 -4
  39. data/node_modules/govuk-frontend/components/phase-banner/_phase-banner.scss +3 -3
  40. data/node_modules/govuk-frontend/components/radios/README.md +100 -29
  41. data/node_modules/govuk-frontend/components/radios/_radios.scss +12 -3
  42. data/node_modules/govuk-frontend/components/select/README.md +12 -12
  43. data/node_modules/govuk-frontend/components/skip-link/README.md +4 -4
  44. data/node_modules/govuk-frontend/components/table/README.md +12 -12
  45. data/node_modules/govuk-frontend/components/table/_table.scss +2 -2
  46. data/node_modules/govuk-frontend/components/tabs/README.md +4 -4
  47. data/node_modules/govuk-frontend/components/tabs/_tabs.scss +1 -0
  48. data/node_modules/govuk-frontend/components/tag/README.md +7 -7
  49. data/node_modules/govuk-frontend/components/tag/_tag.scss +6 -0
  50. data/node_modules/govuk-frontend/components/textarea/README.md +16 -16
  51. data/node_modules/govuk-frontend/components/warning-text/README.md +4 -4
  52. data/node_modules/govuk-frontend/components/warning-text/_warning-text.scss +14 -4
  53. data/node_modules/govuk-frontend/core/_template.scss +7 -3
  54. data/node_modules/govuk-frontend/helpers/_typography.scss +44 -10
  55. data/node_modules/govuk-frontend/objects/_main-wrapper.scss +4 -0
  56. data/node_modules/govuk-frontend/package.json +18 -12
  57. data/node_modules/govuk-frontend/settings/_typography-responsive.scss +35 -0
  58. data/node_modules/govuk-frontend/tools/_all.scss +1 -0
  59. data/node_modules/govuk-frontend/tools/_px-to-rem.scss +20 -0
  60. data/node_modules/govuk-frontend/utilities/_visually-hidden.scss +6 -0
  61. metadata +5 -28
  62. data/node_modules/govuk-frontend/components/back-link/back-link.njk +0 -3
  63. data/node_modules/govuk-frontend/components/breadcrumbs/breadcrumbs.njk +0 -14
  64. data/node_modules/govuk-frontend/components/button/button.njk +0 -3
  65. data/node_modules/govuk-frontend/components/checkboxes/checkboxes.njk +0 -27
  66. data/node_modules/govuk-frontend/components/date-input/date-input.njk +0 -23
  67. data/node_modules/govuk-frontend/components/details/details.njk +0 -7
  68. data/node_modules/govuk-frontend/components/error-message/error-message.njk +0 -7
  69. data/node_modules/govuk-frontend/components/error-summary/error-summary.njk +0 -17
  70. data/node_modules/govuk-frontend/components/fieldset/fieldset.njk +0 -13
  71. data/node_modules/govuk-frontend/components/file-upload/file-upload.njk +0 -9
  72. data/node_modules/govuk-frontend/components/footer/footer.njk +0 -3
  73. data/node_modules/govuk-frontend/components/header/header.njk +0 -3
  74. data/node_modules/govuk-frontend/components/hint/hint.njk +0 -7
  75. data/node_modules/govuk-frontend/components/input/input.njk +0 -9
  76. data/node_modules/govuk-frontend/components/inset-text/inset-text.njk +0 -7
  77. data/node_modules/govuk-frontend/components/label/label.njk +0 -6
  78. data/node_modules/govuk-frontend/components/panel/panel.njk +0 -7
  79. data/node_modules/govuk-frontend/components/phase-banner/phase-banner.njk +0 -7
  80. data/node_modules/govuk-frontend/components/radios/radios.njk +0 -27
  81. data/node_modules/govuk-frontend/components/select/select.njk +0 -24
  82. data/node_modules/govuk-frontend/components/skip-link/skip-link.njk +0 -3
  83. data/node_modules/govuk-frontend/components/table/table.njk +0 -45
  84. data/node_modules/govuk-frontend/components/tabs/tabs.njk +0 -3
  85. data/node_modules/govuk-frontend/components/tag/tag.njk +0 -7
  86. data/node_modules/govuk-frontend/components/textarea/textarea.njk +0 -11
  87. data/node_modules/govuk-frontend/components/warning-text/warning-text.njk +0 -9
@@ -10,6 +10,9 @@
10
10
  @include govuk-exports("govuk/component/radios") {
11
11
  $govuk-radios-size: govuk-spacing(7);
12
12
  $govuk-radios-label-padding-left-right: govuk-spacing(3);
13
+ // When the default focus width is used on a curved edge it looks visually smaller.
14
+ // So for the circular radios we bump the default to make it look visually consistent.
15
+ $govuk-radios-focus-width: $govuk-focus-width + 1px;
13
16
 
14
17
  .govuk-radios__item {
15
18
  @include govuk-font($size: 19);
@@ -58,7 +61,8 @@
58
61
  }
59
62
 
60
63
  .govuk-radios__label {
61
- display: block;
64
+ display: inline-block;
65
+ margin-bottom: 0;
62
66
  padding: 8px $govuk-radios-label-padding-left-right govuk-spacing(1);
63
67
  cursor: pointer;
64
68
  // remove 300ms pause on mobile
@@ -100,8 +104,13 @@
100
104
 
101
105
  // Focused state
102
106
  .govuk-radios__input:focus + .govuk-radios__label::before {
103
- -webkit-box-shadow: 0 0 0 4px $govuk-focus-colour;
104
- box-shadow: 0 0 0 4px $govuk-focus-colour;
107
+ // Since box-shadows are removed when users customise their colours
108
+ // We set a transparent outline that is shown instead.
109
+ // https://accessibility.blog.gov.uk/2017/03/27/how-users-change-colours-on-websites/
110
+ outline: $govuk-focus-width solid transparent;
111
+ outline-offset: $govuk-focus-width;
112
+ -webkit-box-shadow: 0 0 0 $govuk-radios-focus-width $govuk-focus-colour;
113
+ box-shadow: 0 0 0 $govuk-radios-focus-width $govuk-focus-colour;
105
114
  }
106
115
 
107
116
  // Selected state
@@ -6,13 +6,13 @@ The HTML `<select>` element represents a control that provides a menu of options
6
6
 
7
7
  ## Guidance
8
8
 
9
- Find out when to use the Select component in your service in the [GOV.UK Design System](https://govuk-design-system-production.cloudapps.digital/components/select).
9
+ Find out when to use the select component in your service in the [GOV.UK Design System](https://design-system.service.gov.uk/components/select).
10
10
 
11
11
  ## Quick start examples
12
12
 
13
- ### Component default
13
+ ### Select
14
14
 
15
- [Preview the select component](http://govuk-frontend-review.herokuapp.com/components/select/preview)
15
+ [Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/select/preview)
16
16
 
17
17
  #### Markup
18
18
 
@@ -34,13 +34,13 @@ Find out when to use the Select component in your service in the [GOV.UK Design
34
34
 
35
35
  #### Macro
36
36
 
37
- {% from 'select/macro.njk' import govukSelect %}
37
+ {% from "select/macro.njk" import govukSelect %}
38
38
 
39
39
  {{ govukSelect({
40
40
  "id": "select-1",
41
41
  "name": "select-1",
42
42
  "label": {
43
- "html": "Label text goes here"
43
+ "text": "Label text goes here"
44
44
  },
45
45
  "items": [
46
46
  {
@@ -60,9 +60,9 @@ Find out when to use the Select component in your service in the [GOV.UK Design
60
60
  ]
61
61
  }) }}
62
62
 
63
- ### Select--with-hint-text-and-error
63
+ ### Select with hint text and error message
64
64
 
65
- [Preview the select--with-hint-text-and-error example](http://govuk-frontend-review.herokuapp.com/components/select/with-hint-text-and-error/preview)
65
+ [Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/select/with-hint-text-and-error-message/preview)
66
66
 
67
67
  #### Markup
68
68
 
@@ -92,7 +92,7 @@ Find out when to use the Select component in your service in the [GOV.UK Design
92
92
 
93
93
  #### Macro
94
94
 
95
- {% from 'select/macro.njk' import govukSelect %}
95
+ {% from "select/macro.njk" import govukSelect %}
96
96
 
97
97
  {{ govukSelect({
98
98
  "id": "select-2",
@@ -122,9 +122,9 @@ Find out when to use the Select component in your service in the [GOV.UK Design
122
122
  ]
123
123
  }) }}
124
124
 
125
- ### Select--with-label-as-page-heading
125
+ ### Select with label as page heading
126
126
 
127
- [Preview the select--with-label-as-page-heading example](http://govuk-frontend-review.herokuapp.com/components/select/with-label-as-page-heading/preview)
127
+ [Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/select/with-label-as-page-heading/preview)
128
128
 
129
129
  #### Markup
130
130
 
@@ -149,13 +149,13 @@ Find out when to use the Select component in your service in the [GOV.UK Design
149
149
 
150
150
  #### Macro
151
151
 
152
- {% from 'select/macro.njk' import govukSelect %}
152
+ {% from "select/macro.njk" import govukSelect %}
153
153
 
154
154
  {{ govukSelect({
155
155
  "id": "select-3",
156
156
  "name": "select-3",
157
157
  "label": {
158
- "html": "Label text goes here",
158
+ "text": "Label text goes here",
159
159
  "isPageHeading": true
160
160
  },
161
161
  "items": [
@@ -6,13 +6,13 @@ Skip link component. Make skip links visible when they are tabbed to. You'll nee
6
6
 
7
7
  ## Guidance
8
8
 
9
- Find out when to use the Skip link component in your service in the [GOV.UK Design System](https://govuk-design-system-production.cloudapps.digital/components/skip-link).
9
+ Find out when to use the skip link component in your service in the [GOV.UK Design System](https://design-system.service.gov.uk/components/skip-link).
10
10
 
11
11
  ## Quick start examples
12
12
 
13
- ### Component default
13
+ ### Skip link
14
14
 
15
- [Preview the skip-link component](http://govuk-frontend-review.herokuapp.com/components/skip-link/preview)
15
+ [Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/skip-link/preview)
16
16
 
17
17
  #### Markup
18
18
 
@@ -20,7 +20,7 @@ Find out when to use the Skip link component in your service in the [GOV.UK Desi
20
20
 
21
21
  #### Macro
22
22
 
23
- {% from 'skip-link/macro.njk' import govukSkipLink %}
23
+ {% from "skip-link/macro.njk" import govukSkipLink %}
24
24
 
25
25
  {{ govukSkipLink({
26
26
  "text": "Skip to main content",
@@ -6,13 +6,13 @@ Table description.
6
6
 
7
7
  ## Guidance
8
8
 
9
- Find out when to use the Table component in your service in the [GOV.UK Design System](https://govuk-design-system-production.cloudapps.digital/components/table).
9
+ Find out when to use the table component in your service in the [GOV.UK Design System](https://design-system.service.gov.uk/components/table).
10
10
 
11
11
  ## Quick start examples
12
12
 
13
- ### Component default
13
+ ### Table
14
14
 
15
- [Preview the table component](http://govuk-frontend-review.herokuapp.com/components/table/preview)
15
+ [Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/table/preview)
16
16
 
17
17
  #### Markup
18
18
 
@@ -55,7 +55,7 @@ Find out when to use the Table component in your service in the [GOV.UK Design S
55
55
 
56
56
  #### Macro
57
57
 
58
- {% from 'table/macro.njk' import govukTable %}
58
+ {% from "table/macro.njk" import govukTable %}
59
59
 
60
60
  {{ govukTable({
61
61
  "rows": [
@@ -101,9 +101,9 @@ Find out when to use the Table component in your service in the [GOV.UK Design S
101
101
  ]
102
102
  }) }}
103
103
 
104
- ### Table--table-with-head
104
+ ### Table table with head
105
105
 
106
- [Preview the table--table-with-head example](http://govuk-frontend-review.herokuapp.com/components/table/table-with-head/preview)
106
+ [Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/table/table-with-head/preview)
107
107
 
108
108
  #### Markup
109
109
 
@@ -158,7 +158,7 @@ Find out when to use the Table component in your service in the [GOV.UK Design S
158
158
 
159
159
  #### Macro
160
160
 
161
- {% from 'table/macro.njk' import govukTable %}
161
+ {% from "table/macro.njk" import govukTable %}
162
162
 
163
163
  {{ govukTable({
164
164
  "head": [
@@ -217,15 +217,15 @@ Find out when to use the Table component in your service in the [GOV.UK Design S
217
217
  ]
218
218
  }) }}
219
219
 
220
- ### Table--table-with-caption-and-head
220
+ ### Table table with head and caption
221
221
 
222
- [Preview the table--table-with-caption-and-head example](http://govuk-frontend-review.herokuapp.com/components/table/table-with-caption-and-head/preview)
222
+ [Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/table/table-with-head-and-caption/preview)
223
223
 
224
224
  #### Markup
225
225
 
226
226
  <table class="govuk-table">
227
227
 
228
- <caption class="govuk-table__caption govuk-heading-m">Caption 1 : Months and rates</caption>
228
+ <caption class="govuk-table__caption govuk-heading-m">Caption 1: Months and rates</caption>
229
229
 
230
230
  <thead class="govuk-table__head">
231
231
  <tr class="govuk-table__row">
@@ -276,10 +276,10 @@ Find out when to use the Table component in your service in the [GOV.UK Design S
276
276
 
277
277
  #### Macro
278
278
 
279
- {% from 'table/macro.njk' import govukTable %}
279
+ {% from "table/macro.njk" import govukTable %}
280
280
 
281
281
  {{ govukTable({
282
- "caption": "Caption 1 : Months and rates",
282
+ "caption": "Caption 1: Months and rates",
283
283
  "captionClasses": "govuk-heading-m",
284
284
  "firstCellIsHeader": true,
285
285
  "head": [
@@ -16,13 +16,13 @@
16
16
  .govuk-table__header {
17
17
  @include govuk-typography-weight-bold;
18
18
 
19
- padding: govuk-em(govuk-spacing(2), 19px) govuk-em(govuk-spacing(4), 19px) govuk-em(govuk-spacing(2), 19px) 0;
19
+ padding: govuk-spacing(2) govuk-spacing(4) govuk-spacing(2) 0;
20
20
  border-bottom: 1px solid $govuk-border-colour;
21
21
  text-align: left;
22
22
  }
23
23
 
24
24
  .govuk-table__cell {
25
- padding: govuk-em(govuk-spacing(2), 19px) govuk-em(govuk-spacing(4), 19px) govuk-em(govuk-spacing(2), 19px) 0;
25
+ padding: govuk-spacing(2) govuk-spacing(4) govuk-spacing(2) 0;
26
26
  border-bottom: 1px solid $govuk-border-colour;
27
27
  text-align: left;
28
28
  }
@@ -6,13 +6,13 @@ Component for conditionally revealing content, using tabs and tabs panels.
6
6
 
7
7
  ## Guidance
8
8
 
9
- Find out when to use the Tabs component in your service in the [GOV.UK Design System](https://govuk-design-system-production.cloudapps.digital/components/tabs).
9
+ Find out when to use the tabs component in your service in the [GOV.UK Design System](https://design-system.service.gov.uk/components/tabs).
10
10
 
11
11
  ## Quick start examples
12
12
 
13
- ### Component default
13
+ ### Tabs
14
14
 
15
- [Preview the tabs component](http://govuk-frontend-review.herokuapp.com/components/tabs/preview)
15
+ [Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/tabs/preview)
16
16
 
17
17
  #### Markup
18
18
 
@@ -177,7 +177,7 @@ Find out when to use the Tabs component in your service in the [GOV.UK Design Sy
177
177
 
178
178
  #### Macro
179
179
 
180
- {% from 'tabs/macro.njk' import govukTabs %}
180
+ {% from "tabs/macro.njk" import govukTabs %}
181
181
 
182
182
  {{ govukTabs({
183
183
  "items": [
@@ -8,6 +8,7 @@
8
8
  @include govuk-font($size: 19);
9
9
  @include govuk-text-colour;
10
10
  @include govuk-responsive-margin(1, "top");
11
+ @include govuk-responsive-margin(6, "bottom");
11
12
  }
12
13
 
13
14
  .govuk-tabs__title {
@@ -6,13 +6,13 @@ Phase tags are mostly used inside phase banners as an indication of the state of
6
6
 
7
7
  ## Guidance
8
8
 
9
- Find out when to use the Tag component in your service in the [GOV.UK Design System](https://govuk-design-system-production.cloudapps.digital/components/tag).
9
+ Find out when to use the tag component in your service in the [GOV.UK Design System](https://design-system.service.gov.uk/components/tag).
10
10
 
11
11
  ## Quick start examples
12
12
 
13
- ### Component default
13
+ ### Tag
14
14
 
15
- [Preview the tag component](http://govuk-frontend-review.herokuapp.com/components/tag/preview)
15
+ [Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/tag/preview)
16
16
 
17
17
  #### Markup
18
18
 
@@ -22,15 +22,15 @@ Find out when to use the Tag component in your service in the [GOV.UK Design Sys
22
22
 
23
23
  #### Macro
24
24
 
25
- {% from 'tag/macro.njk' import govukTag %}
25
+ {% from "tag/macro.njk" import govukTag %}
26
26
 
27
27
  {{ govukTag({
28
28
  "text": "alpha"
29
29
  }) }}
30
30
 
31
- ### Tag--inactive
31
+ ### Tag inactive
32
32
 
33
- [Preview the tag--inactive example](http://govuk-frontend-review.herokuapp.com/components/tag/inactive/preview)
33
+ [Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/tag/inactive/preview)
34
34
 
35
35
  #### Markup
36
36
 
@@ -40,7 +40,7 @@ Find out when to use the Tag component in your service in the [GOV.UK Design Sys
40
40
 
41
41
  #### Macro
42
42
 
43
- {% from 'tag/macro.njk' import govukTag %}
43
+ {% from "tag/macro.njk" import govukTag %}
44
44
 
45
45
  {{ govukTag({
46
46
  "text": "alpha",
@@ -9,6 +9,12 @@
9
9
  display: inline-block;
10
10
  padding: govuk-spacing(1) 8px 0;
11
11
 
12
+ // When a user customises their colours often the background is removed,
13
+ // by adding a outline we ensure that the tag component still keeps it's meaning.
14
+ // https://accessibility.blog.gov.uk/2017/03/27/how-users-change-colours-on-websites/
15
+ outline: 2px solid transparent;
16
+ outline-offset: -2px;
17
+
12
18
  color: govuk-colour("white");
13
19
  background-color: govuk-colour("blue");
14
20
  letter-spacing: 1px;
@@ -6,13 +6,13 @@ A multi-line text field.
6
6
 
7
7
  ## Guidance
8
8
 
9
- Find out when to use the Textarea component in your service in the [GOV.UK Design System](https://govuk-design-system-production.cloudapps.digital/components/textarea).
9
+ Find out when to use the textarea component in your service in the [GOV.UK Design System](https://design-system.service.gov.uk/components/textarea).
10
10
 
11
11
  ## Quick start examples
12
12
 
13
- ### Component default
13
+ ### Textarea
14
14
 
15
- [Preview the textarea component](http://govuk-frontend-review.herokuapp.com/components/textarea/preview)
15
+ [Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/textarea/preview)
16
16
 
17
17
  #### Markup
18
18
 
@@ -30,7 +30,7 @@ Find out when to use the Textarea component in your service in the [GOV.UK Desig
30
30
 
31
31
  #### Macro
32
32
 
33
- {% from 'textarea/macro.njk' import govukTextarea %}
33
+ {% from "textarea/macro.njk" import govukTextarea %}
34
34
 
35
35
  {{ govukTextarea({
36
36
  "name": "more-detail",
@@ -43,9 +43,9 @@ Find out when to use the Textarea component in your service in the [GOV.UK Desig
43
43
  }
44
44
  }) }}
45
45
 
46
- ### Textarea--with error message
46
+ ### Textarea with error message
47
47
 
48
- [Preview the textarea--with error message example](http://govuk-frontend-review.herokuapp.com/components/textarea/with error message/preview)
48
+ [Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/textarea/with-error-message/preview)
49
49
 
50
50
  #### Markup
51
51
 
@@ -63,7 +63,7 @@ Find out when to use the Textarea component in your service in the [GOV.UK Desig
63
63
 
64
64
  #### Macro
65
65
 
66
- {% from 'textarea/macro.njk' import govukTextarea %}
66
+ {% from "textarea/macro.njk" import govukTextarea %}
67
67
 
68
68
  {{ govukTextarea({
69
69
  "name": "no-ni-reason",
@@ -76,9 +76,9 @@ Find out when to use the Textarea component in your service in the [GOV.UK Desig
76
76
  }
77
77
  }) }}
78
78
 
79
- ### Textarea--with default value
79
+ ### Textarea with default value
80
80
 
81
- [Preview the textarea--with default value example](http://govuk-frontend-review.herokuapp.com/components/textarea/with default value/preview)
81
+ [Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/textarea/with-default-value/preview)
82
82
 
83
83
  #### Markup
84
84
 
@@ -95,7 +95,7 @@ Find out when to use the Textarea component in your service in the [GOV.UK Desig
95
95
 
96
96
  #### Macro
97
97
 
98
- {% from 'textarea/macro.njk' import govukTextarea %}
98
+ {% from "textarea/macro.njk" import govukTextarea %}
99
99
 
100
100
  {{ govukTextarea({
101
101
  "id": "full-address",
@@ -106,9 +106,9 @@ Find out when to use the Textarea component in your service in the [GOV.UK Desig
106
106
  }
107
107
  }) }}
108
108
 
109
- ### Textarea--with custom rows
109
+ ### Textarea with custom rows
110
110
 
111
- [Preview the textarea--with custom rows example](http://govuk-frontend-review.herokuapp.com/components/textarea/with custom rows/preview)
111
+ [Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/textarea/with-custom-rows/preview)
112
112
 
113
113
  #### Markup
114
114
 
@@ -122,7 +122,7 @@ Find out when to use the Textarea component in your service in the [GOV.UK Desig
122
122
 
123
123
  #### Macro
124
124
 
125
- {% from 'textarea/macro.njk' import govukTextarea %}
125
+ {% from "textarea/macro.njk" import govukTextarea %}
126
126
 
127
127
  {{ govukTextarea({
128
128
  "id": "full-address",
@@ -133,9 +133,9 @@ Find out when to use the Textarea component in your service in the [GOV.UK Desig
133
133
  "rows": 8
134
134
  }) }}
135
135
 
136
- ### Textarea--with label as page heading
136
+ ### Textarea with label as page heading
137
137
 
138
- [Preview the textarea--with label as page heading example](http://govuk-frontend-review.herokuapp.com/components/textarea/with label as page heading/preview)
138
+ [Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/textarea/with-label-as-page-heading/preview)
139
139
 
140
140
  #### Markup
141
141
 
@@ -152,7 +152,7 @@ Find out when to use the Textarea component in your service in the [GOV.UK Desig
152
152
 
153
153
  #### Macro
154
154
 
155
- {% from 'textarea/macro.njk' import govukTextarea %}
155
+ {% from "textarea/macro.njk" import govukTextarea %}
156
156
 
157
157
  {{ govukTextarea({
158
158
  "id": "textarea-with-page-heading",
@@ -6,13 +6,13 @@ Use bold text with an exclamation icon if there are consequences - for example,
6
6
 
7
7
  ## Guidance
8
8
 
9
- Find out when to use the Warning text component in your service in the [GOV.UK Design System](https://govuk-design-system-production.cloudapps.digital/components/warning-text).
9
+ Find out when to use the warning text component in your service in the [GOV.UK Design System](https://design-system.service.gov.uk/components/warning-text).
10
10
 
11
11
  ## Quick start examples
12
12
 
13
- ### Component default
13
+ ### Warning text
14
14
 
15
- [Preview the warning-text component](http://govuk-frontend-review.herokuapp.com/components/warning-text/preview)
15
+ [Preview this example in the Frontend review app](http://govuk-frontend-review.herokuapp.com/components/warning-text/preview)
16
16
 
17
17
  #### Markup
18
18
 
@@ -26,7 +26,7 @@ Find out when to use the Warning text component in your service in the [GOV.UK D
26
26
 
27
27
  #### Macro
28
28
 
29
- {% from 'warning-text/macro.njk' import govukWarningText %}
29
+ {% from "warning-text/macro.njk" import govukWarningText %}
30
30
 
31
31
  {{ govukWarningText({
32
32
  "text": "You can be fined up to £5,000 if you don’t register.",