slack-blocks-to-jsx 0.3.10 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -36
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -6151
- package/dist/index.mjs +1 -6117
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,37 +1 @@
|
|
|
1
1
|
# slack-blocks-to-jsx
|
|
2
|
-
|
|
3
|
-
## 0.0.7
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- 78da930: Fix css build structure, export typescript types and remove tailwind from npm build
|
|
8
|
-
|
|
9
|
-
## 0.0.6
|
|
10
|
-
|
|
11
|
-
### Patch Changes
|
|
12
|
-
|
|
13
|
-
- 5fa6e84: Allow react and react dom to be 17 or 18
|
|
14
|
-
|
|
15
|
-
## 0.0.5
|
|
16
|
-
|
|
17
|
-
### Patch Changes
|
|
18
|
-
|
|
19
|
-
- 87a3113: Setup tailwindcss n add build script for it
|
|
20
|
-
|
|
21
|
-
## 0.0.4
|
|
22
|
-
|
|
23
|
-
### Patch Changes
|
|
24
|
-
|
|
25
|
-
- c8d42a6: minor fix in emoji formating
|
|
26
|
-
|
|
27
|
-
## 0.0.3
|
|
28
|
-
|
|
29
|
-
### Patch Changes
|
|
30
|
-
|
|
31
|
-
- 3d7b5d1: fix build bugs
|
|
32
|
-
|
|
33
|
-
## 0.0.2
|
|
34
|
-
|
|
35
|
-
### Patch Changes
|
|
36
|
-
|
|
37
|
-
- 57b7257: Initial Setup
|
package/dist/index.d.mts
CHANGED
|
@@ -1111,17 +1111,16 @@ type Hooks = {
|
|
|
1111
1111
|
fallback: string;
|
|
1112
1112
|
}) => ReactNode;
|
|
1113
1113
|
};
|
|
1114
|
-
type
|
|
1114
|
+
type GlobalStore = {
|
|
1115
1115
|
users: User[];
|
|
1116
1116
|
channels: Channel[];
|
|
1117
1117
|
user_groups: UserGroup[];
|
|
1118
1118
|
hooks: Hooks;
|
|
1119
1119
|
setUsers: (users: User[]) => void;
|
|
1120
1120
|
setChannels: (channels: Channel[]) => void;
|
|
1121
|
-
setUserGroups: (
|
|
1121
|
+
setUserGroups: (userGroups: UserGroup[]) => void;
|
|
1122
1122
|
setHooks: (hooks: Hooks) => void;
|
|
1123
1123
|
};
|
|
1124
|
-
type GlobalStore = Data;
|
|
1125
1124
|
|
|
1126
1125
|
type Props = {
|
|
1127
1126
|
/**
|
|
@@ -1150,6 +1149,7 @@ type Props = {
|
|
|
1150
1149
|
*/
|
|
1151
1150
|
withoutWrapper?: boolean;
|
|
1152
1151
|
};
|
|
1152
|
+
type MessageProps = Props;
|
|
1153
1153
|
declare const Message: (props: Props) => react_jsx_runtime.JSX.Element;
|
|
1154
1154
|
|
|
1155
|
-
export { ActionsBlock, Block, ButtonElement, ChannelsSelectElement, CheckboxesElement, ConfirmDialogObject, ContextBlock, ConversationsSelectElement, DatePickerElement, DateTimePickerElement, DispatchActionConfigObject, DividerBlock, Element, EmailInputElement, ExternalSelectElement, FileBlock, FilterObject, HeaderBlock, ImageBlock, ImageElement, InputBlock, Message, MultiChannelsSelectElement, MultiConversationsSelectElement, MultiExternalSelectElement, MultiStaticSelectElement, MultiUsersSelectElement, NumberInputElement, OptionGroupObject, OptionObject, OptionObjectWithoutUrl, OverflowMenuElement, PlainTextInputElement, RadioButtonsElement, RichTextBlock, RichTextBlockElement, RichTextBlockSubElement, RichTextList, RichTextPreformatted, RichTextQuote, RichTextSection, RichTextSectionBroadcast, RichTextSectionChannel, RichTextSectionDate, RichTextSectionElement, RichTextSectionElementStyle, RichTextSectionElementStyleCode, RichTextSectionEmoji, RichTextSectionLink, RichTextSectionText, RichTextSectionUser, RichTextSectionUsergroup, SectionBlock, StaticSelectElement, Style, TextObject, TextObjectTextType, TimePickerElement, UrlTextInputElement, UsersSelectElement, VideoBlock };
|
|
1155
|
+
export { ActionsBlock, Block, ButtonElement, ChannelsSelectElement, CheckboxesElement, ConfirmDialogObject, ContextBlock, ConversationsSelectElement, DatePickerElement, DateTimePickerElement, DispatchActionConfigObject, DividerBlock, Element, EmailInputElement, ExternalSelectElement, FileBlock, FilterObject, HeaderBlock, ImageBlock, ImageElement, InputBlock, Message, MessageProps, MultiChannelsSelectElement, MultiConversationsSelectElement, MultiExternalSelectElement, MultiStaticSelectElement, MultiUsersSelectElement, NumberInputElement, OptionGroupObject, OptionObject, OptionObjectWithoutUrl, OverflowMenuElement, PlainTextInputElement, RadioButtonsElement, RichTextBlock, RichTextBlockElement, RichTextBlockSubElement, RichTextList, RichTextPreformatted, RichTextQuote, RichTextSection, RichTextSectionBroadcast, RichTextSectionChannel, RichTextSectionDate, RichTextSectionElement, RichTextSectionElementStyle, RichTextSectionElementStyleCode, RichTextSectionEmoji, RichTextSectionLink, RichTextSectionText, RichTextSectionUser, RichTextSectionUsergroup, SectionBlock, StaticSelectElement, Style, TextObject, TextObjectTextType, TimePickerElement, UrlTextInputElement, UsersSelectElement, VideoBlock };
|
package/dist/index.d.ts
CHANGED
|
@@ -1111,17 +1111,16 @@ type Hooks = {
|
|
|
1111
1111
|
fallback: string;
|
|
1112
1112
|
}) => ReactNode;
|
|
1113
1113
|
};
|
|
1114
|
-
type
|
|
1114
|
+
type GlobalStore = {
|
|
1115
1115
|
users: User[];
|
|
1116
1116
|
channels: Channel[];
|
|
1117
1117
|
user_groups: UserGroup[];
|
|
1118
1118
|
hooks: Hooks;
|
|
1119
1119
|
setUsers: (users: User[]) => void;
|
|
1120
1120
|
setChannels: (channels: Channel[]) => void;
|
|
1121
|
-
setUserGroups: (
|
|
1121
|
+
setUserGroups: (userGroups: UserGroup[]) => void;
|
|
1122
1122
|
setHooks: (hooks: Hooks) => void;
|
|
1123
1123
|
};
|
|
1124
|
-
type GlobalStore = Data;
|
|
1125
1124
|
|
|
1126
1125
|
type Props = {
|
|
1127
1126
|
/**
|
|
@@ -1150,6 +1149,7 @@ type Props = {
|
|
|
1150
1149
|
*/
|
|
1151
1150
|
withoutWrapper?: boolean;
|
|
1152
1151
|
};
|
|
1152
|
+
type MessageProps = Props;
|
|
1153
1153
|
declare const Message: (props: Props) => react_jsx_runtime.JSX.Element;
|
|
1154
1154
|
|
|
1155
|
-
export { ActionsBlock, Block, ButtonElement, ChannelsSelectElement, CheckboxesElement, ConfirmDialogObject, ContextBlock, ConversationsSelectElement, DatePickerElement, DateTimePickerElement, DispatchActionConfigObject, DividerBlock, Element, EmailInputElement, ExternalSelectElement, FileBlock, FilterObject, HeaderBlock, ImageBlock, ImageElement, InputBlock, Message, MultiChannelsSelectElement, MultiConversationsSelectElement, MultiExternalSelectElement, MultiStaticSelectElement, MultiUsersSelectElement, NumberInputElement, OptionGroupObject, OptionObject, OptionObjectWithoutUrl, OverflowMenuElement, PlainTextInputElement, RadioButtonsElement, RichTextBlock, RichTextBlockElement, RichTextBlockSubElement, RichTextList, RichTextPreformatted, RichTextQuote, RichTextSection, RichTextSectionBroadcast, RichTextSectionChannel, RichTextSectionDate, RichTextSectionElement, RichTextSectionElementStyle, RichTextSectionElementStyleCode, RichTextSectionEmoji, RichTextSectionLink, RichTextSectionText, RichTextSectionUser, RichTextSectionUsergroup, SectionBlock, StaticSelectElement, Style, TextObject, TextObjectTextType, TimePickerElement, UrlTextInputElement, UsersSelectElement, VideoBlock };
|
|
1155
|
+
export { ActionsBlock, Block, ButtonElement, ChannelsSelectElement, CheckboxesElement, ConfirmDialogObject, ContextBlock, ConversationsSelectElement, DatePickerElement, DateTimePickerElement, DispatchActionConfigObject, DividerBlock, Element, EmailInputElement, ExternalSelectElement, FileBlock, FilterObject, HeaderBlock, ImageBlock, ImageElement, InputBlock, Message, MessageProps, MultiChannelsSelectElement, MultiConversationsSelectElement, MultiExternalSelectElement, MultiStaticSelectElement, MultiUsersSelectElement, NumberInputElement, OptionGroupObject, OptionObject, OptionObjectWithoutUrl, OverflowMenuElement, PlainTextInputElement, RadioButtonsElement, RichTextBlock, RichTextBlockElement, RichTextBlockSubElement, RichTextList, RichTextPreformatted, RichTextQuote, RichTextSection, RichTextSectionBroadcast, RichTextSectionChannel, RichTextSectionDate, RichTextSectionElement, RichTextSectionElementStyle, RichTextSectionElementStyleCode, RichTextSectionEmoji, RichTextSectionLink, RichTextSectionText, RichTextSectionUser, RichTextSectionUsergroup, SectionBlock, StaticSelectElement, Style, TextObject, TextObjectTextType, TimePickerElement, UrlTextInputElement, UsersSelectElement, VideoBlock };
|