8000 feat(ChipsInput,ChipsSelect): add prop delimiter by EldarMuhamethanov · Pull Request #8435 · VKCOM/VKUI · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(ChipsInput,ChipsSelect): add prop delimiter #8435

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

Merged

Conversation

EldarMuhamethanov
Copy link
Contributor

  • Unit-тесты
  • Документация фичи
  • Release notes

Описание

Было бы удобно добавлять опции в компонентах ChipsInput и ChipsSelect с помощью текстового разделителя, а не только при нажатии Enter. Данный функционал был бы также удобен при вставке из буфера обмена длинной строки с разделителями

Изменения

  • Добавил свойство delimiter, которое позволяет создавать опции, используя определенный символ
  • Добавил тестов для нового функционала

Release notes

Улучшения

  • ChipsInput: Добавлено свойство delimiter - символ или строка, которая будет использоваться как разделитель для автоматического создания опций из текста, введенного в поле ввода.
  • ChipsSelect: Добавлено свойство delimiter - символ или строка, которая будет использоваться как разделитель для автоматического создания опций из текста, введенного в поле ввода.

@EldarMuhamethanov EldarMuhamethanov requested a review from a team as a code owner April 4, 2025 13:26
Copy link
codesandbox-ci bot commented Apr 4, 2025

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.

Copy link
Contributor
github-actions bot commented Apr 4, 2025

size-limit report 📦

Path Size
JS 403.57 KB (+0.1% 🔺)
JS (gzip) 120.08 KB (+0.2% 🔺)
JS (brotli) 98.59 KB (+0.1% 🔺)
JS import Div (tree shaking) 1.56 KB (0%)
CSS 348.95 KB (0%)
CSS (gzip) 43.23 KB (0%)
CSS (brotli) 34.49 KB (0%)

Copy link
Contributor
github-actions bot commented Apr 4, 2025

e2e tests

⚠️ Some screenshots were failed. See Playwright Report.

Playwright Report

Copy link
Contributor
github-actions bot commented Apr 4, 2025

👀 Docs deployed

Commit e0ab2fa

@vkcom-publisher vkcom-publisher added the pr-needs-work Автоматизация: PR автоматически закроется через 14 дней при отсутствии активности label Apr 12, 2025
@EldarMuhamethanov EldarMuhamethanov added no-stale Добавляет PR в исключения для автоматического закрытия and removed pr-needs-work Автоматизация: PR автоматически закроется через 14 дней при отсутствии активности labels Apr 14, 2025
Copy link
Contributor
@andrey-medvedev-vk andrey-medvedev-vk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@EldarMuhamethanov EldarMuhamethanov merged commit e44c86b into master Apr 15, 2025
27 checks passed
@EldarMuhamethanov EldarMuhamethanov deleted the e.muhamethanov/1987/chips-input-add-prop-delimiter branch April 15, 2025 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-stale Добавляет PR в исключения для автоматического закрытия
Projects
None yet
4 participants
0