-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ui): #1773, #1774: ValueInput
and SwapInput
#1775
Conversation
…selector-ui-component
…selector-ui-component
Visit the preview URL for this PR (updated for commit 5173bcb): https://penumbra-ui-preview--pr1775-feat-1773-value-inp-ma6p3rle.web.app (expires Thu, 19 Sep 2024 10:21:51 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 709d729610ef7a6369b23f1cb2b820a60cc685b1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
just to clarify, the white input range slider won't be displayed in production, right?
@TalDerei Do you mean the arrows up-down in the number input? We can hide them but I don't see the necessity – it generally improves the a11y |
It's a minor nit, but I personally feel like that component feels outdated and actually not that particularly useful when I was interacting with the Storybook. I'm in favor of removing it. |
# Conflicts: # packages/ui/src/AssetSelector/index.tsx
Closes #1773
Closes #1774
Closes #1776
ValueInput
: https://penumbra-ui-preview--pr1775-feat-1773-value-inp-ma6p3rle.web.app/?path=/docs/ui-library-valueinput--docsSwapInput
: https://penumbra-ui-preview--pr1775-feat-1773-value-inp-ma6p3rle.web.app/?path=/docs/ui-library-swapinput--docsAlso it updates the styles of
TextInput
andButton
components to match the latest designs according to #1776.