mirror of
https://github.com/rio-labs/rio.git
synced 2026-01-05 20:59:46 -06:00
2.8 KiB
2.8 KiB
Changelog
rio.Dropdownwill now open a fullscreen popup on mobile devicesriol.MediaPlayernow also triggers theon_playback_endevent when the video loops
0.9.2
- restyled
rio.Switch - New
experimentalbroken componentAspectRatioContainer
0.9.1
- 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" - Icons now use
_instead of-in their names. This brings them more in line with Python naming conventions - Checkbox restyling
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"