@bonniernews/dn-design-system-web
Advanced tools
Comparing version 29.1.0 to 29.1.1-beta.0
@@ -13,7 +13,7 @@ - GitHub: [BonnierNews/dn-design-system/../web/src/components/factbox](https://github.com/BonnierNews/dn-design-system/tree/main/web/src/components/factbox) | ||
|:--- | :--- | :--- | :--- | :--- | :--- | | ||
|vignetteHtml | HTML String | no | | | | | ||
|titleHtml | HTML String | yes | | | | | ||
|bodyHtml | HTML String | yes | | | | | ||
|titleHighlight | String | no | | | | | ||
|titleImageHtml | HTML String | no | | | Image | | ||
|title | String | no | | | | | ||
|bodyParts| Object | yes | | | Ex. [{ type: "gradeMeter", grade: "two" }, { type: "paragraph", bodyHtml: "<p>Html markup</p>" }, { type: "image", mediaHtml: "<div class='picture'>..</div>", author: "", caption: "", imageType: "bild" }]| | ||
|theme | String | no | default, kultur, nyheter | | Design theme | | ||
|grade | String | no | | | zero, one, two, three, four, five, none | | ||
|attributes | Object | no | | | Ex. { target: "_blank", "data-test": "lorem ipsum" } | | ||
@@ -34,7 +34,15 @@ |classNames | String | no | | | Ex. "my-special-class" | | ||
{{ Factbox({ | ||
vignetteHtml: "", | ||
titleHtml: "Drama", | ||
bodyHtml: "<p>”Irrational man”<br />Regi och manus: Woody Allen<br />I rollerna: Joaquin Phoenix, Emma Stone, Parker Posey m fl.<br />Längd: 1 tim 35 min (från 11 år.)</p>", | ||
titleHighlight: "", | ||
title: "Drama", | ||
bodyParts: [ | ||
{ | ||
"type": "gradeMeter", | ||
"grade": "2", | ||
}, | ||
{ | ||
"type": "paragraph", | ||
"bodyHtml": "<p>”Irrational man”<br />Regi och manus: Woody Allen<br />I rollerna: Joaquin Phoenix, Emma Stone, Parker Posey m fl.<br />Längd: 1 tim 35 min (från 11 år.)</p>" | ||
}, | ||
], | ||
theme: "kultur", | ||
grade: "two", | ||
forcePx: true | ||
@@ -41,0 +49,0 @@ })}} |
{ | ||
"name": "@bonniernews/dn-design-system-web", | ||
"version": "29.1.0", | ||
"version": "29.1.1-beta.0", | ||
"description": "DN design system for web.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2165905
2