VKUI
VKUI copied to clipboard
Токенизирование `ModalPageHeader` и `ModalPage`
Чеклист перевода компонента на vkui-tokens
- [x] Компонент добавлен в
src/tokenized/index.ts(вsrc/index.tsон так же должен быть) - [x] Если в стилях встречаются токены из Appearance, то их нужно не удалять, а дополнять фоллбэком на соответствующий токен из vkui-tokens (пример такого PR #2647)
Чеклист по процессам
- [ ] Дизайн ревью
- [ ] Обновление скриншотов
- close #2556
- close #2557
- close #2966
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 37aabd1ba99fb6b20d9c51352744c4a997e7b129:
| Sandbox | Source |
|---|---|
| VKUI - default example | Configuration |
size-limit report 📦
| Path | Size |
|---|---|
| JS | 256.58 KB (+0.05% 🔺) |
| JS (gzip) | 76.98 KB (+0.04% 🔺) |
| JS (brotli) | 64.99 KB (-0.04% 🔽) |
| JS, unstable | 30.94 KB (0%) |
| CSS | 283.25 KB (+0.27% 🔺) |
| CSS (gzip) | 38.34 KB (+0.17% 🔺) |
| CSS (brotli) | 30.66 KB (+0.18% 🔺) |
| CSS, unstable | 1.22 KB (0%) |
👀 Styleguide deployed
See the styleguide for this PR at https://vkcom.github.io/VKUI/pull/2944/
Changed screenshots
modalpageheader-android-light-w_2-1

modalpageheader-android-light-w_5-1

modalpageheader-ios-light-w_2-1

modalpageheader-ios-light-w_5-1

Code coverage
| lines | 3873 / 4977 | 77.81% |
| statements | 3943 / 5076 | 77.67% |
| functions | 839 / 1069 | 78.48% |
| branches | 3501 / 4858 | 72.06% |
| branchesTrue | 0 / 0 | 100.00% |
Generated by :no_entry_sign: dangerJS against 37aabd1ba99fb6b20d9c51352744c4a997e7b129