-
Notifications
You must be signed in to change notification settings - Fork 20
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: add Badge & Tabs truncate props #1500
Conversation
Theme Builder app deployed! https://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-1500/ |
fd113c4
to
467aaec
Compare
Documentation preview deployed! website:https://plasma.sberdevices.ru/pr/pr-1500/ |
09068d5
to
f1d67b0
Compare
f1d67b0
to
0916720
Compare
679a435
to
5da622b
Compare
packages/plasma-new-hope/src/components/Badge/variations/_truncate/base.ts
Outdated
Show resolved
Hide resolved
...es/plasma-new-hope/src/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.tsx
Outdated
Show resolved
Hide resolved
packages/plasma-new-hope/src/examples/plasma_b2c/components/Badge/Badge.stories.tsx
Show resolved
Hide resolved
Добавь пожалуйста тест на truncate. И сейчас почему-то обновленные тесты только для plasma-web |
...es/plasma-new-hope/src/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.tsx
Outdated
Show resolved
Hide resolved
...es/plasma-new-hope/src/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.tsx
Outdated
Show resolved
Hide resolved
5da622b
to
978b970
Compare
978b970
to
e2c16c4
Compare
e2c16c4
to
e3c3f85
Compare
Badge, Tabs
What/why changed
Добавлены свойства maxWidth и maxItemWidth, включающее
text-overflow: ellipsis
для Badge и TabItem📦 Published PR as canary version:
Canary Versions
✨ Test out this PR locally via: