@manuscripts/style-guide 3.5.32 → 3.6.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.
@@ -50,7 +50,7 @@ export declare enum Category {
50
50
  export declare class Dialog extends React.Component<DialogProps, DialogState> {
51
51
  state: DialogState;
52
52
  componentDidMount(): void;
53
- render(): import("react/jsx-runtime").JSX.Element;
53
+ render(): React.JSX.Element;
54
54
  private renderButtons;
55
55
  private checkInputValue;
56
56
  private setDisabledBtnState;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import { Tooltip as ReactTooltip } from 'react-tooltip';
3
- export declare const Tooltip: (props: React.ComponentProps<typeof ReactTooltip>) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const Tooltip: (props: React.ComponentProps<typeof ReactTooltip>) => React.JSX.Element;
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ import React from 'react';
16
17
  import { IconProps } from './types';
17
- declare const AddAuthorIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
18
+ declare const AddAuthorIcon: (props: IconProps) => React.JSX.Element;
18
19
  export default AddAuthorIcon;
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ import React from 'react';
16
17
  import { IconProps } from './types';
17
- declare const AddFigureIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
18
+ declare const AddFigureIcon: (props: IconProps) => React.JSX.Element;
18
19
  export default AddFigureIcon;
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ import React from 'react';
16
17
  import { IconProps } from './types';
17
- declare const AffiliationPlaceholderIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
18
+ declare const AffiliationPlaceholderIcon: (props: IconProps) => React.JSX.Element;
18
19
  export default AffiliationPlaceholderIcon;
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ import React from 'react';
16
17
  import { IconProps } from './types';
17
- declare const AuthorPlaceholderIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
18
+ declare const AuthorPlaceholderIcon: (props: IconProps) => React.JSX.Element;
18
19
  export default AuthorPlaceholderIcon;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { IconProps } from './types';
2
- declare const DangerIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const DangerIcon: (props: IconProps) => React.JSX.Element;
3
4
  export default DangerIcon;
@@ -13,5 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- declare const SectionCategoryIcon: () => import("react/jsx-runtime").JSX.Element;
16
+ import React from 'react';
17
+ declare const SectionCategoryIcon: () => React.JSX.Element;
17
18
  export default SectionCategoryIcon;
@@ -1,3 +1,3 @@
1
1
  import { IconProps } from './types';
2
- export declare const XIcon: ({ fill, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const XIcon: ({ fill, ...props }: IconProps) => import("react").JSX.Element;
3
3
  export default XIcon;
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": "3.5.32",
4
+ "version": "3.6.0",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-style-guide",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
@@ -18,92 +18,87 @@
18
18
  "**/*.css"
19
19
  ],
20
20
  "scripts": {
21
- "build": "npm-run-all --parallel build:*",
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
  "build-storybook": "storybook build",
25
- "dev": "npm-run-all --parallel 'build:* --watch'",
25
+ "dev": "npm-run-all2 --parallel 'build:* --watch'",
26
26
  "lint": "eslint src stories --ext .ts,.tsx --max-warnings=0 --fix",
27
27
  "prebuild": "rimraf dist",
28
28
  "prettier": "prettier --write \"{src,stories}/**/*.{ts,tsx}\"",
29
- "preversion": "npm-run-all --parallel lint typecheck test",
29
+ "preversion": "npm-run-all2 --parallel lint typecheck",
30
30
  "storybook": "storybook dev -p 6006",
31
31
  "test": "vitest run",
32
32
  "typecheck": "tsc --noEmit",
33
33
  "version": "pnpm build",
34
- "unlink-all": "git checkout -- pnpm-workspace.yaml pnpm-lock.yaml && rm -rf node_modules && pnpm install",
35
- "prepare": "husky install"
34
+ "prepare": "husky"
36
35
  },
37
36
  "dependencies": {
38
- "@headlessui/react": "2.2.9",
39
- "date-fns": "2.30.0",
40
- "formik": "2.4.6",
41
- "lodash": "4.17.21",
37
+ "@headlessui/react": "2.2.10",
38
+ "formik": "2.4.9",
42
39
  "prosemirror-commands": "1.7.1",
43
40
  "prosemirror-history": "1.4.1",
44
41
  "prosemirror-keymap": "1.2.3",
45
42
  "prosemirror-model": "1.25.0",
46
43
  "prosemirror-state": "1.4.3",
47
44
  "prosemirror-view": "1.41.0",
48
- "react": "19.2.0",
45
+ "react": "19.2.6",
49
46
  "react-dnd": "16.0.1",
50
47
  "react-dnd-html5-backend": "16.0.1",
51
- "react-dom": "19.2.0",
52
- "react-is": "19.2.0",
48
+ "react-dom": "19.2.6",
53
49
  "react-router-dom": "5.3.4",
54
- "react-select": "5.10.1",
55
- "react-tooltip": "5.28.1",
50
+ "react-select": "5.10.2",
51
+ "react-tooltip": "6.0.2",
56
52
  "styled-components": "5.3.11"
57
53
  },
58
54
  "devDependencies": {
59
- "@babel/core": "7.23.7",
60
- "@babel/preset-env": "7.23.8",
61
- "@babel/preset-react": "7.23.3",
62
- "@babel/preset-typescript": "7.23.3",
63
- "@eslint/eslintrc": "3.3.1",
64
- "@eslint/js": "9.39.1",
55
+ "@babel/core": "7.29.0",
56
+ "@babel/preset-env": "7.29.5",
57
+ "@babel/preset-react": "7.28.5",
58
+ "@babel/preset-typescript": "7.28.5",
59
+ "@eslint/eslintrc": "3.3.5",
60
+ "@eslint/js": "9.39.4",
61
+ "@fontsource/lato": "5.2.7",
65
62
  "@manuscripts/eslint-config": "0.5.1",
66
- "@storybook/addon-actions": "8.5.3",
67
- "@storybook/addon-essentials": "8.5.3",
68
- "@storybook/addon-interactions": "8.5.3",
69
- "@storybook/addon-links": "8.5.3",
70
- "@storybook/blocks": "8.5.3",
71
- "@storybook/react": "8.5.3",
72
- "@storybook/react-webpack5": "8.5.3",
73
- "@storybook/test": "8.5.3",
74
- "@vitest/coverage-v8": "4.1.6",
63
+ "@storybook/addon-actions": "8.6.18",
64
+ "@storybook/addon-essentials": "8.6.18",
65
+ "@storybook/addon-interactions": "8.6.18",
66
+ "@storybook/addon-links": "8.6.18",
67
+ "@storybook/blocks": "8.6.18",
68
+ "@storybook/react": "8.6.18",
69
+ "@storybook/react-webpack5": "8.6.18",
70
+ "@storybook/test": "8.6.18",
75
71
  "@types/lodash": "4.17.16",
76
72
  "@types/node": "^20.19.25",
77
- "@types/react": "19.2.3",
73
+ "@types/react": "19.2.17",
78
74
  "@types/react-dom": "19.2.3",
79
75
  "@types/react-router-dom": "5.3.3",
80
- "@types/styled-components": "5.1.34",
81
- "@typescript-eslint/eslint-plugin": "8.46.4",
82
- "@typescript-eslint/parser": "8.46.4",
83
- "jsdom": "29.1.1",
84
- "babel-loader": "9.1.3",
76
+ "@types/styled-components": "5.1.36",
77
+ "@typescript-eslint/eslint-plugin": "8.59.3",
78
+ "@typescript-eslint/parser": "8.59.3",
79
+ "@vitest/coverage-v8": "4.1.6",
80
+ "babel-loader": "10.1.1",
85
81
  "eslint": "9.39.1",
86
82
  "eslint-config-prettier": "10.1.8",
87
- "eslint-plugin-diff": "2.0.3",
83
+ "eslint-plugin-diff": "2.1.7",
88
84
  "eslint-plugin-header": "3.1.1",
89
85
  "eslint-plugin-import": "2.32.0",
90
86
  "eslint-plugin-jsx-a11y": "6.10.2",
91
- "eslint-plugin-mdx": "3.6.2",
92
- "eslint-plugin-node": "11.1.0",
93
- "eslint-plugin-prettier": "5.5.4",
94
- "eslint-plugin-promise": "7.2.1",
87
+ "eslint-plugin-mdx": "3.7.0",
88
+ "eslint-plugin-prettier": "5.5.5",
89
+ "eslint-plugin-promise": "7.3.0",
95
90
  "eslint-plugin-react": "7.37.5",
96
- "eslint-plugin-react-hooks": "7.0.1",
97
- "eslint-plugin-simple-import-sort": "12.1.1",
98
- "eslint-plugin-storybook": "10.0.6",
99
- "husky": "8.0.3",
100
- "vitest": "4.1.6",
101
- "npm-run-all": "4.1.5",
102
- "prettier": "3.6.2",
103
- "rimraf": "6.0.1",
104
- "storybook": "8.5.3",
105
- "typeface-lato": "1.1.13",
106
- "typescript": "5.9.2"
91
+ "eslint-plugin-react-hooks": "7.1.1",
92
+ "eslint-plugin-simple-import-sort": "13.0.0",
93
+ "eslint-plugin-storybook": "10.3.6",
94
+ "husky": "9.1.7",
95
+ "jsdom": "29.1.1",
96
+ "npm-run-all2": "8.0.4",
97
+ "prettier": "3.8.3",
98
+ "rimraf": "6.1.3",
99
+ "storybook": "8.6.18",
100
+ "typescript": "5.9.2",
101
+ "vitest": "4.1.7"
107
102
  },
108
103
  "engines": {
109
104
  "node": ">=22"