@seafile/comment-editor 0.0.9 → 0.0.11

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.
@@ -1,116 +1,5 @@
1
- .sdoc-editor-container.fullscreen .sdoc-content-wrapper {
2
- height: 100vh !important;
3
- }
4
-
5
- .sdoc-editor-container.fullscreen .sdoc-article-container {
6
- width: 100% !important;
7
- padding: 0 !important;
8
- }
9
-
10
- .sdoc-editor-container.fullscreen .sdoc-editor__article {
11
- padding: calc(100vw / 794 * 40) calc(100vw / 794 * 60) !important;
12
- font-size: calc(100vw / 794 * 14.7) !important;
13
- }
14
-
15
- .sdoc-editor-container.fullscreen .sdoc-checkbox-input {
16
- width: calc(100vw / 794 * 13) !important;
17
- }
18
-
19
- .sdoc-editor-container.fullscreen .sdoc-code-block-pre {
20
- font-size: calc(100vw / 794 * 13.3) !important;
21
- }
22
-
23
- .sdoc-editor-container.fullscreen .sdoc-header-title {
24
- font-size: calc(100vw / 794 * 33.7) !important;
25
- }
26
-
27
- .sdoc-editor-container.fullscreen .sdoc-header-subtitle {
28
- font-size: calc(100vw / 794 * 20) !important;
29
- }
30
-
31
- .sdoc-editor-container.fullscreen .sdoc-header-1 {
32
- font-size: calc(100vw / 794 * 26.7) !important;
33
- }
34
-
35
- .sdoc-editor-container.fullscreen .sdoc-header-2 {
36
- font-size: calc(100vw / 794 * 21.3) !important;
37
- }
38
-
39
- .sdoc-editor-container.fullscreen .sdoc-header-3 {
40
- font-size: calc(100vw / 794 * 18.7) !important;
41
- }
42
-
43
- .sdoc-editor-container.fullscreen .sdoc-header-4 {
44
- font-size: calc(100vw / 794 * 16) !important;
45
- }
46
-
47
- .sdoc-editor-container.fullscreen .sdoc-header-5,
48
- .sdoc-editor-container.fullscreen .sdoc-header-6 {
49
- font-size: calc(100vw / 794 * 14.7) !important;
50
- }
51
-
52
- .sdoc-editor-container {
53
- flex: 1;
54
- display: flex;
55
- flex-direction: column;
56
- min-height: 0;
57
- }
58
-
59
- .sdoc-editor-container .sdoc-editor-toolbar {
60
- display: flex;
61
- flex: 1;
62
- justify-content: center;
63
- position: relative;
64
- height: 44px;
65
- align-items: center;
66
- padding: 0 10px;
67
- background-color: #fff;
68
- user-select: none;
69
- border-bottom: 1px solid #e5e6e8;
70
- position: relative;
71
- z-index: 102;
72
- }
73
-
74
- .sdoc-editor-container .sdoc-editor-toolbar .sdoc-editor-toolbar-right-menu {
75
- display: flex;
76
- flex-direction: row-reverse;
77
- position: absolute;
78
- right: 8px;
79
- border-right: none;
80
- }
81
-
82
1
  .sdoc-content-wrapper {
83
2
  width: 100%;
84
3
  height: calc(100vh - 44px);
85
4
  display: flex;
86
5
  }
87
-
88
- .sdoc-editor-container .sdoc-editor-content {
89
- display: flex;
90
- position: absolute;
91
- min-width: 1100px;
92
- width: 100%;
93
- }
94
-
95
- .sdoc-editor-container.mobile .sdoc-editor-content.readonly.no-outline {
96
- min-width: 100% !important;
97
- width: 100% !important;
98
- }
99
-
100
- .sdoc-editor-container .sdoc-scroll-container {
101
- z-index: 100;
102
- overflow: auto;
103
- height: 100%;
104
- position: relative;
105
- flex: 1;
106
- background: #f5f5f5;
107
- }
108
-
109
- .sdoc-editor-container .sdoc-article-container {
110
- position: relative;
111
- top: 0;
112
- width: 794px;
113
- margin: 0 auto;
114
- padding-top: 20px;
115
- padding-bottom: 20px;
116
- }
@@ -1,8 +1,3 @@
1
- /* List */
2
- .sdoc-editor-container .comment-editor .list-container {
3
- padding-left: 2em !important;
4
- }
5
-
6
1
  .comment-editor .list-container li p {
7
2
  margin: 0 !important;
8
3
  }
@@ -14,6 +9,6 @@
14
9
  }
15
10
 
16
11
  /* Image */
17
- .comment-editor .sdoc-image-wrapper {
12
+ .comment-editor .sdoc-image-wrapper {
18
13
  padding: 1px !important;
19
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/comment-editor",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "private": false,
5
5
  "description": "This is a comment editor",
6
6
  "main": "dist/index.js",
@@ -101,8 +101,8 @@
101
101
  "fs-extra": "^10.0.0",
102
102
  "html-webpack-plugin": "^5.5.0",
103
103
  "husky": "8.0.3",
104
- "i18next": "22.4.9",
105
- "i18next-browser-languagedetector": "7.0.1",
104
+ "i18next": "^25.2.1",
105
+ "i18next-browser-languagedetector": "^8.1.0",
106
106
  "i18next-http-backend": "^3.0.2",
107
107
  "identity-obj-proxy": "^3.0.0",
108
108
  "is-wsl": "^1.1.0",
@@ -127,7 +127,7 @@
127
127
  "react-app-polyfill": "^3.0.0",
128
128
  "react-dev-utils": "^12.0.1",
129
129
  "react-dom": "18.3.1",
130
- "react-i18next": "12.1.4",
130
+ "react-i18next": "^15.5.2",
131
131
  "react-refresh": "^0.11.0",
132
132
  "react-router": "7.5.2",
133
133
  "react-router-dom": "7.1.3",
@@ -1,14 +0,0 @@
1
- .sdoc-editor-container .sdoc-editor-content.no-outline .sdoc-article-container {
2
- margin-left: 0 !important;
3
- }
4
-
5
- .sdoc-editor-container.mobile .sdoc-editor-content.readonly .sdoc-article-container {
6
- padding: 0;
7
- width: 100% !important;
8
- min-width: 100% !important;
9
- }
10
-
11
- .sdoc-editor-container.mobile .sdoc-editor-content.readonly .article {
12
- width: 100vw !important;
13
- padding: 1rem;
14
- }