1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-02 15:57:31 +00:00

update sdoc-editor version

This commit is contained in:
杨顺强 2023-07-03 10:57:03 +08:00
parent ebaef933a0
commit b3ae6b9297
8 changed files with 32 additions and 20 deletions

View File

@ -11,7 +11,7 @@
"@gatsbyjs/reach-router": "1.3.9",
"@seafile/react-image-lightbox": "2.0.2",
"@seafile/resumablejs": "1.1.16",
"@seafile/sdoc-editor": "0.1.59",
"@seafile/sdoc-editor": "0.1.60",
"@seafile/seafile-calendar": "0.0.12",
"@seafile/seafile-editor": "0.3.132",
"@seafile/slate-react": "0.54.13",
@ -5198,9 +5198,9 @@
"license": "MIT"
},
"node_modules/@seafile/sdoc-editor": {
"version": "0.1.59",
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.1.59.tgz",
"integrity": "sha512-ZaVHK1/fd7NXUTBVWlmD0p2AkX95KizDoWLU3AWsPRA3q+n1G/gxFEkQ97AmgzqRHFgoyN/HBuQXz294voGhWw==",
"version": "0.1.60",
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.1.60.tgz",
"integrity": "sha512-ZGKsByZ6uU0J6RSbJwMbPALDhiTkdA8qVYUmOJdtnIpQZA0EXUfAxcfBdTN06n8C0nUeNpMgokWFknPKrxrkww==",
"dependencies": {
"@seafile/react-image-lightbox": "2.0.2",
"@seafile/slate": "0.91.8",
@ -33359,9 +33359,9 @@
"version": "1.1.16"
},
"@seafile/sdoc-editor": {
"version": "0.1.59",
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.1.59.tgz",
"integrity": "sha512-ZaVHK1/fd7NXUTBVWlmD0p2AkX95KizDoWLU3AWsPRA3q+n1G/gxFEkQ97AmgzqRHFgoyN/HBuQXz294voGhWw==",
"version": "0.1.60",
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.1.60.tgz",
"integrity": "sha512-ZGKsByZ6uU0J6RSbJwMbPALDhiTkdA8qVYUmOJdtnIpQZA0EXUfAxcfBdTN06n8C0nUeNpMgokWFknPKrxrkww==",
"requires": {
"@seafile/react-image-lightbox": "2.0.2",
"@seafile/slate": "0.91.8",

View File

@ -6,7 +6,7 @@
"@gatsbyjs/reach-router": "1.3.9",
"@seafile/react-image-lightbox": "2.0.2",
"@seafile/resumablejs": "1.1.16",
"@seafile/sdoc-editor": "0.1.59",
"@seafile/sdoc-editor": "0.1.60",
"@seafile/seafile-calendar": "0.0.12",
"@seafile/seafile-editor": "0.3.132",
"@seafile/slate-react": "0.54.13",

View File

@ -1,11 +1,11 @@
@font-face {
font-family: "sdocfont"; /* Project id 4097705 */
src: url('./sdoc-editor-font/iconfont.eot?t=1687923893165'); /* IE9 */
src: url('./sdoc-editor-font/iconfont.eot?t=1687923893165#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('./sdoc-editor-font/iconfont.woff2?t=1687923893165') format('woff2'),
url('./sdoc-editor-font/iconfont.woff?t=1687923893165') format('woff'),
url('./sdoc-editor-font/iconfont.ttf?t=1687923893165') format('truetype'),
url('./sdoc-editor-font/iconfont.svg?t=1687923893165#sdocfont') format('svg');
src: url('./sdoc-editor-font/iconfont.eot?t=1688352029576'); /* IE9 */
src: url('./sdoc-editor-font/iconfont.eot?t=1688352029576#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('./sdoc-editor-font/iconfont.woff2?t=1688352029576') format('woff2'),
url('./sdoc-editor-font/iconfont.woff?t=1688352029576') format('woff'),
url('./sdoc-editor-font/iconfont.ttf?t=1688352029576') format('truetype'),
url('./sdoc-editor-font/iconfont.svg?t=1688352029576#sdocfont') format('svg');
}
.sdocfont {
@ -16,6 +16,18 @@
-moz-osx-font-smoothing: grayscale;
}
.sdoc-caret-up:before {
content: "\e636";
}
.sdoc-starred:before {
content: "\e63d";
}
.sdoc-unstarred:before {
content: "\e63e";
}
.sdoc-more:before {
content: "\e63a";
}
@ -48,10 +60,6 @@
content: "\e637";
}
.sdoc-caret-up:before {
content: "\e636";
}
.sdoc-align-right:before {
content: "\e630";
}

View File

@ -14,6 +14,12 @@
/>
<missing-glyph />
<glyph glyph-name="sdoc-caret-up" unicode="&#58934;" d="M550.4 588.8l265.6-336c32-38.4 6.4-102.4-38.4-102.4H246.4c-44.8 0-70.4 60.8-38.4 102.4l265.6 336c19.2 25.6 57.6 25.6 76.8 0z" horiz-adv-x="1024" />
<glyph glyph-name="sdoc-starred" unicode="&#58941;" d="M995.2 412.8c54.4 54.4 25.6 153.6-51.2 163.2l-192 28.8c-28.8 3.2-57.6 25.6-70.4 54.4l-86.4 182.4C579.2 876.8 544 896 512 896s-67.2-19.2-83.2-54.4l-86.4-182.4c-12.8-28.8-38.4-48-70.4-51.2l-192-28.8C3.2 566.4-25.6 470.4 28.8 416l140.8-140.8c22.4-22.4 32-54.4 25.6-86.4l-32-201.6c-9.6-64 38.4-112 92.8-112 12.8 0 28.8 3.2 41.6 12.8l172.8 96c12.8 6.4 28.8 9.6 41.6 9.6 16 0 28.8-3.2 41.6-9.6l172.8-96c12.8-6.4 28.8-12.8 41.6-12.8 54.4 0 102.4 51.2 92.8 112l-32 201.6c-6.4 32 3.2 64 25.6 86.4l140.8 137.6z" horiz-adv-x="1024" />
<glyph glyph-name="sdoc-unstarred" unicode="&#58942;" d="M816 368c-60.8-60.8-86.4-150.4-73.6-236.8L768-32l-137.6 76.8c-35.2 19.2-76.8 32-118.4 32s-83.2-9.6-118.4-32L256-32l25.6 163.2c12.8 86.4-12.8 176-73.6 236.8L96 483.2l153.6 22.4c83.2 12.8 153.6 67.2 192 147.2L512 800l70.4-147.2c38.4-80 108.8-134.4 192-147.2l153.6-22.4-112-115.2z m179.2 44.8c54.4 54.4 25.6 153.6-51.2 163.2l-192 28.8c-28.8 3.2-57.6 25.6-70.4 54.4l-86.4 182.4C579.2 876.8 544 896 512 896s-67.2-19.2-83.2-54.4l-86.4-182.4c-12.8-28.8-38.4-48-70.4-51.2l-192-28.8C3.2 566.4-25.6 470.4 28.8 416l140.8-140.8c22.4-22.4 32-54.4 25.6-86.4l-32-201.6c-9.6-64 38.4-112 92.8-112 12.8 0 28.8 3.2 41.6 12.8l172.8 96c12.8 6.4 28.8 9.6 41.6 9.6 16 0 28.8-3.2 41.6-9.6l172.8-96c12.8-6.4 28.8-12.8 41.6-12.8 54.4 0 102.4 51.2 92.8 112l-32 201.6c-6.4 32 3.2 64 25.6 86.4l140.8 137.6z" horiz-adv-x="1024" />
<glyph glyph-name="sdoc-more" unicode="&#58938;" d="M259.2 380.8c0-54.4-41.6-96-96-96s-96 41.6-96 96 41.6 96 96 96 96-44.8 96-96z m352 6.4c0-54.4-41.6-96-96-96s-96 41.6-96 96 41.6 96 96 96 96-41.6 96-96z m352 0c0-54.4-41.6-96-96-96s-96 41.6-96 96 41.6 96 96 96 96-41.6 96-96z" horiz-adv-x="1024" />
<glyph glyph-name="sdoc-comment" unicode="&#58939;" d="M886.4 800C928 800 960 768 960 726.4v-537.6c0-41.6-32-73.6-73.6-73.6h-192l-156.8-140.8c-12.8-12.8-35.2-12.8-48 0l-156.8 140.8h-192c-41.6 0-73.6 32-73.6 73.6V726.4C64 768 96 800 137.6 800h748.8z m0-73.6H137.6v-537.6h220.8l153.6-137.6 153.6 137.6h220.8V726.4zM665.6 480c19.2 0 38.4-16 38.4-38.4 0-19.2-16-35.2-38.4-38.4h-310.4c-19.2 0-38.4 16-38.4 38.4 0 19.2 16 35.2 38.4 38.4h310.4z m-115.2-192c0-19.2-16-38.4-38.4-38.4-19.2 0-35.2 16-38.4 38.4V598.4c0 19.2 16 38.4 38.4 38.4 19.2 0 35.2-16 38.4-38.4V288z" horiz-adv-x="1024" />
@ -30,8 +36,6 @@
<glyph glyph-name="sdoc-delete-table" unicode="&#58935;" d="M800 352c124.8 0 224-102.4 224-220.8S921.6-96 800-96s-224 102.4-224 220.8 99.2 227.2 224 227.2z m128 448c35.2 0 60.8-25.6 64-60.8v-396.8c-35.2 32-80 54.4-128 67.2V544h-288v-160h92.8C576 336 512 240 512 128c0-60.8 19.2-115.2 48-160H96c-35.2 0-60.8 25.6-64 60.8V736c0 35.2 25.6 60.8 60.8 64H928z m-38.4-640h-176c-25.6 0-38.4-12.8-38.4-32 0-12.8 19.2-32 38.4-32h176c25.6 0 38.4 12.8 38.4 32 0 12.8-16 32-38.4 32zM448 256H160v-160h288v160z m0 288H160v-160h288v160z" horiz-adv-x="1024" />
<glyph glyph-name="sdoc-caret-up" unicode="&#58934;" d="M870.4 137.6H153.6c-51.2 0-73.6 60.8-38.4 96L473.6 592c22.4 22.4 57.6 22.4 80 0L912 233.6c35.2-38.4 9.6-96-41.6-96z" horiz-adv-x="1024" />
<glyph glyph-name="sdoc-align-right" unicode="&#58928;" d="M393.6 697.6V771.2c0 16 12.8 28.8 28.8 28.8h476.8c16 0 28.8-12.8 28.8-28.8v-73.6c0-16-12.8-28.8-28.8-28.8H422.4c-16 0-28.8 12.8-28.8 28.8z m-268.8-262.4H896c16 0 28.8 12.8 28.8 28.8v73.6c0 16-12.8 28.8-28.8 28.8H124.8c-16 0-28.8-12.8-28.8-28.8v-73.6c0-16 12.8-28.8 28.8-28.8z m0-467.2H896c16 0 28.8 12.8 28.8 28.8v73.6c0 16-12.8 28.8-28.8 28.8H124.8c-16 0-28.8-12.8-28.8-28.8v-73.6c0-16 12.8-28.8 28.8-28.8z m297.6 233.6h476.8c16 0 28.8 12.8 28.8 28.8v73.6c0 16-12.8 28.8-28.8 28.8H422.4c-16 0-28.8-12.8-28.8-28.8v-73.6c0-16 12.8-28.8 28.8-28.8z" horiz-adv-x="1024" />
<glyph glyph-name="sdoc-cancel" unicode="&#58929;" d="M512 441.6L214.4 742.4 185.6 768 128 710.4l25.6-28.8 300.8-297.6-300.8-297.6-25.6-28.8L185.6 0l28.8 25.6 297.6 300.8 297.6-300.8 28.8-25.6 57.6 57.6-25.6 28.8-300.8 297.6 300.8 297.6 25.6 28.8L838.4 768l-28.8-25.6-297.6-300.8z" horiz-adv-x="1024" />

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 28 KiB