VKUI icon indicating copy to clipboard operation
VKUI copied to clipboard

add vkui-tokens to search

Open stoope opened this issue 3 years ago • 5 comments

Чеклист перевода компонента на vkui-tokens

  • [ ] Компонент добавлен в src/tokenized/index.tssrc/index.ts он так же должен быть)
  • [x] Если в стилях встречаются токены из Appearance, то их нужно не удалять, а дополнять фоллбэком на соответствующий токен из vkui-tokens
  • [ ] Исключаем проверки типа platform === ANDROID
  • [ ] В стилях компонента не осталось платформенных селекторов
  • [ ] В tsx компонента не осталось логики, которая зависит от платформы

closes #2572

stoope avatar Jul 21 '22 14:07 stoope

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 840fd7d57e127f2a9935f6fc130da623d4508abb:

Sandbox Source
VKUI - default example Configuration

codesandbox-ci[bot] avatar Jul 21 '22 14:07 codesandbox-ci[bot]

size-limit report 📦

Path Size
JS 256.63 KB (+0.03% 🔺)
JS (gzip) 76.99 KB (+0.02% 🔺)
JS (brotli) 65.01 KB (+0.04% 🔺)
JS, unstable 30.94 KB (0%)
CSS 285.64 KB (+0.85% 🔺)
CSS (gzip) 38.58 KB (+0.62% 🔺)
CSS (brotli) 30.79 KB (+0.44% 🔺)
CSS, unstable 1.22 KB (0%)

github-actions[bot] avatar Jul 21 '22 14:07 github-actions[bot]

👀 Styleguide deployed

See the styleguide for this PR at https://vkcom.github.io/VKUI/pull/2864/

github-actions[bot] avatar Jul 21 '22 14:07 github-actions[bot]

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
search-android-light-1
search-ios-light-1
search-shows-after-when-focused-on-ios-1
search-vkcom-light-1

Code coverage

lines3874 / 497877.82%
statements3944 / 507777.68%
functions839 / 106978.48%
branches3511 / 486872.12%
branchesTrue0 / 0100.00%

Generated by :no_entry_sign: dangerJS against 085e018c57370b510cd780903189db1a046565b3

github-actions[bot] avatar Jul 21 '22 14:07 github-actions[bot]

А в скриншоте src/components/Search/image_snapshots/search-ios-light-1-snap.png там справа у первых вариантов что-то обрезается, так и должно быть?

BlackySoul avatar Aug 11 '22 09:08 BlackySoul