mirror of
https://github.com/rio-labs/rio.git
synced 2026-05-02 08:59:27 -05:00
913469fc47
fixes #56
2.4 KiB
2.4 KiB
Changelog
- added gain_focus / lose_focus events to TextInput and NumberInput
.rioignorehas been superseeded by the newproject-filessetting inrio.toml- values in
rio.tomlare now written in kebab-case instead of all_lower_case. Rio will still recognize the old names and automatically fix them for you. - deprecated
lightparameter ofTheme.from_color, has been superseded bymode - Tooltips now default to
position="auto"
0.9
- Buttons now have a smaller minimum size when using a
rio.Componentas content FrostedGlassFilladded (Contributed by MiniTT)- added
@rio.event.on_window_size_change - popups now default to the "hud" color
- popups and tooltips are no longer cut off by other components
- Add HTML meta tags
- Add functions for reading and writing clipboard contents to the
Session(Contributed by MiniTT) - The color of drawers is now configurable, and also sets the theme context
- added
Calendarcomponent - added
DateInputcomponent - massive dev-tools overhaul
- new (but experimental)
Switchercomponent - TextInputs now update their text in real-time
rio runno longer opens a browserrio.HTMLcomponents now execute embedded<script>nodes- added
CheckboxComponent FlowContainernow has a conveniencespacingparameter which controls bothrow_spacingandcolumn_spacingat the same time
deprecations:
rio.Fillandrio.FillLikedeprecated. Most components only support specific fills, so these have no purpose any moredisplay_controlsparameter ofCodeBlockcomponent renamed toshow_controls
breaking:
Text.justifynow defaults to"left"FlowContainer.justifynow defaults to"left"rio.Themeis no longer frozen, and can now be modified. This is breaking, because thereplacemethod has been removed
0.8
- Rectangles now honor the theme's shadow color
- Renamed
Banner.markuptoBanner.markdown - Removed the "multiline" style from Banners
- Removed
Button.initially_disabled_for - Added a
text_colorparameter toTheme.from_colorsandTheme.pair_from_colors rio runnow checks that the installed version of Rio is up-to-date
0.7
- New example: multi-page website
- New component: CodeBlock
- UserSettings can now have mutable default values
- Removed "undefined space"