@bonniernews/dn-design-system-web 18.0.0 → 18.0.2-beta.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
@@ -4,6 +4,28 @@ All changes to @bonniernews/dn-design-system-web will be documented in this file
4
4
 
5
5
 
6
6
 
7
+ ## [18.0.2-beta.0](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@18.0.1...@bonniernews/dn-design-system-web@18.0.2-beta.0) (2024-08-26)
8
+
9
+
10
+ ### Maintenance
11
+
12
+ * **web:** use aspect-ratio for images ([444fa7b](https://github.com/BonnierNews/dn-design-system/commit/444fa7b2ec6109adabff6fa6d3470cac590adb5e))
13
+
14
+ ## [18.0.1](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@18.0.0...@bonniernews/dn-design-system-web@18.0.1) (2024-08-22)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **web:** caption for masked image ([#1368](https://github.com/BonnierNews/dn-design-system/issues/1368)) ([3661e00](https://github.com/BonnierNews/dn-design-system/commit/3661e009d4496571d49155171d675dce6f1890ec))
20
+
21
+
22
+ ### Maintenance
23
+
24
+ * **deps-dev:** bump @babel/preset-env from 7.22.14 to 7.25.3 ([#1354](https://github.com/BonnierNews/dn-design-system/issues/1354)) ([927ac7f](https://github.com/BonnierNews/dn-design-system/commit/927ac7f38fdf2aab61b01280f8be507c3b092655))
25
+ * **deps:** bump @react-native-community/slider from 4.4.3 to 4.5.2 ([#1351](https://github.com/BonnierNews/dn-design-system/issues/1351)) ([0e29766](https://github.com/BonnierNews/dn-design-system/commit/0e297662572052444d6dad40d7c4bbed7acab796))
26
+ * **deps:** bump elliptic from 6.5.4 to 6.5.7 ([#1363](https://github.com/BonnierNews/dn-design-system/issues/1363)) ([2bffdbb](https://github.com/BonnierNews/dn-design-system/commit/2bffdbb80a2310d7827bf62a89756988b11ca035))
27
+ * prerelease packages ([b3dfa31](https://github.com/BonnierNews/dn-design-system/commit/b3dfa31f5ca868886b172299000f65fcc83c9ff8))
28
+
7
29
  ## [18.0.0](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@17.0.2...@bonniernews/dn-design-system-web@18.0.0) (2024-08-15)
8
30
 
9
31
 
@@ -20,6 +20,18 @@
20
20
  z-index: 5;
21
21
  }
22
22
 
23
+ &--mask {
24
+ .ds-teaser-image__byline {
25
+ background-color: transparent;
26
+ color: $ds-color-text-primary-02;
27
+ position: relative;
28
+ width: 100%;
29
+ text-align: right;
30
+ margin: ds-spacing($ds-s-025 0 0);
31
+ padding: 0;
32
+ }
33
+ }
34
+
23
35
  .ds-teaser--top-img &--mask {
24
36
  padding: ds-spacing($ds-s-100 $ds-s-100 0);
25
37
  box-sizing: border-box;
@@ -73,11 +73,12 @@
73
73
  bottom: 0;
74
74
  width: 100%;
75
75
  min-width: 96px;
76
- margin: 0;
76
+ margin: auto 0 0;
77
+ max-height: 100%;
77
78
 
78
79
  .picture__img {
79
80
  margin: 0;
80
- top: unset;
81
+ object-position: top;
81
82
  max-height: unset;
82
83
  }
83
84
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonniernews/dn-design-system-web",
3
- "version": "18.0.0",
3
+ "version": "18.0.2-beta.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",