@iobroker/adapter-react-v5 7.2.1 → 7.2.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.
@@ -46,7 +46,7 @@ const styles = {
46
46
  flexGrow: 1000,
47
47
  },
48
48
  divContainer: {
49
- width: 32 + 24,
49
+ width: 32 + 32,
50
50
  height: 32,
51
51
  whiteSpace: 'nowrap',
52
52
  lineHeight: '32px',
package/GenericApp.js CHANGED
@@ -236,7 +236,7 @@ class GenericApp extends Router_1.default {
236
236
  'zh-cn': zh_cn_json_1.default,
237
237
  };
238
238
  // merge together
239
- if (settings && settings.translations) {
239
+ if (settings === null || settings === void 0 ? void 0 : settings.translations) {
240
240
  Object.keys(settings.translations).forEach(lang => {
241
241
  if (settings.translations) {
242
242
  translations[lang] = Object.assign(translations[lang], settings.translations[lang] || {});
package/README.md CHANGED
@@ -13,7 +13,7 @@ If you want to create the configuration page with ReactJS:
13
13
  - Change `name` from `src` to `ADAPTERNAME-admin` (Of course replace `ADAPTERNAME` with yours)
14
14
  - Add to devDependencies:
15
15
  ```
16
- "@iobroker/adapter-react-v5": "^7.2.1",
16
+ "@iobroker/adapter-react-v5": "^7.2.2",
17
17
  ```
18
18
  Versions can be higher.
19
19
  So your `src/package.json` should look like:
@@ -24,7 +24,7 @@ If you want to create the configuration page with ReactJS:
24
24
  "version": "0.1.0",
25
25
  "private": true,
26
26
  "dependencies": {
27
- "@iobroker/adapter-react-v5": "^7.2.1",
27
+ "@iobroker/adapter-react-v5": "^7.2.2",
28
28
  "@iobroker/build-tools": "^1.0.0",
29
29
  "@iobroker/eslint-config": "^0.1.2",
30
30
  "@mui/material": "^6.0.2",
@@ -697,9 +697,12 @@ You can find the migration instructions:
697
697
  -->
698
698
 
699
699
  ## Changelog
700
+ ### 7.2.2 (2024-10-04)
701
+ - (@GermanBluefox) Small layout change for Icon Picker
702
+
700
703
  ### 7.2.1 (2024-09-30)
701
704
 
702
- - (bluefox) Allowed using an array of elements in dialogs
705
+ - (@GermanBluefox) Allowed using an array of elements in dialogs
703
706
  - (@GermanBluefox) Allowed to use `socket.iob` instead of `socket.io`
704
707
 
705
708
  ### 7.1.4 (2024-09-15)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/adapter-react-v5",
3
- "version": "7.2.1",
3
+ "version": "7.2.2",
4
4
  "description": "React classes to develop admin interfaces for ioBroker with react.",
5
5
  "author": {
6
6
  "name": "Denis Haev (bluefox)",
@@ -21,7 +21,7 @@ const styles: Record<string, React.CSSProperties> = {
21
21
  flexGrow: 1000,
22
22
  },
23
23
  divContainer: {
24
- width: 32 + 24,
24
+ width: 32 + 32,
25
25
  height: 32,
26
26
  whiteSpace: 'nowrap',
27
27
  lineHeight: '32px',
@@ -254,7 +254,7 @@ class GenericApp<
254
254
  };
255
255
 
256
256
  // merge together
257
- if (settings && settings.translations) {
257
+ if (settings?.translations) {
258
258
  Object.keys(settings.translations).forEach(lang => {
259
259
  if (settings.translations) {
260
260
  translations[lang as ioBroker.Languages] = Object.assign(