Skip to content
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

COM-85: Refactor Tooltip theming #1379

Conversation

jamesricky
Copy link
Contributor

@jamesricky jamesricky commented Nov 7, 2023

Copying the styling and overridesResolver from MUIs TooltipPopper is required because when overriding the Tooltips Popper we cannot extend the existing Popper.

Overriding the Popper is required to implement our variant-specific styling, as we cannot set the styles from the Root element, as the Popper is not rendered as a child of the Tooltip in the DOM.

@jamesricky jamesricky changed the title COM-80: Refactor tooltip theming COM-80: Refactor Tooltip theming Nov 7, 2023
@jamesricky jamesricky self-assigned this Nov 7, 2023
@thomasdax98 thomasdax98 changed the title COM-80: Refactor Tooltip theming COM-85: Refactor Tooltip theming Nov 14, 2023
@jamesricky jamesricky removed the request for review from johnnyomair November 16, 2023 07:07
@jamesricky jamesricky marked this pull request as draft November 16, 2023 07:07
@jamesricky jamesricky force-pushed the refactor-admin-tooltip-theming branch from 6f8ac10 to 7287c1e Compare November 16, 2023 08:56
@jamesricky jamesricky marked this pull request as ready for review November 16, 2023 08:57
@jamesricky jamesricky requested review from johnnyomair and removed request for johnnyomair November 16, 2023 09:02
@jamesricky jamesricky marked this pull request as draft November 23, 2023 07:10
@jamesricky jamesricky force-pushed the refactor-admin-tooltip-theming branch from 7287c1e to b9e9c2d Compare November 23, 2023 09:36
@jamesricky jamesricky marked this pull request as ready for review November 23, 2023 09:36
@jamesricky jamesricky marked this pull request as draft November 27, 2023 12:13
@jamesricky jamesricky removed the request for review from johnnyomair November 27, 2023 12:13
@jamesricky jamesricky force-pushed the refactor-admin-tooltip-theming branch from b9e9c2d to 138c6af Compare November 27, 2023 15:52
@jamesricky jamesricky changed the base branch from feature/refactor-admin-component-theming to allow-slots-to-extend-admin-components November 27, 2023 15:52
@jamesricky jamesricky marked this pull request as ready for review November 27, 2023 15:53
@jamesricky jamesricky force-pushed the allow-slots-to-extend-admin-components branch 2 times, most recently from 1c6694d to 515f868 Compare November 28, 2023 14:24
Base automatically changed from allow-slots-to-extend-admin-components to feature/refactor-admin-component-theming November 28, 2023 14:37
Copying the styling and `overridesResolver` from MUIs TooltipPopper is
required because when overriding the Tooltips Popper we cannot extend
the existing Popper.

Overriding the Popper is required to implement our variant-specific
styling, as we cannot set the styles from the Root element, as the
Popper is not rendered as a child of the Tooltip in the DOM.
@jamesricky jamesricky force-pushed the refactor-admin-tooltip-theming branch from 138c6af to 386b5a5 Compare November 29, 2023 07:51
@jamesricky jamesricky merged commit 5441de5 into feature/refactor-admin-component-theming Nov 29, 2023
@jamesricky jamesricky deleted the refactor-admin-tooltip-theming branch November 29, 2023 09:30
jamesricky added a commit that referenced this pull request Jan 9, 2024
Copying the styling and `overridesResolver` from MUIs TooltipPopper is
required because when overriding the Tooltips Popper we cannot extend
the existing Popper.

Overriding the Popper is required to implement our variant-specific
styling, as we cannot set the styles from the Root element, as the
Popper is not rendered as a child of the Tooltip in the DOM.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants