@blocklet/discuss-kit-ux 1.6.173 → 1.6.175
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/dist/components/avatars/avatars.d.ts +3 -2
- package/dist/components/avatars/channel-group.d.ts +7 -0
- package/dist/components/avatars/index.d.ts +1 -0
- package/dist/components/avatars/system-user.d.ts +2 -1
- package/dist/components/chat/types.d.ts +1 -0
- package/dist/components/lexical.d.ts +1 -1
- package/dist/components/locale/en.d.ts +30 -1
- package/dist/components/locale/index.d.ts +60 -2
- package/dist/components/locale/zh.d.ts +30 -1
- package/dist/components/segmented-control.d.ts +14 -0
- package/dist/components/utils.d.ts +4 -0
- package/dist/{editor-8X1A2syI.mjs → editor-tuTpD7pf.mjs} +6 -2
- package/dist/{index-XTjHijc6.mjs → index-7VREaKfa.mjs} +538 -195
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +57 -51
- package/dist/index.umd.js +483 -144
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -25,5 +25,6 @@ export { default as preferences } from './preferences';
|
|
|
25
25
|
export * from './components/uploader';
|
|
26
26
|
export * from './components/point-up';
|
|
27
27
|
export * from './components/button-group';
|
|
28
|
+
export * from './components/segmented-control';
|
|
28
29
|
export * from './ws';
|
|
29
30
|
export { default as RelativeTime } from './components/shared/relative-time';
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "@blocklet/labels";
|
|
2
|
-
import {
|
|
2
|
+
import { O, j, T, A, h, a9, B, z, H, F, J, al, m, W, U, X, Z, q, C, v, w, y, a1, a2, ad, a4, L, N, D, ac, ab, E, G, b, f, aa, M, P, ak, o, n, a8, R, S, a5, am, k, _, a0, ae, ah, ag, ai, an, K, ao, l, p, r, e, t, a6, Q, c, Y, x, a3, a7, u, aj, ap, $, af, d } from "./index-7VREaKfa.mjs";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@mui/material/Box";
|
|
@@ -23,6 +23,8 @@ import "ahooks";
|
|
|
23
23
|
import "@mui/material/Alert";
|
|
24
24
|
import "lodash/isBoolean";
|
|
25
25
|
import "@arcblock/did-connect/lib/Avatar";
|
|
26
|
+
import "@mui/material/AvatarGroup";
|
|
27
|
+
import "@mui/material/colors";
|
|
26
28
|
import "@mui/material/useMediaQuery";
|
|
27
29
|
import "@arcblock/ux/lib/DID";
|
|
28
30
|
import "@mui/material/Tooltip";
|
|
@@ -38,8 +40,9 @@ import "@mui/material/Avatar";
|
|
|
38
40
|
import "@mui/icons-material/BrokenImage";
|
|
39
41
|
import "@iconify/react";
|
|
40
42
|
import "@arcblock/ux/lib/Empty";
|
|
41
|
-
import "@mui/material/colors";
|
|
42
43
|
import "@arcblock/did-connect/lib/Address";
|
|
44
|
+
import "@mui/icons-material/NotificationsActiveOutlined";
|
|
45
|
+
import "@mui/icons-material/Groups2Rounded";
|
|
43
46
|
import "@blocklet/editor/lib/ext/CheckboxPlugin";
|
|
44
47
|
import "@mui/material/MenuItem";
|
|
45
48
|
import "clsx";
|
|
@@ -59,6 +62,7 @@ import "react-flip-toolkit";
|
|
|
59
62
|
import "@mui/material/Fab";
|
|
60
63
|
import "lodash/debounce";
|
|
61
64
|
import "@mui/material/TextField";
|
|
65
|
+
import "@mui/icons-material/Add";
|
|
62
66
|
import "axios";
|
|
63
67
|
import "@arcblock/ux/lib/Toast";
|
|
64
68
|
import "@mui/material/Pagination";
|
|
@@ -67,76 +71,78 @@ import "js-cookie";
|
|
|
67
71
|
import "@arcblock/ws";
|
|
68
72
|
import "@emotion/css";
|
|
69
73
|
export {
|
|
70
|
-
|
|
74
|
+
O as AccessControl,
|
|
71
75
|
j as AuthorInfo,
|
|
72
|
-
|
|
76
|
+
T as AuthzProvider,
|
|
73
77
|
A as Avatar,
|
|
74
78
|
h as Avatars,
|
|
75
|
-
|
|
79
|
+
a9 as Back,
|
|
76
80
|
B as Badge,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
81
|
+
z as BinaryThumb,
|
|
82
|
+
H as BlogCard,
|
|
83
|
+
F as BlogList,
|
|
84
|
+
J as BlogPermaLink,
|
|
85
|
+
al as ButtonGroup,
|
|
86
|
+
m as ChannelGroup,
|
|
87
|
+
W as Chat,
|
|
88
|
+
U as ChatClient,
|
|
89
|
+
X as ChatHeaderAddon,
|
|
90
|
+
Z as ChatProvider,
|
|
91
|
+
q as Comment,
|
|
87
92
|
C as CommentInput,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
v as CommentList,
|
|
94
|
+
w as CommentsContext,
|
|
95
|
+
y as CommentsProvider,
|
|
96
|
+
a1 as Confirm,
|
|
97
|
+
a2 as ConfirmContext,
|
|
98
|
+
ad as ConfirmNavigation,
|
|
99
|
+
a4 as ConfirmProvider,
|
|
100
|
+
L as CoverImage,
|
|
101
|
+
N as CoverImageUpload,
|
|
97
102
|
D as DefaultEditorConfigProvider,
|
|
98
|
-
|
|
99
|
-
|
|
103
|
+
ac as DirtyPromptContainer,
|
|
104
|
+
ab as EditorPreview,
|
|
100
105
|
E as EmptyStatus,
|
|
101
106
|
G as GithubReaction,
|
|
102
107
|
b as Input,
|
|
103
108
|
f as InternalThemeProvider,
|
|
104
|
-
|
|
109
|
+
aa as LazyEditor,
|
|
105
110
|
M as Menu,
|
|
106
111
|
P as Pagination,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
112
|
+
ak as PointUpProvider,
|
|
113
|
+
o as Post,
|
|
114
|
+
n as PostContent,
|
|
115
|
+
a8 as PreviousLocationRecorder,
|
|
111
116
|
R as RelativeTime,
|
|
112
117
|
S as ScrollableEditorWrapper,
|
|
113
|
-
|
|
118
|
+
a5 as SecureLabelPicker,
|
|
119
|
+
am as SegmentedControl,
|
|
114
120
|
k as SystemUser,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
121
|
+
_ as UnreadNotificationContext,
|
|
122
|
+
a0 as UnreadNotificationProvider,
|
|
123
|
+
ae as UploaderContext,
|
|
124
|
+
ah as UploaderProvider,
|
|
125
|
+
ag as UploaderTrigger,
|
|
126
|
+
ai as composeImageUrl,
|
|
127
|
+
an as create,
|
|
128
|
+
K as getBlogLink,
|
|
129
|
+
ao as getWsClient,
|
|
124
130
|
l as lexicalUtils,
|
|
125
131
|
p as preferences,
|
|
126
132
|
r as routes,
|
|
127
133
|
e as themeOverrides,
|
|
128
134
|
t as translations,
|
|
129
|
-
|
|
130
|
-
|
|
135
|
+
a6 as useApiErrorHandler,
|
|
136
|
+
Q as useAuthzContext,
|
|
131
137
|
c as useChanged,
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
138
|
+
Y as useChatContext,
|
|
139
|
+
x as useCommentsContext,
|
|
140
|
+
a3 as useConfirm,
|
|
141
|
+
a7 as useDefaultApiErrorHandler,
|
|
136
142
|
u as useNow,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
143
|
+
aj as usePointUpContext,
|
|
144
|
+
ap as useSubscription,
|
|
145
|
+
$ as useUnreadNotification,
|
|
146
|
+
af as useUploader,
|
|
141
147
|
d as utils
|
|
142
148
|
};
|