Commit
1 year ago
S2 tabs (#6779) * Add Spectrum 2 docs to storybook * initialize tabs * fix lint * support vertical orientation, add TabLine * fix lint * add comment * lint * add height style prop, add hcm * add different icons to stories, explicit flex shrink * fix ts error * remove raw animation * fix ts error * small fixes * remove height from tablist * add style props * fix style props on tab panel * update icon styling, fix vertical selection indicator * small fixes * update some css * fix stories * update gap to use token * remove unused prop * fix width so white space is clickable * revert rsp tab story * Tabs layout (#6867) * Tabs layout A few things I found while reviewing the styles * tab should never shrink or grow, but be the size it contains * update tab panel props * update effect dependencies * export types and props, small fixes * add context * remove mergeStyles --------- Co-authored-by: Yihui Liao <44729383+yihuiliao@users.noreply.github.com> Co-authored-by: Robert Snow <rsnow@adobe.com>
Author
Parents
Loading