@bonniernews/dn-design-system-web 4.2.0 → 4.2.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 +18 -0
- package/components/group-header/group-header.njk +1 -1
- package/components/group-header/group-header.scss +2 -0
- package/components/teaser-list-swipe/teaser-list-swipe.scss +4 -0
- package/components/teaser-swipe-card/teaser-swipe-card.njk +1 -1
- package/components/teaser-swipe-card/teaser-swipe-card.scss +3 -0
- package/package.json +1 -1
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
|
+
## 4.2.2 (2023-09-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **web:** add focus states for swipe and groupheader and fix link param in groupheader ([#987](https://github.com/BonnierNews/dn-design-system/issues/987)) ([95104c8](https://github.com/BonnierNews/dn-design-system/commit/95104c8066ca58a606f12ff2d179465a4803809e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## 4.2.1 (2023-09-07)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **web:** fix bad variable name ([#985](https://github.com/BonnierNews/dn-design-system/issues/985)) ([5664c55](https://github.com/BonnierNews/dn-design-system/commit/5664c556913aafb58efcff8e4eb722c1af9c04b2))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## 4.2.0 (2023-09-06)
|
|
7
25
|
|
|
8
26
|
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
|
|
32
32
|
<div class="{{ classes }}" {{ attributes | safe }}>
|
|
33
33
|
{% if params.href %}
|
|
34
|
-
<a class="{{ componentClassName + '__href'}}" href="{{ params.
|
|
34
|
+
<a class="{{ componentClassName + '__href'}}" href="{{ params.href }}">
|
|
35
35
|
{{ groupHeaderInner | safe }}
|
|
36
36
|
</a>
|
|
37
37
|
{% else %}
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
max-width: 100%;
|
|
9
9
|
color: $ds-color-text-primary;
|
|
10
10
|
|
|
11
|
+
@include ds-teaser-focus(2px);
|
|
12
|
+
|
|
11
13
|
.ds-teaser__carousel {
|
|
12
14
|
padding: ds-spacing-component(0 $ds-sc-x4);
|
|
13
15
|
padding-bottom: ds-spacing-component($ds-sc-x3);
|
|
@@ -16,6 +18,8 @@
|
|
|
16
18
|
grid-auto-columns: max-content;
|
|
17
19
|
grid-auto-flow: column;
|
|
18
20
|
gap: ds-spacing-component($ds-sc-x2);
|
|
21
|
+
|
|
22
|
+
@include ds-teaser-focus(2px);
|
|
19
23
|
}
|
|
20
24
|
|
|
21
25
|
@include ds-mq-only-breakpoint(desktop) {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
{% set classes = componentClassName + " " + additionalClasses | join(" ") %}
|
|
26
26
|
|
|
27
|
-
<a href="{{
|
|
27
|
+
<a href="{{ params.href }}" class="{{ classes }}" {{- attributes | safe }}>
|
|
28
28
|
{% if params.variant != 'direkt' and params.mediaHtml %}
|
|
29
29
|
{{ params.mediaHtml | safe }}
|
|
30
30
|
{% endif %}
|
|
@@ -14,6 +14,9 @@
|
|
|
14
14
|
border: ds-metrics-border-width(x1) solid $ds-color-border-primary;
|
|
15
15
|
border-radius: ds-metrics-border-radius(x2);
|
|
16
16
|
overflow: hidden; // ensure media doesn't overflow the border-radius
|
|
17
|
+
margin-bottom: 0;
|
|
18
|
+
|
|
19
|
+
@include ds-teaser-focus(-2px);
|
|
17
20
|
|
|
18
21
|
.ds-teaser__text {
|
|
19
22
|
display: flex;
|
package/package.json
CHANGED