feat(input-otp): скорректировано поведение компонента - #78
Merged
Conversation
fabulous-unicorn
requested review from
isokolovskii
and removed request for
a team
August 26, 2026 09:54
fabulous-unicorn
requested review from
grevtsovna
and removed request for
isokolovskii
August 26, 2026 10:52
grevtsovna
approved these changes
Aug 27, 2026
fabulous-unicorn
force-pushed
the
feature/DS-762-input-otp
branch
from
September 2, 2026 10:02
a7b416c to
790da89
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Figma - https://www.figma.com/design/Q1BWgZ7zoV5UzlBOnjW0cM/UI-Kit--DS--v2.1?node-id=484-6034&t=6VbUoPFB63RFGMZB-4
Дальше будет описание от дизайна, но что касается конкретных значений, то приоритет в использовании у токенов на макете.
InputOtp — состояния и сценарии
Состояния ячейки (
state)#cecfd2#ffffff#181a1f#1dc831#ffffff#181a1f#1dc831#ffffff0 0 0 3.5 #d4fedc#181a1f+ каретка#db3424#ffffff0 0 0 3.5 #fff0f0(в фокусе)#181a1f#cecfd2#e2e2e4, opacity 50%Поведение
inputmode=numeric)autocomplete=one-time-code)disabledна время запросаdanger, фокус в первую, значения не стираются автоматическиdangerснимается с первого же введённого символаdisabled, активна ссылка «Отправить код повторно»disabled+ сообщение с указанием, когда можно повторитьСценарии
inputmode=numeric, высота ≥ 44px под касание, автозаполнение из SMS