Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a4beb5
commit a33bc3c
Showing
2 changed files
with
333 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
# Changelog | ||
|
||
## [1.2.1] | ||
|
||
- fix(input): use `color` not `text` for autofillStyles | ||
- chore(input): keep support for prop pushPasswordManagerStrategy="experimental-no-flickering" | ||
- fix(input): prevent layout expansion when password managers aren't there | ||
|
||
## [1.2.0] | ||
|
||
- chore(input): don't restrict inputMode typing | ||
|
||
## [1.2.0-beta.1] | ||
|
||
- fix(input): renderfn typing | ||
|
||
## [1.2.0-beta.0] | ||
|
||
- feat(input): add context option | ||
- chore(input): remove unused type `SelectionType` | ||
|
||
## [1.1.0] | ||
|
||
- feat(input/no-js): allow opting out of no-js fallback | ||
- fix(input/no-js): move noscript to the top | ||
- chore(input): optimize use-badge | ||
- fix(input): set no extra width on default noscript css fallback | ||
- fix(input): check window during ssr | ||
- fix(input/ios): add right: 1px to compensate left: -1px | ||
- chore(input/ios): revert paste listener (re-add) | ||
- chore(input): always trigger selection menu on ios | ||
- perf(input): prevent trackPWMBadge when strategy is none | ||
- fix(input): do not skip left slot | ||
- fix(input): do not skip left slot when pressing arrowleft after insert mode | ||
- fix(input): reinforce wrapper to pointerEvents none | ||
- feat(input): add experimental push pwm badge | ||
- chore(input): rename prop to pushPasswordManagerStrategy | ||
- chore(input): move focus logic to _focusListener | ||
- fix(input): reinforce no box shadows | ||
- perf(input): rewrite core in a single event listener | ||
- fix(input): safe insert css rules | ||
- fix(input): prevent layout shift caused by password managers | ||
- feat(input): add pwm badge space detector | ||
- feat(input): add passwordManagerBehavior prop | ||
- fix(input): forcefully remove :autofill | ||
- feat(input): track password managers | ||
|
||
## [1.0.1] | ||
|
||
- fix(input): immediately update selection after paste | ||
- fix(input): hide selection on iOS webkit | ||
|
||
## [1.0.0] | ||
|
||
- fix(input/firefox): use setselectionrange direction:backwards | ||
|
||
## [0.3.31-beta] | ||
|
||
No input scope changes for this version. | ||
|
||
## [0.3.3-beta] | ||
|
||
No input scope changes for this version. | ||
|
||
## [0.3.2-beta] | ||
|
||
No input scope changes for this version. | ||
|
||
## [0.3.11-beta] | ||
|
||
No input scope changes for this version. | ||
|
||
## [0.3.1-beta] | ||
|
||
No input scope changes for this version. | ||
|
||
## [0.2.4] | ||
|
||
- chore(input): always focus onContainerClick | ||
|
||
## [0.2.1] | ||
|
||
- fix(input): do not trigger `onComplete` twice | ||
|
||
## [0.2] | ||
|
||
No input scope changes for this version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,246 @@ | ||
5a4beb5 chore: bump package version to 1.2.1 | ||
968a23b fix(input): use `color` not `text` for autofillStyles | ||
0964e81 chore(input): keep support for prop pushPasswordManagerStrategy="experimental-no-flickering" | ||
20f791b fix(input): prevent layout expansion when password managers aren't there | ||
115de01 chore(playground/pwmb): use password input | ||
b19b673 chore(website/layout): split local pages | ||
58ec278 chore: update package.json git repo dir | ||
d9f9c70 chore(website): add both render-context inputs for /shadcn example | ||
5bbfb20 chore: bump package version to 1.2.0 | ||
ce8c671 chore(input): don't restrict inputMode typing | ||
8a9b1aa docs: fix context example | ||
d8ba00d chore(package): fix regexp file extension | ||
4917dce chore: bump package version to 1.2.0-beta.1 | ||
2f3b5c0 fix(website): slot typing | ||
74cb1fd fix(website): typing | ||
d2313b9 fix(input): renderfn typing | ||
7470e41 chore: bump package to 1.2.0-beta.0 | ||
bf000ed test: set retries to same as CI | ||
17dc86d docs(input): provide context | ||
72ac774 feat(input): add context option | ||
0ca4781 chore(playground): import static page | ||
ec8e097 chore(input): remove unused type `SelectionType` | ||
8587092 fix(website): coding theme | ||
b450c03 chore: add build:lib to prerelease right after test | ||
2c44459 chore: bump package version to `1.1.0` | ||
c4836ef feat(input/no-js): allow opting out of no-js fallback | ||
729a0d1 fix(input/no-js): move noscript to the top | ||
7e98d5f chore(input/badge): don't use ref | ||
5ee7e6e chore(input): optimize use-badge | ||
13e5e54 Update README.md | ||
02d2f12 fix(input): set no extra width on default noscript css fallback | ||
132bc1d fix(input): check window during ssr | ||
103d451 fix(input/ios): add right: 1px to compensate left: -1px | ||
644a9d9 chore(input/ios): revert paste listener (re-add) | ||
88d9f09 chore(input): always trigger selection menu on ios | ||
5744e5a chore(website): expand playground | ||
228cc13 chore: add pnpm script to start the website | ||
7f7490b feat(input): support noscript with CSS fallback | ||
d074944 build: skip hydration overlay | ||
aab1d20 ci: add playwright | ||
35b44e0 chore: create test:ui playwright script | ||
4abbb50 chore: git ignore test-results | ||
0971f6b perf(input): prevent trackPWMBadge when strategy is none | ||
0d909ef fix(input): do not skip left slot | ||
8097331 ci: set test retries to 2 from 1 | ||
48b16de test: fix selectors | ||
4eb963a fix(input): do not skip left slot when pressing arrowleft after insert mode | ||
8c897f9 fix(input): reinforce wrapper to pointerEvents none | ||
c0e660f test: fix selectors | ||
83aaf74 feat(input): add experimental push pwm badge | ||
96222d8 chore(input): rename prop to pushPasswordManagerStrategy | ||
59a3fe5 chore(playground): add pwmb page | ||
f171744 chore(input): move focus logic to _focusListener | ||
dae66a6 chore(input): remove unused types | ||
fa954d1 chore(input): move password manager optimizer to hook | ||
77a0e30 fix(input): reinforce no box shadows | ||
97572c1 perf(input): rewrite core in a single event listener | ||
68c5cec chore(input): remove unused event listeners | ||
25e14b4 fix(input): safe insert css rules | ||
aae6fba feat(website): add light theme | ||
101af7d chore: add more pages to playground | ||
c510046 chore: use pnpm | ||
a25edaa docs(storybook): create | ||
2608ffb chore(website): add hydration overlay by builderio | ||
1965164 fix(input): track pwm badge space | ||
3507a3b fix(input): prevent layout shift caused by password managers | ||
c25716b chore(website): change dev port to 3040 | ||
92f1d3a feat(input): add pwm badge space detector | ||
f7ed3d4 chore(input): change pwmbadge X offset to 40px | ||
825cade feat(input): add passwordManagerBehavior prop | ||
bc451c3 chore(input): use ref not metadata | ||
06a5333 fix(input): forcefully remove :autofill | ||
8f4e92f feat(input): track password managers | ||
c19e6f4 chore(input): forcefully remove :autofill | ||
fb94f75 Update issue templates | ||
f5ce1db chore(input): remove unused dep for `onChange` useCallback | ||
4a71419 chore(website/local): remove unused lines | ||
62a7d9e chore(package): bump version to 1.0.1 | ||
142c8ef chore(input): remove unused lines | ||
118dbdb chore: add shadcn-ui internal example | ||
e58b418 docs: add videos | ||
14cf17b chore(input): add pointer-events:none | ||
56ee078 fix(input): immediately update selection after paste | ||
2282375 fix(input): hide selection on iOS webkit | ||
f822ac7 chore: bump package version to 1.0.0 | ||
8b6f629 style: run linting | ||
3d69ad9 chore: add script to copy README.md | ||
9be2f48 test: add standard browsers | ||
3e76661 fix(input/firefox): use setselectionrange direction:backwards | ||
774f97a docs: add caveats | ||
92720c3 docs(README.md): add props | ||
1398f59 Add some helpful guides to README | ||
239ac4c chore(package): bump version to 1.0 | ||
380cfb2 chore(examples): add auto submit example | ||
cb8c4b8 feat(input): provide `textAlign` as prop | ||
1f7182b chore(input): memoize | ||
60dbec9 chore(input): remove prop `allowNavigation` | ||
4d9e1ab feat(input): hide input on :autofill css modifier | ||
d3716ac Prevent `className` overriding `containerClassName` | ||
fbdd883 feat(website): add star count | ||
e44c2de feat(website): adjust code-overlay-height for all screens | ||
41039de chore: add script `release` | ||
e7a6570 chore: bump package version to `0.3.31-beta` | ||
776425a docs: use SlotProps type in default example | ||
f6ef25c chore: bump package version to `0.3.3-beta` | ||
ae27d10 feat(input): provide slot and render typings | ||
8dbc110 fix(input): always call onChange | ||
44f08b7 docs: update README example | ||
4b9f8f7 style: move prettier rules to root level | ||
f52614d chore: remove duplicate file `cn` | ||
053f98a chore: .gitignore playwright-report | ||
de9d59e ci: make test#test dependant on input-otp#build | ||
dce2538 chore(package): bump version to 0.3.2-beta | ||
cfc003d chore: add build:lib script | ||
fae77f8 chore(input): fix typing to `any` | ||
977bc69 chore(input): set style to `flex` `text center` | ||
f4966d3 perf(input): remove unused hook deps | ||
c91e774 chore: add next-env to .gitignore | ||
afcfa20 refactor: add build:website command | ||
806b786 ci: fix action to setup bun | ||
dc6e29d refactor: change linting script | ||
b7b8203 refactor: move playwright and tsup config outside of root | ||
27e09c8 refactor: change folder structure | ||
3beac14 style(prettier): remove unused line | ||
53a029a build: change tooling | ||
7afe406 chore(input): add improved tracking while focused | ||
2217693 feat(input): add container attribute `data-input-otp-container` | ||
1e8ba2e chore(input): add identifier & clean css sheet effect | ||
aa7f4a1 chore(package): bump version to `0.3.11-beta` | ||
f16c76f chore(package): bump version to `0.3.1-beta` | ||
49f37f1 chore(input): determine focus state on mount | ||
459f11c chore(website/showcase): fix char animation on lg devices | ||
332abe7 chore(website/seo): change keywords | ||
13e4d9a fix(input/firefox): add full `width` and `height` | ||
9945bbd docs(README): add video | ||
298fe7e feat(input-otp): support hold-to copy+paste+cut Android & iOS | ||
5e57847 chore(input): do not require imperativeRef to apply bindings | ||
44733fa chore(input): cap change listener to max length | ||
91c7d65 fix(website): remove window on ssr and allow build | ||
27a720e fix(website/copy-button): only trigger copy when `window.isSecureContext` | ||
5f2c7b7 fix(website/animations): adjust animation-delay selector priority | ||
4e390c1 chore(website/showcase): improve perf on mobile | ||
96a5ce5 chore(input/types): remove unused `onBlur` | ||
b9ac415 chore(input): remove `autoFocus` typing | ||
0efb75e chore(input): remove unused log | ||
49ecdc9 chore(website): change heading min-w | ||
016aa93 chore(package): bump version to 0.2.4 | ||
1ebd5dc chore(input): always focus onContainerClick | ||
cd79dc2 chore(website): remove text-balance from heading | ||
039974a fix(otp-input): prevent breaking `onFocus` when ref is null | ||
95531c8 chore(website/playground): center layout | ||
14109bc docs: add README | ||
a02ffeb fix(website): show code | ||
d5071d9 chore(website): disable vfx temporarily | ||
8cbe06e chore(website): improve perf on mobile | ||
f4d99e5 chore(website): remove unused file `confetti_` | ||
c322b3a chore(package): bump version to `0.2.1` | ||
3c7b09b chore(website/showcase): adjust onSubmit | ||
305a6c7 chore(website): change vfx | ||
0a50eb9 chore(website): add import line to example | ||
f8f56c0 fix(input): do not trigger `onComplete` twice | ||
fb98058 chore(package): update homepage | ||
8160411 feat(website): add easter egg | ||
1f2d88f chore(lib): rename | ||
97cdc17 build: minify | ||
75239fd chore(website): add `root:--radius` to `globals.css` | ||
3137844 chore(website): remove unused css theme | ||
b1aff36 feat(website): add `site.webmanifest` | ||
3960127 feat(website): add `og` image | ||
4e39961 fix(otp-input): adjust `internalValue` typing | ||
3162c81 feat(website): add code example | ||
f174286 chore(website): apply html color scheme to dark | ||
716e18c chore(otp-input): do not require `value` and `onChange` then handle internal state when needed | ||
fb1bd80 fix(otp-input): add use client directive | ||
7b1c950 fix(otp-input): update UI on focus | ||
daedc1c Merge pull request #4 from guilhermerodz/feat/new-engine-v3 | ||
bac6e92 test(skip): skip only `base.selections` test | ||
469c945 test(skip): do not skip in CI | ||
e15cc7f chore(otp-input): always select last char on focus | ||
ccaeb49 test: remove unused `with-allow-spaces` route | ||
77b8e97 chore(website): use react strict mode | ||
e74d79b test: adapt to v3 and remove unused tests | ||
413197a feat(v3): create faster engine | ||
dee488f test(playwright): add non-headless slow mode | ||
227405b test(ci): skip some tests in CI environment | ||
04030e9 test(playwright): change node version to 18.17.0 | ||
5b81f0e feat(website): add slot and caret animation | ||
c7acb78 test(playwright): update config | ||
e0e8814 chore(test): add visual representations to base input | ||
30b5e5e chore(otp-input): call `onInputBlur` after disabled | ||
6571022 chore(otp-input): only execute `onComplete` after value has been changed | ||
52a5b3c chore(test/base-input): remove unused line | ||
e9265b0 chore(otp-input): change cursor when disabled | ||
258962b test(otp-input): add `props` | ||
24c27ea test(otp-input): add `with-on-complete` | ||
7737710 test(otp-input): add `base.typing` | ||
f5f4f27 test(otp-input): add `with-allow-spaces` | ||
b52e59b test(otp-input): add `with-allow-navigation` | ||
86f38e4 test(otp-input): add modifier util | ||
8c0b689 test(otp-input): add `base.delete-word` | ||
5e7f915 test(otp-input): add `disabled` | ||
faa3ce7 test(otp-input): add `base` and `with-autofocus` tests | ||
9fe0baf chore(otp-input): sync when input value reaches max length | ||
3631c8f chore(otp-input): trigger `setTimeout` 3 times in `syncTimeout` | ||
fd26521 feat(otp-input): support `autoFocus` prop | ||
4bb2efd chore(website): remove `react-wrap-balancer` and use css instead | ||
fec2178 Merge remote-tracking branch 'origin/master' | ||
c7a2c7a chore(otp-input): research on otp sms transport | ||
ad00e8c fix(otp-input): prevent cmd+A while preventing navigation | ||
84a1165 Merge pull request #2 from vitordino/patch-1 | ||
d3997b6 fix(otp-input): handle cases where `value` is undefined | ||
3e06650 feat(otp-input): expose `isHovering` prop | ||
13ef19a feat(otp-input): add `id` prop | ||
51d4d6f chore(showcase): remove duplicated jsx | ||
ee6fdb3 fix(website): change `layout` screen unit to `dynamic viewport` | ||
939ee61 feat(otp-input): allow `inputMode` | ||
a3e9bca chore(otp-input): remove unused lines | ||
83d495b make it rsc safe | ||
a9ceab2 feat(website): add input `hover` effect | ||
3d3522f chore(otp-input): use `indexOf` instead of `includes` from ES5 | ||
8ae18a4 fix(build): setup `turbo.json` | ||
28e6821 fix(build): add `peerDependencies` to `package.json` and remove wrong imports | ||
685d398 refactor(dir): move component to `/src` | ||
08cf020 refactor(dir): move website to `/website` | ||
15ec4e3 chore(www): setup shadcn/ui | ||
00492e8 chore(otp-input): prevent navigation | ||
c10047d chore(otp-input): adjust caret positioning | ||
9b6b46d chore(otp-input): remove useEffect | ||
25dfc90 feat(example): create | ||
872a5e9 chore(otp-input): make regex default | ||
22f2e85 chore(otp-input): remove bugged shift-select | ||
f42b837 chore(otp-input): improve selection of 1st length | ||
91c0925 fix(opt-input): `preventDefault` on input change | ||
cdb629e feat(opt-input): add `onComplete` callback | ||
18abf72 fix(opt-input): adjust container click caret positioning | ||
3932360 chore(otp-input): switch engine experience to always have a selection | ||
0a1b2fc feat(otp-input): implement fake caret | ||
8e6ffad chore(opt-input): make it similar to stripe | ||
8777eca chore(otp-input): switch to standard styling | ||
f2e110a chore(otp-input): improve shift selection handler | ||
fd34449 feat(otp-input): add shift selection | ||
404c31c chore(otp-input): handle slot click length edge case | ||
d2688eb feat(otp-input): add slot and container click event | ||
da6d1d8 feat(otp-input): add current caret position | ||
1fc6558 chore(otp-input): create input and mirror with selection | ||
25be2c0 Initial commit from Create Next App |