@bonniernews/dn-design-system-web 18.0.0-beta.1 → 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,8 @@ 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
+
7
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)
8
10
 
9
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)
@@ -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,7 +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);
168
+ width: $ds-list-item__portrait-size;
169
169
  }
170
170
  }
171
171
 
@@ -271,7 +271,7 @@ $ds-list-item__portrait-size--small: 36px;
271
271
  .ds-list-item__portrait {
272
272
  .picture,
273
273
  img {
274
- width: ds-px-to-rem($ds-list-item__portrait-size--small);
274
+ width: $ds-list-item__portrait-size--small;
275
275
  }
276
276
  }
277
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.1",
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",