melonykit 0.19.0 → 0.19.2

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -8
  2. package/package.json +5 -2
package/dist/index.js CHANGED
@@ -799,16 +799,10 @@ var St = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;wi
799
799
  }
800
800
 
801
801
  body {
802
+ overscroll-behavior: none;
802
803
  overflow-x: hidden;
803
804
  overflow-y: scroll;
804
- /*
805
- background: linear-gradient(
806
- to top left,
807
- ${this.colors.freshSnow} 0%,
808
- ${this.colors.freshSnow} 25%,
809
- #eef8fb 60%
810
- );
811
- */
805
+ margin: 0;
812
806
  }
813
807
 
814
808
  img { border-style: none; }
@@ -19059,6 +19053,7 @@ function oC({ width: e, language: t = "markdown", value: n = "", onChange: r })
19059
19053
  }
19060
19054
  function sC(e) {
19061
19055
  if (e === "markdown") return QS();
19056
+ if (e === "html") return TS();
19062
19057
  throw Error(`Unsupported editor language "${e}".`);
19063
19058
  }
19064
19059
  function cC(e) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Vadim Hermann",
3
3
  "name": "melonykit",
4
- "version": "0.19.0",
4
+ "version": "0.19.2",
5
5
  "type": "module",
6
6
  "description": "Preact based ui and utility functions toolkit",
7
7
  "main": "./dist/index.js",
@@ -19,7 +19,9 @@
19
19
  "./server": "./dist/server/server.js",
20
20
  "./assets/*": "./dist/assets/*"
21
21
  },
22
- "files": ["dist"],
22
+ "files": [
23
+ "dist"
24
+ ],
23
25
  "publishConfig": {
24
26
  "access": "public"
25
27
  },
@@ -29,6 +31,7 @@
29
31
  },
30
32
  "dependencies": {
31
33
  "@codemirror/commands": "6.11.1",
34
+ "@codemirror/lang-html": "6.4.12",
32
35
  "@codemirror/lang-markdown": "6.5.2",
33
36
  "@codemirror/language": "6.12.4",
34
37
  "@codemirror/view": "6.43.13",