@pega/cosmos-react-rte 2.0.0 → 2.1.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.
Files changed (44) hide show
  1. package/lib/components/Editor/Editor.context.d.ts +10 -0
  2. package/lib/components/Editor/Editor.context.d.ts.map +1 -0
  3. package/lib/components/Editor/Editor.context.js +10 -0
  4. package/lib/components/Editor/Editor.context.js.map +1 -0
  5. package/lib/components/Editor/Editor.d.ts +10 -0
  6. package/lib/components/Editor/Editor.d.ts.map +1 -0
  7. package/lib/components/Editor/Editor.js +152 -0
  8. package/lib/components/Editor/Editor.js.map +1 -0
  9. package/lib/components/Editor/Editor.types.d.ts +48 -0
  10. package/lib/components/Editor/Editor.types.d.ts.map +1 -0
  11. package/lib/components/Editor/Editor.types.js +2 -0
  12. package/lib/components/Editor/Editor.types.js.map +1 -0
  13. package/lib/components/Editor/Toolbar/AnchorButton.d.ts +10 -0
  14. package/lib/components/Editor/Toolbar/AnchorButton.d.ts.map +1 -0
  15. package/lib/components/Editor/Toolbar/AnchorButton.js +141 -0
  16. package/lib/components/Editor/Toolbar/AnchorButton.js.map +1 -0
  17. package/lib/components/Editor/Toolbar/ImageButton.d.ts +8 -0
  18. package/lib/components/Editor/Toolbar/ImageButton.d.ts.map +1 -0
  19. package/lib/components/Editor/Toolbar/ImageButton.js +30 -0
  20. package/lib/components/Editor/Toolbar/ImageButton.js.map +1 -0
  21. package/lib/components/Editor/Toolbar/TextSelect.d.ts +14 -0
  22. package/lib/components/Editor/Toolbar/TextSelect.d.ts.map +1 -0
  23. package/lib/components/Editor/Toolbar/TextSelect.js +117 -0
  24. package/lib/components/Editor/Toolbar/TextSelect.js.map +1 -0
  25. package/lib/components/Editor/Toolbar/Toolbar.d.ts +13 -0
  26. package/lib/components/Editor/Toolbar/Toolbar.d.ts.map +1 -0
  27. package/lib/components/Editor/Toolbar/Toolbar.js +142 -0
  28. package/lib/components/Editor/Toolbar/Toolbar.js.map +1 -0
  29. package/lib/components/Editor/index.d.ts +4 -0
  30. package/lib/components/Editor/index.d.ts.map +1 -0
  31. package/lib/components/Editor/index.js +3 -0
  32. package/lib/components/Editor/index.js.map +1 -0
  33. package/lib/components/RichTextEditor/RichTextEditor.js +1 -1
  34. package/lib/components/RichTextEditor/RichTextEditor.js.map +1 -1
  35. package/lib/components/RichTextEditor/Toolbar/ToolbarButton.js.map +1 -1
  36. package/lib/components/RichTextEditor/index.d.ts +1 -0
  37. package/lib/components/RichTextEditor/index.d.ts.map +1 -1
  38. package/lib/components/RichTextEditor/index.js +1 -0
  39. package/lib/components/RichTextEditor/index.js.map +1 -1
  40. package/lib/index.d.ts +1 -0
  41. package/lib/index.d.ts.map +1 -1
  42. package/lib/index.js +1 -0
  43. package/lib/index.js.map +1 -1
  44. package/package.json +5 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/cosmos-react-rte",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "author": "Pegasystems",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {
@@ -20,7 +20,7 @@
20
20
  "build": "tsc -b"
21
21
  },
22
22
  "dependencies": {
23
- "@pega/cosmos-react-core": "2.0.0",
23
+ "@pega/cosmos-react-core": "2.1.0",
24
24
  "@popperjs/core": "^2.11.0",
25
25
  "dompurify": "^2.3.1",
26
26
  "marked": "^2.0.3",
@@ -31,7 +31,8 @@
31
31
  "slate": "^0.65.3",
32
32
  "slate-history": "^0.65.3",
33
33
  "slate-react": "^0.65.3",
34
- "styled-components": "^5.2.0"
34
+ "styled-components": "^5.2.0",
35
+ "tinymce": "^5.10.2"
35
36
  },
36
37
  "devDependencies": {
37
38
  "@storybook/addon-a11y": "^6.4.8",
@@ -45,6 +46,7 @@
45
46
  "@types/dompurify": "^2.2.3",
46
47
  "@types/marked": "2.0.2",
47
48
  "@types/parse5": "^6.0.0",
49
+ "@types/tinymce": "^4.6.4",
48
50
  "enzyme": "^3.11.0",
49
51
  "typescript": "~4.5.2"
50
52
  }