VKUI
VKUI copied to clipboard
feat(ModalDismissButton): Tokenize
Чеклист перевода компонента на vkui-tokens
- [x] Компонент добавлен в
src/tokenized/index.ts
(вsrc/index.ts
он так же должен быть) - [x] Если в стилях встречаются токены из Appearance, то их нужно не удалять, а дополнять фоллбэком на соответствующий токен из vkui-tokens (пример такого PR #2647)
- [x] Исключаем проверки типа
platform === ANDROID
(пример такого PR #2653) - [x] В стилях компонента не осталось платформенных селекторов
- [x] В tsx компонента не осталось логики, которая зависит от платформы
- [x] Дизайн-ревью
- resolve #2555
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 a9d88581a89bc2ab2e56d1dd0a9adebdd2bd2a21:
Sandbox | Source |
---|---|
VKUI - default example | Configuration |
size-limit report 📦
Path | Size |
---|---|
JS | 256.19 KB (+0.02% 🔺) |
JS (gzip) | 76.92 KB (+0.03% 🔺) |
JS (brotli) | 64.91 KB (+0.07% 🔺) |
JS, unstable | 30.83 KB (0%) |
CSS | 283.27 KB (+0.12% 🔺) |
CSS (gzip) | 38.45 KB (+0.09% 🔺) |
CSS (brotli) | 30.71 KB (-0.03% 🔽) |
CSS, unstable | 1.21 KB (0%) |
👀 Styleguide deployed
See the styleguide for this PR at https://vkcom.github.io/VKUI/pull/2895/
Warnings | |
---|---|
:warning: |
5 changed screenshots found — review & update them via "Update Screenshots" action before merging. |
Changed screenshots
alert-android-light-1

alert-vkcom-light-1

modalcard-tablet-android-light-w_3-1

modalcard-tablet-ios-light-w_3-1

modalcard-vkcom-light-1

Code coverage
lines | 3887 / 4972 | 78.17% |
statements | 3957 / 5070 | 78.04% |
functions | 843 / 1066 | 79.08% |
branches | 3445 / 4807 | 71.66% |
branchesTrue | 0 / 0 | 100.00% |
Generated by :no_entry_sign: dangerJS against f804d92acdf7c8e10b2838ed2c94e7ad0b2351b7