-
Notifications
You must be signed in to change notification settings - Fork 186
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
feat(ChipsInputBase): add cycle navigates between chips #6395
feat(ChipsInputBase): add cycle navigates between chips #6395
Conversation
Покрыл тестами `ChipsSelect` и `ChipsInputBase`.
size-limit report 📦
|
e2e tests |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 0a3d76c:
|
👀 Docs deployed
Commit 0a3d76c |
Кста, так и задумано, что в readOnly инпуте нельзя стрелочками навигироваться? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6395 +/- ##
==========================================
+ Coverage 81.37% 81.98% +0.61%
==========================================
Files 327 327
Lines 10140 10134 -6
Branches 3412 3411 -1
==========================================
+ Hits 8251 8308 +57
+ Misses 1889 1826 -63
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
fec3dec
to
0a3d76c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💠 Спасибо!
h2. Описание - Добавил цикличную навигацию стрелками между чипами. https://github.com/VKCOM/VKUI/assets/5850354/a849e56c-9912-4cd3-802a-97f224d9f03b - Покрыл тестами `ChipsSelect`, `ChipsInputBase`, `Chip`. - `Chip` - теперь принимает `readOnly`. При его передаче, скрывается кнопка удаления чипа; - для корректного произношения скринридером, добавил ` ` перед скрытым текстом `"Удалить <children>"`.
✅ v6.0.1 🎉 |
Описание
Добавил цикличную навигацию стрелками между чипами.
2024-01-17.19.11.56.mov
Покрыл тестами
ChipsSelect
,ChipsInputBase
,Chip
.Chip
readOnly
. При его передаче, скрывается кнопка удаления чипа;
перед скрытым текстом"Удалить <children>"
.ChipsSelect
andChipsInput
#6367