From 1df7788ef7e21021b68e1be14ae31758cdcb8c31 Mon Sep 17 00:00:00 2001 From: ryche Date: Fri, 17 May 2024 09:51:35 +0200 Subject: [PATCH] Input block should accept EmailTextInput and URLTextInput elements --- blockkit/blocks.py | 4 ++++ setup.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/blockkit/blocks.py b/blockkit/blocks.py index 05b2a08..59f32da 100644 --- a/blockkit/blocks.py +++ b/blockkit/blocks.py @@ -11,6 +11,7 @@ ConversationsSelect, DatePicker, DatetimePicker, + EmailTextInput, ExternalSelect, FileInput, Image, @@ -29,6 +30,7 @@ RichTextSection, StaticSelect, TimePicker, + URLTextInput, UsersSelect, ) from blockkit.objects import MarkdownText, PlainText @@ -156,6 +158,8 @@ def __init__( TimePicker, NumberInput, FileInput, + EmailTextInput, + URLTextInput, ] diff --git a/setup.py b/setup.py index b1e13b2..561a554 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ EMAIL = "imryche13@gmail.com" AUTHOR = "Dmitry Chernyshov" REQUIRES_PYTHON = ">=3.7.0" -VERSION = "1.9.0" +VERSION = "1.9.1" REQUIRED = ["pydantic[email]>=2,<3"] EXTRAS = {"gen": ["black"]}