@bonniernews/dn-design-system-web 3.0.0-alpha.55 → 3.0.0-alpha.57
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/image-caption/image-caption.scss +0 -1
- package/components/teaser-large/README.md +0 -1
- package/components/teaser-large/teaser-large.njk +0 -1
- package/components/teaser-onsite/README.md +0 -1
- package/components/teaser-onsite/teaser-onsite.njk +0 -1
- package/components/teaser-package/README.md +0 -2
- package/components/teaser-package/teaser-package.njk +0 -1
- package/components/teaser-split/README.md +0 -2
- package/components/teaser-split/teaser-split.njk +0 -1
- package/components/teaser-standard/README.md +0 -1
- package/components/teaser-standard/teaser-standard.njk +0 -1
- package/components/teaser-tipsa/README.md +0 -1
- package/components/teaser-tipsa/teaser-tipsa.njk +0 -1
- 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
|
+
## 3.0.0-alpha.57 (2023-05-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **web:** remove targetId as teaser property ([#812](https://github.com/BonnierNews/dn-design-system/issues/812)) ([1633ac9](https://github.com/BonnierNews/dn-design-system/commit/1633ac9ce9f99ef145ccd6bbee05abe0aefc5814))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## 3.0.0-alpha.56 (2023-05-10)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **web:** revert nowrap on image credits ([#814](https://github.com/BonnierNews/dn-design-system/issues/814)) ([5b9170d](https://github.com/BonnierNews/dn-design-system/commit/5b9170dbaee2533c01baf710fbcb7aeabb4533f6))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [3.0.0-alpha.55](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@3.0.0-alpha.54...@bonniernews/dn-design-system-web@3.0.0-alpha.55) (2023-05-10)
|
|
7
25
|
|
|
8
26
|
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
|:--- | :--- | :--- | :--- | :--- | :--- |
|
|
13
13
|
|title | String | yes | | | Heading of the teaser |
|
|
14
14
|
|targetLink | String | yes | | | Target URL for the teaser |
|
|
15
|
-
|targetId | String | no | | | Target article ID |
|
|
16
15
|
|variant | String | no | "default" or "podd" | "default" | |
|
|
17
16
|
|areaType | String | no | "right" or "bauta" or "bautaxl" | | The area where the column is rendered |
|
|
18
17
|
|theme | String | no | nyheter, kultur, ekonomi, sport, sthlm | (empty) | The theme-class to apply to the teaser |
|
|
@@ -24,7 +24,6 @@ The worldMap has to be set by the parent page as a CSS variable. This is done in
|
|
|
24
24
|
|:--- | :--- | :--- | :--- | :--- | :--- |
|
|
25
25
|
|title | String | yes | | | Heading of the teaser |
|
|
26
26
|
|targetLink | String | yes | | | Target URL for the teaser |
|
|
27
|
-
|targetId | String | no | | | Target article ID |
|
|
28
27
|
|areaType | String | no | "right" or "bauta" or "bautaxl" | | The area where the column is rendered |
|
|
29
28
|
|theme | String | no | nyheter, kultur, ekonomi, sport, sthlm | (empty) | The theme-class to apply to the teaser |
|
|
30
29
|
|text | String | no | | | Teaser subtext |
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
|teasersHtml | HTML String | yes | | | HTML teaser output |
|
|
14
14
|
|vignetteText | String | yes | | | Heading of the teaser |
|
|
15
15
|
|vignetteTargetUrl | String | no | | | Target URL for the teaser |
|
|
16
|
-
|vignetteTargetId | String | no | | | Target article ID |
|
|
17
16
|
|areaType | String | no | "bauta" or "bautaxl" | | The area where the column is rendered |
|
|
18
17
|
|theme | String | no | nyheter, kultur, ekonomi, sport, sthlm | (empty) | The theme-class to apply to the teaser |
|
|
19
18
|
|attributes | Object | no | | | Ex. { target: "_blank", "data-test": "lorem ipsum" } |
|
|
@@ -33,7 +32,6 @@ These are copy paste friendly examples to quickliy get started using a component
|
|
|
33
32
|
teasersHtml: "",
|
|
34
33
|
areaType: "bauta",
|
|
35
34
|
vignetteText: "Svensk politik",
|
|
36
|
-
vignetteTargetId: "dn.tag.svensk-politik",
|
|
37
35
|
vignetteTargetUrl: "/om/svensk-politik/"
|
|
38
36
|
})}}
|
|
39
37
|
```
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
{%- if params.vignetteTargetUrl %}
|
|
25
25
|
<a href="{{ params.vignetteTargetUrl }}"
|
|
26
26
|
class="{{ componentClassName + '__vignette'}}"
|
|
27
|
-
{% if params.vignetteTargetId %} data-id="{{ params.vignetteTargetId }}" {% endif %}
|
|
28
27
|
{{- attributes | safe }}>
|
|
29
28
|
<span>{{ params.vignetteText }}</span>
|
|
30
29
|
{{ Icon({ icon: "arrow_forward", attributes: {"aria-hidden": true} }) }}
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
|:--- | :--- | :--- | :--- | :--- | :--- |
|
|
13
13
|
|title | String | yes | | | Heading of the teaser |
|
|
14
14
|
|targetLink | String | yes | | | Target URL for the teaser |
|
|
15
|
-
|targetId | String | no | | | Target article ID |
|
|
16
15
|
|~variant~ | String | no | "default" or "podd" | "default" | Not implemented |
|
|
17
16
|
|areaType | String | no | "right" or "bauta" or "bautaxl" | | The area where the column is rendered |
|
|
18
17
|
|theme | String | no | nyheter, kultur, ekonomi, sport, sthlm | (empty) | The theme-class to apply to the teaser |
|
|
@@ -39,7 +38,6 @@ These are copy paste friendly examples to quickliy get started using a component
|
|
|
39
38
|
{{ TeaserSplit({
|
|
40
39
|
title: "Sju miljoner i humanitärt stöd till Turkiet och Syrien",
|
|
41
40
|
targetLink: "#",
|
|
42
|
-
targetId: "test.123",
|
|
43
41
|
text: "Tält och temporära nödboenden samt ledningsresurser för att koordinera räddningsarbetet."
|
|
44
42
|
})}}
|
|
45
43
|
```
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
|:--- | :--- | :--- | :--- | :--- | :--- |
|
|
13
13
|
|title | String | yes | | | Heading of the teaser |
|
|
14
14
|
|targetLink | String | yes | | | Target URL for the teaser |
|
|
15
|
-
|targetId | String | no | | | Target article ID |
|
|
16
15
|
|variant | String | no | "default" or "podd" | "default" | |
|
|
17
16
|
|areaType | String | no | "right" or "bauta" or "bautaxl" | | The area where the column is rendered |
|
|
18
17
|
|theme | String | no | nyheter, kultur, ekonomi, sport, sthlm | (empty) | The theme-class to apply to the teaser |
|
|
@@ -14,7 +14,6 @@ It's quite common to include a dot in the title string, like "• This is a titl
|
|
|
14
14
|
|:--- | :--- | :--- | :--- | :--- | :--- |
|
|
15
15
|
|title | String | yes | | | Heading of the teaser |
|
|
16
16
|
|targetLink | String | yes | | | Target URL for the teaser |
|
|
17
|
-
|targetId | String | no | | | Target article ID |
|
|
18
17
|
|text | String | no | | | Teaser subtext |
|
|
19
18
|
|areaType | String | no | "right" or "bauta" or "bautaxl" | | The area where the column is rendered |
|
|
20
19
|
|theme | String | no | nyheter, kultur, ekonomi, sport, sthlm | (empty) | The theme-class to apply to the teaser |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bonniernews/dn-design-system-web",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.57",
|
|
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",
|