Conversation
|
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. Latest deployment of this branch, based on commit 6935dac:
|
size-limit report 📦
|
👀 Styleguide deployedSee the styleguide for this PR at https://vkcom.github.io/VKUI/pull/2610/ |
|
|
||
| .Placeholder__action .Button--lvl-tertiary { | ||
| top: -8px; | ||
| margin-top: 16px; |
There was a problem hiding this comment.
А не нужно ли нам токенизировать и такие отступы?
55737a1 to
000587a
Compare
|
Давай еще добавим скриншотных тестов для ButtonGroup внутри Placeholder |
VKUI/src/components/Placeholder/Placeholder.e2e.tsx Lines 11 to 16 in 000587a Они уже есть |
There was a problem hiding this comment.
Воу, мб не надо так?
.Placeholder__action .Button:not(:first-child)
.Placeholder__action .ButtonGroup
Вместо этого можно сделать так
<ButtonGroup mode="vertical" gap="m">
<Button>Lorem ipsum</Button>
<Button mode="tertiary" stretched>Lorem</Button>
</ButtonGroup>
gap="m"задаётmargin-top: 12pxи решает проблему с.Placeholder__action .Button:not(:first-child)Button mode="tertiary" stretchedрешает проблему.Placeholder__action .ButtonGroup
Мы пытаемся сократить обращения из одного блока к другому. Здесь, вижу, можно избежать это.
There was a problem hiding this comment.
см. #2610 (review)
+ потом надо поправить доку и добавить пример с ButtonGroup
@SevereCloud я вижу ты в Figma спросил можно ли |
|
Ок |
000587a to
0d1938f
Compare
eeb2b30 to
f183be6
Compare
c706467 to
41f6e5e
Compare
4749e70 to
6935dac
Compare
|
Дизайн ревью ✅ (by @Zaycevq) |


Чеклист перевода компонента на vkui-tokens
Документация компонентов
Скриншотный тест
Placeholder#2559