@iobroker/adapter-react-v5 4.11.1 → 4.11.3

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
  }
@@ -53,7 +53,7 @@ interface DialogSelectFileProps {
53
53
  onOk: (selected: string | string[] | undefined) => void;
54
54
  /** The styling class names. */
55
55
  classes: Record<string, string>;
56
- filters: Record<string, string>;
56
+ filters?: Record<string, string>;
57
57
  /** Allow switch views Table<=>Rows */
58
58
  showViewTypeButton?: boolean;
59
59
  /** If type selector should be shown */
package/README.md CHANGED
@@ -670,7 +670,10 @@ socket.getObjectViewCustom('custom', 'state', 'startKey', 'endKey')
670
670
  -->
671
671
 
672
672
  ## Changelog
673
- ### 4.11.1 (2024-03-16)
673
+ ### 4.11.3 (2024-03-17)
674
+ * (bluefox) Made filters for the file selector dialog optional
675
+
676
+ ### 4.11.2 (2024-03-16)
674
677
  * (bluefox) Migrated GenericApp to typescript
675
678
 
676
679
  ### 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.1",
3
+ "version": "4.11.3",
4
4
  "description": "React classes to develop admin interfaces for ioBroker with react.",
5
5
  "author": {
6
6
  "name": "Denis Haev (bluefox)",