melonykit 1.10.0 → 1.10.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 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -20187,7 +20187,7 @@ var dT = /code|horizontalrule|html|link|comment|processing|escape|entity|image|m
20187
20187
  userEvent: "input.paste",
20188
20188
  scrollIntoView: !0
20189
20189
  }), !0);
20190
- } }), pT = J.theme({
20190
+ } }), pT = (e) => J.theme({
20191
20191
  "&": {
20192
20192
  backgroundColor: "transparent",
20193
20193
  color: M.colors.fore.primary,
@@ -20203,7 +20203,7 @@ var dT = /code|horizontalrule|html|link|comment|processing|escape|entity|image|m
20203
20203
  ".cm-content": {
20204
20204
  caretColor: M.colors.fore.primary,
20205
20205
  minHeight: "18rem",
20206
- padding: "0 1.5rem"
20206
+ padding: e ? "0 1.5rem" : "0"
20207
20207
  },
20208
20208
  ".cm-line": { padding: "0" },
20209
20209
  ".cm-activeLine": { backgroundColor: "transparent" },
@@ -20247,7 +20247,7 @@ function gT({ width: e, language: t = "markdown", validateSyntax: n = !0, readOn
20247
20247
  J.contentAttributes.of({ tabindex: r ? "-1" : "0" }),
20248
20248
  J.lineWrapping,
20249
20249
  _T(t),
20250
- pT,
20250
+ pT(i),
20251
20251
  e
20252
20252
  ],
20253
20253
  parent: p.current
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Vadim Hermann",
3
3
  "name": "melonykit",
4
- "version": "1.10.0",
4
+ "version": "1.10.2",
5
5
  "type": "module",
6
6
  "description": "Preact based ui and utility functions toolkit",
7
7
  "main": "./dist/index.js",