@windoc/react 0.2.11 → 0.3.1
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/index.js +14 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/styles/editor.css +12 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@windoc/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "React bindings for windoc editor",
|
|
5
5
|
"homepage": "https://aliansyahfirdaus.github.io/windoc/",
|
|
6
6
|
"repository": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"react-dom": ">=18"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@windoc/core": "^0.
|
|
53
|
+
"@windoc/core": "^0.3.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/react": "^19",
|
package/src/styles/editor.css
CHANGED
|
@@ -141,7 +141,7 @@ ul {
|
|
|
141
141
|
top: 12px;
|
|
142
142
|
width: 0;
|
|
143
143
|
height: 0;
|
|
144
|
-
right:
|
|
144
|
+
right: 8px;
|
|
145
145
|
border-color: #667085 transparent transparent;
|
|
146
146
|
border-style: solid solid none;
|
|
147
147
|
border-width: 3px 3px 0;
|
|
@@ -171,13 +171,16 @@ ul {
|
|
|
171
171
|
padding: 5px 8px;
|
|
172
172
|
margin: 2px 0;
|
|
173
173
|
user-select: none;
|
|
174
|
-
transition: all 0.
|
|
174
|
+
transition: all 0.15s;
|
|
175
175
|
border-radius: 4px;
|
|
176
|
+
border: 1px solid transparent;
|
|
176
177
|
cursor: pointer;
|
|
177
178
|
}
|
|
178
179
|
|
|
179
180
|
.menu-item .options li:hover {
|
|
180
|
-
background-color: #
|
|
181
|
+
background-color: #eff6ff;
|
|
182
|
+
color: #3b82f6;
|
|
183
|
+
border-color: #3b82f6;
|
|
181
184
|
}
|
|
182
185
|
|
|
183
186
|
.menu-item .options li.active {
|
|
@@ -193,7 +196,7 @@ ul {
|
|
|
193
196
|
border: 1px solid #d0d5dd;
|
|
194
197
|
border-radius: 8px;
|
|
195
198
|
background: #fff;
|
|
196
|
-
padding: 0
|
|
199
|
+
padding: 0 20px 0 8px;
|
|
197
200
|
margin: 0 2px;
|
|
198
201
|
cursor: pointer;
|
|
199
202
|
transition: all 0.2s;
|
|
@@ -213,7 +216,7 @@ ul {
|
|
|
213
216
|
border: 1px solid #d0d5dd;
|
|
214
217
|
border-radius: 8px;
|
|
215
218
|
background: #fff;
|
|
216
|
-
padding: 0
|
|
219
|
+
padding: 0 20px 0 8px;
|
|
217
220
|
margin: 0 2px;
|
|
218
221
|
cursor: pointer;
|
|
219
222
|
transition: all 0.2s;
|
|
@@ -417,7 +420,7 @@ ul {
|
|
|
417
420
|
border: 1px solid #d0d5dd;
|
|
418
421
|
border-radius: 8px;
|
|
419
422
|
background: #fff;
|
|
420
|
-
padding: 0
|
|
423
|
+
padding: 0 20px 0 8px;
|
|
421
424
|
margin: 0 2px;
|
|
422
425
|
cursor: pointer;
|
|
423
426
|
display: flex;
|
|
@@ -900,7 +903,7 @@ ul {
|
|
|
900
903
|
border-radius: 8px;
|
|
901
904
|
background: #fff;
|
|
902
905
|
color: #475467;
|
|
903
|
-
padding: 0
|
|
906
|
+
padding: 0 20px 0 8px;
|
|
904
907
|
margin: 0 2px;
|
|
905
908
|
cursor: pointer;
|
|
906
909
|
transition: all 0.2s;
|
|
@@ -960,7 +963,7 @@ ul {
|
|
|
960
963
|
border-radius: 8px;
|
|
961
964
|
background: #fff;
|
|
962
965
|
color: #475467;
|
|
963
|
-
padding: 0
|
|
966
|
+
padding: 0 20px 0 8px;
|
|
964
967
|
margin: 0 2px;
|
|
965
968
|
cursor: pointer;
|
|
966
969
|
transition: all 0.2s;
|
|
@@ -1378,7 +1381,7 @@ ul {
|
|
|
1378
1381
|
}
|
|
1379
1382
|
|
|
1380
1383
|
.list-preset-marker {
|
|
1381
|
-
font-size:
|
|
1384
|
+
font-size: 11px;
|
|
1382
1385
|
color: #344054;
|
|
1383
1386
|
min-width: 16px;
|
|
1384
1387
|
flex-shrink: 0;
|