New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bonniernews/dn-design-system-web

Package Overview
Dependencies
Maintainers
0
Versions
530
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bonniernews/dn-design-system-web - npm Package Compare versions

Comparing version 29.2.1 to 30.0.0

24

components/factbox/README.md

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc