Skip to content

Commit 95944f5

Browse files
authored
Merge pull request #43 from lambda-curry/gen/86331d6e-4dc2-4426-bb9d-61860a869c68
Add border-input class to text inputs with prefix/suffix
2 parents 7d5380c + 498820b commit 95944f5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lambdacurry/forms",
3-
"version": "0.14.0",
3+
"version": "0.14.1",
44
"type": "module",
55
"main": "./dist/index.js",
66
"types": "./dist/index.d.ts",

packages/components/src/ui/text-field.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export const TextField = React.forwardRef<HTMLDivElement, TextInputProps>(
8585
{...field}
8686
{...props}
8787
ref={field.ref}
88-
className={cn('focus-visible:ring-0 focus-visible:ring-offset-0', {
88+
className={cn('focus-visible:ring-0 focus-visible:ring-offset-0 border-input', {
8989
'rounded-l-none border-l-0': prefix,
9090
'rounded-r-none border-r-0': suffix,
9191
})}

0 commit comments

Comments
 (0)