govuk_publishing_components 44.2.0 → 44.4.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/javascripts/govuk_publishing_components/components/chart.js +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_chart.scss +44 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss +28 -5
- data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +15 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +32 -0
- data/app/views/govuk_publishing_components/components/_chart.html.erb +151 -0
- data/app/views/govuk_publishing_components/components/_contents_list.html.erb +7 -3
- data/app/views/govuk_publishing_components/components/_organisation_logo.html.erb +2 -0
- data/app/views/govuk_publishing_components/components/_share_links.html.erb +4 -1
- data/app/views/govuk_publishing_components/components/docs/chart.yml +238 -0
- data/app/views/govuk_publishing_components/components/docs/contents_list.yml +32 -0
- data/app/views/govuk_publishing_components/components/docs/organisation_logo.yml +11 -1
- data/app/views/govuk_publishing_components/components/docs/share_links.yml +36 -0
- data/config/locales/ar.yml +3 -0
- data/config/locales/az.yml +3 -0
- data/config/locales/be.yml +3 -0
- data/config/locales/bg.yml +3 -0
- data/config/locales/bn.yml +3 -0
- data/config/locales/cs.yml +3 -0
- data/config/locales/cy.yml +3 -0
- data/config/locales/da.yml +3 -0
- data/config/locales/de.yml +3 -0
- data/config/locales/dr.yml +3 -0
- data/config/locales/el.yml +3 -0
- data/config/locales/en.yml +3 -0
- data/config/locales/es-419.yml +3 -0
- data/config/locales/es.yml +3 -0
- data/config/locales/et.yml +3 -0
- data/config/locales/fa.yml +3 -0
- data/config/locales/fi.yml +3 -0
- data/config/locales/fr.yml +3 -0
- data/config/locales/gd.yml +3 -0
- data/config/locales/gu.yml +3 -0
- data/config/locales/he.yml +3 -0
- data/config/locales/hi.yml +3 -0
- data/config/locales/hr.yml +3 -0
- data/config/locales/hu.yml +3 -0
- data/config/locales/hy.yml +3 -0
- data/config/locales/id.yml +3 -0
- data/config/locales/is.yml +3 -0
- data/config/locales/it.yml +3 -0
- data/config/locales/ja.yml +3 -0
- data/config/locales/ka.yml +3 -0
- data/config/locales/kk.yml +3 -0
- data/config/locales/ko.yml +3 -0
- data/config/locales/lt.yml +3 -0
- data/config/locales/lv.yml +3 -0
- data/config/locales/ms.yml +3 -0
- data/config/locales/mt.yml +3 -0
- data/config/locales/nl.yml +3 -0
- data/config/locales/no.yml +3 -0
- data/config/locales/pa-pk.yml +3 -0
- data/config/locales/pa.yml +3 -0
- data/config/locales/pl.yml +3 -0
- data/config/locales/ps.yml +3 -0
- data/config/locales/pt.yml +3 -0
- data/config/locales/ro.yml +3 -0
- data/config/locales/ru.yml +3 -0
- data/config/locales/si.yml +3 -0
- data/config/locales/sk.yml +3 -0
- data/config/locales/sl.yml +3 -0
- data/config/locales/so.yml +3 -0
- data/config/locales/sq.yml +3 -0
- data/config/locales/sr.yml +3 -0
- data/config/locales/sv.yml +3 -0
- data/config/locales/sw.yml +3 -0
- data/config/locales/ta.yml +3 -0
- data/config/locales/th.yml +3 -0
- data/config/locales/tk.yml +3 -0
- data/config/locales/tr.yml +3 -0
- data/config/locales/uk.yml +3 -0
- data/config/locales/ur.yml +3 -0
- data/config/locales/uz.yml +3 -0
- data/config/locales/vi.yml +3 -0
- data/config/locales/zh-hk.yml +3 -0
- data/config/locales/zh-tw.yml +3 -0
- data/config/locales/zh.yml +3 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +21 -3
@@ -75,7 +75,7 @@ examples:
|
|
75
75
|
name: "Prime Minister's Office,<br>10 Downing Street"
|
76
76
|
url: '/government/organisations/prime-ministers-office-10-downing-street'
|
77
77
|
brand: 'prime-ministers-office-10-downing-street'
|
78
|
-
crest: '
|
78
|
+
crest: 'eo'
|
79
79
|
office_of_the_advocate_general_for_scotland:
|
80
80
|
data:
|
81
81
|
organisation:
|
@@ -182,3 +182,13 @@ examples:
|
|
182
182
|
brand: cabinet-office
|
183
183
|
crest: 'single-identity'
|
184
184
|
inline: true
|
185
|
+
on_a_dark_background:
|
186
|
+
data:
|
187
|
+
organisation:
|
188
|
+
name: "Prime Minister's Office,<br>10 Downing Street"
|
189
|
+
url: '/government/organisations/prime-ministers-office-10-downing-street'
|
190
|
+
brand: 'prime-ministers-office-10-downing-street'
|
191
|
+
crest: 'eo'
|
192
|
+
inverse: true
|
193
|
+
context:
|
194
|
+
dark_background: true
|
@@ -256,3 +256,39 @@ examples:
|
|
256
256
|
icon: 'youtube'
|
257
257
|
}
|
258
258
|
]
|
259
|
+
with_square_icons:
|
260
|
+
data:
|
261
|
+
square_icons: true
|
262
|
+
columns: true
|
263
|
+
links: [
|
264
|
+
{
|
265
|
+
href: '/twitter-share-link',
|
266
|
+
text: 'Twitter',
|
267
|
+
icon: 'twitter'
|
268
|
+
},
|
269
|
+
{
|
270
|
+
href: '/instagram-share-link',
|
271
|
+
text: 'Instagram',
|
272
|
+
icon: 'instagram'
|
273
|
+
},
|
274
|
+
{
|
275
|
+
href: '/flickr-share-link',
|
276
|
+
text: 'Flickr',
|
277
|
+
icon: 'flickr'
|
278
|
+
},
|
279
|
+
{
|
280
|
+
href: '/facebook-share-link',
|
281
|
+
text: 'Facebook',
|
282
|
+
icon: 'facebook'
|
283
|
+
},
|
284
|
+
{
|
285
|
+
href: '/youtube-share-link',
|
286
|
+
text: 'YouTube',
|
287
|
+
icon: 'youtube'
|
288
|
+
},
|
289
|
+
{
|
290
|
+
href: '/other-share-link',
|
291
|
+
text: 'Anything else that might be included that could have quite a long name',
|
292
|
+
icon: 'other'
|
293
|
+
},
|
294
|
+
]
|
data/config/locales/ar.yml
CHANGED
data/config/locales/az.yml
CHANGED
data/config/locales/be.yml
CHANGED
data/config/locales/bg.yml
CHANGED
data/config/locales/bn.yml
CHANGED
data/config/locales/cs.yml
CHANGED
data/config/locales/cy.yml
CHANGED
data/config/locales/da.yml
CHANGED
data/config/locales/de.yml
CHANGED
data/config/locales/dr.yml
CHANGED
data/config/locales/el.yml
CHANGED
data/config/locales/en.yml
CHANGED
@@ -32,6 +32,9 @@ en:
|
|
32
32
|
type:
|
33
33
|
characters: characters
|
34
34
|
words: words
|
35
|
+
chart:
|
36
|
+
table_dropdown: Data table
|
37
|
+
accessibility_html: This chart is a visual representation of the data available in the <a href='#%{table_id}'>table</a>.
|
35
38
|
chat_entry:
|
36
39
|
heading: Try GOV.UK Chat
|
37
40
|
description: Sign up to GOV.UK’s experimental new AI tool and find answers to your business questions
|
data/config/locales/es-419.yml
CHANGED
data/config/locales/es.yml
CHANGED
data/config/locales/et.yml
CHANGED
data/config/locales/fa.yml
CHANGED
data/config/locales/fi.yml
CHANGED
data/config/locales/fr.yml
CHANGED
data/config/locales/gd.yml
CHANGED
data/config/locales/gu.yml
CHANGED
data/config/locales/he.yml
CHANGED
data/config/locales/hi.yml
CHANGED
data/config/locales/hr.yml
CHANGED
data/config/locales/hu.yml
CHANGED
data/config/locales/hy.yml
CHANGED
data/config/locales/id.yml
CHANGED
data/config/locales/is.yml
CHANGED
data/config/locales/it.yml
CHANGED
data/config/locales/ja.yml
CHANGED
data/config/locales/ka.yml
CHANGED
data/config/locales/kk.yml
CHANGED
data/config/locales/ko.yml
CHANGED
data/config/locales/lt.yml
CHANGED
data/config/locales/lv.yml
CHANGED
data/config/locales/ms.yml
CHANGED
data/config/locales/mt.yml
CHANGED
data/config/locales/nl.yml
CHANGED
data/config/locales/no.yml
CHANGED
data/config/locales/pa-pk.yml
CHANGED
data/config/locales/pa.yml
CHANGED
data/config/locales/pl.yml
CHANGED
data/config/locales/ps.yml
CHANGED
data/config/locales/pt.yml
CHANGED
data/config/locales/ro.yml
CHANGED
data/config/locales/ru.yml
CHANGED
data/config/locales/si.yml
CHANGED
data/config/locales/sk.yml
CHANGED
data/config/locales/sl.yml
CHANGED
data/config/locales/so.yml
CHANGED
data/config/locales/sq.yml
CHANGED
data/config/locales/sr.yml
CHANGED
data/config/locales/sv.yml
CHANGED
data/config/locales/sw.yml
CHANGED