Skip to content

feat(Checkbox): add prop noPadding#8816

Merged
EldarMuhamethanov merged 3 commits intomasterfrom
e.muhamethanov/6042/checkbox-no-padding
Aug 8, 2025
Merged

feat(Checkbox): add prop noPadding#8816
EldarMuhamethanov merged 3 commits intomasterfrom
e.muhamethanov/6042/checkbox-no-padding

Conversation

@EldarMuhamethanov
Copy link
Copy Markdown
Contributor


  • Unit-тесты
  • e2e-тесты
  • Release notes

Описание

Нужно добавить для компонента Checkbox свойство noPadding, которое позволяет отключить отступы по краям от чекбокса, когда внутрь не передан текст

Изменения

  • Добавлено свойство noPadding, которое позволяет отключить отступы по краям от чекбокса, когда внутрь не передан текст
  • Также при noPadding автоматически меняется hoverMode и activeMode на opacity, если не передано конкретное значение

Release notes

Улучшения

  • Checkbox: Добавлено свойство noPadding, которое позволяет отключить отступы по краям от чекбокса, когда внутрь не передан текст

@EldarMuhamethanov EldarMuhamethanov requested a review from a team as a code owner July 31, 2025 13:24
@github-actions
Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
JS 416.25 KB (+0.03% 🔺)
JS (gzip) 123.93 KB (+0.05% 🔺)
JS (brotli) 101.7 KB (+0.13% 🔺)
JS import Div (tree shaking) 1.56 KB (0%)
CSS 350.26 KB (+0.07% 🔺)
CSS (gzip) 43.47 KB (+0.12% 🔺)
CSS (brotli) 34.64 KB (+0.02% 🔺)

@github-actions
Copy link
Copy Markdown
Contributor

e2e tests

Playwright Report

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jul 31, 2025

👀 Docs deployed

📦 Package ✅

yarn add @vkontakte/vkui@https://vkui-screenshot.hb.bizmrg.com/pull/8816/b7f360d0c3aa092eda26cc696595bd0ee7b9e02b/pkg/@vkontakte/vkui/_pkg.tgz

Commit b7f360d

@codecov
Copy link
Copy Markdown

codecov bot commented Jul 31, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.96%. Comparing base (d2862f3) to head (b7f360d).
⚠️ Report is 16 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8816   +/-   ##
=======================================
  Coverage   95.96%   95.96%           
=======================================
  Files         419      420    +1     
  Lines       12184    12198   +14     
  Branches     4055     4063    +8     
=======================================
+ Hits        11692    11706   +14     
  Misses        492      492           
Flag Coverage Δ
unittests 95.96% <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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@EldarMuhamethanov EldarMuhamethanov merged commit 3c14af1 into master Aug 8, 2025
29 of 35 checks passed
@EldarMuhamethanov EldarMuhamethanov deleted the e.muhamethanov/6042/checkbox-no-padding branch August 8, 2025 11:09
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][Checkbox]: noPadding режим

3 participants