@manuscripts/body-editor 3.13.13 → 3.13.14
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/versions.js +1 -1
- package/dist/es/versions.js +1 -1
- package/dist/types/components/ChangeHandlingForm.d.ts +1 -1
- package/dist/types/components/authors/AuthorDetailsForm.d.ts +29 -5
- package/dist/types/components/authors-affiliations/GenericPanel.d.ts +10 -10
- package/dist/types/components/form/CreateModalStyles.d.ts +27 -3
- package/dist/types/components/form/UnsavedLabel.d.ts +2 -2
- package/dist/types/components/modal-drawer/GenericDrawerGroup.d.ts +118 -5
- package/dist/types/components/outline/Outline.d.ts +11 -9
- package/dist/types/components/references/CitationViewer.d.ts +2 -2
- package/dist/types/components/references/ReferenceForm/styled-components.d.ts +631 -29
- package/dist/types/components/references/ReferenceLine.d.ts +2 -2
- package/dist/types/components/references/ReferenceSearchResults.d.ts +20 -20
- package/dist/types/components/references/SearchInput.d.ts +1 -1
- package/dist/types/components/toolbar/ListMenuItem.d.ts +8 -6
- package/dist/types/components/toolbar/type-selector/styles.d.ts +1 -1
- package/dist/types/components/views/LinkForm.d.ts +1 -1
- package/dist/types/versions.d.ts +1 -1
- package/package.json +3 -4
- package/src/versions.ts +1 -1
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { BibliographyItemAttrs } from '@manuscripts/transform';
|
|
17
17
|
import React from 'react';
|
|
18
|
-
export declare const Metadata: import("styled-components").
|
|
19
|
-
export declare const MetadataContainer: import("styled-components").
|
|
18
|
+
export declare const Metadata: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
19
|
+
export declare const MetadataContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
20
20
|
export declare const ReferenceLine: React.FC<{
|
|
21
21
|
item: BibliographyItemAttrs;
|
|
22
22
|
}>;
|
|
@@ -15,26 +15,26 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { BibliographyItemAttrs } from '@manuscripts/transform';
|
|
17
17
|
import React from 'react';
|
|
18
|
-
export declare const ReferenceSearchResultsContainer: import("styled-components").
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} & {
|
|
25
|
-
as?:
|
|
26
|
-
forwardedAs?:
|
|
27
|
-
}, "ref"> & React.RefAttributes<HTMLElement>>,
|
|
28
|
-
export declare const ReferenceSearchResult: import("styled-components").
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} & {
|
|
35
|
-
as?:
|
|
36
|
-
forwardedAs?:
|
|
37
|
-
}, "ref"> & React.RefAttributes<HTMLElement>>,
|
|
18
|
+
export declare const ReferenceSearchResultsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, "as" | "forwardedAs"> & {
|
|
19
|
+
as?: import("styled-components").WebTarget | undefined;
|
|
20
|
+
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
21
|
+
}, "ref"> & React.RefAttributes<HTMLElement>, never> & Partial<Pick<Omit<import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, "as" | "forwardedAs"> & {
|
|
22
|
+
as?: import("styled-components").WebTarget | undefined;
|
|
23
|
+
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
24
|
+
}, "ref"> & React.RefAttributes<HTMLElement>, never>>> & string & Omit<React.ForwardRefExoticComponent<Omit<import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, "as" | "forwardedAs"> & {
|
|
25
|
+
as?: import("styled-components").WebTarget | undefined;
|
|
26
|
+
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
27
|
+
}, "ref"> & React.RefAttributes<HTMLElement>>, keyof React.Component<any, {}, any>>;
|
|
28
|
+
export declare const ReferenceSearchResult: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, "as" | "forwardedAs"> & {
|
|
29
|
+
as?: import("styled-components").WebTarget | undefined;
|
|
30
|
+
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
31
|
+
}, "ref"> & React.RefAttributes<HTMLElement>, never> & Partial<Pick<Omit<import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, "as" | "forwardedAs"> & {
|
|
32
|
+
as?: import("styled-components").WebTarget | undefined;
|
|
33
|
+
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
34
|
+
}, "ref"> & React.RefAttributes<HTMLElement>, never>>> & string & Omit<React.ForwardRefExoticComponent<Omit<import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, "as" | "forwardedAs"> & {
|
|
35
|
+
as?: import("styled-components").WebTarget | undefined;
|
|
36
|
+
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
37
|
+
}, "ref"> & React.RefAttributes<HTMLElement>>, keyof React.Component<any, {}, any>>;
|
|
38
38
|
export declare const ReferenceSearchResults: React.FC<{
|
|
39
39
|
items: BibliographyItemAttrs[];
|
|
40
40
|
total: number;
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import React, { InputHTMLAttributes } from 'react';
|
|
17
|
-
export declare const SearchWrapper: import("styled-components").
|
|
17
|
+
export declare const SearchWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
18
18
|
export declare const SearchInput: React.FC<InputHTMLAttributes<HTMLInputElement>>;
|
|
@@ -7,10 +7,12 @@ export interface ListSubmenuItemsProps {
|
|
|
7
7
|
styleRefs?: React.MutableRefObject<(HTMLDivElement | null)[]>;
|
|
8
8
|
}
|
|
9
9
|
export declare const ListStyles: React.FC<ListSubmenuItemsProps>;
|
|
10
|
-
export declare const ListContainer: import("styled-components").
|
|
11
|
-
export declare const StyleBlock: import("styled-components").
|
|
12
|
-
export declare const BlockItem: import("styled-components").
|
|
13
|
-
export declare const Block: import("styled-components").
|
|
14
|
-
export declare const Label: import("styled-components").
|
|
10
|
+
export declare const ListContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
11
|
+
export declare const StyleBlock: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
12
|
+
export declare const BlockItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
13
|
+
export declare const Block: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
14
|
+
export declare const Label: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$hide"> & {
|
|
15
15
|
$hide?: boolean;
|
|
16
|
-
}, never
|
|
16
|
+
}, never> & Partial<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$hide"> & {
|
|
17
|
+
$hide?: boolean;
|
|
18
|
+
}, never>>> & string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSObjectWithLabel, GroupBase, Props } from 'react-select';
|
|
2
2
|
import { Option } from './TypeSelector';
|
|
3
|
-
export declare const StyledSelect: import("styled-components").
|
|
3
|
+
export declare const StyledSelect: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react-select/dist/declarations/src/Select").PublicBaseSelectProps<Option, false, GroupBase<Option>>, "onChange" | "value" | "inputValue" | "menuIsOpen" | "onInputChange" | "onMenuOpen" | "onMenuClose"> & Partial<import("react-select/dist/declarations/src/Select").PublicBaseSelectProps<Option, false, GroupBase<Option>>> & import("react-select/dist/declarations/src/useStateManager").StateManagerAdditionalProps<Option>, never> & Partial<Pick<Omit<import("react-select/dist/declarations/src/Select").PublicBaseSelectProps<Option, false, GroupBase<Option>>, "onChange" | "value" | "inputValue" | "menuIsOpen" | "onInputChange" | "onMenuOpen" | "onMenuClose"> & Partial<import("react-select/dist/declarations/src/Select").PublicBaseSelectProps<Option, false, GroupBase<Option>>> & import("react-select/dist/declarations/src/useStateManager").StateManagerAdditionalProps<Option>, never>>> & string & Omit<import("react").FunctionComponent<Props<Option, false, GroupBase<Option>>>, keyof import("react").Component<any, {}, any>>;
|
|
4
4
|
export declare const customStyles: {
|
|
5
5
|
control: (styles: CSSObjectWithLabel) => CSSObjectWithLabel;
|
|
6
6
|
indicatorSeparator: () => CSSObjectWithLabel;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import React from 'react';
|
|
17
|
-
export declare const Open: import("styled-components").
|
|
17
|
+
export declare const Open: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>>> & string;
|
|
18
18
|
export interface LinkValue {
|
|
19
19
|
text: string;
|
|
20
20
|
href: string;
|
package/dist/types/versions.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "3.13.
|
|
1
|
+
export declare const VERSION = "3.13.14";
|
|
2
2
|
export declare const MATHJAX_VERSION = "3.2.2";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manuscripts/body-editor",
|
|
3
3
|
"description": "Prosemirror components for editing and viewing manuscripts",
|
|
4
|
-
"version": "3.13.
|
|
4
|
+
"version": "3.13.14",
|
|
5
5
|
"repository": "github:Atypon-OpenSource/manuscripts-body-editor",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@citation-js/plugin-pubmed": "0.3.0",
|
|
42
42
|
"@citation-js/plugin-ris": "0.7.18",
|
|
43
43
|
"@iarna/word-count": "1.1.2",
|
|
44
|
-
"@manuscripts/style-guide": "3.6.
|
|
44
|
+
"@manuscripts/style-guide": "3.6.5",
|
|
45
45
|
"@manuscripts/track-changes-plugin": "2.4.0",
|
|
46
46
|
"@manuscripts/transform": "4.4.5",
|
|
47
47
|
"@popperjs/core": "2.11.8",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"react-is": "19.2.6",
|
|
75
75
|
"react-router-dom": "7.15.0",
|
|
76
76
|
"react-select": "5.10.2",
|
|
77
|
-
"styled-components": "
|
|
77
|
+
"styled-components": "6.4.2"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@vitest/coverage-v8": "4.1.6",
|
|
@@ -88,7 +88,6 @@
|
|
|
88
88
|
"@types/node": "20.17.46",
|
|
89
89
|
"@types/react": "19.2.17",
|
|
90
90
|
"@types/react-dom": "19.2.3",
|
|
91
|
-
"@types/styled-components": "5.1.34",
|
|
92
91
|
"@typescript-eslint/eslint-plugin": "8.46.4",
|
|
93
92
|
"@typescript-eslint/parser": "8.46.4",
|
|
94
93
|
"eslint": "9.39.1",
|
package/src/versions.ts
CHANGED