govuk_tech_docs 3.0.1 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of govuk_tech_docs might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/govuk_tech_docs/version.rb +1 -1
- data/lib/source/layouts/_header.erb +3 -3
- data/lib/source/layouts/core.erb +1 -1
- data/node_modules/govuk-frontend/govuk/all.js +272 -75
- data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss +275 -98
- data/node_modules/govuk-frontend/govuk/components/accordion/accordion.js +169 -65
- data/node_modules/govuk-frontend/govuk/components/button/_index.scss +3 -4
- data/node_modules/govuk-frontend/govuk/components/button/button.js +2 -2
- data/node_modules/govuk-frontend/govuk/components/character-count/character-count.js +3 -3
- data/node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss +14 -0
- data/node_modules/govuk-frontend/govuk/components/checkboxes/checkboxes.js +8 -10
- data/node_modules/govuk-frontend/govuk/components/cookie-banner/_index.scss +0 -2
- data/node_modules/govuk-frontend/govuk/components/details/_index.scss +2 -1
- data/node_modules/govuk-frontend/govuk/components/details/details.js +2 -2
- data/node_modules/govuk-frontend/govuk/components/error-message/_index.scss +1 -0
- data/node_modules/govuk-frontend/govuk/components/error-summary/error-summary.js +2 -2
- data/node_modules/govuk-frontend/govuk/components/file-upload/_index.scss +1 -0
- data/node_modules/govuk-frontend/govuk/components/footer/_index.scss +6 -37
- data/node_modules/govuk-frontend/govuk/components/header/_index.scss +10 -4
- data/node_modules/govuk-frontend/govuk/components/header/header.js +4 -4
- data/node_modules/govuk-frontend/govuk/components/hint/_index.scss +1 -3
- data/node_modules/govuk-frontend/govuk/components/input/_index.scss +1 -1
- data/node_modules/govuk-frontend/govuk/components/notification-banner/notification-banner.js +499 -2
- data/node_modules/govuk-frontend/govuk/components/panel/_index.scss +13 -1
- data/node_modules/govuk-frontend/govuk/components/radios/_index.scss +14 -0
- data/node_modules/govuk-frontend/govuk/components/radios/radios.js +4 -4
- data/node_modules/govuk-frontend/govuk/components/select/_index.scss +1 -1
- data/node_modules/govuk-frontend/govuk/components/skip-link/_index.scss +13 -0
- data/node_modules/govuk-frontend/govuk/components/skip-link/skip-link.js +1108 -0
- data/node_modules/govuk-frontend/govuk/components/summary-list/_index.scss +15 -23
- data/node_modules/govuk-frontend/govuk/components/tabs/_index.scss +2 -2
- data/node_modules/govuk-frontend/govuk/components/tabs/tabs.js +2 -2
- data/node_modules/govuk-frontend/govuk/components/tag/_index.scss +0 -5
- data/node_modules/govuk-frontend/govuk/components/textarea/_index.scss +1 -1
- data/node_modules/govuk-frontend/govuk/core/_all.scss +0 -1
- data/node_modules/govuk-frontend/govuk/core/_global-styles.scss +0 -6
- data/node_modules/govuk-frontend/govuk/core/_links.scss +0 -6
- data/node_modules/govuk-frontend/govuk/core/_lists.scss +0 -6
- data/node_modules/govuk-frontend/govuk/core/_section-break.scss +0 -6
- data/node_modules/govuk-frontend/govuk/core/_typography.scss +0 -6
- data/node_modules/govuk-frontend/govuk/helpers/_colour.scss +2 -2
- data/node_modules/govuk-frontend/govuk/helpers/_spacing.scss +22 -4
- data/node_modules/govuk-frontend/govuk/objects/_all.scss +1 -0
- data/node_modules/govuk-frontend/govuk/objects/_main-wrapper.scss +15 -30
- data/node_modules/govuk-frontend/govuk/{core → objects}/_template.scss +1 -5
- data/node_modules/govuk-frontend/govuk/overrides/_all.scss +1 -0
- data/node_modules/govuk-frontend/govuk/overrides/_display.scss +0 -6
- data/node_modules/govuk-frontend/govuk/overrides/_spacing.scss +0 -6
- data/node_modules/govuk-frontend/govuk/overrides/_text-align.scss +14 -0
- data/node_modules/govuk-frontend/govuk/overrides/_typography.scss +0 -6
- data/node_modules/govuk-frontend/govuk/overrides/_width.scss +0 -6
- data/node_modules/govuk-frontend/govuk/settings/_colours-organisations.scss +3 -0
- data/node_modules/govuk-frontend/govuk/settings/_measurements.scss +0 -10
- data/node_modules/govuk-frontend/govuk/tools/_all.scss +0 -1
- data/package-lock.json +3 -3
- data/package.json +1 -1
- metadata +5 -4
- data/node_modules/govuk-frontend/govuk/tools/_iff.scss +0 -17
@@ -6,21 +6,30 @@
|
|
6
6
|
display: table;
|
7
7
|
width: 100%;
|
8
8
|
table-layout: fixed; // Required to allow us to wrap words that overflow.
|
9
|
+
border-collapse: collapse;
|
9
10
|
}
|
10
11
|
margin: 0; // Reset default user agent styles
|
11
12
|
@include govuk-responsive-margin(6, "bottom");
|
12
13
|
}
|
13
14
|
|
14
15
|
.govuk-summary-list__row {
|
16
|
+
border-bottom: 1px solid $govuk-border-colour;
|
17
|
+
|
15
18
|
@include govuk-media-query($until: tablet) {
|
16
19
|
margin-bottom: govuk-spacing(3);
|
17
|
-
border-bottom: 1px solid $govuk-border-colour;
|
18
20
|
}
|
19
21
|
@include govuk-media-query($from: tablet) {
|
20
22
|
display: table-row;
|
21
23
|
}
|
22
24
|
}
|
23
25
|
|
26
|
+
// Provide an empty 'cell' for rows that don't have actions – otherwise the
|
27
|
+
// bottom border is not drawn for that part of the row in some browsers.
|
28
|
+
.govuk-summary-list__row--no-actions:after {
|
29
|
+
content: "";
|
30
|
+
display: table-cell;
|
31
|
+
}
|
32
|
+
|
24
33
|
.govuk-summary-list__key,
|
25
34
|
.govuk-summary-list__value,
|
26
35
|
.govuk-summary-list__actions {
|
@@ -31,7 +40,6 @@
|
|
31
40
|
padding-top: govuk-spacing(2);
|
32
41
|
padding-right: govuk-spacing(4);
|
33
42
|
padding-bottom: govuk-spacing(2);
|
34
|
-
border-bottom: 1px solid $govuk-border-colour;
|
35
43
|
}
|
36
44
|
}
|
37
45
|
|
@@ -63,16 +71,6 @@
|
|
63
71
|
@include govuk-media-query($until: tablet) {
|
64
72
|
margin-bottom: govuk-spacing(3);
|
65
73
|
}
|
66
|
-
@include govuk-media-query($from: tablet) {
|
67
|
-
width: 50%;
|
68
|
-
}
|
69
|
-
}
|
70
|
-
|
71
|
-
// Expand width when value is last column (no action)
|
72
|
-
.govuk-summary-list__value:last-child {
|
73
|
-
@include govuk-media-query($from: tablet) {
|
74
|
-
width: 70%;
|
75
|
-
}
|
76
74
|
}
|
77
75
|
|
78
76
|
.govuk-summary-list__value > p {
|
@@ -109,36 +107,30 @@
|
|
109
107
|
|
110
108
|
// No border on entire summary list
|
111
109
|
.govuk-summary-list--no-border {
|
112
|
-
|
113
|
-
|
114
|
-
border: 0;
|
115
|
-
}
|
110
|
+
.govuk-summary-list__row {
|
111
|
+
border: 0;
|
116
112
|
}
|
117
113
|
|
114
|
+
// Increase padding by 1px to compensate for 'missing' border
|
118
115
|
@include govuk-media-query($from: tablet) {
|
119
116
|
.govuk-summary-list__key,
|
120
117
|
.govuk-summary-list__value,
|
121
118
|
.govuk-summary-list__actions {
|
122
|
-
// Remove 1px border, add 1px height back on
|
123
119
|
padding-bottom: govuk-spacing(2) + 1px;
|
124
|
-
border: 0;
|
125
120
|
}
|
126
121
|
}
|
127
122
|
}
|
128
123
|
|
129
124
|
// No border on specific rows
|
130
125
|
.govuk-summary-list__row--no-border {
|
131
|
-
|
132
|
-
border: 0;
|
133
|
-
}
|
126
|
+
border: 0;
|
134
127
|
|
128
|
+
// Increase padding by 1px to compensate for 'missing' border
|
135
129
|
@include govuk-media-query($from: tablet) {
|
136
130
|
.govuk-summary-list__key,
|
137
131
|
.govuk-summary-list__value,
|
138
132
|
.govuk-summary-list__actions {
|
139
|
-
// Remove 1px border, add 1px height back on
|
140
133
|
padding-bottom: govuk-spacing(2) + 1px;
|
141
|
-
border: 0;
|
142
134
|
}
|
143
135
|
}
|
144
136
|
}
|
@@ -24,7 +24,7 @@
|
|
24
24
|
&:before {
|
25
25
|
@include govuk-text-colour;
|
26
26
|
content: "\2014 "; // "— "
|
27
|
-
margin-left:
|
27
|
+
margin-left: govuk-spacing(-5);
|
28
28
|
padding-right: govuk-spacing(1);
|
29
29
|
}
|
30
30
|
}
|
@@ -77,7 +77,7 @@
|
|
77
77
|
|
78
78
|
position: relative;
|
79
79
|
|
80
|
-
margin-top:
|
80
|
+
margin-top: govuk-spacing(-1);
|
81
81
|
|
82
82
|
// Compensation for border (otherwise we get a shift)
|
83
83
|
margin-bottom: -$border-width;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
(function (global, factory) {
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
3
|
-
typeof define === 'function' && define.amd ? define('GOVUKFrontend', factory) :
|
4
|
-
(global.GOVUKFrontend = factory());
|
3
|
+
typeof define === 'function' && define.amd ? define('GOVUKFrontend.Tabs', factory) :
|
4
|
+
(global.GOVUKFrontend = global.GOVUKFrontend || {}, global.GOVUKFrontend.Tabs = factory());
|
5
5
|
}(this, (function () { 'use strict';
|
6
6
|
|
7
7
|
(function(undefined) {
|
@@ -34,11 +34,6 @@
|
|
34
34
|
}
|
35
35
|
}
|
36
36
|
|
37
|
-
// Deprecated. We'll remove this class in a future release. Use `.govuk-tag--grey` instead.
|
38
|
-
.govuk-tag--inactive {
|
39
|
-
background-color: govuk-colour("dark-grey", $legacy: "grey-1");
|
40
|
-
}
|
41
|
-
|
42
37
|
.govuk-tag--grey {
|
43
38
|
color: govuk-shade(govuk-colour("dark-grey", $legacy: "grey-1"), 30);
|
44
39
|
background: govuk-tint(govuk-colour("dark-grey", $legacy: "grey-1"), 90);
|
@@ -1,9 +1,3 @@
|
|
1
|
-
@if not mixin-exists("govuk-exports") {
|
2
|
-
@warn "Importing items from the core layer without first importing `base` is deprecated, and will no longer work as of GOV.UK Frontend v4.0.";
|
3
|
-
}
|
4
|
-
|
5
|
-
@import "../base";
|
6
|
-
|
7
1
|
@include govuk-exports("govuk/core/links") {
|
8
2
|
|
9
3
|
%govuk-link {
|
@@ -1,9 +1,3 @@
|
|
1
|
-
@if not mixin-exists("govuk-exports") {
|
2
|
-
@warn "Importing items from the core layer without first importing `base` is deprecated, and will no longer work as of GOV.UK Frontend v4.0.";
|
3
|
-
}
|
4
|
-
|
5
|
-
@import "../base";
|
6
|
-
|
7
1
|
@include govuk-exports("govuk/core/lists") {
|
8
2
|
|
9
3
|
%govuk-list {
|
@@ -1,9 +1,3 @@
|
|
1
|
-
@if not mixin-exists("govuk-exports") {
|
2
|
-
@warn "Importing items from the core layer without first importing `base` is deprecated, and will no longer work as of GOV.UK Frontend v4.0.";
|
3
|
-
}
|
4
|
-
|
5
|
-
@import "../base";
|
6
|
-
|
7
1
|
@include govuk-exports("govuk/core/section-break") {
|
8
2
|
|
9
3
|
%govuk-section-break {
|
@@ -1,9 +1,3 @@
|
|
1
|
-
@if not mixin-exists("govuk-exports") {
|
2
|
-
@warn "Importing items from the core layer without first importing `base` is deprecated, and will no longer work as of GOV.UK Frontend v4.0.";
|
3
|
-
}
|
4
|
-
|
5
|
-
@import "../base";
|
6
|
-
|
7
1
|
@include govuk-exports("govuk/core/typography") {
|
8
2
|
|
9
3
|
// Headings
|
@@ -75,7 +75,7 @@
|
|
75
75
|
/// Make a colour darker by mixing it with black
|
76
76
|
///
|
77
77
|
/// @param {Colour} $colour - colour to shade
|
78
|
-
/// @param {Number} $percentage - percentage of `$colour` in returned
|
78
|
+
/// @param {Number} $percentage - percentage of `$colour` in returned colour
|
79
79
|
/// @return {Colour}
|
80
80
|
/// @access public
|
81
81
|
|
@@ -86,7 +86,7 @@
|
|
86
86
|
/// Make a colour lighter by mixing it with white
|
87
87
|
///
|
88
88
|
/// @param {Colour} $colour - colour to tint
|
89
|
-
/// @param {Number} $percentage - percentage of `$colour` in returned
|
89
|
+
/// @param {Number} $percentage - percentage of `$colour` in returned colour
|
90
90
|
/// @return {Colour}
|
91
91
|
/// @access public
|
92
92
|
|
@@ -8,15 +8,26 @@
|
|
8
8
|
///
|
9
9
|
/// Returns measurement corresponding to the spacing point requested.
|
10
10
|
///
|
11
|
-
/// @param {Number} $spacing-point - Point on the spacing scale
|
11
|
+
/// @param {Number} $spacing-point - Point on the spacing scale
|
12
|
+
/// (set in `settings/_spacing.scss`)
|
12
13
|
///
|
13
|
-
/// @returns {String} Spacing
|
14
|
+
/// @returns {String} Spacing measurement eg. 10px
|
14
15
|
///
|
15
16
|
/// @example scss
|
16
17
|
/// .element {
|
17
18
|
/// padding: govuk-spacing(5);
|
18
|
-
/// top: govuk-spacing(2) !important; // if `!important` is required
|
19
19
|
/// }
|
20
|
+
///
|
21
|
+
/// @example scss Using negative spacing
|
22
|
+
/// .element {
|
23
|
+
/// margin-top: govuk-spacing(-1);
|
24
|
+
/// }
|
25
|
+
///
|
26
|
+
/// @example scss Marking spacing declarations as important
|
27
|
+
/// .element {
|
28
|
+
/// margin-top: govuk-spacing(1) !important;
|
29
|
+
/// }
|
30
|
+
///
|
20
31
|
/// @access public
|
21
32
|
|
22
33
|
@function govuk-spacing($spacing-point) {
|
@@ -27,11 +38,18 @@
|
|
27
38
|
+ "#{$actual-input-type}.";
|
28
39
|
}
|
29
40
|
|
41
|
+
$is-negative: false;
|
42
|
+
@if ($spacing-point < 0) {
|
43
|
+
$is-negative: true;
|
44
|
+
$spacing-point: abs($spacing-point);
|
45
|
+
}
|
46
|
+
|
30
47
|
@if not map-has-key($govuk-spacing-points, $spacing-point) {
|
31
48
|
@error "Unknown spacing variable `#{$spacing-point}`. Make sure you are using a point from the spacing scale in `_settings/spacing.scss`.";
|
32
49
|
}
|
33
50
|
|
34
|
-
|
51
|
+
$value: map-get($govuk-spacing-points, $spacing-point);
|
52
|
+
@return if($is-negative, $value * -1, $value);
|
35
53
|
}
|
36
54
|
|
37
55
|
/// Responsive spacing
|
@@ -21,37 +21,22 @@
|
|
21
21
|
// </div>
|
22
22
|
// </div>
|
23
23
|
|
24
|
-
/// @deprecated Replace this mixin with more direct references to the [spacing
|
25
|
-
/// mixins](https://design-system.service.gov.uk/styles/spacing/#spacing-on-custom-components).
|
26
|
-
@mixin govuk-main-wrapper {
|
27
|
-
// In IE11 the `main` element can be used, but is not recognized –
|
28
|
-
// meaning it's not defined in IE's default style sheet,
|
29
|
-
// so it uses CSS initial value, which is inline.
|
30
|
-
display: block;
|
31
|
-
padding-top: govuk-spacing(4);
|
32
|
-
padding-bottom: govuk-spacing(4);
|
33
|
-
|
34
|
-
@include govuk-media-query($from: tablet) {
|
35
|
-
// This spacing is manually adjusted to replicate the margin of
|
36
|
-
// govuk-heading-xl (50px) minus the spacing of back link and
|
37
|
-
// breadcrumbs (10px)
|
38
|
-
padding-top: govuk-spacing(7);
|
39
|
-
padding-bottom: govuk-spacing(7);
|
40
|
-
}
|
41
|
-
}
|
42
|
-
|
43
|
-
/// Use govuk-main-wrapper--l when you page does not have Breadcrumbs, phase
|
44
|
-
/// banners or back links.
|
45
|
-
///
|
46
|
-
/// @deprecated Replace this mixin with more direct references to the [spacing
|
47
|
-
/// mixins](https://design-system.service.gov.uk/styles/spacing/#spacing-on-custom-components).
|
48
|
-
@mixin govuk-main-wrapper--l {
|
49
|
-
@include govuk-responsive-padding(8, "top");
|
50
|
-
}
|
51
|
-
|
52
24
|
@include govuk-exports("govuk/objects/main-wrapper") {
|
53
25
|
.govuk-main-wrapper {
|
54
|
-
|
26
|
+
// In IE11 the `main` element can be used, but is not recognized –
|
27
|
+
// meaning it's not defined in IE's default style sheet,
|
28
|
+
// so it uses CSS initial value, which is inline.
|
29
|
+
display: block;
|
30
|
+
padding-top: govuk-spacing(4);
|
31
|
+
padding-bottom: govuk-spacing(4);
|
32
|
+
|
33
|
+
@include govuk-media-query($from: tablet) {
|
34
|
+
// This spacing is manually adjusted to replicate the margin of
|
35
|
+
// govuk-heading-xl (50px) minus the spacing of back link and
|
36
|
+
// breadcrumbs (10px)
|
37
|
+
padding-top: govuk-spacing(7);
|
38
|
+
padding-bottom: govuk-spacing(7);
|
39
|
+
}
|
55
40
|
}
|
56
41
|
|
57
42
|
// Using the `.govuk-main-wrapper--auto-spacing` modifier should apply the
|
@@ -63,6 +48,6 @@
|
|
63
48
|
// `govuk-main-wrapper--l` modifier instead.
|
64
49
|
.govuk-main-wrapper--auto-spacing:first-child,
|
65
50
|
.govuk-main-wrapper--l {
|
66
|
-
@include govuk-
|
51
|
+
@include govuk-responsive-padding(8, "top");
|
67
52
|
}
|
68
53
|
}
|
@@ -1,10 +1,6 @@
|
|
1
|
-
@if not mixin-exists("govuk-exports") {
|
2
|
-
@warn "Importing items from the core layer without first importing `base` is deprecated, and will no longer work as of GOV.UK Frontend v4.0.";
|
3
|
-
}
|
4
|
-
|
5
1
|
@import "../base";
|
6
2
|
|
7
|
-
@include govuk-exports("govuk/
|
3
|
+
@include govuk-exports("govuk/objects/template") {
|
8
4
|
|
9
5
|
// Applied to the <html> element
|
10
6
|
.govuk-template {
|
@@ -1,9 +1,3 @@
|
|
1
|
-
@if not mixin-exists("govuk-exports") {
|
2
|
-
@warn "Importing items from the overrides layer without first importing `base` is deprecated, and will no longer work as of GOV.UK Frontend v4.0.";
|
3
|
-
}
|
4
|
-
|
5
|
-
@import "../base";
|
6
|
-
|
7
1
|
// stylelint-disable declaration-no-important
|
8
2
|
@include govuk-exports("govuk/overrides/display") {
|
9
3
|
.govuk-\!-display-inline {
|
@@ -0,0 +1,14 @@
|
|
1
|
+
// stylelint-disable declaration-no-important
|
2
|
+
@include govuk-exports("govuk/overrides/text-align") {
|
3
|
+
.govuk-\!-text-align-left {
|
4
|
+
text-align: left !important;
|
5
|
+
}
|
6
|
+
|
7
|
+
.govuk-\!-text-align-centre {
|
8
|
+
text-align: center !important;
|
9
|
+
}
|
10
|
+
|
11
|
+
.govuk-\!-text-align-right {
|
12
|
+
text-align: right !important;
|
13
|
+
}
|
14
|
+
}
|
@@ -1,9 +1,3 @@
|
|
1
|
-
@if not mixin-exists("govuk-exports") {
|
2
|
-
@warn "Importing items from the overrides layer without first importing `base` is deprecated, and will no longer work as of GOV.UK Frontend v4.0.";
|
3
|
-
}
|
4
|
-
|
5
|
-
@import "../base";
|
6
|
-
|
7
1
|
@include govuk-exports("govuk/overrides/typography") {
|
8
2
|
// Font size and line height
|
9
3
|
|
@@ -1,9 +1,3 @@
|
|
1
|
-
@if not mixin-exists("govuk-exports") {
|
2
|
-
@warn "Importing items from the overrides layer without first importing `base` is deprecated, and will no longer work as of GOV.UK Frontend v4.0.";
|
3
|
-
}
|
4
|
-
|
5
|
-
@import "../base";
|
6
|
-
|
7
1
|
// stylelint-disable declaration-no-important
|
8
2
|
@include govuk-exports("govuk/overrides/width") {
|
9
3
|
.govuk-\!-width-full {
|
@@ -73,16 +73,6 @@ $govuk-border-width-narrow: 4px !default;
|
|
73
73
|
|
74
74
|
$govuk-border-width-form-element: 2px !default;
|
75
75
|
|
76
|
-
/// Form control border width when in error state
|
77
|
-
///
|
78
|
-
/// @type Number
|
79
|
-
/// @access public
|
80
|
-
/// @deprecated Use $govuk-border-width-form-element instead. There should be no
|
81
|
-
/// difference in thickness for inputs in the error state, in order to
|
82
|
-
/// maintain a distinct focus state.
|
83
|
-
|
84
|
-
$govuk-border-width-form-element-error: 2px !default;
|
85
|
-
|
86
76
|
/// Form group border width when in error state
|
87
77
|
///
|
88
78
|
/// @type Number
|
data/package-lock.json
CHANGED
@@ -808,9 +808,9 @@
|
|
808
808
|
}
|
809
809
|
},
|
810
810
|
"govuk-frontend": {
|
811
|
-
"version": "
|
812
|
-
"resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-
|
813
|
-
"integrity": "sha512-
|
811
|
+
"version": "4.0.0",
|
812
|
+
"resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-4.0.0.tgz",
|
813
|
+
"integrity": "sha512-liaJildULUNSSvEgDm36SQTivqBHiZLdrm+O7bBxnW4Q1g64asi+mJIMzW8QeOqlG4Yn8s0gSklsIyaFOuCisQ=="
|
814
814
|
},
|
815
815
|
"graceful-fs": {
|
816
816
|
"version": "4.2.6",
|
data/package.json
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_tech_docs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Government Digital Service
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: autoprefixer-rails
|
@@ -470,6 +470,7 @@ files:
|
|
470
470
|
- node_modules/govuk-frontend/govuk/components/select/_select.scss
|
471
471
|
- node_modules/govuk-frontend/govuk/components/skip-link/_index.scss
|
472
472
|
- node_modules/govuk-frontend/govuk/components/skip-link/_skip-link.scss
|
473
|
+
- node_modules/govuk-frontend/govuk/components/skip-link/skip-link.js
|
473
474
|
- node_modules/govuk-frontend/govuk/components/summary-list/_index.scss
|
474
475
|
- node_modules/govuk-frontend/govuk/components/summary-list/_summary-list.scss
|
475
476
|
- node_modules/govuk-frontend/govuk/components/table/_index.scss
|
@@ -488,7 +489,6 @@ files:
|
|
488
489
|
- node_modules/govuk-frontend/govuk/core/_links.scss
|
489
490
|
- node_modules/govuk-frontend/govuk/core/_lists.scss
|
490
491
|
- node_modules/govuk-frontend/govuk/core/_section-break.scss
|
491
|
-
- node_modules/govuk-frontend/govuk/core/_template.scss
|
492
492
|
- node_modules/govuk-frontend/govuk/core/_typography.scss
|
493
493
|
- node_modules/govuk-frontend/govuk/helpers/_all.scss
|
494
494
|
- node_modules/govuk-frontend/govuk/helpers/_clearfix.scss
|
@@ -508,10 +508,12 @@ files:
|
|
508
508
|
- node_modules/govuk-frontend/govuk/objects/_form-group.scss
|
509
509
|
- node_modules/govuk-frontend/govuk/objects/_grid.scss
|
510
510
|
- node_modules/govuk-frontend/govuk/objects/_main-wrapper.scss
|
511
|
+
- node_modules/govuk-frontend/govuk/objects/_template.scss
|
511
512
|
- node_modules/govuk-frontend/govuk/objects/_width-container.scss
|
512
513
|
- node_modules/govuk-frontend/govuk/overrides/_all.scss
|
513
514
|
- node_modules/govuk-frontend/govuk/overrides/_display.scss
|
514
515
|
- node_modules/govuk-frontend/govuk/overrides/_spacing.scss
|
516
|
+
- node_modules/govuk-frontend/govuk/overrides/_text-align.scss
|
515
517
|
- node_modules/govuk-frontend/govuk/overrides/_typography.scss
|
516
518
|
- node_modules/govuk-frontend/govuk/overrides/_width.scss
|
517
519
|
- node_modules/govuk-frontend/govuk/settings/_all.scss
|
@@ -534,7 +536,6 @@ files:
|
|
534
536
|
- node_modules/govuk-frontend/govuk/tools/_exports.scss
|
535
537
|
- node_modules/govuk-frontend/govuk/tools/_font-url.scss
|
536
538
|
- node_modules/govuk-frontend/govuk/tools/_ie8.scss
|
537
|
-
- node_modules/govuk-frontend/govuk/tools/_iff.scss
|
538
539
|
- node_modules/govuk-frontend/govuk/tools/_image-url.scss
|
539
540
|
- node_modules/govuk-frontend/govuk/tools/_px-to-em.scss
|
540
541
|
- node_modules/govuk-frontend/govuk/tools/_px-to-rem.scss
|
@@ -1,17 +0,0 @@
|
|
1
|
-
////
|
2
|
-
/// @group tools
|
3
|
-
////
|
4
|
-
|
5
|
-
/// Syntactic sugar around Sass' built-in `if` function that does not require
|
6
|
-
/// you to pass a value for `$if-false`.
|
7
|
-
///
|
8
|
-
/// @param {Boolean} $condition - Whether to return the value of `$if-true`
|
9
|
-
/// @param {Mixed} $if-true - Value to return if `$condition` is truthy
|
10
|
-
/// @return {Mixed} Value of `$if-true` if `$condition` is truthy, else null
|
11
|
-
/// @access private
|
12
|
-
/// @deprecated We will be removing this function in a future release, use `if($condition, $if-true, null);` instead.
|
13
|
-
|
14
|
-
@function iff($condition, $if-true) {
|
15
|
-
@warn "The `iff` function will be removed in a future release, use `if($condition, $if-true, null);` instead.";
|
16
|
-
@return if($condition, $if-true, null);
|
17
|
-
}
|