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

patch: pr8200 #8206

Merged
merged 1 commit into from
Jan 29, 2025
Merged

patch: pr8200 #8206

merged 1 commit into from
Jan 29, 2025

Conversation

inomdzhon
Copy link
Contributor

@inomdzhon inomdzhon commented Jan 28, 2025

Скриншоты

Фикс тут #8205

Возвращаем адаптивность через AdaptivityProvider для:

- `ModalOutlet`
  - определяем классы `hostDesktop` и `hostMobile`;
  - передаём `isDesktop` из `ModalPage` и `ModalCard`.
- `ModalPage`
  - определяем классы `hostDesktop` и `hostMobile`;
  – также возвращаем ограничение по высоте, которое потерялось.
- `ModalPageHeader`
  - определяем класс `hostDesktop`.
- `ModalPageFooter`
  - определяем классы `hostDesktop` и `hostMobile`.
- `ModalCard`
  - определяем классы `hostDesktop` и `hostMobile`;
  – по аналогии с `ModalPage` для **desktop** значение св-ва `box-sizing` заменено с `border-box` на `content-box`, чтобы не высчитывать `padding` из `max-width`.

Для `ModalOverlay` не стал применять `useAdaptivityWithJSMediaQueries`, дабы не усложнять его. Привязку времени анимации к `@media` считаем допустимым.
@inomdzhon inomdzhon requested a review from a team as a code owner January 28, 2025 14:06
Copy link

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

size-limit report 📦

Path Size
JS 389.95 KB (+0.11% 🔺)
JS (gzip) 118.29 KB (+0.09% 🔺)
JS (brotli) 97.45 KB (+0.1% 🔺)
JS import Div (tree shaking) 1.56 KB (0%)
CSS 342.26 KB (+0.2% 🔺)
CSS (gzip) 42.35 KB (+0.19% 🔺)
CSS (brotli) 33.75 KB (+0.25% 🔺)

Copy link
Contributor

e2e tests

⚠️ Some screenshots were failed. See Playwright Report.

Playwright Report

Copy link

codecov bot commented Jan 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.53%. Comparing base (8b26fe2) to head (8c6f945).
Report is 3 commits behind head on 7.1-stable.

Additional details and impacted files
@@             Coverage Diff             @@
##           7.1-stable    #8206   +/-   ##
===========================================
  Coverage       95.53%   95.53%           
===========================================
  Files             398      398           
  Lines           11346    11354    +8     
  Branches         3745     3753    +8     
===========================================
+ Hits            10839    10847    +8     
  Misses            507      507           
Flag Coverage Δ
unittests 95.53% <100.00%> (+<0.01%) ⬆️

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.

Copy link
Contributor

👀 Docs deployed

Commit 8c6f945

@inomdzhon inomdzhon merged commit 36b3437 into 7.1-stable Jan 29, 2025
21 of 29 checks passed
@inomdzhon inomdzhon deleted the patch/pr8200 branch January 29, 2025 08:26
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.

None yet

3 participants