Skip to content

Refactor tooltip style contract#707

Merged
TorinAsakura merged 8 commits into
masterfrom
refactor/tooltip-container-style-contract
Jun 17, 2026
Merged

Refactor tooltip style contract#707
TorinAsakura merged 8 commits into
masterfrom
refactor/tooltip-container-style-contract

Conversation

@comfrt1k

Copy link
Copy Markdown
Contributor

Таска

Как проверять

  1. Контекст: Storybook
    Действие: открыть Tooltip в текущей версии и версии master, сравнить поведение и внешний вид дефолтного варианта
    Ожидаемый результат: Tooltip выглядит и ведёт себя так же, как в master; открытие, закрытие, arrow, animated и floating-позиционирование работают без регрессий

  2. Контекст: использование @atls-ui-parts/tooltip как библиотечного компонента без кастомного container
    Действие: передать пользовательские стили в Tooltip через публичный API компонента для дефолтного container
    Ожидаемый результат: Tooltip принимает пользовательские стили без замены container; внутренние классы дефолтного container не перетираются; arrow, animated, open и позиционирование сохраняются; дефолтный Tooltip выглядит и ведёт себя так же, как в master

Пруфы

Details
2026-06-10.03.19.02.mov

@TorinAsakura

Copy link
Copy Markdown
Member

@codex

Comment thread ui-parts/tooltip/src/constants.ts
Comment thread ui-parts/tooltip/stories/story-tooltip.tsx Outdated
Comment thread ui-parts/tooltip/stories/tooltip.stories.tsx

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5a67941938

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread ui-parts/tooltip/src/styles/appearance.css.ts
Comment thread ui-parts/tooltip/src/styles/appearance.css.ts
Comment thread ui-parts/tooltip/src/component.tsx Outdated
Comment thread ui-parts/tooltip/stories/tooltip.stories.tsx
@comfrt1k comfrt1k requested a review from TorinAsakura June 16, 2026 14:16
@TorinAsakura TorinAsakura merged commit 8dce40c into master Jun 17, 2026
6 checks passed
@TorinAsakura TorinAsakura deleted the refactor/tooltip-container-style-contract branch June 17, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Прокидывание пользовательских стилей в Tooltip без кастомного container

2 participants