Skip to content
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

chore: move amount input #1893

Merged
merged 3 commits into from
Jan 29, 2025
Merged

chore: move amount input #1893

merged 3 commits into from
Jan 29, 2025

Conversation

brendan-defi
Copy link
Contributor

What changed? Why?

  • moved AmountInput, AmountInputTypeSwitch, and CurrencyLabel to src/internal
  • moved useInputResize to src/internal
  • refactored FundCard components with the new internal versions

Notes to reviewers

How has it been tested?

Copy link

vercel bot commented Jan 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
onchainkit-coverage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 28, 2025 6:46am
onchainkit-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 28, 2025 6:46am

/** autocomplete attribute handles browser autocomplete, defaults to 'off' */
autoComplete?: string;
/** data-1p-ignore attribute handles password manager autocomplete, defaults to true */
'data-1p-ignore'?: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there ever a case where we don't want to ignore it? I'd argue for just removing it completely and setting our inputs to always ignore

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it's probably right that we always want to ignore, but since this is internal i figured i'd leave us the option. wdyt?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's internal + not planned to be used I'd rather remove it since it keeps the props more concise, but I won't block on this issue

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, i'll create ticket to remove

@brendan-defi brendan-defi merged commit 02fe4c4 into main Jan 29, 2025
16 checks passed
@brendan-defi brendan-defi deleted the chore/move-amount-input branch January 29, 2025 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants