@bonniernews/dn-design-system-web 3.0.0-alpha.82 → 3.0.0-alpha.84
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/assets/teaser/dot-or-grade.njk +1 -1
- package/components/teaser-large/teaser-large.njk +2 -2
- package/components/teaser-onsite/teaser-onsite.njk +2 -2
- package/components/teaser-right-now/teaser-right-now.njk +1 -1
- package/components/teaser-slideshow/teaser-slideshow.njk +2 -2
- package/components/teaser-split/teaser-split.njk +1 -1
- package/components/teaser-standard/teaser-standard.njk +1 -1
- package/components/teaser-tipsa/teaser-tipsa.njk +2 -2
- 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.84](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@3.0.0-alpha.83...@bonniernews/dn-design-system-web@3.0.0-alpha.84) (2023-06-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **web:** dont mark non-html fields as safe ([#867](https://github.com/BonnierNews/dn-design-system/issues/867)) ([56e5b66](https://github.com/BonnierNews/dn-design-system/commit/56e5b66c498e26428204bee766d69d52f5524207))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## [3.0.0-alpha.83](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@3.0.0-alpha.82...@bonniernews/dn-design-system-web@3.0.0-alpha.83) (2023-06-02)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **web:** fix the flashing dot ([#861](https://github.com/BonnierNews/dn-design-system/issues/861)) ([992a108](https://github.com/BonnierNews/dn-design-system/commit/992a108d4ddbc78b2af488885aee8a972a050b29))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [3.0.0-alpha.82](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@3.0.0-alpha.81...@bonniernews/dn-design-system-web@3.0.0-alpha.82) (2023-06-02)
|
|
7
25
|
|
|
8
26
|
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
|
|
4
4
|
{% macro getDotOrGrade(params) %}
|
|
5
5
|
{% set gradeHtml = GetGrade({ grade: params.grade, type: "single" }) | trim if params.grade else "" %}
|
|
6
|
-
{{ gradeHtml if gradeHtml.length else TeaserDot({ flashing: params.
|
|
6
|
+
{{ gradeHtml if gradeHtml.length else TeaserDot({ flashing: params.flashing }) }}
|
|
7
7
|
{% endmacro %}
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
{% if params.highlight %}
|
|
70
70
|
<span class="{{ componentClassName + '__highlight'}}">{{ params.highlight }}</span>
|
|
71
71
|
{% endif %}
|
|
72
|
-
{{ params.title
|
|
72
|
+
{{ params.title }}
|
|
73
73
|
</h2>
|
|
74
74
|
|
|
75
75
|
{% if params.text and params.areaType !== "right" %}
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
{{ params.sticker }}
|
|
81
81
|
</span>
|
|
82
82
|
{% endif %}
|
|
83
|
-
{{ params.text
|
|
83
|
+
{{ params.text}}
|
|
84
84
|
</p>
|
|
85
85
|
{% endif %}
|
|
86
86
|
{% if params.bylineHtml %}
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
|
|
33
33
|
<div class="{{ componentClassName + '__content'}}">
|
|
34
34
|
<h2 class="ds-teaser__title">
|
|
35
|
-
PÅ PLATS | {{ params.title
|
|
35
|
+
PÅ PLATS | {{ params.title }}
|
|
36
36
|
</h2>
|
|
37
37
|
|
|
38
38
|
{% if params.text %}
|
|
39
39
|
<p class="{{ componentClassName + '__text'}}">
|
|
40
|
-
{{ params.text
|
|
40
|
+
{{ params.text }}
|
|
41
41
|
</p>
|
|
42
42
|
{% endif %}
|
|
43
43
|
</div>
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
<div class="{{ classes }}" {{ attributes | safe }}>
|
|
24
24
|
<div class="{{ componentClassName + '__content'}}">
|
|
25
25
|
<h2 class="ds-teaser__title">
|
|
26
|
-
{{ params.title
|
|
26
|
+
{{ params.title }}
|
|
27
27
|
</h2>
|
|
28
28
|
{% if params.text %}
|
|
29
29
|
<span class="{{ componentClassName + '__text'}}">
|
|
30
|
-
{{ params.text
|
|
30
|
+
{{ params.text }}
|
|
31
31
|
</span>
|
|
32
32
|
{% endif %}
|
|
33
33
|
</div>
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
|
|
19
19
|
<div class="{{ componentClassName + '__content'}}">
|
|
20
20
|
<h2 class="ds-teaser__title">
|
|
21
|
-
{{ params.title
|
|
21
|
+
{{ params.title }}
|
|
22
22
|
</h2>
|
|
23
23
|
|
|
24
24
|
{% if params.text %}
|
|
25
25
|
<p class="{{ componentClassName + '__text'}}">
|
|
26
|
-
{{ params.text
|
|
26
|
+
{{ params.text }}
|
|
27
27
|
</p>
|
|
28
28
|
{% endif %}
|
|
29
29
|
</div>
|
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.84",
|
|
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",
|