Skip to content

Commit

Permalink
0.2.0-rc.23
Browse files Browse the repository at this point in the history
Set default border-radius for [EditText] to maintain input text underline decoration when using boxed style.

Update default error message font szie to 12px.
  • Loading branch information
hyochan committed Apr 22, 2023
1 parent c4f9755 commit 74d1b78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dooboo-ui",
"version": "0.2.0-rc.22",
"version": "0.2.0-rc.23",
"main": "index.js",
"types": "index.d.ts",
"author": "dooboolab",
Expand Down
3 changes: 2 additions & 1 deletion main/uis/EditText/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ export function EditText(props: EditTextProps): ReactElement {

const defaultContainerStyle = css`
flex-direction: ${direction};
border-radius: 4px;
`;

const defaultColor = !editable
Expand Down Expand Up @@ -208,6 +207,7 @@ export function EditText(props: EditTextProps): ReactElement {
`,
decoration === 'boxed'
? css`
border-radius: 4px;
border-width: 1px;
padding-left: 12px;
padding-right: 12px;
Expand Down Expand Up @@ -324,6 +324,7 @@ export function EditText(props: EditTextProps): ReactElement {
css`
flex: 1;
color: ${theme.text.validation};
font-size: 12px;
`,
styles?.error,
]}
Expand Down

0 comments on commit 74d1b78

Please sign in to comment.