Skip to content

Commit bb6f5bf

Browse files
authored
chore(vscodePlugin):upgrade deps and rename extension name (#1013)
1 parent c7217f0 commit bb6f5bf

21 files changed

+9382
-2251
lines changed

vscodePlugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
}
6161
},
6262
"configuration": {
63-
"title": "cherryMarkdown",
63+
"title": "Cherry Markdown",
6464
"properties": {
6565
"cherryMarkdown.Usage": {
6666
"type": "string",

vscodePlugin/web-resources/dist/addons/cherry-code-block-mermaid-plugin.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vscodePlugin/web-resources/dist/addons/cherry-code-block-plantuml-plugin.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vscodePlugin/web-resources/dist/cherry-markdown.core.common.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vscodePlugin/web-resources/dist/cherry-markdown.core.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vscodePlugin/web-resources/dist/cherry-markdown.css

Lines changed: 78 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -826,10 +826,6 @@ span.CodeMirror-selectedtext {
826826
content: "\ea62";
827827
}
828828

829-
.ch-icon-search:before {
830-
content: "\ea63";
831-
}
832-
833829
.ch-icon-tips:before {
834830
content: "\ea64";
835831
}
@@ -890,10 +886,6 @@ span.CodeMirror-selectedtext {
890886
content: "\ea72";
891887
}
892888

893-
.ch-icon-inlineCode:before {
894-
content: "\ea73";
895-
}
896-
897889
.ch-icon-codeBlock:before {
898890
content: "\ea74";
899891
}
@@ -914,6 +906,18 @@ span.CodeMirror-selectedtext {
914906
content: "\ea78";
915907
}
916908

909+
.ch-icon-keyboard:before {
910+
content: "\ea79";
911+
}
912+
913+
.ch-icon-command:before {
914+
content: "\ea7a";
915+
}
916+
917+
.ch-icon-search:before {
918+
content: "\ea7b";
919+
}
920+
917921
.cherry-markdown {
918922
word-break: break-all;
919923
/* Specify class=linenums on a pre to get line numbering */
@@ -1536,6 +1540,9 @@ div[data-type=codeBlock] .token.entity {
15361540
div[data-type=codeBlock] .token.inserted {
15371541
color: green;
15381542
}
1543+
div[data-code-wrap=wrap] div[data-type=codeBlock] code[class*=language-] {
1544+
white-space: pre-wrap;
1545+
}
15391546
[data-code-block-theme=default] div[data-type=codeBlock] {
15401547
/* PrismJS 1.23.0
15411548
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+abap+abnf+actionscript+ada+agda+al+antlr4+apacheconf+apex+apl+applescript+aql+arduino+arff+asciidoc+aspnet+asm6502+autohotkey+autoit+bash+basic+batch+bbcode+birb+bison+bnf+brainfuck+brightscript+bro+bsl+c+csharp+cpp+cfscript+chaiscript+cil+clojure+cmake+cobol+coffeescript+concurnas+csp+coq+crystal+css-extras+csv+cypher+d+dart+dataweave+dax+dhall+diff+django+dns-zone-file+docker+dot+ebnf+editorconfig+eiffel+ejs+elixir+elm+etlua+erb+erlang+excel-formula+fsharp+factor+false+firestore-security-rules+flow+fortran+ftl+gml+gcode+gdscript+gedcom+gherkin+git+glsl+go+graphql+groovy+haml+handlebars+haskell+haxe+hcl+hlsl+http+hpkp+hsts+ichigojam+icon+icu-message-format+idris+ignore+inform7+ini+io+j+java+javadoc+javadoclike+javastacktrace+jexl+jolie+jq+jsdoc+js-extras+json+json5+jsonp+jsstacktrace+js-templates+julia+keyman+kotlin+kumir+latex+latte+less+lilypond+liquid+lisp+livescript+llvm+log+lolcode+lua+makefile+markdown+markup-templating+matlab+mel+mizar+mongodb+monkey+moonscript+n1ql+n4js+nand2tetris-hdl+naniscript+nasm+neon+nevod+nginx+nim+nix+nsis+objectivec+ocaml+opencl+openqasm+oz+parigp+parser+pascal+pascaligo+psl+pcaxis+peoplecode+perl+php+phpdoc+php-extras+plsql+powerquery+powershell+processing+prolog+promql+properties+protobuf+pug+puppet+pure+purebasic+purescript+python+qsharp+q+qml+qore+r+racket+jsx+tsx+reason+regex+rego+renpy+rest+rip+roboconf+robotframework+ruby+rust+sas+sass+scss+scala+scheme+shell-session+smali+smalltalk+smarty+sml+solidity+solution-file+soy+sparql+splunk-spl+sqf+sql+squirrel+stan+iecst+stylus+swift+t4-templating+t4-cs+t4-vb+tap+tcl+tt2+textile+toml+turtle+twig+typescript+typoscript+unrealscript+uri+v+vala+vbnet+velocity+verilog+vhdl+vim+visual-basic+warpscript+wasm+wiki+wolfram+xeora+xml-doc+xojo+xquery+yaml+yang+zig */
@@ -3903,7 +3910,7 @@ div[data-type=codeBlock] .token.inserted {
39033910
border-color: #dae0e5;
39043911
background-color: #e2e6ea;
39053912
}
3906-
.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__func .cherry-insert-formula-categary__func-item svg {
3913+
.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__func .cherry-insert-formula-categary__func-item svg, .cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__func .cherry-insert-formula-categary__func-item img {
39073914
pointer-events: none;
39083915
}
39093916
.cherry-insert-formula-wrappler .cherry-insert-formula-select .cherry-insert-formula-categary .cherry-insert-formula-categary__func:hover {
@@ -4093,11 +4100,33 @@ div[data-type=codeBlock] .token.inserted {
40934100
.cherry-shortcut-key-config-panel-wrapper .shortcut-static .cherry-shortcut-key-config-panel-ul .shortcut-key-item .shortcut-key-config-panel-static .shortcut-split {
40944101
color: #aaa;
40954102
}
4096-
.cherry-shortcut-key-config-panel-wrapper .shortcut-panel-title {
4103+
.cherry-shortcut-key-config-panel-wrapper .shortcut-panel-title, .cherry-shortcut-key-config-panel-wrapper .shortcut-panel-settings {
40974104
font-size: 14px;
40984105
padding: 10px 15px;
40994106
background-color: #eee;
41004107
}
4108+
.cherry-shortcut-key-config-panel-wrapper .shortcut-panel-settings {
4109+
padding: 10px 15px;
4110+
font-size: 12px;
4111+
cursor: pointer;
4112+
user-select: none;
4113+
border-bottom: 1px solid #aaa;
4114+
justify-content: space-between;
4115+
display: flex;
4116+
}
4117+
.cherry-shortcut-key-config-panel-wrapper .shortcut-panel-settings .shortcut-settings-btn {
4118+
height: auto;
4119+
line-height: 1.2em;
4120+
}
4121+
.cherry-shortcut-key-config-panel-wrapper .shortcut-panel-settings .shortcut-settings-btn:hover {
4122+
color: rgb(255, 77, 79);
4123+
}
4124+
.cherry-shortcut-key-config-panel-wrapper.disable .cherry-shortcut-key-config-panel-ul {
4125+
opacity: 0.3;
4126+
}
4127+
.cherry-shortcut-key-config-panel-wrapper.disable .j-shortcut-settings-disable-btn {
4128+
color: rgb(255, 77, 79);
4129+
}
41014130

41024131
.cherry {
41034132
display: flex;
@@ -4243,9 +4272,10 @@ div[data-type=codeBlock] .token.inserted {
42434272
.cherry-toolbar {
42444273
position: relative;
42454274
display: flex;
4275+
align-items: baseline;
42464276
justify-content: space-between;
42474277
padding: 0 20px;
4248-
height: 48px;
4278+
min-height: 48px;
42494279
font-size: 14px;
42504280
line-height: 2.8;
42514281
flex-basis: 100%;
@@ -4289,18 +4319,19 @@ div[data-type=codeBlock] .token.inserted {
42894319
.cherry-toolbar .toolbar-right {
42904320
display: flex;
42914321
align-items: center;
4292-
height: 48px;
4293-
overflow: hidden;
4322+
min-height: 48px;
4323+
flex-wrap: wrap;
4324+
flex: 1;
42944325
}
42954326
.cherry-toolbar .toolbar-left {
4296-
flex: 0 0 auto;
42974327
margin-right: 20px;
42984328
}
42994329
.cherry-toolbar .toolbar-right {
43004330
flex: 0 1 auto;
43014331
flex-direction: row-reverse;
43024332
margin-left: 10px;
43034333
box-sizing: border-box;
4334+
min-height: 0;
43044335
}
43054336
.cherry-toolbar.preview-only .cherry-toolbar-button {
43064337
display: none;
@@ -4623,6 +4654,7 @@ div[data-type=codeBlock] .token.inserted {
46234654
.cherry-editor .CodeMirror-lines {
46244655
padding: 15px 34px;
46254656
}
4657+
.cherry-editor .CodeMirror-lines .long-text,
46264658
.cherry-editor .CodeMirror-lines .drawio,
46274659
.cherry-editor .CodeMirror-lines .base64 {
46284660
display: inline-block;
@@ -4759,7 +4791,12 @@ div[data-type=codeBlock] .token.inserted {
47594791
.cherry-previewer-codeBlock-hover-handler {
47604792
z-index: 0;
47614793
position: absolute;
4794+
pointer-events: none;
4795+
}
4796+
.cherry-previewer-codeBlock-hover-handler * {
4797+
pointer-events: all;
47624798
}
4799+
.cherry-previewer-codeBlock-hover-handler .cherry-code-block-custom-btn,
47634800
.cherry-previewer-codeBlock-hover-handler .cherry-copy-code-block,
47644801
.cherry-previewer-codeBlock-hover-handler .cherry-unExpand-code-block,
47654802
.cherry-previewer-codeBlock-hover-handler .cherry-edit-code-block {
@@ -4772,13 +4809,15 @@ div[data-type=codeBlock] .token.inserted {
47724809
float: right;
47734810
top: 15px;
47744811
border-radius: 5px;
4775-
margin-left: -27px;
47764812
transition: all 0.3s;
47774813
z-index: 2;
47784814
color: #3582fb;
47794815
background-color: #eee;
47804816
border-color: #3582fb;
47814817
}
4818+
.cherry-previewer-codeBlock-hover-handler .cherry-code-block-custom-btn {
4819+
width: auto;
4820+
}
47824821
.cherry-previewer-codeBlock-hover-handler .cherry-expand-code-block {
47834822
position: absolute;
47844823
width: 25px;
@@ -4800,19 +4839,12 @@ div[data-type=codeBlock] .token.inserted {
48004839
right: 10px;
48014840
}
48024841
.cherry-previewer-codeBlock-hover-handler .cherry-unExpand-code-block {
4803-
right: 10px;
48044842
z-index: 12;
4805-
margin-top: 30px;
48064843
}
48074844
.cherry-previewer-codeBlock-hover-handler .cherry-unExpand-code-block.hidden {
48084845
display: none;
48094846
}
4810-
.cherry-previewer-codeBlock-hover-handler .cherry-copy-code-block {
4811-
right: 10px;
4812-
}
4813-
.cherry-previewer-codeBlock-hover-handler .cherry-edit-code-block {
4814-
right: 40px;
4815-
}
4847+
.cherry-previewer-codeBlock-hover-handler .cherry-code-block-custom-btn:hover,
48164848
.cherry-previewer-codeBlock-hover-handler .cherry-copy-code-block:hover,
48174849
.cherry-previewer-codeBlock-hover-handler .cherry-expand-code-block:hover,
48184850
.cherry-previewer-codeBlock-hover-handler .cherry-unExpand-code-block:hover,
@@ -4907,21 +4939,41 @@ div[data-type=codeBlock] .token.inserted {
49074939
.cherry-previewer .cherry-list__square {
49084940
list-style: square;
49094941
}
4942+
[data-code-block-theme=default] .cherry-previewer .cherry-code-block-custom-btn,
49104943
[data-code-block-theme=default] .cherry-previewer .cherry-copy-code-block,
49114944
[data-code-block-theme=default] .cherry-previewer .cherry-expand-code-block,
49124945
[data-code-block-theme=default] .cherry-previewer .cherry-unExpand-code-block,
4913-
[data-code-block-theme=default] .cherry-previewer .cherry-edit-code-block, [data-code-block-theme=funky] .cherry-previewer .cherry-copy-code-block,
4946+
[data-code-block-theme=default] .cherry-previewer .cherry-edit-code-block, [data-code-block-theme=funky] .cherry-previewer .cherry-code-block-custom-btn,
4947+
[data-code-block-theme=funky] .cherry-previewer .cherry-copy-code-block,
49144948
[data-code-block-theme=funky] .cherry-previewer .cherry-expand-code-block,
49154949
[data-code-block-theme=funky] .cherry-previewer .cherry-unExpand-code-block,
4916-
[data-code-block-theme=funky] .cherry-previewer .cherry-edit-code-block, [data-code-block-theme=solarized-light] .cherry-previewer .cherry-copy-code-block,
4950+
[data-code-block-theme=funky] .cherry-previewer .cherry-edit-code-block, [data-code-block-theme=solarized-light] .cherry-previewer .cherry-code-block-custom-btn,
4951+
[data-code-block-theme=solarized-light] .cherry-previewer .cherry-copy-code-block,
49174952
[data-code-block-theme=solarized-light] .cherry-previewer .cherry-expand-code-block,
49184953
[data-code-block-theme=solarized-light] .cherry-previewer .cherry-unExpand-code-block,
4919-
[data-code-block-theme=solarized-light] .cherry-previewer .cherry-edit-code-block, [data-code-block-theme=coy] .cherry-previewer .cherry-copy-code-block,
4954+
[data-code-block-theme=solarized-light] .cherry-previewer .cherry-edit-code-block, [data-code-block-theme=coy] .cherry-previewer .cherry-code-block-custom-btn,
4955+
[data-code-block-theme=coy] .cherry-previewer .cherry-copy-code-block,
49204956
[data-code-block-theme=coy] .cherry-previewer .cherry-expand-code-block,
49214957
[data-code-block-theme=coy] .cherry-previewer .cherry-unExpand-code-block,
49224958
[data-code-block-theme=coy] .cherry-previewer .cherry-edit-code-block {
49234959
background-color: #3582fb;
49244960
}
4961+
@keyframes blink {
4962+
0% {
4963+
opacity: 1;
4964+
}
4965+
50% {
4966+
opacity: 0;
4967+
}
4968+
100% {
4969+
opacity: 1;
4970+
}
4971+
}
4972+
.cherry-previewer .cherry-flow-session-cursor {
4973+
background-color: rgba(53, 130, 251, 0.5333333333);
4974+
padding: 0 2.5px;
4975+
animation: blink 1s infinite;
4976+
}
49254977

49264978
.cherry-color-wrap {
49274979
display: none;

vscodePlugin/web-resources/dist/cherry-markdown.engine.core.common.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vscodePlugin/web-resources/dist/cherry-markdown.engine.core.esm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vscodePlugin/web-resources/dist/cherry-markdown.engine.core.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vscodePlugin/web-resources/dist/cherry-markdown.esm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)