Skip to content

Commit 1df7788

Browse files
committed
Input block should accept EmailTextInput and URLTextInput elements
1 parent 910cf8c commit 1df7788

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

blockkit/blocks.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
ConversationsSelect,
1212
DatePicker,
1313
DatetimePicker,
14+
EmailTextInput,
1415
ExternalSelect,
1516
FileInput,
1617
Image,
@@ -29,6 +30,7 @@
2930
RichTextSection,
3031
StaticSelect,
3132
TimePicker,
33+
URLTextInput,
3234
UsersSelect,
3335
)
3436
from blockkit.objects import MarkdownText, PlainText
@@ -156,6 +158,8 @@ def __init__(
156158
TimePicker,
157159
NumberInput,
158160
FileInput,
161+
EmailTextInput,
162+
URLTextInput,
159163
]
160164

161165

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
1414
AUTHOR = "Dmitry Chernyshov"
1515
REQUIRES_PYTHON = ">=3.7.0"
16-
VERSION = "1.9.0"
16+
VERSION = "1.9.1"
1717

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

0 commit comments

Comments
 (0)