@bonniernews/dn-design-system-web 8.0.3 → 8.0.5

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
@@ -3,6 +3,24 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 8.0.5 (2023-11-08)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **web:** update aria-label on follow bylines ([#1078](https://github.com/BonnierNews/dn-design-system/issues/1078)) ([b0110ca](https://github.com/BonnierNews/dn-design-system/commit/b0110caed3e4bdbf1ee4346d92e7637dc2411ff8))
12
+
13
+
14
+
15
+ ## 8.0.4 (2023-11-06)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **web:** design fixes for direkt cards and groupheader links ([#1077](https://github.com/BonnierNews/dn-design-system/issues/1077)) ([a66d662](https://github.com/BonnierNews/dn-design-system/commit/a66d662de3afc30d0554f8c07619b618c65b9779))
21
+
22
+
23
+
6
24
  ## 8.0.3 (2023-11-03)
7
25
 
8
26
  **Note:** Version bump only for package @bonniernews/dn-design-system-web
@@ -52,7 +52,8 @@
52
52
 
53
53
  {# This inner link can exist in combination with a button. It's been decided that it should only be used for authorPageUrls, not for email #}
54
54
  {% if not useOuterAnchorElement and params.authorPageUrl %}
55
- <a href="{{params.authorPageUrl}}" aria-label="Läs mer från: {{ params.authorName }}" class="{{ componentClassName + '__content-wrapper'}}">
55
+ {%- set ariaLabel = 'aria-label="Läs mer från ' + params.authorName + '"' %}
56
+ <a href="{{params.authorPageUrl}}" {{ ariaLabel | safe if not params.email }} class="{{ componentClassName + '__content-wrapper'}}">
56
57
  {{ caller() if caller }}
57
58
  </a>
58
59
  {% else %}
@@ -89,7 +90,7 @@
89
90
  {% endif %}
90
91
 
91
92
  {% if useOuterAnchorElement %}
92
- <a href="{{ params.authorPageUrl }}" aria-label="Läs mer från: {{ params.authorName }}" class="{{ classes }}" {{- attributes | safe }}>
93
+ <a href="{{ params.authorPageUrl }}" aria-label="Läs mer från {{ params.authorName }}" class="{{ classes }}" {{- attributes | safe }}>
93
94
  {{ caller() if caller }}
94
95
  </a>
95
96
  {% else %}
@@ -48,6 +48,7 @@
48
48
  }
49
49
 
50
50
  .ds-group-header__right-link {
51
+ @include ds-typography($ds-typography-functional-body01regular);
51
52
  @include ds-link($ds-link-paragraph);
52
53
  }
53
54
 
@@ -103,7 +103,7 @@
103
103
  &::after {
104
104
  content: "";
105
105
  display: block;
106
- height: 2px;
106
+ height: ds-metrics-border-width(x1);
107
107
  flex: 1;
108
108
  background-color: $ds-color-border-primary;
109
109
  margin-left: ds-spacing($ds-s-050);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonniernews/dn-design-system-web",
3
- "version": "8.0.3",
3
+ "version": "8.0.5",
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",