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

chore(weave): updating styles for new dropdowns #2861

Merged
merged 5 commits into from
Nov 5, 2024

Conversation

mbarrramsey
Copy link
Contributor

@mbarrramsey mbarrramsey commented Nov 4, 2024

Description

https://wandb.atlassian.net/browse/WB-21693

Adds some styling updates to the existing common components AutoComplete and Select in preparation for runs filter styling updates.

@circle-job-mirror
Copy link

circle-job-mirror bot commented Nov 4, 2024

@@ -63,6 +63,10 @@ const getStyles = (props: AdditionalProps) => {
minHeight: `${HEIGHTS[size]} !important`,
},
},
'& .MuiAutocomplete-popupIndicator': {
borderRadius: '4px',
padding: '4px',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Adding some styling for chevron menu open indicator,
Screenshot 2024-11-04 at 3 46 41 PM

boxShadow:
state.menuIsOpen || state.isFocused
? `0 0 0 2px ${colorBorderOpen}`
: `0 0 0 2px ${colorBorderHover}`,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Adding updated hover / focus colors for select component
Screenshot 2024-11-04 at 2 11 17 PM
Screenshot 2024-11-04 at 2 11 23 PM
Also fixes issue where the hover color would show when the item was already focused

@mbarrramsey mbarrramsey marked this pull request as ready for review November 4, 2024 23:50
@mbarrramsey mbarrramsey requested review from a team as code owners November 4, 2024 23:50
@mbarrramsey mbarrramsey merged commit 4487440 into master Nov 5, 2024
114 of 116 checks passed
@mbarrramsey mbarrramsey deleted the mbarrramsey/dropdown_component_updates branch November 5, 2024 17:59
@github-actions github-actions bot locked and limited conversation to collaborators Nov 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants