@manuscripts/style-guide 1.1.14 → 1.1.15-LEAN-2620

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.
@@ -49,53 +49,54 @@ const MapUserRole = {
49
49
  Viewer: { label: 'Reading...', icon: __1.ReadingIcon },
50
50
  };
51
51
  const EditorHeader = ({ handleSnapshot, submission, hasPendingSuggestions, userRole, canCompleteTask, submitProceed, goBack, status, isAnnotator, message, exceptionDialog: ExceptionDialog, disabelProceedNote, }) => {
52
- var _a, _b, _c, _d;
52
+ var _a, _b, _c, _d, _e;
53
53
  const [confirmationDialog, toggleConfirmationDialog] = (0, react_1.useState)(false);
54
- const [loading, setLoading] = (0, react_1.useState)(false);
55
54
  const [noteValue, setNoteValue] = (0, react_1.useState)('');
56
- const [error, setError] = (0, react_1.useState)(undefined);
57
55
  const [selectedTransitionIndex, setSelectedTransitionIndex] = (0, react_1.useState)();
58
- const { complete: showComplete, error: submissionError, mutationError, submit, } = submitProceed;
59
- (0, react_1.useEffect)(() => {
60
- if (submissionError) {
61
- setError(submissionError);
62
- }
63
- }, [submissionError]);
56
+ const { dialogData, submit } = submitProceed;
57
+ const { updateState, clearError } = dialogData;
64
58
  const continueDialogAction = (0, react_1.useCallback)(() => __awaiter(void 0, void 0, void 0, function* () {
65
59
  if (submission && selectedTransitionIndex && handleSnapshot) {
66
60
  const { status } = submission.currentStep.type.transitions[selectedTransitionIndex];
67
- setLoading(true);
61
+ updateState('loading');
68
62
  yield handleSnapshot();
69
63
  yield submit(status.id, noteValue);
70
- setLoading(false);
71
64
  }
72
65
  }), [
73
- handleSnapshot,
74
- selectedTransitionIndex,
75
66
  submission,
76
- noteValue,
67
+ selectedTransitionIndex,
68
+ handleSnapshot,
69
+ updateState,
77
70
  submit,
71
+ noteValue,
78
72
  ]);
79
73
  const onTransitionClick = (0, react_1.useCallback)((event) => {
74
+ updateState('init');
80
75
  toggleConfirmationDialog(true);
81
76
  setSelectedTransitionIndex(event.target.value || event.target.parentNode.value);
82
- }, [setSelectedTransitionIndex, toggleConfirmationDialog]);
77
+ }, [setSelectedTransitionIndex, toggleConfirmationDialog, updateState]);
83
78
  const onCancelClick = (0, react_1.useCallback)(() => {
84
79
  toggleConfirmationDialog(false);
85
80
  setSelectedTransitionIndex(undefined);
86
- setError(undefined);
87
- }, [toggleConfirmationDialog, setSelectedTransitionIndex, setError]);
81
+ clearError();
82
+ updateState('closed');
83
+ }, [
84
+ toggleConfirmationDialog,
85
+ setSelectedTransitionIndex,
86
+ clearError,
87
+ updateState,
88
+ ]);
88
89
  const onNoteChange = (0, react_1.useCallback)((event) => setNoteValue(event.target.value), [setNoteValue]);
89
90
  const currentStepTransition = submission === null || submission === void 0 ? void 0 : submission.currentStep.type.transitions;
90
91
  const disable = !currentStepTransition || !canCompleteTask;
91
- const errorCode = (_c = (_b = (_a = mutationError === null || mutationError === void 0 ? void 0 : mutationError.graphQLErrors) === null || _a === void 0 ? void 0 : _a.find((error) => { var _a; return (_a = error === null || error === void 0 ? void 0 : error.extensions) === null || _a === void 0 ? void 0 : _a.code; })) === null || _b === void 0 ? void 0 : _b.extensions) === null || _c === void 0 ? void 0 : _c.code.name;
92
+ const errorCode = (_d = (_c = (_b = (_a = dialogData.mutationError) === null || _a === void 0 ? void 0 : _a.graphQLErrors) === null || _b === void 0 ? void 0 : _b.find((error) => { var _a; return (_a = error === null || error === void 0 ? void 0 : error.extensions) === null || _a === void 0 ? void 0 : _a.code; })) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.code.name;
92
93
  return (react_1.default.createElement(Wrapper, null,
93
94
  goBack && (react_1.default.createElement(SecondaryButtonSmall, { onClick: goBack, type: "button" },
94
95
  react_1.default.createElement(__1.LeftArrow, null),
95
96
  react_1.default.createElement("span", null, "Dashboard"))),
96
97
  handleSnapshot &&
97
98
  typeof hasPendingSuggestions == 'boolean' &&
98
- submission.nextStep && (react_1.default.createElement(ProceedView_1.ProceedView, { isAnnotator: isAnnotator, disable: disable, onTransitionClick: onTransitionClick, hasPendingSuggestions: hasPendingSuggestions, loading: loading, showComplete: showComplete, noteValue: noteValue, currentStepTransition: currentStepTransition, error: error, currentStepType: submission.currentStep.type, previousStepType: (_d = submission.previousStep) === null || _d === void 0 ? void 0 : _d.type, nextStepType: submission.nextStep.type, confirmationDialog: confirmationDialog, onNoteChange: disabelProceedNote ? undefined : onNoteChange, continueDialogAction: continueDialogAction, onCancelClick: onCancelClick, message: message })),
99
+ submission.nextStep && (react_1.default.createElement(ProceedView_1.ProceedView, { isAnnotator: isAnnotator, disable: disable, onTransitionClick: onTransitionClick, hasPendingSuggestions: hasPendingSuggestions, dialogData: dialogData, noteValue: noteValue, currentStepTransition: currentStepTransition, currentStepType: submission.currentStep.type, previousStepType: (_e = submission.previousStep) === null || _e === void 0 ? void 0 : _e.type, nextStepType: submission.nextStep.type, confirmationDialog: confirmationDialog, onNoteChange: disabelProceedNote ? undefined : onNoteChange, continueDialogAction: continueDialogAction, onCancelClick: onCancelClick, message: message })),
99
100
  status && (react_1.default.createElement(ChildWrapper, null,
100
101
  react_1.default.createElement(__1.SaveStatus, { status: status }))),
101
102
  react_1.default.createElement(Spacer, null),
@@ -46,7 +46,7 @@ const StepDetails = ({ icon, label, description, role }) => (react_1.default.cre
46
46
  react_1.default.createElement(__1.SecondarySmallText, null,
47
47
  "Actor: ",
48
48
  role.label))));
49
- const ProceedView = ({ currentStepTransition, onTransitionClick, disable, loading, showComplete, confirmationDialog, previousStepType, currentStepType, nextStepType, isAnnotator, hasPendingSuggestions, error, noteValue, onNoteChange, onCancelClick, continueDialogAction, message: Message, }) => {
49
+ const ProceedView = ({ currentStepTransition, onTransitionClick, disable, dialogData, confirmationDialog, previousStepType, currentStepType, isAnnotator, hasPendingSuggestions, onCancelClick, continueDialogAction, message: Message, }) => {
50
50
  const dialogMessages = (0, react_1.useMemo)(() => hasPendingSuggestions && !isAnnotator
51
51
  ? {
52
52
  header: 'The task can not be transitioned to the next step',
@@ -59,7 +59,7 @@ const ProceedView = ({ currentStepTransition, onTransitionClick, disable, loadin
59
59
  },
60
60
  },
61
61
  }
62
- : showComplete
62
+ : dialogData.state === 'success'
63
63
  ? {
64
64
  header: 'Content reassigned successfully',
65
65
  message: `to the ${currentStepType.label}`,
@@ -84,7 +84,7 @@ const ProceedView = ({ currentStepTransition, onTransitionClick, disable, loadin
84
84
  },
85
85
  },
86
86
  }, [
87
- showComplete,
87
+ dialogData,
88
88
  continueDialogAction,
89
89
  onCancelClick,
90
90
  currentStepType,
@@ -97,16 +97,15 @@ const ProceedView = ({ currentStepTransition, onTransitionClick, disable, loadin
97
97
  currentStepTransition.map((transition, index) => (react_1.default.createElement(Task, { key: 'task_' + transition.type.id, className: transition.status.id === 'success' ? 'happyPath' : '', value: index, onClick: onTransitionClick },
98
98
  react_1.default.createElement("strong", null, transition.type.label),
99
99
  transition.type.description))))))) || (react_1.default.createElement(EditorHeader_1.PrimaryButtonSmall, { value: 0, onClick: onTransitionClick, disabled: disable }, "Complete task")),
100
- (loading && (react_1.default.createElement(__1.LoadingOverlay, null,
101
- react_1.default.createElement(Message, { isCentered: true }, "Proceeding with your submission\u2026")))) || (react_1.default.createElement(__1.Dialog, { isOpen: confirmationDialog && !loading, category: __1.Category.confirmation, header: dialogMessages.header, message: dialogMessages.message, actions: dialogMessages.actions },
102
- (showComplete && (react_1.default.createElement(Grid, null,
100
+ dialogData.state === 'loading' && (react_1.default.createElement(__1.LoadingOverlay, null,
101
+ react_1.default.createElement(Message, { isCentered: true }, "Proceeding with your submission\u2026"))),
102
+ !(dialogData.state === 'closed') && (react_1.default.createElement(__1.Dialog, { isOpen: confirmationDialog && !(dialogData.state === 'loading'), category: __1.Category.confirmation, header: dialogMessages.header, message: dialogMessages.message, actions: dialogMessages.actions },
103
+ dialogData.state === 'success' && (react_1.default.createElement(Grid, null,
103
104
  previousStepType && (react_1.default.createElement(StepDetails, Object.assign({}, previousStepType, { icon: react_1.default.createElement(react_1.default.Fragment, null,
104
105
  react_1.default.createElement(__1.TaskStepDoneIcon, null),
105
106
  react_1.default.createElement(Line, null)) }))),
106
- react_1.default.createElement(StepDetails, Object.assign({}, currentStepType))))) ||
107
- ((!hasPendingSuggestions || isAnnotator) && onNoteChange && (react_1.default.createElement(TextAreaWrapper, null,
108
- react_1.default.createElement(EditorHeader_1.MediumTextArea, { value: noteValue, onChange: onNoteChange, rows: 5, placeholder: 'Add any additional comment here...' })))),
109
- error && (react_1.default.createElement(AlertMessage_1.AlertMessage, { type: AlertMessage_1.AlertMessageType.error, hideCloseButton: true }, error))))));
107
+ react_1.default.createElement(StepDetails, Object.assign({}, currentStepType)))),
108
+ dialogData.state === 'error' && (react_1.default.createElement(AlertMessage_1.AlertMessage, { type: AlertMessage_1.AlertMessageType.error, hideCloseButton: true }, dialogData.error))))));
110
109
  };
111
110
  exports.ProceedView = ProceedView;
112
111
  const TaskDropdown = styled_components_1.default.div `
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
7
7
  step((generator = generator.apply(thisArg, _arguments || [])).next());
8
8
  });
9
9
  };
10
- import React, { useCallback, useEffect, useState } from 'react';
10
+ import React, { useCallback, useState } from 'react';
11
11
  import styled from 'styled-components';
12
12
  import { AnnotatorIcon, DropdownContainer, DropdownList, EditIcon, LeftArrow, NavDropdownContainer, NavDropdownToggle, PrimaryButton, ReadingIcon, SaveStatus, SecondaryButton, TextArea, useDropdown, } from '../..';
13
13
  import { ProceedView } from './ProceedView';
@@ -20,53 +20,54 @@ const MapUserRole = {
20
20
  Viewer: { label: 'Reading...', icon: ReadingIcon },
21
21
  };
22
22
  export const EditorHeader = ({ handleSnapshot, submission, hasPendingSuggestions, userRole, canCompleteTask, submitProceed, goBack, status, isAnnotator, message, exceptionDialog: ExceptionDialog, disabelProceedNote, }) => {
23
- var _a, _b, _c, _d;
23
+ var _a, _b, _c, _d, _e;
24
24
  const [confirmationDialog, toggleConfirmationDialog] = useState(false);
25
- const [loading, setLoading] = useState(false);
26
25
  const [noteValue, setNoteValue] = useState('');
27
- const [error, setError] = useState(undefined);
28
26
  const [selectedTransitionIndex, setSelectedTransitionIndex] = useState();
29
- const { complete: showComplete, error: submissionError, mutationError, submit, } = submitProceed;
30
- useEffect(() => {
31
- if (submissionError) {
32
- setError(submissionError);
33
- }
34
- }, [submissionError]);
27
+ const { dialogData, submit } = submitProceed;
28
+ const { updateState, clearError } = dialogData;
35
29
  const continueDialogAction = useCallback(() => __awaiter(void 0, void 0, void 0, function* () {
36
30
  if (submission && selectedTransitionIndex && handleSnapshot) {
37
31
  const { status } = submission.currentStep.type.transitions[selectedTransitionIndex];
38
- setLoading(true);
32
+ updateState('loading');
39
33
  yield handleSnapshot();
40
34
  yield submit(status.id, noteValue);
41
- setLoading(false);
42
35
  }
43
36
  }), [
44
- handleSnapshot,
45
- selectedTransitionIndex,
46
37
  submission,
47
- noteValue,
38
+ selectedTransitionIndex,
39
+ handleSnapshot,
40
+ updateState,
48
41
  submit,
42
+ noteValue,
49
43
  ]);
50
44
  const onTransitionClick = useCallback((event) => {
45
+ updateState('init');
51
46
  toggleConfirmationDialog(true);
52
47
  setSelectedTransitionIndex(event.target.value || event.target.parentNode.value);
53
- }, [setSelectedTransitionIndex, toggleConfirmationDialog]);
48
+ }, [setSelectedTransitionIndex, toggleConfirmationDialog, updateState]);
54
49
  const onCancelClick = useCallback(() => {
55
50
  toggleConfirmationDialog(false);
56
51
  setSelectedTransitionIndex(undefined);
57
- setError(undefined);
58
- }, [toggleConfirmationDialog, setSelectedTransitionIndex, setError]);
52
+ clearError();
53
+ updateState('closed');
54
+ }, [
55
+ toggleConfirmationDialog,
56
+ setSelectedTransitionIndex,
57
+ clearError,
58
+ updateState,
59
+ ]);
59
60
  const onNoteChange = useCallback((event) => setNoteValue(event.target.value), [setNoteValue]);
60
61
  const currentStepTransition = submission === null || submission === void 0 ? void 0 : submission.currentStep.type.transitions;
61
62
  const disable = !currentStepTransition || !canCompleteTask;
62
- const errorCode = (_c = (_b = (_a = mutationError === null || mutationError === void 0 ? void 0 : mutationError.graphQLErrors) === null || _a === void 0 ? void 0 : _a.find((error) => { var _a; return (_a = error === null || error === void 0 ? void 0 : error.extensions) === null || _a === void 0 ? void 0 : _a.code; })) === null || _b === void 0 ? void 0 : _b.extensions) === null || _c === void 0 ? void 0 : _c.code.name;
63
+ const errorCode = (_d = (_c = (_b = (_a = dialogData.mutationError) === null || _a === void 0 ? void 0 : _a.graphQLErrors) === null || _b === void 0 ? void 0 : _b.find((error) => { var _a; return (_a = error === null || error === void 0 ? void 0 : error.extensions) === null || _a === void 0 ? void 0 : _a.code; })) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.code.name;
63
64
  return (React.createElement(Wrapper, null,
64
65
  goBack && (React.createElement(SecondaryButtonSmall, { onClick: goBack, type: "button" },
65
66
  React.createElement(LeftArrow, null),
66
67
  React.createElement("span", null, "Dashboard"))),
67
68
  handleSnapshot &&
68
69
  typeof hasPendingSuggestions == 'boolean' &&
69
- submission.nextStep && (React.createElement(ProceedView, { isAnnotator: isAnnotator, disable: disable, onTransitionClick: onTransitionClick, hasPendingSuggestions: hasPendingSuggestions, loading: loading, showComplete: showComplete, noteValue: noteValue, currentStepTransition: currentStepTransition, error: error, currentStepType: submission.currentStep.type, previousStepType: (_d = submission.previousStep) === null || _d === void 0 ? void 0 : _d.type, nextStepType: submission.nextStep.type, confirmationDialog: confirmationDialog, onNoteChange: disabelProceedNote ? undefined : onNoteChange, continueDialogAction: continueDialogAction, onCancelClick: onCancelClick, message: message })),
70
+ submission.nextStep && (React.createElement(ProceedView, { isAnnotator: isAnnotator, disable: disable, onTransitionClick: onTransitionClick, hasPendingSuggestions: hasPendingSuggestions, dialogData: dialogData, noteValue: noteValue, currentStepTransition: currentStepTransition, currentStepType: submission.currentStep.type, previousStepType: (_e = submission.previousStep) === null || _e === void 0 ? void 0 : _e.type, nextStepType: submission.nextStep.type, confirmationDialog: confirmationDialog, onNoteChange: disabelProceedNote ? undefined : onNoteChange, continueDialogAction: continueDialogAction, onCancelClick: onCancelClick, message: message })),
70
71
  status && (React.createElement(ChildWrapper, null,
71
72
  React.createElement(SaveStatus, { status: status }))),
72
73
  React.createElement(Spacer, null),
@@ -2,7 +2,7 @@ import React, { useMemo } from 'react';
2
2
  import styled from 'styled-components';
3
3
  import { Category, Dialog, LoadingOverlay, NavDropdown, NavDropdownButton, NavDropdownContainer, PrimaryBoldHeading, PrimaryButton, SecondarySmallText, TaskStepDoneIcon, useDropdown, } from '../..';
4
4
  import { AlertMessage, AlertMessageType } from '../AlertMessage';
5
- import { MediumTextArea, PrimaryButtonSmall, } from './EditorHeader';
5
+ import { PrimaryButtonSmall, } from './EditorHeader';
6
6
  const DropdownWrapper = ({ disabled, button, primary, children }) => {
7
7
  const { isOpen, toggleOpen, wrapperRef } = useDropdown();
8
8
  return (React.createElement(NavDropdownContainer, { id: 'user-dropdown', ref: wrapperRef },
@@ -17,7 +17,7 @@ const StepDetails = ({ icon, label, description, role }) => (React.createElement
17
17
  React.createElement(SecondarySmallText, null,
18
18
  "Actor: ",
19
19
  role.label))));
20
- export const ProceedView = ({ currentStepTransition, onTransitionClick, disable, loading, showComplete, confirmationDialog, previousStepType, currentStepType, nextStepType, isAnnotator, hasPendingSuggestions, error, noteValue, onNoteChange, onCancelClick, continueDialogAction, message: Message, }) => {
20
+ export const ProceedView = ({ currentStepTransition, onTransitionClick, disable, dialogData, confirmationDialog, previousStepType, currentStepType, isAnnotator, hasPendingSuggestions, onCancelClick, continueDialogAction, message: Message, }) => {
21
21
  const dialogMessages = useMemo(() => hasPendingSuggestions && !isAnnotator
22
22
  ? {
23
23
  header: 'The task can not be transitioned to the next step',
@@ -30,7 +30,7 @@ export const ProceedView = ({ currentStepTransition, onTransitionClick, disable,
30
30
  },
31
31
  },
32
32
  }
33
- : showComplete
33
+ : dialogData.state === 'success'
34
34
  ? {
35
35
  header: 'Content reassigned successfully',
36
36
  message: `to the ${currentStepType.label}`,
@@ -55,7 +55,7 @@ export const ProceedView = ({ currentStepTransition, onTransitionClick, disable,
55
55
  },
56
56
  },
57
57
  }, [
58
- showComplete,
58
+ dialogData,
59
59
  continueDialogAction,
60
60
  onCancelClick,
61
61
  currentStepType,
@@ -68,16 +68,15 @@ export const ProceedView = ({ currentStepTransition, onTransitionClick, disable,
68
68
  currentStepTransition.map((transition, index) => (React.createElement(Task, { key: 'task_' + transition.type.id, className: transition.status.id === 'success' ? 'happyPath' : '', value: index, onClick: onTransitionClick },
69
69
  React.createElement("strong", null, transition.type.label),
70
70
  transition.type.description))))))) || (React.createElement(PrimaryButtonSmall, { value: 0, onClick: onTransitionClick, disabled: disable }, "Complete task")),
71
- (loading && (React.createElement(LoadingOverlay, null,
72
- React.createElement(Message, { isCentered: true }, "Proceeding with your submission\u2026")))) || (React.createElement(Dialog, { isOpen: confirmationDialog && !loading, category: Category.confirmation, header: dialogMessages.header, message: dialogMessages.message, actions: dialogMessages.actions },
73
- (showComplete && (React.createElement(Grid, null,
71
+ dialogData.state === 'loading' && (React.createElement(LoadingOverlay, null,
72
+ React.createElement(Message, { isCentered: true }, "Proceeding with your submission\u2026"))),
73
+ !(dialogData.state === 'closed') && (React.createElement(Dialog, { isOpen: confirmationDialog && !(dialogData.state === 'loading'), category: Category.confirmation, header: dialogMessages.header, message: dialogMessages.message, actions: dialogMessages.actions },
74
+ dialogData.state === 'success' && (React.createElement(Grid, null,
74
75
  previousStepType && (React.createElement(StepDetails, Object.assign({}, previousStepType, { icon: React.createElement(React.Fragment, null,
75
76
  React.createElement(TaskStepDoneIcon, null),
76
77
  React.createElement(Line, null)) }))),
77
- React.createElement(StepDetails, Object.assign({}, currentStepType))))) ||
78
- ((!hasPendingSuggestions || isAnnotator) && onNoteChange && (React.createElement(TextAreaWrapper, null,
79
- React.createElement(MediumTextArea, { value: noteValue, onChange: onNoteChange, rows: 5, placeholder: 'Add any additional comment here...' })))),
80
- error && (React.createElement(AlertMessage, { type: AlertMessageType.error, hideCloseButton: true }, error))))));
78
+ React.createElement(StepDetails, Object.assign({}, currentStepType)))),
79
+ dialogData.state === 'error' && (React.createElement(AlertMessage, { type: AlertMessageType.error, hideCloseButton: true }, dialogData.error))))));
81
80
  };
82
81
  const TaskDropdown = styled.div `
83
82
  display: flex;
@@ -26,6 +26,14 @@ export type SubmissionStepType = {
26
26
  label: string;
27
27
  };
28
28
  };
29
+ export type DialogState = 'init' | 'loading' | 'error' | 'success' | 'closed';
30
+ export type ProceedDialogData = {
31
+ state: DialogState;
32
+ error?: string;
33
+ mutationError?: ApolloError | undefined;
34
+ updateState: (state: DialogState) => void;
35
+ clearError: () => void;
36
+ };
29
37
  export declare const EditorHeader: React.FC<{
30
38
  handleSnapshot?: () => Promise<void>;
31
39
  submission: PartialSubmission;
@@ -36,9 +44,7 @@ export declare const EditorHeader: React.FC<{
36
44
  }>;
37
45
  userRole: string;
38
46
  submitProceed: {
39
- complete: boolean;
40
- error: string;
41
- mutationError: ApolloError | undefined;
47
+ dialogData: ProceedDialogData;
42
48
  submit: (statusId: string, noteValue: string) => Promise<unknown>;
43
49
  };
44
50
  goBack?: () => void;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { ProceedDialogData } from '../..';
2
3
  import { SubmissionStepTransition, SubmissionStepType } from './EditorHeader';
3
4
  export declare const ProceedView: React.FC<{
4
5
  isAnnotator: boolean;
@@ -6,11 +7,9 @@ export declare const ProceedView: React.FC<{
6
7
  onTransitionClick: (event: unknown) => void;
7
8
  onNoteChange?: (event: unknown) => void;
8
9
  hasPendingSuggestions: boolean;
9
- loading: boolean;
10
- showComplete: boolean;
10
+ dialogData: ProceedDialogData;
11
11
  noteValue: string;
12
12
  currentStepTransition: SubmissionStepTransition[];
13
- error: string | undefined;
14
13
  previousStepType: SubmissionStepType | undefined;
15
14
  currentStepType: SubmissionStepType;
16
15
  nextStepType: SubmissionStepType;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@manuscripts/style-guide",
3
3
  "description": "Shared components for Manuscripts applications",
4
- "version": "1.1.14",
4
+ "version": "1.1.15-LEAN-2620",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-style-guide",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
@@ -36,8 +36,8 @@
36
36
  "@formatjs/intl-relativetimeformat": "^4.5.9",
37
37
  "@formatjs/intl-utils": "^2.2.0",
38
38
  "@manuscripts/assets": "^0.6.2",
39
- "@manuscripts/transform": "^1.3.1",
40
- "@manuscripts/json-schema": "^2.0.2",
39
+ "@manuscripts/transform": "^1.3.4",
40
+ "@manuscripts/json-schema": "^2.1.0",
41
41
  "@manuscripts/title-editor": "^1.1.0",
42
42
  "@manuscripts/comment-editor": "^1.0.3",
43
43
  "@reach/tabs": "^0.11.2",