@bonniernews/dn-design-system-web 32.4.7 → 32.4.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,13 @@ All changes to @bonniernews/dn-design-system-web will be documented in this file
4
4
 
5
5
 
6
6
 
7
+ ## [32.4.8](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@32.4.7...@bonniernews/dn-design-system-web@32.4.8) (2025-05-28)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * **web:** conditional height on profile ([#1760](https://github.com/BonnierNews/dn-design-system/issues/1760)) ([0181a1f](https://github.com/BonnierNews/dn-design-system/commit/0181a1fb202e39bffb0c6c788a30d267553c4a64))
13
+
7
14
  ## [32.4.7](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@32.4.6...@bonniernews/dn-design-system-web@32.4.7) (2025-05-28)
8
15
 
9
16
 
@@ -8,6 +8,7 @@
8
8
  {%- set classes = [
9
9
  componentClassName,
10
10
  componentClassName + '--has-border' if params.descriptionHtml or params.articleCount,
11
+ componentClassName + '--has-image' if params.mediaHtml,
11
12
  params.classNames if params.classNames
12
13
  ] | join(" ") %}
13
14
 
@@ -19,6 +19,10 @@ $profile-header-img-width: 120px;
19
19
  }
20
20
  }
21
21
 
22
+ &.ds-profile-header--has-image .ds-profile-header__bar {
23
+ min-height: 102px;
24
+ }
25
+
22
26
  .ds-profile-header__content {
23
27
  width: 100%;
24
28
  }
@@ -31,7 +35,6 @@ $profile-header-img-width: 120px;
31
35
  margin: ds-spacing($ds-s-100 $ds-s-100 0);
32
36
  position: relative;
33
37
  padding-right: $profile-header-img-width;
34
- min-height: 102px;
35
38
 
36
39
  .ds-btn--toggle {
37
40
  flex-shrink: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonniernews/dn-design-system-web",
3
- "version": "32.4.7",
3
+ "version": "32.4.8",
4
4
  "description": "DN design system for web.",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/BonnierNews/dn-design-system/tree/main/web/src#readme",