@scalar/api-client 0.12.9 → 0.12.10
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 +7 -0
- package/dist/index.js +11 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -21428,6 +21428,16 @@ const variables = () => ViewPlugin.fromClass(
|
|
|
21428
21428
|
}
|
|
21429
21429
|
);
|
|
21430
21430
|
const hasProvider = (params) => "provider" in params && !!toValue$1(params.provider);
|
|
21431
|
+
const selectAllKeyBinding = {
|
|
21432
|
+
key: "Mod-a",
|
|
21433
|
+
run: (view) => {
|
|
21434
|
+
view.dispatch({
|
|
21435
|
+
selection: { anchor: 0, head: view.state.doc.length },
|
|
21436
|
+
scrollIntoView: false
|
|
21437
|
+
});
|
|
21438
|
+
return true;
|
|
21439
|
+
}
|
|
21440
|
+
};
|
|
21431
21441
|
const useCodeMirror = (params) => {
|
|
21432
21442
|
const codeMirror = ref(null);
|
|
21433
21443
|
watch(
|
|
@@ -21554,6 +21564,7 @@ function getCodeMirrorExtensions({
|
|
|
21554
21564
|
additionalExtensions = []
|
|
21555
21565
|
}) {
|
|
21556
21566
|
const extensions = [
|
|
21567
|
+
keymap.of([selectAllKeyBinding]),
|
|
21557
21568
|
EditorView.theme({
|
|
21558
21569
|
".cm-line": {
|
|
21559
21570
|
lineHeight: "20px"
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"rest",
|
|
14
14
|
"testing"
|
|
15
15
|
],
|
|
16
|
-
"version": "0.12.
|
|
16
|
+
"version": "0.12.10",
|
|
17
17
|
"engines": {
|
|
18
18
|
"node": ">=18"
|
|
19
19
|
},
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"vue": "^3.3.0",
|
|
45
45
|
"@scalar/components": "0.3.0",
|
|
46
46
|
"@scalar/themes": "0.5.10",
|
|
47
|
-
"@scalar/use-codemirror": "0.8.
|
|
47
|
+
"@scalar/use-codemirror": "0.8.7",
|
|
48
48
|
"@scalar/use-modal": "0.2.8"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|