File tree Expand file tree Collapse file tree 2 files changed +37
-6
lines changed
components/primitives/Input Expand file tree Collapse file tree 2 files changed +37
-6
lines changed Original file line number Diff line number Diff line change @@ -81,23 +81,23 @@ export interface InterfaceInputProps
81
81
/**
82
82
* Passed props will be applied on hovered state.
83
83
*/
84
- _hover ?: Omit < Partial < IInputProps > , '_hover' > ;
84
+ _hover ?: Partial < IInputProps > ;
85
85
/**
86
86
* Passed props will be applied on focused state.
87
87
*/
88
- _focus ?: Omit < Partial < IInputProps > , '_focus' > ;
88
+ _focus ?: Partial < IInputProps > ;
89
89
/**
90
90
* Passed props will be applied on disabled state.
91
91
*/
92
- _disabled ?: Omit < Partial < IInputProps > , '_disabled' > ;
92
+ _disabled ?: Partial < IInputProps > ;
93
93
/**
94
94
* Passed props will be applied on readOnly state.
95
95
*/
96
- _readOnly ?: Omit < Partial < IInputProps > , '_readOnly' > ;
96
+ _readOnly ?: Partial < IInputProps > ;
97
97
/**
98
98
* Passed props will be applied on invalid state.
99
99
*/
100
- _invalid ?: Omit < Partial < IInputProps > , '_hover' > ;
100
+ _invalid ?: Partial < IInputProps > ;
101
101
/**
102
102
* props are passed to InputBase component
103
103
*/
Original file line number Diff line number Diff line change @@ -33,4 +33,35 @@ type AllProps<T extends StyledPropConfig> = {
33
33
: unknown ;
34
34
} ;
35
35
36
- export type StyledProps = AllProps < StyledPropConfig > ;
36
+ export type StyledProps = Omit <
37
+ AllProps < StyledPropConfig > ,
38
+ | 'gap'
39
+ | 'verticalAlign'
40
+ | 'borderBottom'
41
+ | 'borderTop'
42
+ | 'borderLeft'
43
+ | 'borderRight'
44
+ | 'wordBreak'
45
+ | 'justifySelf'
46
+ | 'overflowWrap'
47
+ | 'textOverflow'
48
+ | 'whiteSpace'
49
+ | 'outline'
50
+ | 'outlineWidth'
51
+ | 'cursor'
52
+ | 'userSelect'
53
+ | 'order'
54
+ | 'backgroundSize'
55
+ | 'backgroundPosition'
56
+ | 'backgroundRepeat'
57
+ | 'backgroundAttachment'
58
+ | 'backgroundBlendMode'
59
+ | 'bgSize'
60
+ | 'bgPosition'
61
+ | 'bgRepeat'
62
+ | 'bgAttachment'
63
+ | 'bgBlendMode'
64
+ | 'bgImage'
65
+ | 'bgImg'
66
+ | 'bgPos'
67
+ > ;
You can’t perform that action at this time.
0 commit comments