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

feat(ActionSheet): add mode #5829

Merged
merged 1 commit into from
Sep 19, 2023
Merged

feat(ActionSheet): add mode #5829

merged 1 commit into from
Sep 19, 2023

Conversation

SevereCloud
Copy link
Contributor


  • Unit-тесты
  • [ ] e2e-тесты
  • [ ] Дизайн-ревью

Описание

Добавляем свойство mode для форсированного включения меню или щита

Изменения

Внутри заменил isDesktop на mode. Добавил форсирование свойства mode

@SevereCloud SevereCloud requested a review from a team as a code owner September 19, 2023 08:10
@SevereCloud SevereCloud added the v5 Автоматизация: PR продублируется в ветку v5 label Sep 19, 2023
@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
JS 316.36 KB (+0.04% 🔺)
JS (gzip) 96.55 KB (+0.06% 🔺)
JS (brotli) 79.92 KB (+0.02% 🔺)
JS import Div (tree shaking) 2.95 KB (0%)
CSS 275.76 KB (-0.01% 🔽)
CSS (gzip) 36 KB (0%)
CSS (brotli) 28.52 KB (+0.03% 🔺)

@codesandbox-ci
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.

Latest deployment of this branch, based on commit 3d136ce:

Sandbox Source
VKUI TypeScript Configuration

@github-actions
Copy link
Contributor

e2e tests

Playwright Report

@github-actions
Copy link
Contributor

👀 Docs deployed

Commit 3d136ce

@codecov
Copy link

codecov bot commented Sep 19, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (95e80a2) 80.85% compared to head (3d136ce) 80.85%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5829   +/-   ##
=======================================
  Coverage   80.85%   80.85%           
=======================================
  Files         299      299           
  Lines        9156     9157    +1     
  Branches     3118     3119    +1     
=======================================
+ Hits         7403     7404    +1     
  Misses       1753     1753           
Flag Coverage Δ
unittests 80.85% <100.00%> (+<0.01%) ⬆️

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

Files Changed Coverage Δ
...i/src/components/ActionSheet/ActionSheetContext.ts 100.00% <ø> (ø)
...es/vkui/src/components/ActionSheet/ActionSheet.tsx 98.55% <100.00%> (+0.02%) ⬆️
...components/ActionSheet/ActionSheetDropdownMenu.tsx 86.95% <100.00%> (ø)
...omponents/ActionSheet/ActionSheetDropdownSheet.tsx 100.00% <100.00%> (ø)
...src/components/ActionSheetItem/ActionSheetItem.tsx 100.00% <100.00%> (ø)

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

Copy link
Contributor

@mendrew mendrew left a comment

Choose a reason for hiding this comment

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

🔥

Copy link
Contributor

@inomdzhon inomdzhon left a comment

Choose a reason for hiding this comment

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

❤️

@SevereCloud SevereCloud merged commit f062e60 into master Sep 19, 2023
25 checks passed
@SevereCloud SevereCloud deleted the SevereCloud/issue906 branch September 19, 2023 09:16
vkcom-publisher pushed a commit that referenced this pull request Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v5 Автоматизация: PR продублируется в ветку v5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] ActionSheet: контекстный режим
3 participants