Skip to content

Releases: gabrieltempass/streamlit-navigation-bar

3.3.0

13 May 21:37
Compare
Choose a tag to compare

What changed

New features

  • Allow buttons with callbacks to switch pages

It updates the component frontend active page, when the selected parameter from st_navbar changes. This makes it possible to use an st.button outside the navbar, to switch to a different page. Similar to what st.page_link does, but using the recommended structure.

Demo app: https://st-navbar-mpa-button.streamlit.app

Full Changelog: 3.2.0...3.3.0

3.2.0

05 May 16:35
Compare
Choose a tag to compare

What changed

New features

  • Add new "hide_nav" option

Other changes

  • Change from st.markdown to new st.html

Full Changelog: 3.1.2...3.2.0

3.1.2

19 Apr 17:46
Compare
Choose a tag to compare

What changed

Bug fixes

  • Correct st.chat_input position and the default space after the body

Other changes

  • Add bash command to show package version

Full Changelog: 3.1.1...3.1.2

3.1.1

06 Apr 17:40
Compare
Choose a tag to compare

What changed

Bug fixes

  • Adjust exact value of default body position

Full Changelog: 3.1.0...3.1.1

3.1.0

06 Apr 14:49
Compare
Choose a tag to compare

What changed

New features

  • Add new "use_padding" option
  • Use a relative size to adapt the max-width

Bug fixes

  • Correct "fix_shadow" option behavior
  • Change default body padding to match Streamlit

Full Changelog: 3.0.3...3.1.0

3.0.3

04 Apr 19:03
Compare
Choose a tag to compare

What changed

Other changes

  • Remove max version requirement

The Streamlit team launched version 1.33.0, which works with st_navbar again. So there was probably a bug in version 1.32.2 that made the navbar not render properly. This patch removes the max version dependency, and instead excludes just the specific 1.32.2 version. Opening the package to the most up to date Streamlit features.

Full Changelog: 3.0.2...3.0.3

3.0.2

31 Mar 22:50
Compare
Choose a tag to compare

What changed

Bug fixes

  • Correct partially the scroll when mouse is not over the content
  • Correct iframe height bug

Version 3.0.1 fixed the navbar glitch, but introduced another bug: when the mouse was not over the page content it was not possible to scroll. This patch corrects that partially. Meaning, now the page can be scrolled again, even if the mouse is not over the content. However, if the mouse is over the navbar, the scroll will not work (and it should). A future update is needed to address this.

Full Changelog: 3.0.1...3.0.2

3.0.1

30 Mar 21:18
Compare
Choose a tag to compare

What changed

Bug fixes

  • Remove navbar flickering when clicked

Full Changelog: 3.0.0...3.0.1

3.0.0

28 Mar 14:09
Compare
Choose a tag to compare

What changed

Breaking changes

  • Separate options and adjust into two arguments

New features

  • Use CSS variables to match the navbar style with the active theme
  • Fix the shadow of the expanded sidebar

Bug fixes

  • Correct navbar appearance when a CSS variable is passed in styles
  • Use a unique spaceless container to make the CSS adjustments

Full Changelog: 2.0.0...3.0.0

2.0.0

12 Mar 21:59
Compare
Choose a tag to compare

What changed

New features

  • Integrate navbar with Streamlit UI

Bug fixes

  • Correct space between items in the navbar

Full Changelog: 1.1.2...2.0.0