@bonniernews/dn-design-system-web 8.3.3 → 8.4.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/CHANGELOG.md CHANGED
@@ -3,6 +3,24 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 8.4.0 (2023-11-17)
7
+
8
+
9
+ ### Features
10
+
11
+ * **web:** make individual items in vertical media lists themable ([#1099](https://github.com/BonnierNews/dn-design-system/issues/1099)) ([ab0173d](https://github.com/BonnierNews/dn-design-system/commit/ab0173da5c872b1b66e1ed64af1574afe8fe20f4))
12
+
13
+
14
+
15
+ ## 8.3.4 (2023-11-17)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **web:** only use woff2 in font format ([#1097](https://github.com/BonnierNews/dn-design-system/issues/1097)) ([c0217ea](https://github.com/BonnierNews/dn-design-system/commit/c0217ea64f45263fd5df6efe65eec22a9cfd9b64))
21
+
22
+
23
+
6
24
  ## 8.3.3 (2023-11-17)
7
25
 
8
26
  **Note:** Version bump only for package @bonniernews/dn-design-system-web
@@ -43,7 +43,7 @@ These are copy paste friendly examples to quickliy get started using a component
43
43
  listTitle: "Senaste klippen",
44
44
  listType: "media",
45
45
  mediaIcon: "play_arrow-filled",
46
- teasers: [ { title: 'Svenska hjältehunden Killian arbetar mot klockan i Marocko – är det försent?', vignette: "VÄRLDEN", targetLink: '#', isItalicHeadline: false, publicationTime: 'I går 21:22', mediaHtml: '<div class="picture"><img class="picture__img" src="??"></div>', video: 'true', attributes: { "data-test": "list-item-test-data" } } ]
46
+ teasers: [ { title: 'Svenska hjältehunden Killian arbetar mot klockan i Marocko – är det försent?', vignette: "VÄRLDEN", targetLink: '#', theme: 'nyheter', isItalicHeadline: false, publicationTime: 'I går 21:22', mediaHtml: '<div class="picture"><img class="picture__img" src="??"></div>', video: 'true', attributes: { "data-test": "list-item-test-data" } } ]
47
47
  })}}
48
48
  ```
49
49
 
@@ -73,6 +73,7 @@
73
73
  {%- set classes = [
74
74
  "ds-teaser-list-vertical__media-item",
75
75
  "ds-teaser-list-vertical__media-item--italic" if teaser.isItalicHeadline,
76
+ "ds-theme--" + teaser.theme if teaser.theme,
76
77
  teaser.classNames if teaser.classNames
77
78
  ] | join(" ") %}
78
79
 
@@ -4,7 +4,7 @@ $dnSerif: (
4
4
  sources: (
5
5
  (
6
6
  file: "DNSerif-1-600-Variable.woff2",
7
- format: "woff2-variations",
7
+ format: "woff2",
8
8
  ),
9
9
  ),
10
10
  fontWeight: 300 900,
@@ -95,7 +95,7 @@ $dnSerifItalic: (
95
95
  sources: (
96
96
  (
97
97
  file: "DNSerifItalic-1-600-Variable.woff2",
98
- format: "woff2-variations",
98
+ format: "woff2",
99
99
  ),
100
100
  ),
101
101
  fontWeight: 300 900,
@@ -194,7 +194,7 @@ $dnSans: (
194
194
  sources: (
195
195
  (
196
196
  file: "DNSans-1-400-Variable.woff2",
197
- format: "woff2-variations",
197
+ format: "woff2",
198
198
  ),
199
199
  ),
200
200
  fontWeight: 300 900,
@@ -274,7 +274,7 @@ $dnSansItalic: (
274
274
  sources: (
275
275
  (
276
276
  file: "DNSansItalic-1-400-Variable.woff2",
277
- format: "woff2-variations",
277
+ format: "woff2",
278
278
  ),
279
279
  ),
280
280
  fontWeight: 300 900,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonniernews/dn-design-system-web",
3
- "version": "8.3.3",
3
+ "version": "8.4.0",
4
4
  "description": "DN design system for web.",
5
5
  "main": "index.js",
6
6
  "homepage": "https://github.com/BonnierNews/dn-design-system/tree/main/web/src#readme",