Skip to content

PLASMA-7780: align Beta Tooltip with legacy Tooltip for sdds-cs - #2990

Open
oki1oki wants to merge 1 commit into
devfrom
PLASMA-7780
Open

PLASMA-7780: align Beta Tooltip with legacy Tooltip for sdds-cs#2990
oki1oki wants to merge 1 commit into
devfrom
PLASMA-7780

Conversation

@oki1oki

@oki1oki oki1oki commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

SDDS-CS

Tooltip

  • конфигурация нового (Beta) компонента приведена в соответствие со старой реализацией

What/why changed

  • конфигурация нового (Beta) компонента приведена в соответствие со старой реализацией
📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @salutejs/plasma-asdk@0.384.1-canary.2990.30262587734.0
npm install @salutejs/plasma-b2c@1.626.1-canary.2990.30262587734.0
npm install @salutejs/plasma-core@1.233.1-canary.2990.30262587734.0
npm install @salutejs/plasma-giga@0.353.1-canary.2990.30262587734.0
npm install @salutejs/plasma-homeds@0.353.1-canary.2990.30262587734.0
npm install @salutejs/plasma-hope@1.380.1-canary.2990.30262587734.0
npm install @salutejs/plasma-icons@1.243.1-canary.2990.30262587734.0
npm install @salutejs/plasma-new-hope@0.370.1-canary.2990.30262587734.0
npm install @salutejs/plasma-tokens@1.145.1-canary.2990.30262587734.0
npm install @salutejs/plasma-tokens-b2b@1.59.1-canary.2990.30262587734.0
npm install @salutejs/plasma-tokens-b2c@0.70.1-canary.2990.30262587734.0
npm install @salutejs/plasma-tokens-web@1.74.1-canary.2990.30262587734.0
npm install @salutejs/plasma-typo@0.47.1-canary.2990.30262587734.0
npm install @salutejs/plasma-web@1.628.1-canary.2990.30262587734.0
npm install @salutejs/sdds-bizcom@0.358.1-canary.2990.30262587734.0
npm install @salutejs/sdds-cs@0.362.1-canary.2990.30262587734.0
npm install @salutejs/sdds-dfa@0.356.1-canary.2990.30262587734.0
npm install @salutejs/sdds-finai@0.349.1-canary.2990.30262587734.0
npm install @salutejs/sdds-insol@0.353.1-canary.2990.30262587734.0
npm install @salutejs/sdds-netology@0.357.1-canary.2990.30262587734.0
npm install @salutejs/sdds-os@0.28.1-canary.2990.30262587734.0
npm install @salutejs/sdds-platform-ai@0.357.1-canary.2990.30262587734.0
npm install @salutejs/sdds-sbcom@0.358.1-canary.2990.30262587734.0
npm install @salutejs/sdds-scan@0.356.1-canary.2990.30262587734.0
npm install @salutejs/sdds-serv@0.357.1-canary.2990.30262587734.0
npm install @salutejs/core-themes@0.35.1-canary.2990.30262587734.0
npm install @salutejs/plasma-themes@0.57.1-canary.2990.30262587734.0
npm install @salutejs/sdds-themes@0.71.1-canary.2990.30262587734.0
npm install @salutejs/sdds-api-tests@0.15.1-canary.2990.30262587734.0
npm install @salutejs/plasma-cy-utils@0.163.1-canary.2990.30262587734.0
npm install @salutejs/plasma-sb-utils@0.234.1-canary.2990.30262587734.0
npm install @salutejs/plasma-tokens-utils@0.55.1-canary.2990.30262587734.0
# or 
yarn add @salutejs/plasma-asdk@0.384.1-canary.2990.30262587734.0
yarn add @salutejs/plasma-b2c@1.626.1-canary.2990.30262587734.0
yarn add @salutejs/plasma-core@1.233.1-canary.2990.30262587734.0
yarn add @salutejs/plasma-giga@0.353.1-canary.2990.30262587734.0
yarn add @salutejs/plasma-homeds@0.353.1-canary.2990.30262587734.0
yarn add @salutejs/plasma-hope@1.380.1-canary.2990.30262587734.0
yarn add @salutejs/plasma-icons@1.243.1-canary.2990.30262587734.0
yarn add @salutejs/plasma-new-hope@0.370.1-canary.2990.30262587734.0
yarn add @salutejs/plasma-tokens@1.145.1-canary.2990.30262587734.0
yarn add @salutejs/plasma-tokens-b2b@1.59.1-canary.2990.30262587734.0
yarn add @salutejs/plasma-tokens-b2c@0.70.1-canary.2990.30262587734.0
yarn add @salutejs/plasma-tokens-web@1.74.1-canary.2990.30262587734.0
yarn add @salutejs/plasma-typo@0.47.1-canary.2990.30262587734.0
yarn add @salutejs/plasma-web@1.628.1-canary.2990.30262587734.0
yarn add @salutejs/sdds-bizcom@0.358.1-canary.2990.30262587734.0
yarn add @salutejs/sdds-cs@0.362.1-canary.2990.30262587734.0
yarn add @salutejs/sdds-dfa@0.356.1-canary.2990.30262587734.0
yarn add @salutejs/sdds-finai@0.349.1-canary.2990.30262587734.0
yarn add @salutejs/sdds-insol@0.353.1-canary.2990.30262587734.0
yarn add @salutejs/sdds-netology@0.357.1-canary.2990.30262587734.0
yarn add @salutejs/sdds-os@0.28.1-canary.2990.30262587734.0
yarn add @salutejs/sdds-platform-ai@0.357.1-canary.2990.30262587734.0
yarn add @salutejs/sdds-sbcom@0.358.1-canary.2990.30262587734.0
yarn add @salutejs/sdds-scan@0.356.1-canary.2990.30262587734.0
yarn add @salutejs/sdds-serv@0.357.1-canary.2990.30262587734.0
yarn add @salutejs/core-themes@0.35.1-canary.2990.30262587734.0
yarn add @salutejs/plasma-themes@0.57.1-canary.2990.30262587734.0
yarn add @salutejs/sdds-themes@0.71.1-canary.2990.30262587734.0
yarn add @salutejs/sdds-api-tests@0.15.1-canary.2990.30262587734.0
yarn add @salutejs/plasma-cy-utils@0.163.1-canary.2990.30262587734.0
yarn add @salutejs/plasma-sb-utils@0.234.1-canary.2990.30262587734.0
yarn add @salutejs/plasma-tokens-utils@0.55.1-canary.2990.30262587734.0

Summary by CodeRabbit

  • New Features

    • Added a secondary Tooltip appearance option.
    • Updated Tooltip styling with refreshed colors, shadows, typography, spacing, and corner radius.
    • Set the default Tooltip size to small.
  • Bug Fixes

    • Updated Storybook controls to automatically reflect available Tooltip appearance options.

@github-actions

Copy link
Copy Markdown
Contributor

Theme Builder app deployed!

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

@coderabbitai

coderabbitai Bot commented Jul 27, 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: 32bd21da-4cb6-4a37-977e-71eccb03dd78

📥 Commits

Reviewing files that changed from the base of the PR and between 1c96a4f and 3e7123c.

📒 Files selected for processing (2)
  • packages/sdds-cs/src/components/_beta/Tooltip/Tooltip.config.ts
  • packages/sdds-cs/src/components/_beta/Tooltip/Tooltip.stories.tsx

📝 Walkthrough

Walkthrough

The beta Tooltip configuration now defaults to small sizing, adds a secondary view, updates theme tokens, and removes the medium size. Storybook view controls derive options from the configuration.

Changes

Tooltip configuration

Layer / File(s) Summary
Update Tooltip variants
packages/sdds-cs/src/components/_beta/Tooltip/Tooltip.config.ts
Tooltip defaults and styling tokens are updated, a secondary view is added, and only the s size remains with bodyS styling values.
Align Storybook controls
packages/sdds-cs/src/components/_beta/Tooltip/Tooltip.stories.tsx
Storybook derives view options from Tooltip.config and removes the explicit size: 'm' story default.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested labels: sdds-beta

Suggested reviewers: yakutoc, neretin-trike, titankuzmich, yeti-or, shuga2704

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: aligning the Beta Tooltip in sdds-cs with the legacy Tooltip.
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.
✨ 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-7780

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.

ESLint install timed out. The project may have too many dependencies for the sandbox.


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.

@github-actions

Copy link
Copy Markdown
Contributor

Documentation preview deployed!

website: https://plasma.sberdevices.ru/pr/pr-2990/
sdds-cs storybook: https://plasma.sberdevices.ru/pr/pr-2990/sdds-cs-storybook/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant