Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Alert): add FocusTrap props to Alert props #8136

Merged

Conversation

EldarMuhamethanov
Copy link
Contributor

@EldarMuhamethanov EldarMuhamethanov commented Jan 9, 2025


  • Release notes

Описание

Нужно добавить свойства FocusTrap в свойства компонента Alert, чтобы ts не ругался при прокидывании

Release notes

Исправления

  • Alert: добавлены свойства FocusTrap в свойства Alert, так как они итак прокидывались в FocusTrap, но ругался TS

@EldarMuhamethanov EldarMuhamethanov requested a review from a team as a code owner January 9, 2025 12:37
@github-actions github-actions bot added the patch Автоматизация: PR продублируется в ветку последнего минорного релиза для выпуска патча label Jan 9, 2025
Copy link

codesandbox-ci bot commented Jan 9, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link
Contributor

github-actions bot commented Jan 9, 2025

size-limit report 📦

Path Size
JS 389.94 KB (0%)
JS (gzip) 118.4 KB (0%)
JS (brotli) 97.42 KB (0%)
JS import Div (tree shaking) 1.56 KB (0%)
CSS 343.32 KB (0%)
CSS (gzip) 42.53 KB (0%)
CSS (brotli) 33.88 KB (0%)

Copy link
Contributor

github-actions bot commented Jan 9, 2025

e2e tests

⚠️ Some screenshots were failed. See Playwright Report.

Playwright Report

Copy link
Contributor

github-actions bot commented Jan 9, 2025

👀 Docs deployed

Commit e3d962c

Copy link

codecov bot commented Jan 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.53%. Comparing base (e6af1e7) to head (e3d962c).
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8136   +/-   ##
=======================================
  Coverage   95.53%   95.53%           
=======================================
  Files         398      398           
  Lines       11379    11379           
  Branches     3757     3757           
=======================================
  Hits        10871    10871           
  Misses        508      508           
Flag Coverage Δ
unittests 95.53% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@EldarMuhamethanov EldarMuhamethanov merged commit 58f1020 into master Jan 10, 2025
29 checks passed
@EldarMuhamethanov EldarMuhamethanov deleted the e.muhamethanov/8134/add-focus-trap-props-alert branch January 10, 2025 07:34
vkcom-publisher pushed a commit that referenced this pull request Jan 10, 2025
* fix(Alert): add FocusTrap props to Alert props

* fix: pick only restoreFocus from UseFocusTrapProps

Co-authored-by: Inomdzhon Mirdzhamolov <[email protected]>

---------

Co-authored-by: Inomdzhon Mirdzhamolov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Автоматизация: PR продублируется в ветку последнего минорного релиза для выпуска патча
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug][Alert]: в типах отсутствует параметр restoreFocus
3 participants