Repository navigation
v0.5.0-alpha
Pre-release
Pre-release
·
26 commits
to thaw/v0.5
since this release
Breaking Changes
-
Update leptos to v0.8.0-beta.
-
RatingColor adds Marigold prop.
-
InputType adds Number prop.
-
The icon prop of
Iconis changed to icondata_core::Icon type. -
The value prop of
MenuItemis changed to generic type.
Theme is changed to use getset.
When adding new components requires changing ColorTheme, it is very easy to make breaking changes.
example:
// 0.4
let _ = theme.common.font_weight_bold;
let _ = theme.color.color_brand_background;
theme.common.font_weight_bold = "700".to_string();
theme.color.color_brand_background = "#f5222d".to_string();
// 0.5
let _ = theme.common.font_weight_bold();
let _ = theme.color.color_brand_background();
theme.common.set_font_weight_bold("700".to_string());
theme.color.set_color_brand_background("#f5222d".to_string());