Closed pianomansam closed 3 years ago
PING @jeanverster 👀
Hey guys, apologies for the super late response.. I have recently moved to another country so has taken some time to get settled here and I haven't had much time to tend to this repo.. With that said, @pianomansam the PR looks good - could you please change the base to the develop
branch (so that semantic release can run accordingly). A couple more things:
yarn.lock
removed?label
to be of React.ReactNode
you will need some kinda check otherwise it would be rendered inside the existing span, unless that's the desired behaviour? @jeanverster the base has been changed to the develop
branch. Removing yarn.lock
was a mistake and it has been restored.
I think if you allow the label to be of React.ReactNode you will need some kinda check otherwise it would be rendered inside the existing span, unless that's the desired behaviour?
That is the intended behavior. Styling still gets applied to the existing span, then the ReactNode inside it can either inherit styles or do its own thing. I'm using my branch on a project right now and it works great.
@jeanverster what's the next step to getting a release with this included?
Hey @pianomansam apologies, will get this released in the next hour or so - was busy addressing some of the other issues and forgot to push a new release.. Will ping you when done 👌🏼
@pianomansam released in v1.4.0 - note I made some changes to the multi part styling so you will need to update your chakra ui version to at least 1.6.7 for it to work, sorry for the inconvenience!
I love this library, however, I have the need to make more style changes than is currently supported. This PR adds the following changes/capabilities:
step
styles to the end of the step's__css
property so that the default CSS attributes can be overridden (such as flex and opacity).stepContainer
style part so that it can be styled.labelContainer
style part so that it can be styled.