@ons/design-system 46.1.3 → 48.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.
- package/components/button/_button.scss +76 -2
- package/components/document-list/_macro.njk +114 -0
- package/components/document-list/document-list.scss +182 -0
- package/components/download-resources/_download-resources.scss +2 -9
- package/components/download-resources/download-resources.js +2 -2
- package/components/error/_macro.njk +0 -1
- package/components/header/_header-nav.scss +22 -1
- package/components/header/_header.scss +12 -20
- package/components/header/_macro.njk +65 -16
- package/components/header/header-nav.dom.js +9 -0
- package/components/header/header-nav.js +5 -2
- package/components/input/_macro.njk +1 -2
- package/components/lists/_macro.njk +13 -15
- package/components/panel/_macro.njk +3 -8
- package/components/panel/_panel.scss +5 -3
- package/components/select/_macro.njk +1 -2
- package/components/textarea/_macro.njk +0 -1
- package/components/upload/_macro.njk +0 -1
- package/css/census.css +1 -1
- package/css/main.css +1 -1
- package/img/large/alison-pritchard-featured.jpg +0 -0
- package/img/large/alison-pritchard.jpg +0 -0
- package/img/large/census-monuments-lights-featured.jpg +0 -0
- package/img/large/census-monuments-lights.jpg +0 -0
- package/img/large/ons-award-winners.jpg +0 -0
- package/img/small/alison-pritchard-featured.jpg +0 -0
- package/img/small/alison-pritchard.jpg +0 -0
- package/img/small/census-monuments-lights-featured.jpg +0 -0
- package/img/small/census-monuments-lights.jpg +0 -0
- package/img/small/ons-award-winners.jpg +0 -0
- package/img/small/placeholder-portrait.png +0 -0
- package/layout/_template.njk +1 -1
- package/package.json +1 -1
- package/scripts/main.es5.js +1 -1
- package/scripts/main.js +1 -1
- package/scss/main.scss +1 -2
- package/scss/objects/_spacing.scss +1 -0
- package/scss/vars/_colors.scss +9 -3
- package/components/articles/_articles.scss +0 -86
- package/components/articles/_macro.njk +0 -81
- package/components/downloads/_downloads.scss +0 -39
- package/components/downloads/_macro.njk +0 -66
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/layout/_template.njk
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
{# Production #}
|
|
23
23
|
{% set cdn_url = (pageConfig.cdn.url if pageConfig.cdn is defined and pageConfig.cdn and pageConfig.cdn.url is defined and pageConfig.cdn.url) or "https://cdn.ons.gov.uk/sdc/design-system" %}
|
|
24
24
|
{% set slash = "" if cdn_url | last == "/" else "/" %}
|
|
25
|
-
{% set assetsURL = cdn_url + slash + ((pageConfig.cdn.version
|
|
25
|
+
{% set assetsURL = cdn_url + slash + ((pageConfig.cdn.version if pageConfig.cdn is defined and pageConfig.cdn and pageConfig.cdn.version is defined and pageConfig.cdn.version) or release_version) %}
|
|
26
26
|
{% elif pageInfo is defined and pageInfo and pageInfo.version is defined and pageInfo.version %}
|
|
27
27
|
{# Prototype kits #}
|
|
28
28
|
{% set assetsURL = "/" + pageInfo.version %}
|