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

Update dependency input-otp to v1.4.2 #39

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Nov 2, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
input-otp (source) 1.2.4 -> 1.4.2 age adoption passing confidence

Release Notes

guilhermerodz/input-otp (input-otp)

v1.4.2

Compare Source

  • chore(input): remove unintentional log within internal pasteListener

v1.4.1

Compare Source

  • chore(input): add peer dep for react@19-rc

v1.4.0

I'm sorry to skip 1.3.0 due to an issue I've had while publishing the NPM package.

  • chore(input): stop enforcing only digits regexp by default
    • Before 1.4.0, the input would take REGEXP_ONLY_DIGITS as the default pattern behavior, mistaking mobile users when they couldn't type in or even paste alphanumeric entries.
  • feat(input): add pasteTransformer prop
    • Allows pasting invalid codes and then transforming them into something that the input's regex/pattern would accept. Example: you can now take "XXX-XXX" as pasted input even though you've determined a pattern of 6 numerical digits; just add a prop to your OTPInput: pasteTransformer={pasted => pasted.replaceAll('-','')}.
  • feat(input): add placeholder
    • Input can now render a placeholder, all you should do is adjust your CSS to render it (look at the default example on README)!
    • The input's HTML now lives with an attribute data-input-otp-placeholder-shown when its content is empty.
  • chore(input): remove re-focus feature for password manager badges
    • Fixed a bug where the input's blur event was triggering even if the user hasn't requested it. The sacrifice was to remove the auto re-focus feature for password manager badges, meaning if the password badge ever disappears, then the user himself has to re-trigger focus by manually clicking or selecting the input.

v1.2.5

Compare Source

  • chore(input): add peer dep for react@19

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate label Nov 2, 2024
@renovate renovate bot force-pushed the renovate/input-otp-1.x-lockfile branch from b92899d to cb88617 Compare November 7, 2024 20:01
@renovate renovate bot changed the title Update dependency input-otp to v1.2.5 Update dependency input-otp to v1.4.1 Nov 7, 2024
@renovate renovate bot force-pushed the renovate/input-otp-1.x-lockfile branch from cb88617 to 7f630dc Compare January 2, 2025 21:57
@renovate renovate bot force-pushed the renovate/input-otp-1.x-lockfile branch from 7f630dc to 49a95f6 Compare January 9, 2025 14:59
@renovate renovate bot changed the title Update dependency input-otp to v1.4.1 Update dependency input-otp to v1.4.2 Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants