@blocklet/discuss-kit-ux 2.1.12 → 2.1.14
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/api-error-handler/api-error-handler.d.ts +0 -1
- package/dist/components/api-error-handler/default-handler.d.ts +0 -1
- package/dist/components/api-error-handler/json-validation-interceptor.d.ts +0 -1
- package/dist/components/authz/access-control.d.ts +0 -1
- package/dist/components/avatars/Avatars.stories.d.ts +0 -1
- package/dist/components/avatars/author-info.d.ts +0 -1
- package/dist/components/avatars/avatars.d.ts +0 -1
- package/dist/components/back.d.ts +0 -1
- package/dist/components/blog/blog-link.d.ts +0 -1
- package/dist/components/blog/blog-list.d.ts +0 -1
- package/dist/components/blog/cover-image.d.ts +0 -1
- package/dist/components/blog/permalink.d.ts +0 -1
- package/dist/components/blog/types.d.ts +0 -1
- package/dist/components/chat/channel-group.d.ts +0 -1
- package/dist/components/chat/chat-client.d.ts +0 -1
- package/dist/components/chat/chat-in-wallet.d.ts +0 -1
- package/dist/components/chat/chat-input.d.ts +0 -1
- package/dist/components/chat/chat-list-in-wallet.d.ts +0 -1
- package/dist/components/chat/chat-list.d.ts +0 -1
- package/dist/components/chat/chat-room.d.ts +0 -1
- package/dist/components/chat/chat.d.ts +0 -1
- package/dist/components/chat/context.d.ts +0 -1
- package/dist/components/chat/message-list.d.ts +0 -1
- package/dist/components/chat/message.d.ts +0 -1
- package/dist/components/chat/participants.d.ts +0 -1
- package/dist/components/chat/time.d.ts +0 -1
- package/dist/components/chat/types.d.ts +0 -1
- package/dist/components/chat/unread-notification.d.ts +0 -1
- package/dist/components/chat/user-search.d.ts +0 -1
- package/dist/components/confirm.d.ts +0 -1
- package/dist/components/dayjs.d.ts +0 -1
- package/dist/components/default-editor-config-provider.d.ts +0 -1
- package/dist/components/editor/editor.d.ts +0 -1
- package/dist/components/editor/lazy-editor.d.ts +0 -1
- package/dist/components/editor/preview.d.ts +0 -1
- package/dist/components/emoji-icon.d.ts +0 -1
- package/dist/components/empty-status/empty-status.d.ts +0 -1
- package/dist/components/hooks/responsive.d.ts +0 -1
- package/dist/components/input/auto-clear-plugin.d.ts +0 -1
- package/dist/components/input/comment-input.d.ts +0 -1
- package/dist/components/input/input.d.ts +0 -1
- package/dist/components/input/post-edit.d.ts +0 -1
- package/dist/components/input/scrollable-editor-wrapper.d.ts +0 -1
- package/dist/components/label-picker.d.ts +0 -1
- package/dist/components/lexical.d.ts +0 -1
- package/dist/components/pagination.d.ts +0 -1
- package/dist/components/posts/Post.stories.d.ts +0 -1
- package/dist/components/posts/comment-list/context.d.ts +0 -1
- package/dist/components/posts/comment.d.ts +0 -1
- package/dist/components/posts/menu.d.ts +0 -1
- package/dist/components/posts/post-content.d.ts +0 -1
- package/dist/components/posts/post.d.ts +0 -1
- package/dist/components/profile-card/ProfileCard.stories.d.ts +0 -1
- package/dist/components/profile-card/profile-card.d.ts +0 -1
- package/dist/components/rating/binary-thumb.d.ts +0 -1
- package/dist/components/rating/github-reaction.d.ts +0 -1
- package/dist/components/rating/rater-list.d.ts +0 -1
- package/dist/components/segmented-control.d.ts +0 -1
- package/dist/components/uploader/index.d.ts +0 -1
- package/dist/components/utils.d.ts +0 -1
- package/dist/test/fixtures/index.d.ts +0 -1
- package/dist/theme/index.d.ts +0 -1
- package/dist/theme/typography.d.ts +0 -1
- package/package.json +11 -11
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
2
|
import { default as Post } from './post';
|
|
3
3
|
import { default as Comment } from './comment';
|
|
4
|
-
|
|
5
4
|
declare const _default: ComponentMeta<typeof Post>;
|
|
6
5
|
export default _default;
|
|
7
6
|
export declare const Basic: ComponentStory<typeof Post>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
2
|
import { default as ProfileCard } from './profile-card';
|
|
3
|
-
|
|
4
3
|
declare const _default: ComponentMeta<typeof ProfileCard>;
|
|
5
4
|
export default _default;
|
|
6
5
|
export declare const Basic: ComponentStory<typeof ProfileCard>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { SxProps, Theme } from '@mui/material';
|
|
2
2
|
import { SystemStyleObject } from '@mui/system';
|
|
3
|
-
|
|
4
3
|
export declare const repairBase64Avatar: (avatar?: string) => string | undefined;
|
|
5
4
|
export declare const getResizedAvatar: (avatar: string, size?: number) => string;
|
|
6
5
|
export declare const sleep: (ms: number) => Promise<unknown>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { User } from '../../types';
|
|
2
|
-
|
|
3
2
|
export declare const editorContent = "{\"root\":{\"children\":[{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"h1\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"heading\",\"version\":1,\"tag\":\"h1\"},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"h2\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"heading\",\"version\":1,\"tag\":\"h2\"},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"h3\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"heading\",\"version\":1,\"tag\":\"h3\"},{\"children\":[{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 1\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":1},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 2\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":2}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"list\",\"version\":1,\"listType\":\"bullet\",\"start\":1,\"tag\":\"ul\"},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"Labore in aliqua laboris aute velit. Ea adipisicing velit ut deserunt veniam nulla cupidatat anim excepteur mollit nostrud quis. Amet laboris proident proident consectetur amet occaecat est adipisicing. Proident anim sit est fugiat pariatur excepteur cillum labore nostrud id cillum eu officia.\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"paragraph\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"root\",\"version\":1}}";
|
|
4
3
|
export declare const longEditorContent = "{\"root\":{\"children\":[{\"children\":[{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 1\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":1},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 2\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":2},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 3\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":3},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 4\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":4},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 5\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":5},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 6\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":6},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 7\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":7},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 8\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":8},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 9\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":9},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 10\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":10},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 11\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":11},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 12\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":12}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"list\",\"version\":1,\"listType\":\"bullet\",\"start\":1,\"tag\":\"ul\"}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"root\",\"version\":1}}";
|
|
5
4
|
export declare const mockUsers: User[];
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ThemeOptions } from '@mui/material/styles';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
import { typography } from './typography';
|
|
4
|
-
|
|
5
4
|
export { typography };
|
|
6
5
|
export declare const themeOverrides: Partial<ThemeOptions>;
|
|
7
6
|
export declare function InternalThemeProvider({ children }: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/discuss-kit-ux",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.14",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"access": "public"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@arcblock/bridge": "^2.10.
|
|
22
|
-
"@arcblock/react-hooks": "^2.10.
|
|
21
|
+
"@arcblock/bridge": "^2.10.46",
|
|
22
|
+
"@arcblock/react-hooks": "^2.10.46",
|
|
23
23
|
"@arcblock/ws": "^1.18.135",
|
|
24
|
-
"@blocklet/uploader": "^0.1.
|
|
24
|
+
"@blocklet/uploader": "^0.1.45",
|
|
25
25
|
"@emotion/css": "^11.13.0",
|
|
26
26
|
"@emotion/react": "^11.13.3",
|
|
27
27
|
"@emotion/styled": "^11.13.0",
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"ufo": "^1.5.4",
|
|
44
44
|
"unstated-next": "^1.1.0",
|
|
45
45
|
"url-join": "^4.0.1",
|
|
46
|
-
"@blocklet/editor": "^2.1.
|
|
47
|
-
"@blocklet/labels": "^2.1.
|
|
46
|
+
"@blocklet/editor": "^2.1.14",
|
|
47
|
+
"@blocklet/labels": "^2.1.14"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@arcblock/did-connect": "^2.10.36",
|
|
51
|
-
"@arcblock/ux": "^2.10.
|
|
51
|
+
"@arcblock/ux": "^2.10.46",
|
|
52
52
|
"@mui/icons-material": "^5.10.9",
|
|
53
53
|
"@mui/lab": "^5.0.0-alpha.109",
|
|
54
54
|
"@mui/material": "^5.10.13",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@storybook/addon-essentials": "^6.5.16",
|
|
69
69
|
"@storybook/addon-interactions": "^6.5.16",
|
|
70
70
|
"@storybook/addon-links": "^6.5.16",
|
|
71
|
-
"@storybook/builder-vite": "^8.3.
|
|
71
|
+
"@storybook/builder-vite": "^8.3.5",
|
|
72
72
|
"@storybook/react": "^6.5.16",
|
|
73
73
|
"@storybook/testing-library": "^0.0.13",
|
|
74
74
|
"@svgr/core": "^6.5.1",
|
|
@@ -76,15 +76,15 @@
|
|
|
76
76
|
"@types/react-color": "^3.0.12",
|
|
77
77
|
"@types/react-dom": "^18.3.0",
|
|
78
78
|
"@types/semver-compare": "^1.0.3",
|
|
79
|
-
"@vitejs/plugin-react": "^4.3.
|
|
79
|
+
"@vitejs/plugin-react": "^4.3.2",
|
|
80
80
|
"babel-loader": "^8.4.1",
|
|
81
81
|
"react": "^18.3.1",
|
|
82
82
|
"react-dom": "^18.3.1",
|
|
83
83
|
"rollup-plugin-node-externals": "^7.1.3",
|
|
84
84
|
"typescript": "^4.9.5",
|
|
85
85
|
"unplugin-icons": "^0.14.15",
|
|
86
|
-
"vite": "^5.4.
|
|
87
|
-
"vite-plugin-dts": "^
|
|
86
|
+
"vite": "^5.4.9",
|
|
87
|
+
"vite-plugin-dts": "^4.2.4",
|
|
88
88
|
"vite-plugin-libcss": "^1.1.1"
|
|
89
89
|
},
|
|
90
90
|
"scripts": {
|