@pega/cosmos-react-rte 2.0.0-dev.2.1 → 2.0.0-dev.20.0
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/lib/components/RichTextEditor/DecoratorComponents/CodeBlock.d.ts.map +1 -1
- package/lib/components/RichTextEditor/DecoratorComponents/CodeBlock.js +3 -3
- package/lib/components/RichTextEditor/DecoratorComponents/CodeBlock.js.map +1 -1
- package/lib/components/RichTextEditor/DecoratorComponents/Image.d.ts.map +1 -1
- package/lib/components/RichTextEditor/DecoratorComponents/Image.js +2 -3
- package/lib/components/RichTextEditor/DecoratorComponents/Image.js.map +1 -1
- package/lib/components/RichTextEditor/DecoratorComponents/Link.d.ts.map +1 -1
- package/lib/components/RichTextEditor/DecoratorComponents/Link.js +2 -2
- package/lib/components/RichTextEditor/DecoratorComponents/Link.js.map +1 -1
- package/lib/components/RichTextEditor/DecoratorComponents/Table.d.ts +2 -0
- package/lib/components/RichTextEditor/DecoratorComponents/Table.d.ts.map +1 -1
- package/lib/components/RichTextEditor/DecoratorComponents/Table.js +10 -8
- package/lib/components/RichTextEditor/DecoratorComponents/Table.js.map +1 -1
- package/lib/components/RichTextEditor/RichTextEditor.context.d.ts +3 -3
- package/lib/components/RichTextEditor/RichTextEditor.context.d.ts.map +1 -1
- package/lib/components/RichTextEditor/RichTextEditor.context.js +1 -1
- package/lib/components/RichTextEditor/RichTextEditor.context.js.map +1 -1
- package/lib/components/RichTextEditor/RichTextEditor.d.ts.map +1 -1
- package/lib/components/RichTextEditor/RichTextEditor.js +103 -75
- package/lib/components/RichTextEditor/RichTextEditor.js.map +1 -1
- package/lib/components/RichTextEditor/RichTextEditor.styles.d.ts +3 -0
- package/lib/components/RichTextEditor/RichTextEditor.styles.d.ts.map +1 -1
- package/lib/components/RichTextEditor/RichTextEditor.styles.js +121 -51
- package/lib/components/RichTextEditor/RichTextEditor.styles.js.map +1 -1
- package/lib/components/RichTextEditor/RichTextEditor.types.d.ts +41 -13
- package/lib/components/RichTextEditor/RichTextEditor.types.d.ts.map +1 -1
- package/lib/components/RichTextEditor/RichTextEditor.types.js.map +1 -1
- package/lib/components/RichTextEditor/RichTextViewer.d.ts.map +1 -1
- package/lib/components/RichTextEditor/RichTextViewer.js +21 -12
- package/lib/components/RichTextEditor/RichTextViewer.js.map +1 -1
- package/lib/components/RichTextEditor/RichTextViewer.types.d.ts +3 -1
- package/lib/components/RichTextEditor/RichTextViewer.types.d.ts.map +1 -1
- package/lib/components/RichTextEditor/RichTextViewer.types.js.map +1 -1
- package/lib/components/RichTextEditor/Toolbar/AnchorButton.d.ts.map +1 -1
- package/lib/components/RichTextEditor/Toolbar/AnchorButton.js +50 -59
- package/lib/components/RichTextEditor/Toolbar/AnchorButton.js.map +1 -1
- package/lib/components/RichTextEditor/Toolbar/ImageButton.d.ts.map +1 -1
- package/lib/components/RichTextEditor/Toolbar/ImageButton.js +10 -16
- package/lib/components/RichTextEditor/Toolbar/ImageButton.js.map +1 -1
- package/lib/components/RichTextEditor/Toolbar/IndentButton.d.ts.map +1 -1
- package/lib/components/RichTextEditor/Toolbar/IndentButton.js +6 -4
- package/lib/components/RichTextEditor/Toolbar/IndentButton.js.map +1 -1
- package/lib/components/RichTextEditor/Toolbar/TableButton.d.ts.map +1 -1
- package/lib/components/RichTextEditor/Toolbar/TableButton.js +6 -5
- package/lib/components/RichTextEditor/Toolbar/TableButton.js.map +1 -1
- package/lib/components/RichTextEditor/Toolbar/TextSelect.d.ts.map +1 -1
- package/lib/components/RichTextEditor/Toolbar/TextSelect.js +50 -35
- package/lib/components/RichTextEditor/Toolbar/TextSelect.js.map +1 -1
- package/lib/components/RichTextEditor/Toolbar/Toolbar.d.ts.map +1 -1
- package/lib/components/RichTextEditor/Toolbar/Toolbar.js +18 -35
- package/lib/components/RichTextEditor/Toolbar/Toolbar.js.map +1 -1
- package/lib/components/RichTextEditor/Toolbar/ToolbarButton.d.ts.map +1 -1
- package/lib/components/RichTextEditor/Toolbar/ToolbarButton.js +7 -8
- package/lib/components/RichTextEditor/Toolbar/ToolbarButton.js.map +1 -1
- package/lib/components/RichTextEditor/utils/EditorCommands.d.ts +9 -1
- package/lib/components/RichTextEditor/utils/EditorCommands.d.ts.map +1 -1
- package/lib/components/RichTextEditor/utils/EditorCommands.js +130 -17
- package/lib/components/RichTextEditor/utils/EditorCommands.js.map +1 -1
- package/lib/components/RichTextEditor/utils/ListCommands.js +10 -14
- package/lib/components/RichTextEditor/utils/ListCommands.js.map +1 -1
- package/lib/components/RichTextEditor/utils/htmlConverter.d.ts +2 -1
- package/lib/components/RichTextEditor/utils/htmlConverter.d.ts.map +1 -1
- package/lib/components/RichTextEditor/utils/htmlConverter.js +67 -28
- package/lib/components/RichTextEditor/utils/htmlConverter.js.map +1 -1
- package/lib/components/RichTextEditor/utils/interactionRenderer.d.ts +12 -0
- package/lib/components/RichTextEditor/utils/interactionRenderer.d.ts.map +1 -0
- package/lib/components/RichTextEditor/utils/interactionRenderer.js +105 -0
- package/lib/components/RichTextEditor/utils/interactionRenderer.js.map +1 -0
- package/lib/components/RichTextEditor/utils/markdownConverter.d.ts +2 -0
- package/lib/components/RichTextEditor/utils/markdownConverter.d.ts.map +1 -1
- package/lib/components/RichTextEditor/utils/markdownConverter.js +30 -94
- package/lib/components/RichTextEditor/utils/markdownConverter.js.map +1 -1
- package/lib/components/RichTextEditor/utils/renderers.d.ts.map +1 -1
- package/lib/components/RichTextEditor/utils/renderers.js +26 -25
- package/lib/components/RichTextEditor/utils/renderers.js.map +1 -1
- package/lib/components/RichTextEditor/utils/search.d.ts.map +1 -1
- package/lib/components/RichTextEditor/utils/search.js +7 -3
- package/lib/components/RichTextEditor/utils/search.js.map +1 -1
- package/lib/components/RichTextEditor/utils/slateConverter.d.ts.map +1 -1
- package/lib/components/RichTextEditor/utils/slateConverter.js +1 -0
- package/lib/components/RichTextEditor/utils/slateConverter.js.map +1 -1
- package/package.json +19 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pega/cosmos-react-rte",
|
|
3
|
-
"version": "2.0.0-dev.
|
|
3
|
+
"version": "2.0.0-dev.20.0",
|
|
4
4
|
"author": "Pegasystems",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"repository": {
|
|
@@ -20,30 +20,32 @@
|
|
|
20
20
|
"build": "tsc -b"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
+
"@pega/cosmos-react-core": "2.0.0-dev.20.0",
|
|
24
|
+
"@popperjs/core": "^2.9.2",
|
|
25
|
+
"dompurify": "^2.3.1",
|
|
23
26
|
"marked": "^2.0.3",
|
|
24
27
|
"parse5": "^6.0.1",
|
|
25
|
-
"@pega/cosmos-react-core": "2.0.0-dev.2.1",
|
|
26
28
|
"polished": "^4.1.0",
|
|
27
|
-
"
|
|
28
|
-
"react": "^16.
|
|
29
|
-
"
|
|
30
|
-
"slate": "^0.
|
|
31
|
-
"slate-react": "^0.
|
|
29
|
+
"react": "^16.14.0 || ^17.0.0",
|
|
30
|
+
"react-dom": "^16.14.0 || ^17.0.0",
|
|
31
|
+
"slate": "^0.65.3",
|
|
32
|
+
"slate-history": "^0.65.3",
|
|
33
|
+
"slate-react": "^0.65.3",
|
|
32
34
|
"styled-components": "^5.2.0"
|
|
33
35
|
},
|
|
34
36
|
"devDependencies": {
|
|
35
|
-
"@storybook/addon-a11y": "^6.
|
|
36
|
-
"@storybook/addon-actions": "^6.
|
|
37
|
-
"@storybook/addon-knobs": "^6.
|
|
38
|
-
"@storybook/addon-storysource": "^6.
|
|
39
|
-
"@storybook/addon-toolbars": "^6.
|
|
40
|
-
"@storybook/addons": "^6.
|
|
41
|
-
"@storybook/react": "^6.
|
|
42
|
-
"@storybook/theming": "^6.
|
|
37
|
+
"@storybook/addon-a11y": "^6.3.8",
|
|
38
|
+
"@storybook/addon-actions": "^6.3.8",
|
|
39
|
+
"@storybook/addon-knobs": "^6.3.1",
|
|
40
|
+
"@storybook/addon-storysource": "^6.3.8",
|
|
41
|
+
"@storybook/addon-toolbars": "^6.3.8",
|
|
42
|
+
"@storybook/addons": "^6.3.8",
|
|
43
|
+
"@storybook/react": "^6.3.8",
|
|
44
|
+
"@storybook/theming": "^6.3.8",
|
|
45
|
+
"@types/dompurify": "^2.2.3",
|
|
43
46
|
"@types/marked": "2.0.2",
|
|
44
47
|
"@types/parse5": "^6.0.0",
|
|
45
48
|
"enzyme": "^3.11.0",
|
|
46
|
-
"
|
|
47
|
-
"typescript": "~4.3.2"
|
|
49
|
+
"typescript": "~4.5.2"
|
|
48
50
|
}
|
|
49
51
|
}
|