Skip to content

feat: deprecate Flex.Item#9163

Merged
BlackySoul merged 3 commits intomasterfrom
blackysoul/8926/flex_item_deprecate
Nov 24, 2025
Merged

feat: deprecate Flex.Item#9163
BlackySoul merged 3 commits intomasterfrom
blackysoul/8926/flex_item_deprecate

Conversation

@BlackySoul
Copy link
Copy Markdown
Contributor

@BlackySoul BlackySoul commented Nov 14, 2025


  • Unit-тесты
  • e2e-тесты
  • Дизайн-ревью
  • Документация фичи
  • Release notes

Описание

Остальные свойства будут перенесены в рамках #8871

Изменения

  • депрекейт Flex.Item;
  • добавлен warnOnce, что надо использовать Flex;
  • перенесён alignSelf во Flex.

Release notes

Улучшения

  • Flex: добавлена поддержка layout свойств и свойств Flex.Item

Устаревшие

  • Компонент Flex.Item помечен как устаревший и будет удалён в v9.0.0

@BlackySoul BlackySoul requested a review from a team as a code owner November 14, 2025 12:01
@BlackySoul BlackySoul linked an issue Nov 14, 2025 that may be closed by this pull request
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Nov 14, 2025

size-limit report 📦

Path Size
JS 421.54 KB (+0.07% 🔺)
JS (gzip) 128.08 KB (-0.03% 🔽)
JS (brotli) 104.98 KB (-0.06% 🔽)
JS import Div (tree shaking) 1.67 KB (0%)
CSS 370.43 KB (0%)
CSS (gzip) 45.83 KB (0%)
CSS (brotli) 36.31 KB (0%)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Nov 14, 2025

e2e tests

Playwright Report

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Nov 14, 2025

📊 Найдены изменения в собранных файлах: Отчет

Commit cebd0f4

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Nov 14, 2025

👀 Docs deployed

📦 Package ✅

yarn add @vkontakte/vkui@https://development.s3.prodcloud.vk.team/pull/9163/cebd0f415f5c9816fd42343a2cb99664eecfb0c5/pkg/@vkontakte/vkui/_pkg.tgz

Commit cebd0f4

@codecov
Copy link
Copy Markdown

codecov bot commented Nov 14, 2025

Codecov Report

❌ Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 95.02%. Comparing base (8bb7af2) to head (cebd0f4).
⚠️ Report is 31 commits behind head on master.

Files with missing lines Patch % Lines
...ges/vkui/src/components/Flex/FlexItem/FlexItem.tsx 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9163      +/-   ##
==========================================
- Coverage   95.02%   95.02%   -0.01%     
==========================================
  Files         420      419       -1     
  Lines       11184    11189       +5     
  Branches     4210     4212       +2     
==========================================
+ Hits        10628    10632       +4     
- Misses        556      557       +1     
Flag Coverage Δ
unittests 95.02% <83.33%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Co-authored-by: Daniil Suvorov <severecloud@gmail.com>
@BlackySoul BlackySoul modified the milestone: v7.11.0 Nov 17, 2025
Copy link
Copy Markdown
Contributor

@inomdzhon inomdzhon left a comment

Choose a reason for hiding this comment

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

🔥🔥🔥

@inomdzhon
Copy link
Copy Markdown
Contributor

В Release notes ещё нужно добавить про улучшения Flex

@BlackySoul BlackySoul merged commit 776f53b into master Nov 24, 2025
27 of 29 checks passed
@BlackySoul BlackySoul deleted the blackysoul/8926/flex_item_deprecate branch November 24, 2025 09:41
vkcom-publisher pushed a commit that referenced this pull request Nov 24, 2025
* feat: deprecate Flex.Item
* feat: add layout props to Flex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

3 participants