@bonniernews/dn-design-system-web
Advanced tools
Comparing version 29.2.1 to 30.0.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.2.1", | ||
"version": "30.0.0", | ||
"description": "DN design system for web.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2171705