@manuscripts/style-guide 0.30.21 → 0.30.24
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/AuthorsContainer.js +2 -2
- package/dist/cjs/components/AuthorsList/AuthorsList.js +2 -2
- package/dist/cjs/components/FileManager/FileManager.js +3 -2
- package/dist/cjs/components/FileManager/FileSectionItem/FileInfo.js +7 -7
- package/dist/cjs/components/FileManager/FileSectionItem/FileTypeIcon.js +9 -18
- package/dist/cjs/components/FileManager/FileSectionItem/ItemActions.js +2 -2
- package/dist/cjs/components/FileManager/InlineFilesSection.js +156 -0
- package/dist/cjs/components/FileManager/util.js +10 -1
- package/dist/cjs/components/icons/audio-icon.js +4 -4
- package/dist/cjs/components/icons/code-file-icon.js +4 -4
- package/dist/cjs/components/icons/compressed-file-icon.js +11 -11
- package/dist/cjs/components/icons/document-icon-with-dot.js +28 -0
- package/dist/cjs/components/icons/document-icon.js +5 -5
- package/dist/cjs/components/icons/figure-icon.js +4 -4
- package/dist/cjs/components/icons/graphical_abstract_icon.js +26 -0
- package/dist/cjs/components/icons/image-icon.js +24 -0
- package/dist/cjs/components/icons/latex-icon.js +6 -6
- package/dist/cjs/components/icons/pdf-file-icon.js +3 -3
- package/dist/cjs/components/icons/table-icon.js +2 -4
- package/dist/cjs/components/icons/unknown-format-file-icon.js +3 -3
- package/dist/cjs/components/icons/video-icon.js +2 -2
- package/dist/cjs/hooks/use-dropdown.js +2 -1
- package/dist/cjs/lib/inlineFiles.js +65 -0
- package/dist/es/components/AuthorsContainer.js +2 -2
- package/dist/es/components/AuthorsList/AuthorsList.js +2 -2
- package/dist/es/components/FileManager/FileManager.js +3 -2
- package/dist/es/components/FileManager/FileSectionItem/FileInfo.js +3 -3
- package/dist/es/components/FileManager/FileSectionItem/FileTypeIcon.js +9 -18
- package/dist/es/components/FileManager/FileSectionItem/ItemActions.js +2 -2
- package/dist/es/components/FileManager/InlineFilesSection.js +130 -0
- package/dist/es/components/FileManager/util.js +10 -1
- package/dist/es/components/icons/audio-icon.js +4 -4
- package/dist/es/components/icons/code-file-icon.js +4 -4
- package/dist/es/components/icons/compressed-file-icon.js +11 -11
- package/dist/es/components/icons/document-icon-with-dot.js +23 -0
- package/dist/es/components/icons/document-icon.js +5 -5
- package/dist/es/components/icons/figure-icon.js +4 -4
- package/dist/es/components/icons/graphical_abstract_icon.js +21 -0
- package/dist/es/components/icons/image-icon.js +19 -0
- package/dist/es/components/icons/latex-icon.js +6 -6
- package/dist/es/components/icons/pdf-file-icon.js +3 -3
- package/dist/es/components/icons/table-icon.js +2 -4
- package/dist/es/components/icons/unknown-format-file-icon.js +3 -3
- package/dist/es/components/icons/video-icon.js +2 -2
- package/dist/es/hooks/use-dropdown.js +2 -1
- package/dist/es/lib/inlineFiles.js +63 -0
- package/dist/types/components/AuthorsContainer.d.ts +1 -0
- package/dist/types/components/AuthorsList/AuthorsList.d.ts +1 -0
- package/dist/types/components/FileManager/FileManager.d.ts +2 -1
- package/dist/types/components/FileManager/FileSectionItem/FileInfo.d.ts +3 -0
- package/dist/types/components/FileManager/FileSectionItem/ItemActions.d.ts +2 -1
- package/dist/types/components/FileManager/InlineFilesSection.d.ts +16 -0
- package/dist/types/components/FileManager/util.d.ts +3 -1
- package/dist/types/components/icons/document-icon-with-dot.d.ts +19 -0
- package/dist/types/components/icons/graphical_abstract_icon.d.ts +19 -0
- package/dist/types/components/icons/image-icon.d.ts +19 -0
- package/dist/types/hooks/use-dropdown.d.ts +1 -1
- package/dist/types/lib/inlineFiles.d.ts +11 -0
- package/package.json +4 -4
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* © 2019 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 { IconProps } from './types';
|
|
18
|
+
declare const DocumentIconWithDot: React.FC<IconProps>;
|
|
19
|
+
export default DocumentIconWithDot;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* © 2019 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 { IconProps } from './types';
|
|
18
|
+
declare const GraphicalAbstractIcon: React.FC<IconProps>;
|
|
19
|
+
export default GraphicalAbstractIcon;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* © 2019 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 { IconProps } from './types';
|
|
18
|
+
declare const ImageIcon: React.FC<IconProps>;
|
|
19
|
+
export default ImageIcon;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Model } from '@manuscripts/manuscripts-json-schema';
|
|
2
|
+
import { ExternalFileRef } from '../components/FileManager/InlineFilesSection';
|
|
3
|
+
import { FileType } from '../components/FileManager/util';
|
|
4
|
+
declare const _default: (modelMap: Map<string, Model>) => {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
type: FileType;
|
|
8
|
+
caption?: string | undefined;
|
|
9
|
+
externalFileReferences?: ExternalFileRef[] | undefined;
|
|
10
|
+
}[];
|
|
11
|
+
export default _default;
|
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.30.
|
|
5
|
-
"repository": "gitlab:
|
|
4
|
+
"version": "0.30.24",
|
|
5
|
+
"repository": "gitlab:atypon-opensource/manuscripts-style-guide",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|
|
8
8
|
"module": "dist/es",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"@manuscripts/comment-editor": "^0.2.3",
|
|
64
64
|
"@manuscripts/data": "^0.1.0",
|
|
65
65
|
"@manuscripts/examples": "^0.0.7",
|
|
66
|
-
"@manuscripts/manuscript-transform": "^0.
|
|
67
|
-
"@manuscripts/manuscripts-json-schema": "^1.
|
|
66
|
+
"@manuscripts/manuscript-transform": "^0.48.16",
|
|
67
|
+
"@manuscripts/manuscripts-json-schema": "^1.49.5",
|
|
68
68
|
"@manuscripts/publish": "^0.2.2",
|
|
69
69
|
"@storybook/addon-actions": "^5.3.14",
|
|
70
70
|
"@storybook/addons": "^5.3.14",
|