-
Notifications
You must be signed in to change notification settings - Fork 841
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
[Emotion] Convert EuiSelectable #7940
Merged
Merged
Commits on Aug 2, 2024
-
- might as well get it out of the way now, because Enzyme snapshots will make the Emotion conversion annoying
Configuration menu - View commit details
-
Copy full SHA for fe21d67 - Browse repository at this point
Copy the full SHA fe21d67View commit details -
Convert base EuiSelectable styles to Emotion
- hooray for no theme tokens needed
Configuration menu - View commit details
-
Copy full SHA for 0307e63 - Browse repository at this point
Copy the full SHA 0307e63View commit details -
Delete unused EuiSelectableSearch Sass file
+ add `shouldRenderCustomStyles` test
Configuration menu - View commit details
-
Copy full SHA for 3249606 - Browse repository at this point
Copy the full SHA 3249606View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a2c48f - Browse repository at this point
Copy the full SHA 8a2c48fView commit details -
[setup] Create new
RenderWithEuiStylesMemoizer
to mirror `RenderWit……hEuiTheme` - `EuiSelectableList` is going to need this because it's a class component with a generic :T
Configuration menu - View commit details
-
Copy full SHA for e6d0a09 - Browse repository at this point
Copy the full SHA e6d0a09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02a61ab - Browse repository at this point
Copy the full SHA 02a61abView commit details -
Convert EuiSelectableListItem styles
+ leftover __groupLabel element + fix `euiFontSize(s)` which has reduced line height in Emotion - not sure what the intent was here but just going to preserve the old line height for now + replace `.euiSelectableListItem__tooltipAnchor` with a CSS utility className + delete Sass variables opinionated changes: - change disabled text to use disabled text color specifically, not medium shade - change item border to use the border color specifically (but transparentized to match prev lightness) instead of a random shade
Configuration menu - View commit details
-
Copy full SHA for 34a7abc - Browse repository at this point
Copy the full SHA 34a7abcView commit details -
Configuration menu - View commit details
-
Copy full SHA for f06ca5b - Browse repository at this point
Copy the full SHA f06ca5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b600680 - Browse repository at this point
Copy the full SHA b600680View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75f7964 - Browse repository at this point
Copy the full SHA 75f7964View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.