mirror of
https://github.com/status-im/status-mobile.git
synced 2025-03-03 17:50:34 +00:00
Fixes https://github.com/status-im/status-mobile/issues/14852 Fixes https://github.com/status-im/status-mobile/issues/14882 Summary ======= - [x] Fixes https://github.com/status-im/status-mobile/issues/14852 - [x] Fixes https://github.com/status-im/status-mobile/issues/14882 - [x] Refactors `tab` component to follow new guidelines. - [x] Improves preview area for tabs to optionally show notification dots. - [x] Refactors `tabs` component: break the component into smaller chunks; remove duplication between scrollable & non-scrollable tabs; update outdated docstring; - [x] Adds accessibility labels to tabs. Cutout with light theme on the background: https://user-images.githubusercontent.com/46027/214553974-2b2e8c6e-71b8-46f3-ba75-a66cb4755490.png Cutout with dark theme on the background: https://user-images.githubusercontent.com/46027/214554602-d637d4d6-3b20-4aa8-a2ef-64836f4454bb.png Cutout in non-scrollable tabs: https://user-images.githubusercontent.com/46027/214555646-bbb85546-20d9-48bb-8273-716564fb5e0f.png Notification dots in preview area: https://user-images.githubusercontent.com/46027/214556532-10a044ae-9df5-4c86-be5f-447955276bfd.png