@manuscripts/article-editor 1.15.6 → 1.15.8-LEAN-3307.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.
@@ -46,6 +46,7 @@ exports.EditorHeader = styled_components_1.default.div `
46
46
  `;
47
47
  exports.EditorBody = styled_components_1.default.div `
48
48
  flex: 1;
49
+ width: 100%;
49
50
  overflow-y: auto;
50
51
  padding: ${(props) => props.theme.grid.unit * 5}px
51
52
  ${(props) => props.theme.grid.unit * 2}px 0;
@@ -1 +1 @@
1
- {"version":3,"file":"EditorContainer.js","sourceRoot":"","sources":["../../../../src/components/projects/EditorContainer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;;AAEH,0EAAsC;AAEzB,QAAA,eAAe,GAAG,2BAAM,CAAC,GAAG,CAAA;;;;;;;UAO/B,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC;WACnC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC;;gBAE/B,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,OAAO;CAC/D,CAAA;AAEY,QAAA,oBAAoB,GAAG,2BAAM,CAAC,GAAG,CAAA;;;;;;;gBAO9B,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,OAAO;;;CAG/D,CAAA;AAEY,QAAA,YAAY,GAAG,2BAAM,CAAC,GAAG,CAAA;gBACtB,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,OAAO;;;CAG/D,CAAA;AAEY,QAAA,UAAU,GAAG,2BAAM,CAAC,GAAG,CAAA;;;aAGvB,CAAC,KAAK,EAAE,EAAE,CAAC,K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,IAAI,CAAC,IAAI,GAAG,CAAC;MAC3C,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC;eAC3B,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc;uBAClC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM;;;CAGxD,CAAA"}
@@ -106,8 +106,8 @@ async function listen(path, listener, authToken, defaultError, headers = {
106
106
  async onopen(response) {
107
107
  if (response.ok &&
108
108
  response.headers.get('content-type') === 'text/event-stream') {
109
- if (response.headers.get('transform-version') !== (0, transform_1.getVersion)()) {
110
- console.warn(`Warning! Manuscripts-transform (Frontend: ${(0, transform_1.getVersion)()}) version is different on backend (${response.headers.get('transform-version')})`);
109
+ if (response.headers.get('Transform-Version') !== (0, transform_1.getVersion)()) {
110
+ console.warn(`Warning! Manuscripts-transform (Frontend: ${(0, transform_1.getVersion)()}) version is different on backend (${response.headers.get('Transform-Version')})`);
111
111
  }
112
112
  console.log('EventSource Connection Opened Ok');
113
113
  return;
@@ -40,6 +40,7 @@ export const EditorHeader = styled.div `
40
40
  `;
41
41
  export const EditorBody = styled.div `
42
42
  flex: 1;
43
+ width: 100%;
43
44
  overflow-y: auto;
44
45
  padding: ${(props) => props.theme.grid.unit * 5}px
45
46
  ${(props) => props.theme.grid.unit * 2}px 0;
@@ -1 +1 @@
1
- {"version":3,"file":"EditorContainer.js","sourceRoot":"","sources":["../../../../src/components/projects/EditorContainer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,MAAM,MAAM,mBAAmB,CAAA;AAEtC,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;UAO/B,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC;W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AC,IAAI,CAAC,IAAI,GAAG,CAAC;WACnC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC;;gBAE/B,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,OAAO;CAC/D,CAAA;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;gBAO9B,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,OAAO;;;CAG/D,CAAA;AAED,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAA;gBACtB,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,OAAO;;;CAG/D,CAAA;AAED,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,GAAG,CAAA;;;;aAIvB,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC;MAC3C,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC;eAC3B,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc;uBAClC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM;;;CAGxD,CAAA"}
@@ -94,8 +94,8 @@ export async function listen(path, listener, authToken, defaultError, headers =
94
94
  async onopen(response) {
95
95
  if (response.ok &&
96
96
  response.headers.get('content-type') === 'text/event-stream') {
97
- if (response.headers.get('transform-version') !== getVersion()) {
98
- console.warn(`Warning! Manuscripts-transform (Frontend: ${getVersion()}) version is different on backend (${response.headers.get('transform-version')})`);
97
+ if (response.headers.get('Transform-Version') !== getVersion()) {
98
+ console.warn(`Warning! Manuscripts-transform (Frontend: ${getVersion()}) version is different on backend (${response.headers.get('Transform-Version')})`);
99
99
  }
100
100
  console.log('EventSource Connection Opened Ok');
101
101
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manuscripts/article-editor",
3
- "version": "1.15.6",
3
+ "version": "1.15.8-LEAN-3307.0",
4
4
  "license": "CPAL-1.0",
5
5
  "description": "React components for editing and viewing manuscripts",
6
6
  "repository": "github:Atypon-OpenSource/manuscripts-article-editor",
@@ -35,12 +35,12 @@
35
35
  "@fontsource/lato": "^4.5.10",
36
36
  "@fontsource/pt-sans": "^4.5.11",
37
37
  "@fontsource/pt-serif": "^4.5.11",
38
- "@manuscripts/body-editor": "1.11.5",
39
- "@manuscripts/json-schema": "2.2.8",
40
- "@manuscripts/library": "1.3.7",
41
- "@manuscripts/style-guide": "1.12.13",
38
+ "@manuscripts/body-editor": "1.11.6-LEAN-3307.2",
39
+ "@manuscripts/json-schema": "2.2.9-LEAN-3307.0",
40
+ "@manuscripts/library": "1.3.8-LEAN-3307.0",
41
+ "@manuscripts/style-guide": "1.12.14-LEAN-3307.0",
42
42
  "@manuscripts/track-changes-plugin": "1.7.12",
43
- "@manuscripts/transform": "2.3.6",
43
+ "@manuscripts/transform": "2.3.7-LEAN-3307.3",
44
44
  "@microsoft/fetch-event-source": "^2.0.1",
45
45
  "@popperjs/core": "^2.11.8",
46
46
  "@reach/tabs": "^0.18.0",
@@ -109,4 +109,4 @@
109
109
  "resolutions": {
110
110
  "@types/react": "^17.0.2"
111
111
  }
112
- }
112
+ }