@seafile/sdoc-editor 3.0.188 → 3.0.190

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.
@@ -52,7 +52,7 @@ var getEmbedLinkType = exports.getEmbedLinkType = function getEmbedLinkType(text
52
52
  var host = url.hostname.toLowerCase();
53
53
  var path = url.pathname.toLowerCase();
54
54
  // SeaTable
55
- var isSeaTable = /(^|\.)seatable\.cn$/.test(host) && /^\/workspace\/\d+\/dtable\/.+/.test(path);
55
+ var isSeaTable = /(^|\.)seatable\.(cn|io)$/.test(host) && /^\/workspace\/\d+\/dtable\/.+/.test(path);
56
56
  if (isSeaTable) return _constants2.EMBED_LINK_SOURCE.SEATABLE;
57
57
 
58
58
  // Figma
@@ -10,13 +10,30 @@
10
10
 
11
11
  .sdoc-toggle-header-row .sdoc-toggle-header-prefix {
12
12
  display: inline-block;
13
- height: 20px;
14
- line-height: 20px;
13
+ height: 24px;
14
+ width: 24px;
15
+ line-height: 24px;
15
16
  text-align: center;
16
17
  margin-right: 5px;
17
18
  cursor: pointer;
18
19
  }
19
20
 
21
+ .sdoc-toggle-header-row .sdoc-toggle-header-prefix:hover {
22
+ background-color: rgba(42, 28, 0, .07);
23
+ border-radius: 2px;
24
+ }
25
+
26
+ .sdoc-toggle-header-row .sdoc-toggle-header-prefix .sdocfont {
27
+ width: 12.8px;
28
+ height: 12.8px;
29
+ font-size: 12.8px;
30
+ display: inline-flex;
31
+ align-items: center;
32
+ justify-content: center;
33
+ color: rgb(44, 44, 43);
34
+ opacity: 0.5;
35
+ }
36
+
20
37
  .sdoc-toggle-header-prefix:has(.sdoc-big-caret-up) {
21
38
  transform: rotate(90deg);
22
39
  }
@@ -5,9 +5,9 @@
5
5
  height: 42px;
6
6
  z-index: 101;
7
7
  background-color: #fff;
8
- border: 1px solid #e8e8e8;
9
- border-radius: 3px;
10
- box-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 0px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;
8
+ border: 1px solid #eee;
9
+ border-radius: 8px;
10
+ box-shadow: 0 6px 14px 0 rgba(0, 0, 0, 0.1);
11
11
  }
12
12
 
13
13
  .sdoc-context-toolbar .menu-group {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "3.0.188",
3
+ "version": "3.0.190",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -72,5 +72,5 @@
72
72
  "publishConfig": {
73
73
  "access": "public"
74
74
  },
75
- "gitHead": "63fafff31ac5a2dab239eba3138d02e834d340e5"
75
+ "gitHead": "d5d8ed65098b9b1c5ce7111bb5d578f1231901c7"
76
76
  }