@manuscripts/style-guide 0.33.0 → 1.0.0-LEAN-2108
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/dist/cjs/components/AffiliationsEditor/AffiliationsEditor.js +5 -1
- package/dist/cjs/components/AffiliationsEditor/AffiliationsEditorItem.js +5 -1
- package/dist/cjs/components/AffiliationsEditor/AffiliationsEditorProfile.js +7 -3
- package/dist/cjs/components/AffiliationsEditor/AffiliationsEditorView.js +5 -1
- package/dist/cjs/components/AlertMessage.js +5 -1
- package/dist/cjs/components/AuthorForm/ContributorRolesSelect.js +5 -1
- package/dist/cjs/components/AuthorForm/index.js +5 -1
- package/dist/cjs/components/AuthorName.js +5 -1
- package/dist/cjs/components/AuthorsContainer.js +5 -1
- package/dist/cjs/components/AuthorsDND/AuthorsDND.js +5 -1
- package/dist/cjs/components/AuthorsList/Author.js +5 -1
- package/dist/cjs/components/AuthorsList/index.js +5 -1
- package/dist/cjs/components/Avatar.js +5 -1
- package/dist/cjs/components/Button.js +5 -1
- package/dist/cjs/components/ColorField/ColorSelector.js +5 -1
- package/dist/cjs/components/ColorField/index.js +5 -1
- package/dist/cjs/components/Comments/CommentActions.js +5 -1
- package/dist/cjs/components/Comments/CommentBody.js +5 -1
- package/dist/cjs/components/Comments/CommentTarget.js +5 -1
- package/dist/cjs/components/Comments/CommentWrapper.js +5 -1
- package/dist/cjs/components/EditorHeader/EditorHeader.js +5 -1
- package/dist/cjs/components/EditorHeader/ProceedView.js +5 -1
- package/dist/cjs/components/FileManager/FileManager.js +8 -6
- package/dist/cjs/components/FileManager/FileSectionItem/DesignationActions.js +5 -1
- package/dist/cjs/components/FileManager/FileSectionItem/DragLayer.js +5 -1
- package/dist/cjs/components/FileManager/FileSectionItem/DraggableFileSectionItem.js +5 -1
- package/dist/cjs/components/FileManager/FileSectionItem/FileInfo.js +5 -1
- package/dist/cjs/components/FileManager/FileSectionItem/ItemActions.js +5 -1
- package/dist/cjs/components/FileManager/FilesSection.js +5 -1
- package/dist/cjs/components/FileManager/InlineFilesSection.js +10 -4
- package/dist/cjs/components/FileManager/SelectDesignationActions.js +5 -1
- package/dist/cjs/components/FileManager/UploadFileArea.js +5 -1
- package/dist/cjs/components/FileManager/index.js +5 -1
- package/dist/cjs/components/InspectorSection.js +5 -1
- package/dist/cjs/components/ManuscriptNoteList.js +10 -6
- package/dist/cjs/components/NavDropdown.js +5 -1
- package/dist/cjs/components/PdfPreview.js +5 -1
- package/dist/cjs/components/Resizer/index.js +5 -1
- package/dist/cjs/components/SubmissionInspector/BaseInformation.js +5 -1
- package/dist/cjs/components/SubmissionInspector/index.js +5 -1
- package/dist/cjs/components/TextField.js +5 -1
- package/dist/cjs/components/Tip.js +5 -1
- package/dist/cjs/hooks/use-files.js +3 -3
- package/dist/cjs/index.js +5 -1
- package/dist/cjs/lib/authors.js +2 -2
- package/dist/cjs/lib/inlineFiles.js +10 -11
- package/dist/es/components/AffiliationsEditor/AffiliationsEditorProfile.js +1 -1
- package/dist/es/components/FileManager/FileManager.js +2 -4
- package/dist/es/components/FileManager/InlineFilesSection.js +5 -3
- package/dist/es/components/ManuscriptNoteList.js +2 -2
- package/dist/es/hooks/use-files.js +2 -2
- package/dist/es/lib/authors.js +1 -1
- package/dist/es/lib/inlineFiles.js +2 -3
- package/dist/types/components/AffiliationsEditor/AffiliationsEditorProfile.d.ts +1 -1
- package/dist/types/components/AuthorForm/AuthorForm.d.ts +1 -1
- package/dist/types/components/AuthorForm/AuthorFormComponents.d.ts +1 -1
- package/dist/types/components/AuthorForm/ContributorRolesSelect.d.ts +1 -1
- package/dist/types/components/AuthorForm/RemoveAuthorButton.d.ts +1 -1
- package/dist/types/components/AuthorName.d.ts +1 -1
- package/dist/types/components/AuthorsContainer.d.ts +1 -1
- package/dist/types/components/AuthorsDND/AuthorItemComponents.d.ts +1 -1
- package/dist/types/components/AuthorsDND/AuthorsDND.d.ts +1 -1
- package/dist/types/components/AuthorsDND/DraggableAuthorItem.d.ts +2 -2
- package/dist/types/components/AuthorsList/Author.d.ts +1 -1
- package/dist/types/components/AuthorsList/AuthorsList.d.ts +1 -1
- package/dist/types/components/ColorField/ColorField.d.ts +2 -2
- package/dist/types/components/Comments/CommentBody.d.ts +1 -1
- package/dist/types/components/Comments/CommentUser.d.ts +2 -2
- package/dist/types/components/Dialog.d.ts +1 -0
- package/dist/types/components/EditorHeader/EditorHeader.d.ts +4 -4
- package/dist/types/components/FileManager/FileManager.d.ts +5 -5
- package/dist/types/components/FileManager/FileSectionItem/FileSectionItem.d.ts +2 -2
- package/dist/types/components/FileManager/util.d.ts +1 -0
- package/dist/types/components/ManuscriptNoteList.d.ts +2 -2
- package/dist/types/components/Resizer/types.d.ts +2 -2
- package/dist/types/components/SubmissionInspector/types.d.ts +11 -11
- package/dist/types/components/icons/add-author.d.ts +1 -0
- package/dist/types/components/icons/add-comment-icon.d.ts +1 -0
- package/dist/types/components/icons/add-icon-active.d.ts +1 -0
- package/dist/types/components/icons/add-icon-inverted.d.ts +1 -0
- package/dist/types/components/icons/back-arrow.d.ts +1 -0
- package/dist/types/components/icons/bookmark.d.ts +1 -0
- package/dist/types/components/icons/google.d.ts +1 -0
- package/dist/types/components/icons/orcid.d.ts +1 -0
- package/dist/types/components/icons/project-notification.d.ts +1 -0
- package/dist/types/components/icons/project.d.ts +1 -0
- package/dist/types/components/icons/projects-list.d.ts +1 -0
- package/dist/types/components/icons/search.d.ts +1 -0
- package/dist/types/components/icons/tick-mark.d.ts +1 -0
- package/dist/types/components/icons/user.d.ts +1 -0
- package/dist/types/hooks/use-files.d.ts +3 -3
- package/dist/types/lib/authors.d.ts +2 -2
- package/dist/types/lib/capabilities.d.ts +4 -4
- package/dist/types/lib/comments.d.ts +5 -5
- package/dist/types/lib/formatAddress.d.ts +1 -1
- package/dist/types/lib/inlineFiles.d.ts +2 -2
- package/dist/types/lib/name.d.ts +1 -1
- package/dist/types/types.d.ts +4 -4
- package/package.json +98 -76
- package/NOTICE +0 -2
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { IconProps } from './types';
|
|
17
18
|
declare const AddAuthor: (props: IconProps) => JSX.Element;
|
|
18
19
|
export default AddAuthor;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { IconProps } from './types';
|
|
17
18
|
declare const AddIconActive: (props: IconProps) => JSX.Element;
|
|
18
19
|
export default AddIconActive;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { IconProps } from './types';
|
|
17
18
|
declare const AddIconInverted: (props: IconProps) => JSX.Element;
|
|
18
19
|
export default AddIconInverted;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { IconProps } from './types';
|
|
17
18
|
export declare const BackArrow: (props: IconProps) => JSX.Element;
|
|
18
19
|
export default BackArrow;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { IconProps } from './types';
|
|
17
18
|
declare const Bookmark: (props: IconProps) => JSX.Element;
|
|
18
19
|
export default Bookmark;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { IconProps } from './types';
|
|
17
18
|
declare const Google: (props: IconProps) => JSX.Element;
|
|
18
19
|
export default Google;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { IconProps } from './types';
|
|
17
18
|
declare const Orcid: (props: IconProps) => JSX.Element;
|
|
18
19
|
export default Orcid;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { IconProps } from './types';
|
|
17
18
|
declare const ProjectNotification: (props: IconProps) => JSX.Element;
|
|
18
19
|
export default ProjectNotification;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { IconProps } from './types';
|
|
17
18
|
declare const ProjectIcon: (props: IconProps) => JSX.Element;
|
|
18
19
|
export default ProjectIcon;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { IconProps } from './types';
|
|
17
18
|
declare const ProjectsList: (props: IconProps) => JSX.Element;
|
|
18
19
|
export default ProjectsList;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { IconProps } from './types';
|
|
17
18
|
declare const SearchIcon: (props: IconProps) => JSX.Element;
|
|
18
19
|
export default SearchIcon;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { IconProps } from './types';
|
|
17
18
|
declare const TickMark: (props: IconProps) => JSX.Element;
|
|
18
19
|
export default TickMark;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" />
|
|
16
17
|
import { IconProps } from './types';
|
|
17
18
|
declare const User: (props: IconProps) => JSX.Element;
|
|
18
19
|
export default User;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Model } from '@manuscripts/
|
|
1
|
+
import { Model } from '@manuscripts/json-schema';
|
|
2
2
|
import { SubmissionAttachment } from '../components/FileManager/FileSectionItem/FileSectionItem';
|
|
3
3
|
import { InlineFile } from '../lib/inlineFiles';
|
|
4
|
-
|
|
5
|
-
export declare const useFiles: (modelMap: Map<string, Model>, attachments: SubmissionAttachment[], filePredicate?: FilePredicate
|
|
4
|
+
type FilePredicate = (fileName: string) => boolean;
|
|
5
|
+
export declare const useFiles: (modelMap: Map<string, Model>, attachments: SubmissionAttachment[], filePredicate?: FilePredicate) => {
|
|
6
6
|
otherFiles: SubmissionAttachment[];
|
|
7
7
|
supplementFiles: SubmissionAttachment[];
|
|
8
8
|
inlineFiles: InlineFile[];
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { Affiliation, Contributor, Model, UserProfileAffiliation } from '@manuscripts/
|
|
16
|
+
import { Affiliation, Contributor, Model, UserProfileAffiliation } from '@manuscripts/json-schema';
|
|
17
17
|
import { AffiliationGeneric, AffiliationMap, AffiliationOption, AuthorAffiliation } from '../types';
|
|
18
18
|
export declare const buildSortedAuthors: (modelMap: Map<string, Model>) => Contributor[];
|
|
19
19
|
export declare const buildAuthorPriority: (authors: Contributor[]) => number;
|
|
@@ -27,4 +27,4 @@ export declare const buildAuthorsAndAffiliations: (modelMap: Map<string, Model>)
|
|
|
27
27
|
};
|
|
28
28
|
export declare const isJointFirstAuthor: (authors: Contributor[], index: number) => boolean;
|
|
29
29
|
export declare const affiliationLabel: (affiliation: Affiliation | AffiliationGeneric | UserProfileAffiliation) => string;
|
|
30
|
-
export declare const affiliationsOptions: (affiliations: Map<string, AffiliationGeneric>, authorAffiliations?: AuthorAffiliation[] | null
|
|
30
|
+
export declare const affiliationsOptions: (affiliations: Map<string, AffiliationGeneric>, authorAffiliations?: AuthorAffiliation[] | null) => AffiliationOption[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Project } from '@manuscripts/json-schema';
|
|
2
|
+
import { UserProfileWithAvatar } from '@manuscripts/transform';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
export
|
|
4
|
+
export type Capabilities = {
|
|
5
5
|
handleSuggestion: boolean;
|
|
6
6
|
rejectOwnSuggestion: boolean;
|
|
7
7
|
createSuggestion: boolean;
|
|
@@ -44,7 +44,7 @@ export interface ProviderProps {
|
|
|
44
44
|
permittedActions?: string[];
|
|
45
45
|
children?: React.ReactNode;
|
|
46
46
|
}
|
|
47
|
-
export declare const getLWCapabilities: (project?: Project
|
|
47
|
+
export declare const getLWCapabilities: (project?: Project, profile?: UserProfileWithAvatar, lwRole?: ProviderProps['lwRole'], actions?: string[]) => Capabilities;
|
|
48
48
|
export declare const getAllPermitted: () => Capabilities;
|
|
49
49
|
export declare const usePermissions: () => Capabilities;
|
|
50
50
|
export declare const useCalcPermission: ({ project, profile, lwRole, permittedActions, }: ProviderProps) => Capabilities;
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
export
|
|
16
|
+
import { BibliographicName, CommentAnnotation, Contribution, ManuscriptNote } from '@manuscripts/json-schema';
|
|
17
|
+
import { Build, ManuscriptNode } from '@manuscripts/transform';
|
|
18
|
+
export type CommentType = ManuscriptNote | CommentAnnotation;
|
|
19
19
|
export interface UnsavedComment extends Build<CommentAnnotation> {
|
|
20
20
|
contributions: Contribution[];
|
|
21
21
|
}
|
|
@@ -24,7 +24,7 @@ export interface CommentData<T = CommentType> {
|
|
|
24
24
|
children: T[];
|
|
25
25
|
}
|
|
26
26
|
export declare const isSavedComment: (comment: CommentType | UnsavedComment) => comment is CommentType;
|
|
27
|
-
export
|
|
28
|
-
export declare const buildCommentTree: (doc: ManuscriptNode, comments: CommentType[], newComment?: CommentType
|
|
27
|
+
export type CommentsTreeMap<T = CommentType> = Map<string, CommentData<T>[]>;
|
|
28
|
+
export declare const buildCommentTree: (doc: ManuscriptNode, comments: CommentType[], newComment?: CommentType) => CommentsTreeMap<CommentType>;
|
|
29
29
|
export declare const buildNoteTree: (comments: CommentType[]) => CommentsTreeMap<CommentType>;
|
|
30
30
|
export declare const buildName: (name: Pick<BibliographicName, 'given' | 'family'>) => string;
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { Affiliation } from '@manuscripts/
|
|
16
|
+
import { Affiliation } from '@manuscripts/json-schema';
|
|
17
17
|
declare const _default: (affiliation: Affiliation) => string;
|
|
18
18
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Model } from '@manuscripts/
|
|
1
|
+
import { Model } from '@manuscripts/json-schema';
|
|
2
2
|
import { SubmissionAttachment } from '../components/FileManager/FileSectionItem/FileSectionItem';
|
|
3
3
|
import { FileType } from '../components/FileManager/util';
|
|
4
|
-
export
|
|
4
|
+
export type InlineFile = {
|
|
5
5
|
id: string;
|
|
6
6
|
label: string;
|
|
7
7
|
type: FileType;
|
package/dist/types/lib/name.d.ts
CHANGED
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { BibliographicName } from '@manuscripts/
|
|
16
|
+
import { BibliographicName } from '@manuscripts/json-schema';
|
|
17
17
|
export declare const initials: (name: BibliographicName) => string;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { Affiliation, BibliographicName, Contributor } from '@manuscripts/
|
|
16
|
+
import { Affiliation, BibliographicName, Contributor } from '@manuscripts/json-schema';
|
|
17
17
|
import { ConnectDragSource, ConnectDropTarget } from 'react-dnd';
|
|
18
|
-
export
|
|
18
|
+
export type AffiliationMap = Map<string, Affiliation>;
|
|
19
19
|
interface AffiliationData {
|
|
20
20
|
ordinal: number;
|
|
21
21
|
data: Affiliation;
|
|
@@ -30,8 +30,8 @@ export interface AuthorItem {
|
|
|
30
30
|
index: number;
|
|
31
31
|
priority: number | null;
|
|
32
32
|
}
|
|
33
|
-
export
|
|
34
|
-
export
|
|
33
|
+
export type DropSide = 'before' | 'after' | null;
|
|
34
|
+
export type DropHandler = (source: AuthorItem, target: AuthorItem, position: DropSide, authors: Contributor[]) => void;
|
|
35
35
|
export interface DragSourceProps {
|
|
36
36
|
authorItem: AuthorItem;
|
|
37
37
|
position: DropSide;
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manuscripts/style-guide",
|
|
3
3
|
"description": "Shared components for Manuscripts applications",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"repository": "
|
|
4
|
+
"version": "1.0.0-LEAN-2108",
|
|
5
|
+
"repository": "github:Atypon-OpenSource/manuscripts-style-guide",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|
|
8
8
|
"module": "dist/es",
|
|
@@ -31,100 +31,122 @@
|
|
|
31
31
|
"version": "yarn build"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@apollo/client": "^3.6.9",
|
|
35
34
|
"@formatjs/intl-relativetimeformat": "^4.5.9",
|
|
36
35
|
"@formatjs/intl-utils": "^2.2.0",
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"@reach/tabs": "^0.11.2",
|
|
41
|
-
"@types/prosemirror-model": "~1.13.0",
|
|
42
|
-
"@types/react-color": "^3.0.4",
|
|
43
|
-
"@types/react-router-dom": "^5.1.6",
|
|
44
|
-
"date-fns": "^2.16.1",
|
|
45
|
-
"lodash-es": "^4.17.15",
|
|
46
|
-
"pdfjs-dist": "^2.7.570",
|
|
47
|
-
"react-color": "^2.19.3",
|
|
48
|
-
"react-dnd": "^11.1.3",
|
|
49
|
-
"react-intl": "^3.12.0",
|
|
50
|
-
"react-modal": "^3.11.2",
|
|
51
|
-
"react-modern-calendar-datepicker": "^3.1.3",
|
|
52
|
-
"react-router-dom": "^5.2.0",
|
|
53
|
-
"react-select": "^5.0.1",
|
|
54
|
-
"react-sizeme": "^2.6.12",
|
|
55
|
-
"react-tooltip": "^4.2.11",
|
|
36
|
+
"date-fns": "^2.29.3",
|
|
37
|
+
"lodash-es": "^4.17.21",
|
|
38
|
+
"pdfjs-dist": "^3.1.81",
|
|
56
39
|
"tooltip.js": "^1.3.3",
|
|
57
40
|
"typeface-lato": "^1.1.13"
|
|
58
41
|
},
|
|
59
42
|
"devDependencies": {
|
|
60
|
-
"@
|
|
61
|
-
"@babel/
|
|
62
|
-
"@babel/preset-env": "^7.
|
|
63
|
-
"@babel/preset-react": "^7.
|
|
64
|
-
"@babel/preset-typescript": "^7.
|
|
65
|
-
"@manuscripts/
|
|
43
|
+
"@apollo/client": "^3.7.3",
|
|
44
|
+
"@babel/core": "^7.20.5",
|
|
45
|
+
"@babel/preset-env": "^7.20.2",
|
|
46
|
+
"@babel/preset-react": "^7.18.6",
|
|
47
|
+
"@babel/preset-typescript": "^7.18.6",
|
|
48
|
+
"@manuscripts/eslint-config": "^0.5.1",
|
|
49
|
+
"@manuscripts/assets": "^0.6.1",
|
|
66
50
|
"@manuscripts/data": "^0.1.0",
|
|
67
51
|
"@manuscripts/examples": "^0.0.7",
|
|
68
|
-
"@manuscripts/
|
|
69
|
-
"@manuscripts/
|
|
70
|
-
"@manuscripts/
|
|
71
|
-
"@
|
|
72
|
-
"@
|
|
73
|
-
"@storybook/
|
|
74
|
-
"@storybook/
|
|
75
|
-
"@
|
|
76
|
-
"@
|
|
77
|
-
"@types/
|
|
52
|
+
"@manuscripts/title-editor": "^1.0.0",
|
|
53
|
+
"@manuscripts/comment-editor": "^1.0.0",
|
|
54
|
+
"@manuscripts/transform": "^1.0.1",
|
|
55
|
+
"@manuscripts/json-schema": "^1.0.0",
|
|
56
|
+
"@reach/tabs": "^0.11.2",
|
|
57
|
+
"@storybook/addon-actions": "^6.5.15",
|
|
58
|
+
"@storybook/addons": "^6.5.15",
|
|
59
|
+
"@storybook/core": "^6.5.15",
|
|
60
|
+
"@storybook/react": "^6.5.15",
|
|
61
|
+
"@types/jest": "^29.2.4",
|
|
62
|
+
"@types/lodash-es": "^4.17.6",
|
|
78
63
|
"@types/react": "^16.9.52",
|
|
64
|
+
"@types/react-color": "^3.0.6",
|
|
79
65
|
"@types/react-dom": "^16.9.8",
|
|
80
66
|
"@types/react-modal": "^3.10.6",
|
|
81
|
-
"@types/
|
|
82
|
-
"@types/storybook__react": "^4.0.2",
|
|
67
|
+
"@types/react-router-dom": "^5.1.6",
|
|
83
68
|
"@types/styled-components": "^5.1.4",
|
|
84
|
-
"@types/uuid": "^
|
|
85
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
86
|
-
"@typescript-eslint/parser": "^
|
|
87
|
-
"babel-jest": "^
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"eslint": "^
|
|
92
|
-
"eslint-
|
|
93
|
-
"eslint-plugin-
|
|
94
|
-
"eslint-plugin-
|
|
95
|
-
"eslint-plugin-jest": "^24.1.0",
|
|
96
|
-
"eslint-plugin-jsx-a11y": "^6.3.1",
|
|
97
|
-
"eslint-plugin-mdx": "^1.8.2",
|
|
69
|
+
"@types/uuid": "^9.0.0",
|
|
70
|
+
"@typescript-eslint/eslint-plugin": "^5.47.0",
|
|
71
|
+
"@typescript-eslint/parser": "^5.47.0",
|
|
72
|
+
"babel-jest": "^29.3.1",
|
|
73
|
+
"eslint": "^8.30.0",
|
|
74
|
+
"eslint-config-prettier": "^8.5.0",
|
|
75
|
+
"eslint-plugin-header": "^3.1.1",
|
|
76
|
+
"eslint-plugin-import": "^2.26.0",
|
|
77
|
+
"eslint-plugin-jest": "^27.1.7",
|
|
78
|
+
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
79
|
+
"eslint-plugin-mdx": "^2.0.5",
|
|
98
80
|
"eslint-plugin-node": "^11.1.0",
|
|
99
|
-
"eslint-plugin-prettier": "^
|
|
100
|
-
"eslint-plugin-promise": "^
|
|
101
|
-
"eslint-plugin-react": "^7.
|
|
102
|
-
"eslint-plugin-react-hooks": "^4.
|
|
103
|
-
"eslint-plugin-simple-import-sort": "^
|
|
104
|
-
"formik": "^2.2.
|
|
105
|
-
"husky": "^
|
|
106
|
-
"jest": "^
|
|
107
|
-
"jsdom": "^
|
|
81
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
82
|
+
"eslint-plugin-promise": "^6.1.1",
|
|
83
|
+
"eslint-plugin-react": "^7.31.11",
|
|
84
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
85
|
+
"eslint-plugin-simple-import-sort": "^8.0.0",
|
|
86
|
+
"formik": "^2.2.9",
|
|
87
|
+
"husky": "^8.0.2",
|
|
88
|
+
"jest": "^29.3.1",
|
|
89
|
+
"jest-environment-jsdom": "^29.3.1",
|
|
108
90
|
"npm-run-all": "^4.1.5",
|
|
109
|
-
"prettier": "^2.1
|
|
110
|
-
"
|
|
91
|
+
"prettier": "^2.8.1",
|
|
92
|
+
"prosemirror-commands": "^1.5.0",
|
|
93
|
+
"prosemirror-history": "^1.3.0",
|
|
94
|
+
"prosemirror-inputrules": "^1.2.0",
|
|
95
|
+
"prosemirror-keymap": "^1.2.0",
|
|
96
|
+
"prosemirror-model": "^1.18.3",
|
|
97
|
+
"prosemirror-transform": "^1.7.0",
|
|
98
|
+
"prosemirror-state": "^1.4.2",
|
|
99
|
+
"prosemirror-view": "^1.29.1",
|
|
100
|
+
"react": "^16.13.1",
|
|
101
|
+
"react-dnd": "^11.1.3",
|
|
111
102
|
"react-dnd-html5-backend": "^11.1.3",
|
|
112
|
-
"react-dom": "^16.
|
|
113
|
-
"react-
|
|
103
|
+
"react-dom": "^16.13.1",
|
|
104
|
+
"react-select": "^5.0.1",
|
|
105
|
+
"react-color": "^2.19.3",
|
|
106
|
+
"react-intl": "^3.12.0",
|
|
107
|
+
"react-modal": "^3.11.2",
|
|
108
|
+
"react-modern-calendar-datepicker": "^3.1.3",
|
|
109
|
+
"react-popper": "^1.3.11",
|
|
110
|
+
"react-router-dom": "^5.2.0",
|
|
111
|
+
"react-sizeme": "^2.6.12",
|
|
112
|
+
"react-tooltip": "^4.2.11",
|
|
113
|
+
"react-is": "^16.13.1",
|
|
114
114
|
"rimraf": "^3.0.0",
|
|
115
115
|
"styled-components": "^5.2.0",
|
|
116
|
-
"typescript": "
|
|
116
|
+
"typescript": "^4.4.4"
|
|
117
117
|
},
|
|
118
118
|
"peerDependencies": {
|
|
119
|
-
"@
|
|
120
|
-
"@manuscripts/
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
119
|
+
"@apollo/client": "^3.7.3",
|
|
120
|
+
"@manuscripts/assets": "^0.6.1",
|
|
121
|
+
"@manuscripts/title-editor": "^1.0.0",
|
|
122
|
+
"@manuscripts/comment-editor": "^1.0.0",
|
|
123
|
+
"@manuscripts/transform": "^1.0.1",
|
|
124
|
+
"@manuscripts/json-schema": "^1.0.0",
|
|
125
|
+
"@reach/tabs": "^0.11.2",
|
|
126
|
+
"formik": "^2.2.9",
|
|
127
|
+
"react": "^16.13.1",
|
|
128
|
+
"react-dnd": "^11.1.3",
|
|
129
|
+
"react-dnd-html5-backend": "^11.1.3",
|
|
130
|
+
"react-dom": "^16.13.1",
|
|
131
|
+
"react-color": "^2.19.3",
|
|
132
|
+
"react-intl": "^3.12.0",
|
|
133
|
+
"react-modal": "^3.11.2",
|
|
134
|
+
"react-modern-calendar-datepicker": "^3.1.3",
|
|
135
|
+
"react-popper": "^1.3.11",
|
|
136
|
+
"react-router-dom": "^5.2.0",
|
|
137
|
+
"react-select": "^5.0.1",
|
|
138
|
+
"react-sizeme": "^2.6.12",
|
|
139
|
+
"react-tooltip": "^4.2.11",
|
|
140
|
+
"prosemirror-commands": "^1.5.0",
|
|
141
|
+
"prosemirror-history": "^1.3.0",
|
|
142
|
+
"prosemirror-inputrules": "^1.2.0",
|
|
143
|
+
"prosemirror-keymap": "^1.2.0",
|
|
144
|
+
"prosemirror-model": "^1.18.3",
|
|
145
|
+
"prosemirror-transform": "^1.7.0",
|
|
146
|
+
"prosemirror-state": "^1.4.2",
|
|
147
|
+
"prosemirror-view": "^1.29.1"
|
|
125
148
|
},
|
|
126
149
|
"resolutions": {
|
|
127
|
-
"
|
|
128
|
-
"@types/prosemirror-model": "~1.13.0"
|
|
150
|
+
"@types/react": "^16.9.52"
|
|
129
151
|
}
|
|
130
152
|
}
|
package/NOTICE
DELETED