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

[OptionList] Remove bg styles for multiselect options #9884

Merged
merged 2 commits into from
Aug 7, 2023

Conversation

laurkim
Copy link
Contributor

@laurkim laurkim commented Aug 3, 2023

WHY are these changes introduced?

Resolves 9883.
Updates styling on Option for multi select.

WHAT is this pull request doing?

Removes background color on Option in OptionList if allowMultiple is true.
Adds new "Multiple With Disabled Option".

How to 🎩

OptionList Storybook

🖥 Local development instructions
🗒 General tophatting guidelines
📄 Changelog guidelines

🎩 checklist

@laurkim laurkim self-assigned this Aug 3, 2023
@laurkim laurkim added the 🤖Skip Changelog Causes CI to ignore changelog update check. label Aug 3, 2023
@laurkim laurkim marked this pull request as ready for review August 3, 2023 17:13
@laurkim laurkim force-pushed the lo/update-option-list-styles branch from 0969e75 to 1e66be0 Compare August 3, 2023 17:21
Copy link
Member

@lgriffee lgriffee left a comment

Choose a reason for hiding this comment

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

@laurkim
Copy link
Contributor Author

laurkim commented Aug 7, 2023

/snapit

@github-actions
Copy link
Contributor

github-actions bot commented Aug 7, 2023

🫰✨ Thanks @laurkim! Your snapshots have been published to npm.

Test the snapshots by updating your package.json with the newly published versions:

yarn add @shopify/[email protected]
yarn add @shopify/[email protected]
yarn add @shopify/[email protected]

@laurkim laurkim merged commit e9b918d into main Aug 7, 2023
12 checks passed
@laurkim laurkim deleted the lo/update-option-list-styles branch August 7, 2023 13:20
AnnaCheba pushed a commit to AnnaCheba/polaris that referenced this pull request Apr 22, 2024
### WHY are these changes introduced?

Resolves [9883](Shopify#9883).
Updates styling on Option for multi select.

### WHAT is this pull request doing?

Removes background color on Option in OptionList if `allowMultiple` is
true.
Adds new "Multiple With Disabled Option".

### How to 🎩

[OptionList
Storybook](https://5d559397bae39100201eedc1-twmrpdlzge.chromatic.com/?path=/story/all-components-optionlist--default)

🖥 [Local development
instructions](https://github.com/Shopify/polaris/blob/main/README.md#local-development)
🗒 [General tophatting
guidelines](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md)
📄 [Changelog
guidelines](https://github.com/Shopify/polaris/blob/main/.github/CONTRIBUTING.md#changelog)

### 🎩 checklist

- [x] Tested on
[mobile](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md#cross-browser-testing)
- [x] Tested on [multiple
browsers](https://help.shopify.com/en/manual/shopify-admin/supported-browsers)
- [ ] Tested for
[accessibility](https://github.com/Shopify/polaris/blob/main/documentation/Accessibility%20testing.md)
- [ ] Updated the component's `README.md` with documentation changes
- [ ] [Tophatted
documentation](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting%20documentation.md)
changes in the style guide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖Skip Changelog Causes CI to ignore changelog update check.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[OptionList] Remove state bg colors from items with check boxes
3 participants