@iobroker/adapter-react-v5 4.1.2 → 4.2.0

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.
Files changed (29) hide show
  1. package/Components/JsonConfigComponent/ConfigCertCollection.js +2 -2
  2. package/Components/JsonConfigComponent/ConfigCertCollection.js.map +1 -1
  3. package/Components/JsonConfigComponent/ConfigCertificates.js +2 -2
  4. package/Components/JsonConfigComponent/ConfigCertificates.js.map +1 -1
  5. package/Components/JsonConfigComponent/ConfigCheckLicense.js +7 -7
  6. package/Components/JsonConfigComponent/ConfigCheckLicense.js.map +1 -1
  7. package/Components/JsonConfigComponent/ConfigPort.js +1 -1
  8. package/Components/JsonConfigComponent/ConfigPort.js.map +1 -1
  9. package/Components/JsonConfigComponent/ConfigSendto.js +2 -2
  10. package/Components/JsonConfigComponent/ConfigSendto.js.map +1 -1
  11. package/Components/JsonConfigComponent/ConfigSetState.js +2 -2
  12. package/Components/JsonConfigComponent/ConfigSetState.js.map +1 -1
  13. package/Components/JsonConfigComponent/ConfigTable.js +2 -2
  14. package/Components/JsonConfigComponent/ConfigTable.js.map +1 -1
  15. package/Components/JsonConfigComponent/ConfigUUID.js +1 -1
  16. package/Components/JsonConfigComponent/ConfigUUID.js.map +1 -1
  17. package/Components/ObjectBrowser.js +22 -25
  18. package/Components/ObjectBrowser.js.map +1 -1
  19. package/Components/UploadImage.js +2 -2
  20. package/Components/UploadImage.js.map +1 -1
  21. package/Components/Utils.js +1 -1
  22. package/Components/Utils.js.map +1 -1
  23. package/Dialogs/Confirm.js +1 -1
  24. package/Dialogs/Confirm.js.map +1 -1
  25. package/LegacyConnection.d.ts +6 -0
  26. package/LegacyConnection.js +181 -161
  27. package/LegacyConnection.js.map +1 -1
  28. package/README.md +7 -3
  29. package/package.json +9 -9
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
  You can find demo on https://github.com/ioBroker/adapter-react-demo
3
3
 
4
4
  ## Getting started
5
- If you want to create the configuration page with react:
5
+ If you want to create the configuration page with ReactJS:
6
6
  1. Create github repo for adapter.
7
7
  2. execute `npx create-react-app src` . It will take a while.
8
8
  3. `cd src`
@@ -181,7 +181,7 @@ onPrepareSave(settings) {
181
181
  ## Components
182
182
 
183
183
  ### Connection.js
184
- This is non-react class to provide the communication for socket connection with server.
184
+ This is a non-react class to provide the communication for socket connection with server.
185
185
 
186
186
  ### GenericApp.js
187
187
 
@@ -322,7 +322,7 @@ function renderCron() {
322
322
  ##### getObjectNameFromObj
323
323
  `getObjectNameFromObj(obj, settings, options, isDesc)`
324
324
 
325
- Get object name from single object.
325
+ Get object name from a single object.
326
326
 
327
327
  Usage: `Utils.getObjectNameFromObj(this.objects[id], null, {language: I18n.getLanguage()})`
328
328
 
@@ -661,6 +661,10 @@ socket.getObjectViewCustom('custom', 'state', 'startKey', 'endKey')
661
661
  -->
662
662
 
663
663
  ## Changelog
664
+ ### 4.2.0 (2023-07-07)
665
+ * (bluefox) Updated packages
666
+ * (bluefox) Added new method `getObjectsById` to the socket communication
667
+
664
668
  ### 4.1.2 (2023-06-20)
665
669
  * (bluefox) Allowed setting theme name directly by theme toggle
666
670
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/adapter-react-v5",
3
- "version": "4.1.2",
3
+ "version": "4.2.0",
4
4
  "description": "React classes to develop admin interfaces for ioBroker with react.",
5
5
  "author": {
6
6
  "name": "bluefox",
@@ -29,19 +29,19 @@
29
29
  "dependencies": {
30
30
  "@emotion/react": "^11.11.1",
31
31
  "@emotion/styled": "^11.11.0",
32
- "@mui/icons-material": "^5.11.16",
33
- "@mui/material": "^5.13.5",
34
- "@mui/styles": "^5.13.2",
35
- "@mui/x-date-pickers": "6.8.0",
36
- "@iobroker/socket-client": "^2.1.0",
32
+ "@mui/icons-material": "^5.13.7",
33
+ "@mui/material": "^5.13.7",
34
+ "@mui/styles": "^5.13.7",
35
+ "@mui/x-date-pickers": "6.9.2",
36
+ "@iobroker/socket-client": "^2.2.0",
37
37
  "react-cropper": "^2.3.3",
38
- "@sentry/browser": "^7.56.0",
39
- "@sentry/integrations": "^7.56.0",
38
+ "@sentry/browser": "^7.57.0",
39
+ "@sentry/integrations": "^7.57.0",
40
40
  "@types/iobroker": "^4.0.5",
41
41
  "react-color": "^2.19.3",
42
42
  "react-colorful": "^5.6.1",
43
43
  "react-dropzone": "^14.2.3",
44
- "react-icons": "^4.9.0",
44
+ "react-icons": "^4.10.1",
45
45
  "react-inlinesvg": "^3.0.2",
46
46
  "react-text-mask": "^5.5.0"
47
47
  }