@vscode/markdown-editor 0.0.2-36 → 0.0.2-37
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.d.ts +2 -20
- package/dist/index.js +1106 -1228
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/view/editor.css +0 -60
package/package.json
CHANGED
package/src/view/editor.css
CHANGED
|
@@ -816,52 +816,6 @@ pre.md-unhandled-scroll.md-code-block {
|
|
|
816
816
|
animation: md-readonly-editing-attempt 300ms ease-out;
|
|
817
817
|
}
|
|
818
818
|
|
|
819
|
-
.md-readonly-edit-at {
|
|
820
|
-
position: absolute;
|
|
821
|
-
z-index: 20;
|
|
822
|
-
display: inline-flex;
|
|
823
|
-
align-items: center;
|
|
824
|
-
gap: 4px;
|
|
825
|
-
box-sizing: border-box;
|
|
826
|
-
min-height: 26px;
|
|
827
|
-
padding: 4px 9px 4px 7px;
|
|
828
|
-
white-space: nowrap;
|
|
829
|
-
appearance: none;
|
|
830
|
-
border: 1px solid var(--md-readonly-accent, #4c8bf5);
|
|
831
|
-
border-radius: 999px;
|
|
832
|
-
background: var(--md-readonly-accent, #4c8bf5);
|
|
833
|
-
color: var(--md-readonly-accent-foreground, #ffffff);
|
|
834
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
|
|
835
|
-
font: 600 12px/1 system-ui, sans-serif;
|
|
836
|
-
cursor: pointer;
|
|
837
|
-
animation: md-readonly-edit-at-appear 120ms ease-out;
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
.md-readonly-edit-at[hidden] {
|
|
841
|
-
display: none;
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
.md-readonly-edit-at:hover {
|
|
845
|
-
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
|
|
846
|
-
filter: brightness(1.08);
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
.md-readonly-edit-at:focus-visible {
|
|
850
|
-
outline: 2px solid var(--md-readonly-accent, #4c8bf5);
|
|
851
|
-
outline-offset: 2px;
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
.md-readonly-edit-at .codicon {
|
|
855
|
-
font-size: 14px;
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
@keyframes md-readonly-edit-at-appear {
|
|
859
|
-
from {
|
|
860
|
-
opacity: 0;
|
|
861
|
-
transform: translateY(-2px) scale(0.96);
|
|
862
|
-
}
|
|
863
|
-
}
|
|
864
|
-
|
|
865
819
|
@keyframes md-readonly-editing-attempt {
|
|
866
820
|
50% {
|
|
867
821
|
box-shadow: inset 0 0 0 2px var(--md-readonly-shine-glow, rgba(255, 255, 255, 0.58));
|
|
@@ -1029,7 +983,6 @@ pre.md-unhandled-scroll.md-code-block {
|
|
|
1029
983
|
@media (prefers-reduced-motion: reduce) {
|
|
1030
984
|
|
|
1031
985
|
.md-editor.md-readonly-editing-attempt,
|
|
1032
|
-
.md-readonly-edit-at,
|
|
1033
986
|
.md-readonly-toggle,
|
|
1034
987
|
.md-readonly-toggle .md-readonly-toggle-indicator,
|
|
1035
988
|
.md-readonly-toggle .md-readonly-toggle-icon,
|
|
@@ -1040,19 +993,6 @@ pre.md-unhandled-scroll.md-code-block {
|
|
|
1040
993
|
}
|
|
1041
994
|
|
|
1042
995
|
@media (forced-colors: active) {
|
|
1043
|
-
.md-readonly-edit-at {
|
|
1044
|
-
forced-color-adjust: none;
|
|
1045
|
-
border-color: Highlight;
|
|
1046
|
-
background: Highlight;
|
|
1047
|
-
color: HighlightText;
|
|
1048
|
-
box-shadow: none;
|
|
1049
|
-
filter: none;
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
.md-readonly-edit-at:focus-visible {
|
|
1053
|
-
outline-color: Highlight;
|
|
1054
|
-
}
|
|
1055
|
-
|
|
1056
996
|
.md-readonly-toggle {
|
|
1057
997
|
forced-color-adjust: none;
|
|
1058
998
|
border-color: ButtonText;
|