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

feat!: <ThemeProvider> propagate classname to div wrapping children, instead of children directly #1870

Conversation

SergeyRoyt
Copy link
Contributor

@SergeyRoyt SergeyRoyt commented Jan 4, 2024

@SergeyRoyt SergeyRoyt self-assigned this Jan 4, 2024
@SergeyRoyt SergeyRoyt changed the base branch from master to sergeyro/feature/theme-provider-rename-theme-prop January 4, 2024 12:23
@SergeyRoyt SergeyRoyt changed the base branch from sergeyro/feature/theme-provider-rename-theme-prop to sergeyro/feature/theme-provider-add-class-name-to-body January 4, 2024 12:23
@SergeyRoyt SergeyRoyt changed the base branch from sergeyro/feature/theme-provider-add-class-name-to-body to sergeyro/feature/theme-provider-rename-theme-prop January 4, 2024 12:24
Copy link
Contributor

@shlomitc shlomitc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just mentioning this is a breaking change so it should be done carefully together with the rest of the changes

@shlomitc shlomitc self-requested a review January 22, 2024 07:50
Copy link
Contributor

@shlomitc shlomitc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test is failing

</>,
<>
ThemeProvider is populating theme name <code>className</code> to {"it's child, so don't put "}
<code>{"<Fragment>"}</code> (<code>{"<>"}</code>) inside - {` it's not accepting `}
<code>className</code> prop.
</>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe replace it with notice about div

…propagate-classname-to-div' into sergeyro/feature/theme-provider-propagate-classname-to-div
… sergeyro/feature/theme-provider-propagate-classname-to-div
@SergeyRoyt SergeyRoyt requested a review from a team as a code owner January 29, 2024 13:44
@SergeyRoyt SergeyRoyt merged commit bcc384e into sergeyro/feature/theme-provider-rename-theme-prop Jan 29, 2024
6 of 9 checks passed
@SergeyRoyt SergeyRoyt deleted the sergeyro/feature/theme-provider-propagate-classname-to-div branch January 29, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants