@manuscripts/article-editor 4.13.63 → 4.14.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.
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.js","sourceRoot":"","sources":["../../../../src/components/nav/Dropdown.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;;AAEH,0DAAuE;AACvE,0EAAsC;AAEzB,QAAA,iBAAiB,GAAG,2BAAM,CAAC,GAAG,CAAA;;;;CAI1C,CAAA;AAEY,QAAA,QAAQ,GAAG,2BAAM,CAAC,GAAG,CAIhC;sBACoB,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS;mBACjD,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK;gBAC3C,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU;gBACxC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,OAAO;WACrD,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO;;;eAGtC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM;iBACrC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM;;;IAGtD,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,IAAI,aAAa,GAAG,KAAK,CAAC,QAAQ,GAAG,KAAK;IACnE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,KAAK,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,CA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AAS,KAAK,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC;SAC9D,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC;;;CAGvE,CAAA;AAMD,MAAM,CAAC,MAAM,cAAc,GAA6C,MAAM,CAC5E,WAAW,CACZ,CAAA;;;;;;;CAOA,CAAA;AAED,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC,eAAe,CAAC,CAAC,KAAK,CAClE,CAAC,KAAoB,EAAE,EAAE,CAAC,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC,MAAM;CACvB,CAAC,CACH,CAAe;;;;;CAKf,CAAA"}
@@ -19,9 +19,9 @@ export declare class Api {
19
19
  authInterceptor: (config: InternalAxiosRequestConfig, getToken: () => Promise<string | undefined>) => Promise<InternalAxiosRequestConfig<any>>;
20
20
  get: <T>(url: string) => Promise<T | undefined>;
21
21
  post: <T>(path: string, data: unknown) => Promise<T>;
22
- delete: <T>(url: string) => Promise<import("axios").AxiosResponse<T, any>>;
23
- options: <T>(url: string) => Promise<import("axios").AxiosResponse<T, any>>;
24
- put: <T>(path: string, data: unknown) => Promise<import("axios").AxiosResponse<T, any>>;
22
+ delete: <T>(url: string) => Promise<import("axios").AxiosResponse<T, any, {}>>;
23
+ options: <T>(url: string) => Promise<import("axios").AxiosResponse<T, any, {}>>;
24
+ put: <T>(path: string, data: unknown) => Promise<import("axios").AxiosResponse<T, any, {}>>;
25
25
  getTransformVersion: () => Promise<string>;
26
26
  getUser: () => Promise<UserProfile | undefined>;
27
27
  getCSLLocale: (lang: string) => Promise<string | undefined> | undefined;
@@ -9,8 +9,10 @@
9
9
  *
10
10
  * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
11
11
  */
12
- export declare const DropdownContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
13
- export declare const Dropdown: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
12
+ import { ArrowUpIcon } from '@manuscripts/style-guide';
13
+ import { StyledComponent } from 'styled-components';
14
+ export declare const DropdownContainer: StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
15
+ export declare const Dropdown: StyledComponent<"div", import("styled-components").DefaultTheme, {
14
16
  direction?: "left" | "right";
15
17
  minWidth?: number;
16
18
  top?: number;
@@ -18,8 +20,8 @@ export declare const Dropdown: import("styled-components").StyledComponent<"div"
18
20
  interface DropdownProps {
19
21
  isOpen: boolean;
20
22
  }
21
- export declare const DropdownToggle: import("styled-components").StyledComponent<import("react").FC<import("@manuscripts/style-guide/dist/types/components/icons/types").IconProps>, import("styled-components").DefaultTheme, {}, never>;
22
- export declare const DropdownButtonContainer: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
23
+ export declare const DropdownToggle: StyledComponent<typeof ArrowUpIcon, any>;
24
+ export declare const DropdownButtonContainer: StyledComponent<"button", import("styled-components").DefaultTheme, {
23
25
  type: "button" | "submit" | "reset";
24
26
  } & {
25
27
  danger?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manuscripts/article-editor",
3
- "version": "4.13.63",
3
+ "version": "4.14.1",
4
4
  "license": "CPAL-1.0",
5
5
  "description": "React components for editing and viewing manuscripts",
6
6
  "repository": "github:Atypon-OpenSource/manuscripts-article-editor",
@@ -17,8 +17,8 @@
17
17
  "**/lib/fonts.*"
18
18
  ],
19
19
  "scripts": {
20
- "dev": "npm-run-all --parallel 'build:* --watch'",
21
- "build": "npm-run-all --parallel build:*",
20
+ "dev": "npm-run-all2 --parallel 'build:* --watch'",
21
+ "build": "npm-run-all2 --parallel build:*",
22
22
  "build:cjs": "tsc --outDir dist/cjs --module commonjs",
23
23
  "build:es": "tsc --outDir dist/es --declarationDir dist/types --declaration",
24
24
  "test": "TZ=UTC vitest run",
@@ -26,8 +26,8 @@
26
26
  "lint:fix": "eslint src types --ext .ts,.tsx --max-warnings 0 --fix",
27
27
  "typecheck": "tsc --noEmit",
28
28
  "prettier": "prettier --write \"{src,stories,tests}/**/*.{js,ts,tsx,css}\"",
29
- "preversion": "npm-run-all --parallel typecheck lint",
30
- "prepare": "husky install",
29
+ "preversion": "npm-run-all2 --parallel typecheck lint build",
30
+ "prepare": "husky",
31
31
  "version": "pnpm build",
32
32
  "unlink-all": "rm pnpm-workspace.yaml && pnpm install"
33
33
  },
@@ -36,71 +36,70 @@
36
36
  "@fontsource/pt-sans": "5.2.5",
37
37
  "@fontsource/pt-serif": "5.2.5",
38
38
  "@headlessui/react": "2.2.3",
39
- "@manuscripts/body-editor": "3.12.67",
40
- "@manuscripts/style-guide": "3.5.32",
41
- "@manuscripts/track-changes-plugin": "2.3.16",
42
- "@manuscripts/transform": "4.3.53",
39
+ "@manuscripts/body-editor": "3.13.1",
40
+ "@manuscripts/style-guide": "3.6.0",
41
+ "@manuscripts/track-changes-plugin": "2.4.0",
42
+ "@manuscripts/transform": "4.4.1",
43
43
  "@popperjs/core": "2.11.8",
44
- "axios": "1.11.0",
44
+ "axios": "1.16.0",
45
45
  "date-fns": "4.1.0",
46
- "diff-match-patch": "^1.0.5",
47
- "dompurify": "3.2.5",
46
+ "diff-match-patch": "1.0.5",
47
+ "dompurify": "3.4.3",
48
48
  "html-react-parser": "5.2.5",
49
49
  "jwt-decode": "4.0.0",
50
- "lodash": "4.17.21",
50
+ "lodash": "4.18.1",
51
51
  "prosemirror-model": "1.25.0",
52
52
  "prosemirror-state": "1.4.3",
53
53
  "prosemirror-transform": "1.10.4",
54
54
  "prosemirror-utils": "1.2.2",
55
55
  "prosemirror-view": "1.41.0",
56
- "react": "19.2.0",
56
+ "react": "19.2.6",
57
57
  "react-dnd": "16.0.1",
58
58
  "react-dnd-html5-backend": "16.0.1",
59
- "react-dom": "19.2.0",
59
+ "react-dom": "19.2.6",
60
60
  "react-is": "18.3.1",
61
61
  "react-popper": "2.3.0",
62
62
  "react-router-dom": "6.30.0",
63
- "react-select": "5.10.1",
63
+ "react-select": "5.10.2",
64
64
  "styled-components": "5.3.11",
65
- "use-sync-external-store": "1.5.0",
66
- "uuid": "9.0.1"
65
+ "use-sync-external-store": "1.6.0",
66
+ "uuid": "14.0.0"
67
67
  },
68
68
  "devDependencies": {
69
- "@vitest/coverage-v8": "4.1.6",
70
- "@eslint/eslintrc": "3.3.1",
69
+ "@eslint/eslintrc": "3.3.5",
71
70
  "@eslint/js": "9.39.1",
72
71
  "@manuscripts/eslint-config": "0.5.1",
73
- "@types/diff-match-patch": "^1.0.36",
74
72
  "@types/csl": "npm:csl-json@v0.1.0",
75
- "jsdom": "26.0.0",
76
- "@types/lodash": "4.17.16",
73
+ "@types/diff-match-patch": "^1.0.36",
74
+ "@types/lodash": "4.17.24",
77
75
  "@types/node": "20.17.46",
78
- "@types/react": "19.2.3",
76
+ "@types/react": "19.2.7",
79
77
  "@types/react-dom": "19.2.3",
80
- "@types/styled-components": "5.1.34",
78
+ "@types/styled-components": "5.1.36",
81
79
  "@types/use-sync-external-store": "1.5.0",
82
- "@types/uuid": "9.0.8",
83
- "@typescript-eslint/eslint-plugin": "8.46.4",
84
- "@typescript-eslint/parser": "8.46.4",
85
- "vitest": "4.1.6",
80
+ "@typescript-eslint/eslint-plugin": "8.59.3",
81
+ "@typescript-eslint/parser": "8.59.3",
82
+ "@vitest/coverage-v8": "4.1.6",
86
83
  "eslint": "9.39.1",
87
84
  "eslint-config-prettier": "10.1.8",
88
- "eslint-plugin-diff": "2.0.3",
85
+ "eslint-plugin-diff": "2.1.7",
89
86
  "eslint-plugin-header": "3.1.1",
90
87
  "eslint-plugin-import": "2.32.0",
91
88
  "eslint-plugin-jsx-a11y": "6.10.2",
92
- "eslint-plugin-mdx": "3.6.2",
89
+ "eslint-plugin-mdx": "3.7.0",
93
90
  "eslint-plugin-node": "11.1.0",
94
- "eslint-plugin-prettier": "5.5.4",
95
- "eslint-plugin-promise": "7.2.1",
91
+ "eslint-plugin-prettier": "5.5.5",
92
+ "eslint-plugin-promise": "7.3.0",
96
93
  "eslint-plugin-react": "7.37.5",
97
- "eslint-plugin-react-hooks": "7.0.1",
94
+ "eslint-plugin-react-hooks": "7.1.1",
98
95
  "eslint-plugin-simple-import-sort": "12.1.1",
99
- "husky": "8.0.3",
100
- "npm-run-all": "4.1.5",
101
- "prettier": "3.6.2",
96
+ "husky": "9.1.7",
97
+ "jsdom": "29.1.1",
98
+ "npm-run-all2": "^8.0.4",
99
+ "prettier": "3.8.3",
102
100
  "react-dnd-test-backend": "16.0.1",
103
- "typescript": "5.9.2"
101
+ "typescript": "5.9.2",
102
+ "vitest": "4.1.7"
104
103
  },
105
104
  "engines": {
106
105
  "node": ">=22"