From 2903aa4493ea5779eaa9870b4d6e3406be3808e2 Mon Sep 17 00:00:00 2001 From: Jiwon Kim Date: Fri, 9 Jan 2026 09:56:27 -0800 Subject: [PATCH 1/3] Add support for lucide: prefixed icons --- chatkit/icons.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chatkit/icons.py b/chatkit/icons.py index 0b91f64..5e6c4a1 100644 --- a/chatkit/icons.py +++ b/chatkit/icons.py @@ -3,6 +3,7 @@ from pydantic import StringConstraints VendorIconName = Annotated[str, StringConstraints(pattern=r"^vendor:")] +LucideIconName = Annotated[str, StringConstraints(pattern=r"^lucide:")] IconName = ( Literal[ @@ -72,5 +73,6 @@ "write-alt2", ] | VendorIconName + | LucideIconName ) """Allowed icon names.""" From 60973f985a237921bb50e709ea1cabe635bdcc82 Mon Sep 17 00:00:00 2001 From: Jiwon Kim Date: Fri, 9 Jan 2026 15:38:03 -0800 Subject: [PATCH 2/3] Add 'searchable' field to Select --- chatkit/widgets.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chatkit/widgets.py b/chatkit/widgets.py index a2d80d1..80492d1 100644 --- a/chatkit/widgets.py +++ b/chatkit/widgets.py @@ -703,6 +703,8 @@ class Select(WidgetComponentBase): """Show a clear control to unset the value.""" disabled: bool | None = None """Disable interactions and apply disabled styles.""" + searchable: bool | None = None + """Enables the search input. Defaults to enabling search when there are more than 15 options.""" @_direct_usage_of_named_widget_types_deprecated From cec87b20f1817daa284c63d63ca7cf3f69a38f07 Mon Sep 17 00:00:00 2001 From: Jiwon Kim Date: Fri, 9 Jan 2026 15:39:13 -0800 Subject: [PATCH 3/3] Bump to 1.5.2 --- pyproject.toml | 2 +- uv.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 90e5de8..459f2e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "openai-chatkit" -version = "1.5.1" +version = "1.5.2" description = "A ChatKit backend SDK." readme = "README.md" requires-python = ">=3.10" diff --git a/uv.lock b/uv.lock index 47b19a5..36a2b58 100644 --- a/uv.lock +++ b/uv.lock @@ -819,7 +819,7 @@ wheels = [ [[package]] name = "openai-chatkit" -version = "1.5.1" +version = "1.5.2" source = { virtual = "." } dependencies = [ { name = "jinja2" },