Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions chartlets.js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion chartlets.js/packages/demo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chartlets-demo",
"version": "0.1.0-dev.0",
"version": "0.1.0",
"description": "Demonstrator for the Chartlets framework.",
"type": "module",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion chartlets.js/packages/lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chartlets",
"version": "0.1.0-dev.0",
"version": "0.1.0",
"description": "An experimental library for integrating interactive charts into existing JavaScript applications.",
"type": "module",
"files": [
Expand Down
6 changes: 4 additions & 2 deletions chartlets.py/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## Version 0.1.0 (in development)

* Reorganised Chartlets project to better separate demo from library code.
## Version 0.1.0 (from 2025/01/14)

* Reorganised Chartlets project to better separate demo from library code.
Created separate folder `demo` in `chartlets.py` that contains
a demo `server` package and example configuration.
Also simplified demo server code:
Expand All @@ -25,6 +26,7 @@
- `Slider`
- `Tabs` and `Tab`


## Version 0.0.29 (from 2024/11/26)

* Fixed a bug that prevents using annotations of type `dict` or `dict[str, T]`.
Expand Down
2 changes: 1 addition & 1 deletion chartlets.py/chartlets/components/slider.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class Slider(Component):
tooltip: str | None = None
"""Tooltip title. Optional."""

track: Literal["inverted", "normal"] | False | None = None
track: Literal["inverted", "normal"] | bool | None = None
"""The track presentation:

- `normal`: the track will render a bar representing the slider value.
Expand Down
2 changes: 1 addition & 1 deletion chartlets.py/chartlets/util/assertions.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ def assert_is_instance_of(name: str, value: Any, type_set: Type | tuple[Type, ..
type_set = (type_set,)
raise TypeError(
f"value of {name!r} must be of type"
f" {" or ".join(map(lambda t: t.__name__, type_set))},"
f" {' or '.join(map(lambda t: t.__name__, type_set))},"
f" but was {'None' if value is None else type(value).__name__}"
)
2 changes: 1 addition & 1 deletion chartlets.py/chartlets/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "0.1.0.dev0"
version = "0.1.0"
Loading