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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-needs-work Автоматизация: PR автоматически закроется через 14 дней при отсутствии активности
Projects
None yet
2 participants