Merged
Conversation
214c0ea to
f53a58e
Compare
Contributor
|
Theme Builder app deployed! https://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-2403/ |
Contributor
f53a58e to
fd69449
Compare
fd69449 to
1c352a6
Compare
1c352a6 to
bb78930
Compare
TitanKuzmich
approved these changes
Feb 10, 2026
bb78930 to
ea18c42
Compare
Yakutoc
reviewed
Feb 10, 2026
| @@ -194,6 +194,26 @@ export const config = { | |||
| ${accordionTokens.accordionItemTitleLetterSpacing}: var(--plasma-typo-h5-letter-spacing); | |||
| ${accordionTokens.accordionItemTitleLineHeight}: var(--plasma-typo-h5-line-height); | |||
|
|
|||
| ${accordionTokens.accordionItemTextFontFamily}: var(--plasma-typo-body-m-font-family); | |||
Collaborator
There was a problem hiding this comment.
@neretin-trike Фин порталу точно нужен этот компонент H6?
Collaborator
Author
Yakutoc
approved these changes
Feb 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Core
Typography
h6What/why changed
Какие были выявлены проблемы:
вместо вызова функицииcy.viewport(375, 667);`. На тесты это никак не повлиялоКуда не были добавлены компоненты:
@salutejs/plasma-typo - Т.к. это легаси библиотека, которая больше не поддерживается
@salutejs/plasma-ui - Старая библиотека, в которой не поддерживаются новые способы подключения тем
В тесты @salutejs/plasma-web и @salutejs/plasma-b2c, т.к. там используется старый способ подключения типографики
Что нужно будет сделать:
theme-converterво все библиотеки и обновить zip архивы с поднятием версии на мажор, поскольку это изменение затронет большое количество компонент и очень сильно повлияет на визуальный регресс.Изменения которые нужно внести при добавлении "типографического" компонента в ядро
Файл: packages/plasma-new-hope/src/mixins/typography.ts
Использовать соответствующие CSS‑переменные --plasma-typo-<component_name>-*.
Файл: utils/plasma-sb-utils/src/helpers/typographyTokens.ts
Добавить новый компонент в типы
Файл: packages/plasma-new-hope/src/components/Typography/Typography.template-doc.mdx
Минимальный набор изменений, чтобы "типографический" компонент появился и работал в конечных библиотеках:
Файл: packages/*/src/components/Typography/<component_name>.config.ts
Два варианта:
Вариант A: один общий config
Вариант B: отдельный
config<component_name>Файл: packages/*/src/components/Typography/Typography.tsx
Файл: packages/*/src/components/Typography/index.ts
Файл: packages/*/src/components/Typography/Typography.stories.tsx
Файл: packages/*/src/components/Typography/Typography.Responsive.component-test.tsx
... const H5 = getComponent('H5'); const <component_name> = getComponent('<component_name>'); const TextL = getComponent('TextL'); ...Добавить токены в соотвествующие библиотеки
Поискать смежные компоненты, которые переиспользуют типографику и добавить её туда (например в Rating, Tab и т.д.)
📦 Published PR as canary version:
Canary Versions✨ Test out this PR locally via:
npm install @salutejs/plasma-asdk@0.362.0-canary.2403.21865417826.0 npm install @salutejs/plasma-b2c@1.604.0-canary.2403.21865417826.0 npm install @salutejs/plasma-giga@0.331.0-canary.2403.21865417826.0 npm install @salutejs/plasma-hope@1.361.0-canary.2403.21865417826.0 npm install @salutejs/plasma-icons@1.229.0-canary.2403.21865417826.0 npm install @salutejs/plasma-new-hope@0.348.0-canary.2403.21865417826.0 npm install @salutejs/plasma-ui@1.337.0-canary.2403.21865417826.0 npm install @salutejs/plasma-web@1.606.0-canary.2403.21865417826.0 npm install @salutejs/sdds-bizcom@0.336.0-canary.2403.21865417826.0 npm install @salutejs/sdds-crm@0.335.0-canary.2403.21865417826.0 npm install @salutejs/sdds-cs@0.340.0-canary.2403.21865417826.0 npm install @salutejs/sdds-dfa@0.334.0-canary.2403.21865417826.0 npm install @salutejs/sdds-finai@0.327.0-canary.2403.21865417826.0 npm install @salutejs/sdds-insol@0.331.0-canary.2403.21865417826.0 npm install @salutejs/sdds-netology@0.335.0-canary.2403.21865417826.0 npm install @salutejs/sdds-os@0.6.0-canary.2403.21865417826.0 npm install @salutejs/sdds-platform-ai@0.335.0-canary.2403.21865417826.0 npm install @salutejs/sdds-scan@0.334.0-canary.2403.21865417826.0 npm install @salutejs/sdds-serv@0.335.0-canary.2403.21865417826.0 npm install @salutejs/plasma-sb-utils@0.215.0-canary.2403.21865417826.0 # or yarn add @salutejs/plasma-asdk@0.362.0-canary.2403.21865417826.0 yarn add @salutejs/plasma-b2c@1.604.0-canary.2403.21865417826.0 yarn add @salutejs/plasma-giga@0.331.0-canary.2403.21865417826.0 yarn add @salutejs/plasma-hope@1.361.0-canary.2403.21865417826.0 yarn add @salutejs/plasma-icons@1.229.0-canary.2403.21865417826.0 yarn add @salutejs/plasma-new-hope@0.348.0-canary.2403.21865417826.0 yarn add @salutejs/plasma-ui@1.337.0-canary.2403.21865417826.0 yarn add @salutejs/plasma-web@1.606.0-canary.2403.21865417826.0 yarn add @salutejs/sdds-bizcom@0.336.0-canary.2403.21865417826.0 yarn add @salutejs/sdds-crm@0.335.0-canary.2403.21865417826.0 yarn add @salutejs/sdds-cs@0.340.0-canary.2403.21865417826.0 yarn add @salutejs/sdds-dfa@0.334.0-canary.2403.21865417826.0 yarn add @salutejs/sdds-finai@0.327.0-canary.2403.21865417826.0 yarn add @salutejs/sdds-insol@0.331.0-canary.2403.21865417826.0 yarn add @salutejs/sdds-netology@0.335.0-canary.2403.21865417826.0 yarn add @salutejs/sdds-os@0.6.0-canary.2403.21865417826.0 yarn add @salutejs/sdds-platform-ai@0.335.0-canary.2403.21865417826.0 yarn add @salutejs/sdds-scan@0.334.0-canary.2403.21865417826.0 yarn add @salutejs/sdds-serv@0.335.0-canary.2403.21865417826.0 yarn add @salutejs/plasma-sb-utils@0.215.0-canary.2403.21865417826.0