@iobroker/adapter-react-v5 4.9.3 → 4.9.5
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/Components/Utils.d.ts +1 -1
- package/Components/Utils.js +4 -2
- package/Dialogs/SelectID.js +1 -1
- package/LICENSE +1 -1
- package/README.md +5 -2
- package/package.json +5 -5
package/Components/Utils.d.ts
CHANGED
|
@@ -155,7 +155,7 @@ declare class Utils {
|
|
|
155
155
|
/**
|
|
156
156
|
* Copy text to the clipboard.
|
|
157
157
|
*/
|
|
158
|
-
static copyToClipboard(text: string, e
|
|
158
|
+
static copyToClipboard(text: string, e?: Event): boolean;
|
|
159
159
|
/**
|
|
160
160
|
* Gets the extension of a file name.
|
|
161
161
|
* @param fileName the file name.
|
package/Components/Utils.js
CHANGED
|
@@ -873,8 +873,10 @@ class Utils {
|
|
|
873
873
|
* Copy text to the clipboard.
|
|
874
874
|
*/
|
|
875
875
|
static copyToClipboard(text, e) {
|
|
876
|
-
|
|
877
|
-
|
|
876
|
+
if (e) {
|
|
877
|
+
e.stopPropagation();
|
|
878
|
+
e.preventDefault();
|
|
879
|
+
}
|
|
878
880
|
return (0, CopyToClipboard_1.default)(text);
|
|
879
881
|
}
|
|
880
882
|
/**
|
package/Dialogs/SelectID.js
CHANGED
|
@@ -108,7 +108,7 @@ class DialogSelectID extends react_1.Component {
|
|
|
108
108
|
title = this.props.title || i18n_1.default.t('ra_Please select object ID...');
|
|
109
109
|
}
|
|
110
110
|
return react_1.default.createElement(material_1.Dialog, { onClose: () => { }, maxWidth: false, sx: {
|
|
111
|
-
'
|
|
111
|
+
'& .MuiDialog-paper': {
|
|
112
112
|
height: '95%',
|
|
113
113
|
padding: 4,
|
|
114
114
|
width: '100%',
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2019-
|
|
3
|
+
Copyright (c) 2019-2024 bluefox <dogafox@gmail.com>
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -670,7 +670,10 @@ socket.getObjectViewCustom('custom', 'state', 'startKey', 'endKey')
|
|
|
670
670
|
-->
|
|
671
671
|
|
|
672
672
|
## Changelog
|
|
673
|
-
### 4.9.
|
|
673
|
+
### 4.9.5 (2024-01-01)
|
|
674
|
+
* (foxriver76) make `copyToClipboard` event parameter optional
|
|
675
|
+
|
|
676
|
+
### 4.9.4 (2024-01-01)
|
|
674
677
|
* (foxriver76) try to fix `SelectID` scrolling
|
|
675
678
|
|
|
676
679
|
### 4.9.2 (2023-12-30)
|
|
@@ -1034,7 +1037,7 @@ socket.getObjectViewCustom('custom', 'state', 'startKey', 'endKey')
|
|
|
1034
1037
|
## License
|
|
1035
1038
|
The MIT License (MIT)
|
|
1036
1039
|
|
|
1037
|
-
Copyright (c) 2019-
|
|
1040
|
+
Copyright (c) 2019-2024 bluefox <dogafox@gmail.com>
|
|
1038
1041
|
|
|
1039
1042
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1040
1043
|
of this software and associated documentation files (the "Software"), to deal
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iobroker/adapter-react-v5",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.5",
|
|
4
4
|
"description": "React classes to develop admin interfaces for ioBroker with react.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Denis Haev (bluefox)",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"homepage": "https://github.com/ioBroker/adapter-react-v5#readme",
|
|
28
28
|
"devDependencies": {},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@emotion/react": "^11.11.
|
|
30
|
+
"@emotion/react": "^11.11.3",
|
|
31
31
|
"@emotion/styled": "^11.11.0",
|
|
32
|
-
"@iobroker/dm-utils": "^0.1.
|
|
32
|
+
"@iobroker/dm-utils": "^0.1.9",
|
|
33
33
|
"@iobroker/json-config": "^6.13.14",
|
|
34
34
|
"@iobroker/socket-client": "^2.3.13",
|
|
35
35
|
"@iobroker/types": "^5.0.17",
|
|
36
|
-
"@mui/icons-material": "^5.15.
|
|
36
|
+
"@mui/icons-material": "^5.15.2",
|
|
37
37
|
"@mui/material": "5.14.14",
|
|
38
38
|
"@mui/styles": "5.14.14",
|
|
39
|
-
"@mui/x-date-pickers": "^6.18.
|
|
39
|
+
"@mui/x-date-pickers": "^6.18.6",
|
|
40
40
|
"@sentry/browser": "^7.91.0",
|
|
41
41
|
"@sentry/integrations": "^7.91.0",
|
|
42
42
|
"react-color": "^2.19.3",
|