@steedos-widgets/liveblocks 6.10.1-beta.8 → 6.10.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/README.md +38 -10
- package/dist/assets-dev.json +25 -0
- package/dist/assets.json +5 -5
- package/dist/components/Comments.d.ts +10 -1
- package/dist/i18n.d.ts +2 -0
- package/dist/liveblocks.umd.css +17 -10
- package/dist/liveblocks.umd.js +2 -2
- package/dist/meta.js +5 -5
- package/dist/types/components/Comments.d.ts +10 -1
- package/dist/types/i18n.d.ts +2 -0
- package/package.json +10 -8
package/dist/meta.js
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
};
|
|
37
37
|
|
|
38
38
|
var config$2 = {
|
|
39
|
-
group: "
|
|
39
|
+
group: "Builder6",
|
|
40
40
|
componentName: "AmisComments",
|
|
41
41
|
title: "Comments",
|
|
42
42
|
docUrl: "",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
], amis: {
|
|
72
72
|
render: {
|
|
73
73
|
type: config$2.amis.name,
|
|
74
|
-
usage: "renderer",
|
|
74
|
+
usage: "renderer", //使用 renderer 会无法监听到onEvent中配置的事件
|
|
75
75
|
weight: 1,
|
|
76
76
|
framework: "react"
|
|
77
77
|
},
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
} });
|
|
111
111
|
|
|
112
112
|
var config$1 = {
|
|
113
|
-
group: "
|
|
113
|
+
group: "Builder6",
|
|
114
114
|
componentName: "AmisInboxPopover",
|
|
115
115
|
title: "Inbox Popover",
|
|
116
116
|
docUrl: "",
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
], amis: {
|
|
146
146
|
render: {
|
|
147
147
|
type: config$1.amis.name,
|
|
148
|
-
usage: "renderer",
|
|
148
|
+
usage: "renderer", //使用 renderer 会无法监听到onEvent中配置的事件
|
|
149
149
|
weight: 1,
|
|
150
150
|
framework: "react"
|
|
151
151
|
},
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
], amis: {
|
|
214
214
|
render: {
|
|
215
215
|
type: config.amis.name,
|
|
216
|
-
usage: "renderer",
|
|
216
|
+
usage: "renderer", //使用 renderer 会无法监听到onEvent中配置的事件
|
|
217
217
|
weight: 1,
|
|
218
218
|
framework: "react"
|
|
219
219
|
},
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import "@liveblocks/react-ui/styles.css";
|
|
3
3
|
import './Comments.css';
|
|
4
|
-
export declare const Threads: (
|
|
4
|
+
export declare const Threads: ({ indentCommentContent, showActions, showDeletedComments, showResolveAction, showReactions, showComposer, showAttachments, showComposerFormattingControls }: {
|
|
5
|
+
indentCommentContent: any;
|
|
6
|
+
showActions: any;
|
|
7
|
+
showDeletedComments: any;
|
|
8
|
+
showResolveAction: any;
|
|
9
|
+
showReactions: any;
|
|
10
|
+
showComposer: any;
|
|
11
|
+
showAttachments: any;
|
|
12
|
+
showComposerFormattingControls: any;
|
|
13
|
+
}) => React.JSX.Element;
|
|
5
14
|
export declare const AmisComments: (props: any) => React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos-widgets/liveblocks",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "6.10.1
|
|
4
|
+
"version": "6.10.1",
|
|
5
5
|
"main": "dist/liveblocks.cjs.js",
|
|
6
6
|
"module": "dist/liveblocks.esm.js",
|
|
7
7
|
"unpkg": "dist/liveblocks.umd.js",
|
|
@@ -12,7 +12,9 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"prebuild": "rimraf dist",
|
|
14
14
|
"http": "npx http-server ../ --port 8080 --cors -c -1",
|
|
15
|
-
"build": "yarn build-types && yarn build-rollup",
|
|
15
|
+
"build": "yarn replace-slate-vars && yarn replace-liveblocks-vars && yarn build-types && yarn build-rollup",
|
|
16
|
+
"replace-liveblocks-vars": "node ./script/replaceAttachmentSize.js",
|
|
17
|
+
"replace-slate-vars": "node ./script/replaceSlateVars.js",
|
|
16
18
|
"build-types": "tsc --emitDeclarationOnly --declaration --declarationDir dist/types",
|
|
17
19
|
"build-rollup": "rollup -c rollup.config.ts"
|
|
18
20
|
},
|
|
@@ -48,15 +50,15 @@
|
|
|
48
50
|
"rollup-plugin-visualizer": "^5.8.0"
|
|
49
51
|
},
|
|
50
52
|
"dependencies": {
|
|
51
|
-
"@liveblocks/client": "2.
|
|
52
|
-
"@liveblocks/node": "2.
|
|
53
|
-
"@liveblocks/react": "2.
|
|
54
|
-
"@liveblocks/react-ui": "2.
|
|
53
|
+
"@liveblocks/client": "2.15.1",
|
|
54
|
+
"@liveblocks/node": "2.15.1",
|
|
55
|
+
"@liveblocks/react": "2.15.1",
|
|
56
|
+
"@liveblocks/react-ui": "2.15.1",
|
|
55
57
|
"@rollup/plugin-replace": "^5.0.2",
|
|
56
|
-
"@steedos-widgets/amis-lib": "6.10.1
|
|
58
|
+
"@steedos-widgets/amis-lib": "6.10.1",
|
|
57
59
|
"clsx": "2.1.1",
|
|
58
60
|
"emojibase-data": "^16.0.2",
|
|
59
61
|
"react-error-boundary": "^4.1.2"
|
|
60
62
|
},
|
|
61
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "0579e42e8db9f51a3aaea6cd7accd67af87600f2"
|
|
62
64
|
}
|