Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@happeouikit/content-renderer

Package Overview
Dependencies
Maintainers
10
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@happeouikit/content-renderer - npm Package Compare versions

Comparing version 1.0.19 to 1.0.20

4

CHANGELOG.md
# Changelog
## 1.0.20
- [Add] Changed some css for @channel and @editor
## 1.0.19

@@ -4,0 +8,0 @@

2

dist/ContentRenderer.js

@@ -38,3 +38,3 @@ /**

componentId: "sc-1mleu9k-0"
})(["*{font-family:", " !important;}h1{font-weight:500;font-size:24px;letter-spacing:-0.5px;line-height:32px;+ h1,+ h2,+ h3,+ h4,+ p{margin-top:16px;}}h2{font-weight:500;font-size:20px;line-height:28px;+ h1,+ h2,+ h3,+ h4,+ p{margin-top:14px;}}h3{font-weight:500;font-size:16px;line-height:24px;+ h1,+ h2,+ h3,+ h4,+ p{margin-top:12px;}}h4{font-size:16px;line-height:24px;+ h1,+ h2,+ h3,+ h4,+ p{margin-top:12px;}}p{font-size:16px;line-height:24px;letter-spacing:0px;+ h1,+ h2,+ h3,+ h4,+ p{margin-top:12px;}}a{color:", ";font-weight:bold;text-decoration:none;:hover{text-decoration:underline;}}ul{list-style-type:disc;}ol{list-style-type:decimal;counter-reset:item;li{padding-left:12px;text-indent:-33px;list-style-type:none;counter-increment:item;&:before{display:inline-block;width:13px;padding-right:15px;padding-left:5px;font-weight:bold;text-align:right;content:counter(item) \".\";}}}ol,ul{font-size:16px;line-height:24px;margin:18px 16px;display:block;-webkit-margin-before:0.5em;-webkit-margin-after:0.5em;-webkit-padding-start:0.5em;li,li{margin-bottom:5px;padding-left:10px;> ul,> ol{-webkit-margin-before:8px !important;-webkit-margin-after:8px !important;}}&:first-child,&:first-child{-webkit-margin-before:0;}&:last-child,&:last-child{-webkit-margin-after:0;}}hr{-webkit-margin-before:16px;-webkit-margin-after:13px;border-color:@border-color;border-style:solid;height:0px;border-width:1px 0 0 0;}table{width:100%;margin:15px 0;text-align:left;thead th{background:@white;}th,td{border-width:1px;border-style:solid;border-color:@border-color;padding:0.5em;}tr:nth-child(even){background:@almost-white;}tr:nth-child(odd){background:@white;}}table.no-borders{th,td{border:none;}}table.padded-2{th,td{padding:2em;}}table.padded-1{th,td{padding:1em;}}img{max-width:100%;margin:15px 0;& + img{margin-top:0;}}.xl-emoji *{font-size:40px;line-height:1.2;}pre,code{border-radius:4px;white-space:normal;}blockquote{border-top:2px solid #d4dbe1;border-bottom:2px solid #d4dbe1;font-size:18px;padding:24px 48px;position:relative;text-align:center;margin:48px 0;}.mention{border-radius:0.2em;background-color:#fff5cc;border:1px solid #fff5cc;color:#0f1621;font-weight:400;&:hover{text-decoration:none;border:1px solid #fabd24;}}"], sansFamily, active);
})(["*{font-family:", " !important;}h1{font-weight:500;font-size:24px;letter-spacing:-0.5px;line-height:32px;+ h1,+ h2,+ h3,+ h4,+ p{margin-top:16px;}}h2{font-weight:500;font-size:20px;line-height:28px;+ h1,+ h2,+ h3,+ h4,+ p{margin-top:14px;}}h3{font-weight:500;font-size:16px;line-height:24px;+ h1,+ h2,+ h3,+ h4,+ p{margin-top:12px;}}h4{font-size:16px;line-height:24px;+ h1,+ h2,+ h3,+ h4,+ p{margin-top:12px;}}p{font-size:16px;line-height:24px;letter-spacing:0px;+ h1,+ h2,+ h3,+ h4,+ p{margin-top:12px;}}a{color:", ";font-weight:bold;text-decoration:none;:hover{text-decoration:underline;}}ul{list-style-type:disc;}ol{list-style-type:decimal;counter-reset:item;li{padding-left:12px;text-indent:-33px;list-style-type:none;counter-increment:item;&:before{display:inline-block;width:13px;padding-right:15px;padding-left:5px;font-weight:bold;text-align:right;content:counter(item) \".\";}}}ol,ul{font-size:16px;line-height:24px;margin:18px 16px;display:block;-webkit-margin-before:0.5em;-webkit-margin-after:0.5em;-webkit-padding-start:0.5em;li,li{margin-bottom:5px;padding-left:10px;> ul,> ol{-webkit-margin-before:8px !important;-webkit-margin-after:8px !important;}}&:first-child,&:first-child{-webkit-margin-before:0;}&:last-child,&:last-child{-webkit-margin-after:0;}}hr{-webkit-margin-before:16px;-webkit-margin-after:13px;border-color:@border-color;border-style:solid;height:0px;border-width:1px 0 0 0;}table{width:100%;margin:15px 0;text-align:left;thead th{background:@white;}th,td{border-width:1px;border-style:solid;border-color:@border-color;padding:0.5em;}tr:nth-child(even){background:@almost-white;}tr:nth-child(odd){background:@white;}}table.no-borders{th,td{border:none;}}table.padded-2{th,td{padding:2em;}}table.padded-1{th,td{padding:1em;}}img{max-width:100%;margin:15px 0;& + img{margin-top:0;}}.xl-emoji *{font-size:40px;line-height:1.2;}pre,code{border-radius:4px;white-space:normal;}blockquote{border-top:2px solid #d4dbe1;border-bottom:2px solid #d4dbe1;font-size:18px;padding:24px 48px;position:relative;text-align:center;margin:48px 0;}.mention{border-radius:0.2em;background-color:#fff5cc;border:1px solid #fff5cc;color:#0f1621;font-weight:400;&:hover{text-decoration:none;border:1px solid #fabd24;}}.extraMention{cursor:inherit;}"], sansFamily, active);
ContentRenderer.propTypes = {

@@ -41,0 +41,0 @@ content: PropTypes.string,

@@ -26,3 +26,3 @@ import showdown from "showdown";

})) {
return "<a class=\"mention\" data-user-id=\"".concat(id, "\">@").concat(name, "</a>");
return "<a class=\"mention extraMention\" data-user-id=\"".concat(id, "\">@").concat(name, "</a>");
}

@@ -29,0 +29,0 @@

{
"name": "@happeouikit/content-renderer",
"version": "1.0.19",
"version": "1.0.20",
"description": "Rendering html and markdown content",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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