VKUI
VKUI copied to clipboard
feat(SubnavigationButton): tokenized
Чеклист перевода компонента на vkui-tokens
- [x] Компонент добавлен в
src/tokenized/index.ts
(вsrc/index.ts
он так же должен быть)
- [x] Если в стилях встречаются токены из Appearance, то их нужно не удалять, а дополнять фоллбэком на соответствующий токен из vkui-tokens (пример такого PR #2647)
- [x] Исключаем проверки типа
platform === ANDROID
(пример такого PR #2653) - [x] В стилях компонента не осталось платформенных селекторов
- [x] В tsx компонента не осталось логики, которая зависит от платформы
- closed #2581
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 c051fc7ce45c7c0a9263b40023b4406d30fc3e5a:
Sandbox | Source |
---|---|
VKUI - default example | Configuration |
size-limit report 📦
Path | Size |
---|---|
JS | 255.65 KB (-0.07% 🔽) |
JS (gzip) | 75.87 KB (-0.03% 🔽) |
JS (brotli) | 64.04 KB (-0.03% 🔽) |
JS, unstable | 29.56 KB (0%) |
CSS | 272.9 KB (+0.45% 🔺) |
CSS (gzip) | 38.23 KB (+0.2% 🔺) |
CSS (brotli) | 30.87 KB (+0.06% 🔺) |
CSS, unstable | 942 B (0%) |
👀 Styleguide deployed
See the styleguide for this PR at https://vkcom.github.io/VKUI/pull/2705/
Code coverage
lines | 3791 / 4822 | 78.61% |
statements | 3862 / 4918 | 78.52% |
functions | 838 / 1045 | 80.19% |
branches | 3237 / 4543 | 71.25% |
branchesTrue | 0 / 0 | 100.00% |
Generated by :no_entry_sign: dangerJS against c051fc7ce45c7c0a9263b40023b4406d30fc3e5a
Закрываю в пользу #3023