Skip to content

Commit baee8ce

Browse files
authored
Merge pull request #5010 from GeekyAnts/release/3.4.5
Release/3.4.5
2 parents fcc23fe + fa5fdbe commit baee8ce

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"prettier --write"
3737
]
3838
},
39-
"version": "3.4.4",
39+
"version": "3.4.5",
4040
"license": "MIT",
4141
"private": false,
4242
"main": "lib/commonjs/index",

src/components/primitives/Input/Input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const Input = (
4040
//@ts-ignore
4141
props.focusOutlineColor = useToken('colors', props.focusOutlineColor);
4242
//@ts-ignore
43-
props.inValidOutlineColor = useToken('colors', props.inValidOutlineColor);
43+
props.invalidOutlineColor = useToken('colors', props.invalidOutlineColor);
4444

4545
const _ref = React.useRef(null);
4646
const { isHovered } = useHover({}, _ref);

src/components/primitives/Input/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export interface InterfaceInputProps
110110
/** This prop allow you to change outlineColor when input is in focused state*/
111111
focusOutlineColor?: ColorType;
112112
/** This prop allow you to change outlineColor when input is in focused state*/
113-
inValidOutlineColor?: ColorType;
113+
invalidOutlineColor?: ColorType;
114114
ref?: MutableRefObject<any>;
115115
}
116116

src/theme/components/input.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const baseStyle = (props: any) => {
5353
_stack: {
5454
style: {
5555
outlineWidth: '1px',
56-
outlineColor: `${props.inValidOutlineColor || error[600]}`,
56+
outlineColor: `${props.invalidOutlineColor || error[600]}`,
5757
outlineStyle: 'solid',
5858
},
5959
},
@@ -100,7 +100,7 @@ const baseStyle = (props: any) => {
100100
_stack: {
101101
style: {
102102
outlineWidth: '1px',
103-
outlineColor: `${props.inValidOutlineColor || error[500]}`,
103+
outlineColor: `${props.invalidOutlineColor || error[500]}`,
104104
outlineStyle: 'solid',
105105
},
106106
},
@@ -212,7 +212,7 @@ function underlinedStyle(props: Record<string, any>) {
212212
_stack: {
213213
style: {
214214
outlineWidth: 0,
215-
boxShadow: `0 1px 0 0 ${props.inValidOutlineColor || error[600]}`,
215+
boxShadow: `0 1px 0 0 ${props.invalidOutlineColor || error[600]}`,
216216
},
217217
},
218218
},

0 commit comments

Comments
 (0)