@bonniernews/dn-design-system-web 8.8.1-beta.6 → 8.8.2-beta.0
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,29 +4,18 @@ All changes to @bonniernews/dn-design-system-web will be documented in this file
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
## [8.8.
|
|
8
|
-
|
|
9
|
-
## [8.8.1-beta.5](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@8.8.1-beta.4...@bonniernews/dn-design-system-web@8.8.1-beta.5) (2023-11-29)
|
|
10
|
-
|
|
11
|
-
## [8.8.1-beta.4](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@8.8.1-beta.3...@bonniernews/dn-design-system-web@8.8.1-beta.4) (2023-11-29)
|
|
12
|
-
|
|
13
|
-
## [8.8.1-beta.3](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@8.8.1-beta.2...@bonniernews/dn-design-system-web@8.8.1-beta.3) (2023-11-29)
|
|
7
|
+
## [8.8.2-beta.0](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@8.8.1...@bonniernews/dn-design-system-web@8.8.2-beta.0) (2023-11-29)
|
|
14
8
|
|
|
15
9
|
|
|
16
10
|
### Maintenance
|
|
17
11
|
|
|
18
|
-
* **web:** release it config
|
|
19
|
-
|
|
20
|
-
## [8.8.1-beta.2](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@8.8.1-beta.1...@bonniernews/dn-design-system-web@8.8.1-beta.2) (2023-11-28)
|
|
12
|
+
* **web:** release it config ([1dcb309](https://github.com/BonnierNews/dn-design-system/commit/1dcb30974563cc5d1a02b651bd1aa6a34ebf5220))
|
|
21
13
|
|
|
22
|
-
##
|
|
14
|
+
## 8.8.1 (2023-11-28)
|
|
23
15
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
### Maintenance
|
|
16
|
+
### Bug Fixes
|
|
28
17
|
|
|
29
|
-
* **web:**
|
|
18
|
+
* **web:** pass group header variant to teaser list swipe ([#1116](https://github.com/BonnierNews/dn-design-system/issues/1116)) ([2f9f49e](https://github.com/BonnierNews/dn-design-system/commit/2f9f49e60c674f5b3cadf27035c10f99cfec976d))
|
|
30
19
|
|
|
31
20
|
## 8.8.0 (2023-11-27)
|
|
32
21
|
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
</span>
|
|
38
38
|
|
|
39
39
|
{% if params.linkText %}
|
|
40
|
-
<span class="{{ componentClassName + '__right-link' }}">
|
|
40
|
+
<span class="{{ componentClassName + '__right-link' }} hidden-desktop">
|
|
41
41
|
{{ params.linkText }}
|
|
42
42
|
</span>
|
|
43
43
|
{% endif %}
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
classNames: params.toggleClassNames,
|
|
64
64
|
attributes: params.toggleAttributes
|
|
65
65
|
}) }}
|
|
66
|
-
{% elif (params.variant == 'arrows') %}
|
|
66
|
+
{% elif (params.variant == 'arrows' or params.variant == 'direkt') %}
|
|
67
67
|
<div class="{{ componentClassName + '__arrows' }} hidden-mobile hidden-tablet">
|
|
68
68
|
{{ IconButton({
|
|
69
69
|
variant: "elevated",
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
params.classNames if params.classNames
|
|
14
14
|
] | join(" ") %}
|
|
15
15
|
|
|
16
|
+
{% if params.groupHeaderVariant %}
|
|
17
|
+
{% set variant = params.groupHeaderVariant %}
|
|
18
|
+
{% elif arrowPosition === 'header' %}
|
|
19
|
+
{% set variant = 'arrows' %}
|
|
20
|
+
{% else %}
|
|
21
|
+
{% set variant = 'link' %}
|
|
22
|
+
{% endif %}
|
|
23
|
+
|
|
16
24
|
{%- call TeaserCard({
|
|
17
25
|
areaType: params.areaType,
|
|
18
26
|
theme: params.theme,
|
|
@@ -22,7 +30,7 @@
|
|
|
22
30
|
{{ GroupHeader({
|
|
23
31
|
title: params.title,
|
|
24
32
|
href: params.titleHref,
|
|
25
|
-
variant:
|
|
33
|
+
variant: variant,
|
|
26
34
|
linkText: 'Visa alla'
|
|
27
35
|
}) }}
|
|
28
36
|
<div class="{{ componentClassName + '__carousel'}}">
|
|
@@ -21,6 +21,10 @@
|
|
|
21
21
|
|
|
22
22
|
@include ds-hide-scrollbars();
|
|
23
23
|
@include ds-teaser-focus(2px);
|
|
24
|
+
|
|
25
|
+
@include ds-mq-only-breakpoint(mobile) {
|
|
26
|
+
margin-right: 0;
|
|
27
|
+
}
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
@include ds-mq-only-breakpoint(desktop) {
|
|
@@ -40,3 +44,7 @@
|
|
|
40
44
|
}
|
|
41
45
|
}
|
|
42
46
|
}
|
|
47
|
+
|
|
48
|
+
.ds-group-header--direkt + .ds-teaser__carousel .ds-teaser-swipe-card--direkt {
|
|
49
|
+
padding-top: ds-spacing($ds-s-050);
|
|
50
|
+
}
|
package/package.json
CHANGED