Skip to content

Commit

Permalink
Merge pull request #5010 from GeekyAnts/release/3.4.5
Browse files Browse the repository at this point in the history
Release/3.4.5
  • Loading branch information
rayan1810 authored May 11, 2022
2 parents fcc23fe + fa5fdbe commit baee8ce
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"prettier --write"
]
},
"version": "3.4.4",
"version": "3.4.5",
"license": "MIT",
"private": false,
"main": "lib/commonjs/index",
Expand Down
2 changes: 1 addition & 1 deletion src/components/primitives/Input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const Input = (
//@ts-ignore
props.focusOutlineColor = useToken('colors', props.focusOutlineColor);
//@ts-ignore
props.inValidOutlineColor = useToken('colors', props.inValidOutlineColor);
props.invalidOutlineColor = useToken('colors', props.invalidOutlineColor);

const _ref = React.useRef(null);
const { isHovered } = useHover({}, _ref);
Expand Down
2 changes: 1 addition & 1 deletion src/components/primitives/Input/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export interface InterfaceInputProps
/** This prop allow you to change outlineColor when input is in focused state*/
focusOutlineColor?: ColorType;
/** This prop allow you to change outlineColor when input is in focused state*/
inValidOutlineColor?: ColorType;
invalidOutlineColor?: ColorType;
ref?: MutableRefObject<any>;
}

Expand Down
6 changes: 3 additions & 3 deletions src/theme/components/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const baseStyle = (props: any) => {
_stack: {
style: {
outlineWidth: '1px',
outlineColor: `${props.inValidOutlineColor || error[600]}`,
outlineColor: `${props.invalidOutlineColor || error[600]}`,
outlineStyle: 'solid',
},
},
Expand Down Expand Up @@ -100,7 +100,7 @@ const baseStyle = (props: any) => {
_stack: {
style: {
outlineWidth: '1px',
outlineColor: `${props.inValidOutlineColor || error[500]}`,
outlineColor: `${props.invalidOutlineColor || error[500]}`,
outlineStyle: 'solid',
},
},
Expand Down Expand Up @@ -212,7 +212,7 @@ function underlinedStyle(props: Record<string, any>) {
_stack: {
style: {
outlineWidth: 0,
boxShadow: `0 1px 0 0 ${props.inValidOutlineColor || error[600]}`,
boxShadow: `0 1px 0 0 ${props.invalidOutlineColor || error[600]}`,
},
},
},
Expand Down

1 comment on commit baee8ce

@vercel
Copy link

@vercel vercel bot commented on baee8ce May 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.