-
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(ImageBasePositionedComponent): add subcomponent to positioning component in Image #7166
feat(ImageBasePositionedComponent): add subcomponent to positioning component in Image #7166
Conversation
…omponent in Image - Добавил сабкомпонент ImageBasePositionedComponent для абсолютного позиционирования компонентов в компоненте Image. - Добавил тесты для компонента - Добавил стори для компонента - Добавил использование компонента в документацию
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 4ab0a62 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7166 +/- ##
==========================================
+ Coverage 95.51% 95.54% +0.02%
==========================================
Files 396 398 +2
Lines 11235 11306 +71
Branches 3720 3734 +14
==========================================
+ Hits 10731 10802 +71
Misses 504 504
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Выглядит здорово.
Я так понимаю, что он сразу сделан с возможностью использовать несколько Image.PositionedComponent
. 👍
Оставил пару комментариев.
.../vkui/src/components/ImageBase/ImageBasePositionedComponent/ImageBasePositionedComponent.tsx
Outdated
Show resolved
Hide resolved
.../vkui/src/components/ImageBase/ImageBasePositionedComponent/ImageBasePositionedComponent.tsx
Outdated
Show resolved
Hide resolved
.../vkui/src/components/ImageBase/ImageBasePositionedComponent/ImageBasePositionedComponent.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Шикарно 🔥
.../vkui/src/components/ImageBase/ImageBasePositionedComponent/ImageBasePositionedComponent.tsx
Outdated
Show resolved
Hide resolved
.../vkui/src/components/ImageBase/ImageBasePositionedComponent/ImageBasePositionedComponent.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
.../vkui/src/components/ImageBase/ImageBasePositionedComponent/ImageBasePositionedComponent.tsx
Outdated
Show resolved
Hide resolved
.../vkui/src/components/ImageBase/ImageBasePositionedComponent/ImageBasePositionedComponent.tsx
Outdated
Show resolved
Hide resolved
.../vkui/src/components/ImageBase/ImageBasePositionedComponent/ImageBasePositionedComponent.tsx
Outdated
Show resolved
Hide resolved
.../vkui/src/components/ImageBase/ImageBasePositionedComponent/ImageBasePositionedComponent.tsx
Outdated
Show resolved
Hide resolved
.../vkui/src/components/ImageBase/ImageBasePositionedComponent/ImageBasePositionedComponent.tsx
Outdated
Show resolved
Hide resolved
# Conflicts: # packages/vkui/src/components/ImageBase/ImageBase.tsx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Шикарная работа 👏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
сорри, пропустил последний моментик((
packages/vkui/src/components/ImageBase/ImageBaseFloatElement/ImageBaseFloatElement.module.css
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙏 👍 👏
🚀
🔥🔥🔥 🔥
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✨
Описание
Нужно добавить сабкомпонент для компонента
Image
для позиционированирования компонентов внутриImage
.Изменения
ImageBaseFloatElement
для абсолютного позиционирования компонентов в компоненте Image.Release notes
Новые компоненты
Image.FloatElement
для позиционирования компонента относительно картинки