-
Notifications
You must be signed in to change notification settings - Fork 104
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
focusStyle, hoverStyle, activeStyle and so on should extend not overwrite style #60
Comments
We probably should also make that clear in the documentation as well (every component). Could be done with an example like:
|
Our implementation of Rating does not have a hoverStyle or disabledHoverStyle....hover for Rating is implemented at level of character and not wrapper, thus we have this: hoverCharacterStyle. Its look fine in terms of logic, but api looks different from other components. |
Why should disabledHoverStyle extend disabledStyle ? |
@jpuri by extend I meant it like this:
Regarding the API: Would you suggest to change the API for Rating? While it doesn't comply with the other components styling configuration I though it would make more sense as the style is directly applied to the character. Maybe the old html structure was better? |
No this structure is good....its just about how we have grouped and designed the styles. I see the list of stuff to be completed for release just growing as we are working on things... :) |
👍 sure, I added this issue: #86 |
Solved with this PR: #87 |
Same for disabledHover. It should extend disabledStyle.
I noticed I made this mistake at the Select. There might be other places. We should double-check.
The text was updated successfully, but these errors were encountered: