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.25
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 43d7246
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 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.25",
"main": "index.js",
"types": "index.d.ts",
"author": "dooboolab",
Expand Down
Binary file removed main/__assets__/arrow_down.png
Binary file not shown.
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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"test:post": "mv packages/theme/packages.json packages/theme/package.json",
"test": "yarn test:pre; jest; yarn test:post;",
"test:all": "yarn pre && yarn lint && yarn tsc && yarn test",
"build": "tsc --project tsconfigBuild.json && yarn cp:icon",
"build": "tsc --project tsconfigBuild.json && yarn cp:icon; yarn cp:assets;",
"cp:assets": "cp -R main/__assets__ lib",
"cp:icon": "mkdir -p `dirname ./lib/uis/Icon/selection.json` && cp ./main/uis/Icon/selection.json ./lib/uis/Icon/selection.json && cp ./main/uis/Icon/doobooui.ttf ./lib/uis/Icon/doobooui.ttf",
"postbuild": "cp ./main/react-native.config.cjs ./lib/react-native.config.cjs && rm -rf ./lib/tsconfig* && cp README.md ./lib/README.md && cp -R main/__assets__ lib",
"build:storybook": "NODE_OPTIONS=--openssl-legacy-provider expo export:web && sh web-build-postinstall.sh",
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 43d7246

Please sign in to comment.