@steedos-widgets/liveblocks 6.3.11-beta.16 → 6.3.11-beta.17
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 +26 -1
- package/dist/assets-dev.json +2 -2
- package/dist/assets.json +7 -7
- package/dist/components/Comments.d.ts +2 -0
- package/dist/liveblocks.umd.css +38 -0
- package/dist/liveblocks.umd.js +2360 -3
- package/dist/meta.js +7 -10
- package/dist/types/components/Comments.d.ts +2 -0
- package/package.json +3 -3
package/dist/meta.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.BuilderLiveblocksMeta = factory());
|
|
5
5
|
})(this, (function () { 'use strict';
|
|
6
6
|
|
|
7
7
|
/******************************************************************************
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
engines: ["amis"],
|
|
51
51
|
// settings for amis.
|
|
52
52
|
amis: {
|
|
53
|
-
name: 'comments',
|
|
53
|
+
name: 'rooms-comments',
|
|
54
54
|
icon: "fa-fw fa fa-list-alt"
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
|
-
var
|
|
57
|
+
var Comments = __assign(__assign({}, config), { snippets: [
|
|
58
58
|
{
|
|
59
59
|
title: config.title,
|
|
60
60
|
screenshot: "",
|
|
@@ -80,10 +80,7 @@
|
|
|
80
80
|
icon: config.amis.icon,
|
|
81
81
|
scaffold: {
|
|
82
82
|
type: config.amis.name,
|
|
83
|
-
className: "
|
|
84
|
-
config: {
|
|
85
|
-
// Row Data: The data to be displayed.
|
|
86
|
-
},
|
|
83
|
+
className: "m-2 flex flex-col gap-y-2",
|
|
87
84
|
},
|
|
88
85
|
previewSchema: {
|
|
89
86
|
type: config.amis.name,
|
|
@@ -94,7 +91,7 @@
|
|
|
94
91
|
type: "text",
|
|
95
92
|
name: "className",
|
|
96
93
|
label: "CSS类名",
|
|
97
|
-
value: "
|
|
94
|
+
value: "m-2 flex flex-col gap-y-2"
|
|
98
95
|
},
|
|
99
96
|
{
|
|
100
97
|
type: "editor",
|
|
@@ -131,12 +128,12 @@
|
|
|
131
128
|
* @LastEditTime: 2022-09-01 18:46:29
|
|
132
129
|
* @Description:
|
|
133
130
|
*/
|
|
134
|
-
var components = [
|
|
131
|
+
var components = [Comments];
|
|
135
132
|
var componentList = [
|
|
136
133
|
{
|
|
137
134
|
title: "华炎魔方",
|
|
138
135
|
icon: "",
|
|
139
|
-
children: [
|
|
136
|
+
children: [Comments]
|
|
140
137
|
}
|
|
141
138
|
];
|
|
142
139
|
var meta = {
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import "@liveblocks/react-ui/styles.css";
|
|
3
|
+
import './Comments.css';
|
|
2
4
|
export declare const Loading: () => JSX.Element;
|
|
3
5
|
export declare const Threads: (props: any) => JSX.Element;
|
|
4
6
|
export declare const AmisComments: (props: any) => 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.3.11-beta.
|
|
4
|
+
"version": "6.3.11-beta.17",
|
|
5
5
|
"main": "dist/liveblocks.cjs.js",
|
|
6
6
|
"module": "dist/liveblocks.esm.js",
|
|
7
7
|
"unpkg": "dist/liveblocks.umd.js",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"@liveblocks/react": "^2.11.0",
|
|
54
54
|
"@liveblocks/react-ui": "^2.11.0",
|
|
55
55
|
"@rollup/plugin-replace": "^5.0.2",
|
|
56
|
-
"@steedos-widgets/amis-lib": "6.3.11-beta.
|
|
56
|
+
"@steedos-widgets/amis-lib": "6.3.11-beta.17",
|
|
57
57
|
"react-error-boundary": "^4.1.2"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "7df027d81a0c4ff6ede457dee9f2ad6f577fb4d9"
|
|
60
60
|
}
|