Conversation
There was a problem hiding this comment.
This should include one property with the empty string as the value.
|
I reviewed parts of this. Not quite done, but since I found a few things that can be addressed, I'll continue after the next update, or whenever I can get back to this. |
|
|
|
Some small issues here and there, but overall looks good. Would be nice to simplify |
Fixes #7053
Fixes #7053
Deprecate dialogClass. Fixes #7053
Fixes #7053
Fixes #7053
Fixes #7053
Fixes #7053
Fixes #7053
Fixes #7053
Fixes #7053
Fixes #7053
Switched tooltip to use classes option
|
@jzaefferer This is fully updated and rebased with master only thing I didn't address is the test you questioned that @petersendidit answered about if that should stay or not. |
|
Thanks, I'll review this again asap. One thing I wanted to mention though: We should have at least one demo highlighting this new feature, preferably based on some of the original usecases. The only I can think of is "customising where rounded corners are used". This could also demo some other options for "custom theming", like some simple overrides to change colors. Just to give an idea that it's possible. |
|
@jzaefferer yeah demos would be good corners is the very basic simple use case we could also do something more complex like using it to apply another theme completely like foundation or bootstrap? |
|
I think Scott's example of using Bootstrap's CSS with the UI dialog would make for a good demo. |
|
Added the basic corner class demos working on demos with a different theme |
|
We discussed at the meeting last week that the demo commits should be reverted. With a rebase they can be dropped, no need to add to the pile. @tjvantoll wants to write a learn article about using classes instead, that should be more useful. |
|
Demo commits are gone. Learn article can we written later. I think this is good to land. |
|
I know it's late in the process, but I just had an idea that I discussed with @arschmitz in IRC: If we have @arschmitz said he'll work on implementing that to see how it goes. |
|
Replaced by #1392 |
This replaces PR #790 It updates the widget factory to handle the classes option via setOption, and updates all the widgets to use the
_elementsFromClassKeymethod to set what elements belong to what classkeys for programmatic updating. It also updates all classes options to use""instead ofnullto make it easier to concant new classes.