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

deps(ui): update dependency input-otp to v1.4.2 #2100

Merged
merged 1 commit into from
Feb 17, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 1, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
input-otp (source) 1.2.5 -> 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.

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 requested a review from elliotcourant as a code owner November 1, 2024 22:38
@codecov-commenter
Copy link

codecov-commenter commented Nov 1, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.22%. Comparing base (cd966a5) to head (84f4458).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2100   +/-   ##
=======================================
  Coverage   55.22%   55.22%           
=======================================
  Files         418      418           
  Lines       23423    23423           
  Branches      551      551           
=======================================
  Hits        12936    12936           
  Misses       9791     9791           
  Partials      696      696           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/input-otp-1.x branch from 47fa84d to 0b1d180 Compare November 4, 2024 17:21
@renovate renovate bot changed the title deps(ui): update dependency input-otp to v1.4.0 deps(ui): update dependency input-otp to v1.4.1 Nov 4, 2024
@renovate renovate bot force-pushed the renovate/input-otp-1.x branch from 0b1d180 to 854e160 Compare November 28, 2024 17:08
@renovate renovate bot force-pushed the renovate/input-otp-1.x branch from 854e160 to 868e7a2 Compare January 6, 2025 13:09
@renovate renovate bot changed the title deps(ui): update dependency input-otp to v1.4.1 deps(ui): update dependency input-otp to v1.4.2 Jan 6, 2025
@elliotcourant elliotcourant merged commit 729e084 into main Feb 17, 2025
15 checks passed
@renovate renovate bot deleted the renovate/input-otp-1.x branch February 17, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants