@squiz/formatted-text-editor 2.0.1-rc.0 → 2.0.1-rc.2
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/CHANGELOG.md
CHANGED
@@ -1,18 +1,6 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
##
|
4
|
-
|
5
|
-
### Patch Changes
|
6
|
-
|
7
|
-
- version bump for updated rb styles
|
8
|
-
|
9
|
-
## 0.0.0-rbv2-20240606061755
|
10
|
-
|
11
|
-
### Patch Changes
|
12
|
-
|
13
|
-
- d422ee2: version bump for testing in Matrix
|
14
|
-
|
15
|
-
## 0.0.0-rbv2-20240530041851
|
3
|
+
## 2.0.0
|
16
4
|
|
17
5
|
### Major Changes
|
18
6
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@squiz/formatted-text-editor",
|
3
|
-
"version": "2.0.1-rc.
|
3
|
+
"version": "2.0.1-rc.2",
|
4
4
|
"main": "lib/index.js",
|
5
5
|
"types": "lib/index.d.ts",
|
6
6
|
"private": false,
|
@@ -21,16 +21,16 @@
|
|
21
21
|
},
|
22
22
|
"dependencies": {
|
23
23
|
"@headlessui/react": "1.7.11",
|
24
|
-
"@mui/icons-material": "5.
|
24
|
+
"@mui/icons-material": "5.15.18",
|
25
25
|
"@remirror/extension-react-tables": "^2.2.19",
|
26
|
-
"@remirror/react": "2.0.
|
26
|
+
"@remirror/react": "2.0.35",
|
27
27
|
"@squiz/dx-json-schema-lib": "^1.65.1",
|
28
|
-
"@squiz/matrix-resource-browser-plugin": "^2.
|
29
|
-
"@squiz/resource-browser": "^2.
|
30
|
-
"clsx": "
|
31
|
-
"react-hook-form": "7.
|
28
|
+
"@squiz/matrix-resource-browser-plugin": "^2.1.2-alpha.0",
|
29
|
+
"@squiz/resource-browser": "^2.4.1-alpha.0",
|
30
|
+
"clsx": "2.1.1",
|
31
|
+
"react-hook-form": "7.51.4",
|
32
32
|
"react-image-size": "2.0.0",
|
33
|
-
"remirror": "2.0.
|
33
|
+
"remirror": "2.0.39"
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
36
36
|
"@testing-library/cypress": "9.0.0",
|
@@ -49,18 +49,18 @@
|
|
49
49
|
"eslint-plugin-react": "7.32.2",
|
50
50
|
"jest": "29.4.1",
|
51
51
|
"jest-environment-jsdom": "29.4.1",
|
52
|
-
"jest-remirror": "2.1.
|
52
|
+
"jest-remirror": "2.1.5",
|
53
53
|
"postcss": "8.4.31",
|
54
54
|
"postcss-nested": "6.0.0",
|
55
55
|
"postcss-prefix-selector": "1.16.0",
|
56
56
|
"react": "18.2.0",
|
57
57
|
"react-diff-viewer-continued": "3.2.6",
|
58
58
|
"react-dom": "18.2.0",
|
59
|
-
"rimraf": "
|
59
|
+
"rimraf": "5.0.7",
|
60
60
|
"tailwindcss": "3.2.6",
|
61
61
|
"ts-jest": "29.0.5",
|
62
62
|
"typescript": "4.9.3",
|
63
|
-
"vite": "^4.5.
|
63
|
+
"vite": "^4.5.3"
|
64
64
|
},
|
65
65
|
"peerDependencies": {
|
66
66
|
"@types/react": "^16.14.0 || ^17 || ^18",
|
@@ -131,7 +131,7 @@ describe('UnsupportedNodeExtension', () => {
|
|
131
131
|
});
|
132
132
|
|
133
133
|
expect(getHtmlContent()).toBe(
|
134
|
-
'<span class="unsupported-node-node-view-wrapper" originalnode="null" errormessage="null" data-unsupported-node="{"originalNode":null,"errorMessage":null}"><div class="collapse-box" contenteditable="false"><button class="collapse-box__header" type="button"><svg class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium collapse-box__icon--warning css-i4bv87-MuiSvgIcon-root" focusable="false" aria-hidden="true" viewBox="0 0 24 24" data-testid="MotionPhotosOffOutlinedIcon"><path d="M2.81 2.81 1.39 4.22l2.27 2.27C2.61 8.07 2 9.96 2 12c0 5.52 4.48 10 10 10 2.04 0 3.93-.61 5.51-1.66l2.27 2.27 1.41-1.
|
134
|
+
'<span class="unsupported-node-node-view-wrapper" originalnode="null" errormessage="null" data-unsupported-node="{"originalNode":null,"errorMessage":null}"><div class="collapse-box" contenteditable="false"><button class="collapse-box__header" type="button"><svg class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium collapse-box__icon--warning css-i4bv87-MuiSvgIcon-root" focusable="false" aria-hidden="true" viewBox="0 0 24 24" data-testid="MotionPhotosOffOutlinedIcon"><path d="M2.81 2.81 1.39 4.22l2.27 2.27C2.61 8.07 2 9.96 2 12c0 5.52 4.48 10 10 10 2.04 0 3.93-.61 5.51-1.66l2.27 2.27 1.41-1.42zM12 20c-4.41 0-8-3.59-8-8 0-1.48.41-2.86 1.12-4.06l10.93 10.94C14.86 19.59 13.48 20 12 20m0-16c4.41 0 8 3.59 8 8 0 1.48-.41 2.86-1.12 4.05l1.45 1.45C21.39 15.93 22 14.04 22 12c0-5.52-4.48-10-10-10-2.04 0-3.93.61-5.51 1.66l1.45 1.45C9.14 4.41 10.52 4 12 4"></path></svg><div class="collapse-box__label">This section cannot be displayed here due to unsupported HTML elements. The front-end view of your page won’t be affected.</div><svg class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root" focusable="false" aria-hidden="true" viewBox="0 0 24 24" data-testid="UnfoldLessOutlinedIcon"><path d="M7.41 18.59 8.83 20 12 16.83 15.17 20l1.41-1.41L12 14zm9.18-13.18L15.17 4 12 7.17 8.83 4 7.41 5.41 12 10z"></path></svg></button><div class="collapse-box__content" hidden="" data-testid="content"><br>null</div></div></span>',
|
135
135
|
);
|
136
136
|
});
|
137
137
|
});
|