slack-blocks-to-jsx 0.3.9 → 0.4.0
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 +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +32 -6145
- package/dist/index.mjs +32 -6111
- 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
|
@@ -1103,7 +1103,7 @@ type Hooks = {
|
|
|
1103
1103
|
atChannel?: () => ReactNode;
|
|
1104
1104
|
atEveryone?: () => ReactNode;
|
|
1105
1105
|
atHere?: () => ReactNode;
|
|
1106
|
-
emoji?: (name: string) =>
|
|
1106
|
+
emoji?: (name: string, parse: (name: string) => string) => ReactNode;
|
|
1107
1107
|
date?: (data: {
|
|
1108
1108
|
timestamp: string;
|
|
1109
1109
|
format: string;
|
|
@@ -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
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1103,7 +1103,7 @@ type Hooks = {
|
|
|
1103
1103
|
atChannel?: () => ReactNode;
|
|
1104
1104
|
atEveryone?: () => ReactNode;
|
|
1105
1105
|
atHere?: () => ReactNode;
|
|
1106
|
-
emoji?: (name: string) =>
|
|
1106
|
+
emoji?: (name: string, parse: (name: string) => string) => ReactNode;
|
|
1107
1107
|
date?: (data: {
|
|
1108
1108
|
timestamp: string;
|
|
1109
1109
|
format: string;
|
|
@@ -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
|
/**
|