-
Notifications
You must be signed in to change notification settings - Fork 1k
refactor: replace deprecated Popovers which open on click #19709
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
base: main
Are you sure you want to change the base?
Conversation
AgentOutdatedTooltip
IdpOrgSyncPageView, TableColumnHelpTooltip, TemplateInsightsPage
LegacyGroupSyncHeader
OrganizationBreadcrumb
This reverts commit c93e092.
PopoverClose from Popover component
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.
lots of good stuff! thanks!
@@ -102,7 +102,7 @@ export const UnselectingOption: Story = { | |||
const canvas = within(canvasElement); | |||
const button = canvas.getByRole("button"); | |||
await userEvent.click(button); | |||
const menu = canvasElement.querySelector<HTMLElement>("[role=menu]")!; |
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.
muuuuch better
@@ -2,7 +2,7 @@ import { css } from "@emotion/css"; | |||
import { type Theme, useTheme } from "@emotion/react"; | |||
import { type DependencyList, useMemo } from "react"; | |||
|
|||
export type ClassName = (cssFn: typeof css, theme: Theme) => string; | |||
type ClassName = (cssFn: typeof css, theme: Theme) => string; |
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.
this means we're getting closer!! excited to see this old hack gone
Co-authored-by: ケイラ <mckayla@hey.com>
for #19397
dependency: #19635
This PR specifically covers components which open a popover that's triggered by a click, rather than a hover.