@bonniernews/dn-design-system-web 18.0.0-beta.0 → 18.0.0-beta.2

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,10 @@ All changes to @bonniernews/dn-design-system-web will be documented in this file
4
4
 
5
5
 
6
6
 
7
+ ## [18.0.0-beta.2](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@18.0.0-beta.1...@bonniernews/dn-design-system-web@18.0.0-beta.2) (2024-08-14)
8
+
9
+ ## [18.0.0-beta.1](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@18.0.0-beta.0...@bonniernews/dn-design-system-web@18.0.0-beta.1) (2024-08-13)
10
+
7
11
  ## [18.0.0-beta.0](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@17.0.0...@bonniernews/dn-design-system-web@18.0.0-beta.0) (2024-08-13)
8
12
 
9
13
 
@@ -28,6 +28,7 @@
28
28
  href: params.authorPageUrl if useOuterAnchorElement,
29
29
  titleHref: params.authorPageUrl if not useOuterAnchorElement,
30
30
  linkAttributes: params.linkAttributes,
31
+ border: true,
31
32
  elementAttributes: params.elementAttributes,
32
33
  elementClassNames: params.elementClassNames,
33
34
  forcePx: params.forcePx,
@@ -42,10 +42,6 @@ $ds-list-item__portrait-size--small: 36px;
42
42
  width: 100%;
43
43
  border: none;
44
44
  background: none;
45
-
46
- &:active {
47
- opacity: 0.6;
48
- }
49
45
  }
50
46
 
51
47
  label.ds-list-item__content,
@@ -55,6 +51,10 @@ $ds-list-item__portrait-size--small: 36px;
55
51
  @include ds-hover(true) {
56
52
  opacity: 0.6;
57
53
  }
54
+
55
+ &:active {
56
+ opacity: 0.6;
57
+ }
58
58
  }
59
59
 
60
60
  a.ds-list-item__content {
@@ -165,8 +165,7 @@ $ds-list-item__portrait-size--small: 36px;
165
165
 
166
166
  .picture,
167
167
  img {
168
- width: ds-px-to-rem($ds-list-item__portrait-size);
169
- height: ds-px-to-rem($ds-list-item__portrait-size);
168
+ width: $ds-list-item__portrait-size;
170
169
  }
171
170
  }
172
171
 
@@ -272,8 +271,7 @@ $ds-list-item__portrait-size--small: 36px;
272
271
  .ds-list-item__portrait {
273
272
  .picture,
274
273
  img {
275
- width: ds-px-to-rem($ds-list-item__portrait-size--small);
276
- height: ds-px-to-rem($ds-list-item__portrait-size--small);
274
+ width: $ds-list-item__portrait-size--small;
277
275
  }
278
276
  }
279
277
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonniernews/dn-design-system-web",
3
- "version": "18.0.0-beta.0",
3
+ "version": "18.0.0-beta.2",
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",