@bonniernews/dn-design-system-web 19.0.1 → 20.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/CHANGELOG.md
CHANGED
|
@@ -4,19 +4,27 @@ All changes to @bonniernews/dn-design-system-web will be documented in this file
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
## [
|
|
7
|
+
## [20.0.0](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@19.0.1...@bonniernews/dn-design-system-web@20.0.0) (2024-08-29)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
|
|
12
|
+
* This code assumes that media html is styled with aspect-ratio
|
|
8
13
|
|
|
14
|
+
### Maintenance
|
|
15
|
+
|
|
16
|
+
* use `aspect-ratio` for images instead of padding hack ([#1370](https://github.com/BonnierNews/dn-design-system/issues/1370)) ([6195a7f](https://github.com/BonnierNews/dn-design-system/commit/6195a7f938bc62633b360f6635e7ffec29a1e4f8))
|
|
17
|
+
|
|
18
|
+
## [19.0.1](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@19.0.0...@bonniernews/dn-design-system-web@19.0.1) (2024-08-29)
|
|
9
19
|
|
|
10
20
|
### Features
|
|
11
21
|
|
|
12
22
|
* **app:** create `Pill` ([#1374](https://github.com/BonnierNews/dn-design-system/issues/1374)) ([2054569](https://github.com/BonnierNews/dn-design-system/commit/20545696c9960206d03da8a7a0bed6b83ff77ebf))
|
|
13
23
|
|
|
14
|
-
|
|
15
24
|
### Bug Fixes
|
|
16
25
|
|
|
17
26
|
* **web:** groupheader height fallback in browsers with bad flex support ([#1381](https://github.com/BonnierNews/dn-design-system/issues/1381)) ([45ca0ac](https://github.com/BonnierNews/dn-design-system/commit/45ca0acf8cd589f70ac07a698abdcdce990a7224))
|
|
18
27
|
|
|
19
|
-
|
|
20
28
|
### Maintenance
|
|
21
29
|
|
|
22
30
|
* **app:** use DN Sans 1-500 ([#1373](https://github.com/BonnierNews/dn-design-system/issues/1373)) ([2c68281](https://github.com/BonnierNews/dn-design-system/commit/2c6828133462cb27519c9d9b729fc0ff8424cc9e))
|
|
@@ -34,7 +42,6 @@ All changes to @bonniernews/dn-design-system-web will be documented in this file
|
|
|
34
42
|
|
|
35
43
|
## [19.0.0](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@18.0.1...@bonniernews/dn-design-system-web@19.0.0) (2024-08-26)
|
|
36
44
|
|
|
37
|
-
|
|
38
45
|
### ⚠ BREAKING CHANGES
|
|
39
46
|
|
|
40
47
|
* **foundations:** remove deprecated typography (#1369)
|
|
@@ -42,8 +49,18 @@ All changes to @bonniernews/dn-design-system-web will be documented in this file
|
|
|
42
49
|
### Maintenance
|
|
43
50
|
|
|
44
51
|
* **foundations:** remove deprecated typography ([#1369](https://github.com/BonnierNews/dn-design-system/issues/1369)) ([8bdfc4d](https://github.com/BonnierNews/dn-design-system/commit/8bdfc4d13306bb97088fe81ef0350d9055d1429d))
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
## [18.0.2-beta.1](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@18.0.2-beta.0...@bonniernews/dn-design-system-web@18.0.2-beta.1) (2024-08-26)
|
|
55
|
+
|
|
56
|
+
## [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)
|
|
57
|
+
|
|
58
|
+
### Maintenance
|
|
59
|
+
|
|
45
60
|
* prerelease packages ([739d2b8](https://github.com/BonnierNews/dn-design-system/commit/739d2b8599439d222b9531dc198467e9727c7192))
|
|
46
61
|
|
|
62
|
+
* **web:** use aspect-ratio for images ([444fa7b](https://github.com/BonnierNews/dn-design-system/commit/444fa7b2ec6109adabff6fa6d3470cac590adb5e))
|
|
63
|
+
|
|
47
64
|
## [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)
|
|
48
65
|
|
|
49
66
|
|
|
@@ -72,12 +72,13 @@
|
|
|
72
72
|
right: 0;
|
|
73
73
|
bottom: 0;
|
|
74
74
|
width: 100%;
|
|
75
|
-
min-width:
|
|
76
|
-
margin: 0;
|
|
75
|
+
min-width: 100%;
|
|
76
|
+
margin: auto 0 0;
|
|
77
|
+
max-height: 100%;
|
|
77
78
|
|
|
78
79
|
.picture__img {
|
|
79
80
|
margin: 0;
|
|
80
|
-
|
|
81
|
+
object-position: top;
|
|
81
82
|
max-height: unset;
|
|
82
83
|
}
|
|
83
84
|
}
|
package/package.json
CHANGED