PLASMA-7299: Note ContentBefore align - #3012
Open
vmytnik wants to merge 5 commits into
Open
Conversation
vmytnik
requested review from
TitanKuzmich,
Yakutoc,
Yeti-or,
neretin-trike and
shuga2704
as code owners
August 3, 2026 14:23
📝 WalkthroughWalkthroughThe Note component now supports configurable alignment for fixed leading content. Horizontal Homeds notes set this content to center alignment through a shared New Hope styling token. ChangesNote content alignment
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
|
Theme Builder app deployed! https://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-3012/ |
Yakutoc
requested review from
IgorYar and
oki1oki
and removed request for
Yeti-or,
neretin-trike and
shuga2704
August 3, 2026 14:29
Contributor
TitanKuzmich
reviewed
Aug 4, 2026
| width: var(${tokens.fixedContentBeforeWidth}); | ||
| height: var(${tokens.fixedContentBeforeHeight}); | ||
| padding: var(${tokens.fixedContentBeforePadding}); | ||
| align-self: var(${tokens.fixedContentBeforeAlignSelf}); |
Contributor
There was a problem hiding this comment.
Тут по идее фолбек стоит поставить, так как значение у токена только в одной либе добавляется
Only M size Align self center for ContentBefore new design sizes
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
Note
PLASMA-HOMEDS
Note
PLASMA-SB-UTILS
Note
What/why changed
Summary by CodeRabbit
📦 Published PR as canary version:
Canary Versions✨ Test out this PR locally via:
npm install @salutejs/plasma-asdk@0.385.0-canary.3012.30916826044.0 npm install @salutejs/plasma-b2c@1.627.0-canary.3012.30916826044.0 npm install @salutejs/plasma-colors@0.17.0-canary.3012.30916826044.0 npm install @salutejs/plasma-core@1.234.0-canary.3012.30916826044.0 npm install @salutejs/plasma-giga@0.354.0-canary.3012.30916826044.0 npm install @salutejs/plasma-homeds@0.354.0-canary.3012.30916826044.0 npm install @salutejs/plasma-hope@1.381.0-canary.3012.30916826044.0 npm install @salutejs/plasma-icons@1.244.0-canary.3012.30916826044.0 npm install @salutejs/plasma-new-hope@0.371.0-canary.3012.30916826044.0 npm install @salutejs/plasma-tokens@1.146.0-canary.3012.30916826044.0 npm install @salutejs/plasma-tokens-b2b@1.60.0-canary.3012.30916826044.0 npm install @salutejs/plasma-tokens-b2c@0.71.0-canary.3012.30916826044.0 npm install @salutejs/plasma-tokens-core@0.8.0-canary.3012.30916826044.0 npm install @salutejs/plasma-tokens-web@1.75.0-canary.3012.30916826044.0 npm install @salutejs/plasma-typo@0.48.0-canary.3012.30916826044.0 npm install @salutejs/plasma-web@1.629.0-canary.3012.30916826044.0 npm install @salutejs/sdds-bizcom@0.359.0-canary.3012.30916826044.0 npm install @salutejs/sdds-cs@0.363.0-canary.3012.30916826044.0 npm install @salutejs/sdds-dfa@0.357.0-canary.3012.30916826044.0 npm install @salutejs/sdds-finai@0.350.0-canary.3012.30916826044.0 npm install @salutejs/sdds-insol@0.354.0-canary.3012.30916826044.0 npm install @salutejs/sdds-insol-next@0.354.0-canary.3012.30916826044.0 npm install @salutejs/sdds-netology@0.358.0-canary.3012.30916826044.0 npm install @salutejs/sdds-os@0.29.0-canary.3012.30916826044.0 npm install @salutejs/sdds-platform-ai@0.358.0-canary.3012.30916826044.0 npm install @salutejs/sdds-sbcom@0.359.0-canary.3012.30916826044.0 npm install @salutejs/sdds-scan@0.357.0-canary.3012.30916826044.0 npm install @salutejs/sdds-serv@0.358.0-canary.3012.30916826044.0 npm install @salutejs/core-themes@0.36.0-canary.3012.30916826044.0 npm install @salutejs/plasma-themes@0.58.0-canary.3012.30916826044.0 npm install @salutejs/sdds-themes@0.72.0-canary.3012.30916826044.0 npm install @salutejs/sdds-api-tests@0.16.0-canary.3012.30916826044.0 npm install @salutejs/plasma-cy-utils@0.164.0-canary.3012.30916826044.0 npm install @salutejs/plasma-sb-utils@0.235.0-canary.3012.30916826044.0 npm install @salutejs/plasma-tokens-utils@0.56.0-canary.3012.30916826044.0 # or yarn add @salutejs/plasma-asdk@0.385.0-canary.3012.30916826044.0 yarn add @salutejs/plasma-b2c@1.627.0-canary.3012.30916826044.0 yarn add @salutejs/plasma-colors@0.17.0-canary.3012.30916826044.0 yarn add @salutejs/plasma-core@1.234.0-canary.3012.30916826044.0 yarn add @salutejs/plasma-giga@0.354.0-canary.3012.30916826044.0 yarn add @salutejs/plasma-homeds@0.354.0-canary.3012.30916826044.0 yarn add @salutejs/plasma-hope@1.381.0-canary.3012.30916826044.0 yarn add @salutejs/plasma-icons@1.244.0-canary.3012.30916826044.0 yarn add @salutejs/plasma-new-hope@0.371.0-canary.3012.30916826044.0 yarn add @salutejs/plasma-tokens@1.146.0-canary.3012.30916826044.0 yarn add @salutejs/plasma-tokens-b2b@1.60.0-canary.3012.30916826044.0 yarn add @salutejs/plasma-tokens-b2c@0.71.0-canary.3012.30916826044.0 yarn add @salutejs/plasma-tokens-core@0.8.0-canary.3012.30916826044.0 yarn add @salutejs/plasma-tokens-web@1.75.0-canary.3012.30916826044.0 yarn add @salutejs/plasma-typo@0.48.0-canary.3012.30916826044.0 yarn add @salutejs/plasma-web@1.629.0-canary.3012.30916826044.0 yarn add @salutejs/sdds-bizcom@0.359.0-canary.3012.30916826044.0 yarn add @salutejs/sdds-cs@0.363.0-canary.3012.30916826044.0 yarn add @salutejs/sdds-dfa@0.357.0-canary.3012.30916826044.0 yarn add @salutejs/sdds-finai@0.350.0-canary.3012.30916826044.0 yarn add @salutejs/sdds-insol@0.354.0-canary.3012.30916826044.0 yarn add @salutejs/sdds-insol-next@0.354.0-canary.3012.30916826044.0 yarn add @salutejs/sdds-netology@0.358.0-canary.3012.30916826044.0 yarn add @salutejs/sdds-os@0.29.0-canary.3012.30916826044.0 yarn add @salutejs/sdds-platform-ai@0.358.0-canary.3012.30916826044.0 yarn add @salutejs/sdds-sbcom@0.359.0-canary.3012.30916826044.0 yarn add @salutejs/sdds-scan@0.357.0-canary.3012.30916826044.0 yarn add @salutejs/sdds-serv@0.358.0-canary.3012.30916826044.0 yarn add @salutejs/core-themes@0.36.0-canary.3012.30916826044.0 yarn add @salutejs/plasma-themes@0.58.0-canary.3012.30916826044.0 yarn add @salutejs/sdds-themes@0.72.0-canary.3012.30916826044.0 yarn add @salutejs/sdds-api-tests@0.16.0-canary.3012.30916826044.0 yarn add @salutejs/plasma-cy-utils@0.164.0-canary.3012.30916826044.0 yarn add @salutejs/plasma-sb-utils@0.235.0-canary.3012.30916826044.0 yarn add @salutejs/plasma-tokens-utils@0.56.0-canary.3012.30916826044.0