@steedos-widgets/liveblocks 6.3.12-beta.8 → 6.3.12
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 +18 -10
- package/dist/assets.json +5 -5
- package/dist/liveblocks.umd.css +9 -7
- package/dist/liveblocks.umd.js +3 -2357
- package/dist/meta.js +2 -2
- package/package.json +7 -4
package/README.md
CHANGED
|
@@ -20,23 +20,31 @@ yarn dev
|
|
|
20
20
|
|
|
21
21
|
```json
|
|
22
22
|
{
|
|
23
|
-
"type": "rooms-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
23
|
+
"type": "rooms-provider",
|
|
24
|
+
"baseUrl": "${context.rootUrl}",
|
|
25
|
+
"body": [
|
|
26
|
+
{
|
|
27
|
+
"type": "rooms-comments",
|
|
28
|
+
"className": "flex flex-col m-3 gap-3",
|
|
29
|
+
"roomId": "test",
|
|
30
|
+
}
|
|
31
|
+
]
|
|
27
32
|
}
|
|
28
|
-
|
|
29
33
|
```
|
|
30
34
|
|
|
31
35
|
集成到Steedos记录详情页
|
|
32
36
|
|
|
33
37
|
```json
|
|
34
38
|
{
|
|
35
|
-
"type": "rooms-
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
"type": "rooms-provider",
|
|
40
|
+
"baseUrl": "${context.rootUrl}",
|
|
41
|
+
"body": [
|
|
42
|
+
{
|
|
43
|
+
"type": "rooms-comments",
|
|
44
|
+
"className": "flex flex-col m-3 gap-3",
|
|
45
|
+
"roomId": "objects:${objectName}:{recordId}",
|
|
46
|
+
}
|
|
47
|
+
]
|
|
40
48
|
}
|
|
41
49
|
```
|
|
42
50
|
|
package/dist/assets.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
{
|
|
4
4
|
"package": "@steedos-widgets/liveblocks",
|
|
5
5
|
"urls": [
|
|
6
|
-
"https://unpkg.com/@steedos-widgets/liveblocks@6.3.12
|
|
7
|
-
"https://unpkg.com/@steedos-widgets/liveblocks@6.3.12
|
|
6
|
+
"https://unpkg.com/@steedos-widgets/liveblocks@6.3.12/dist/liveblocks.umd.js",
|
|
7
|
+
"https://unpkg.com/@steedos-widgets/liveblocks@6.3.12/dist/liveblocks.umd.css"
|
|
8
8
|
],
|
|
9
9
|
"library": "BuilderLiveblocks"
|
|
10
10
|
}
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"npm": {
|
|
16
16
|
"package": "@steedos-widgets/liveblocks"
|
|
17
17
|
},
|
|
18
|
-
"url": "https://unpkg.com/@steedos-widgets/liveblocks@6.3.12
|
|
18
|
+
"url": "https://unpkg.com/@steedos-widgets/liveblocks@6.3.12/dist/meta.js",
|
|
19
19
|
"urls": {
|
|
20
|
-
"default": "https://unpkg.com/@steedos-widgets/liveblocks@6.3.12
|
|
21
|
-
"design": "https://unpkg.com/@steedos-widgets/liveblocks@6.3.12
|
|
20
|
+
"default": "https://unpkg.com/@steedos-widgets/liveblocks@6.3.12/dist/meta.js",
|
|
21
|
+
"design": "https://unpkg.com/@steedos-widgets/liveblocks@6.3.12/dist/meta.js"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
]
|
package/dist/liveblocks.umd.css
CHANGED
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
background: #fff;
|
|
43
43
|
width: 460px;
|
|
44
44
|
height: 560px;
|
|
45
|
+
z-index: 1000;
|
|
45
46
|
max-height: calc(100vh - var(--header-height) - 10px);
|
|
46
47
|
display: flex;
|
|
47
48
|
flex-direction: column;
|
|
@@ -85,7 +86,7 @@
|
|
|
85
86
|
|
|
86
87
|
.inbox-unread-count {
|
|
87
88
|
position: absolute;
|
|
88
|
-
top:
|
|
89
|
+
top: 6px;
|
|
89
90
|
right: 0;
|
|
90
91
|
transform: translate(50%, -50%);
|
|
91
92
|
display: flex;
|
|
@@ -93,11 +94,11 @@
|
|
|
93
94
|
place-items: center;
|
|
94
95
|
background: var(--Badge--danger-bg);
|
|
95
96
|
color: #fff;
|
|
96
|
-
font-size:
|
|
97
|
+
font-size: 12px;
|
|
97
98
|
font-weight: 500;
|
|
98
99
|
height: 1rem;
|
|
99
100
|
min-width: 1rem;
|
|
100
|
-
padding: 0 0.
|
|
101
|
+
padding: 0 0.5rem;
|
|
101
102
|
border-radius: 9999px;
|
|
102
103
|
}
|
|
103
104
|
|
|
@@ -119,13 +120,14 @@
|
|
|
119
120
|
padding: 0.5rem 0.75rem;
|
|
120
121
|
font-size: 0.875rem;
|
|
121
122
|
border-radius: 0.5rem;
|
|
122
|
-
background: #f3f3f3;
|
|
123
|
-
|
|
123
|
+
/* background: #f3f3f3; */
|
|
124
|
+
background: transparent;
|
|
125
|
+
color: rgb(116, 116, 116);
|
|
124
126
|
}
|
|
125
127
|
|
|
126
128
|
.inbox-button.square {
|
|
127
129
|
padding: 0;
|
|
128
|
-
width:
|
|
130
|
+
width: 1.6rem;
|
|
129
131
|
height: 2rem;
|
|
130
132
|
}
|
|
131
133
|
|
|
@@ -136,7 +138,7 @@
|
|
|
136
138
|
|
|
137
139
|
.inbox-button:hover,
|
|
138
140
|
.inbox-button:focus-visible {
|
|
139
|
-
background: #
|
|
141
|
+
/* background: #f3f3f3; */
|
|
140
142
|
cursor: pointer;
|
|
141
143
|
}
|
|
142
144
|
|