diff options
author | mhatvan <markus_hatvan@aon.at> | 2021-07-24 10:44:18 +0200 |
---|---|---|
committer | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-07-28 13:29:57 +0000 |
commit | fd1c54cacdbd1798d806bd7ff91e60b3f0149420 (patch) | |
tree | db40e620763a4251ea4f15446e7dbbb74433bb67 /packages/forms/src/input | |
parent | Ignore 'docs' from Docker. [skip ci] (diff) | |
download | ferdium-app-fd1c54cacdbd1798d806bd7ff91e60b3f0149420.tar.gz ferdium-app-fd1c54cacdbd1798d806bd7ff91e60b3f0149420.tar.zst ferdium-app-fd1c54cacdbd1798d806bd7ff91e60b3f0149420.zip |
- updated classnames to 2.3.1 to use added type definitions
- remove stub type definitions from package.json
- set 'noImplicitAny' false until jss and react-jss packages are upgraded to use own type definitions
- add missing csstype to package/forms and update code to v3
Diffstat (limited to 'packages/forms/src/input')
-rw-r--r-- | packages/forms/src/input/styles.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/forms/src/input/styles.ts b/packages/forms/src/input/styles.ts index e2ab30a4f..99b0685a8 100644 --- a/packages/forms/src/input/styles.ts +++ b/packages/forms/src/input/styles.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import { Theme } from '@meetfranz/theme'; | 1 | import { Theme } from '@meetfranz/theme'; |
2 | import CSS from 'csstype'; | 2 | import * as CSS from 'csstype'; |
3 | 3 | ||
4 | const prefixStyles = (theme: Theme) => ({ | 4 | const prefixStyles = (theme: Theme) => ({ |
5 | background: theme.inputPrefixBackground, | 5 | background: theme.inputPrefixBackground, |
@@ -13,7 +13,7 @@ export default (theme: Theme) => ({ | |||
13 | label: { | 13 | label: { |
14 | '& > div': { | 14 | '& > div': { |
15 | marginTop: 5, | 15 | marginTop: 5, |
16 | } | 16 | }, |
17 | }, | 17 | }, |
18 | disabled: { | 18 | disabled: { |
19 | opacity: theme.inputDisabledOpacity, | 19 | opacity: theme.inputDisabledOpacity, |
@@ -85,7 +85,7 @@ export default (theme: Theme) => ({ | |||
85 | background: theme.inputBackground, | 85 | background: theme.inputBackground, |
86 | border: theme.inputBorder, | 86 | border: theme.inputBorder, |
87 | borderRadius: theme.borderRadiusSmall, | 87 | borderRadius: theme.borderRadiusSmall, |
88 | boxSizing: 'border-box' as CSS.BoxSizingProperty, | 88 | boxSizing: 'border-box' as CSS.Property.BoxSizing, |
89 | display: 'flex', | 89 | display: 'flex', |
90 | height: theme.inputHeight, | 90 | height: theme.inputHeight, |
91 | order: 1, | 91 | order: 1, |