@steedos-widgets/liveblocks 6.10.1-beta.31 → 6.10.1-beta.33
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-dev.json +25 -0
- package/dist/assets.json +5 -5
- package/dist/liveblocks.umd.css +15 -8
- package/dist/liveblocks.umd.js +2 -2
- package/dist/meta.js +2 -2
- package/package.json +3 -3
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
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"packages": [
|
|
3
|
+
{
|
|
4
|
+
"package": "@steedos-widgets/liveblocks",
|
|
5
|
+
"urls": [
|
|
6
|
+
"http://127.0.0.1:8080/@steedos-widgets/liveblocks/dist/liveblocks.umd.js",
|
|
7
|
+
"http://127.0.0.1:8080/@steedos-widgets/liveblocks/dist/liveblocks.umd.css"
|
|
8
|
+
],
|
|
9
|
+
"library": "BuilderLiveblocks"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"components": [
|
|
13
|
+
{
|
|
14
|
+
"exportName": "BuilderLiveblocksMeta",
|
|
15
|
+
"npm": {
|
|
16
|
+
"package": "@steedos-widgets/liveblocks"
|
|
17
|
+
},
|
|
18
|
+
"url": "http://127.0.0.1:8080/@steedos-widgets/liveblocks/dist/meta.js",
|
|
19
|
+
"urls": {
|
|
20
|
+
"default": "http://127.0.0.1:8080/@steedos-widgets/liveblocks/dist/meta.js",
|
|
21
|
+
"design": "http://127.0.0.1:8080/@steedos-widgets/liveblocks/dist/meta.js"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
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.10.1-beta.
|
|
7
|
-
"https://unpkg.com/@steedos-widgets/liveblocks@6.10.1-beta.
|
|
6
|
+
"https://unpkg.com/@steedos-widgets/liveblocks@6.10.1-beta.33/dist/liveblocks.umd.js",
|
|
7
|
+
"https://unpkg.com/@steedos-widgets/liveblocks@6.10.1-beta.33/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.10.1-beta.
|
|
18
|
+
"url": "https://unpkg.com/@steedos-widgets/liveblocks@6.10.1-beta.33/dist/meta.js",
|
|
19
19
|
"urls": {
|
|
20
|
-
"default": "https://unpkg.com/@steedos-widgets/liveblocks@6.10.1-beta.
|
|
21
|
-
"design": "https://unpkg.com/@steedos-widgets/liveblocks@6.10.1-beta.
|
|
20
|
+
"default": "https://unpkg.com/@steedos-widgets/liveblocks@6.10.1-beta.33/dist/meta.js",
|
|
21
|
+
"design": "https://unpkg.com/@steedos-widgets/liveblocks@6.10.1-beta.33/dist/meta.js"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
]
|
package/dist/liveblocks.umd.css
CHANGED
|
@@ -41,7 +41,9 @@
|
|
|
41
41
|
.inbox {
|
|
42
42
|
background: #fff;
|
|
43
43
|
width: 460px;
|
|
44
|
-
height:
|
|
44
|
+
min-height: 120px;
|
|
45
|
+
max-height: 560px;
|
|
46
|
+
z-index: 1000;
|
|
45
47
|
max-height: calc(100vh - var(--header-height) - 10px);
|
|
46
48
|
display: flex;
|
|
47
49
|
flex-direction: column;
|
|
@@ -54,6 +56,10 @@
|
|
|
54
56
|
0 8px 26px rgb(0 0 0 / 12%);
|
|
55
57
|
}
|
|
56
58
|
|
|
59
|
+
.inbox .empty {
|
|
60
|
+
padding: 0.5rem 0.5rem 0.5rem 1rem;
|
|
61
|
+
}
|
|
62
|
+
|
|
57
63
|
.inbox-header {
|
|
58
64
|
position: sticky;
|
|
59
65
|
top: 0;
|
|
@@ -85,7 +91,7 @@
|
|
|
85
91
|
|
|
86
92
|
.inbox-unread-count {
|
|
87
93
|
position: absolute;
|
|
88
|
-
top:
|
|
94
|
+
top: 6px;
|
|
89
95
|
right: 0;
|
|
90
96
|
transform: translate(50%, -50%);
|
|
91
97
|
display: flex;
|
|
@@ -93,11 +99,11 @@
|
|
|
93
99
|
place-items: center;
|
|
94
100
|
background: var(--Badge--danger-bg);
|
|
95
101
|
color: #fff;
|
|
96
|
-
font-size:
|
|
102
|
+
font-size: 12px;
|
|
97
103
|
font-weight: 500;
|
|
98
104
|
height: 1rem;
|
|
99
105
|
min-width: 1rem;
|
|
100
|
-
padding: 0 0.
|
|
106
|
+
padding: 0 0.5rem;
|
|
101
107
|
border-radius: 9999px;
|
|
102
108
|
}
|
|
103
109
|
|
|
@@ -119,13 +125,14 @@
|
|
|
119
125
|
padding: 0.5rem 0.75rem;
|
|
120
126
|
font-size: 0.875rem;
|
|
121
127
|
border-radius: 0.5rem;
|
|
122
|
-
background: #f3f3f3;
|
|
123
|
-
|
|
128
|
+
/* background: #f3f3f3; */
|
|
129
|
+
background: transparent;
|
|
130
|
+
color: rgb(116, 116, 116);
|
|
124
131
|
}
|
|
125
132
|
|
|
126
133
|
.inbox-button.square {
|
|
127
134
|
padding: 0;
|
|
128
|
-
width:
|
|
135
|
+
width: 1.6rem;
|
|
129
136
|
height: 2rem;
|
|
130
137
|
}
|
|
131
138
|
|
|
@@ -136,7 +143,7 @@
|
|
|
136
143
|
|
|
137
144
|
.inbox-button:hover,
|
|
138
145
|
.inbox-button:focus-visible {
|
|
139
|
-
background: #
|
|
146
|
+
/* background: #f3f3f3; */
|
|
140
147
|
cursor: pointer;
|
|
141
148
|
}
|
|
142
149
|
|