-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEVPROD-13581 bump @leafygreen-ui/tabs from 11.2.0 to 13.1.1 and refactor tab logic #521
Changes from 48 commits
e7dcfde
280f945
c2fbd85
7fe5575
ab93392
741833e
3dcdd14
f1155f0
c13ed40
b00ba6e
3c564e5
ab5a7d6
7e28fa6
e73ff8d
9227cbe
cf751dc
2619c2e
445d7f7
64d7d17
0d7fcb0
dd8a85c
073c6db
e12b0e2
296d1fb
1720dfe
22ca523
339a9c8
1f5d45a
1118a14
d0ff343
13d66ac
41f41df
70d478d
ce8c105
ac98355
d192dbd
4633136
54b6ecb
d56fce4
99cf169
56d5cb0
4ad1749
c103e0c
415dfb0
a01405f
8d4cb4e
444b3e8
1343c30
865ebc5
55673fe
7f8043b
087668f
438a40b
41e5cc9
a59ee2b
b5eb04f
3907a1f
64ab444
221bfd1
cc85600
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import { ComponentType } from "react"; | ||
import styled from "@emotion/styled"; | ||
import { Tabs, TabsProps } from "@leafygreen-ui/tabs"; | ||
import { size } from "@evg-ui/lib/constants/tokens"; | ||
|
||
// @ts-expect-error | ||
export const StyledTabs = styled(Tabs)<TabsProps>` | ||
> div > [role="tablist"] { | ||
margin-bottom: ${size.s}; | ||
[role="tabpanel"] { | ||
margin-top: ${size.s}; | ||
} | ||
`; | ||
` as ComponentType<TabsProps>; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is the I think we may also want to respond on LG-4696. I think the typing of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes it is to get it to work well with Emotion. I left a comment on the slack thread irt the weird |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed styling of tabs so that the new dom order looks correct.