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: add Badge & Tabs truncate props #1500

Merged
merged 1 commit into from
Nov 8, 2024
Merged

feat: add Badge & Tabs truncate props #1500

merged 1 commit into from
Nov 8, 2024

Conversation

vadim-kudr
Copy link
Contributor

@vadim-kudr vadim-kudr commented Oct 22, 2024

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:

npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
npm install @salutejs/[email protected]
# or 
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]
yarn add @salutejs/[email protected]

Copy link
Contributor

Theme Builder app deployed!

https://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-1500/

@TitanKuzmich
Copy link
Contributor

Добавь пожалуйста тест на truncate. И сейчас почему-то обновленные тесты только для plasma-web

@vadim-kudr vadim-kudr added this pull request to the merge queue Nov 8, 2024
Merged via the queue into dev with commit 33e698f Nov 8, 2024
31 checks passed
@vadim-kudr vadim-kudr deleted the PLASMA-3627 branch November 8, 2024 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants