diff --git a/justpy/__init__.py b/justpy/__init__.py index ed5a025d..8dbc0cca 100644 --- a/justpy/__init__.py +++ b/justpy/__init__.py @@ -1,2 +1,2 @@ from .justpy import * -__version__ = "0.1.4" \ No newline at end of file +__version__ = "0.1.5" \ No newline at end of file diff --git a/justpy/justpy.py b/justpy/justpy.py index 067edfa8..134f1f89 100644 --- a/justpy/justpy.py +++ b/justpy/justpy.py @@ -396,7 +396,6 @@ def convert_dict_to_object(d): return obj - def redirect(url): wp = WebPage() wp.add(Div()) diff --git a/justpy/quasarcomponents.py b/justpy/quasarcomponents.py index fccb7577..2b7173c1 100644 --- a/justpy/quasarcomponents.py +++ b/justpy/quasarcomponents.py @@ -552,7 +552,7 @@ def __init__(self, **kwargs): self.prop_list = ['ripple', 'type', 'to', 'replace', 'label', 'icon', 'icon-right', 'round', 'outline', 'flat', 'unelevated', 'rounded', 'push', 'glossy', 'size', 'fab', 'fab-mini', 'color', 'text-color', 'no-caps', 'no-wrap', 'dense', 'tabindex', 'align', 'stack', 'stretch', 'loading', 'disable', - 'percentage', 'dark-percentage', 'href', 'target'] + 'percentage', 'dark-percentage', 'href', 'target', 'download'] QButton = QBtn @@ -1789,7 +1789,7 @@ def __init__(self, **kwargs): super().__init__(**kwargs) # direction on of up | right | down | left , type one of a | submit | button | reset self.prop_list = ['direction', 'persistent', 'icon', 'active-icon', 'type', 'value', 'disable', - 'outline', 'push', 'flat', 'color', 'text-color', 'glossy'] + 'outline', 'push', 'flat', 'color', 'text-color', 'glossy', 'label', 'external-label', 'label-position'] self.allowed_events = ['input', 'show', 'before-show', 'hide', 'before-hide', 'click', 'mouseover', 'mouseout'] self.set_keyword_events(**kwargs) @@ -1807,7 +1807,8 @@ class QFabAction(QDiv): def __init__(self, **kwargs): super().__init__(**kwargs) # position one of top-right | top-left | bottom-right | bottom-left | top | right | bottom | left - self.prop_list = ['icon', 'type', 'to', 'replace', 'disable', 'outline', 'push', 'flat', 'color', 'text-color', 'glossy'] + self.prop_list = ['icon', 'type', 'to', 'replace', 'disable', 'outline', 'push', 'flat', 'color', 'text-color', + 'glossy', 'label', 'external-label', 'label-position'] @parse_dict class QSkeleton(QDiv): diff --git a/setup.py b/setup.py index 0e26409f..9a3babab 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ def get_long_description(): setuptools.setup( name="justpy", python_requires=">=3.6", - version="0.1.4", + version="0.1.5", license="Apache", author="Eliezer Mintz", author_email="eli.mintz@gmail.com", @@ -19,7 +19,7 @@ def get_long_description(): include_package_data=True, zip_safe=False, install_requires=[ - 'starlette>=0.12.0', 'uvicorn>=0.7.1', 'itsdangerous>=1.1.0', + 'starlette>=0.12.0', 'uvicorn>=0.7.1', 'itsdangerous>=1.1.0', 'websockets', 'addict>=2.2.1', 'jinja2>=2.10.1', 'demjson>=2.2.4', 'httpx>=0.11.0', 'aiofiles' ], classifiers=[