@bonniernews/dn-design-system-web 19.0.1 → 20.0.1
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,41 @@ All changes to @bonniernews/dn-design-system-web will be documented in this file
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
## [
|
|
7
|
+
## [20.0.1](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@20.0.0...@bonniernews/dn-design-system-web@20.0.1) (2024-08-29)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* **foundations:** update README for 'yarn storybook' ([#1367](https://github.com/BonnierNews/dn-design-system/issues/1367)) ([057d3d9](https://github.com/BonnierNews/dn-design-system/commit/057d3d9ce08058579bb6691184e9958e2a3c964b))
|
|
13
|
+
* **web:** groupheader minheight adjustments ([#1388](https://github.com/BonnierNews/dn-design-system/issues/1388)) ([a00e867](https://github.com/BonnierNews/dn-design-system/commit/a00e867148fe607bea3b2d697ef27ebd0f475e7b))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Maintenance
|
|
17
|
+
|
|
18
|
+
* **deps-dev:** bump @babel/preset-env from 7.25.3 to 7.25.4 ([#1386](https://github.com/BonnierNews/dn-design-system/issues/1386)) ([ddba71e](https://github.com/BonnierNews/dn-design-system/commit/ddba71ed2337fd3e7167b5b1f7c9b01db8dc39bc))
|
|
19
|
+
* **deps-dev:** bump axios from 1.7.4 to 1.7.5 ([#1385](https://github.com/BonnierNews/dn-design-system/issues/1385)) ([27d037f](https://github.com/BonnierNews/dn-design-system/commit/27d037f58ec422f91af6b59242d0456b335aa93c))
|
|
20
|
+
|
|
21
|
+
## [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)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### ⚠ BREAKING CHANGES
|
|
25
|
+
|
|
26
|
+
* This code assumes that media html is styled with aspect-ratio
|
|
8
27
|
|
|
28
|
+
### Maintenance
|
|
29
|
+
|
|
30
|
+
* 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))
|
|
31
|
+
|
|
32
|
+
## [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
33
|
|
|
10
34
|
### Features
|
|
11
35
|
|
|
12
36
|
* **app:** create `Pill` ([#1374](https://github.com/BonnierNews/dn-design-system/issues/1374)) ([2054569](https://github.com/BonnierNews/dn-design-system/commit/20545696c9960206d03da8a7a0bed6b83ff77ebf))
|
|
13
37
|
|
|
14
|
-
|
|
15
38
|
### Bug Fixes
|
|
16
39
|
|
|
17
40
|
* **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
41
|
|
|
19
|
-
|
|
20
42
|
### Maintenance
|
|
21
43
|
|
|
22
44
|
* **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 +56,6 @@ All changes to @bonniernews/dn-design-system-web will be documented in this file
|
|
|
34
56
|
|
|
35
57
|
## [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
58
|
|
|
37
|
-
|
|
38
59
|
### ⚠ BREAKING CHANGES
|
|
39
60
|
|
|
40
61
|
* **foundations:** remove deprecated typography (#1369)
|
|
@@ -42,8 +63,18 @@ All changes to @bonniernews/dn-design-system-web will be documented in this file
|
|
|
42
63
|
### Maintenance
|
|
43
64
|
|
|
44
65
|
* **foundations:** remove deprecated typography ([#1369](https://github.com/BonnierNews/dn-design-system/issues/1369)) ([8bdfc4d](https://github.com/BonnierNews/dn-design-system/commit/8bdfc4d13306bb97088fe81ef0350d9055d1429d))
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
## [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)
|
|
69
|
+
|
|
70
|
+
## [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)
|
|
71
|
+
|
|
72
|
+
### Maintenance
|
|
73
|
+
|
|
45
74
|
* prerelease packages ([739d2b8](https://github.com/BonnierNews/dn-design-system/commit/739d2b8599439d222b9531dc198467e9727c7192))
|
|
46
75
|
|
|
76
|
+
* **web:** use aspect-ratio for images ([444fa7b](https://github.com/BonnierNews/dn-design-system/commit/444fa7b2ec6109adabff6fa6d3470cac590adb5e))
|
|
77
|
+
|
|
47
78
|
## [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
79
|
|
|
49
80
|
|
|
@@ -9,16 +9,17 @@ $ds-group-header__icon-size: 24px;
|
|
|
9
9
|
--group-header-color: #{$ds-color-text-primary};
|
|
10
10
|
--group-header-icon-color: currentColor;
|
|
11
11
|
display: flex;
|
|
12
|
+
// 48px height is based on the value of SenasteNytt
|
|
13
|
+
flex: 1 1 ds-spacing($ds-s-300);
|
|
12
14
|
justify-content: space-between;
|
|
13
15
|
align-items: stretch;
|
|
14
|
-
// In ios13 and older, the height would be 0 due to flex so use this as a fallback to create a 48 px height
|
|
15
|
-
min-height: ds-spacing($ds-s-300);
|
|
16
16
|
background: var(--group-header-background);
|
|
17
17
|
color: var(--group-header-color);
|
|
18
18
|
@include ds-typography($ds-typography-functionalbody02);
|
|
19
19
|
|
|
20
20
|
&--bottom-border {
|
|
21
|
-
border-bottom: ds-border-width(x1) solid $ds-color-border-primary;
|
|
21
|
+
border-bottom: ds-border-width(x1) solid #{$ds-color-border-primary};
|
|
22
|
+
flex-basis: ds-spacing($ds-s-300) - 1px;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
&--bauta {
|
|
@@ -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