Skip to content

Releases: PaleNeutron/streamlit-ext

v0.1.10

29 Feb 03:08
Compare
Choose a tag to compare

Update to streamlit 1.30.0 which provide new query_param API

v0.1.9

11 Oct 08:41
Compare
Choose a tag to compare

Fix bug for pandas>2.0

v0.1.8

28 Aug 11:07
Compare
Choose a tag to compare

Bug fix for streamlit > 1.26.0

v0.1.7

21 Mar 08:19
Compare
Choose a tag to compare

Update to streamlit 1.20

v0.1.6

24 Feb 21:58
Compare
Choose a tag to compare

Adapt to streamlit version 1.19.0

v0.1.5

12 Dec 02:58
Compare
Choose a tag to compare

Add Class steDownloadButton to a tag and stDownloadButton to div tag wrapped a.

So users can now write custom css points to download button see this example:

import numpy as np
import pandas as pd
import streamlit as st

import streamlit_ext as ste

df = pd.DataFrame(np.random.rand(10, 5))


ste.download_button("Click to download data!", df, "YOUR_DF.xlsx")
ste.download_button("Click to download text!", b"text content", "YOUR_STRING.txt")
st.download_button("Click to download text!", b"text content", "YOUR_STRING.txt")

st.markdown(
    """
<style>
div.stDownloadButton > button,
div.stDownloadButton > a {
    background-color: #000000 !important;
    color:#ffffff !important;
}
div.stDownloadButton > button:hover,
div.stDownloadButton > a:hover {
    background-color: #000000 !important;
    color:#ff0000  !important;
    }
</style>""",
    unsafe_allow_html=True,
)

v0.1.4

10 Oct 13:27
Compare
Choose a tag to compare
  • Change ste.download_button's parameter name to the same as st.download_button
  • Add support for pd.Dataframe().style to ste.download_button

v0.1.3

10 Oct 03:37
Compare
Choose a tag to compare
  • Add support for sidebar, use it by ste.sidebar.checkbox just like in streamlit
  • Fix bug when passing dict.keys() as options

v0.1.2

29 Sep 03:48
Compare
Choose a tag to compare
  • Fix pd.DataFrame download bug if openpyxl not installed

v0.1.1

29 Sep 03:22
Compare
Choose a tag to compare
  • Fix synced widget do not change on first time click after streamlit start