@wulperstudio/editor-render 0.0.4-beta → 0.0.6-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 +74 -2
- package/dist/cjs/dist/components/CheckList/index.d.ts +1 -1
- package/dist/cjs/dist/components/CheckListItem/index.d.ts +2 -2
- package/dist/cjs/dist/components/Code/index.d.ts +1 -1
- package/dist/cjs/dist/components/Container/index.d.ts +3 -3
- 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/Link/index.d.ts +2 -2
- 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/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 +5 -4
- package/dist/cjs/dist/helpers/checklist/index.d.ts +9 -3
- package/dist/cjs/dist/helpers/code/index.d.ts +7 -3
- package/dist/cjs/dist/helpers/delimiter/index.d.ts +7 -3
- package/dist/cjs/dist/helpers/embed/index.d.ts +7 -3
- package/dist/cjs/dist/helpers/header/index.d.ts +7 -3
- package/dist/cjs/dist/helpers/image/index.d.ts +7 -3
- package/dist/cjs/dist/helpers/index.d.ts +12 -12
- package/dist/cjs/dist/helpers/link/index.d.ts +7 -3
- package/dist/cjs/dist/helpers/list/index.d.ts +8 -2
- package/dist/cjs/dist/helpers/paragraph/index.d.ts +7 -3
- package/dist/cjs/dist/helpers/quote/index.d.ts +7 -3
- package/dist/cjs/dist/helpers/raw/index.d.ts +7 -3
- package/dist/cjs/dist/helpers/table/index.d.ts +12 -4
- package/dist/cjs/index.js +118 -202
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/dist/base/index.d.ts +74 -2
- package/dist/esm/dist/components/CheckList/index.d.ts +1 -1
- package/dist/esm/dist/components/CheckListItem/index.d.ts +2 -2
- package/dist/esm/dist/components/Code/index.d.ts +1 -1
- package/dist/esm/dist/components/Container/index.d.ts +3 -3
- 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/Link/index.d.ts +2 -2
- 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/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 +5 -4
- package/dist/esm/dist/helpers/checklist/index.d.ts +9 -3
- package/dist/esm/dist/helpers/code/index.d.ts +7 -3
- package/dist/esm/dist/helpers/delimiter/index.d.ts +7 -3
- package/dist/esm/dist/helpers/embed/index.d.ts +7 -3
- package/dist/esm/dist/helpers/header/index.d.ts +7 -3
- package/dist/esm/dist/helpers/image/index.d.ts +7 -3
- package/dist/esm/dist/helpers/index.d.ts +12 -12
- package/dist/esm/dist/helpers/link/index.d.ts +7 -3
- package/dist/esm/dist/helpers/list/index.d.ts +8 -2
- package/dist/esm/dist/helpers/paragraph/index.d.ts +7 -3
- package/dist/esm/dist/helpers/quote/index.d.ts +7 -3
- package/dist/esm/dist/helpers/raw/index.d.ts +7 -3
- package/dist/esm/dist/helpers/table/index.d.ts +12 -4
- package/dist/esm/index.js +118 -202
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +122 -37
- package/dist/package.json +6 -4
- package/package.json +6 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import react__default
|
|
3
|
+
import react__default from 'react';
|
|
4
4
|
import * as _emotion_styled from '@emotion/styled';
|
|
5
5
|
import * as _mui_system from '@mui/system';
|
|
6
6
|
import * as _mui_material from '@mui/material';
|
|
7
7
|
import { CheckboxProps } from '@mui/material';
|
|
8
|
-
import { DOMNode } from 'html-react-parser';
|
|
9
8
|
|
|
10
9
|
declare type BlockItemType = 'paragraph' | 'header' | 'delimiter' | 'list' | 'image' | 'table' | 'embed' | 'rawTool' | 'quote' | 'code' | 'checklist' | 'linkTool';
|
|
11
10
|
|
|
@@ -124,10 +123,10 @@ interface RootContainerProps$1 {
|
|
|
124
123
|
declare const RootContainer: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme> & RootContainerProps$1, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
125
124
|
|
|
126
125
|
declare type RootContainerProps = react__default.ComponentPropsWithRef<typeof RootContainer>;
|
|
127
|
-
interface
|
|
126
|
+
interface ContainerProps extends RootContainerProps {
|
|
128
127
|
stretched?: boolean;
|
|
129
128
|
}
|
|
130
|
-
declare const Container: (props:
|
|
129
|
+
declare const Container: (props: ContainerProps) => JSX.Element;
|
|
131
130
|
|
|
132
131
|
declare const RootParagraph: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
133
132
|
|
|
@@ -153,8 +152,8 @@ declare const List: ({ ...props }: ListProps) => JSX.Element;
|
|
|
153
152
|
|
|
154
153
|
declare const RootListItem$1: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
155
154
|
|
|
156
|
-
declare type RootItemProps
|
|
157
|
-
interface ItemModel$1 extends RootItemProps
|
|
155
|
+
declare type RootItemProps = react__default.ComponentPropsWithRef<typeof RootListItem$1>;
|
|
156
|
+
interface ItemModel$1 extends RootItemProps {
|
|
158
157
|
}
|
|
159
158
|
declare const ListItem: (props: ItemModel$1) => JSX.Element;
|
|
160
159
|
|
|
@@ -267,8 +266,8 @@ declare const Code: (props: CodeProps) => JSX.Element;
|
|
|
267
266
|
|
|
268
267
|
declare const RootLink: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
|
|
269
268
|
|
|
270
|
-
declare type LinkRootProps = react__default.ComponentPropsWithRef<typeof RootLink>;
|
|
271
|
-
interface LinkProps extends
|
|
269
|
+
declare type LinkRootProps = Omit<react__default.ComponentPropsWithRef<typeof RootLink>, 'children'>;
|
|
270
|
+
interface LinkProps extends LinkRootProps {
|
|
272
271
|
image?: string;
|
|
273
272
|
title?: string;
|
|
274
273
|
description?: string;
|
|
@@ -285,106 +284,192 @@ declare const CheckList: (props: CheckListProps) => JSX.Element;
|
|
|
285
284
|
|
|
286
285
|
declare const RootListItem: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
287
286
|
|
|
288
|
-
declare type
|
|
289
|
-
interface ItemModel extends
|
|
287
|
+
declare type RootCheckListItemProps = react__default.ComponentPropsWithRef<typeof RootListItem>;
|
|
288
|
+
interface ItemModel extends RootCheckListItemProps {
|
|
290
289
|
}
|
|
291
290
|
declare const CheckListItem: (props: ItemModel) => JSX.Element;
|
|
292
291
|
|
|
293
292
|
declare const CheckBox: ({ checked, ...props }: CheckboxProps) => JSX.Element;
|
|
294
293
|
|
|
295
|
-
declare type
|
|
296
|
-
|
|
294
|
+
declare type Props$1 = {
|
|
295
|
+
html: string;
|
|
296
|
+
id: string;
|
|
297
|
+
};
|
|
298
|
+
declare const RecursiveNode: ({ html, id }: Props$1) => JSX.Element;
|
|
297
299
|
|
|
298
|
-
interface
|
|
300
|
+
interface ParagraphNodeProps {
|
|
299
301
|
type: 'paragraph';
|
|
300
302
|
data: DataParagraph;
|
|
301
303
|
id: string;
|
|
304
|
+
Container?: RootContainerProps;
|
|
305
|
+
Paragraph?: ParagraphRootProps;
|
|
302
306
|
}
|
|
303
|
-
declare const ParagraphNode: ({ type, data, id, }:
|
|
307
|
+
declare const ParagraphNode: ({ type, data, id, Container, Paragraph, }: ParagraphNodeProps) => JSX.Element;
|
|
304
308
|
|
|
305
|
-
interface
|
|
309
|
+
interface HeaderNodeProps {
|
|
306
310
|
type: 'header';
|
|
307
311
|
data: DataHeader;
|
|
308
312
|
id: string;
|
|
313
|
+
Container?: RootContainerProps;
|
|
314
|
+
Header?: HeaderRootProps;
|
|
309
315
|
}
|
|
310
|
-
declare const HeaderNode: ({ type, data, id, }:
|
|
316
|
+
declare const HeaderNode: ({ type, data, id, Container, Header, }: HeaderNodeProps) => JSX.Element;
|
|
311
317
|
|
|
312
318
|
interface ListNodeModel {
|
|
313
319
|
type: 'list';
|
|
314
320
|
data: DataList;
|
|
315
321
|
id: string;
|
|
316
322
|
tunes?: any;
|
|
323
|
+
Container?: RootContainerProps;
|
|
324
|
+
List?: ListRootProps;
|
|
325
|
+
Item?: RootItemProps;
|
|
317
326
|
}
|
|
318
|
-
declare const ListNode: ({ type, data, id, tunes, }: ListNodeModel) =>
|
|
327
|
+
declare const ListNode: ({ type, data, id, tunes, List, Item }: ListNodeModel) => JSX.Element;
|
|
319
328
|
|
|
320
|
-
interface
|
|
329
|
+
interface ImageNodeProps {
|
|
321
330
|
type: 'image';
|
|
322
331
|
data: DataImage;
|
|
323
332
|
id: string;
|
|
333
|
+
Container?: RootContainerProps;
|
|
334
|
+
Image?: ImageRootProps;
|
|
324
335
|
}
|
|
325
|
-
declare const ImageNode: ({ type, data, id, }:
|
|
336
|
+
declare const ImageNode: ({ type, data, id, Container, Image }: ImageNodeProps) => JSX.Element;
|
|
326
337
|
|
|
327
|
-
interface
|
|
338
|
+
interface TableNodeProps {
|
|
328
339
|
type: 'table';
|
|
329
340
|
data: DataTable;
|
|
330
341
|
id: string;
|
|
342
|
+
Container?: RootContainerProps;
|
|
343
|
+
Table?: TableRootProps;
|
|
344
|
+
Row?: TableRowRootProps;
|
|
345
|
+
Cell?: TableCellRootProps;
|
|
331
346
|
}
|
|
332
|
-
declare const TableNode: ({ type, data, id, }:
|
|
347
|
+
declare const TableNode: ({ type, data, id, Container }: TableNodeProps) => JSX.Element;
|
|
333
348
|
|
|
334
|
-
interface
|
|
349
|
+
interface DelimiterNodeProps {
|
|
335
350
|
type: 'delimiter';
|
|
336
351
|
data: DataDelimiter;
|
|
337
352
|
id: string;
|
|
353
|
+
Delimiter?: DelimiterRootProps;
|
|
354
|
+
Container?: RootContainerProps;
|
|
338
355
|
}
|
|
339
|
-
declare const DelimiterNode: ({ type, id, }:
|
|
356
|
+
declare const DelimiterNode: ({ type, id, Delimiter, Container }: DelimiterNodeProps) => JSX.Element;
|
|
340
357
|
|
|
341
|
-
interface
|
|
358
|
+
interface EmbedNodeProps {
|
|
342
359
|
type: 'embed';
|
|
343
360
|
data: DataEmbed;
|
|
344
361
|
id: string;
|
|
362
|
+
Container?: RootContainerProps;
|
|
363
|
+
Embed?: EmbedRootProps;
|
|
345
364
|
}
|
|
346
|
-
declare const EmbedNode: ({ type, data, id, }:
|
|
365
|
+
declare const EmbedNode: ({ type, data, id, Container, Embed }: EmbedNodeProps) => JSX.Element;
|
|
347
366
|
|
|
348
|
-
interface
|
|
367
|
+
interface RawNodeProps {
|
|
349
368
|
type: 'rawTool';
|
|
350
369
|
data: DataRawTool;
|
|
351
370
|
id: string;
|
|
371
|
+
Container?: RootContainerProps;
|
|
372
|
+
Raw?: RawRootProps;
|
|
352
373
|
}
|
|
353
|
-
declare const RawNode: ({ type, data, id }:
|
|
374
|
+
declare const RawNode: ({ type, data, id, Container, Raw }: RawNodeProps) => JSX.Element;
|
|
354
375
|
|
|
355
|
-
interface
|
|
376
|
+
interface QuoteNodeProps {
|
|
356
377
|
type: 'quote';
|
|
357
378
|
data: DataQuote;
|
|
358
379
|
id: string;
|
|
380
|
+
Container?: RootContainerProps;
|
|
381
|
+
Quote?: QuoteRootProps;
|
|
359
382
|
}
|
|
360
|
-
declare const QuoteNode: ({ type, data, id, }:
|
|
383
|
+
declare const QuoteNode: ({ type, data, id, Container, Quote, }: QuoteNodeProps) => JSX.Element;
|
|
361
384
|
|
|
362
|
-
interface
|
|
385
|
+
interface CodeNodeProps {
|
|
363
386
|
type: 'code';
|
|
364
387
|
data: DataCodeLang;
|
|
365
388
|
id: string;
|
|
389
|
+
Container?: RootContainerProps;
|
|
390
|
+
Code?: CodeRootProps;
|
|
366
391
|
}
|
|
367
|
-
declare const CodeNode: ({ type, data, id }:
|
|
392
|
+
declare const CodeNode: ({ type, data, id, Container, Code, }: CodeNodeProps) => JSX.Element;
|
|
368
393
|
|
|
369
|
-
interface
|
|
394
|
+
interface LinkNodeProps {
|
|
370
395
|
type: 'linkTool';
|
|
371
396
|
data: DataLinkTool;
|
|
372
397
|
id: string;
|
|
398
|
+
Container?: RootContainerProps;
|
|
399
|
+
Link?: LinkRootProps;
|
|
373
400
|
}
|
|
374
|
-
declare const LinkNode: ({ type, data, id, }:
|
|
401
|
+
declare const LinkNode: ({ type, data, id, Container, Link }: LinkNodeProps) => JSX.Element;
|
|
375
402
|
|
|
376
|
-
interface
|
|
403
|
+
interface CheckListNodeProps {
|
|
377
404
|
type: 'checklist';
|
|
378
405
|
data: DataCheckList;
|
|
379
406
|
id: string;
|
|
380
407
|
tunes?: any;
|
|
408
|
+
Container?: RootContainerProps;
|
|
409
|
+
CheckList?: CheckListRootProps;
|
|
410
|
+
Item?: RootCheckListItemProps;
|
|
381
411
|
}
|
|
382
|
-
declare const CheckListNode: ({ type, data, id, tunes, }:
|
|
412
|
+
declare const CheckListNode: ({ type, data, id, tunes, Container, CheckList, Item, }: CheckListNodeProps) => JSX.Element;
|
|
383
413
|
|
|
384
414
|
declare const PurifyHtml: (html: string) => string;
|
|
385
415
|
declare const ForkIdWithType: (id: string, type: string) => string;
|
|
386
416
|
declare const getFlexBasis: (columns: number, gap: number) => string;
|
|
387
417
|
|
|
388
|
-
declare
|
|
418
|
+
declare type Props = {
|
|
419
|
+
value: EditorDataModel;
|
|
420
|
+
ParagraphSlot?: {
|
|
421
|
+
Container?: RootContainerProps;
|
|
422
|
+
Paragraph?: ParagraphRootProps;
|
|
423
|
+
};
|
|
424
|
+
HeaderSlot?: {
|
|
425
|
+
Container?: RootContainerProps;
|
|
426
|
+
Header?: HeaderRootProps;
|
|
427
|
+
};
|
|
428
|
+
DelimiterSlot?: {
|
|
429
|
+
Container?: RootContainerProps;
|
|
430
|
+
Delimiter?: DelimiterRootProps;
|
|
431
|
+
};
|
|
432
|
+
ListSlot?: {
|
|
433
|
+
Container?: RootContainerProps;
|
|
434
|
+
List?: ListRootProps;
|
|
435
|
+
Item?: RootItemProps;
|
|
436
|
+
};
|
|
437
|
+
ImageSlot?: {
|
|
438
|
+
Container?: RootContainerProps;
|
|
439
|
+
Image?: ImageRootProps;
|
|
440
|
+
};
|
|
441
|
+
TableSlot?: {
|
|
442
|
+
Container?: RootContainerProps;
|
|
443
|
+
Table?: TableRootProps;
|
|
444
|
+
Row?: TableRowRootProps;
|
|
445
|
+
Cell?: TableCellRootProps;
|
|
446
|
+
};
|
|
447
|
+
EmbedSlot?: {
|
|
448
|
+
Container?: RootContainerProps;
|
|
449
|
+
Embed?: EmbedRootProps;
|
|
450
|
+
};
|
|
451
|
+
RawSlot?: {
|
|
452
|
+
Container?: RootContainerProps;
|
|
453
|
+
Raw?: RawRootProps;
|
|
454
|
+
};
|
|
455
|
+
QuoteSlot?: {
|
|
456
|
+
Container?: RootContainerProps;
|
|
457
|
+
Quote?: QuoteRootProps;
|
|
458
|
+
};
|
|
459
|
+
CodeSlot?: {
|
|
460
|
+
Container?: RootContainerProps;
|
|
461
|
+
Code?: CodeRootProps;
|
|
462
|
+
};
|
|
463
|
+
LinkSlot?: {
|
|
464
|
+
Container?: RootContainerProps;
|
|
465
|
+
Link?: LinkRootProps;
|
|
466
|
+
};
|
|
467
|
+
CheckListSlot?: {
|
|
468
|
+
Container?: RootContainerProps;
|
|
469
|
+
CheckList?: CheckListRootProps;
|
|
470
|
+
Item?: RootCheckListItemProps;
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
declare const BaseNodesEditor: ({ value, ParagraphSlot, HeaderSlot, DelimiterSlot, ListSlot, ImageSlot, TableSlot, EmbedSlot, RawSlot, QuoteSlot, CodeSlot, LinkSlot, CheckListSlot, }: Props) => void;
|
|
389
474
|
|
|
390
|
-
export { BlockCheckListModel, BlockCodeModel, BlockDelimiterModel, BlockEmbedModel, BlockHeaderModel, BlockImageModel, BlockItemType, BlockLinkToolModel, BlockListModel, BlockParagraphModel, BlockQuoteModel, BlockRawToolModel, BlockTableModel, CheckListNode, CheckListNodeModel, CodeNode, CodeNodeModel, DataCheckList, DataChecklistItem, DataCodeLang, DataDelimiter, DataEmbed, DataHeader, DataImage, DataLinkTool, DataList, DataMetaLink, DataParagraph, DataQuote, DataRawTool, DataTable, DelimiterNode, 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, EmbedNodeModel, ForkIdWithType, HeaderNode, HeaderNodeModel, ImageNode, ImageNodeModel, LinkNode, LinkNodeModel, ListNode, ListNodeModel, ParagraphNode, ParagraphNodeModel, PurifyHtml, QuoteNode, QuoteNodeModel, RawNode, RawNodeModel, RecursiveNode, TableNode, TableNodeModel, Tune,
|
|
475
|
+
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wulperstudio/editor-render",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6-beta",
|
|
4
4
|
"author": "@wulperstudio",
|
|
5
5
|
"repository": "https://github.com/WulperStudio/editor-render.git",
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"test:lint": "eslint '*/**/*.{ts,tsx}' || eslint src\\**\\*.{ts,tsx} "
|
|
10
10
|
},
|
|
11
11
|
"peerDependencies": {
|
|
12
|
-
"react": "^17.0.0 || ^18.0.0",
|
|
13
|
-
"react-dom": "^17.0.0 || ^18.0.0",
|
|
14
12
|
"@types/react": "^17.0.0 || ^18.0.0",
|
|
15
|
-
"@types/react-dom": "^17.0.0 || ^18.0.0"
|
|
13
|
+
"@types/react-dom": "^17.0.0 || ^18.0.0",
|
|
14
|
+
"react": "^17.0.0 || ^18.0.0",
|
|
15
|
+
"react-dom": "^17.0.0 || ^18.0.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@emotion/react": "^11.9.0",
|
|
@@ -36,6 +36,8 @@
|
|
|
36
36
|
"eslint-plugin-import": "^2.25.2",
|
|
37
37
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
38
38
|
"eslint-plugin-react": "^7.26.1",
|
|
39
|
+
"react": "^18.2.0",
|
|
40
|
+
"react-dom": "^18.2.0",
|
|
39
41
|
"rollup": "^2.75.5",
|
|
40
42
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
41
43
|
"rollup-plugin-dts": "^4.2.2",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wulperstudio/editor-render",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6-beta",
|
|
4
4
|
"author": "@wulperstudio",
|
|
5
5
|
"repository": "https://github.com/WulperStudio/editor-render.git",
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"test:lint": "eslint '*/**/*.{ts,tsx}' || eslint src\\**\\*.{ts,tsx} "
|
|
10
10
|
},
|
|
11
11
|
"peerDependencies": {
|
|
12
|
-
"react": "^17.0.0 || ^18.0.0",
|
|
13
|
-
"react-dom": "^17.0.0 || ^18.0.0",
|
|
14
12
|
"@types/react": "^17.0.0 || ^18.0.0",
|
|
15
|
-
"@types/react-dom": "^17.0.0 || ^18.0.0"
|
|
13
|
+
"@types/react-dom": "^17.0.0 || ^18.0.0",
|
|
14
|
+
"react": "^17.0.0 || ^18.0.0",
|
|
15
|
+
"react-dom": "^17.0.0 || ^18.0.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@emotion/react": "^11.9.0",
|
|
@@ -36,6 +36,8 @@
|
|
|
36
36
|
"eslint-plugin-import": "^2.25.2",
|
|
37
37
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
38
38
|
"eslint-plugin-react": "^7.26.1",
|
|
39
|
+
"react": "^18.2.0",
|
|
40
|
+
"react-dom": "^18.2.0",
|
|
39
41
|
"rollup": "^2.75.5",
|
|
40
42
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
41
43
|
"rollup-plugin-dts": "^4.2.2",
|