streamlit-sortable-multiselect 0.7.7__tar.gz → 0.7.8__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 (17) hide show
  1. {streamlit_sortable_multiselect-0.7.7/streamlit_sortable_multiselect.egg-info → streamlit_sortable_multiselect-0.7.8}/PKG-INFO +2 -2
  2. {streamlit_sortable_multiselect-0.7.7 → streamlit_sortable_multiselect-0.7.8}/README.md +1 -1
  3. {streamlit_sortable_multiselect-0.7.7 → streamlit_sortable_multiselect-0.7.8}/pyproject.toml +1 -1
  4. {streamlit_sortable_multiselect-0.7.7 → streamlit_sortable_multiselect-0.7.8}/streamlit_sortable_multiselect/__init__.py +1 -1
  5. streamlit_sortable_multiselect-0.7.8/streamlit_sortable_multiselect/frontend/build/assets/index-9M_rp0G-.js +67 -0
  6. {streamlit_sortable_multiselect-0.7.7 → streamlit_sortable_multiselect-0.7.8}/streamlit_sortable_multiselect/frontend/build/index.html +1 -1
  7. {streamlit_sortable_multiselect-0.7.7 → streamlit_sortable_multiselect-0.7.8/streamlit_sortable_multiselect.egg-info}/PKG-INFO +2 -2
  8. {streamlit_sortable_multiselect-0.7.7 → streamlit_sortable_multiselect-0.7.8}/streamlit_sortable_multiselect.egg-info/SOURCES.txt +1 -1
  9. {streamlit_sortable_multiselect-0.7.7 → streamlit_sortable_multiselect-0.7.8}/tests/test_wrapper.py +1 -1
  10. streamlit_sortable_multiselect-0.7.7/streamlit_sortable_multiselect/frontend/build/assets/index-DD38ua0m.js +0 -67
  11. {streamlit_sortable_multiselect-0.7.7 → streamlit_sortable_multiselect-0.7.8}/LICENSE +0 -0
  12. {streamlit_sortable_multiselect-0.7.7 → streamlit_sortable_multiselect-0.7.8}/MANIFEST.in +0 -0
  13. {streamlit_sortable_multiselect-0.7.7 → streamlit_sortable_multiselect-0.7.8}/setup.cfg +0 -0
  14. {streamlit_sortable_multiselect-0.7.7 → streamlit_sortable_multiselect-0.7.8}/streamlit_sortable_multiselect/frontend/build/assets/index-B1hHAom_.css +0 -0
  15. {streamlit_sortable_multiselect-0.7.7 → streamlit_sortable_multiselect-0.7.8}/streamlit_sortable_multiselect.egg-info/dependency_links.txt +0 -0
  16. {streamlit_sortable_multiselect-0.7.7 → streamlit_sortable_multiselect-0.7.8}/streamlit_sortable_multiselect.egg-info/requires.txt +0 -0
  17. {streamlit_sortable_multiselect-0.7.7 → streamlit_sortable_multiselect-0.7.8}/streamlit_sortable_multiselect.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: streamlit-sortable-multiselect
3
- Version: 0.7.7
3
+ Version: 0.7.8
4
4
  Summary: A Streamlit custom component for selecting and reordering multiple string values.
5
5
  Author: Kentaro Aoki
6
6
  License-Expression: MIT
@@ -96,7 +96,7 @@ st.write(selected)
96
96
  | --- | --- | --- | --- |
97
97
  | `label` | `str` | required | Label displayed above the component. |
98
98
  | `options` | `Sequence[str \| Mapping[str, Any]]` | required | Available options. Each option can be a plain string, or a dictionary with `label`, `value`, and optional `icon_url`. Option values must be unique. |
99
- | `default` | `Sequence[str] \| None` | `None` | Initially selected values, in the initial order. Values must exist in `options` and must not contain duplicates. |
99
+ | `default` | `Sequence[str] \| None` | `None` | Initially selected values, in the initial order. Changing the values or their order replaces the current selection. Values must exist in `options` and must not contain duplicates. |
100
100
  | `placeholder` | `str` | `"Select..."` | Placeholder shown in the search/add input when options are available. |
101
101
  | `disabled` | `bool` | `False` | Disables searching, selecting, removing, dragging, and move buttons. |
102
102
  | `show_move_buttons` | `bool` | `True` | Shows up/down buttons on selected items. Drag sorting remains available unless `disabled=True`. |
@@ -68,7 +68,7 @@ st.write(selected)
68
68
  | --- | --- | --- | --- |
69
69
  | `label` | `str` | required | Label displayed above the component. |
70
70
  | `options` | `Sequence[str \| Mapping[str, Any]]` | required | Available options. Each option can be a plain string, or a dictionary with `label`, `value`, and optional `icon_url`. Option values must be unique. |
71
- | `default` | `Sequence[str] \| None` | `None` | Initially selected values, in the initial order. Values must exist in `options` and must not contain duplicates. |
71
+ | `default` | `Sequence[str] \| None` | `None` | Initially selected values, in the initial order. Changing the values or their order replaces the current selection. Values must exist in `options` and must not contain duplicates. |
72
72
  | `placeholder` | `str` | `"Select..."` | Placeholder shown in the search/add input when options are available. |
73
73
  | `disabled` | `bool` | `False` | Disables searching, selecting, removing, dragging, and move buttons. |
74
74
  | `show_move_buttons` | `bool` | `True` | Shows up/down buttons on selected items. Drag sorting remains available unless `disabled=True`. |
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "streamlit-sortable-multiselect"
7
- version = "0.7.7"
7
+ version = "0.7.8"
8
8
  description = "A Streamlit custom component for selecting and reordering multiple string values."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -9,7 +9,7 @@ from urllib.parse import urlparse
9
9
 
10
10
  import streamlit.components.v1 as components
11
11
 
12
- __version__ = "0.7.7"
12
+ __version__ = "0.7.8"
13
13
  __all__ = ["COLOR_FIELDS", "COLOR_SOURCES", "ColorValue", "sortable_multiselect"]
14
14
 
15
15
  _COMPONENT_NAME = "streamlit_sortable_multiselect"