@bbl-digital/snorre 4.3.9 → 4.3.10

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.
@@ -16,7 +16,8 @@ const HtmlDefault = exports.HtmlDefault = {
16
16
  name: 'Html',
17
17
  args: {
18
18
  allowVideo: true,
19
- text: `<ol><li>test</li><li>test</li><li>est <ol><li>test<ol><li>test</li><li>test</li><li>test</li></ol></li></ol></li></ol><br /><ul><li>test</li><li>test<ul><li>test</li></ul></li></ul> 50`
19
+ text: `<h1>WroomWroom</h1><h2>test</h2><h3>test</h3><h4>test</h4><p><br /></p><ol><li>test</li><li>test<ol><li>test<ol><li>test</li><li>test</li></ol></li></ol></li></ol><ul><li>test<ul><li>test<ul><li>test</li></ul></li></ul></li></ul><p><br /></p><p><img src=\"https://bbldpublicationsstgtest.blob.core.windows.net/bbldtest02/37e9fbd2-14d1-4c59-9f23-0c67d57942e9/27982f6f-542c-46cc-90c6-a365a38e6d40?sv=2024-11-04&amp;se=2040-03-21T12%3A07%3A44Z&amp;sr=b&amp;sp=r&amp;sig=1WCwtE53sk9adHcHrhVGZhuD8iU5lfKIAJzFToVBR90%3D\"></p><p>Nytt bilde</p><p><img src=\"https://bbldpublicationsstgtest.blob.core.windows.net/bbldtest02/37e9fbd2-14d1-4c59-9f23-0c67d57942e9/6768e119-627d-4981-9d70-77bea58d2794?sv=2024-11-04&amp;se=2040-03-09T08%3A07%3A03Z&amp;sr=b&amp;sp=r&amp;sig=VJSLebAwU3%2FA5aFJ3xRL6N18611SO%2BNk5YXKTOaoKkc%3D\"></p><p>tekst under bildet</p><p><br /></p><p><div>\uFEFF<span contenteditable=\"false\"><div class=\"video-container\"><br /> <iframe src=\"https://www.youtube.com/embed/hQlXebNPQAU?showinfo=0\" frameborder=\"0\" allowfullscreen=\"\"></iframe><br /> </div></span>\uFEFF</div></p>",
20
+ st<ol><li>test</li><li>test</li><li>test</li></ol></li></ol></li></ol><br /><ul><li>test</li><li>test<ul><li>test</li></ul></li></ul>`
20
21
  }
21
22
  };
22
23
  const HTMLLongText = exports.HTMLLongText = {
@@ -7,7 +7,7 @@ exports.styles = exports.default = void 0;
7
7
  var _react = require("@emotion/react");
8
8
  function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
9
9
  const styles = exports.styles = {
10
- default: theme => /*#__PURE__*/(0, _react.css)("padding:0px!important;font-size:16px;color:", theme.defaultText, ";max-width:100%;*{max-width:100%;}h1,h2,h3,h4,h5,h6,p,ul,ol{margin:0;}a{color:", theme.primary, ";text-decoration:underline;cursor:pointer;}li::marker{margin-right:0.5em;}p{min-height:22px;margin-bottom:1em;}ul{list-style-type:disc;padding-left:40px;}ul ul{list-style-type:circle;}ul ul ul{list-style-type:square;}ol{list-style-type:decimal;padding-left:40px;}.ql-indent-1{padding-inline-start:30px;}.ql-indent-2{padding-inline-start:60px;}.ql-indent-3{padding-inline-start:90px;}.ql-indent-4{padding-inline-start:120px;}.ql-indent-5{padding-inline-start:150px;}.ql-indent-6{padding-inline-start:180px;}.ql-indent-7{padding-inline-start:210px;}.ql-indent-8{padding-inline-start:240px;}.ql-indent-9{padding-inline-start:270px;}.ql-indent-10{padding-inline-start:300px;}.video-container{position:relative;width:100%;padding-bottom:56.25%;height:0;overflow:hidden;}.video-container iframe{position:absolute;top:0;left:0;width:100%;height:100%;}" + (process.env.NODE_ENV === "production" ? "" : ";label:default;")),
10
+ default: theme => /*#__PURE__*/(0, _react.css)("padding:0px!important;font-size:16px;color:", theme.defaultText, ";max-width:100%;*{max-width:100%;}h1,h2,h3,h4,h5,h6,p,ul,ol{margin:0;font-size:revert;}a{color:", theme.primary, ";text-decoration:underline;cursor:pointer;}li::marker{margin-right:0.5em;}p{min-height:22px;margin-bottom:1em;}ul{list-style-type:disc;padding-left:40px;}ul ul{list-style-type:circle;}ul ul ul{list-style-type:square;}ol{list-style-type:decimal;padding-left:40px;}.ql-indent-1{padding-inline-start:30px;}.ql-indent-2{padding-inline-start:60px;}.ql-indent-3{padding-inline-start:90px;}.ql-indent-4{padding-inline-start:120px;}.ql-indent-5{padding-inline-start:150px;}.ql-indent-6{padding-inline-start:180px;}.ql-indent-7{padding-inline-start:210px;}.ql-indent-8{padding-inline-start:240px;}.ql-indent-9{padding-inline-start:270px;}.ql-indent-10{padding-inline-start:300px;}.video-container{position:relative;width:100%;padding-bottom:56.25%;height:0;overflow:hidden;}.video-container iframe{position:absolute;top:0;left:0;width:100%;height:100%;}" + (process.env.NODE_ENV === "production" ? "" : ";label:default;")),
11
11
  secondary: theme => /*#__PURE__*/(0, _react.css)({
12
12
  color: theme.secondary
13
13
  }, process.env.NODE_ENV === "production" ? "" : ";label:secondary;"),
@@ -1 +1 @@
1
- {"version":3,"file":"Html.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Html/Html.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,IAAI,MAAM,GAAG,CAAA;AAEpB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAG3B,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,WAAW,EAAE,KAOzB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KAK1B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAM3B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAmBxB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAM3B,CAAA"}
1
+ {"version":3,"file":"Html.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Html/Html.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,IAAI,MAAM,GAAG,CAAA;AAEpB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAG3B,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,WAAW,EAAE,KAQzB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KAK1B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAM3B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAmBxB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAM3B,CAAA"}
@@ -16,7 +16,8 @@ const HtmlDefault = exports.HtmlDefault = {
16
16
  name: 'Html',
17
17
  args: {
18
18
  allowVideo: true,
19
- text: `<ol><li>test</li><li>test</li><li>est <ol><li>test<ol><li>test</li><li>test</li><li>test</li></ol></li></ol></li></ol><br /><ul><li>test</li><li>test<ul><li>test</li></ul></li></ul> 50`
19
+ text: `<h1>WroomWroom</h1><h2>test</h2><h3>test</h3><h4>test</h4><p><br /></p><ol><li>test</li><li>test<ol><li>test<ol><li>test</li><li>test</li></ol></li></ol></li></ol><ul><li>test<ul><li>test<ul><li>test</li></ul></li></ul></li></ul><p><br /></p><p><img src=\"https://bbldpublicationsstgtest.blob.core.windows.net/bbldtest02/37e9fbd2-14d1-4c59-9f23-0c67d57942e9/27982f6f-542c-46cc-90c6-a365a38e6d40?sv=2024-11-04&amp;se=2040-03-21T12%3A07%3A44Z&amp;sr=b&amp;sp=r&amp;sig=1WCwtE53sk9adHcHrhVGZhuD8iU5lfKIAJzFToVBR90%3D\"></p><p>Nytt bilde</p><p><img src=\"https://bbldpublicationsstgtest.blob.core.windows.net/bbldtest02/37e9fbd2-14d1-4c59-9f23-0c67d57942e9/6768e119-627d-4981-9d70-77bea58d2794?sv=2024-11-04&amp;se=2040-03-09T08%3A07%3A03Z&amp;sr=b&amp;sp=r&amp;sig=VJSLebAwU3%2FA5aFJ3xRL6N18611SO%2BNk5YXKTOaoKkc%3D\"></p><p>tekst under bildet</p><p><br /></p><p><div>\uFEFF<span contenteditable=\"false\"><div class=\"video-container\"><br /> <iframe src=\"https://www.youtube.com/embed/hQlXebNPQAU?showinfo=0\" frameborder=\"0\" allowfullscreen=\"\"></iframe><br /> </div></span>\uFEFF</div></p>",
20
+ st<ol><li>test</li><li>test</li><li>test</li></ol></li></ol></li></ol><br /><ul><li>test</li><li>test<ul><li>test</li></ul></li></ul>`
20
21
  }
21
22
  };
22
23
  const HTMLLongText = exports.HTMLLongText = {
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Html/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,QAAA,MAAM,MAAM;qBACO,SAAS;uBAsGP,SAAS;kBAId,SAAS;iBAIV,MAAM;wBACC,MAAM;;CAkB3B,CAAA;AAED,eAAe,MAAM,CAAA;AAErB,OAAO,EAAE,MAAM,EAAE,CAAA"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Html/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,QAAA,MAAM,MAAM;qBACO,SAAS;uBAuGP,SAAS;kBAId,SAAS;iBAIV,MAAM;wBACC,MAAM;;CAkB3B,CAAA;AAED,eAAe,MAAM,CAAA;AAErB,OAAO,EAAE,MAAM,EAAE,CAAA"}
@@ -7,7 +7,7 @@ exports.styles = exports.default = void 0;
7
7
  var _react = require("@emotion/react");
8
8
  function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
9
9
  const styles = exports.styles = {
10
- default: theme => /*#__PURE__*/(0, _react.css)("padding:0px!important;font-size:16px;color:", theme.defaultText, ";max-width:100%;*{max-width:100%;}h1,h2,h3,h4,h5,h6,p,ul,ol{margin:0;}a{color:", theme.primary, ";text-decoration:underline;cursor:pointer;}li::marker{margin-right:0.5em;}p{min-height:22px;margin-bottom:1em;}ul{list-style-type:disc;padding-left:40px;}ul ul{list-style-type:circle;}ul ul ul{list-style-type:square;}ol{list-style-type:decimal;padding-left:40px;}.ql-indent-1{padding-inline-start:30px;}.ql-indent-2{padding-inline-start:60px;}.ql-indent-3{padding-inline-start:90px;}.ql-indent-4{padding-inline-start:120px;}.ql-indent-5{padding-inline-start:150px;}.ql-indent-6{padding-inline-start:180px;}.ql-indent-7{padding-inline-start:210px;}.ql-indent-8{padding-inline-start:240px;}.ql-indent-9{padding-inline-start:270px;}.ql-indent-10{padding-inline-start:300px;}.video-container{position:relative;width:100%;padding-bottom:56.25%;height:0;overflow:hidden;}.video-container iframe{position:absolute;top:0;left:0;width:100%;height:100%;}" + (process.env.NODE_ENV === "production" ? "" : ";label:default;")),
10
+ default: theme => /*#__PURE__*/(0, _react.css)("padding:0px!important;font-size:16px;color:", theme.defaultText, ";max-width:100%;*{max-width:100%;}h1,h2,h3,h4,h5,h6,p,ul,ol{margin:0;font-size:revert;}a{color:", theme.primary, ";text-decoration:underline;cursor:pointer;}li::marker{margin-right:0.5em;}p{min-height:22px;margin-bottom:1em;}ul{list-style-type:disc;padding-left:40px;}ul ul{list-style-type:circle;}ul ul ul{list-style-type:square;}ol{list-style-type:decimal;padding-left:40px;}.ql-indent-1{padding-inline-start:30px;}.ql-indent-2{padding-inline-start:60px;}.ql-indent-3{padding-inline-start:90px;}.ql-indent-4{padding-inline-start:120px;}.ql-indent-5{padding-inline-start:150px;}.ql-indent-6{padding-inline-start:180px;}.ql-indent-7{padding-inline-start:210px;}.ql-indent-8{padding-inline-start:240px;}.ql-indent-9{padding-inline-start:270px;}.ql-indent-10{padding-inline-start:300px;}.video-container{position:relative;width:100%;padding-bottom:56.25%;height:0;overflow:hidden;}.video-container iframe{position:absolute;top:0;left:0;width:100%;height:100%;}" + (process.env.NODE_ENV === "production" ? "" : ";label:default;")),
11
11
  secondary: theme => /*#__PURE__*/(0, _react.css)({
12
12
  color: theme.secondary
13
13
  }, process.env.NODE_ENV === "production" ? "" : ";label:secondary;"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbl-digital/snorre",
3
- "version": "4.3.9",
3
+ "version": "4.3.10",
4
4
  "description": "Design library for BBL Digital",
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",