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
2 changes: 2 additions & 0 deletions chatkit/icons.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from pydantic import StringConstraints

VendorIconName = Annotated[str, StringConstraints(pattern=r"^vendor:")]
LucideIconName = Annotated[str, StringConstraints(pattern=r"^lucide:")]

IconName = (
Literal[
Expand Down Expand Up @@ -72,5 +73,6 @@
"write-alt2",
]
| VendorIconName
| LucideIconName
)
"""Allowed icon names."""
2 changes: 2 additions & 0 deletions chatkit/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

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