Streamlit-navigation-bar

Latest version: v3.3.0

Safety actively analyzes 688896 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

3.3.0

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`](https://docs.streamlit.io/develop/api-reference/widgets/st.button) outside the navbar, to switch to a different page. Similar to what [`st.page_link`](https://docs.streamlit.io/develop/api-reference/widgets/st.page_link) does, but using the [recommended structure](https://github.com/gabrieltempass/streamlit-navigation-bar/wiki/Multipage#recommended-structure).

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

**Full Changelog**: https://github.com/gabrieltempass/streamlit-navigation-bar/compare/3.2.0...3.3.0

3.2.0

What changed

New features
* Add new `"hide_nav"` option

Other changes
* Change from `st.markdown` to new `st.html`

**Full Changelog**: https://github.com/gabrieltempass/streamlit-navigation-bar/compare/3.1.2...3.2.0

3.1.2

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**: https://github.com/gabrieltempass/streamlit-navigation-bar/compare/3.1.1...3.1.2

3.1.1

What changed

Bug fixes
* Adjust exact value of default body position

**Full Changelog**: https://github.com/gabrieltempass/streamlit-navigation-bar/compare/3.1.0...3.1.1

3.1.0

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**: https://github.com/gabrieltempass/streamlit-navigation-bar/compare/3.0.3...3.1.0

3.0.3

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**: https://github.com/gabrieltempass/streamlit-navigation-bar/compare/3.0.2...3.0.3

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.