@wulperstudio/editor-render 0.0.3-beta → 0.0.4-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 (138) hide show
  1. package/dist/README.md +1 -0
  2. package/dist/cjs/dist/base/index.d.ts +3 -0
  3. package/dist/cjs/dist/components/Anchor/index.d.ts +7 -0
  4. package/dist/cjs/dist/components/Anchor/styled.d.ts +2 -0
  5. package/dist/cjs/dist/components/Bold/index.d.ts +7 -0
  6. package/dist/cjs/dist/components/Bold/styled.d.ts +2 -0
  7. package/dist/cjs/dist/components/CheckBox/index.d.ts +3 -0
  8. package/dist/cjs/dist/components/CheckList/index.d.ts +7 -0
  9. package/dist/cjs/dist/components/CheckList/styled.d.ts +2 -0
  10. package/dist/cjs/dist/components/CheckListItem/index.d.ts +7 -0
  11. package/dist/cjs/dist/components/CheckListItem/styled.d.ts +2 -0
  12. package/dist/cjs/dist/components/Code/index.d.ts +7 -0
  13. package/dist/cjs/dist/components/Code/styled.d.ts +2 -0
  14. package/dist/cjs/dist/components/Container/index.d.ts +8 -0
  15. package/dist/cjs/dist/components/Container/style.d.ts +6 -0
  16. package/dist/cjs/dist/components/Delimiter/index.d.ts +7 -0
  17. package/dist/cjs/dist/components/Delimiter/styled.d.ts +2 -0
  18. package/dist/cjs/dist/components/Embed/index.d.ts +7 -0
  19. package/dist/cjs/dist/components/Embed/styled.d.ts +2 -0
  20. package/dist/cjs/dist/components/Header/index.d.ts +8 -0
  21. package/dist/cjs/dist/components/Header/styled.d.ts +2 -0
  22. package/dist/cjs/dist/components/Image/index.d.ts +11 -0
  23. package/dist/cjs/dist/components/Image/styled.d.ts +10 -0
  24. package/dist/cjs/dist/components/InlineCode/index.d.ts +7 -0
  25. package/dist/cjs/dist/components/InlineCode/styled.d.ts +2 -0
  26. package/dist/cjs/dist/components/Italic/index.d.ts +7 -0
  27. package/dist/cjs/dist/components/Italic/styled.d.ts +2 -0
  28. package/dist/cjs/dist/components/Link/index.d.ts +11 -0
  29. package/dist/cjs/dist/components/Link/styled.d.ts +8 -0
  30. package/dist/cjs/dist/components/List/index.d.ts +7 -0
  31. package/dist/cjs/dist/components/List/styled.d.ts +2 -0
  32. package/dist/cjs/dist/components/ListItem/index.d.ts +7 -0
  33. package/dist/cjs/dist/components/ListItem/styled.d.ts +2 -0
  34. package/dist/cjs/dist/components/Marker/index.d.ts +7 -0
  35. package/dist/cjs/dist/components/Marker/styled.d.ts +2 -0
  36. package/dist/cjs/dist/components/Paragraph/index.d.ts +7 -0
  37. package/dist/cjs/dist/components/Paragraph/styled.d.ts +2 -0
  38. package/dist/cjs/dist/components/Quote/index.d.ts +7 -0
  39. package/dist/cjs/dist/components/Quote/styled.d.ts +2 -0
  40. package/dist/cjs/dist/components/Raw/index.d.ts +7 -0
  41. package/dist/cjs/dist/components/Raw/styled.d.ts +2 -0
  42. package/dist/cjs/dist/components/Table/index.d.ts +7 -0
  43. package/dist/cjs/dist/components/Table/styled.d.ts +2 -0
  44. package/dist/cjs/dist/components/TableCell/index.d.ts +7 -0
  45. package/dist/cjs/dist/components/TableCell/styled.d.ts +2 -0
  46. package/dist/cjs/dist/components/TableRow/index.d.ts +7 -0
  47. package/dist/cjs/dist/components/TableRow/styled.d.ts +2 -0
  48. package/dist/cjs/dist/components/index.d.ts +24 -0
  49. package/dist/cjs/dist/helpers/RecursiveNode/index.d.ts +6 -0
  50. package/dist/cjs/dist/helpers/checklist/index.d.ts +9 -0
  51. package/dist/cjs/dist/helpers/code/index.d.ts +8 -0
  52. package/dist/cjs/dist/helpers/delimiter/index.d.ts +8 -0
  53. package/dist/cjs/dist/helpers/embed/index.d.ts +8 -0
  54. package/dist/cjs/dist/helpers/header/index.d.ts +8 -0
  55. package/dist/cjs/dist/helpers/image/index.d.ts +8 -0
  56. package/dist/cjs/dist/helpers/index.d.ts +15 -0
  57. package/dist/cjs/dist/helpers/link/index.d.ts +8 -0
  58. package/dist/cjs/dist/helpers/list/index.d.ts +9 -0
  59. package/dist/cjs/dist/helpers/paragraph/index.d.ts +8 -0
  60. package/dist/cjs/dist/helpers/quote/index.d.ts +8 -0
  61. package/dist/cjs/dist/helpers/raw/index.d.ts +8 -0
  62. package/dist/cjs/dist/helpers/table/index.d.ts +8 -0
  63. package/dist/cjs/dist/index.d.ts +6 -0
  64. package/dist/cjs/dist/interfaces/index.d.ts +110 -0
  65. package/dist/cjs/dist/types/index.d.ts +1 -0
  66. package/dist/cjs/dist/utils/index.d.ts +3 -0
  67. package/dist/cjs/index.js +2092 -0
  68. package/dist/cjs/index.js.map +1 -0
  69. package/dist/esm/dist/base/index.d.ts +3 -0
  70. package/dist/esm/dist/components/Anchor/index.d.ts +7 -0
  71. package/dist/esm/dist/components/Anchor/styled.d.ts +2 -0
  72. package/dist/esm/dist/components/Bold/index.d.ts +7 -0
  73. package/dist/esm/dist/components/Bold/styled.d.ts +2 -0
  74. package/dist/esm/dist/components/CheckBox/index.d.ts +3 -0
  75. package/dist/esm/dist/components/CheckList/index.d.ts +7 -0
  76. package/dist/esm/dist/components/CheckList/styled.d.ts +2 -0
  77. package/dist/esm/dist/components/CheckListItem/index.d.ts +7 -0
  78. package/dist/esm/dist/components/CheckListItem/styled.d.ts +2 -0
  79. package/dist/esm/dist/components/Code/index.d.ts +7 -0
  80. package/dist/esm/dist/components/Code/styled.d.ts +2 -0
  81. package/dist/esm/dist/components/Container/index.d.ts +8 -0
  82. package/dist/esm/dist/components/Container/style.d.ts +6 -0
  83. package/dist/esm/dist/components/Delimiter/index.d.ts +7 -0
  84. package/dist/esm/dist/components/Delimiter/styled.d.ts +2 -0
  85. package/dist/esm/dist/components/Embed/index.d.ts +7 -0
  86. package/dist/esm/dist/components/Embed/styled.d.ts +2 -0
  87. package/dist/esm/dist/components/Header/index.d.ts +8 -0
  88. package/dist/esm/dist/components/Header/styled.d.ts +2 -0
  89. package/dist/esm/dist/components/Image/index.d.ts +11 -0
  90. package/dist/esm/dist/components/Image/styled.d.ts +10 -0
  91. package/dist/esm/dist/components/InlineCode/index.d.ts +7 -0
  92. package/dist/esm/dist/components/InlineCode/styled.d.ts +2 -0
  93. package/dist/esm/dist/components/Italic/index.d.ts +7 -0
  94. package/dist/esm/dist/components/Italic/styled.d.ts +2 -0
  95. package/dist/esm/dist/components/Link/index.d.ts +11 -0
  96. package/dist/esm/dist/components/Link/styled.d.ts +8 -0
  97. package/dist/esm/dist/components/List/index.d.ts +7 -0
  98. package/dist/esm/dist/components/List/styled.d.ts +2 -0
  99. package/dist/esm/dist/components/ListItem/index.d.ts +7 -0
  100. package/dist/esm/dist/components/ListItem/styled.d.ts +2 -0
  101. package/dist/esm/dist/components/Marker/index.d.ts +7 -0
  102. package/dist/esm/dist/components/Marker/styled.d.ts +2 -0
  103. package/dist/esm/dist/components/Paragraph/index.d.ts +7 -0
  104. package/dist/esm/dist/components/Paragraph/styled.d.ts +2 -0
  105. package/dist/esm/dist/components/Quote/index.d.ts +7 -0
  106. package/dist/esm/dist/components/Quote/styled.d.ts +2 -0
  107. package/dist/esm/dist/components/Raw/index.d.ts +7 -0
  108. package/dist/esm/dist/components/Raw/styled.d.ts +2 -0
  109. package/dist/esm/dist/components/Table/index.d.ts +7 -0
  110. package/dist/esm/dist/components/Table/styled.d.ts +2 -0
  111. package/dist/esm/dist/components/TableCell/index.d.ts +7 -0
  112. package/dist/esm/dist/components/TableCell/styled.d.ts +2 -0
  113. package/dist/esm/dist/components/TableRow/index.d.ts +7 -0
  114. package/dist/esm/dist/components/TableRow/styled.d.ts +2 -0
  115. package/dist/esm/dist/components/index.d.ts +24 -0
  116. package/dist/esm/dist/helpers/RecursiveNode/index.d.ts +6 -0
  117. package/dist/esm/dist/helpers/checklist/index.d.ts +9 -0
  118. package/dist/esm/dist/helpers/code/index.d.ts +8 -0
  119. package/dist/esm/dist/helpers/delimiter/index.d.ts +8 -0
  120. package/dist/esm/dist/helpers/embed/index.d.ts +8 -0
  121. package/dist/esm/dist/helpers/header/index.d.ts +8 -0
  122. package/dist/esm/dist/helpers/image/index.d.ts +8 -0
  123. package/dist/esm/dist/helpers/index.d.ts +15 -0
  124. package/dist/esm/dist/helpers/link/index.d.ts +8 -0
  125. package/dist/esm/dist/helpers/list/index.d.ts +9 -0
  126. package/dist/esm/dist/helpers/paragraph/index.d.ts +8 -0
  127. package/dist/esm/dist/helpers/quote/index.d.ts +8 -0
  128. package/dist/esm/dist/helpers/raw/index.d.ts +8 -0
  129. package/dist/esm/dist/helpers/table/index.d.ts +8 -0
  130. package/dist/esm/dist/index.d.ts +6 -0
  131. package/dist/esm/dist/interfaces/index.d.ts +110 -0
  132. package/dist/esm/dist/types/index.d.ts +1 -0
  133. package/dist/esm/dist/utils/index.d.ts +3 -0
  134. package/dist/esm/index.js +2043 -0
  135. package/dist/esm/index.js.map +1 -0
  136. package/dist/index.d.ts +390 -0
  137. package/dist/package.json +50 -0
  138. package/package.json +1 -1
package/dist/README.md ADDED
@@ -0,0 +1 @@
1
+ # Wulper Studio Editor Render
@@ -0,0 +1,3 @@
1
+ import { ReactNode } from 'react';
2
+ import { EditorDataModel } from '../interfaces';
3
+ export declare const getBaseNodesFromEditor: (value: EditorDataModel) => ReactNode[];
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { RootAnchor } from './styled';
3
+ declare type AnchorRootProps = React.ComponentPropsWithRef<typeof RootAnchor>;
4
+ interface AnchorProps extends AnchorRootProps {
5
+ }
6
+ export declare const Anchor: (props: AnchorProps) => JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const RootAnchor: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { RootBold } from './styled';
3
+ declare type BoldRootProps = React.ComponentPropsWithRef<typeof RootBold>;
4
+ interface BoldProps extends BoldRootProps {
5
+ }
6
+ export declare const Bold: (props: BoldProps) => JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const RootBold: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { CheckboxProps } from '@mui/material';
3
+ export declare const CheckBox: ({ checked, ...props }: CheckboxProps) => JSX.Element;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { RootCheckList } from './styled';
3
+ declare type CheckListRootProps = React.ComponentPropsWithRef<typeof RootCheckList>;
4
+ interface CheckListProps extends CheckListRootProps {
5
+ }
6
+ export declare const CheckList: (props: CheckListProps) => JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const RootCheckList: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { RootListItem } from './styled';
3
+ declare type RootItemProps = React.ComponentPropsWithRef<typeof RootListItem>;
4
+ interface ItemModel extends RootItemProps {
5
+ }
6
+ export declare const CheckListItem: (props: ItemModel) => JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const RootListItem: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { RootCode } from './styled';
3
+ declare type CodeRootProps = React.ComponentPropsWithRef<typeof RootCode>;
4
+ interface CodeProps extends CodeRootProps {
5
+ }
6
+ export declare const Code: (props: CodeProps) => JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const RootCode: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { RootContainer } from './style';
3
+ declare type RootContainerProps = React.ComponentPropsWithRef<typeof RootContainer>;
4
+ interface ContainerModel extends RootContainerProps {
5
+ stretched?: boolean;
6
+ }
7
+ export declare const Container: (props: ContainerModel) => JSX.Element;
8
+ export {};
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ interface RootContainerProps {
3
+ stretched?: boolean;
4
+ }
5
+ export declare const RootContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & RootContainerProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { RootDelimiter } from './styled';
3
+ declare type DelimiterRootProps = React.ComponentPropsWithRef<typeof RootDelimiter>;
4
+ interface DelimiterProps extends Omit<DelimiterRootProps, 'children'> {
5
+ }
6
+ export declare const Delimiter: (props: DelimiterProps) => JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const RootDelimiter: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { RootEmbed } from './styled';
3
+ declare type EmbedRootProps = React.ComponentPropsWithRef<typeof RootEmbed>;
4
+ interface EmbedProps extends EmbedRootProps {
5
+ }
6
+ export declare const Embed: (props: EmbedProps) => JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const RootEmbed: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>, {}>;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { RootHeader } from './styled';
3
+ declare type HeaderRootProps = React.ComponentPropsWithRef<typeof RootHeader>;
4
+ interface HeaderModel extends HeaderRootProps {
5
+ level: 1 | 2 | 3 | 4 | 5 | 6;
6
+ }
7
+ export declare const Header: ({ level, ...props }: HeaderModel) => JSX.Element;
8
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const RootHeader: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { RootImage } from './styled';
3
+ declare type ImageRootProps = React.ComponentPropsWithRef<typeof RootImage>;
4
+ interface ImageProps extends ImageRootProps {
5
+ caption?: string;
6
+ withBorder?: boolean;
7
+ stretched?: boolean;
8
+ withBackground?: boolean;
9
+ }
10
+ export declare const Image: ({ caption, withBorder, withBackground, stretched, ...props }: ImageProps) => JSX.Element;
11
+ export {};
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ interface RootProps {
3
+ withBorder?: boolean;
4
+ stretched?: boolean;
5
+ withBackground?: boolean;
6
+ }
7
+ export declare const Root: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & RootProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
+ export declare const RootImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & RootProps, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
9
+ export declare const Caption: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
10
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { RootInlineCode } from './styled';
3
+ declare type InlineCodeRootProps = React.ComponentPropsWithRef<typeof RootInlineCode>;
4
+ interface CodeProps extends InlineCodeRootProps {
5
+ }
6
+ export declare const InlineCode: (props: CodeProps) => JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const RootInlineCode: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { RootItalic } from './styled';
3
+ declare type ItalicRootProps = React.ComponentPropsWithRef<typeof RootItalic>;
4
+ interface ItalicProps extends ItalicRootProps {
5
+ }
6
+ export declare const Italic: (props: ItalicProps) => JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const RootItalic: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { RootLink } from './styled';
3
+ declare type LinkRootProps = React.ComponentPropsWithRef<typeof RootLink>;
4
+ interface LinkProps extends Omit<LinkRootProps, 'children'> {
5
+ image?: string;
6
+ title?: string;
7
+ description?: string;
8
+ siteName?: string;
9
+ }
10
+ export declare const Link: ({ id, image, title, description, siteName, ...props }: LinkProps) => JSX.Element;
11
+ export {};
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ export declare const RootLink: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
3
+ export declare const ImageFloat: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
4
+ image?: string | undefined;
5
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
+ export declare const Title: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
+ export declare const Description: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
8
+ export declare const SiteName: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { RootList } from './styled';
3
+ declare type ListRootProps = React.ComponentPropsWithRef<typeof RootList>;
4
+ interface ListProps extends ListRootProps {
5
+ }
6
+ export declare const List: ({ ...props }: ListProps) => JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const RootList: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { RootListItem } from './styled';
3
+ declare type RootItemProps = React.ComponentPropsWithRef<typeof RootListItem>;
4
+ interface ItemModel extends RootItemProps {
5
+ }
6
+ export declare const ListItem: (props: ItemModel) => JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const RootListItem: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { RootMarker } from './styled';
3
+ declare type MarkerRootProps = React.ComponentPropsWithRef<typeof RootMarker>;
4
+ interface MarkerProps extends MarkerRootProps {
5
+ }
6
+ export declare const Marker: (props: MarkerProps) => JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const RootMarker: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { RootParagraph } from './styled';
3
+ declare type ParagraphRootProps = React.ComponentPropsWithRef<typeof RootParagraph>;
4
+ interface ParagraphProps extends ParagraphRootProps {
5
+ }
6
+ export declare const Paragraph: (props: ParagraphProps) => JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const RootParagraph: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { RootQuote } from './styled';
3
+ declare type QuoteRootProps = React.ComponentPropsWithRef<typeof RootQuote>;
4
+ interface QuoteProps extends QuoteRootProps {
5
+ }
6
+ export declare const Quote: (props: QuoteProps) => JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const RootQuote: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").BlockquoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, {}>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { RootRaw } from './styled';
3
+ declare type RawRootProps = React.ComponentPropsWithRef<typeof RootRaw>;
4
+ interface RawProps extends RawRootProps {
5
+ }
6
+ export declare const Raw: (props: RawProps) => JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const RootRaw: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { RootTable } from './styled';
3
+ declare type TableRootProps = React.ComponentPropsWithRef<typeof RootTable>;
4
+ interface TableProps extends TableRootProps {
5
+ }
6
+ export declare const Table: (props: TableProps) => JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const RootTable: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { RootTableCell } from './styled';
3
+ declare type TableCellRootProps = React.ComponentPropsWithRef<typeof RootTableCell>;
4
+ interface TableCellProps extends TableCellRootProps {
5
+ }
6
+ export declare const TableCell: (props: TableCellProps) => JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const RootTableCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { RootTableRow } from './styled';
3
+ declare type TableRowRootProps = React.ComponentPropsWithRef<typeof RootTableRow>;
4
+ interface TableRowProps extends TableRowRootProps {
5
+ }
6
+ export declare const TableRow: (props: TableRowProps) => JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const RootTableRow: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,24 @@
1
+ import { Container } from './Container';
2
+ import { Paragraph } from './Paragraph';
3
+ import { Header } from './Header';
4
+ import { List } from './List';
5
+ import { ListItem } from './ListItem';
6
+ import { InlineCode } from './InlineCode';
7
+ import { Bold } from './Bold';
8
+ import { Italic } from './Italic';
9
+ import { Marker } from './Marker';
10
+ import { Anchor } from './Anchor';
11
+ import { Delimiter } from './Delimiter';
12
+ import { Image } from './Image';
13
+ import { Table } from './Table';
14
+ import { TableRow } from './TableRow';
15
+ import { TableCell } from './TableCell';
16
+ import { Embed } from './Embed';
17
+ import { Raw } from './Raw';
18
+ import { Quote } from './Quote';
19
+ import { Code } from './Code';
20
+ import { Link } from './Link';
21
+ import { CheckList } from './CheckList';
22
+ import { CheckListItem } from './CheckListItem';
23
+ import { CheckBox } from './CheckBox';
24
+ export { Container as EditorContainer, Paragraph as EditorParagraph, Header as EditorHeader, List as EditorList, ListItem as EditorListItem, InlineCode as EditorInlineCode, Bold as EditorBold, Italic as EditorItalic, Marker as EditorMarker, Anchor as EditorAnchor, Delimiter as EditorDelimiter, Image as EditorImage, Table as EditorTable, TableRow as EditorTableRow, TableCell as EditorTableCell, Embed as EditorEmbed, Raw as EditorRaw, Quote as EditorQuote, Code as EditorCode, Link as EditorLink, CheckList as EditorCheckList, CheckListItem as EditorCheckListItem, CheckBox as EditorCheckBox, };
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { DOMNode } from 'html-react-parser';
3
+ declare type RecursiveNodeType = false | void | object | JSX.Element | null | undefined;
4
+ export declare const RecursiveNode: (domNode: DOMNode, idx: string) => RecursiveNodeType;
5
+ export declare const getRecursiveNode: (html: string, id: string) => string | JSX.Element | JSX.Element[];
6
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { DataCheckList } from '../../interfaces';
3
+ export interface CheckListNodeModel {
4
+ type: 'checklist';
5
+ data: DataCheckList;
6
+ id: string;
7
+ tunes?: any;
8
+ }
9
+ export declare const CheckListNode: ({ type, data, id, tunes, }: CheckListNodeModel) => React.ReactNode;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { DataCodeLang } from '../../interfaces';
3
+ export interface CodeNodeModel {
4
+ type: 'code';
5
+ data: DataCodeLang;
6
+ id: string;
7
+ }
8
+ export declare const CodeNode: ({ type, data, id }: CodeNodeModel) => React.ReactNode;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { DataDelimiter } from '../../interfaces';
3
+ export interface DelimiterNodeModel {
4
+ type: 'delimiter';
5
+ data: DataDelimiter;
6
+ id: string;
7
+ }
8
+ export declare const DelimiterNode: ({ type, id, }: DelimiterNodeModel) => React.ReactNode;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { DataEmbed } from '../../interfaces';
3
+ export interface EmbedNodeModel {
4
+ type: 'embed';
5
+ data: DataEmbed;
6
+ id: string;
7
+ }
8
+ export declare const EmbedNode: ({ type, data, id, }: EmbedNodeModel) => React.ReactNode;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { DataHeader } from '../../interfaces';
3
+ export interface HeaderNodeModel {
4
+ type: 'header';
5
+ data: DataHeader;
6
+ id: string;
7
+ }
8
+ export declare const HeaderNode: ({ type, data, id, }: HeaderNodeModel) => React.ReactNode;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { DataImage } from '../../interfaces';
3
+ export interface ImageNodeModel {
4
+ type: 'image';
5
+ data: DataImage;
6
+ id: string;
7
+ }
8
+ export declare const ImageNode: ({ type, data, id, }: ImageNodeModel) => React.ReactNode;
@@ -0,0 +1,15 @@
1
+ import { RecursiveNode } from './RecursiveNode';
2
+ import { ParagraphNode, ParagraphNodeModel } from './paragraph';
3
+ import { HeaderNode, HeaderNodeModel } from './header';
4
+ import { ListNode, ListNodeModel } from './list';
5
+ import { ImageNode, ImageNodeModel } from './image';
6
+ import { TableNode, TableNodeModel } from './table';
7
+ import { DelimiterNode, DelimiterNodeModel } from './delimiter';
8
+ import { EmbedNode, EmbedNodeModel } from './embed';
9
+ import { RawNode, RawNodeModel } from './raw';
10
+ import { QuoteNode, QuoteNodeModel } from './quote';
11
+ import { CodeNode, CodeNodeModel } from './code';
12
+ import { LinkNode, LinkNodeModel } from './link';
13
+ import { CheckListNode, CheckListNodeModel } from './checklist';
14
+ export { RecursiveNode, ParagraphNode, HeaderNode, ListNode, ImageNode, TableNode, DelimiterNode, EmbedNode, RawNode, QuoteNode, CodeNode, LinkNode, CheckListNode, };
15
+ export type { ParagraphNodeModel, HeaderNodeModel, ListNodeModel, ImageNodeModel, TableNodeModel, DelimiterNodeModel, EmbedNodeModel, RawNodeModel, QuoteNodeModel, CodeNodeModel, LinkNodeModel, CheckListNodeModel, };
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { DataLinkTool } from '../../interfaces';
3
+ export interface LinkNodeModel {
4
+ type: 'linkTool';
5
+ data: DataLinkTool;
6
+ id: string;
7
+ }
8
+ export declare const LinkNode: ({ type, data, id, }: LinkNodeModel) => React.ReactNode;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { DataList } from '../../interfaces';
3
+ export interface ListNodeModel {
4
+ type: 'list';
5
+ data: DataList;
6
+ id: string;
7
+ tunes?: any;
8
+ }
9
+ export declare const ListNode: ({ type, data, id, tunes, }: ListNodeModel) => React.ReactNode;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { DataParagraph } from '../../interfaces';
3
+ export interface ParagraphNodeModel {
4
+ type: 'paragraph';
5
+ data: DataParagraph;
6
+ id: string;
7
+ }
8
+ export declare const ParagraphNode: ({ type, data, id, }: ParagraphNodeModel) => React.ReactNode;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { DataQuote } from '../../interfaces';
3
+ export interface QuoteNodeModel {
4
+ type: 'quote';
5
+ data: DataQuote;
6
+ id: string;
7
+ }
8
+ export declare const QuoteNode: ({ type, data, id, }: QuoteNodeModel) => React.ReactNode;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { DataRawTool } from '../../interfaces';
3
+ export interface RawNodeModel {
4
+ type: 'rawTool';
5
+ data: DataRawTool;
6
+ id: string;
7
+ }
8
+ export declare const RawNode: ({ type, data, id }: RawNodeModel) => React.ReactNode;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { DataTable } from '../../interfaces/index';
3
+ export interface TableNodeModel {
4
+ type: 'table';
5
+ data: DataTable;
6
+ id: string;
7
+ }
8
+ export declare const TableNode: ({ type, data, id, }: TableNodeModel) => React.ReactNode;
@@ -0,0 +1,6 @@
1
+ export * from './interfaces';
2
+ export * from './types';
3
+ export * from './components';
4
+ export * from './helpers';
5
+ export * from './utils';
6
+ export * from './base';