-
Notifications
You must be signed in to change notification settings - Fork 185
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(DisplayTitle): Add adaptivity to DisplayTitle #7553
Conversation
size-limit report 📦
|
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. |
e2e tests |
👀 Docs deployed
Commit fd06bd7 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7553 +/- ##
==========================================
+ Coverage 95.14% 95.15% +0.01%
==========================================
Files 384 384
Lines 11224 11273 +49
Branches 3686 3697 +11
==========================================
+ Hits 10679 10727 +48
- Misses 545 546 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
packages/vkui/src/components/Typography/DisplayTitle/DisplayTitle.tsx
Outdated
Show resolved
Hide resolved
…tle.tsx no-useless-computed-key Co-authored-by: Inomdzhon Mirdzhamolov <i.mirdzhamolov@vk.team>
✅ v6.7.0 🎉 |
Описание
Добавили compact режим для DisplayTitle, чтобы в теме, где указаты токены compact режима, они применялись.
Падение e2e-тестов
Тесты упали на платформе vkcom, потом что там применяются разные режимы адаптивности, в том числе sizeY: compact. В этом режиме теперь используются compact токены. Раньше такого не было, потому что мы compact режим не обрабатывали.
VKUI/packages/vkui/src/testing/e2e/ComponentPlayground.tsx
Lines 43 to 44 in b43b961
Release notes
Улучшения