diff --git a/setup.py b/setup.py index 1fb96aa..e81447e 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setuptools.setup( name="streamfy", - version="0.1.5", + version="0.1.6", author="", author_email="", description="", diff --git a/streamfy/__init__.py b/streamfy/__init__.py index ec79588..12666ef 100644 --- a/streamfy/__init__.py +++ b/streamfy/__init__.py @@ -37,10 +37,20 @@ def table(**kwargs): component_value = _component_func(component="table", **hyphened) return component_value +def breadcrumb(**kwargs): + hyphened = hyphen_case_keys(kwargs) + component_value = _component_func(component="breadcrumb", **hyphened) + return component_value + if not _RELEASE: + st.subheader("Breadcrumb") + item = breadcrumb(items=[{"text": "A"}, {"text": "B"}]) + st.write(item) + st.subheader("Tags") - tags = taginput(data=["A", "B", "C"], placeholder="Choose letter") + tags = taginput(data=["A", "B", "C"], allow_new=True, open_on_focus=True, type="is-info", aria_close_label="Remove", placeholder="Choose letter") st.write(tags) + st.subheader("Table") columns = [ { diff --git a/streamfy/frontend/src/Streamfy.vue b/streamfy/frontend/src/Streamfy.vue index 2fe3112..f8408e7 100644 --- a/streamfy/frontend/src/Streamfy.vue +++ b/streamfy/frontend/src/Streamfy.vue @@ -1,24 +1,32 @@