Skip to content
This repository has been archived by the owner on Dec 26, 2024. It is now read-only.

Commit

Permalink
0.2.0-rc.24
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 3c45676
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 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.24",
"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
3 changes: 2 additions & 1 deletion tsconfigBuild.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"outDir": "lib",
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"declaration": true
"declaration": true,
"declarationMap": true
},
"exclude": [
"node_modules",
Expand Down

0 comments on commit 3c45676

Please sign in to comment.