@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
|
-
|
|
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
|
|
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 %}
|
package/package.json
CHANGED