@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.
- package/dist/cjs/dist/base/index.d.ts +1 -2
- package/dist/cjs/dist/components/Anchor/index.d.ts +1 -1
- package/dist/cjs/dist/components/Bold/index.d.ts +1 -1
- package/dist/cjs/dist/components/CheckBox/index.d.ts +1 -2
- package/dist/cjs/dist/components/CheckList/index.d.ts +1 -1
- package/dist/cjs/dist/components/CheckListItem/index.d.ts +1 -1
- package/dist/cjs/dist/components/Code/index.d.ts +1 -1
- package/dist/cjs/dist/components/Container/index.d.ts +1 -1
- package/dist/cjs/dist/components/Delimiter/index.d.ts +1 -1
- package/dist/cjs/dist/components/Embed/index.d.ts +1 -1
- package/dist/cjs/dist/components/Header/index.d.ts +1 -1
- package/dist/cjs/dist/components/Image/index.d.ts +1 -1
- package/dist/cjs/dist/components/InlineCode/index.d.ts +1 -1
- package/dist/cjs/dist/components/Italic/index.d.ts +1 -1
- package/dist/cjs/dist/components/Link/index.d.ts +1 -1
- package/dist/cjs/dist/components/List/index.d.ts +1 -1
- package/dist/cjs/dist/components/ListItem/index.d.ts +1 -1
- package/dist/cjs/dist/components/Marker/index.d.ts +1 -1
- package/dist/cjs/dist/components/Paragraph/index.d.ts +1 -1
- package/dist/cjs/dist/components/Quote/index.d.ts +1 -1
- package/dist/cjs/dist/components/Raw/index.d.ts +1 -1
- package/dist/cjs/dist/components/Table/index.d.ts +1 -1
- package/dist/cjs/dist/components/TableCell/index.d.ts +1 -1
- package/dist/cjs/dist/components/TableRow/index.d.ts +1 -1
- package/dist/cjs/dist/helpers/RecursiveNode/index.d.ts +1 -2
- package/dist/cjs/dist/helpers/checklist/index.d.ts +1 -2
- package/dist/cjs/dist/helpers/code/index.d.ts +1 -2
- package/dist/cjs/dist/helpers/delimiter/index.d.ts +1 -2
- package/dist/cjs/dist/helpers/embed/index.d.ts +1 -2
- package/dist/cjs/dist/helpers/header/index.d.ts +1 -2
- package/dist/cjs/dist/helpers/image/index.d.ts +1 -2
- package/dist/cjs/dist/helpers/link/index.d.ts +1 -2
- package/dist/cjs/dist/helpers/list/index.d.ts +1 -2
- package/dist/cjs/dist/helpers/paragraph/index.d.ts +1 -2
- package/dist/cjs/dist/helpers/quote/index.d.ts +1 -2
- package/dist/cjs/dist/helpers/raw/index.d.ts +1 -2
- package/dist/cjs/dist/helpers/table/index.d.ts +1 -2
- package/dist/cjs/dist/interfaces/index.d.ts +3 -1
- package/dist/cjs/index.js +84 -30
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/dist/base/index.d.ts +1 -2
- package/dist/esm/dist/components/Anchor/index.d.ts +1 -1
- package/dist/esm/dist/components/Bold/index.d.ts +1 -1
- package/dist/esm/dist/components/CheckBox/index.d.ts +1 -2
- package/dist/esm/dist/components/CheckList/index.d.ts +1 -1
- package/dist/esm/dist/components/CheckListItem/index.d.ts +1 -1
- package/dist/esm/dist/components/Code/index.d.ts +1 -1
- package/dist/esm/dist/components/Container/index.d.ts +1 -1
- package/dist/esm/dist/components/Delimiter/index.d.ts +1 -1
- package/dist/esm/dist/components/Embed/index.d.ts +1 -1
- package/dist/esm/dist/components/Header/index.d.ts +1 -1
- package/dist/esm/dist/components/Image/index.d.ts +1 -1
- package/dist/esm/dist/components/InlineCode/index.d.ts +1 -1
- package/dist/esm/dist/components/Italic/index.d.ts +1 -1
- package/dist/esm/dist/components/Link/index.d.ts +1 -1
- package/dist/esm/dist/components/List/index.d.ts +1 -1
- package/dist/esm/dist/components/ListItem/index.d.ts +1 -1
- package/dist/esm/dist/components/Marker/index.d.ts +1 -1
- package/dist/esm/dist/components/Paragraph/index.d.ts +1 -1
- package/dist/esm/dist/components/Quote/index.d.ts +1 -1
- package/dist/esm/dist/components/Raw/index.d.ts +1 -1
- package/dist/esm/dist/components/Table/index.d.ts +1 -1
- package/dist/esm/dist/components/TableCell/index.d.ts +1 -1
- package/dist/esm/dist/components/TableRow/index.d.ts +1 -1
- package/dist/esm/dist/helpers/RecursiveNode/index.d.ts +1 -2
- package/dist/esm/dist/helpers/checklist/index.d.ts +1 -2
- package/dist/esm/dist/helpers/code/index.d.ts +1 -2
- package/dist/esm/dist/helpers/delimiter/index.d.ts +1 -2
- package/dist/esm/dist/helpers/embed/index.d.ts +1 -2
- package/dist/esm/dist/helpers/header/index.d.ts +1 -2
- package/dist/esm/dist/helpers/image/index.d.ts +1 -2
- package/dist/esm/dist/helpers/link/index.d.ts +1 -2
- package/dist/esm/dist/helpers/list/index.d.ts +1 -2
- package/dist/esm/dist/helpers/paragraph/index.d.ts +1 -2
- package/dist/esm/dist/helpers/quote/index.d.ts +1 -2
- package/dist/esm/dist/helpers/raw/index.d.ts +1 -2
- package/dist/esm/dist/helpers/table/index.d.ts +1 -2
- package/dist/esm/dist/interfaces/index.d.ts +3 -1
- package/dist/esm/index.js +84 -30
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +41 -38
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
3
|
import * as react from 'react';
|
|
3
4
|
import react__default from 'react';
|
|
4
5
|
import * as _emotion_styled from '@emotion/styled';
|
|
@@ -58,7 +59,9 @@ interface DataEmbed {
|
|
|
58
59
|
caption: string;
|
|
59
60
|
}
|
|
60
61
|
interface DataImage {
|
|
61
|
-
|
|
62
|
+
file: {
|
|
63
|
+
url: string;
|
|
64
|
+
};
|
|
62
65
|
caption: string;
|
|
63
66
|
withBorder: boolean;
|
|
64
67
|
stretched: boolean;
|
|
@@ -126,14 +129,14 @@ declare type RootContainerProps = react__default.ComponentPropsWithRef<typeof Ro
|
|
|
126
129
|
interface ContainerProps extends RootContainerProps {
|
|
127
130
|
stretched?: boolean;
|
|
128
131
|
}
|
|
129
|
-
declare const Container: (props: ContainerProps) => JSX.Element;
|
|
132
|
+
declare const Container: ({ sx, ...props }: ContainerProps) => react_jsx_runtime.JSX.Element;
|
|
130
133
|
|
|
131
134
|
declare const RootParagraph: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
132
135
|
|
|
133
136
|
declare type ParagraphRootProps = react__default.ComponentPropsWithRef<typeof RootParagraph>;
|
|
134
137
|
interface ParagraphProps extends ParagraphRootProps {
|
|
135
138
|
}
|
|
136
|
-
declare const Paragraph: (props: ParagraphProps) => JSX.Element;
|
|
139
|
+
declare const Paragraph: ({ sx, ...props }: ParagraphProps) => react_jsx_runtime.JSX.Element;
|
|
137
140
|
|
|
138
141
|
declare const RootHeader: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
139
142
|
|
|
@@ -141,63 +144,63 @@ declare type HeaderRootProps = react__default.ComponentPropsWithRef<typeof RootH
|
|
|
141
144
|
interface HeaderModel extends HeaderRootProps {
|
|
142
145
|
level: 1 | 2 | 3 | 4 | 5 | 6;
|
|
143
146
|
}
|
|
144
|
-
declare const Header: ({ level, ...props }: HeaderModel) => JSX.Element;
|
|
147
|
+
declare const Header: ({ level, sx, ...props }: HeaderModel) => react_jsx_runtime.JSX.Element;
|
|
145
148
|
|
|
146
149
|
declare const RootList: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
147
150
|
|
|
148
151
|
declare type ListRootProps = react__default.ComponentPropsWithRef<typeof RootList>;
|
|
149
152
|
interface ListProps extends ListRootProps {
|
|
150
153
|
}
|
|
151
|
-
declare const List: ({ ...props }: ListProps) => JSX.Element;
|
|
154
|
+
declare const List: ({ sx, ...props }: ListProps) => react_jsx_runtime.JSX.Element;
|
|
152
155
|
|
|
153
156
|
declare const RootListItem$1: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
154
157
|
|
|
155
158
|
declare type RootItemProps = react__default.ComponentPropsWithRef<typeof RootListItem$1>;
|
|
156
159
|
interface ItemModel$1 extends RootItemProps {
|
|
157
160
|
}
|
|
158
|
-
declare const ListItem: (props: ItemModel$1) => JSX.Element;
|
|
161
|
+
declare const ListItem: ({ sx, ...props }: ItemModel$1) => react_jsx_runtime.JSX.Element;
|
|
159
162
|
|
|
160
163
|
declare const RootInlineCode: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
161
164
|
|
|
162
165
|
declare type InlineCodeRootProps = react__default.ComponentPropsWithRef<typeof RootInlineCode>;
|
|
163
166
|
interface CodeProps$1 extends InlineCodeRootProps {
|
|
164
167
|
}
|
|
165
|
-
declare const InlineCode: (props: CodeProps$1) => JSX.Element;
|
|
168
|
+
declare const InlineCode: ({ sx, ...props }: CodeProps$1) => react_jsx_runtime.JSX.Element;
|
|
166
169
|
|
|
167
170
|
declare const RootBold: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
168
171
|
|
|
169
172
|
declare type BoldRootProps = react__default.ComponentPropsWithRef<typeof RootBold>;
|
|
170
173
|
interface BoldProps extends BoldRootProps {
|
|
171
174
|
}
|
|
172
|
-
declare const Bold: (props: BoldProps) => JSX.Element;
|
|
175
|
+
declare const Bold: ({ sx, ...props }: BoldProps) => react_jsx_runtime.JSX.Element;
|
|
173
176
|
|
|
174
177
|
declare const RootItalic: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
175
178
|
|
|
176
179
|
declare type ItalicRootProps = react__default.ComponentPropsWithRef<typeof RootItalic>;
|
|
177
180
|
interface ItalicProps extends ItalicRootProps {
|
|
178
181
|
}
|
|
179
|
-
declare const Italic: (props: ItalicProps) => JSX.Element;
|
|
182
|
+
declare const Italic: ({ sx, ...props }: ItalicProps) => react_jsx_runtime.JSX.Element;
|
|
180
183
|
|
|
181
184
|
declare const RootMarker: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
182
185
|
|
|
183
186
|
declare type MarkerRootProps = react__default.ComponentPropsWithRef<typeof RootMarker>;
|
|
184
187
|
interface MarkerProps extends MarkerRootProps {
|
|
185
188
|
}
|
|
186
|
-
declare const Marker: (props: MarkerProps) => JSX.Element;
|
|
189
|
+
declare const Marker: ({ sx, ...props }: MarkerProps) => react_jsx_runtime.JSX.Element;
|
|
187
190
|
|
|
188
191
|
declare const RootAnchor: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
|
|
189
192
|
|
|
190
193
|
declare type AnchorRootProps = react__default.ComponentPropsWithRef<typeof RootAnchor>;
|
|
191
194
|
interface AnchorProps extends AnchorRootProps {
|
|
192
195
|
}
|
|
193
|
-
declare const Anchor: (props: AnchorProps) => JSX.Element;
|
|
196
|
+
declare const Anchor: ({ sx, ...props }: AnchorProps) => react_jsx_runtime.JSX.Element;
|
|
194
197
|
|
|
195
198
|
declare const RootDelimiter: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
196
199
|
|
|
197
200
|
declare type DelimiterRootProps = react__default.ComponentPropsWithRef<typeof RootDelimiter>;
|
|
198
201
|
interface DelimiterProps extends Omit<DelimiterRootProps, 'children'> {
|
|
199
202
|
}
|
|
200
|
-
declare const Delimiter: (props: DelimiterProps) => JSX.Element;
|
|
203
|
+
declare const Delimiter: ({ sx, ...props }: DelimiterProps) => react_jsx_runtime.JSX.Element;
|
|
201
204
|
|
|
202
205
|
interface RootProps {
|
|
203
206
|
withBorder?: boolean;
|
|
@@ -213,56 +216,56 @@ interface ImageProps extends ImageRootProps {
|
|
|
213
216
|
stretched?: boolean;
|
|
214
217
|
withBackground?: boolean;
|
|
215
218
|
}
|
|
216
|
-
declare const Image: ({ caption, withBorder, withBackground, stretched, ...props }: ImageProps) => JSX.Element;
|
|
219
|
+
declare const Image: ({ caption, withBorder, withBackground, stretched, sx, ...props }: ImageProps) => react_jsx_runtime.JSX.Element;
|
|
217
220
|
|
|
218
221
|
declare const RootTable: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
219
222
|
|
|
220
223
|
declare type TableRootProps = react__default.ComponentPropsWithRef<typeof RootTable>;
|
|
221
224
|
interface TableProps extends TableRootProps {
|
|
222
225
|
}
|
|
223
|
-
declare const Table: (props: TableProps) => JSX.Element;
|
|
226
|
+
declare const Table: ({ sx, ...props }: TableProps) => react_jsx_runtime.JSX.Element;
|
|
224
227
|
|
|
225
228
|
declare const RootTableRow: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
226
229
|
|
|
227
230
|
declare type TableRowRootProps = react__default.ComponentPropsWithRef<typeof RootTableRow>;
|
|
228
231
|
interface TableRowProps extends TableRowRootProps {
|
|
229
232
|
}
|
|
230
|
-
declare const TableRow: (props: TableRowProps) => JSX.Element;
|
|
233
|
+
declare const TableRow: ({ sx, ...props }: TableRowProps) => react_jsx_runtime.JSX.Element;
|
|
231
234
|
|
|
232
235
|
declare const RootTableCell: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
233
236
|
|
|
234
237
|
declare type TableCellRootProps = react__default.ComponentPropsWithRef<typeof RootTableCell>;
|
|
235
238
|
interface TableCellProps extends TableCellRootProps {
|
|
236
239
|
}
|
|
237
|
-
declare const TableCell: (props: TableCellProps) => JSX.Element;
|
|
240
|
+
declare const TableCell: ({ sx, ...props }: TableCellProps) => react_jsx_runtime.JSX.Element;
|
|
238
241
|
|
|
239
242
|
declare const RootEmbed: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>, {}>;
|
|
240
243
|
|
|
241
244
|
declare type EmbedRootProps = react__default.ComponentPropsWithRef<typeof RootEmbed>;
|
|
242
245
|
interface EmbedProps extends EmbedRootProps {
|
|
243
246
|
}
|
|
244
|
-
declare const Embed: (props: EmbedProps) => JSX.Element;
|
|
247
|
+
declare const Embed: ({ sx, ...props }: EmbedProps) => react_jsx_runtime.JSX.Element;
|
|
245
248
|
|
|
246
249
|
declare const RootRaw: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
247
250
|
|
|
248
251
|
declare type RawRootProps = react__default.ComponentPropsWithRef<typeof RootRaw>;
|
|
249
252
|
interface RawProps extends RawRootProps {
|
|
250
253
|
}
|
|
251
|
-
declare const Raw: (props: RawProps) => JSX.Element;
|
|
254
|
+
declare const Raw: ({ sx, ...props }: RawProps) => react_jsx_runtime.JSX.Element;
|
|
252
255
|
|
|
253
256
|
declare const RootQuote: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.BlockquoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, {}>;
|
|
254
257
|
|
|
255
258
|
declare type QuoteRootProps = react__default.ComponentPropsWithRef<typeof RootQuote>;
|
|
256
259
|
interface QuoteProps extends QuoteRootProps {
|
|
257
260
|
}
|
|
258
|
-
declare const Quote: (props: QuoteProps) => JSX.Element;
|
|
261
|
+
declare const Quote: ({ sx, ...props }: QuoteProps) => react_jsx_runtime.JSX.Element;
|
|
259
262
|
|
|
260
263
|
declare const RootCode: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
261
264
|
|
|
262
265
|
declare type CodeRootProps = react__default.ComponentPropsWithRef<typeof RootCode>;
|
|
263
266
|
interface CodeProps extends CodeRootProps {
|
|
264
267
|
}
|
|
265
|
-
declare const Code: (props: CodeProps) => JSX.Element;
|
|
268
|
+
declare const Code: ({ sx, ...props }: CodeProps) => react_jsx_runtime.JSX.Element;
|
|
266
269
|
|
|
267
270
|
declare const RootLink: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
|
|
268
271
|
|
|
@@ -273,29 +276,29 @@ interface LinkProps extends LinkRootProps {
|
|
|
273
276
|
description?: string;
|
|
274
277
|
siteName?: string;
|
|
275
278
|
}
|
|
276
|
-
declare const Link: ({ id, image, title, description, siteName, ...props }: LinkProps) => JSX.Element;
|
|
279
|
+
declare const Link: ({ id, image, title, description, siteName, sx, ...props }: LinkProps) => react_jsx_runtime.JSX.Element;
|
|
277
280
|
|
|
278
281
|
declare const RootCheckList: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
279
282
|
|
|
280
283
|
declare type CheckListRootProps = react__default.ComponentPropsWithRef<typeof RootCheckList>;
|
|
281
284
|
interface CheckListProps extends CheckListRootProps {
|
|
282
285
|
}
|
|
283
|
-
declare const CheckList: (props: CheckListProps) => JSX.Element;
|
|
286
|
+
declare const CheckList: ({ sx, ...props }: CheckListProps) => react_jsx_runtime.JSX.Element;
|
|
284
287
|
|
|
285
288
|
declare const RootListItem: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
286
289
|
|
|
287
290
|
declare type RootCheckListItemProps = react__default.ComponentPropsWithRef<typeof RootListItem>;
|
|
288
291
|
interface ItemModel extends RootCheckListItemProps {
|
|
289
292
|
}
|
|
290
|
-
declare const CheckListItem: (props: ItemModel) => JSX.Element;
|
|
293
|
+
declare const CheckListItem: ({ sx, ...props }: ItemModel) => react_jsx_runtime.JSX.Element;
|
|
291
294
|
|
|
292
|
-
declare const CheckBox: ({ checked, ...props }: CheckboxProps) => JSX.Element;
|
|
295
|
+
declare const CheckBox: ({ checked, sx, ...props }: CheckboxProps) => react_jsx_runtime.JSX.Element;
|
|
293
296
|
|
|
294
297
|
declare type Props$1 = {
|
|
295
298
|
html: string;
|
|
296
299
|
id: string;
|
|
297
300
|
};
|
|
298
|
-
declare const RecursiveNode: ({ html, id }: Props$1) => JSX.Element;
|
|
301
|
+
declare const RecursiveNode: ({ html, id }: Props$1) => react_jsx_runtime.JSX.Element;
|
|
299
302
|
|
|
300
303
|
interface ParagraphNodeProps {
|
|
301
304
|
type: 'paragraph';
|
|
@@ -304,7 +307,7 @@ interface ParagraphNodeProps {
|
|
|
304
307
|
Container?: RootContainerProps;
|
|
305
308
|
Paragraph?: ParagraphRootProps;
|
|
306
309
|
}
|
|
307
|
-
declare const ParagraphNode: ({ type, data, id, Container, Paragraph, }: ParagraphNodeProps) => JSX.Element;
|
|
310
|
+
declare const ParagraphNode: ({ type, data, id, Container, Paragraph, }: ParagraphNodeProps) => react_jsx_runtime.JSX.Element;
|
|
308
311
|
|
|
309
312
|
interface HeaderNodeProps {
|
|
310
313
|
type: 'header';
|
|
@@ -313,7 +316,7 @@ interface HeaderNodeProps {
|
|
|
313
316
|
Container?: RootContainerProps;
|
|
314
317
|
Header?: HeaderRootProps;
|
|
315
318
|
}
|
|
316
|
-
declare const HeaderNode: ({ type, data, id, Container, Header, }: HeaderNodeProps) => JSX.Element;
|
|
319
|
+
declare const HeaderNode: ({ type, data, id, Container, Header, }: HeaderNodeProps) => react_jsx_runtime.JSX.Element;
|
|
317
320
|
|
|
318
321
|
interface ListNodeModel {
|
|
319
322
|
type: 'list';
|
|
@@ -324,7 +327,7 @@ interface ListNodeModel {
|
|
|
324
327
|
List?: ListRootProps;
|
|
325
328
|
Item?: RootItemProps;
|
|
326
329
|
}
|
|
327
|
-
declare const ListNode: ({ type, data, id, tunes, Container, List, Item }: ListNodeModel) => JSX.Element;
|
|
330
|
+
declare const ListNode: ({ type, data, id, tunes, Container, List, Item }: ListNodeModel) => react_jsx_runtime.JSX.Element;
|
|
328
331
|
|
|
329
332
|
interface ImageNodeProps {
|
|
330
333
|
type: 'image';
|
|
@@ -333,7 +336,7 @@ interface ImageNodeProps {
|
|
|
333
336
|
Container?: RootContainerProps;
|
|
334
337
|
Image?: ImageRootProps;
|
|
335
338
|
}
|
|
336
|
-
declare const ImageNode: ({ type, data, id, Container, Image }: ImageNodeProps) => JSX.Element;
|
|
339
|
+
declare const ImageNode: ({ type, data, id, Container, Image }: ImageNodeProps) => react_jsx_runtime.JSX.Element;
|
|
337
340
|
|
|
338
341
|
interface TableNodeProps {
|
|
339
342
|
type: 'table';
|
|
@@ -344,7 +347,7 @@ interface TableNodeProps {
|
|
|
344
347
|
Row?: TableRowRootProps;
|
|
345
348
|
Cell?: TableCellRootProps;
|
|
346
349
|
}
|
|
347
|
-
declare const TableNode: ({ type, data, id, Container }: TableNodeProps) => JSX.Element;
|
|
350
|
+
declare const TableNode: ({ type, data, id, Container }: TableNodeProps) => react_jsx_runtime.JSX.Element;
|
|
348
351
|
|
|
349
352
|
interface DelimiterNodeProps {
|
|
350
353
|
type: 'delimiter';
|
|
@@ -353,7 +356,7 @@ interface DelimiterNodeProps {
|
|
|
353
356
|
Delimiter?: DelimiterRootProps;
|
|
354
357
|
Container?: RootContainerProps;
|
|
355
358
|
}
|
|
356
|
-
declare const DelimiterNode: ({ type, id, Delimiter, Container }: DelimiterNodeProps) => JSX.Element;
|
|
359
|
+
declare const DelimiterNode: ({ type, id, Delimiter, Container }: DelimiterNodeProps) => react_jsx_runtime.JSX.Element;
|
|
357
360
|
|
|
358
361
|
interface EmbedNodeProps {
|
|
359
362
|
type: 'embed';
|
|
@@ -362,7 +365,7 @@ interface EmbedNodeProps {
|
|
|
362
365
|
Container?: RootContainerProps;
|
|
363
366
|
Embed?: EmbedRootProps;
|
|
364
367
|
}
|
|
365
|
-
declare const EmbedNode: ({ type, data, id, Container, Embed }: EmbedNodeProps) => JSX.Element;
|
|
368
|
+
declare const EmbedNode: ({ type, data, id, Container, Embed }: EmbedNodeProps) => react_jsx_runtime.JSX.Element;
|
|
366
369
|
|
|
367
370
|
interface RawNodeProps {
|
|
368
371
|
type: 'rawTool';
|
|
@@ -371,7 +374,7 @@ interface RawNodeProps {
|
|
|
371
374
|
Container?: RootContainerProps;
|
|
372
375
|
Raw?: RawRootProps;
|
|
373
376
|
}
|
|
374
|
-
declare const RawNode: ({ type, data, id, Container, Raw }: RawNodeProps) => JSX.Element;
|
|
377
|
+
declare const RawNode: ({ type, data, id, Container, Raw }: RawNodeProps) => react_jsx_runtime.JSX.Element;
|
|
375
378
|
|
|
376
379
|
interface QuoteNodeProps {
|
|
377
380
|
type: 'quote';
|
|
@@ -380,7 +383,7 @@ interface QuoteNodeProps {
|
|
|
380
383
|
Container?: RootContainerProps;
|
|
381
384
|
Quote?: QuoteRootProps;
|
|
382
385
|
}
|
|
383
|
-
declare const QuoteNode: ({ type, data, id, Container, Quote, }: QuoteNodeProps) => JSX.Element;
|
|
386
|
+
declare const QuoteNode: ({ type, data, id, Container, Quote, }: QuoteNodeProps) => react_jsx_runtime.JSX.Element;
|
|
384
387
|
|
|
385
388
|
interface CodeNodeProps {
|
|
386
389
|
type: 'code';
|
|
@@ -389,7 +392,7 @@ interface CodeNodeProps {
|
|
|
389
392
|
Container?: RootContainerProps;
|
|
390
393
|
Code?: CodeRootProps;
|
|
391
394
|
}
|
|
392
|
-
declare const CodeNode: ({ type, data, id, Container, Code, }: CodeNodeProps) => JSX.Element;
|
|
395
|
+
declare const CodeNode: ({ type, data, id, Container, Code, }: CodeNodeProps) => react_jsx_runtime.JSX.Element;
|
|
393
396
|
|
|
394
397
|
interface LinkNodeProps {
|
|
395
398
|
type: 'linkTool';
|
|
@@ -398,7 +401,7 @@ interface LinkNodeProps {
|
|
|
398
401
|
Container?: RootContainerProps;
|
|
399
402
|
Link?: LinkRootProps;
|
|
400
403
|
}
|
|
401
|
-
declare const LinkNode: ({ type, data, id, Container, Link }: LinkNodeProps) => JSX.Element;
|
|
404
|
+
declare const LinkNode: ({ type, data, id, Container, Link }: LinkNodeProps) => react_jsx_runtime.JSX.Element;
|
|
402
405
|
|
|
403
406
|
interface CheckListNodeProps {
|
|
404
407
|
type: 'checklist';
|
|
@@ -409,7 +412,7 @@ interface CheckListNodeProps {
|
|
|
409
412
|
CheckList?: CheckListRootProps;
|
|
410
413
|
Item?: RootCheckListItemProps;
|
|
411
414
|
}
|
|
412
|
-
declare const CheckListNode: ({ type, data, id, tunes, Container, CheckList, Item, }: CheckListNodeProps) => JSX.Element;
|
|
415
|
+
declare const CheckListNode: ({ type, data, id, tunes, Container, CheckList, Item, }: CheckListNodeProps) => react_jsx_runtime.JSX.Element;
|
|
413
416
|
|
|
414
417
|
declare const PurifyHtml: (html: string) => string;
|
|
415
418
|
declare const ForkIdWithType: (id: string, type: string) => string;
|
|
@@ -470,6 +473,6 @@ declare type Props = {
|
|
|
470
473
|
Item?: RootCheckListItemProps;
|
|
471
474
|
};
|
|
472
475
|
};
|
|
473
|
-
declare const BaseNodesEditor: ({ value, ParagraphSlot, HeaderSlot, DelimiterSlot, ListSlot, ImageSlot, TableSlot, EmbedSlot, RawSlot, QuoteSlot, CodeSlot, LinkSlot, CheckListSlot, }: Props) => JSX.Element;
|
|
476
|
+
declare const BaseNodesEditor: ({ value, ParagraphSlot, HeaderSlot, DelimiterSlot, ListSlot, ImageSlot, TableSlot, EmbedSlot, RawSlot, QuoteSlot, CodeSlot, LinkSlot, CheckListSlot, }: Props) => react_jsx_runtime.JSX.Element;
|
|
474
477
|
|
|
475
478
|
export { BaseNodesEditor, BlockCheckListModel, BlockCodeModel, BlockDelimiterModel, BlockEmbedModel, BlockHeaderModel, BlockImageModel, BlockItemType, BlockLinkToolModel, BlockListModel, BlockParagraphModel, BlockQuoteModel, BlockRawToolModel, BlockTableModel, CheckListNode, CheckListNodeProps as CheckListNodeModel, CodeNode, CodeNodeProps as CodeNodeModel, DataCheckList, DataChecklistItem, DataCodeLang, DataDelimiter, DataEmbed, DataHeader, DataImage, DataLinkTool, DataList, DataMetaLink, DataParagraph, DataQuote, DataRawTool, DataTable, DelimiterNode, DelimiterNodeProps as DelimiterNodeModel, Anchor as EditorAnchor, Bold as EditorBold, CheckBox as EditorCheckBox, CheckList as EditorCheckList, CheckListItem as EditorCheckListItem, Code as EditorCode, Container as EditorContainer, EditorDataModel, Delimiter as EditorDelimiter, Embed as EditorEmbed, Header as EditorHeader, Image as EditorImage, InlineCode as EditorInlineCode, Italic as EditorItalic, Link as EditorLink, List as EditorList, ListItem as EditorListItem, Marker as EditorMarker, Paragraph as EditorParagraph, Quote as EditorQuote, Raw as EditorRaw, Table as EditorTable, TableCell as EditorTableCell, TableRow as EditorTableRow, EmbedNode, EmbedNodeProps as EmbedNodeModel, ForkIdWithType, HeaderNode, HeaderNodeProps as HeaderNodeModel, ImageNode, ImageNodeProps as ImageNodeModel, LinkNode, LinkNodeProps as LinkNodeModel, ListNode, ListNodeModel, ParagraphNode, ParagraphNodeProps as ParagraphNodeModel, PurifyHtml, QuoteNode, QuoteNodeProps as QuoteNodeModel, RawNode, RawNodeProps as RawNodeModel, RecursiveNode, TableNode, TableNodeProps as TableNodeModel, Tune, getFlexBasis };
|
package/dist/package.json
CHANGED