@awell-health/ui-library 0.1.83 → 0.1.84

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -14293,7 +14293,8 @@ Check the top-level render call using <` + t + ">.");
14293
14293
 
14294
14294
  var RichTextViewer = function (_a) {
14295
14295
  var content = _a.content;
14296
- return jsxRuntime.exports.jsx("div", { className: richTextClasses.content, dangerouslySetInnerHTML: { __html: content } });
14296
+ var contentWithLineBreaks = content.split('\n').join('<br />');
14297
+ return jsxRuntime.exports.jsx("div", { className: richTextClasses.content, dangerouslySetInnerHTML: { __html: contentWithLineBreaks } });
14297
14298
  };
14298
14299
 
14299
14300
  var purify = {exports: {}};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awell-health/ui-library",
3
- "version": "0.1.83",
3
+ "version": "0.1.84",
4
4
  "description": "UI components to integrate with Awell Health",
5
5
  "repository": {
6
6
  "type": "git",