@bonniernews/dn-design-system-web 3.0.0-alpha.43 → 3.0.0-alpha.44

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,15 @@
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.44](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@3.0.0-alpha.43...@bonniernews/dn-design-system-web@3.0.0-alpha.44) (2023-05-04)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **web:** minor fixes for onSite and tipsa ([#792](https://github.com/BonnierNews/dn-design-system/issues/792)) ([a08cd5b](https://github.com/BonnierNews/dn-design-system/commit/a08cd5b839ee5bb07b6293278b41baf9cfa23f38))
12
+
13
+
14
+
6
15
  ## [3.0.0-alpha.43](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@3.0.0-alpha.42...@bonniernews/dn-design-system-web@3.0.0-alpha.43) (2023-05-03)
7
16
 
8
17
 
@@ -17,6 +17,7 @@ In the CMS title will be set to a location like "Kiev, Ukraina" or "USA" and tex
17
17
  |title | String | yes | | | Heading of the teaser |
18
18
  |targetLink | String | yes | | | Target URL for the teaser |
19
19
  |targetId | String | no | | | Target article ID |
20
+ |areaType | string | no | "right" or "bauta" or "bautaxl" | | The area where the column is rendered |
20
21
  |theme | String | no | nyheter, kultur, ekonomi, sport, sthlm | (empty) | The theme-class to apply to the teaser |
21
22
  |text | String | no | | | Teaser subtext |
22
23
  |mediaHtml | HTML String | no | | | Main image or other media |
@@ -18,7 +18,7 @@
18
18
 
19
19
  <a href="{{ params.targetLink }}"
20
20
  class="{{ classes }}"
21
- {% if targetId %} data-id="{{ params.targetId }}" {% endif %}
21
+ {% if params.targetId %} data-id="{{ params.targetId }}" {% endif %}
22
22
  {{- attributes | safe }}>
23
23
 
24
24
  {% if params.mediaHtml %}
@@ -16,6 +16,8 @@ It's quite common to include a dot in the title string, like "• This is a titl
16
16
  |targetLink | String | yes | | | Target URL for the teaser |
17
17
  |targetId | String | no | | | Target article ID |
18
18
  |text | String | no | | | Teaser subtext |
19
+ |areaType | string | no | "right" or "bauta" or "bautaxl" | | The area where the column is rendered |
20
+ |theme | String | no | nyheter, kultur, ekonomi, sport, sthlm | (empty) | The theme-class to apply to the teaser |
19
21
  |attributes | Object | no | | | Ex. { target: "_blank", "data-test": "lorem ipsum" } |
20
22
  |classNames | String | no | | | Ex. "my-special-class" |
21
23
  |~forcePx~ | | | | | Not supported |
@@ -14,7 +14,7 @@
14
14
 
15
15
  <a href="{{ params.targetLink }}"
16
16
  class="{{ classes }}"
17
- {% if targetId %} data-id="{{ params.targetId }}" {% endif %}
17
+ {% if params.targetId %} data-id="{{ params.targetId }}" {% endif %}
18
18
  {{- attributes | safe }}>
19
19
 
20
20
  <div class="{{ componentClassName + '__content'}}">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonniernews/dn-design-system-web",
3
- "version": "3.0.0-alpha.43",
3
+ "version": "3.0.0-alpha.44",
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",