govuk_publishing_components 33.0.0 → 34.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/config/govuk_publishing_components_manifest.js +0 -1
- data/app/assets/javascripts/component_guide/accessibility-test.js +0 -1
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-ecommerce-tracker.js +3 -3
- data/app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js +22 -1
- data/app/assets/javascripts/govuk_publishing_components/vendor/lux/lux-reporter.js +58 -106
- data/app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss +28 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +11 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_cards.scss +19 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss +20 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_cookie-banner.scss +6 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_emergency-banner.scss +6 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak-html-publication.scss +8 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak.scss +83 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +6 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss +15 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +6 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_textarea.scss +16 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_title.scss +10 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_contents-list-helper.scss +0 -1
- data/app/controllers/govuk_publishing_components/component_guide_controller.rb +6 -9
- data/app/views/govuk_publishing_components/component_guide/_application_stylesheet.html.erb +0 -3
- data/app/views/govuk_publishing_components/component_guide/index.html.erb +0 -7
- data/app/views/govuk_publishing_components/components/_layout_for_admin.html.erb +1 -2
- data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +0 -1
- data/app/views/govuk_publishing_components/components/_step_by_step_nav.html.erb +4 -1
- data/app/views/govuk_publishing_components/components/docs/step_by_step_nav.yml +34 -0
- data/app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb +1 -1
- data/app/views/layouts/govuk_publishing_components/application.html.erb +1 -2
- data/config/locales/ar.yml +0 -7
- data/config/locales/az.yml +1 -7
- data/config/locales/be.yml +0 -7
- data/config/locales/bg.yml +0 -7
- data/config/locales/bn.yml +0 -7
- data/config/locales/cs.yml +0 -7
- data/config/locales/cy.yml +0 -7
- data/config/locales/da.yml +0 -7
- data/config/locales/de.yml +0 -7
- data/config/locales/dr.yml +0 -7
- data/config/locales/el.yml +0 -7
- data/config/locales/en.yml +0 -7
- data/config/locales/es-419.yml +0 -7
- data/config/locales/es.yml +0 -7
- data/config/locales/et.yml +0 -7
- data/config/locales/fa.yml +1 -7
- data/config/locales/fi.yml +0 -7
- data/config/locales/fr.yml +0 -7
- data/config/locales/gd.yml +0 -7
- data/config/locales/gu.yml +0 -7
- data/config/locales/he.yml +0 -7
- data/config/locales/hi.yml +0 -7
- data/config/locales/hr.yml +0 -7
- data/config/locales/hu.yml +0 -7
- data/config/locales/hy.yml +0 -7
- data/config/locales/id.yml +0 -7
- data/config/locales/is.yml +0 -7
- data/config/locales/it.yml +0 -7
- data/config/locales/ja.yml +0 -7
- data/config/locales/ka.yml +0 -7
- data/config/locales/kk.yml +0 -7
- data/config/locales/ko.yml +0 -7
- data/config/locales/lt.yml +0 -7
- data/config/locales/lv.yml +0 -7
- data/config/locales/ms.yml +0 -7
- data/config/locales/mt.yml +0 -7
- data/config/locales/nl.yml +0 -7
- data/config/locales/no.yml +0 -7
- data/config/locales/pa-pk.yml +0 -7
- data/config/locales/pa.yml +0 -7
- data/config/locales/pl.yml +0 -7
- data/config/locales/ps.yml +0 -7
- data/config/locales/pt.yml +0 -7
- data/config/locales/ro.yml +0 -7
- data/config/locales/ru.yml +0 -7
- data/config/locales/si.yml +0 -7
- data/config/locales/sk.yml +0 -7
- data/config/locales/sl.yml +0 -7
- data/config/locales/so.yml +0 -7
- data/config/locales/sq.yml +0 -7
- data/config/locales/sr.yml +0 -7
- data/config/locales/sv.yml +0 -7
- data/config/locales/sw.yml +0 -7
- data/config/locales/ta.yml +0 -7
- data/config/locales/th.yml +0 -7
- data/config/locales/tk.yml +0 -7
- data/config/locales/tr.yml +0 -7
- data/config/locales/uk.yml +0 -7
- data/config/locales/ur.yml +0 -7
- data/config/locales/uz.yml +0 -7
- data/config/locales/vi.yml +0 -7
- data/config/locales/zh-hk.yml +0 -7
- data/config/locales/zh-tw.yml +0 -7
- data/config/locales/zh.yml +0 -7
- data/lib/govuk_publishing_components/config.rb +0 -3
- data/lib/govuk_publishing_components/presenters/button_helper.rb +2 -1
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +2 -17
- data/app/assets/stylesheets/component_guide/print.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/_all_components_print.scss +0 -18
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss +0 -28
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_button.scss +0 -8
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_cards.scss +0 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_contents-list.scss +0 -19
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_emergency-banner.scss +0 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_govspeak-html-publication.scss +0 -5
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_govspeak.scss +0 -80
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_layout-super-navigation-header.scss +0 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_organisation-logo.scss +0 -7
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav-header.scss +0 -7
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav.scss +0 -116
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_textarea.scss +0 -13
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_title.scss +0 -7
data/app/assets/stylesheets/govuk_publishing_components/components/print/_contents-list.scss
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
@import "../helpers/contents-list-helper";
|
2
|
-
|
3
|
-
// Override default browser indentation
|
4
|
-
.gem-c-contents-list__list,
|
5
|
-
.gem-c-contents-list__nested-list {
|
6
|
-
padding-left: 0;
|
7
|
-
margin-left: 0;
|
8
|
-
}
|
9
|
-
|
10
|
-
// Put indentation back where we use list style types
|
11
|
-
.gem-c-contents-list__list-item--dashed {
|
12
|
-
margin-left: govuk-spacing(3);
|
13
|
-
list-style-type: disc;
|
14
|
-
}
|
15
|
-
|
16
|
-
.gem-c-contents-list__list-item--numbered,
|
17
|
-
.gem-c-contents-list__list-item--parent {
|
18
|
-
list-style-type: none;
|
19
|
-
}
|
@@ -1,80 +0,0 @@
|
|
1
|
-
// stylelint-disable max-nesting-depth
|
2
|
-
|
3
|
-
.gem-c-govspeak {
|
4
|
-
.media-player {
|
5
|
-
display: none;
|
6
|
-
}
|
7
|
-
|
8
|
-
.info-notice,
|
9
|
-
.help-notice,
|
10
|
-
.call-to-action {
|
11
|
-
margin: govuk-spacing(3) 0;
|
12
|
-
}
|
13
|
-
|
14
|
-
.call-to-action {
|
15
|
-
background: none;
|
16
|
-
border: 1pt solid $govuk-border-colour;
|
17
|
-
padding: govuk-spacing(3);
|
18
|
-
}
|
19
|
-
|
20
|
-
.help-notice p {
|
21
|
-
font-weight: 700;
|
22
|
-
}
|
23
|
-
|
24
|
-
.fraction {
|
25
|
-
img {
|
26
|
-
display: inline-block;
|
27
|
-
margin-bottom: -7px;
|
28
|
-
}
|
29
|
-
}
|
30
|
-
|
31
|
-
.attachment {
|
32
|
-
margin: govuk-spacing(6) 0;
|
33
|
-
|
34
|
-
&:first-child {
|
35
|
-
margin-top: 0;
|
36
|
-
}
|
37
|
-
|
38
|
-
.attachment-thumb {
|
39
|
-
display: none;
|
40
|
-
}
|
41
|
-
|
42
|
-
.attachment-details {
|
43
|
-
.download {
|
44
|
-
display: block;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
|
48
|
-
.accessibility-warning {
|
49
|
-
h2 {
|
50
|
-
@include govuk-font(14);
|
51
|
-
}
|
52
|
-
|
53
|
-
.toggler {
|
54
|
-
display: none;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
}
|
58
|
-
|
59
|
-
.footnotes {
|
60
|
-
border-top: 1px solid $govuk-text-colour;
|
61
|
-
|
62
|
-
a[role="doc-backlink"] {
|
63
|
-
display: none;
|
64
|
-
}
|
65
|
-
}
|
66
|
-
|
67
|
-
.legislative-list {
|
68
|
-
padding-left: 0;
|
69
|
-
|
70
|
-
&,
|
71
|
-
ol {
|
72
|
-
list-style: none;
|
73
|
-
}
|
74
|
-
}
|
75
|
-
|
76
|
-
.mc-toggle-button,
|
77
|
-
.mc-chart-container {
|
78
|
-
display: none;
|
79
|
-
}
|
80
|
-
}
|
data/app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav.scss
DELETED
@@ -1,116 +0,0 @@
|
|
1
|
-
$grey-2: #bfc1c3;
|
2
|
-
$white: #ffffff;
|
3
|
-
$number-circle-size: 35px;
|
4
|
-
$stroke-width: 1px;
|
5
|
-
|
6
|
-
.gem-c-step-nav:not(.gem-c-step-nav--large),
|
7
|
-
.gem-c-step-nav__controls,
|
8
|
-
.gem-c-step-nav__toggle-link,
|
9
|
-
.gem-c-step-nav__help {
|
10
|
-
display: none;
|
11
|
-
}
|
12
|
-
|
13
|
-
.gem-c-step-nav {
|
14
|
-
position: relative;
|
15
|
-
|
16
|
-
&:before {
|
17
|
-
content: "";
|
18
|
-
position: absolute;
|
19
|
-
top: 0;
|
20
|
-
left: $number-circle-size / 2;
|
21
|
-
width: 3px;
|
22
|
-
height: 100%;
|
23
|
-
margin-left: -1.5px;
|
24
|
-
border-left: solid $stroke-width $grey-2;
|
25
|
-
}
|
26
|
-
|
27
|
-
&:after {
|
28
|
-
content: "";
|
29
|
-
position: absolute;
|
30
|
-
z-index: 6;
|
31
|
-
bottom: 0;
|
32
|
-
left: 0;
|
33
|
-
margin-left: $number-circle-size / 4;
|
34
|
-
width: $number-circle-size / 2;
|
35
|
-
height: 0;
|
36
|
-
border-bottom: solid $stroke-width $grey-2;
|
37
|
-
}
|
38
|
-
}
|
39
|
-
|
40
|
-
.gem-c-step-nav__step {
|
41
|
-
padding-left: 60px;
|
42
|
-
position: relative;
|
43
|
-
}
|
44
|
-
|
45
|
-
.gem-c-step-nav__steps {
|
46
|
-
padding: 0;
|
47
|
-
list-style: none;
|
48
|
-
}
|
49
|
-
|
50
|
-
.gem-c-step-nav__circle {
|
51
|
-
box-sizing: border-box;
|
52
|
-
position: absolute;
|
53
|
-
top: 0;
|
54
|
-
left: 0;
|
55
|
-
width: $number-circle-size;
|
56
|
-
height: $number-circle-size;
|
57
|
-
background: govuk-colour("white");
|
58
|
-
border-radius: 100px;
|
59
|
-
text-align: center;
|
60
|
-
font-size: 19px;
|
61
|
-
font-weight: bold;
|
62
|
-
line-height: 1.5;
|
63
|
-
}
|
64
|
-
|
65
|
-
.gem-c-step-nav__circle--number {
|
66
|
-
border: solid 1px $grey-2;
|
67
|
-
}
|
68
|
-
|
69
|
-
.gem-c-step-nav__step,
|
70
|
-
.gem-c-step-nav__paragraph,
|
71
|
-
.gem-c-step-nav__links {
|
72
|
-
@include govuk-font(16);
|
73
|
-
padding-bottom: 1em;
|
74
|
-
}
|
75
|
-
|
76
|
-
.gem-c-step-nav__title {
|
77
|
-
@include govuk-font(19, $weight: bold);
|
78
|
-
margin: 0 0 .5em;
|
79
|
-
padding: 0;
|
80
|
-
}
|
81
|
-
|
82
|
-
.gem-c-step-nav__button--title {
|
83
|
-
@include govuk-font(19, $weight: bold);
|
84
|
-
padding: 0;
|
85
|
-
border: 0;
|
86
|
-
background: none;
|
87
|
-
}
|
88
|
-
|
89
|
-
.gem-c-step-nav__context {
|
90
|
-
&:before {
|
91
|
-
content: " \2013 ";
|
92
|
-
}
|
93
|
-
}
|
94
|
-
|
95
|
-
.gem-c-step-nav__panel-link--active {
|
96
|
-
font-weight: bold;
|
97
|
-
}
|
98
|
-
|
99
|
-
.gem-c-step-nav__links {
|
100
|
-
padding-left: 0;
|
101
|
-
list-style: none;
|
102
|
-
}
|
103
|
-
|
104
|
-
.gem-c-step-nav__links--choice {
|
105
|
-
padding-left: 30px;
|
106
|
-
list-style: disc;
|
107
|
-
}
|
108
|
-
|
109
|
-
.gem-c-step-nav__link {
|
110
|
-
margin-bottom: .3em;
|
111
|
-
}
|
112
|
-
|
113
|
-
.gem-c-step-nav__circle-step-label,
|
114
|
-
.gem-c-step-nav__circle-step-colon {
|
115
|
-
display: none;
|
116
|
-
}
|