Skip to content

Commit

Permalink
feat(Tabs): replace mobile dropdown tabs with overflow nav buttons (#…
Browse files Browse the repository at this point in the history
…6410)

* fix(tabs): remove md breakpoint queries

* refactor(tabs): replace positioning rules

* refactor(tabs): remove duplicate rules

* fix(tabs): set disabled tab background color

* refactor(tabs): remove CSS :not selectors

* refactor(tabs): reduce selector specificity

* refactor(tabs): consolidate tab link styles

* refactor(tabs): change cursor value

* refactor(tabs): add container tab line height token

* fix(Tabs): remove listbox code

* feat(Tabs): add overflow nav buttons

* feat(Tabs): render overflow nav buttons based on scroll/resize

* feat(Tabs): implement tab switching on overflow nav button click

* feat(tabs): add overflow nav button focus styles

* feat(tabs): add container overflow nav button styles

* fix(tabs): use color token for chevrons

* feat(Tabs): add fade effect to indicate overflow

* feat(Tabs): add support for light prop

* chore: update snapshots

* chore: prettier

* feat(Tabs): add support for light container tabs

* docs(theme-tokens): move token comment and set default value

* test(Tabs): remove outdated tests

* fix(Tabs): add NPE check on tabs ref

* refactor(tabs): remove theme token

* fix(tabs): use different token for disabled light tabs

* chore: resolve merge conflict

* fix(tabs): hide scrollbars and defer to nav buttons

* fix(tabs): reduce overflow fade effect

* fix(Tabs): scroll tab into view when navigating with keyboard

* fix(Tabs): scroll selected tab into view on navigation

* feat(Tabs): scroll tabs into view on focus

* refactor(Tabs): declare methods before calling

* feat(Tabs): scroll tablist on overflow nav click

* feat(Tabs): add overflow nav button click handler

* test(Tabs): mock Element.prototype.scrollIntoView

* feat(Tabs): focus selected tab when overflow nav button unrendered

* fix(Tabs): remove unused props and improve story performance

* fix(Tabs): increase scroll speed

* fix(TabContent): add aria-live attribute

* chore: rebase

* chore: format

* feat(Tabs): place focus on opposite nav button when edge reached

* chore: resolve ESLint errors

* docs(Tabs): update story format

* fix(tabs): update skeleton state

Co-authored-by: Alison Joseph <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: TJ Egan <[email protected]>
  • Loading branch information
4 people authored Aug 27, 2020
1 parent 74740a7 commit cdc96da
Show file tree
Hide file tree
Showing 7 changed files with 507 additions and 526 deletions.
Loading

0 comments on commit cdc96da

Please sign in to comment.