@wulperstudio/editor-render 0.0.8-beta → 0.0.10-beta

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 (83) hide show
  1. package/dist/cjs/dist/base/index.d.ts +1 -2
  2. package/dist/cjs/dist/components/Anchor/index.d.ts +1 -1
  3. package/dist/cjs/dist/components/Bold/index.d.ts +1 -1
  4. package/dist/cjs/dist/components/CheckBox/index.d.ts +1 -2
  5. package/dist/cjs/dist/components/CheckList/index.d.ts +1 -1
  6. package/dist/cjs/dist/components/CheckListItem/index.d.ts +1 -1
  7. package/dist/cjs/dist/components/Code/index.d.ts +1 -1
  8. package/dist/cjs/dist/components/Container/index.d.ts +1 -1
  9. package/dist/cjs/dist/components/Delimiter/index.d.ts +1 -1
  10. package/dist/cjs/dist/components/Embed/index.d.ts +1 -1
  11. package/dist/cjs/dist/components/Header/index.d.ts +1 -1
  12. package/dist/cjs/dist/components/Image/index.d.ts +1 -1
  13. package/dist/cjs/dist/components/InlineCode/index.d.ts +1 -1
  14. package/dist/cjs/dist/components/Italic/index.d.ts +1 -1
  15. package/dist/cjs/dist/components/Link/index.d.ts +1 -1
  16. package/dist/cjs/dist/components/List/index.d.ts +1 -1
  17. package/dist/cjs/dist/components/ListItem/index.d.ts +1 -1
  18. package/dist/cjs/dist/components/Marker/index.d.ts +1 -1
  19. package/dist/cjs/dist/components/Paragraph/index.d.ts +1 -1
  20. package/dist/cjs/dist/components/Quote/index.d.ts +1 -1
  21. package/dist/cjs/dist/components/Raw/index.d.ts +1 -1
  22. package/dist/cjs/dist/components/Table/index.d.ts +1 -1
  23. package/dist/cjs/dist/components/TableCell/index.d.ts +1 -1
  24. package/dist/cjs/dist/components/TableRow/index.d.ts +1 -1
  25. package/dist/cjs/dist/helpers/RecursiveNode/index.d.ts +1 -2
  26. package/dist/cjs/dist/helpers/checklist/index.d.ts +1 -2
  27. package/dist/cjs/dist/helpers/code/index.d.ts +1 -2
  28. package/dist/cjs/dist/helpers/delimiter/index.d.ts +1 -2
  29. package/dist/cjs/dist/helpers/embed/index.d.ts +1 -2
  30. package/dist/cjs/dist/helpers/header/index.d.ts +1 -2
  31. package/dist/cjs/dist/helpers/image/index.d.ts +1 -2
  32. package/dist/cjs/dist/helpers/link/index.d.ts +1 -2
  33. package/dist/cjs/dist/helpers/list/index.d.ts +1 -2
  34. package/dist/cjs/dist/helpers/paragraph/index.d.ts +1 -2
  35. package/dist/cjs/dist/helpers/quote/index.d.ts +1 -2
  36. package/dist/cjs/dist/helpers/raw/index.d.ts +1 -2
  37. package/dist/cjs/dist/helpers/table/index.d.ts +1 -2
  38. package/dist/cjs/dist/interfaces/index.d.ts +3 -1
  39. package/dist/cjs/index.js +108 -42
  40. package/dist/cjs/index.js.map +1 -1
  41. package/dist/esm/dist/base/index.d.ts +1 -2
  42. package/dist/esm/dist/components/Anchor/index.d.ts +1 -1
  43. package/dist/esm/dist/components/Bold/index.d.ts +1 -1
  44. package/dist/esm/dist/components/CheckBox/index.d.ts +1 -2
  45. package/dist/esm/dist/components/CheckList/index.d.ts +1 -1
  46. package/dist/esm/dist/components/CheckListItem/index.d.ts +1 -1
  47. package/dist/esm/dist/components/Code/index.d.ts +1 -1
  48. package/dist/esm/dist/components/Container/index.d.ts +1 -1
  49. package/dist/esm/dist/components/Delimiter/index.d.ts +1 -1
  50. package/dist/esm/dist/components/Embed/index.d.ts +1 -1
  51. package/dist/esm/dist/components/Header/index.d.ts +1 -1
  52. package/dist/esm/dist/components/Image/index.d.ts +1 -1
  53. package/dist/esm/dist/components/InlineCode/index.d.ts +1 -1
  54. package/dist/esm/dist/components/Italic/index.d.ts +1 -1
  55. package/dist/esm/dist/components/Link/index.d.ts +1 -1
  56. package/dist/esm/dist/components/List/index.d.ts +1 -1
  57. package/dist/esm/dist/components/ListItem/index.d.ts +1 -1
  58. package/dist/esm/dist/components/Marker/index.d.ts +1 -1
  59. package/dist/esm/dist/components/Paragraph/index.d.ts +1 -1
  60. package/dist/esm/dist/components/Quote/index.d.ts +1 -1
  61. package/dist/esm/dist/components/Raw/index.d.ts +1 -1
  62. package/dist/esm/dist/components/Table/index.d.ts +1 -1
  63. package/dist/esm/dist/components/TableCell/index.d.ts +1 -1
  64. package/dist/esm/dist/components/TableRow/index.d.ts +1 -1
  65. package/dist/esm/dist/helpers/RecursiveNode/index.d.ts +1 -2
  66. package/dist/esm/dist/helpers/checklist/index.d.ts +1 -2
  67. package/dist/esm/dist/helpers/code/index.d.ts +1 -2
  68. package/dist/esm/dist/helpers/delimiter/index.d.ts +1 -2
  69. package/dist/esm/dist/helpers/embed/index.d.ts +1 -2
  70. package/dist/esm/dist/helpers/header/index.d.ts +1 -2
  71. package/dist/esm/dist/helpers/image/index.d.ts +1 -2
  72. package/dist/esm/dist/helpers/link/index.d.ts +1 -2
  73. package/dist/esm/dist/helpers/list/index.d.ts +1 -2
  74. package/dist/esm/dist/helpers/paragraph/index.d.ts +1 -2
  75. package/dist/esm/dist/helpers/quote/index.d.ts +1 -2
  76. package/dist/esm/dist/helpers/raw/index.d.ts +1 -2
  77. package/dist/esm/dist/helpers/table/index.d.ts +1 -2
  78. package/dist/esm/dist/interfaces/index.d.ts +3 -1
  79. package/dist/esm/index.js +108 -42
  80. package/dist/esm/index.js.map +1 -1
  81. package/dist/index.d.ts +41 -38
  82. package/dist/package.json +1 -1
  83. package/package.json +1 -1
package/dist/esm/index.js CHANGED
@@ -1363,7 +1363,7 @@ function requireReactJsxRuntime_development () {
1363
1363
  var RootContainer = styled('div', {
1364
1364
  name: 'RootContainer',
1365
1365
  label: 'root__container',
1366
- shouldForwardProp: function (prop) { return prop !== 'as' && prop !== 'stretched'; },
1366
+ shouldForwardProp: function (prop) { return prop !== 'as' && prop !== 'stretched' && prop !== 'sx'; },
1367
1367
  })(function (_a) {
1368
1368
  var stretched = _a.stretched;
1369
1369
  return (__assign({ width: '100%', maxWidth: 700, height: 'auto', margin: '0 auto' }, (stretched && {
@@ -1371,7 +1371,10 @@ var RootContainer = styled('div', {
1371
1371
  })));
1372
1372
  });
1373
1373
 
1374
- var Container = function (props) { return (jsxRuntime.exports.jsx(RootContainer, __assign({}, props))); };
1374
+ var Container = function (_a) {
1375
+ var sx = _a.sx, props = __rest(_a, ["sx"]);
1376
+ return (jsxRuntime.exports.jsx(RootContainer, __assign({ sx: sx }, props)));
1377
+ };
1375
1378
 
1376
1379
  var RootParagraph = styled('p', {
1377
1380
  name: 'RootParagraph',
@@ -1381,7 +1384,10 @@ var RootParagraph = styled('p', {
1381
1384
  margin: 0,
1382
1385
  });
1383
1386
 
1384
- var Paragraph = function (props) { return jsxRuntime.exports.jsx(RootParagraph, __assign({}, props)); };
1387
+ var Paragraph = function (_a) {
1388
+ var sx = _a.sx, props = __rest(_a, ["sx"]);
1389
+ return jsxRuntime.exports.jsx(RootParagraph, __assign({ sx: sx }, props));
1390
+ };
1385
1391
 
1386
1392
  var RootHeader = styled('h2', {
1387
1393
  name: 'RootHeader',
@@ -1400,8 +1406,8 @@ var HeaderLevel = {
1400
1406
  6: 'h6',
1401
1407
  };
1402
1408
  var Header = function (_a) {
1403
- var level = _a.level, props = __rest(_a, ["level"]);
1404
- return (jsxRuntime.exports.jsx(RootHeader, __assign({ as: HeaderLevel[level] }, props)));
1409
+ var level = _a.level, sx = _a.sx, props = __rest(_a, ["level", "sx"]);
1410
+ return (jsxRuntime.exports.jsx(RootHeader, __assign({ as: HeaderLevel[level], sx: sx }, props)));
1405
1411
  };
1406
1412
 
1407
1413
  var RootList = styled('div', {
@@ -1411,8 +1417,8 @@ var RootList = styled('div', {
1411
1417
  })({});
1412
1418
 
1413
1419
  var List = function (_a) {
1414
- var props = __rest(_a, []);
1415
- return jsxRuntime.exports.jsx(RootList, __assign({}, props));
1420
+ var sx = _a.sx, props = __rest(_a, ["sx"]);
1421
+ return jsxRuntime.exports.jsx(RootList, __assign({ sx: sx }, props));
1416
1422
  };
1417
1423
 
1418
1424
  var RootListItem$1 = styled('div', {
@@ -1421,7 +1427,10 @@ var RootListItem$1 = styled('div', {
1421
1427
  shouldForwardProp: function (prop) { return prop !== 'as' && prop !== 'sx'; },
1422
1428
  })({});
1423
1429
 
1424
- var ListItem = function (props) { return jsxRuntime.exports.jsx(RootListItem$1, __assign({}, props)); };
1430
+ var ListItem = function (_a) {
1431
+ var sx = _a.sx, props = __rest(_a, ["sx"]);
1432
+ return jsxRuntime.exports.jsx(RootListItem$1, __assign({ sx: sx }, props));
1433
+ };
1425
1434
 
1426
1435
  var RootInlineCode = styled('code', {
1427
1436
  name: 'RootInlineCode',
@@ -1429,7 +1438,10 @@ var RootInlineCode = styled('code', {
1429
1438
  shouldForwardProp: function (prop) { return prop !== 'as'; },
1430
1439
  })({});
1431
1440
 
1432
- var InlineCode = function (props) { return jsxRuntime.exports.jsx(RootInlineCode, __assign({}, props)); };
1441
+ var InlineCode = function (_a) {
1442
+ var sx = _a.sx, props = __rest(_a, ["sx"]);
1443
+ return jsxRuntime.exports.jsx(RootInlineCode, __assign({ sx: sx }, props));
1444
+ };
1433
1445
 
1434
1446
  var RootBold = styled('b', {
1435
1447
  name: 'RootBold',
@@ -1437,7 +1449,10 @@ var RootBold = styled('b', {
1437
1449
  shouldForwardProp: function (prop) { return prop !== 'as' && prop !== 'sx'; },
1438
1450
  })({});
1439
1451
 
1440
- var Bold = function (props) { return jsxRuntime.exports.jsx(RootBold, __assign({}, props)); };
1452
+ var Bold = function (_a) {
1453
+ var sx = _a.sx, props = __rest(_a, ["sx"]);
1454
+ return jsxRuntime.exports.jsx(RootBold, __assign({ sx: sx }, props));
1455
+ };
1441
1456
 
1442
1457
  var RootItalic = styled('i', {
1443
1458
  name: 'RootBold',
@@ -1445,7 +1460,10 @@ var RootItalic = styled('i', {
1445
1460
  shouldForwardProp: function (prop) { return prop !== 'as'; },
1446
1461
  })({});
1447
1462
 
1448
- var Italic = function (props) { return jsxRuntime.exports.jsx(RootItalic, __assign({}, props)); };
1463
+ var Italic = function (_a) {
1464
+ var sx = _a.sx, props = __rest(_a, ["sx"]);
1465
+ return jsxRuntime.exports.jsx(RootItalic, __assign({ sx: sx }, props));
1466
+ };
1449
1467
 
1450
1468
  var RootMarker = styled('mark', {
1451
1469
  name: 'RootMarker',
@@ -1453,7 +1471,10 @@ var RootMarker = styled('mark', {
1453
1471
  shouldForwardProp: function (prop) { return prop !== 'as'; },
1454
1472
  })({});
1455
1473
 
1456
- var Marker = function (props) { return jsxRuntime.exports.jsx(RootMarker, __assign({}, props)); };
1474
+ var Marker = function (_a) {
1475
+ var sx = _a.sx, props = __rest(_a, ["sx"]);
1476
+ return jsxRuntime.exports.jsx(RootMarker, __assign({ sx: sx }, props));
1477
+ };
1457
1478
 
1458
1479
  var RootAnchor = styled('a', {
1459
1480
  name: 'RootAnchor',
@@ -1461,7 +1482,10 @@ var RootAnchor = styled('a', {
1461
1482
  shouldForwardProp: function (prop) { return prop !== 'as' && prop !== 'sx'; },
1462
1483
  })({});
1463
1484
 
1464
- var Anchor = function (props) { return jsxRuntime.exports.jsx(RootAnchor, __assign({}, props)); };
1485
+ var Anchor = function (_a) {
1486
+ var sx = _a.sx, props = __rest(_a, ["sx"]);
1487
+ return jsxRuntime.exports.jsx(RootAnchor, __assign({ sx: sx }, props));
1488
+ };
1465
1489
 
1466
1490
  var RootDelimiter = styled('div', {
1467
1491
  name: 'RootDelimiter',
@@ -1475,7 +1499,10 @@ var RootDelimiter = styled('div', {
1475
1499
  fontWeight: 700,
1476
1500
  });
1477
1501
 
1478
- var Delimiter = function (props) { return (jsxRuntime.exports.jsx(RootDelimiter, __assign({}, props, { children: jsxRuntime.exports.jsx("span", { children: "\u2743 \u2743 \u2743" }) }))); };
1502
+ var Delimiter = function (_a) {
1503
+ var sx = _a.sx, props = __rest(_a, ["sx"]);
1504
+ return (jsxRuntime.exports.jsx(RootDelimiter, __assign({ sx: sx }, props, { children: jsxRuntime.exports.jsx("span", { children: "\u2743 \u2743 \u2743" }) })));
1505
+ };
1479
1506
 
1480
1507
  var Root = styled('div', {
1481
1508
  name: 'Root',
@@ -1519,8 +1546,8 @@ var Caption = styled('span', {
1519
1546
  });
1520
1547
 
1521
1548
  var Image = function (_a) {
1522
- var caption = _a.caption, withBorder = _a.withBorder, withBackground = _a.withBackground, stretched = _a.stretched, props = __rest(_a, ["caption", "withBorder", "withBackground", "stretched"]);
1523
- return (jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment, { children: [jsxRuntime.exports.jsx(Root, __assign({ withBorder: withBorder, stretched: stretched, withBackground: withBackground }, { children: jsxRuntime.exports.jsx(RootImage, __assign({}, props, { withBackground: withBackground })) })), caption && jsxRuntime.exports.jsx(Caption, { children: caption })] }));
1549
+ var caption = _a.caption, withBorder = _a.withBorder, withBackground = _a.withBackground, stretched = _a.stretched, sx = _a.sx, props = __rest(_a, ["caption", "withBorder", "withBackground", "stretched", "sx"]);
1550
+ return (jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment, { children: [jsxRuntime.exports.jsx(Root, __assign({ withBorder: withBorder, stretched: stretched, withBackground: withBackground }, { children: jsxRuntime.exports.jsx(RootImage, __assign({ sx: sx }, props, { withBackground: withBackground })) })), caption && jsxRuntime.exports.jsx(Caption, { children: caption })] }));
1524
1551
  };
1525
1552
 
1526
1553
  var RootTable = styled('div', {
@@ -1541,7 +1568,10 @@ var RootTable = styled('div', {
1541
1568
  });
1542
1569
  });
1543
1570
 
1544
- var Table = function (props) { return jsxRuntime.exports.jsx(RootTable, __assign({}, props)); };
1571
+ var Table = function (_a) {
1572
+ var sx = _a.sx, props = __rest(_a, ["sx"]);
1573
+ return jsxRuntime.exports.jsx(RootTable, __assign({ sx: sx }, props));
1574
+ };
1545
1575
 
1546
1576
  var RootTableRow = styled('div', {
1547
1577
  name: 'RootTableRow',
@@ -1558,7 +1588,10 @@ var RootTableRow = styled('div', {
1558
1588
  });
1559
1589
  });
1560
1590
 
1561
- var TableRow = function (props) { return jsxRuntime.exports.jsx(RootTableRow, __assign({}, props)); };
1591
+ var TableRow = function (_a) {
1592
+ var sx = _a.sx, props = __rest(_a, ["sx"]);
1593
+ return jsxRuntime.exports.jsx(RootTableRow, __assign({ sx: sx }, props));
1594
+ };
1562
1595
 
1563
1596
  var RootTableCell = styled('div', {
1564
1597
  name: 'RootTableRow',
@@ -1584,7 +1617,10 @@ var RootTableCell = styled('div', {
1584
1617
  });
1585
1618
  });
1586
1619
 
1587
- var TableCell = function (props) { return jsxRuntime.exports.jsx(RootTableCell, __assign({}, props)); };
1620
+ var TableCell = function (_a) {
1621
+ var sx = _a.sx, props = __rest(_a, ["sx"]);
1622
+ return jsxRuntime.exports.jsx(RootTableCell, __assign({ sx: sx }, props));
1623
+ };
1588
1624
 
1589
1625
  var RootEmbed = styled('iframe', {
1590
1626
  name: 'RootEmbed',
@@ -1596,7 +1632,10 @@ var RootEmbed = styled('iframe', {
1596
1632
  borderRadius: 8,
1597
1633
  });
1598
1634
 
1599
- var Embed = function (props) { return jsxRuntime.exports.jsx(RootEmbed, __assign({}, props)); };
1635
+ var Embed = function (_a) {
1636
+ var sx = _a.sx, props = __rest(_a, ["sx"]);
1637
+ return jsxRuntime.exports.jsx(RootEmbed, __assign({ sx: sx }, props));
1638
+ };
1600
1639
 
1601
1640
  var RootRaw = styled('div', {
1602
1641
  name: 'RootRaw',
@@ -1617,7 +1656,10 @@ var RootRaw = styled('div', {
1617
1656
  resize: 'vertical',
1618
1657
  });
1619
1658
 
1620
- var Raw = function (props) { return jsxRuntime.exports.jsx(RootRaw, __assign({}, props)); };
1659
+ var Raw = function (_a) {
1660
+ var sx = _a.sx, props = __rest(_a, ["sx"]);
1661
+ return jsxRuntime.exports.jsx(RootRaw, __assign({ sx: sx }, props));
1662
+ };
1621
1663
 
1622
1664
  var RootQuote = styled('blockquote', {
1623
1665
  name: 'RootQuote',
@@ -1625,7 +1667,10 @@ var RootQuote = styled('blockquote', {
1625
1667
  shouldForwardProp: function (prop) { return prop !== 'as'; },
1626
1668
  })({});
1627
1669
 
1628
- var Quote = function (props) { return jsxRuntime.exports.jsx(RootQuote, __assign({}, props)); };
1670
+ var Quote = function (_a) {
1671
+ var sx = _a.sx, props = __rest(_a, ["sx"]);
1672
+ return jsxRuntime.exports.jsx(RootQuote, __assign({ sx: sx }, props));
1673
+ };
1629
1674
 
1630
1675
  var RootCode = styled('div', {
1631
1676
  name: 'RootCode',
@@ -1649,7 +1694,10 @@ var RootCode = styled('div', {
1649
1694
  whiteSpace: 'pre-wrap',
1650
1695
  });
1651
1696
 
1652
- var Code = function (props) { return jsxRuntime.exports.jsx(RootCode, __assign({}, props)); };
1697
+ var Code = function (_a) {
1698
+ var sx = _a.sx, props = __rest(_a, ["sx"]);
1699
+ return jsxRuntime.exports.jsx(RootCode, __assign({ sx: sx }, props));
1700
+ };
1653
1701
 
1654
1702
  var RootLink = styled('a', {
1655
1703
  name: 'RootLink',
@@ -1718,8 +1766,8 @@ var SiteName = styled('span')(function (_a) {
1718
1766
  });
1719
1767
 
1720
1768
  var Link = function (_a) {
1721
- var id = _a.id, image = _a.image, title = _a.title, description = _a.description, siteName = _a.siteName, props = __rest(_a, ["id", "image", "title", "description", "siteName"]);
1722
- return (jsxRuntime.exports.jsxs(RootLink, __assign({ id: id, target: "_blank", rel: "nofollow noindex noreferrer" }, props, { children: [jsxRuntime.exports.jsx(ImageFloat, { image: image }), jsxRuntime.exports.jsx(Title, { children: title }), jsxRuntime.exports.jsx(Description, { children: description }), jsxRuntime.exports.jsx(SiteName, { children: siteName })] }), id));
1769
+ var id = _a.id, image = _a.image, title = _a.title, description = _a.description, siteName = _a.siteName, sx = _a.sx, props = __rest(_a, ["id", "image", "title", "description", "siteName", "sx"]);
1770
+ return (jsxRuntime.exports.jsxs(RootLink, __assign({ id: id, target: "_blank", rel: "nofollow noindex noreferrer", sx: sx }, props, { children: [jsxRuntime.exports.jsx(ImageFloat, { image: image }), jsxRuntime.exports.jsx(Title, { children: title }), jsxRuntime.exports.jsx(Description, { children: description }), jsxRuntime.exports.jsx(SiteName, { children: siteName })] }), id));
1723
1771
  };
1724
1772
 
1725
1773
  var RootCheckList = styled('div', {
@@ -1734,7 +1782,10 @@ var RootCheckList = styled('div', {
1734
1782
  height: 'auto',
1735
1783
  });
1736
1784
 
1737
- var CheckList = function (props) { return jsxRuntime.exports.jsx(RootCheckList, __assign({}, props)); };
1785
+ var CheckList = function (_a) {
1786
+ var sx = _a.sx, props = __rest(_a, ["sx"]);
1787
+ return jsxRuntime.exports.jsx(RootCheckList, __assign({ sx: sx }, props));
1788
+ };
1738
1789
 
1739
1790
  var RootListItem = styled('div', {
1740
1791
  name: 'RootListItem',
@@ -1742,11 +1793,14 @@ var RootListItem = styled('div', {
1742
1793
  shouldForwardProp: function (prop) { return prop !== 'as' && prop !== 'sx'; },
1743
1794
  })({});
1744
1795
 
1745
- var CheckListItem = function (props) { return jsxRuntime.exports.jsx(RootListItem, __assign({}, props)); };
1796
+ var CheckListItem = function (_a) {
1797
+ var sx = _a.sx, props = __rest(_a, ["sx"]);
1798
+ return jsxRuntime.exports.jsx(RootListItem, __assign({ sx: sx }, props));
1799
+ };
1746
1800
 
1747
1801
  var CheckBox = function (_a) {
1748
- var checked = _a.checked, props = __rest(_a, ["checked"]);
1749
- return (jsxRuntime.exports.jsx(Checkbox, __assign({ size: "small", checked: checked, icon: (jsxRuntime.exports.jsx(Icon, { icon: "akar-icons:circle-fill", color: "inherit", width: "24px", height: "24px" })), checkedIcon: (jsxRuntime.exports.jsx(Icon, { icon: "akar-icons:circle-check-fill", color: "inherit", width: "24px", height: "24px" })) }, props)));
1802
+ var checked = _a.checked, sx = _a.sx, props = __rest(_a, ["checked", "sx"]);
1803
+ return (jsxRuntime.exports.jsx(Checkbox, __assign({ sx: sx, size: "small", checked: checked, icon: (jsxRuntime.exports.jsx(Icon, { icon: "akar-icons:circle-fill", color: "inherit", width: "24px", height: "24px" })), checkedIcon: (jsxRuntime.exports.jsx(Icon, { icon: "akar-icons:circle-check-fill", color: "inherit", width: "24px", height: "24px" })) }, props)));
1750
1804
  };
1751
1805
 
1752
1806
  var PurifyHtml = function (html) {
@@ -1810,13 +1864,15 @@ var RecursiveNode = function (_a) {
1810
1864
  var ParagraphNode = function (_a) {
1811
1865
  var type = _a.type, data = _a.data, id = _a.id, Container$1 = _a.Container, Paragraph$1 = _a.Paragraph;
1812
1866
  var text = data.text;
1813
- return (jsxRuntime.exports.jsx(Container, __assign({}, Container$1, { children: jsxRuntime.exports.jsx(Paragraph, __assign({ id: ForkIdWithType(id, type) }, Paragraph$1, { children: jsxRuntime.exports.jsx(RecursiveNode, { html: text, id: id }) })) }), id));
1867
+ var _b = Container$1 || {}, sx = _b.sx, containerProps = __rest(_b, ["sx"]);
1868
+ return (jsxRuntime.exports.jsx(Container, __assign({ sx: sx }, containerProps, { children: jsxRuntime.exports.jsx(Paragraph, __assign({ id: ForkIdWithType(id, type) }, Paragraph$1, { children: jsxRuntime.exports.jsx(RecursiveNode, { html: text, id: id }) })) }), id));
1814
1869
  };
1815
1870
 
1816
1871
  var HeaderNode = function (_a) {
1817
1872
  var type = _a.type, data = _a.data, id = _a.id, Container$1 = _a.Container, Header$1 = _a.Header;
1818
1873
  var text = data.text;
1819
- return (jsxRuntime.exports.jsx(Container, __assign({}, Container$1, { children: jsxRuntime.exports.jsx(Header, __assign({ id: ForkIdWithType(id, type), level: data.level }, Header$1, { children: jsxRuntime.exports.jsx(RecursiveNode, { html: text, id: id }) })) }), id));
1874
+ var _b = Container$1 || {}, sx = _b.sx, containerProps = __rest(_b, ["sx"]);
1875
+ return (jsxRuntime.exports.jsx(Container, __assign({ sx: sx }, containerProps, { children: jsxRuntime.exports.jsx(Header, __assign({ id: ForkIdWithType(id, type), level: data.level }, Header$1, { children: jsxRuntime.exports.jsx(RecursiveNode, { html: text, id: id }) })) }), id));
1820
1876
  };
1821
1877
 
1822
1878
  // SizeTypes = 'one-column' | 'two-columns' | 'three-columns';
@@ -1824,7 +1880,8 @@ var DEFAULT_GAP$1 = 20;
1824
1880
  var ListNode = function (_a) {
1825
1881
  var type = _a.type, data = _a.data, id = _a.id, tunes = _a.tunes, Container$1 = _a.Container, List$1 = _a.List, Item = _a.Item;
1826
1882
  var style = data.style;
1827
- return (jsxRuntime.exports.jsx(Container, __assign({}, Container$1, { children: jsxRuntime.exports.jsx(List, __assign({ id: ForkIdWithType(id, type) }, List$1, { sx: __assign({ display: 'flex', flexWrap: 'wrap', gap: "".concat(DEFAULT_GAP$1, "px") }, List$1 === null || List$1 === void 0 ? void 0 : List$1.sx) }, { children: data.items.map(function (item, idx) {
1883
+ var _b = Container$1 || {}, sx = _b.sx, containerProps = __rest(_b, ["sx"]);
1884
+ return (jsxRuntime.exports.jsx(Container, __assign({ sx: sx }, containerProps, { children: jsxRuntime.exports.jsx(List, __assign({ id: ForkIdWithType(id, type) }, List$1, { sx: __assign({ display: 'flex', flexWrap: 'wrap', gap: "".concat(DEFAULT_GAP$1, "px") }, List$1 === null || List$1 === void 0 ? void 0 : List$1.sx) }, { children: data.items.map(function (item, idx) {
1828
1885
  var _a, _b;
1829
1886
  return (jsxRuntime.exports.jsxs(ListItem, __assign({}, Item, { sx: __assign(__assign(__assign(__assign(__assign({ padding: '20px', borderRadius: '25px', backgroundColor: function (_) { return _.palette.background.default; }, border: '1px solid #EFF3FE', display: 'flex', flexWrap: 'nowrap', alignItems: 'center', columnGap: '5px', flexGrow: 0 }, (style === 'ordered' && {
1830
1887
  alignItems: 'center',
@@ -1841,14 +1898,16 @@ var ListNode = function (_a) {
1841
1898
 
1842
1899
  var ImageNode = function (_a) {
1843
1900
  var type = _a.type, data = _a.data, id = _a.id, Container$1 = _a.Container, Image$1 = _a.Image;
1844
- var url = data.url, caption = data.caption, withBorder = data.withBorder, stretched = data.stretched, withBackground = data.withBackground;
1845
- return (jsxRuntime.exports.jsx(Container, __assign({ stretched: stretched }, Container$1, { children: jsxRuntime.exports.jsx(Image, __assign({ id: ForkIdWithType(id, type), src: url, alt: caption, caption: caption, withBorder: withBorder, stretched: stretched, withBackground: withBackground }, Image$1), ForkIdWithType(id, type)) }), id));
1901
+ var file = data.file, caption = data.caption, withBorder = data.withBorder, stretched = data.stretched, withBackground = data.withBackground;
1902
+ var _b = Container$1 || {}, sx = _b.sx, containerProps = __rest(_b, ["sx"]);
1903
+ return (jsxRuntime.exports.jsx(Container, __assign({ stretched: stretched, sx: sx }, containerProps, { children: jsxRuntime.exports.jsx(Image, __assign({ id: ForkIdWithType(id, type), src: file === null || file === void 0 ? void 0 : file.url, alt: caption, caption: caption, withBorder: withBorder, stretched: stretched, withBackground: withBackground }, Image$1), ForkIdWithType(id, type)) }), id));
1846
1904
  };
1847
1905
 
1848
1906
  var TableNode = function (_a) {
1849
1907
  var type = _a.type, data = _a.data, id = _a.id, Container$1 = _a.Container;
1850
1908
  var content = data.content;
1851
- return (jsxRuntime.exports.jsx(Container, __assign({}, Container$1, { children: jsxRuntime.exports.jsx(Table, __assign({ id: ForkIdWithType(id, type) }, { children: content.map(function (row, rowIdx) { return (
1909
+ var _b = Container$1 || {}, sx = _b.sx, containerProps = __rest(_b, ["sx"]);
1910
+ return (jsxRuntime.exports.jsx(Container, __assign({ sx: sx }, containerProps, { children: jsxRuntime.exports.jsx(Table, __assign({ id: ForkIdWithType(id, type) }, { children: content.map(function (row, rowIdx) { return (
1852
1911
  // eslint-disable-next-line react/no-array-index-key
1853
1912
  jsxRuntime.exports.jsx(TableRow, { children: row.map(function (cell, cellIdx) { return (
1854
1913
  // eslint-disable-next-line react/no-array-index-key
@@ -1857,43 +1916,50 @@ var TableNode = function (_a) {
1857
1916
 
1858
1917
  var DelimiterNode = function (_a) {
1859
1918
  var type = _a.type, id = _a.id, Delimiter$1 = _a.Delimiter, Container$1 = _a.Container;
1860
- return (jsxRuntime.exports.jsx(Container, __assign({}, Container$1, { children: jsxRuntime.exports.jsx(Delimiter, __assign({ id: ForkIdWithType(id, type) }, Delimiter$1)) }), id));
1919
+ var _b = Container$1 || {}, sx = _b.sx, containerProps = __rest(_b, ["sx"]);
1920
+ return (jsxRuntime.exports.jsx(Container, __assign({ sx: sx }, containerProps, { children: jsxRuntime.exports.jsx(Delimiter, __assign({ id: ForkIdWithType(id, type) }, Delimiter$1)) }), id));
1861
1921
  };
1862
1922
 
1863
1923
  var EmbedNode = function (_a) {
1864
1924
  var type = _a.type, data = _a.data, id = _a.id, Container$1 = _a.Container, Embed$1 = _a.Embed;
1865
1925
  // eslint-disable-next-line no-unused-vars
1866
1926
  data.service; data.source; var embed = data.embed, width = data.width, height = data.height; data.caption;
1867
- return (jsxRuntime.exports.jsx(Container, __assign({}, Container$1, { children: jsxRuntime.exports.jsx(Embed, __assign({ id: ForkIdWithType(id, type), src: embed, width: width, height: height }, Embed$1)) }), id));
1927
+ var _b = Container$1 || {}, sx = _b.sx, containerProps = __rest(_b, ["sx"]);
1928
+ return (jsxRuntime.exports.jsx(Container, __assign({ sx: sx }, containerProps, { children: jsxRuntime.exports.jsx(Embed, __assign({ id: ForkIdWithType(id, type), src: embed, width: width, height: height }, Embed$1)) }), id));
1868
1929
  };
1869
1930
 
1870
1931
  var RawNode = function (_a) {
1871
1932
  var type = _a.type, data = _a.data, id = _a.id, Container$1 = _a.Container, Raw$1 = _a.Raw;
1872
- return (jsxRuntime.exports.jsx(Container, __assign({}, Container$1, { children: jsxRuntime.exports.jsx(Raw, __assign({ id: ForkIdWithType(id, type) }, Raw$1, { children: data.html })) }), id));
1933
+ var _b = Container$1 || {}, sx = _b.sx, containerProps = __rest(_b, ["sx"]);
1934
+ return (jsxRuntime.exports.jsx(Container, __assign({ sx: sx }, containerProps, { children: jsxRuntime.exports.jsx(Raw, __assign({ id: ForkIdWithType(id, type) }, Raw$1, { children: data.html })) }), id));
1873
1935
  };
1874
1936
 
1875
1937
  var QuoteNode = function (_a) {
1876
1938
  var type = _a.type, data = _a.data, id = _a.id, Container$1 = _a.Container, Quote$1 = _a.Quote;
1877
- return (jsxRuntime.exports.jsx(Container, __assign({}, Container$1, { children: jsxRuntime.exports.jsx(Quote, __assign({ id: ForkIdWithType(id, type) }, Quote$1, { children: data.text })) }), id));
1939
+ var _b = Container$1 || {}, sx = _b.sx, containerProps = __rest(_b, ["sx"]);
1940
+ return (jsxRuntime.exports.jsx(Container, __assign({ sx: sx }, containerProps, { children: jsxRuntime.exports.jsx(Quote, __assign({ id: ForkIdWithType(id, type) }, Quote$1, { children: data.text })) }), id));
1878
1941
  };
1879
1942
 
1880
1943
  var CodeNode = function (_a) {
1881
1944
  var type = _a.type, data = _a.data, id = _a.id, Container$1 = _a.Container, Code$1 = _a.Code;
1882
1945
  var code = data.code;
1883
- return (jsxRuntime.exports.jsx(Container, __assign({}, Container$1, { children: jsxRuntime.exports.jsx(Code, __assign({ id: ForkIdWithType(id, type) }, Code$1, { children: code })) }), id));
1946
+ var _b = Container$1 || {}, sx = _b.sx, containerProps = __rest(_b, ["sx"]);
1947
+ return (jsxRuntime.exports.jsx(Container, __assign({ sx: sx }, containerProps, { children: jsxRuntime.exports.jsx(Code, __assign({ id: ForkIdWithType(id, type) }, Code$1, { children: code })) }), id));
1884
1948
  };
1885
1949
 
1886
1950
  var LinkNode = function (_a) {
1887
1951
  var type = _a.type, data = _a.data, id = _a.id, Container$1 = _a.Container, Link$1 = _a.Link;
1888
1952
  var _b = data.meta, image = _b.image, title = _b.title, description = _b.description, site_name = _b.site_name, link = data.link;
1889
- return (jsxRuntime.exports.jsx(Container, __assign({}, Container$1, { children: jsxRuntime.exports.jsx(Link, __assign({ id: ForkIdWithType(id, type), image: image.url, title: title, description: description, siteName: site_name, href: link }, Link$1)) }), id));
1953
+ var _c = Container$1 || {}, sx = _c.sx, containerProps = __rest(_c, ["sx"]);
1954
+ return (jsxRuntime.exports.jsx(Container, __assign({ sx: sx }, containerProps, { children: jsxRuntime.exports.jsx(Link, __assign({ id: ForkIdWithType(id, type), image: image.url, title: title, description: description, siteName: site_name, href: link }, Link$1)) }), id));
1890
1955
  };
1891
1956
 
1892
1957
  var DEFAULT_GAP = 10;
1893
1958
  var CheckListNode = function (_a) {
1894
1959
  var type = _a.type, data = _a.data, id = _a.id, tunes = _a.tunes, Container$1 = _a.Container, CheckList$1 = _a.CheckList, Item = _a.Item;
1895
1960
  var items = data.items;
1896
- return (jsxRuntime.exports.jsx(Container, __assign({}, Container$1, { children: jsxRuntime.exports.jsx(CheckList, __assign({ id: ForkIdWithType(id, type) }, CheckList$1, { sx: __assign({ display: 'flex', flexWrap: 'wrap', gap: "".concat(DEFAULT_GAP, "px"), borderRadius: '25px', padding: '20px', backgroundColor: function (_) { return _.palette.background.default; }, border: '1px solid #EFF3FE' }, CheckList$1 === null || CheckList$1 === void 0 ? void 0 : CheckList$1.sx) }, { children: items.map(function (_a, idx) {
1961
+ var _b = Container$1 || {}, sx = _b.sx, containerProps = __rest(_b, ["sx"]);
1962
+ return (jsxRuntime.exports.jsx(Container, __assign({ sx: sx }, containerProps, { children: jsxRuntime.exports.jsx(CheckList, __assign({ id: ForkIdWithType(id, type) }, CheckList$1, { sx: __assign({ display: 'flex', flexWrap: 'wrap', gap: "".concat(DEFAULT_GAP, "px"), borderRadius: '25px', padding: '20px', backgroundColor: function (_) { return _.palette.background.default; }, border: '1px solid #EFF3FE' }, CheckList$1 === null || CheckList$1 === void 0 ? void 0 : CheckList$1.sx) }, { children: items.map(function (_a, idx) {
1897
1963
  var _b, _c;
1898
1964
  var checked = _a.checked, text = _a.text;
1899
1965
  return (jsxRuntime.exports.jsxs(CheckListItem, __assign({}, Item, { sx: __assign(__assign(__assign({ display: 'flex', alignItems: 'center', flexWrap: 'nowrap', flexGrow: 0, columnGap: '5px', flexBasis: getFlexBasis(1, DEFAULT_GAP) }, (((_b = tunes === null || tunes === void 0 ? void 0 : tunes.columnTune) === null || _b === void 0 ? void 0 : _b.size) === 'two-columns' && {