@scm-manager/ui-core 3.9.0 → 4.0.0-REACT18-20250701-125025

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,2 +1,2 @@
1
- @scm-manager/ui-core:typecheck: cache hit, replaying output a798e9e7e3e0416d
1
+ @scm-manager/ui-core:typecheck: cache hit, replaying output 51c0ea35188e1cb8
2
2
  @scm-manager/ui-core:typecheck: $ tsc
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scm-manager/ui-core",
3
- "version": "3.9.0",
3
+ "version": "4.0.0-REACT18-20250701-125025",
4
4
  "main": "./src/index.ts",
5
5
  "license": "AGPL-3.0-only",
6
6
  "scripts": {
@@ -10,8 +10,8 @@
10
10
  },
11
11
  "peerDependencies": {
12
12
  "@headlessui/react": "^1.7.17",
13
- "react": "^17.0.1",
14
- "react-dom": "^17.0.1",
13
+ "react": "^18.3.1",
14
+ "react-dom": "^18.3.1",
15
15
  "react-router-dom": "^5.3.1",
16
16
  "classnames": "^2.3.1",
17
17
  "react-hook-form": "^7.33.1",
@@ -20,7 +20,7 @@
20
20
  "styled-components": "5"
21
21
  },
22
22
  "dependencies": {
23
- "@scm-manager/ui-api": "3.9.0",
23
+ "@scm-manager/ui-api": "4.0.0-REACT18-20250701-125025",
24
24
  "@radix-ui/react-radio-group": "^1.1.3",
25
25
  "@radix-ui/react-slot": "^1.0.1",
26
26
  "@radix-ui/react-visually-hidden": "^1.0.3",
@@ -37,7 +37,7 @@
37
37
  "@scm-manager/eslint-config": "^2.17.0",
38
38
  "@scm-manager/tsconfig": "^2.12.0",
39
39
  "@scm-manager/babel-preset": "^2.13.1",
40
- "@scm-manager/ui-types": "3.9.0",
40
+ "@scm-manager/ui-types": "4.0.0-REACT18-20250701-125025",
41
41
  "@types/mousetrap": "1.6.5",
42
42
  "@testing-library/react-hooks": "8.0.1",
43
43
  "@testing-library/react": "12.1.5",
@@ -14,7 +14,7 @@
14
14
  * along with this program. If not, see https://www.gnu.org/licenses/.
15
15
  */
16
16
 
17
- import type { FC } from "react";
17
+ import type { FC, ReactNode } from "react";
18
18
  import React, { useContext, useMemo, useRef } from "react";
19
19
 
20
20
  export type ShortcutDocsContextType = {
@@ -22,10 +22,9 @@ export type ShortcutDocsContextType = {
22
22
  add: (key: string, description: string) => void;
23
23
  remove: (key: string) => void;
24
24
  };
25
-
26
25
  const ShortcutDocsContext = React.createContext<ShortcutDocsContextType>({} as ShortcutDocsContextType);
27
26
 
28
- export const ShortcutDocsContextProvider: FC = ({ children }) => {
27
+ export const ShortcutDocsContextProvider: FC<{ children: ReactNode }> = ({ children }) => {
29
28
  const docs = useRef<Record<string, string>>({});
30
29
  const value = useMemo(
31
30
  () => ({