Download Latest Version Rio 0.11 source code.tar.gz (3.9 MB)
Email in envelope

Get an email when there's a new version of Rio

Home / v0.9
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2024-06-15 1.7 kB
Rio 0.9 source code.tar.gz 2024-06-15 2.7 MB
Rio 0.9 source code.zip 2024-06-15 2.8 MB
Totals: 3 Items   5.5 MB 0

I'm not going to say too much because the changelog speaks for itself, but I have to bring special attention to one feature in particular: The dev tools sidebar got a major overhaul in this release, in particular the "component tree" tab. If you ever have trouble with rio's layouting system, the dev tools can now tell you exactly why a component is layouted the way it is, explain how you can make it smaller or larger, and even let you change the size, margin, and alignment of the component on-the-fly. To try it out, open the "Tree" tab in the dev sidebar, select a component, and then click the "Layout" button at the bottom.

Breaking changes

  • Text.justify now defaults to "left"
  • FlowContainer.justify now defaults to "left"
  • rio.Theme.replace method has been removed, since themes are now mutable

New features ✨

  • Checkbox component as an alternative to rio.Switch [#51]
  • Experimental Switcher component for animated transitions between different child components
  • FlowContainer now has a convenience spacing parameter which controls both row_spacing and column_spacing at the same time
  • App now takes a dict of meta_tags as input, which are converted to HTML<meta> tags

Improvements:

  • TextInputs now emit the on_change event in real time while the user is typing
  • HTML components now execute embedded <script> nodes
  • rio run no longer opens a browser, since many people found it annoying

Deprecations:

  • rio.Fill and rio.FillLike are slated for removal
  • The display_controls parameter of the CodeBlock component has been renamed to show_controls

Install 🛠️

Get it from pypi: pip install --upgrade rio-ui 🌊

Source: README.md, updated 2024-06-15