@manuscripts/style-guide 1.12.17-LEAN-3720.0 → 1.13.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.
- package/dist/cjs/components/EditorHeader/EditorHeader.js +210 -0
- package/dist/cjs/components/EditorHeader/ProceedView.js +195 -0
- package/dist/cjs/components/RelativeDate.js +16 -4
- package/dist/cjs/index.js +1 -2
- package/dist/es/components/EditorHeader/EditorHeader.js +180 -0
- package/dist/es/components/EditorHeader/ProceedView.js +165 -0
- package/dist/es/components/RelativeDate.js +16 -4
- package/dist/es/index.js +1 -2
- package/dist/types/components/EditorHeader/EditorHeader.d.ts +68 -0
- package/dist/types/components/EditorHeader/ProceedView.d.ts +22 -0
- package/dist/types/components/RelativeDate.d.ts +4 -3
- package/dist/types/index.d.ts +1 -2
- package/package.json +1 -1
- package/dist/cjs/components/Comments/CommentActions.js +0 -98
- package/dist/cjs/components/Comments/CommentBody.js +0 -160
- package/dist/cjs/components/Comments/CommentTarget.js +0 -55
- package/dist/cjs/components/Comments/CommentUser.js +0 -76
- package/dist/cjs/components/Comments/CommentWrapper.js +0 -118
- package/dist/cjs/components/Comments/ResolveButton.js +0 -66
- package/dist/cjs/components/Comments/index.js +0 -21
- package/dist/cjs/components/ManuscriptNoteList.js +0 -210
- package/dist/es/components/Comments/CommentActions.js +0 -68
- package/dist/es/components/Comments/CommentBody.js +0 -131
- package/dist/es/components/Comments/CommentTarget.js +0 -29
- package/dist/es/components/Comments/CommentUser.js +0 -69
- package/dist/es/components/Comments/CommentWrapper.js +0 -88
- package/dist/es/components/Comments/ResolveButton.js +0 -59
- package/dist/es/components/Comments/index.js +0 -5
- package/dist/es/components/ManuscriptNoteList.js +0 -181
- package/dist/types/components/Comments/CommentActions.d.ts +0 -28
- package/dist/types/components/Comments/CommentBody.d.ts +0 -39
- package/dist/types/components/Comments/CommentTarget.d.ts +0 -21
- package/dist/types/components/Comments/CommentUser.d.ts +0 -23
- package/dist/types/components/Comments/CommentWrapper.d.ts +0 -26
- package/dist/types/components/Comments/ResolveButton.d.ts +0 -21
- package/dist/types/components/Comments/index.d.ts +0 -5
- package/dist/types/components/ManuscriptNoteList.d.ts +0 -45
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* © 2020 Atypon Systems LLC
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { Contribution, UserProfile } from '@manuscripts/json-schema';
|
|
17
|
-
import React from 'react';
|
|
18
|
-
export declare const CommentUser: React.FC<{
|
|
19
|
-
contributions?: Contribution[];
|
|
20
|
-
getCollaboratorById: (id: string) => UserProfile | undefined;
|
|
21
|
-
displayName?: string;
|
|
22
|
-
createdAt?: number;
|
|
23
|
-
}>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* © 2020 Atypon Systems LLC
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import React from 'react';
|
|
17
|
-
import { Capabilities } from '../../lib/capabilities';
|
|
18
|
-
import { CommentBodyProps } from './CommentBody';
|
|
19
|
-
export declare const CommentWrapper: React.FC<CommentBodyProps & {
|
|
20
|
-
handleSetResolved?: () => void;
|
|
21
|
-
isSelected?: boolean;
|
|
22
|
-
handleRequestSelect?: () => void;
|
|
23
|
-
can?: Capabilities;
|
|
24
|
-
currentUserId?: string;
|
|
25
|
-
isProdNote?: boolean;
|
|
26
|
-
}>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* © 2021 Atypon Systems LLC
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import React from 'react';
|
|
17
|
-
export declare const ResolveButton: React.FC<{
|
|
18
|
-
id: string;
|
|
19
|
-
resolved: boolean | undefined;
|
|
20
|
-
resolvedCallback: () => void;
|
|
21
|
-
}>;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* © 2020 Atypon Systems LLC
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { Keyword, ManuscriptNote, UserProfile } from '@manuscripts/json-schema';
|
|
17
|
-
import { Selected } from '@manuscripts/transform';
|
|
18
|
-
import React from 'react';
|
|
19
|
-
import { Capabilities } from '../lib/capabilities';
|
|
20
|
-
interface Props {
|
|
21
|
-
createKeyword: (name: string) => Promise<Keyword>;
|
|
22
|
-
deleteModel: (id: string) => Promise<string>;
|
|
23
|
-
getCollaboratorById: (id: string) => UserProfile | undefined;
|
|
24
|
-
currentUserId?: string;
|
|
25
|
-
displayName?: string;
|
|
26
|
-
getKeyword: (id: string) => Keyword | undefined;
|
|
27
|
-
listCollaborators: () => UserProfile[];
|
|
28
|
-
listKeywords: () => Keyword[];
|
|
29
|
-
notes: ManuscriptNote[];
|
|
30
|
-
noteSource: 'EMAIL' | 'EDITOR' | 'DASHBOARD';
|
|
31
|
-
saveModel: (model: ManuscriptNote) => Promise<ManuscriptNote>;
|
|
32
|
-
selected: Selected | null;
|
|
33
|
-
can: Capabilities;
|
|
34
|
-
}
|
|
35
|
-
export declare const ManuscriptNoteList: React.FC<Props>;
|
|
36
|
-
export declare const NoteBodyContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
37
|
-
isSelected: boolean;
|
|
38
|
-
isNew: boolean;
|
|
39
|
-
}, never>;
|
|
40
|
-
export declare const ReplyBodyContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
41
|
-
export declare const LightRelativeDate: import("styled-components").StyledComponent<React.FC<{
|
|
42
|
-
createdAt?: number | undefined;
|
|
43
|
-
}>, import("styled-components").DefaultTheme, {}, never>;
|
|
44
|
-
export declare const LabelText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
45
|
-
export {};
|