Skip to content

Commit

Permalink
Input block should accept EmailTextInput and URLTextInput elements
Browse files Browse the repository at this point in the history
  • Loading branch information
imryche committed May 17, 2024
1 parent 910cf8c commit 1df7788
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions blockkit/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
ConversationsSelect,
DatePicker,
DatetimePicker,
EmailTextInput,
ExternalSelect,
FileInput,
Image,
Expand All @@ -29,6 +30,7 @@
RichTextSection,
StaticSelect,
TimePicker,
URLTextInput,
UsersSelect,
)
from blockkit.objects import MarkdownText, PlainText
Expand Down Expand Up @@ -156,6 +158,8 @@ def __init__(
TimePicker,
NumberInput,
FileInput,
EmailTextInput,
URLTextInput,
]


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
EMAIL = "[email protected]"
AUTHOR = "Dmitry Chernyshov"
REQUIRES_PYTHON = ">=3.7.0"
VERSION = "1.9.0"
VERSION = "1.9.1"

REQUIRED = ["pydantic[email]>=2,<3"]
EXTRAS = {"gen": ["black"]}
Expand Down

0 comments on commit 1df7788

Please sign in to comment.