@manuscripts/style-guide 0.32.31 → 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 +12 -20
- 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 +18 -42
- package/dist/es/components/AffiliationsEditor/AffiliationsEditorProfile.js +1 -1
- package/dist/es/components/FileManager/FileManager.js +6 -18
- 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 +10 -34
- 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/InlineFilesSection.d.ts +0 -5
- 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
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