- API Changes - 932eb52
ReactCSSBuilder.register -> ReactCSSBuilder.create StyleContext.val -> StyleContext.css
require('react-css-builder').register({
myClass: function(css) {
return css.
// stuff with StyleContext
.val();
}
});
should now be
require('react-css-builder').create({
myClass: function(css) {
return css.
// stuff with StyleContext
.css();
}
});
-
add enhanced styleset selectors - b3c5eb8 You can now use
a[b c]
ora[b,c]
to be translated toa.b, a.c
-
allow for private namespaces and returned css builders - 4655a81 If a namespace is not provided when registering the stylesheet, the response from that call will be the only way to access the stylesets