@verbb/plugin-kit-web 2.0.6 → 2.0.7
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/CHANGELOG.md
CHANGED
|
@@ -2,12 +2,12 @@ import { c as r, l as n, m as i, p as b, s as e, u as t } from "../../chunks/lit
|
|
|
2
2
|
import { c as __decorate, i as PkFormAssociatedElement, n as formControlStyles } from "../../chunks/pk-base-BlxAYXJD.js";
|
|
3
3
|
import { t as MirrorValidator } from "../../chunks/mirror-validator-DEz3BsbN.js";
|
|
4
4
|
import { T as EditorState, _ as highlightActiveLine, a as html, b as keymap, c as closeBracketsKeymap, d as defaultHighlightStyle, f as indentOnInput, g as drawSelection, h as EditorView, i as json, l as css, m as syntaxHighlighting, n as history, o as javascript, p as indentUnit, r as historyKeymap, s as closeBrackets, t as defaultKeymap, u as bracketMatching, v as highlightActiveLineGutter, w as Compartment, x as lineNumbers, y as highlightSpecialChars } from "../../chunks/codemirror-CHXb-wYU.js";
|
|
5
|
-
//#region
|
|
5
|
+
//#region node_modules/@verbb/plugin-kit-codemirror-core/dist/constants.js
|
|
6
6
|
function computeCodeEditorMinHeight(rows = 12) {
|
|
7
7
|
return `${Math.max(Number(rows) || 12, 4) * 18 + 12}px`;
|
|
8
8
|
}
|
|
9
9
|
//#endregion
|
|
10
|
-
//#region
|
|
10
|
+
//#region node_modules/@verbb/plugin-kit-codemirror-core/dist/languages.js
|
|
11
11
|
function languageUsesSyntaxHelpers(language) {
|
|
12
12
|
return language !== "text";
|
|
13
13
|
}
|
|
@@ -21,7 +21,7 @@ function createLanguageExtension(language) {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
//#endregion
|
|
24
|
-
//#region
|
|
24
|
+
//#region node_modules/@verbb/plugin-kit-codemirror-core/dist/theme.js
|
|
25
25
|
/** Editor content surface — matches @uiw/react-codemirror default light theme. */
|
|
26
26
|
var CODE_EDITOR_SURFACE_BG = "#ffffff";
|
|
27
27
|
/** Gutter strip beside line numbers. */
|
|
@@ -71,7 +71,7 @@ var codeEditorTheme = EditorView.theme({
|
|
|
71
71
|
".cm-selectionBackground, &.cm-focused .cm-selectionBackground, ::selection": { backgroundColor: `rgba(59, 130, 246, 0.35) !important` }
|
|
72
72
|
});
|
|
73
73
|
//#endregion
|
|
74
|
-
//#region
|
|
74
|
+
//#region node_modules/@verbb/plugin-kit-codemirror-core/dist/extensions.js
|
|
75
75
|
function createEditorSetupExtensions(language, showLineNumbers) {
|
|
76
76
|
const usesSyntaxHelpers = languageUsesSyntaxHelpers(language);
|
|
77
77
|
const extensions = [
|
|
@@ -118,7 +118,7 @@ function createCodeEditorExtensions({ language = "html", tabSize = 4, lineNumber
|
|
|
118
118
|
return extensions;
|
|
119
119
|
}
|
|
120
120
|
//#endregion
|
|
121
|
-
//#region
|
|
121
|
+
//#region node_modules/@verbb/plugin-kit-codemirror-core/dist/host.js
|
|
122
122
|
var CodeMirrorHost = class {
|
|
123
123
|
view = null;
|
|
124
124
|
editableCompartment = new Compartment();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verbb/plugin-kit-web",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"description": "Plugin Kit web components (shadow DOM, Craft design system)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -936,18 +936,18 @@
|
|
|
936
936
|
},
|
|
937
937
|
"peerDependencies": {
|
|
938
938
|
"@floating-ui/dom": "^1.7.3",
|
|
939
|
-
"@verbb/plugin-kit-core": "^2.0.
|
|
940
|
-
"@verbb/plugin-kit-icons": "^2.0.
|
|
939
|
+
"@verbb/plugin-kit-core": "^2.0.7",
|
|
940
|
+
"@verbb/plugin-kit-icons": "^2.0.7",
|
|
941
941
|
"lit": "^3.3.0"
|
|
942
942
|
},
|
|
943
943
|
"license": "MIT",
|
|
944
944
|
"dependencies": {
|
|
945
945
|
"@floating-ui/dom": "^1.7.3",
|
|
946
946
|
"@tiptap/core": "^3.22.4",
|
|
947
|
-
"@verbb/plugin-kit-codemirror-core": "2.0.
|
|
948
|
-
"@verbb/plugin-kit-core": "^2.0.
|
|
949
|
-
"@verbb/plugin-kit-icons": "^2.0.
|
|
950
|
-
"@verbb/plugin-kit-tiptap-core": "^2.0.
|
|
947
|
+
"@verbb/plugin-kit-codemirror-core": "2.0.7",
|
|
948
|
+
"@verbb/plugin-kit-core": "^2.0.7",
|
|
949
|
+
"@verbb/plugin-kit-icons": "^2.0.7",
|
|
950
|
+
"@verbb/plugin-kit-tiptap-core": "^2.0.7",
|
|
951
951
|
"composed-offset-position": "^0.0.6",
|
|
952
952
|
"lit": "^3.3.0"
|
|
953
953
|
},
|