@manuscripts/style-guide 1.1.17-LEAN-2669 → 1.1.17-LIT-528106-1
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/FileManager/FileSectionItem/FileInfo.js +3 -25
- package/dist/cjs/components/FileManager/FileSectionItem/FileSectionItem.js +1 -1
- package/dist/cjs/components/FileManager/InlineFilesSection.js +6 -31
- package/dist/es/components/FileManager/FileSectionItem/FileInfo.js +2 -24
- package/dist/es/components/FileManager/FileSectionItem/FileSectionItem.js +1 -1
- package/dist/es/components/FileManager/InlineFilesSection.js +5 -30
- package/dist/types/components/FileManager/FileSectionItem/FileInfo.d.ts +0 -3
- package/dist/types/components/FileManager/FileSectionItem/FileSectionItem.d.ts +0 -1
- package/dist/types/components/FileManager/InlineFilesSection.d.ts +0 -2
- package/package.json +3 -3
|
@@ -26,13 +26,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.FileDescription = exports.
|
|
30
|
-
const date_fns_1 = require("date-fns");
|
|
29
|
+
exports.FileDescription = exports.FileName = exports.FileNameContainer = exports.FileTitle = exports.FileNameTitleContainer = exports.FileInfoContainer = exports.FileInfo = void 0;
|
|
31
30
|
const react_1 = __importStar(require("react"));
|
|
32
|
-
const react_tooltip_1 = __importDefault(require("react-tooltip"));
|
|
33
31
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
34
32
|
const FileManager_1 = require("../FileManager");
|
|
35
|
-
const FileInfo = ({ showAttachmentName, title, fileAttachmentName, fileExtension, attachmentId, dispatch,
|
|
33
|
+
const FileInfo = ({ showAttachmentName, title, fileAttachmentName, fileExtension, attachmentId, dispatch, }) => {
|
|
36
34
|
const fileName = fileAttachmentName.substring(0, fileAttachmentName.lastIndexOf('.'));
|
|
37
35
|
const can = (0, react_1.useContext)(FileManager_1.PermissionsContext);
|
|
38
36
|
return (react_1.default.createElement(exports.FileInfoContainer, null,
|
|
@@ -44,20 +42,9 @@ const FileInfo = ({ showAttachmentName, title, fileAttachmentName, fileExtension
|
|
|
44
42
|
react_1.default.createElement(exports.FileName, null, fileName),
|
|
45
43
|
react_1.default.createElement("div", null,
|
|
46
44
|
".",
|
|
47
|
-
fileExtension)))
|
|
48
|
-
fileCreatedDate && (react_1.default.createElement(exports.FileDateContainer, { "data-tip": "tooltip-content" },
|
|
49
|
-
react_1.default.createElement(exports.FileDate, null, (0, date_fns_1.format)(new Date(fileCreatedDate), 'M/d/yy, HH:mm')),
|
|
50
|
-
react_1.default.createElement(react_tooltip_1.default, { place: "bottom", offset: { top: 0 }, effect: "solid", className: "tooltip" }, "File Uploaded"))))));
|
|
45
|
+
fileExtension))))));
|
|
51
46
|
};
|
|
52
47
|
exports.FileInfo = FileInfo;
|
|
53
|
-
exports.FileDateContainer = styled_components_1.default.div `
|
|
54
|
-
line-height: 20px;
|
|
55
|
-
overflow: hidden;
|
|
56
|
-
width: 100%;
|
|
57
|
-
display: none;
|
|
58
|
-
display: flex;
|
|
59
|
-
justify-content: flex-end;
|
|
60
|
-
`;
|
|
61
48
|
exports.FileInfoContainer = styled_components_1.default.div `
|
|
62
49
|
margin-left: 8px;
|
|
63
50
|
overflow: hidden;
|
|
@@ -66,15 +53,10 @@ exports.FileInfoContainer = styled_components_1.default.div `
|
|
|
66
53
|
justify-content: center;
|
|
67
54
|
align-items: start;
|
|
68
55
|
width: 100%;
|
|
69
|
-
|
|
70
|
-
&:hover ${exports.FileDateContainer} {
|
|
71
|
-
display: flex;
|
|
72
|
-
}
|
|
73
56
|
`;
|
|
74
57
|
exports.FileNameTitleContainer = styled_components_1.default.div `
|
|
75
58
|
display: flex;
|
|
76
59
|
width: 100%;
|
|
77
|
-
align-items: baseline;
|
|
78
60
|
`;
|
|
79
61
|
exports.FileTitle = styled_components_1.default.div `
|
|
80
62
|
color: ${(props) => props.theme.colors.text.primary};
|
|
@@ -97,10 +79,6 @@ exports.FileName = styled_components_1.default.div `
|
|
|
97
79
|
text-overflow: ellipsis;
|
|
98
80
|
white-space: nowrap;
|
|
99
81
|
overflow: hidden;
|
|
100
|
-
width: 50px;
|
|
101
|
-
`;
|
|
102
|
-
exports.FileDate = styled_components_1.default.div `
|
|
103
|
-
font-size: font-size: ${(props) => props.theme.font.size.small};
|
|
104
82
|
`;
|
|
105
83
|
exports.FileDescription = styled_components_1.default.div `
|
|
106
84
|
color: ${(props) => props.theme.colors.text.secondary};
|
|
@@ -27,7 +27,7 @@ const FileSectionItem = ({ fileSection, externalFile, title, showAttachmentName
|
|
|
27
27
|
}
|
|
28
28
|
} },
|
|
29
29
|
react_1.default.createElement(FileTypeIcon_1.FileTypeIcon, { withDot: isMainManuscript, fileExtension: fileExtension, alt: externalFile.name }),
|
|
30
|
-
react_1.default.createElement(FileInfo_1.FileInfo, { fileExtension: fileExtension,
|
|
30
|
+
react_1.default.createElement(FileInfo_1.FileInfo, { fileExtension: fileExtension, showAttachmentName: showAttachmentName, fileAttachmentName: externalFile.name, title: title, attachmentId: externalFile.id, dispatch: dispatch })),
|
|
31
31
|
onClose && (react_1.default.createElement(IconCloseButton, { onClick: (e) => {
|
|
32
32
|
e.preventDefault();
|
|
33
33
|
onClose();
|
|
@@ -26,10 +26,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
const date_fns_1 = require("date-fns");
|
|
29
|
+
exports.InlineFilesSection = void 0;
|
|
31
30
|
const react_1 = __importStar(require("react"));
|
|
32
|
-
const react_tooltip_1 = __importDefault(require("react-tooltip"));
|
|
33
31
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
34
32
|
const use_dropdown_1 = require("../../hooks/use-dropdown");
|
|
35
33
|
const dots_icon_1 = __importDefault(require("../icons/dots-icon"));
|
|
@@ -54,8 +52,7 @@ const InlineFilesSection = ({ handleReplace, handleDownload, handleUpdateInline,
|
|
|
54
52
|
return (react_1.default.createElement("div", null, inlineFiles.map((file, index) => {
|
|
55
53
|
var _a;
|
|
56
54
|
return (react_1.default.createElement(ElementItem, { className: 'item', key: index, id: file.id, onClick: onElementClick },
|
|
57
|
-
react_1.default.createElement(FileReferences, { className: 'refItems' }, (_a = file.attachments) === null || _a === void 0 ? void 0 : _a.map((attachment) => (react_1.default.createElement(
|
|
58
|
-
react_1.default.createElement(FileReference, { key: attachment.id, attachment: attachment, handleReplace: handleReplace, handleUpdateInline: handleUpdateInline, handleDetachFile: handleDetachFile, handleDownload: handleDownload, dispatch: dispatch }))))),
|
|
55
|
+
react_1.default.createElement(FileReferences, { className: 'refItems' }, (_a = file.attachments) === null || _a === void 0 ? void 0 : _a.map((attachment) => (react_1.default.createElement(FileReference, { key: attachment.id, attachment: attachment, handleReplace: handleReplace, handleUpdateInline: handleUpdateInline, handleDetachFile: handleDetachFile, handleDownload: handleDownload, dispatch: dispatch })))),
|
|
59
56
|
react_1.default.createElement(Element, { className: 'element' },
|
|
60
57
|
util_1.fileTypesWithIconMap.get(file.type),
|
|
61
58
|
react_1.default.createElement(FileInfo_1.FileInfoContainer, null,
|
|
@@ -74,9 +71,6 @@ const FileReference = ({ attachment, handleReplace, handleDownload, handleUpdate
|
|
|
74
71
|
react_1.default.createElement(Container, null,
|
|
75
72
|
util_1.fileTypesWithIconMap.get(util_1.extensionsWithFileTypesMap.get(fileExtension)),
|
|
76
73
|
react_1.default.createElement(FileReferenceName, null, attachment.name)),
|
|
77
|
-
attachment.createdDate && (react_1.default.createElement(exports.FileDateContainer, { "data-tip": "tooltip-content" },
|
|
78
|
-
react_1.default.createElement(exports.FileDate, null, (0, date_fns_1.format)(new Date(attachment.createdDate), 'M/d/yy, HH:mm')),
|
|
79
|
-
react_1.default.createElement(react_tooltip_1.default, { place: "bottom", offset: { top: 0 }, effect: "solid", className: "tooltip" }, "File Uploaded"))),
|
|
80
74
|
handleDownload && handleReplace && (react_1.default.createElement(DropdownContainer, { ref: wrapperRef },
|
|
81
75
|
react_1.default.createElement(FileSectionItem_1.ActionsIcon, { onClick: toggleOpen, type: "button", className: 'external_file_dropdown', "aria-label": "Download or Replace or Detach", "aria-pressed": isOpen },
|
|
82
76
|
react_1.default.createElement(dots_icon_1.default, null)),
|
|
@@ -86,12 +80,6 @@ const FileReference = ({ attachment, handleReplace, handleDownload, handleUpdate
|
|
|
86
80
|
attachment.modelId &&
|
|
87
81
|
handleDetachFile(attachment.id, attachment.modelId), downloadAttachmentHandler: handleDownload, attachmentId: attachment.id, fileName: attachment.name, publicUrl: attachment.link, hideActionList: toggleOpen, dispatch: dispatch, dropDownClassName: 'ref_item_dropdown' }))))));
|
|
88
82
|
};
|
|
89
|
-
exports.FileDateContainer = styled_components_1.default.div `
|
|
90
|
-
overflow: hidden;
|
|
91
|
-
display: none;
|
|
92
|
-
width: 100%;
|
|
93
|
-
justify-content: flex-end;
|
|
94
|
-
`;
|
|
95
83
|
const ElementItem = (0, styled_components_1.default)(FileSectionItem_1.Item) `
|
|
96
84
|
display: flex;
|
|
97
85
|
// this will allow us to select the previous sibling node,
|
|
@@ -106,9 +94,6 @@ const ElementItem = (0, styled_components_1.default)(FileSectionItem_1.Item) `
|
|
|
106
94
|
.refItems:hover ~ .element {
|
|
107
95
|
background: white !important;
|
|
108
96
|
}
|
|
109
|
-
&:hover ${exports.FileDateContainer} {
|
|
110
|
-
display: flex;
|
|
111
|
-
}
|
|
112
97
|
|
|
113
98
|
.refItems:hover {
|
|
114
99
|
background: white !important;
|
|
@@ -122,24 +107,18 @@ const ElementItem = (0, styled_components_1.default)(FileSectionItem_1.Item) `
|
|
|
122
107
|
`;
|
|
123
108
|
const Container = styled_components_1.default.div `
|
|
124
109
|
display: flex;
|
|
125
|
-
width: 100%;
|
|
126
110
|
`;
|
|
127
111
|
const Element = styled_components_1.default.div `
|
|
128
112
|
display: flex;
|
|
129
113
|
padding: 20px 15px;
|
|
130
114
|
`;
|
|
131
|
-
const FileReferences = styled_components_1.default.div
|
|
132
|
-
display: flex;
|
|
133
|
-
align-items: center;
|
|
134
|
-
justify-content: space-between;
|
|
135
|
-
width: 100%;
|
|
136
|
-
`;
|
|
115
|
+
const FileReferences = styled_components_1.default.div ``;
|
|
137
116
|
const FileReferenceItem = styled_components_1.default.div `
|
|
138
117
|
display: flex;
|
|
139
|
-
|
|
140
|
-
align-items: space;
|
|
118
|
+
align-items: center;
|
|
141
119
|
justify-content: space-between;
|
|
142
|
-
|
|
120
|
+
|
|
121
|
+
svg {
|
|
143
122
|
width: 14px;
|
|
144
123
|
height: 17px;
|
|
145
124
|
}
|
|
@@ -182,7 +161,3 @@ const FileReferenceName = styled_components_1.default.div `
|
|
|
182
161
|
const DropdownContainer = styled_components_1.default.div `
|
|
183
162
|
position: relative;
|
|
184
163
|
`;
|
|
185
|
-
exports.FileDate = styled_components_1.default.div `
|
|
186
|
-
font-size: ${(props) => props.theme.font.size.small};
|
|
187
|
-
line-height: 27px;
|
|
188
|
-
`;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { format } from 'date-fns';
|
|
2
1
|
import React, { useContext } from 'react';
|
|
3
|
-
import ReactTooltip from 'react-tooltip';
|
|
4
2
|
import styled from 'styled-components';
|
|
5
3
|
import { PermissionsContext } from '../FileManager';
|
|
6
|
-
export const FileInfo = ({ showAttachmentName, title, fileAttachmentName, fileExtension, attachmentId, dispatch,
|
|
4
|
+
export const FileInfo = ({ showAttachmentName, title, fileAttachmentName, fileExtension, attachmentId, dispatch, }) => {
|
|
7
5
|
const fileName = fileAttachmentName.substring(0, fileAttachmentName.lastIndexOf('.'));
|
|
8
6
|
const can = useContext(PermissionsContext);
|
|
9
7
|
return (React.createElement(FileInfoContainer, null,
|
|
@@ -15,19 +13,8 @@ export const FileInfo = ({ showAttachmentName, title, fileAttachmentName, fileEx
|
|
|
15
13
|
React.createElement(FileName, null, fileName),
|
|
16
14
|
React.createElement("div", null,
|
|
17
15
|
".",
|
|
18
|
-
fileExtension)))
|
|
19
|
-
fileCreatedDate && (React.createElement(FileDateContainer, { "data-tip": "tooltip-content" },
|
|
20
|
-
React.createElement(FileDate, null, format(new Date(fileCreatedDate), 'M/d/yy, HH:mm')),
|
|
21
|
-
React.createElement(ReactTooltip, { place: "bottom", offset: { top: 0 }, effect: "solid", className: "tooltip" }, "File Uploaded"))))));
|
|
16
|
+
fileExtension))))));
|
|
22
17
|
};
|
|
23
|
-
export const FileDateContainer = styled.div `
|
|
24
|
-
line-height: 20px;
|
|
25
|
-
overflow: hidden;
|
|
26
|
-
width: 100%;
|
|
27
|
-
display: none;
|
|
28
|
-
display: flex;
|
|
29
|
-
justify-content: flex-end;
|
|
30
|
-
`;
|
|
31
18
|
export const FileInfoContainer = styled.div `
|
|
32
19
|
margin-left: 8px;
|
|
33
20
|
overflow: hidden;
|
|
@@ -36,15 +23,10 @@ export const FileInfoContainer = styled.div `
|
|
|
36
23
|
justify-content: center;
|
|
37
24
|
align-items: start;
|
|
38
25
|
width: 100%;
|
|
39
|
-
|
|
40
|
-
&:hover ${FileDateContainer} {
|
|
41
|
-
display: flex;
|
|
42
|
-
}
|
|
43
26
|
`;
|
|
44
27
|
export const FileNameTitleContainer = styled.div `
|
|
45
28
|
display: flex;
|
|
46
29
|
width: 100%;
|
|
47
|
-
align-items: baseline;
|
|
48
30
|
`;
|
|
49
31
|
export const FileTitle = styled.div `
|
|
50
32
|
color: ${(props) => props.theme.colors.text.primary};
|
|
@@ -67,10 +49,6 @@ export const FileName = styled.div `
|
|
|
67
49
|
text-overflow: ellipsis;
|
|
68
50
|
white-space: nowrap;
|
|
69
51
|
overflow: hidden;
|
|
70
|
-
width: 50px;
|
|
71
|
-
`;
|
|
72
|
-
export const FileDate = styled.div `
|
|
73
|
-
font-size: font-size: ${(props) => props.theme.font.size.small};
|
|
74
52
|
`;
|
|
75
53
|
export const FileDescription = styled.div `
|
|
76
54
|
color: ${(props) => props.theme.colors.text.secondary};
|
|
@@ -21,7 +21,7 @@ export const FileSectionItem = ({ fileSection, externalFile, title, showAttachme
|
|
|
21
21
|
}
|
|
22
22
|
} },
|
|
23
23
|
React.createElement(FileTypeIcon, { withDot: isMainManuscript, fileExtension: fileExtension, alt: externalFile.name }),
|
|
24
|
-
React.createElement(FileInfo, { fileExtension: fileExtension,
|
|
24
|
+
React.createElement(FileInfo, { fileExtension: fileExtension, showAttachmentName: showAttachmentName, fileAttachmentName: externalFile.name, title: title, attachmentId: externalFile.id, dispatch: dispatch })),
|
|
25
25
|
onClose && (React.createElement(IconCloseButton, { onClick: (e) => {
|
|
26
26
|
e.preventDefault();
|
|
27
27
|
onClose();
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { format } from 'date-fns';
|
|
2
1
|
import React, { useCallback } from 'react';
|
|
3
|
-
import ReactTooltip from 'react-tooltip';
|
|
4
2
|
import styled from 'styled-components';
|
|
5
3
|
import { useDropdown } from '../../hooks/use-dropdown';
|
|
6
4
|
import DotsIcon from '../icons/dots-icon';
|
|
@@ -25,8 +23,7 @@ export const InlineFilesSection = ({ handleReplace, handleDownload, handleUpdate
|
|
|
25
23
|
return (React.createElement("div", null, inlineFiles.map((file, index) => {
|
|
26
24
|
var _a;
|
|
27
25
|
return (React.createElement(ElementItem, { className: 'item', key: index, id: file.id, onClick: onElementClick },
|
|
28
|
-
React.createElement(FileReferences, { className: 'refItems' }, (_a = file.attachments) === null || _a === void 0 ? void 0 : _a.map((attachment) => (React.createElement(
|
|
29
|
-
React.createElement(FileReference, { key: attachment.id, attachment: attachment, handleReplace: handleReplace, handleUpdateInline: handleUpdateInline, handleDetachFile: handleDetachFile, handleDownload: handleDownload, dispatch: dispatch }))))),
|
|
26
|
+
React.createElement(FileReferences, { className: 'refItems' }, (_a = file.attachments) === null || _a === void 0 ? void 0 : _a.map((attachment) => (React.createElement(FileReference, { key: attachment.id, attachment: attachment, handleReplace: handleReplace, handleUpdateInline: handleUpdateInline, handleDetachFile: handleDetachFile, handleDownload: handleDownload, dispatch: dispatch })))),
|
|
30
27
|
React.createElement(Element, { className: 'element' },
|
|
31
28
|
fileTypesWithIconMap.get(file.type),
|
|
32
29
|
React.createElement(FileInfoContainer, null,
|
|
@@ -44,9 +41,6 @@ const FileReference = ({ attachment, handleReplace, handleDownload, handleUpdate
|
|
|
44
41
|
React.createElement(Container, null,
|
|
45
42
|
fileTypesWithIconMap.get(extensionsWithFileTypesMap.get(fileExtension)),
|
|
46
43
|
React.createElement(FileReferenceName, null, attachment.name)),
|
|
47
|
-
attachment.createdDate && (React.createElement(FileDateContainer, { "data-tip": "tooltip-content" },
|
|
48
|
-
React.createElement(FileDate, null, format(new Date(attachment.createdDate), 'M/d/yy, HH:mm')),
|
|
49
|
-
React.createElement(ReactTooltip, { place: "bottom", offset: { top: 0 }, effect: "solid", className: "tooltip" }, "File Uploaded"))),
|
|
50
44
|
handleDownload && handleReplace && (React.createElement(DropdownContainer, { ref: wrapperRef },
|
|
51
45
|
React.createElement(ActionsIcon, { onClick: toggleOpen, type: "button", className: 'external_file_dropdown', "aria-label": "Download or Replace or Detach", "aria-pressed": isOpen },
|
|
52
46
|
React.createElement(DotsIcon, null)),
|
|
@@ -56,12 +50,6 @@ const FileReference = ({ attachment, handleReplace, handleDownload, handleUpdate
|
|
|
56
50
|
attachment.modelId &&
|
|
57
51
|
handleDetachFile(attachment.id, attachment.modelId), downloadAttachmentHandler: handleDownload, attachmentId: attachment.id, fileName: attachment.name, publicUrl: attachment.link, hideActionList: toggleOpen, dispatch: dispatch, dropDownClassName: 'ref_item_dropdown' }))))));
|
|
58
52
|
};
|
|
59
|
-
export const FileDateContainer = styled.div `
|
|
60
|
-
overflow: hidden;
|
|
61
|
-
display: none;
|
|
62
|
-
width: 100%;
|
|
63
|
-
justify-content: flex-end;
|
|
64
|
-
`;
|
|
65
53
|
const ElementItem = styled(Item) `
|
|
66
54
|
display: flex;
|
|
67
55
|
// this will allow us to select the previous sibling node,
|
|
@@ -76,9 +64,6 @@ const ElementItem = styled(Item) `
|
|
|
76
64
|
.refItems:hover ~ .element {
|
|
77
65
|
background: white !important;
|
|
78
66
|
}
|
|
79
|
-
&:hover ${FileDateContainer} {
|
|
80
|
-
display: flex;
|
|
81
|
-
}
|
|
82
67
|
|
|
83
68
|
.refItems:hover {
|
|
84
69
|
background: white !important;
|
|
@@ -92,24 +77,18 @@ const ElementItem = styled(Item) `
|
|
|
92
77
|
`;
|
|
93
78
|
const Container = styled.div `
|
|
94
79
|
display: flex;
|
|
95
|
-
width: 100%;
|
|
96
80
|
`;
|
|
97
81
|
const Element = styled.div `
|
|
98
82
|
display: flex;
|
|
99
83
|
padding: 20px 15px;
|
|
100
84
|
`;
|
|
101
|
-
const FileReferences = styled.div
|
|
102
|
-
display: flex;
|
|
103
|
-
align-items: center;
|
|
104
|
-
justify-content: space-between;
|
|
105
|
-
width: 100%;
|
|
106
|
-
`;
|
|
85
|
+
const FileReferences = styled.div ``;
|
|
107
86
|
const FileReferenceItem = styled.div `
|
|
108
87
|
display: flex;
|
|
109
|
-
|
|
110
|
-
align-items: space;
|
|
88
|
+
align-items: center;
|
|
111
89
|
justify-content: space-between;
|
|
112
|
-
|
|
90
|
+
|
|
91
|
+
svg {
|
|
113
92
|
width: 14px;
|
|
114
93
|
height: 17px;
|
|
115
94
|
}
|
|
@@ -152,7 +131,3 @@ const FileReferenceName = styled.div `
|
|
|
152
131
|
const DropdownContainer = styled.div `
|
|
153
132
|
position: relative;
|
|
154
133
|
`;
|
|
155
|
-
export const FileDate = styled.div `
|
|
156
|
-
font-size: ${(props) => props.theme.font.size.small};
|
|
157
|
-
line-height: 27px;
|
|
158
|
-
`;
|
|
@@ -6,14 +6,11 @@ export declare const FileInfo: React.FC<{
|
|
|
6
6
|
fileAttachmentName: string;
|
|
7
7
|
fileExtension: string;
|
|
8
8
|
attachmentId: string;
|
|
9
|
-
fileCreatedDate: Date;
|
|
10
9
|
dispatch?: Dispatch<Action>;
|
|
11
10
|
}>;
|
|
12
|
-
export declare const FileDateContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
13
11
|
export declare const FileInfoContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
14
12
|
export declare const FileNameTitleContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
15
13
|
export declare const FileTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
16
14
|
export declare const FileNameContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
17
15
|
export declare const FileName: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
18
|
-
export declare const FileDate: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
19
16
|
export declare const FileDescription: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -18,5 +18,3 @@ export declare const InlineFilesSection: React.FC<{
|
|
|
18
18
|
isEditor: boolean;
|
|
19
19
|
dispatch: Dispatch<Action>;
|
|
20
20
|
}>;
|
|
21
|
-
export declare const FileDateContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
22
|
-
export declare const FileDate: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
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.17-
|
|
4
|
+
"version": "1.1.17-LIT-528106-1",
|
|
5
5
|
"repository": "github:Atypon-OpenSource/manuscripts-style-guide",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|
|
@@ -36,7 +36,7 @@
|
|
|
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": "
|
|
39
|
+
"@manuscripts/transform": "1.3.6-LIT-528106-4",
|
|
40
40
|
"@manuscripts/json-schema": "^2.1.0",
|
|
41
41
|
"@manuscripts/title-editor": "^1.1.0",
|
|
42
42
|
"@manuscripts/comment-editor": "^1.0.3",
|
|
@@ -142,4 +142,4 @@
|
|
|
142
142
|
"resolutions": {
|
|
143
143
|
"@types/react": "^17.0.2"
|
|
144
144
|
}
|
|
145
|
-
}
|
|
145
|
+
}
|