@iobroker/adapter-react-v5 4.11.0 → 4.11.2

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,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { InputProps } from '@mui/material/Input';
2
3
  import { ThemeType, Translator } from '../types';
3
4
  interface SelectWithIconProps {
4
5
  t: Translator;
@@ -16,7 +17,7 @@ interface SelectWithIconProps {
16
17
  style?: React.CSSProperties;
17
18
  removePrefix?: string;
18
19
  allowNone?: boolean;
19
- inputProps: any;
20
+ inputProps?: InputProps['inputProps'];
20
21
  classes: Record<string, string>;
21
22
  dense?: boolean;
22
23
  }
@@ -8,7 +8,7 @@ interface UploadImageProps {
8
8
  onChange: (base64: string) => void | undefined;
9
9
  icon: string | null;
10
10
  removeIconFunc: () => void | null;
11
- accept: Record<string, string[]>;
11
+ accept?: Record<string, string[]>;
12
12
  }
13
13
  declare const _default: React.JSXElementConstructor<Omit<UploadImageProps, "classes"> & import("@mui/styles").StyledComponentProps<string> & object>;
14
14
  export default _default;
package/README.md CHANGED
@@ -670,7 +670,7 @@ socket.getObjectViewCustom('custom', 'state', 'startKey', 'endKey')
670
670
  -->
671
671
 
672
672
  ## Changelog
673
- ### 4.11.0 (2024-03-16)
673
+ ### 4.11.2 (2024-03-16)
674
674
  * (bluefox) Migrated GenericApp to typescript
675
675
 
676
676
  ### 4.10.4 (2024-03-16)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/adapter-react-v5",
3
- "version": "4.11.0",
3
+ "version": "4.11.2",
4
4
  "description": "React classes to develop admin interfaces for ioBroker with react.",
5
5
  "author": {
6
6
  "name": "Denis Haev (bluefox)",