Skip to content

PLASMA-7120: changelog for sdds-finai#2888

Merged
oki1oki merged 2 commits into
devfrom
PLASMA-7120
Jun 19, 2026
Merged

PLASMA-7120: changelog for sdds-finai#2888
oki1oki merged 2 commits into
devfrom
PLASMA-7120

Conversation

@oki1oki

@oki1oki oki1oki commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

SDDS-FINAI

Button, Link

  • изменения согласно changelog

What/why changed

  • изменения согласно changelog
📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @salutejs/plasma-asdk@0.381.0-canary.2888.27632408056.0
npm install @salutejs/plasma-b2c@1.623.0-canary.2888.27632408056.0
npm install @salutejs/plasma-giga@0.350.0-canary.2888.27632408056.0
npm install @salutejs/plasma-homeds@0.350.0-canary.2888.27632408056.0
npm install @salutejs/plasma-hope@1.377.0-canary.2888.27632408056.0
npm install @salutejs/plasma-new-hope@0.367.0-canary.2888.27632408056.0
npm install @salutejs/plasma-web@1.625.0-canary.2888.27632408056.0
npm install @salutejs/sdds-bizcom@0.355.0-canary.2888.27632408056.0
npm install @salutejs/sdds-cs@0.359.0-canary.2888.27632408056.0
npm install @salutejs/sdds-dfa@0.353.0-canary.2888.27632408056.0
npm install @salutejs/sdds-finai@0.346.0-canary.2888.27632408056.0
npm install @salutejs/sdds-insol@0.350.0-canary.2888.27632408056.0
npm install @salutejs/sdds-netology@0.354.0-canary.2888.27632408056.0
npm install @salutejs/sdds-os@0.25.0-canary.2888.27632408056.0
npm install @salutejs/sdds-platform-ai@0.354.0-canary.2888.27632408056.0
npm install @salutejs/sdds-sbcom@0.355.0-canary.2888.27632408056.0
npm install @salutejs/sdds-scan@0.353.0-canary.2888.27632408056.0
npm install @salutejs/sdds-serv@0.354.0-canary.2888.27632408056.0
npm install @salutejs/sdds-api-tests@0.12.0-canary.2888.27632408056.0
# or 
yarn add @salutejs/plasma-asdk@0.381.0-canary.2888.27632408056.0
yarn add @salutejs/plasma-b2c@1.623.0-canary.2888.27632408056.0
yarn add @salutejs/plasma-giga@0.350.0-canary.2888.27632408056.0
yarn add @salutejs/plasma-homeds@0.350.0-canary.2888.27632408056.0
yarn add @salutejs/plasma-hope@1.377.0-canary.2888.27632408056.0
yarn add @salutejs/plasma-new-hope@0.367.0-canary.2888.27632408056.0
yarn add @salutejs/plasma-web@1.625.0-canary.2888.27632408056.0
yarn add @salutejs/sdds-bizcom@0.355.0-canary.2888.27632408056.0
yarn add @salutejs/sdds-cs@0.359.0-canary.2888.27632408056.0
yarn add @salutejs/sdds-dfa@0.353.0-canary.2888.27632408056.0
yarn add @salutejs/sdds-finai@0.346.0-canary.2888.27632408056.0
yarn add @salutejs/sdds-insol@0.350.0-canary.2888.27632408056.0
yarn add @salutejs/sdds-netology@0.354.0-canary.2888.27632408056.0
yarn add @salutejs/sdds-os@0.25.0-canary.2888.27632408056.0
yarn add @salutejs/sdds-platform-ai@0.354.0-canary.2888.27632408056.0
yarn add @salutejs/sdds-sbcom@0.355.0-canary.2888.27632408056.0
yarn add @salutejs/sdds-scan@0.353.0-canary.2888.27632408056.0
yarn add @salutejs/sdds-serv@0.354.0-canary.2888.27632408056.0
yarn add @salutejs/sdds-api-tests@0.12.0-canary.2888.27632408056.0

Summary by CodeRabbit

  • New Features

    • List component now offers simplified item divider configuration for improved content separation.
  • Improvements

    • Enhanced list item divider styling with refined spacing and positioning controls.
    • Removed deprecated button size variants from SDDS FinAI design system.
  • Documentation

    • Updated List component documentation to reflect simplified divider usage patterns.

@oki1oki oki1oki self-assigned this Jun 16, 2026
@coderabbitai

coderabbitai Bot commented Jun 16, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: b87e2f7e-05a6-4b2c-8c9e-a988f2841be1

📥 Commits

Reviewing files that changed from the base of the PR and between a53e74b and db47170.

📒 Files selected for processing (7)
  • packages/plasma-homeds/src/components/List/List.config.ts
  • packages/plasma-new-hope/src/components/List/List.tokens.ts
  • packages/plasma-new-hope/src/components/List/ui/ListItem.styles.tsx
  • packages/sdds-finai/src/components/Button/Button.config.ts
  • packages/sdds-finai/src/components/List/List.config.ts
  • packages/sdds-finai/src/components/List/List.stories.tsx
  • website/sdds-finai-docs/docs/components/List.mdx
💤 Files with no reviewable changes (1)
  • packages/sdds-finai/src/components/Button/Button.config.ts

📝 Walkthrough

Walkthrough

Replaces the listItemDividerWidth token with listItemDividerHeight, listItemDividerMarginTop, and listItemDividerMarginBottom tokens in plasma-new-hope, updates ListItem styled-component divider positioning logic accordingly, propagates new token assignments to plasma-homeds and sdds-finai List configs, migrates sdds-finai divider coverage from a standalone story to a hasDivider arg, and removes deprecated xl/l/m Button size variants in sdds-finai.

Changes

List Divider Token Refactor

Layer / File(s) Summary
Token contract and ListItem styling
packages/plasma-new-hope/src/components/List/List.tokens.ts, packages/plasma-new-hope/src/components/List/ui/ListItem.styles.tsx
Removes listItemDividerWidth from tokens and adds listItemDividerHeight, listItemDividerMarginTop, listItemDividerMarginBottom. Updates StyledListItem to compute margin-bottom from the new tokens and reposition the ::after pseudo-element using height and margin values.
Package config token assignments
packages/plasma-homeds/src/components/List/List.config.ts, packages/sdds-finai/src/components/List/List.config.ts
plasma-homeds removes listItemDividerWidth from view.default and adds listItemDividerHeight to size.s/size.m. sdds-finai adds listItemDividerColor to view.default and sets listItemDividerHeight plus top/bottom margins for all four size variants (xs, s, m, l).
Storybook and docs migration to hasDivider prop
packages/sdds-finai/src/components/List/List.stories.tsx, website/sdds-finai-docs/docs/components/List.mdx
Removes the Divider import and WithDivider exported story; adds a hasDivider boolean argType control and sets hasDivider: false in Default args. Updates the List.mdx base-usage example to use hasDivider on List instead of manually placed Divider components.

sdds-finai Button Size Cleanup

Layer / File(s) Summary
Remove deprecated Button size variants
packages/sdds-finai/src/components/Button/Button.config.ts
Drops the xl, l, and m entries from config.variations.size, leaving s, xs, and xxs as the remaining size options (72 lines removed).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested reviewers

  • TitanKuzmich
  • Yakutoc

Poem

🐇 The divider once was wide, now it stands tall,
With height and margins measured for each call.
Old sizes for buttons? Gone with a hop!
hasDivider replaces stories that stop.
The rabbit refactors, tokens align—
Everything measured, everything fine! ✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The PR title mentions only changelog entries for sdds-finai, but the changeset includes substantial component changes across multiple files including List and Button configuration/styling updates in multiple packages (plasma-homeds, plasma-new-hope, sdds-finai) plus documentation changes. Update the title to reflect the primary changes, such as 'PLASMA-7120: Update List divider styling and Button size configuration' or include the scope of component changes rather than just changelog documentation.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch PLASMA-7120

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

website/sdds-finai-docs/docs/components/List.mdx

Parsing error: Expression expected.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

Copy link
Copy Markdown
Contributor

Theme Builder app deployed!

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

@github-actions

Copy link
Copy Markdown
Contributor

Documentation preview deployed!

website: https://plasma.sberdevices.ru/pr/pr-2888/
asdk storybook: https://plasma.sberdevices.ru/pr/pr-2888/asdk-storybook/
b2c storybook: https://plasma.sberdevices.ru/pr/pr-2888/b2c-storybook/
giga storybook: https://plasma.sberdevices.ru/pr/pr-2888/giga-storybook/
homeds storybook: https://plasma.sberdevices.ru/pr/pr-2888/homeds-storybook/
new-hope storybook: https://plasma.sberdevices.ru/pr/pr-2888/new-hope-storybook/
web storybook: https://plasma.sberdevices.ru/pr/pr-2888/web-storybook/
sdds-bizcom storybook: https://plasma.sberdevices.ru/pr/pr-2888/sdds-bizcom-storybook/
sdds-cs storybook: https://plasma.sberdevices.ru/pr/pr-2888/sdds-cs-storybook/
sdds-dfa storybook: https://plasma.sberdevices.ru/pr/pr-2888/sdds-dfa-storybook/
sdds-finai storybook: https://plasma.sberdevices.ru/pr/pr-2888/sdds-finai-storybook/
sdds-insol storybook: https://plasma.sberdevices.ru/pr/pr-2888/sdds-insol-storybook/
sdds-netology storybook: https://plasma.sberdevices.ru/pr/pr-2888/sdds-netology-storybook/
sdds-os storybook: https://plasma.sberdevices.ru/pr/pr-2888/sdds-os-storybook/
sdds-platform-ai storybook: https://plasma.sberdevices.ru/pr/pr-2888/sdds-platform-ai-storybook/
sdds-sbcom storybook: https://plasma.sberdevices.ru/pr/pr-2888/sdds-sbcom-storybook/
sdds-scan storybook: https://plasma.sberdevices.ru/pr/pr-2888/sdds-scan-storybook/
sdds-serv storybook: https://plasma.sberdevices.ru/pr/pr-2888/sdds-serv-storybook/
ui storybook: https://plasma.sberdevices.ru/pr/pr-2888/ui-storybook/

@oki1oki oki1oki marked this pull request as ready for review June 17, 2026 06:14
@oki1oki oki1oki requested review from IgorYar and removed request for Yakutoc, Yeti-or, neretin-trike and shuga2704 June 17, 2026 06:15
@github-actions github-actions Bot removed the request for review from TitanKuzmich June 17, 2026 06:15
@oki1oki oki1oki requested a review from TitanKuzmich June 17, 2026 06:18
/**
* @deprecated
*/
xl: css`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Точно это убираем?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

По changelog - да

${listTokens.listItemFocusColor}: var(--surface-accent);
${listTokens.listBackground}: var(--surface-transparent-primary);
${listTokens.listItemDividerColor}: var(--surface-transparent-primary);
${listTokens.listItemDividerWidth}: 0.0625rem;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Только в этом конфиге во view лежал такой токен?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Да, у других вертикалей в макетах нет divider

@Yakutoc

Yakutoc commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

ок получен от продукта

@oki1oki oki1oki added this pull request to the merge queue Jun 19, 2026
Merged via the queue into dev with commit 6c5f0fa Jun 19, 2026
82 of 87 checks passed
@oki1oki oki1oki deleted the PLASMA-7120 branch June 19, 2026 13:08
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.

4 participants