@vention/machine-logic-ui-sdk 0.45.10 → 0.46.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.
package/README.md CHANGED
@@ -8,7 +8,7 @@ npm install @vention/machine-logic-ui-sdk@<pinned-version>
8
8
 
9
9
  What the HMI needs alongside it:
10
10
 
11
- - React 17. The package's `peerDependencies` pins `react` to `17.0.2`.
11
+ - React 17 or 19. The package's `peerDependencies` accepts `react` `^17.0.2 || ^19.3.0`. The SDK is type-checked against both versions (the `typecheck-react19` target); its unit tests run on React 17.
12
12
  - `@mui/material` and `@emotion/react`. The package entry imports `tss-react/mui` (used by `VirtualKeyboard`) at load time, so importing any export pulls it in.
13
13
  - A bundler that handles CSS imports, such as Vite. The entry imports `react-simple-keyboard/build/css/index.css`.
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vention/machine-logic-ui-sdk",
3
- "version": "0.45.10",
3
+ "version": "0.46.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/VentionCo/machine-cloud.git"
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "peerDependencies": {
19
19
  "@mui/material": "^5.16.7",
20
- "react": "17.0.2"
20
+ "react": "^17.0.2 || ^19.3.0"
21
21
  },
22
22
  "module": "./index.esm.js",
23
23
  "type": "module",
@@ -1,8 +1,9 @@
1
1
  import "react-simple-keyboard/build/css/index.css";
2
2
  import type { Theme } from "@mui/material/styles";
3
+ import React from "react";
3
4
  import type { Tss } from "tss-react";
4
5
  import { type MuiThemeStyleOverridesPluginParams } from "tss-react/mui";
5
- export declare const VirtualKeyboard: () => JSX.Element | null;
6
+ export declare const VirtualKeyboard: () => React.JSX.Element | null;
6
7
  export declare const useStyles: Tss.UseStyles<{
7
8
  theme: Theme;
8
9
  }, Record<never, unknown>, "virtualKeyboard", MuiThemeStyleOverridesPluginParams>;