Skip to content

Tags: arnaudmiribel/streamlit-extras

Tags

v1.6.0

Toggle v1.6.0's commit message
Bump version to 1.6.0

.... Generated with [Cortex Code](https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code)

Co-Authored-By: Cortex Code <noreply@snowflake.com>

v1.5.0

Toggle v1.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version from 1.4.1 to 1.5.0 (#351)

* Bump version from 1.4.1 to 1.5.0

* Update uv.lock for version 1.5.0

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>

v1.4.1

Toggle v1.4.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version to 1.4.1 (#340)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

v1.4.0

Toggle v1.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add image_compare_slider extra for comparing two images (#337)

* Add image_compare_slider extra for comparing two images

A new CCv2 React component that overlays two images with a draggable divider
for side-by-side comparison. Uses the react-compare-slider library for robust
drag handling and accessibility.

Features:
- Horizontal (left/right) and vertical (top/bottom) comparison modes
- Optional labels displayed on each image
- Customizable initial position (0-1 range)
- Auto-sizing based on image aspect ratio or fixed height
- Streamlit theme integration for handle styling

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Remove key from custom position example

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Update uv.lock

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Sync slider position when initialPosition prop changes

When the position parameter changes on rerun (without an explicit key),
the slider now updates to reflect the new value instead of keeping
the stale state from the first mount.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Fix uv.lock by removing exclude-newer options

Remove the [options] section with exclude-newer that was added from
a global uv configuration, causing CI failures.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Address code review feedback for ImageCompareSlider

- Add typed global Window interface for Streamlit config access
- Add ResizeObserver for responsive height calculation on container resize
- Add proper cleanup for image loading effect (isMounted flag, onload nullification)
- Use clamped float position instead of rounding for smoother dragging
- Add requestAnimationFrame throttling for position state updates to reduce reruns

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Update uv.lock

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Remove exclude-newer from uv.lock

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

v1.3.0

Toggle v1.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #326 from arnaudmiribel/extra-docs

v1.2.0

Toggle v1.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version to 1.2.0 (#317)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

v1.1.0

Toggle v1.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add `three_viewer` extra for 3D model rendering with Three.js (#313)

* Add three_viewer extra for 3D model rendering

Adds a new Three.js-based 3D model viewer component that supports
GLTF/GLB, OBJ, STL, PLY, and FBX formats. Models can be loaded from
URLs, local files, or bytes. Includes interactive orbit controls for
rotate, zoom, and pan.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Address code review feedback for three_viewer extra

- Fix docstring and __desc__ to include FBX in supported formats
- Add unit tests (__tests__) for _get_file_extension helper
- Fix URL fragment stripping in _get_file_extension
- Add file_format parameter for bytes/BytesIO inputs
- Add format validation before mounting component
- Add Streamlit version compatibility fallback for media manager
- Fix window access guard in urlUtils.ts for SSR safety
- Improve base-path derivation for single-segment subpaths
- Add cancellation handling for async model loading
- Add GPU resource disposal (geometries/materials/textures)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Fix docstring example formatting for mkdocstrings rendering

Convert Example sections from doctest format (>>> and ...) to markdown
code blocks (```python ... ```) so mkdocstrings renders them correctly
with proper line breaks and syntax highlighting. Also add blank line
after "Example:" for better readability.

Affected extras: cookie_manager, eval_javascript, json_editor,
local_storage_manager, pagination, radial_menu, redirect,
scroll_to_element, three_viewer

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Fix TypeScript error in material disposal function

specularMap doesn't exist on MeshStandardMaterial. Use dynamic
property access to safely dispose texture maps across material types.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Bump version to 1.1.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Update three_viewer author to Lukas Masuch

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Fix docstring example formatting for mkdocstrings rendering

Use doctest-style >>> examples instead of markdown code blocks.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Revert "Fix docstring example formatting for mkdocstrings rendering"

This reverts commit cf9217e.

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

v1.0.0

Toggle v1.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump ty from 0.0.22 to 0.0.23 in the python-minor group (#312)

Bumps the python-minor group with 1 update: [ty](https://github.com/astral-sh/ty).


Updates `ty` from 0.0.22 to 0.0.23
- [Release notes](https://github.com/astral-sh/ty/releases)
- [Changelog](https://github.com/astral-sh/ty/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ty@0.0.22...0.0.23)

---
updated-dependencies:
- dependency-name: ty
  dependency-version: 0.0.23
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: python-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

v0.7.8

Toggle v0.7.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #300 from arnaudmiribel/fix-floating-button

Fix CSS for FAB

v0.7.7

Toggle v0.7.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #297 from arnaudmiribel/fix-stlite-deps

Fix stlite deps