@windoc/react 0.2.11 → 0.3.0
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 +6 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@windoc/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
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.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/react": "^19",
|
package/src/styles/editor.css
CHANGED
|
@@ -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 {
|
|
@@ -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;
|