chore(deps): update rust crate stylist to 0.11.0 - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
stylist | dependencies | minor |
0.10.1 -> 0.11.0
|
Release Notes
futursolo/stylist-rs
v0.11.0
Breaking Changes:
- Yew version is bumped to v0.20.
- Remove
YieldStyle
. This API can be easily reproduced in user code, if need be, but often leads to clumsy code in struct components. Use alternative API and preferfunction_component
+use_style!
/styled_component
. -
StyleSource
does not take a lifetime argument - Feature
parser
:StyleSource
now eagerly parses its input. - Feature
parser
: The conversion fromstr
have been changed toTryFrom
instead ofFrom
. If you're usingyew
, theIntoPropValue<StyleSource>
impls still exist, but now panic early during conversion. - Feature
parser
: This feature is now disabled by default. Use thecss!
, other macros and interpolation syntax to write styles, if you don't need to parse css at runtime.
Other Changes:
- The
Style::new_*
API is more open for accepted types of theCss
parameter. - The name of styled components now defaults to the name of the function, like in
function_component
.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.