analog input fields, package update

This commit is contained in:
MichaelDvP
2022-11-27 22:08:20 +01:00
parent d583409af4
commit f41f7c0769
4 changed files with 446 additions and 416 deletions

View File

@@ -1,5 +1,5 @@
{ {
"adapter": "react", "adapter": "react",
"baseLocale": "pl", "baseLocale": "pl",
"$schema": "https://unpkg.com/typesafe-i18n@5.16.3/schema/typesafe-i18n.json" "$schema": "https://unpkg.com/typesafe-i18n@5.17.0/schema/typesafe-i18n.json"
} }

File diff suppressed because it is too large Load Diff

View File

@@ -7,16 +7,16 @@
"@emotion/react": "^11.10.5", "@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5", "@emotion/styled": "^11.10.5",
"@msgpack/msgpack": "^2.8.0", "@msgpack/msgpack": "^2.8.0",
"@mui/icons-material": "^5.10.14", "@mui/icons-material": "^5.10.15",
"@mui/material": "^5.10.14", "@mui/material": "^5.10.15",
"@table-library/react-table-library": "4.0.23", "@table-library/react-table-library": "4.0.23",
"@types/lodash": "^4.14.189", "@types/lodash": "^4.14.190",
"@types/node": "^18.11.9", "@types/node": "^18.11.9",
"@types/react": "^18.0.25", "@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9", "@types/react-dom": "^18.0.9",
"@types/react-router-dom": "^5.3.3", "@types/react-router-dom": "^5.3.3",
"async-validator": "^4.2.5", "async-validator": "^4.2.5",
"axios": "^1.1.3", "axios": "^1.2.0",
"http-proxy-middleware": "^2.0.6", "http-proxy-middleware": "^2.0.6",
"jwt-decode": "^3.1.2", "jwt-decode": "^3.1.2",
"lodash": "^4.17.21", "lodash": "^4.17.21",
@@ -30,7 +30,7 @@
"react-router-dom": "^6.4.3", "react-router-dom": "^6.4.3",
"react-scripts": "5.0.1", "react-scripts": "5.0.1",
"sockette": "^2.0.6", "sockette": "^2.0.6",
"typesafe-i18n": "^5.16.3", "typesafe-i18n": "^5.17.0",
"typescript": "^4.9.3" "typescript": "^4.9.3"
}, },
"scripts": { "scripts": {

View File

@@ -1123,7 +1123,7 @@ const DashboardData: FC = () => {
type="number" type="number"
variant="outlined" variant="outlined"
onChange={updateValue(setAnalog)} onChange={updateValue(setAnalog)}
inputProps={{ min: '0', step: '1' }} inputProps={{ step: '0.001' }}
/> />
</Grid> </Grid>
)} )}
@@ -1136,7 +1136,7 @@ const DashboardData: FC = () => {
type="number" type="number"
variant="outlined" variant="outlined"
onChange={updateValue(setAnalog)} onChange={updateValue(setAnalog)}
inputProps={{ min: '-100', max: '100', step: '0.1' }} inputProps={{ step: '0.001' }}
/> />
</Grid> </Grid>
</> </>