@bonniernews/dn-design-system-web 8.8.6 → 8.8.8

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
@@ -4,6 +4,26 @@ All changes to @bonniernews/dn-design-system-web will be documented in this file
4
4
 
5
5
 
6
6
 
7
+ ## [8.8.8](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@8.8.7...@bonniernews/dn-design-system-web@8.8.8) (2023-12-01)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * **web:** update teaser swipe cards on mobile ([#1126](https://github.com/BonnierNews/dn-design-system/issues/1126)) ([ce91f5f](https://github.com/BonnierNews/dn-design-system/commit/ce91f5f868fa3303ddfa981fd285fbc915c4c000))
13
+
14
+ ## [8.8.7](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@8.8.6...@bonniernews/dn-design-system-web@8.8.7) (2023-12-01)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **web:** change game header to h1 ([#1129](https://github.com/BonnierNews/dn-design-system/issues/1129)) ([696c9b4](https://github.com/BonnierNews/dn-design-system/commit/696c9b445a757cfc35aae085f31c059fb647f09c))
20
+
21
+
22
+ ### Maintenance
23
+
24
+ * **deps:** run screenshot update on token changes ([#1125](https://github.com/BonnierNews/dn-design-system/issues/1125)) ([72e086b](https://github.com/BonnierNews/dn-design-system/commit/72e086b1704ccc7efa1d5450adb5f551d3ffc5b2))
25
+ * **web:** remove comment as it did not work ([#1128](https://github.com/BonnierNews/dn-design-system/issues/1128)) ([a2e63e4](https://github.com/BonnierNews/dn-design-system/commit/a2e63e49895236bf0e6f26a1339c7de8b23df8a8))
26
+
7
27
  ## [8.8.6](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@8.8.5...@bonniernews/dn-design-system-web@8.8.6) (2023-11-29)
8
28
 
9
29
 
@@ -12,7 +12,7 @@
12
12
  <div class="{{ classes }}" {{- attributes | safe }}>
13
13
  <div class="{{ componentClassName }}__top ds-light" style="backgroundColor: {{params.backgroundColor}}">
14
14
  <div class="{{ componentClassName }}__top-content">
15
- <h2 class="{{ componentClassName }}__title">{{ params.title}}</h2>
15
+ <h1 class="{{ componentClassName }}__title">{{ params.title}}</h1>
16
16
 
17
17
  {% if params.media %}
18
18
  <div class="{{ componentClassName + '__media'}}">
@@ -21,7 +21,7 @@
21
21
  {% endif %}
22
22
  </div>
23
23
  </div>
24
-
24
+
25
25
  {% if params.descriptionHtml %}
26
26
  <div class="{{ componentClassName }}__description">
27
27
  <div class="{{ componentClassName }}__description-content">
@@ -23,7 +23,19 @@
23
23
  @include ds-teaser-focus(2px);
24
24
 
25
25
  @include ds-mq-only-breakpoint(mobile) {
26
- margin-right: 0;
26
+ margin: 0;
27
+
28
+ .ds-teaser-swipe-card {
29
+ box-sizing: content-box;
30
+
31
+ &:first-of-type {
32
+ padding-left: ds-spacing($ds-s-100);
33
+ }
34
+
35
+ &:last-of-type {
36
+ padding-right: ds-spacing($ds-s-100);
37
+ }
38
+ }
27
39
  }
28
40
  }
29
41
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonniernews/dn-design-system-web",
3
- "version": "8.8.6",
3
+ "version": "8.8.8",
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",