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(ImageBase): add prop objectPosition #8016

Merged

Conversation

EldarMuhamethanov
Copy link
Contributor


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

Описание

Нужно добавить свойство objectPosition для управления свойством object-position

Release notes

Улучшения

  • Image: добавлено свойство objectPosition для управления css свойством object-position

@EldarMuhamethanov EldarMuhamethanov requested a review from a team as a code owner November 29, 2024 09:29
Copy link
Contributor

github-actions bot commented Nov 29, 2024

size-limit report 📦

Path Size
JS 390.03 KB (+0.04% 🔺)
JS (gzip) 117.85 KB (+0.05% 🔺)
JS (brotli) 97.11 KB (+0.15% 🔺)
JS import Div (tree shaking) 1.56 KB (0%)
CSS 340.78 KB (+0.07% 🔺)
CSS (gzip) 42.21 KB (+0.13% 🔺)
CSS (brotli) 33.62 KB (+0.07% 🔺)

Copy link

codesandbox-ci bot commented Nov 29, 2024

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 Nov 29, 2024

e2e tests

Playwright Report

Copy link
Contributor

github-actions bot commented Nov 29, 2024

👀 Docs deployed

Commit c51e27f

Copy link

codecov bot commented Nov 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.54%. Comparing base (2789dd1) to head (c51e27f).
Report is 9 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8016   +/-   ##
=======================================
  Coverage   95.54%   95.54%           
=======================================
  Files         398      398           
  Lines       11306    11312    +6     
  Branches     3734     3737    +3     
=======================================
+ Hits        10802    10808    +6     
  Misses        504      504           
Flag Coverage Δ
unittests 95.54% <100.00%> (+<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.

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.

👍

@vkcom-publisher vkcom-publisher added the pr-needs-work Автоматизация: PR автоматически закроется через 14 дней при отсутствии активности label Dec 6, 2024
SevereCloud
SevereCloud previously approved these changes Dec 10, 2024
packages/vkui/src/components/ImageBase/ImageBase.tsx Outdated Show resolved Hide resolved
…tion

# Conflicts:
#	packages/vkui/src/components/ImageBase/ImageBase.tsx
@vkcom-publisher vkcom-publisher removed the pr-needs-work Автоматизация: PR автоматически закроется через 14 дней при отсутствии активности label Dec 11, 2024
@EldarMuhamethanov EldarMuhamethanov merged commit 4dedb98 into master Dec 11, 2024
28 checks passed
@EldarMuhamethanov EldarMuhamethanov deleted the e.muhamethanov/8005/image-base-object-position branch December 11, 2024 11:51
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.

[Feature]: Добавить в ImageBase проп для управления object-position картинки
4 participants