@wulperstudio/editor-render 0.0.8-beta → 0.0.9-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 +84 -30
  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 +84 -30
  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
@@ -3,5 +3,5 @@ import { RootCode } from './styled';
3
3
  export declare type CodeRootProps = React.ComponentPropsWithRef<typeof RootCode>;
4
4
  interface CodeProps extends CodeRootProps {
5
5
  }
6
- export declare const Code: (props: CodeProps) => JSX.Element;
6
+ export declare const Code: ({ sx, ...props }: CodeProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -4,5 +4,5 @@ export declare type RootContainerProps = React.ComponentPropsWithRef<typeof Root
4
4
  interface ContainerProps extends RootContainerProps {
5
5
  stretched?: boolean;
6
6
  }
7
- export declare const Container: (props: ContainerProps) => JSX.Element;
7
+ export declare const Container: ({ sx, ...props }: ContainerProps) => import("react/jsx-runtime").JSX.Element;
8
8
  export {};
@@ -3,5 +3,5 @@ import { RootDelimiter } from './styled';
3
3
  export declare type DelimiterRootProps = React.ComponentPropsWithRef<typeof RootDelimiter>;
4
4
  interface DelimiterProps extends Omit<DelimiterRootProps, 'children'> {
5
5
  }
6
- export declare const Delimiter: (props: DelimiterProps) => JSX.Element;
6
+ export declare const Delimiter: ({ sx, ...props }: DelimiterProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -3,5 +3,5 @@ import { RootEmbed } from './styled';
3
3
  export declare type EmbedRootProps = React.ComponentPropsWithRef<typeof RootEmbed>;
4
4
  interface EmbedProps extends EmbedRootProps {
5
5
  }
6
- export declare const Embed: (props: EmbedProps) => JSX.Element;
6
+ export declare const Embed: ({ sx, ...props }: EmbedProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -4,5 +4,5 @@ export declare type HeaderRootProps = React.ComponentPropsWithRef<typeof RootHea
4
4
  interface HeaderModel extends HeaderRootProps {
5
5
  level: 1 | 2 | 3 | 4 | 5 | 6;
6
6
  }
7
- export declare const Header: ({ level, ...props }: HeaderModel) => JSX.Element;
7
+ export declare const Header: ({ level, sx, ...props }: HeaderModel) => import("react/jsx-runtime").JSX.Element;
8
8
  export {};
@@ -7,5 +7,5 @@ interface ImageProps extends ImageRootProps {
7
7
  stretched?: boolean;
8
8
  withBackground?: boolean;
9
9
  }
10
- export declare const Image: ({ caption, withBorder, withBackground, stretched, ...props }: ImageProps) => JSX.Element;
10
+ export declare const Image: ({ caption, withBorder, withBackground, stretched, sx, ...props }: ImageProps) => import("react/jsx-runtime").JSX.Element;
11
11
  export {};
@@ -3,5 +3,5 @@ import { RootInlineCode } from './styled';
3
3
  declare type InlineCodeRootProps = React.ComponentPropsWithRef<typeof RootInlineCode>;
4
4
  interface CodeProps extends InlineCodeRootProps {
5
5
  }
6
- export declare const InlineCode: (props: CodeProps) => JSX.Element;
6
+ export declare const InlineCode: ({ sx, ...props }: CodeProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -3,5 +3,5 @@ import { RootItalic } from './styled';
3
3
  declare type ItalicRootProps = React.ComponentPropsWithRef<typeof RootItalic>;
4
4
  interface ItalicProps extends ItalicRootProps {
5
5
  }
6
- export declare const Italic: (props: ItalicProps) => JSX.Element;
6
+ export declare const Italic: ({ sx, ...props }: ItalicProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -7,5 +7,5 @@ interface LinkProps extends LinkRootProps {
7
7
  description?: string;
8
8
  siteName?: string;
9
9
  }
10
- export declare const Link: ({ id, image, title, description, siteName, ...props }: LinkProps) => JSX.Element;
10
+ export declare const Link: ({ id, image, title, description, siteName, sx, ...props }: LinkProps) => import("react/jsx-runtime").JSX.Element;
11
11
  export {};
@@ -3,5 +3,5 @@ import { RootList } from './styled';
3
3
  export declare type ListRootProps = React.ComponentPropsWithRef<typeof RootList>;
4
4
  interface ListProps extends ListRootProps {
5
5
  }
6
- export declare const List: ({ ...props }: ListProps) => JSX.Element;
6
+ export declare const List: ({ sx, ...props }: ListProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -3,5 +3,5 @@ import { RootListItem } from './styled';
3
3
  export declare type RootItemProps = React.ComponentPropsWithRef<typeof RootListItem>;
4
4
  interface ItemModel extends RootItemProps {
5
5
  }
6
- export declare const ListItem: (props: ItemModel) => JSX.Element;
6
+ export declare const ListItem: ({ sx, ...props }: ItemModel) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -3,5 +3,5 @@ import { RootMarker } from './styled';
3
3
  declare type MarkerRootProps = React.ComponentPropsWithRef<typeof RootMarker>;
4
4
  interface MarkerProps extends MarkerRootProps {
5
5
  }
6
- export declare const Marker: (props: MarkerProps) => JSX.Element;
6
+ export declare const Marker: ({ sx, ...props }: MarkerProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -3,5 +3,5 @@ import { RootParagraph } from './styled';
3
3
  export declare type ParagraphRootProps = React.ComponentPropsWithRef<typeof RootParagraph>;
4
4
  interface ParagraphProps extends ParagraphRootProps {
5
5
  }
6
- export declare const Paragraph: (props: ParagraphProps) => JSX.Element;
6
+ export declare const Paragraph: ({ sx, ...props }: ParagraphProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -3,5 +3,5 @@ import { RootQuote } from './styled';
3
3
  export declare type QuoteRootProps = React.ComponentPropsWithRef<typeof RootQuote>;
4
4
  interface QuoteProps extends QuoteRootProps {
5
5
  }
6
- export declare const Quote: (props: QuoteProps) => JSX.Element;
6
+ export declare const Quote: ({ sx, ...props }: QuoteProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -3,5 +3,5 @@ import { RootRaw } from './styled';
3
3
  export declare type RawRootProps = React.ComponentPropsWithRef<typeof RootRaw>;
4
4
  interface RawProps extends RawRootProps {
5
5
  }
6
- export declare const Raw: (props: RawProps) => JSX.Element;
6
+ export declare const Raw: ({ sx, ...props }: RawProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -3,5 +3,5 @@ import { RootTable } from './styled';
3
3
  export declare type TableRootProps = React.ComponentPropsWithRef<typeof RootTable>;
4
4
  interface TableProps extends TableRootProps {
5
5
  }
6
- export declare const Table: (props: TableProps) => JSX.Element;
6
+ export declare const Table: ({ sx, ...props }: TableProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -3,5 +3,5 @@ import { RootTableCell } from './styled';
3
3
  export declare type TableCellRootProps = React.ComponentPropsWithRef<typeof RootTableCell>;
4
4
  interface TableCellProps extends TableCellRootProps {
5
5
  }
6
- export declare const TableCell: (props: TableCellProps) => JSX.Element;
6
+ export declare const TableCell: ({ sx, ...props }: TableCellProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -3,5 +3,5 @@ import { RootTableRow } from './styled';
3
3
  export declare type TableRowRootProps = React.ComponentPropsWithRef<typeof RootTableRow>;
4
4
  interface TableRowProps extends TableRowRootProps {
5
5
  }
6
- export declare const TableRow: (props: TableRowProps) => JSX.Element;
6
+ export declare const TableRow: ({ sx, ...props }: TableRowProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  declare type Props = {
3
2
  html: string;
4
3
  id: string;
5
4
  };
6
- export declare const RecursiveNode: ({ html, id }: Props) => JSX.Element;
5
+ export declare const RecursiveNode: ({ html, id }: Props) => import("react/jsx-runtime").JSX.Element;
7
6
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataCheckList } from '../../interfaces';
3
2
  import { RootContainerProps } from '../../components/Container';
4
3
  import { CheckListRootProps } from '../../components/CheckList';
@@ -12,4 +11,4 @@ export interface CheckListNodeProps {
12
11
  CheckList?: CheckListRootProps;
13
12
  Item?: RootCheckListItemProps;
14
13
  }
15
- export declare const CheckListNode: ({ type, data, id, tunes, Container, CheckList, Item, }: CheckListNodeProps) => JSX.Element;
14
+ export declare const CheckListNode: ({ type, data, id, tunes, Container, CheckList, Item, }: CheckListNodeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataCodeLang } from '../../interfaces';
3
2
  import { RootContainerProps } from '../../components/Container';
4
3
  import { CodeRootProps } from '../../components/Code';
@@ -9,4 +8,4 @@ export interface CodeNodeProps {
9
8
  Container?: RootContainerProps;
10
9
  Code?: CodeRootProps;
11
10
  }
12
- export declare const CodeNode: ({ type, data, id, Container, Code, }: CodeNodeProps) => JSX.Element;
11
+ export declare const CodeNode: ({ type, data, id, Container, Code, }: CodeNodeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataDelimiter } from '../../interfaces';
3
2
  import { DelimiterRootProps } from '../../components/Delimiter';
4
3
  import { RootContainerProps } from '../../components/Container';
@@ -9,4 +8,4 @@ export interface DelimiterNodeProps {
9
8
  Delimiter?: DelimiterRootProps;
10
9
  Container?: RootContainerProps;
11
10
  }
12
- export declare const DelimiterNode: ({ type, id, Delimiter, Container }: DelimiterNodeProps) => JSX.Element;
11
+ export declare const DelimiterNode: ({ type, id, Delimiter, Container }: DelimiterNodeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataEmbed } from '../../interfaces';
3
2
  import { RootContainerProps } from '../../components/Container';
4
3
  import { EmbedRootProps } from '../../components/Embed';
@@ -9,4 +8,4 @@ export interface EmbedNodeProps {
9
8
  Container?: RootContainerProps;
10
9
  Embed?: EmbedRootProps;
11
10
  }
12
- export declare const EmbedNode: ({ type, data, id, Container, Embed }: EmbedNodeProps) => JSX.Element;
11
+ export declare const EmbedNode: ({ type, data, id, Container, Embed }: EmbedNodeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataHeader } from '../../interfaces';
3
2
  import { RootContainerProps } from '../../components/Container';
4
3
  import { HeaderRootProps } from '../../components/Header';
@@ -9,4 +8,4 @@ export interface HeaderNodeProps {
9
8
  Container?: RootContainerProps;
10
9
  Header?: HeaderRootProps;
11
10
  }
12
- export declare const HeaderNode: ({ type, data, id, Container, Header, }: HeaderNodeProps) => JSX.Element;
11
+ export declare const HeaderNode: ({ type, data, id, Container, Header, }: HeaderNodeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { RootContainerProps } from '../../components/Container';
3
2
  import { ImageRootProps } from '../../components/Image';
4
3
  import { DataImage } from '../../interfaces';
@@ -9,4 +8,4 @@ export interface ImageNodeProps {
9
8
  Container?: RootContainerProps;
10
9
  Image?: ImageRootProps;
11
10
  }
12
- export declare const ImageNode: ({ type, data, id, Container, Image }: ImageNodeProps) => JSX.Element;
11
+ export declare const ImageNode: ({ type, data, id, Container, Image }: ImageNodeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataLinkTool } from '../../interfaces';
3
2
  import { RootContainerProps } from '../../components/Container';
4
3
  import { LinkRootProps } from '../../components/Link';
@@ -9,4 +8,4 @@ export interface LinkNodeProps {
9
8
  Container?: RootContainerProps;
10
9
  Link?: LinkRootProps;
11
10
  }
12
- export declare const LinkNode: ({ type, data, id, Container, Link }: LinkNodeProps) => JSX.Element;
11
+ export declare const LinkNode: ({ type, data, id, Container, Link }: LinkNodeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataList } from '../../interfaces';
3
2
  import { RootContainerProps } from '../../components/Container';
4
3
  import { ListRootProps } from '../../components/List';
@@ -12,4 +11,4 @@ export interface ListNodeModel {
12
11
  List?: ListRootProps;
13
12
  Item?: RootItemProps;
14
13
  }
15
- export declare const ListNode: ({ type, data, id, tunes, Container, List, Item }: ListNodeModel) => JSX.Element;
14
+ export declare const ListNode: ({ type, data, id, tunes, Container, List, Item }: ListNodeModel) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataParagraph } from '../../interfaces';
3
2
  import { RootContainerProps } from '../../components/Container';
4
3
  import { ParagraphRootProps } from '../../components/Paragraph';
@@ -9,4 +8,4 @@ export interface ParagraphNodeProps {
9
8
  Container?: RootContainerProps;
10
9
  Paragraph?: ParagraphRootProps;
11
10
  }
12
- export declare const ParagraphNode: ({ type, data, id, Container, Paragraph, }: ParagraphNodeProps) => JSX.Element;
11
+ export declare const ParagraphNode: ({ type, data, id, Container, Paragraph, }: ParagraphNodeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataQuote } from '../../interfaces';
3
2
  import { QuoteRootProps } from '../../components/Quote';
4
3
  import { RootContainerProps } from '../../components/Container';
@@ -9,4 +8,4 @@ export interface QuoteNodeProps {
9
8
  Container?: RootContainerProps;
10
9
  Quote?: QuoteRootProps;
11
10
  }
12
- export declare const QuoteNode: ({ type, data, id, Container, Quote, }: QuoteNodeProps) => JSX.Element;
11
+ export declare const QuoteNode: ({ type, data, id, Container, Quote, }: QuoteNodeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataRawTool } from '../../interfaces';
3
2
  import { RootContainerProps } from '../../components/Container';
4
3
  import { RawRootProps } from '../../components/Raw';
@@ -9,4 +8,4 @@ export interface RawNodeProps {
9
8
  Container?: RootContainerProps;
10
9
  Raw?: RawRootProps;
11
10
  }
12
- export declare const RawNode: ({ type, data, id, Container, Raw }: RawNodeProps) => JSX.Element;
11
+ export declare const RawNode: ({ type, data, id, Container, Raw }: RawNodeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataTable } from '../../interfaces';
3
2
  import { RootContainerProps } from '../../components/Container';
4
3
  import { TableRowRootProps } from '../../components/TableRow';
@@ -13,4 +12,4 @@ export interface TableNodeProps {
13
12
  Row?: TableRowRootProps;
14
13
  Cell?: TableCellRootProps;
15
14
  }
16
- export declare const TableNode: ({ type, data, id, Container }: TableNodeProps) => JSX.Element;
15
+ export declare const TableNode: ({ type, data, id, Container }: TableNodeProps) => import("react/jsx-runtime").JSX.Element;
@@ -49,7 +49,9 @@ export interface DataEmbed {
49
49
  caption: string;
50
50
  }
51
51
  export interface DataImage {
52
- url: string;
52
+ file: {
53
+ url: string;
54
+ };
53
55
  caption: string;
54
56
  withBorder: boolean;
55
57
  stretched: boolean;
package/dist/esm/index.js CHANGED
@@ -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) {
@@ -1841,8 +1895,8 @@ var ListNode = function (_a) {
1841
1895
 
1842
1896
  var ImageNode = function (_a) {
1843
1897
  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));
1898
+ var file = data.file, caption = data.caption, withBorder = data.withBorder, stretched = data.stretched, withBackground = data.withBackground;
1899
+ return (jsxRuntime.exports.jsx(Container, __assign({ stretched: stretched }, Container$1, { 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
1900
  };
1847
1901
 
1848
1902
  var TableNode = function (_a) {