mirror of
https://github.com/rio-labs/rio.git
synced 2026-05-20 11:40:17 -05:00
update changelog
This commit is contained in:
+15
-12
@@ -1,20 +1,23 @@
|
||||
# Changelog
|
||||
|
||||
- Buttons now have a smaller minimum size when using a `rio.Component` as
|
||||
content
|
||||
- Buttons now have a smaller minimum size when using a `rio.Component` as
|
||||
content
|
||||
- `FrostedGlassFill` added
|
||||
- `rio.Fill` deprecated. Most components only support specific fills, so this
|
||||
base class has no purpose any more
|
||||
|
||||
## 0.8
|
||||
|
||||
- Rectangles now honor the theme's shadow color
|
||||
- Renamed `Banner.markup` to `Banner.markdown`
|
||||
- Removed the "multiline" style from Banners
|
||||
- Removed `Button.initially_disabled_for`
|
||||
- Added a `text_color` parameter to `Theme.from_colors` and `Theme.pair_from_colors`
|
||||
- `rio run` now checks that the installed version of Rio is up-to-date
|
||||
- Rectangles now honor the theme's shadow color
|
||||
- Renamed `Banner.markup` to `Banner.markdown`
|
||||
- Removed the "multiline" style from Banners
|
||||
- Removed `Button.initially_disabled_for`
|
||||
- Added a `text_color` parameter to `Theme.from_colors` and `Theme.pair_from_colors`
|
||||
- `rio run` now 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"
|
||||
- New example: multi-page website
|
||||
- New component: CodeBlock
|
||||
- UserSettings can now have mutable default values
|
||||
- Removed "undefined space"
|
||||
|
||||
+2
-3
@@ -4,7 +4,6 @@ from typing import *
|
||||
|
||||
from .components import component as component_meta
|
||||
|
||||
|
||||
__all__ = ["deprecated", "parameters_renamed", "_remap_kwargs"]
|
||||
|
||||
|
||||
@@ -22,8 +21,8 @@ def deprecated(*, since: str, description: str):
|
||||
|
||||
def parameters_renamed(old_names_to_new_names: Mapping[str, str]):
|
||||
"""
|
||||
Class/Function decorator that allows it to be called with the old name of
|
||||
the given parameter. For example:
|
||||
Class/Function decorator that allows it to be called with the old names of
|
||||
the given parameters. For example:
|
||||
|
||||
@parameters_renamed({'foo': 'bar'})
|
||||
def example_func(bar: int):
|
||||
|
||||
Reference in New Issue
Block a user