Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Expose color prop for elect trigger #326

Merged
merged 3 commits into from
Mar 17, 2021

Conversation

jgzuke
Copy link
Contributor

@jgzuke jgzuke commented Mar 5, 2021

Personally I find in unintuitive that the color, feel, size, etc passed on the triggerAs get overwritten. I went with this as the smallest unblocking change, but also happy to switch this to follow props passed to triggerAs so we dont need a mix of top level props and triggerAs to style a custom trigger.

📦 Published PR as canary version: 8.18.1-canary.326.8945.0

✨ Test out this PR locally via:

npm install @apollo/space-kit@8.18.1-canary.326.8945.0
# or 
yarn add @apollo/space-kit@8.18.1-canary.326.8945.0

@jgzuke jgzuke added the minor Increment the minor version when merged label Mar 5, 2021
Copy link
Contributor

@justinanastos justinanastos left a comment

Choose a reason for hiding this comment

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

Made a suggestion but it's really about ergonomics and doesn't affect the behavior; your call if you want to take the suggestion or merge as is. Thanks for taking the time to add this! 👍

src/Select/index.tsx Outdated Show resolved Hide resolved
src/Select/index.tsx Outdated Show resolved Hide resolved
jgzuke and others added 3 commits March 17, 2021 13:23
Co-authored-by: Justin Anastos <justin@apollographql.com>
Co-authored-by: Justin Anastos <justin@apollographql.com>
@jgzuke jgzuke force-pushed the jgzuke/misc/allow-setting-trigger-color branch from a0dec56 to de35631 Compare March 17, 2021 20:23
@jgzuke jgzuke merged commit 05fa706 into main Mar 17, 2021
@jgzuke jgzuke deleted the jgzuke/misc/allow-setting-trigger-color branch March 17, 2021 20:31
@apollo-bot2
Copy link
Collaborator

🚀 PR was released in v8.19.0 🚀

@apollo-bot2 apollo-bot2 added the released This issue/pull request has been released. label Mar 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
minor Increment the minor version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants