From 3c456768f8cafe6a402e21fb0bdccdf30fa57a98 Mon Sep 17 00:00:00 2001 From: hyochan Date: Sat, 22 Apr 2023 23:10:16 +0900 Subject: [PATCH] 0.2.0-rc.24 Set default border-radius for [EditText] to maintain input text underline decoration when using boxed style. Update default error message font szie to 12px. --- lib/package.json | 2 +- main/uis/EditText/index.tsx | 3 ++- tsconfigBuild.json | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/package.json b/lib/package.json index 84ee93bc..4312a1be 100644 --- a/lib/package.json +++ b/lib/package.json @@ -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", diff --git a/main/uis/EditText/index.tsx b/main/uis/EditText/index.tsx index ef47cfd9..cd18854c 100644 --- a/main/uis/EditText/index.tsx +++ b/main/uis/EditText/index.tsx @@ -138,7 +138,6 @@ export function EditText(props: EditTextProps): ReactElement { const defaultContainerStyle = css` flex-direction: ${direction}; - border-radius: 4px; `; const defaultColor = !editable @@ -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; @@ -324,6 +324,7 @@ export function EditText(props: EditTextProps): ReactElement { css` flex: 1; color: ${theme.text.validation}; + font-size: 12px; `, styles?.error, ]} diff --git a/tsconfigBuild.json b/tsconfigBuild.json index 21ada3d4..e5783b84 100644 --- a/tsconfigBuild.json +++ b/tsconfigBuild.json @@ -12,7 +12,8 @@ "outDir": "lib", "skipLibCheck": true, "allowSyntheticDefaultImports": true, - "declaration": true + "declaration": true, + "declarationMap": true }, "exclude": [ "node_modules",