streamlit-react-components 1.8.1.5__tar.gz → 1.8.1.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. {streamlit_react_components-1.8.1.5/src/streamlit_react_components.egg-info → streamlit_react_components-1.8.1.6}/PKG-INFO +1 -1
  2. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/pyproject.toml +1 -1
  3. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/common/button_group.py +2 -2
  4. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/common/data_table.py +2 -2
  5. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/common/step_indicator.py +2 -2
  6. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6/src/streamlit_react_components.egg-info}/PKG-INFO +1 -1
  7. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/MANIFEST.in +0 -0
  8. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/README.md +0 -0
  9. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/setup.cfg +0 -0
  10. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/__init__.py +0 -0
  11. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/_frontend/index.css +0 -0
  12. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/_frontend/index.html +0 -0
  13. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/_frontend/index.js +0 -0
  14. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/common/__init__.py +0 -0
  15. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/common/chart_legend.py +0 -0
  16. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/common/metric_row.py +0 -0
  17. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/common/panel.py +0 -0
  18. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/common/plotly_chart.py +0 -0
  19. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/common/section_header.py +0 -0
  20. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/common/smart_chart.py +0 -0
  21. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/common/stat_card.py +0 -0
  22. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/form/__init__.py +0 -0
  23. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/form/checkbox_group.py +0 -0
  24. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/form/form_date_slider.py +0 -0
  25. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/form/form_select.py +0 -0
  26. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/form/form_slider.py +0 -0
  27. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/form/radio_group.py +0 -0
  28. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/styled_container.py +0 -0
  29. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/tailwind.py +0 -0
  30. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components/themes.py +0 -0
  31. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components.egg-info/SOURCES.txt +0 -0
  32. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components.egg-info/dependency_links.txt +0 -0
  33. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components.egg-info/requires.txt +0 -0
  34. {streamlit_react_components-1.8.1.5 → streamlit_react_components-1.8.1.6}/src/streamlit_react_components.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: streamlit-react-components
3
- Version: 1.8.1.5
3
+ Version: 1.8.1.6
4
4
  Summary: Reusable React-based Streamlit components with Tailwind CSS styling
5
5
  License: MIT
6
6
  Project-URL: Homepage, https://github.com/your-org/streamlit-react-components
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "streamlit-react-components"
7
- version = "1.8.1.5"
7
+ version = "1.8.1.6"
8
8
  description = "Reusable React-based Streamlit components with Tailwind CSS styling"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -90,8 +90,8 @@ def button_group(
90
90
  prev_key = f"_button_group_prev_{key}"
91
91
  prev_value = st.session_state.get(prev_key)
92
92
 
93
- # Only fire callback if value actually changed (not on first render)
94
- if prev_value is not None and result != prev_value:
93
+ # Only fire callback if a button was clicked (result not None) and it's different from previous
94
+ if result is not None and result != prev_value:
95
95
  on_change(*(args or ()), **(kwargs or {}))
96
96
 
97
97
  # Always update previous value
@@ -86,8 +86,8 @@ def data_table(
86
86
  prev_key = f"_data_table_prev_{key}"
87
87
  prev_value = st.session_state.get(prev_key)
88
88
 
89
- # Only fire callback if value actually changed (not on first render)
90
- if prev_value is not None and result != prev_value:
89
+ # Only fire callback if a row was clicked (result not None) and it's different from previous
90
+ if result is not None and result != prev_value:
91
91
  on_change(*(args or ()), **(kwargs or {}))
92
92
 
93
93
  # Always update previous value
@@ -72,8 +72,8 @@ def step_indicator(
72
72
  prev_key = f"_step_indicator_prev_{key}"
73
73
  prev_value = st.session_state.get(prev_key)
74
74
 
75
- # Only fire callback if value actually changed (not on first render)
76
- if prev_value is not None and result != prev_value:
75
+ # Only fire callback if a step was clicked (result not None) and it's different from previous
76
+ if result is not None and result != prev_value:
77
77
  on_change(*(args or ()), **(kwargs or {}))
78
78
 
79
79
  # Always update previous value
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: streamlit-react-components
3
- Version: 1.8.1.5
3
+ Version: 1.8.1.6
4
4
  Summary: Reusable React-based Streamlit components with Tailwind CSS styling
5
5
  License: MIT
6
6
  Project-URL: Homepage, https://github.com/your-org/streamlit-react-components