Skip to content

Conversation

@dHIM24
Copy link
Contributor

@dHIM24 dHIM24 commented Nov 23, 2025

Checkbox
  • Добавлен prop position для управления положением чекбокса относительно контента ('before' | 'after'), теперь компонент сам контролирует порядок DOM-узлов (label/checkbox).
  • Логика позиционирования и видимости чекбокса полностью инкапсулирована внутри компонента
Select
  • Добавлен проп checkmarkPosition для управления позицией чекмарка относительно контента ('before' | 'after')
  • Компонент BaseCheckmark теперь поддерживает проп content для передачи контента опции
  • Оптимизирована логика рендеринга чекбоксов и иконок в компонентах OptionBase и BaseOption
SelectWithTags
  • Добавлена поддержка динамического позиционирования чекмарков в зависимости от view (desktop/mobile)
  • Для desktop по умолчанию используется checkmarkPosition='before', для mobile - checkmarkPosition='after'
  • Возможность переопределить позицию через проп optionProps.checkmarkPosition
CustomPickerButton
  • Добавлен хелпер disableCheckmarks для автоматического отключения чекмарков у всех опций

Чек лист

  • Задача сформулирована и описана в JIRA
  • В названии ветки есть айдишник задачи в JIRA (fix/DS-1234), ссылку прикреплять не надо
  • У реквеста осмысленное название feat(...) или fix(...) по conventional commits (https://www.conventionalcommits.org)
  • Код покрыт тестами и протестирован в различных браузерах
  • Добавленные пропсы добавлены в демки и описаны в документации
  • К реквесту добавлен changeset

@changeset-bot
Copy link

changeset-bot bot commented Nov 23, 2025

🦋 Changeset detected

Latest commit: 6db3465

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 11 packages
Name Type
@alfalab/core-components-checkbox Minor
@alfalab/core-components Minor
@alfalab/core-components-select-with-tags Minor
@alfalab/core-components-select Minor
@alfalab/core-components-custom-picker-button Minor
@alfalab/core-components-input-autocomplete Patch
@alfalab/core-components-international-phone-input Patch
@alfalab/core-components-intl-phone-input Patch
@alfalab/core-components-picker-button Patch
@alfalab/core-components-table Patch
@alfalab/core-components-tabs Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Nov 23, 2025

Bundle size report

Entry point Size (minified)
@alfalab/core-components-custom-picker-button/index.js 241 (-1.10 KB ✅)
@alfalab/core-components-custom-picker-button/desktop/index.js 151.4 (+6.80 KB ❌)
@alfalab/core-components-custom-picker-button/mobile/index.js 213.5 (-1.10 KB ✅)
@alfalab/core-components-input-autocomplete/index.js 245.1 (-1.20 KB ✅)
@alfalab/core-components-input-autocomplete/desktop/index.js 154.3 (-1.40 KB ✅)
@alfalab/core-components-input-autocomplete/mobile/index.js 217.8 (-1.20 KB ✅)
@alfalab/core-components-international-phone-input/index.js 542.7 (-1.10 KB ✅)
@alfalab/core-components-international-phone-input/desktop/index.js 468.3 (-1.20 KB ✅)
@alfalab/core-components-international-phone-input/mobile/index.js 514.8 (-1.00 KB ✅)
@alfalab/core-components-intl-phone-input/index.js 655.5 (-1.40 KB ✅)
@alfalab/core-components-picker-button/index.js 238.7 (-1.30 KB ✅)
@alfalab/core-components-picker-button/desktop/index.js 149.4 (+6.60 KB ❌)
@alfalab/core-components-picker-button/mobile/index.js 211.6 (-1.20 KB ✅)
@alfalab/core-components-select/index.js 234.5 (-1.20 KB ✅)
@alfalab/core-components-select/desktop/index.js 158.1 (-1.40 KB ✅)
@alfalab/core-components-select/mobile/index.js 208 (-1.30 KB ✅)
@alfalab/core-components-select/shared/index.js 191.8 (-1.00 KB ✅)
@alfalab/core-components-select-with-tags/index.js 220.1 (-1.30 KB ✅)
@alfalab/core-components-select-with-tags/desktop/index.js 194.3 (-1.30 KB ✅)
@alfalab/core-components-select-with-tags/mobile/index.js 194 (-1.30 KB ✅)
@alfalab/core-components-table/index.js 169.8 (-1.40 KB ✅)
@alfalab/core-components-tabs/collapsible/index.js 158.7 (+7.50 KB ❌)

@coveralls
Copy link

coveralls commented Nov 23, 2025

Pull Request Test Coverage Report for Build 19614894725

Details

  • 20 of 20 (100.0%) changed or added relevant lines in 10 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.002%) to 79.709%

Totals Coverage Status
Change from base Build 19334456547: 0.002%
Covered Lines: 9677
Relevant Lines: 11372

💛 - Coveralls

@github-actions
Copy link
Contributor

Demo build

https://core-ds.github.io/core-components/1958

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants