Skip to content

Commit

Permalink
Input: don't trigger password show/hide when Enter is pressed (#202)
Browse files Browse the repository at this point in the history
* Input: don't trigger password show/hide when Enter is pressed

* Bump version to v1.1.1
  • Loading branch information
quietbits authored Dec 21, 2023
1 parent c8d6993 commit df88af3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion @stellar/design-system-website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@docusaurus/remark-plugin-npm2yarn": "^2.4.3",
"@docusaurus/theme-live-codeblock": "^2.4.1",
"@mdx-js/react": "^1.6.22",
"@stellar/design-system": "^1.1.0",
"@stellar/design-system": "^1.1.1",
"clsx": "^1.2.1",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
Expand Down
2 changes: 1 addition & 1 deletion @stellar/design-system/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stellar/design-system",
"version": "1.1.0",
"version": "1.1.1",
"author": "Stellar Development Foundation <[email protected]>",
"description": "Components for Stellar Development Foundation’s design system",
"license": "Apache-2.0",
Expand Down
1 change: 1 addition & 0 deletions @stellar/design-system/src/components/Input/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export const Input: React.FC<Props> = ({
<div className="Input__side-element">
<button
className="PasswordMaskToggle"
type="button"
onClick={(event) => {
event?.preventDefault();
setIsPasswordMasked(!isPasswordMasked);
Expand Down

0 comments on commit df88af3

Please sign in to comment.