Commit Graph

1718 Commits

Author SHA1 Message Date
Paul Pinterits 24bdb05d33 begin refactoring _refresh_sync 2025-11-12 20:41:37 +01:00
Paul Pinterits 323a29258b organize Session code into multiple files 2025-11-12 20:41:37 +01:00
Aran-Fey 682ffef359 Merge pull request #309 from rio-labs/dependabot/pip/pytest-gte-8.2.1-and-lt-10.0
Update pytest requirement from <9.0,>=8.2.1 to >=8.2.1,<10.0
2025-11-10 19:48:15 +01:00
dependabot[bot] a4feba66e7 Update pytest requirement from <9.0,>=8.2.1 to >=8.2.1,<10.0
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.2.1...9.0.0)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 9.0.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 18:40:08 +00:00
Aran-Fey eefd56d8ca fix incorrect fill use in yes_no_dialog 2025-11-03 23:03:53 +01:00
Aran-Fey db2afb637b add setter for Session.theme 2025-11-03 22:55:44 +01:00
Aran-Fey d77b009f4f Merge pull request #308 from rio-labs/dependabot/pip/polars-gte-0.20-and-lt-1.36
Update polars requirement from <1.35,>=0.20 to >=0.20,<1.36
2025-11-03 19:58:41 +01:00
Aran-Fey c38dbb3387 Merge pull request #307 from rio-labs/dependabot/pip/fastapi-gte-0.110-and-lt-0.122
Update fastapi requirement from <0.121,>=0.110 to >=0.110,<0.122
2025-11-03 19:58:31 +01:00
dependabot[bot] ef5fe80123 Update polars requirement from <1.35,>=0.20 to >=0.20,<1.36
Updates the requirements on [polars](https://github.com/pola-rs/polars) to permit the latest version.
- [Release notes](https://github.com/pola-rs/polars/releases)
- [Commits](https://github.com/pola-rs/polars/compare/py-0.20.0...py-1.35.1)

---
updated-dependencies:
- dependency-name: polars
  dependency-version: 1.35.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-03 18:44:39 +00:00
dependabot[bot] 357d59d434 Update fastapi requirement from <0.121,>=0.110 to >=0.110,<0.122
Updates the requirements on [fastapi](https://github.com/fastapi/fastapi) to permit the latest version.
- [Release notes](https://github.com/fastapi/fastapi/releases)
- [Commits](https://github.com/fastapi/fastapi/compare/0.110.0...0.121.0)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-version: 0.121.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-03 18:44:10 +00:00
Jakob Pinterits 0fdc9dc3d0 update type hint for gradients 2025-11-02 17:00:42 +01:00
Mad Cow 162b62296a Merge pull request #306 from taharallouche/text-radial-gradient-fill
feat: add radial gradient fill for text
2025-11-02 16:58:21 +01:00
taharallouche 1b3990312f feat: add radial gradient fill for text 2025-11-01 07:38:10 +01:00
Jakob Pinterits 758b507a77 tiny refactor
- replace walrus operator with explicit assignment for clarity
- remove a comment which was helpful for purposes of the PR but has no
  place in the final codebase
2025-10-31 17:49:16 +01:00
FBruzzesi ae77f8261f use isinstance(dtype, (...)) 2025-10-30 21:53:01 +01:00
FBruzzesi 7612cd1660 add in type hint 2025-10-30 21:49:17 +01:00
FBruzzesi a267710c00 feat: Allow pyarrow.Table in Table component 2025-10-30 21:47:15 +01:00
Aran-Fey 53b5931b55 Merge pull request #304 from rio-labs/dependabot/pip/fastapi-gte-0.110-and-lt-0.121
Update fastapi requirement from <0.120,>=0.110 to >=0.110,<0.121
2025-10-27 19:43:31 +01:00
dependabot[bot] bb2130a221 Update fastapi requirement from <0.120,>=0.110 to >=0.110,<0.121
Updates the requirements on [fastapi](https://github.com/fastapi/fastapi) to permit the latest version.
- [Release notes](https://github.com/fastapi/fastapi/releases)
- [Commits](https://github.com/fastapi/fastapi/compare/0.110.0...0.120.1)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-version: 0.120.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 18:32:25 +00:00
Aran-Fey d404edd9ad Merge pull request #303 from rio-labs/dependabot/pip/pillow-gte-10.2-and-lt-13.0
Update pillow requirement from <12.0,>=10.2 to >=10.2,<13.0
2025-10-20 20:29:34 +02:00
Aran-Fey aad5c86d4a Merge pull request #302 from rio-labs/dependabot/pip/uvicorn-standard--gte-0.29.0-and-lt-0.39
Update uvicorn[standard] requirement from <0.38,>=0.29.0 to >=0.29.0,<0.39
2025-10-20 20:29:04 +02:00
dependabot[bot] 11b9472a09 Update pillow requirement from <12.0,>=10.2 to >=10.2,<13.0
Updates the requirements on [pillow](https://github.com/python-pillow/Pillow) to permit the latest version.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/10.2.0...12.0.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-version: 12.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 18:25:05 +00:00
dependabot[bot] 3156af3000 Update uvicorn[standard] requirement
Updates the requirements on [uvicorn[standard]](https://github.com/Kludex/uvicorn) to permit the latest version.
- [Release notes](https://github.com/Kludex/uvicorn/releases)
- [Changelog](https://github.com/Kludex/uvicorn/blob/main/docs/release-notes.md)
- [Commits](https://github.com/Kludex/uvicorn/compare/0.29.0...0.38.0)

---
updated-dependencies:
- dependency-name: uvicorn[standard]
  dependency-version: 0.38.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 18:23:34 +00:00
Aran-Fey 91b25ed830 refactor new PointerEventListener code 2025-10-16 23:29:53 +02:00
Aran-Fey a463493734 Merge pull request #301 from ilya-pevzner/on-resize
Pass capture flag to drag handler; cleanup
2025-10-16 22:46:30 +02:00
iap 6cdd3b523f Merge branch 'rio-labs:main' into on-resize 2025-10-16 16:38:16 -04:00
iap 1d672551d2 refactor repetitive code into a function 2025-10-16 16:37:25 -04:00
iap f3ec146392 pass capture flag to drag handler 2025-10-16 16:24:39 -04:00
Aran-Fey 1ac8733b26 Merge pull request #300 from ilya-pevzner/on-resize
Allow `PointerEventListener` and `MouseEventListener` to process events eaten by their children
2025-10-16 22:08:31 +02:00
iap fa1140e82a update test 2025-10-16 16:04:11 -04:00
iap c33e5b89d4 restore: revert MouseEventListener to original state
- MouseEventListener is deprecated, restore to main branch state
- Remove capture_events and consume_events parameters from deprecated component
- Focus changes on PointerEventListener only
2025-10-16 15:59:59 -04:00
iap 1e30b14ae7 remove the default behavior change in the previous commit.
- Add capture_events parameter to PointerEventListener and MouseEventListener
- Install event listeners in capture phase when capture_events=True
2025-10-16 14:42:17 -04:00
iap 2c2b761b18 merge changes from main branch 2025-10-16 11:57:26 -04:00
iap 6bf50bcca3 add consume_events to PointerEventListener and MouseEventListener; move event listeners to capture phase
- Frontend
  - pointerEventListener.ts: install click/pointer* handlers with addEventListener({ capture: true }); create/remove bound handlers lazily; honor consume_events by marking events handled in parent handler.
  - mouseEventListener.ts: same capture-phase install and lazy handler refs; consume_events respected.
- Tests
  - Add test_mouse_event_listener.py for consume_events and capture-phase propagation.
  - Update test_pointer_event_listener.py to reflect new capture behavior.

Behavior change:
- PointerEventListener propagation semantics changed: with capture-phase parent listeners, events now reach the parent first; if the parent’s handler consumes the event, the child won’t see it (previously a child consuming could prevent the parent from receiving it). This ensures the handler decides whether to consume.
2025-10-16 11:49:32 -04:00
Aran-Fey 6e4db8aad3 fix InputBox eating all pointer events (not just left button) 2025-10-14 07:38:42 +02:00
Aran-Fey 12d778ccaa Merge pull request #298 from rio-labs/dependabot/pip/fastapi-gte-0.110-and-lt-0.120
Update fastapi requirement from <0.119,>=0.110 to >=0.110,<0.120
2025-10-13 20:35:46 +02:00
Aran-Fey f6667832fa Merge pull request #299 from rio-labs/dependabot/pip/isort-gte-5.13-and-lt-8.0
Update isort requirement from <7.0,>=5.13 to >=5.13,<8.0
2025-10-13 20:35:34 +02:00
Aran-Fey a694921655 small improvements 2025-10-13 20:33:03 +02:00
dependabot[bot] 3e93021188 Update isort requirement from <7.0,>=5.13 to >=5.13,<8.0
Updates the requirements on [isort](https://github.com/PyCQA/isort) to permit the latest version.
- [Release notes](https://github.com/PyCQA/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md)
- [Commits](https://github.com/PyCQA/isort/compare/5.13.0...7.0.0)

---
updated-dependencies:
- dependency-name: isort
  dependency-version: 7.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 18:27:37 +00:00
dependabot[bot] 8233788011 Update fastapi requirement from <0.119,>=0.110 to >=0.110,<0.120
Updates the requirements on [fastapi](https://github.com/fastapi/fastapi) to permit the latest version.
- [Release notes](https://github.com/fastapi/fastapi/releases)
- [Commits](https://github.com/fastapi/fastapi/compare/0.110.0...0.119.0)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-version: 0.119.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 18:26:43 +00:00
Aran-Fey 8ccb8ee69d fix image size not resetting during loading animation 2025-10-13 20:19:11 +02:00
Aran-Fey 7952e6ea32 Merge pull request #297 from ilya-pevzner/on-resize
A small fix for list item selection/click interaction
2025-10-13 20:15:38 +02:00
iap d7645b96a5 resolve conflict 2025-10-13 01:03:40 -04:00
iap 3c32073ee9 small fix for list selection/click interaction 2025-10-12 21:46:41 -04:00
Aran-Fey 592657514e populate changelog 2025-10-11 14:27:57 +02:00
Aran-Fey 046b2c4a67 Merge pull request #296 from rio-labs/dependabot/pip/aiofiles-gte-24.1-and-lt-26.0
Update aiofiles requirement from <25.0,>=24.1 to >=24.1,<26.0
2025-10-11 14:06:40 +02:00
Aran-Fey 39dde283b0 Merge pull request #295 from rio-labs/dependabot/pip/ruff-gte-0.9.9-and-lt-0.15
Update ruff requirement from <0.14,>=0.9.9 to >=0.9.9,<0.15
2025-10-11 14:06:12 +02:00
dependabot[bot] 1c3a3ee01e Update aiofiles requirement from <25.0,>=24.1 to >=24.1,<26.0
Updates the requirements on [aiofiles](https://github.com/Tinche/aiofiles) to permit the latest version.
- [Release notes](https://github.com/Tinche/aiofiles/releases)
- [Changelog](https://github.com/Tinche/aiofiles/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Tinche/aiofiles/compare/v24.1.0...v25.1.0)

---
updated-dependencies:
- dependency-name: aiofiles
  dependency-version: 25.1.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-11 11:50:43 +00:00
dependabot[bot] 8807e622a4 Update ruff requirement from <0.14,>=0.9.9 to >=0.9.9,<0.15
Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.9.9...0.14.0)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.14.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-11 11:50:31 +00:00
Jakob Pinterits 51cbcf9d18 update pre-commit hooks
This commit updates the ruff pre-commit hook to the latest version. It
also **downgrades** prettier to the latest supported stable version
(from using an alpha) as the configured alpha was causing memory
exhaustion on some systems (>40GiB RAM usage).
2025-10-11 13:47:21 +02:00