@cntrl-site/sdk 1.24.5-3 → 1.24.5

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.
package/dist/index.js CHANGED
@@ -1386,6 +1386,7 @@ const RichTextRenderer = ({ content }) => {
1386
1386
  };
1387
1387
  function getLeafCss(leaf) {
1388
1388
  return {
1389
+ ...leaf.fontFamily && { fontFamily: leaf.fontFamily },
1389
1390
  ...leaf.fontWeight && { fontWeight: leaf.fontWeight },
1390
1391
  ...leaf.fontStyle && { fontStyle: leaf.fontStyle },
1391
1392
  ...leaf.textDecoration && { textDecoration: leaf.textDecoration },
package/dist/index.mjs CHANGED
@@ -1367,6 +1367,7 @@ const RichTextRenderer = ({ content }) => {
1367
1367
  };
1368
1368
  function getLeafCss(leaf) {
1369
1369
  return {
1370
+ ...leaf.fontFamily && { fontFamily: leaf.fontFamily },
1370
1371
  ...leaf.fontWeight && { fontWeight: leaf.fontWeight },
1371
1372
  ...leaf.fontStyle && { fontStyle: leaf.fontStyle },
1372
1373
  ...leaf.textDecoration && { textDecoration: leaf.textDecoration },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/sdk",
3
- "version": "1.24.5-3",
3
+ "version": "1.24.5",
4
4
  "description": "Generic SDK for use in public websites.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",