Skip to content

Commit 28b3869

Browse files
committed
merge: upstream
2 parents c333006 + a741e78 commit 28b3869

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

platforms/metagram/src/lib/ui/Input/Input.stories.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,31 @@ export const Tel = {
2828
},
2929
};
3030

31+
<<<<<<< HEAD
3132
export const number = {
3233
args: {
3334
type: "number",
3435
placeholder: "Enter something",
3536
},
3637
};
3738

39+
=======
40+
>>>>>>> a741e7819d230dbf0f597842938d0eb5b7db018f
3841
export const Email = {
3942
args: {
4043
type: "email",
4144
placeholder: "example@email.com",
4245
},
4346
};
4447

48+
export const Invalid = {
49+
args: {
50+
type: 'email',
51+
placeholder: 'Invalid email',
52+
value: 'not-an-email'
53+
}
54+
};
55+
4556
export const Password = {
4657
args: {
4758
type: "password",

platforms/metagram/src/lib/ui/Input/Input.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}: IInputProps = $props();
1515
1616
const cbase = $derived(
17-
'w-full bg-grey py-3.5 px-6 text-[15px] text-black-800 font-geist font-normal placeholder:text-black-600 rounded-4xl outline-0 border border-transparent focus:text-black-800 focus:border-transparent border invalid:border-red invalid:text-red'
17+
'w-full bg-grey py-3.5 px-6 text-[15px] text-black-800 font-geist font-normal placeholder:text-black-600 rounded-4xl outline-0 border border-transparent invalid:border-red invalid:text-red focus:invalid:text-black-800 focus:invalid:border-transparent'
1818
);
1919
</script>
2020

0 commit comments

Comments
 (0)