@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/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.BuidlerLiveblocksMeta = factory());
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 LBComments = __assign(__assign({}, config), { snippets: [
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: "h-80",
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: "bg-gray-100 border-b sm:rounded sm:border border-gray-300 p-4 mb-4 h-full"
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 = [LBComments];
131
+ var components = [Comments];
135
132
  var componentList = [
136
133
  {
137
134
  title: "华炎魔方",
138
135
  icon: "",
139
- children: [LBComments]
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.16",
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.16",
56
+ "@steedos-widgets/amis-lib": "6.3.11-beta.17",
57
57
  "react-error-boundary": "^4.1.2"
58
58
  },
59
- "gitHead": "e840a3c5a07840b0c4247cabba691e9297ac6eff"
59
+ "gitHead": "7df027d81a0c4ff6ede457dee9f2ad6f577fb4d9"
60
60
  }