@vscode/markdown-editor 0.0.2-23 → 0.0.2-25

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/markdown-editor",
3
- "version": "0.0.2-23",
3
+ "version": "0.0.2-25",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -17,6 +17,13 @@
17
17
  "sideEffects": [
18
18
  "**/*.css"
19
19
  ],
20
+ "typesVersions": {
21
+ "*": {
22
+ "config": [
23
+ "./dist/config.d.ts"
24
+ ]
25
+ }
26
+ },
20
27
  "files": [
21
28
  "dist",
22
29
  "src/view/editor.css",
@@ -37,6 +44,10 @@
37
44
  "types": "./dist/observables.d.ts",
38
45
  "import": "./dist/observables.js"
39
46
  },
47
+ "./config": {
48
+ "types": "./dist/config.d.ts",
49
+ "import": "./dist/config.js"
50
+ },
40
51
  "./web-editors": {
41
52
  "types": "./dist/web-editors.d.ts",
42
53
  "import": "./dist/web-editors.js"
@@ -774,6 +774,16 @@ pre.md-unhandled-scroll.md-code-block {
774
774
  visibility: hidden;
775
775
  }
776
776
 
777
+ .md-editor.md-readonly-editing-attempt {
778
+ animation: md-readonly-editing-attempt 300ms ease-out;
779
+ }
780
+
781
+ @keyframes md-readonly-editing-attempt {
782
+ 50% {
783
+ box-shadow: inset 0 0 0 2px var(--md-readonly-shine-glow, rgba(255, 255, 255, 0.58));
784
+ }
785
+ }
786
+
777
787
  @keyframes md-cursor-blink {
778
788
 
779
789
  0%,
@@ -934,6 +944,7 @@ pre.md-unhandled-scroll.md-code-block {
934
944
 
935
945
  @media (prefers-reduced-motion: reduce) {
936
946
 
947
+ .md-editor.md-readonly-editing-attempt,
937
948
  .md-readonly-toggle,
938
949
  .md-readonly-toggle .md-readonly-toggle-indicator,
939
950
  .md-readonly-toggle .md-readonly-toggle-icon,