Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
chore: release v2.0.18
Browse files Browse the repository at this point in the history
* (bluefox) Removed deprecated option "disableBackdropClick"
  • Loading branch information
GermanBluefox committed Feb 9, 2022
1 parent cae3808 commit a3f5f82
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 12 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,9 @@ The icons may not be reused in other projects without the proper flaticon licens
-->

## Changelog
### 2.0.18 (2022-02-09)
* (bluefox) Removed deprecated option "disableBackdropClick"

### 2.0.17 (2022-01-29)
* (bluefox) Added logout command

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@iobroker/adapter-react",
"version": "2.0.17",
"version": "2.0.18",
"description": "React classes to develop admin interfaces for ioBroker with react.",
"author": {
"name": "bluefox",
Expand Down
3 changes: 1 addition & 2 deletions src/Dialogs/ComplexCron.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ class DialogComplexCron extends React.Component {

render() {
return <Dialog
disableBackdropClick
disableEscapeKeyDown
onClose={() => {}}
maxWidth="md"
fullWidth={true}
classes={{paper: this.props.classes.dialogPaper}}
Expand Down
8 changes: 5 additions & 3 deletions src/Dialogs/Confirm.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,14 @@ class DialogConfirm extends React.Component {
}

return <Dialog
disableBackdropClick
disableEscapeKeyDown
open={true}
maxWidth="md"
fullWidth={true}
onClose={() => this.handleCancel()}
onClose={(event, reason) => {
if (reason !== 'backdropClick' && reason !== 'escapeKeyDown') {
this.handleCancel()
}
}}
aria-labelledby="confirmation-dialog-title"
aria-describedby="confirmation-dialog-description"
>
Expand Down
3 changes: 1 addition & 2 deletions src/Dialogs/Cron.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ class DialogCron extends React.Component {

render() {
return <Dialog
disableBackdropClick
disableEscapeKeyDown
onClose={() => {}}
maxWidth="md"
fullWidth={true}
classes={{paper: this.props.classes.dialogPaper}}
Expand Down
3 changes: 1 addition & 2 deletions src/Dialogs/SelectID.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,8 @@ class SelectID extends React.Component {
}

return <Dialog
disableBackdropClick
onClose={() => {}}
maxWidth={false}
disableEscapeKeyDown
classes={{paper: Utils.clsx(this.props.classes.dialog, this.props.classes.dialogMobile)}}
fullWidth={true}
open={true}
Expand Down
3 changes: 1 addition & 2 deletions src/Dialogs/SimpleCron.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ class DialogSimpleCron extends React.Component {

render() {
return <Dialog
disableBackdropClick
disableEscapeKeyDown
onClose={() => {}}
maxWidth="md"
fullWidth={true}
classes={{paper: this.props.classes.dialogPaper}}
Expand Down

0 comments on commit a3f5f82

Please sign in to comment.