@scalar/use-codemirror 0.8.5 → 0.8.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 +13 -0
- package/dist/components/CodeMirror/CodeMirror.vue.d.ts +2 -2
- package/dist/hooks/useCodeMirror.d.ts +1 -1
- package/dist/hooks/useCodeMirror.d.ts.map +1 -1
- package/dist/index.js +2850 -7814
- package/dist/style.css +2 -2
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @scalar/use-codemirror
|
|
2
2
|
|
|
3
|
+
## 0.8.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5a94530: fix: select all keybinding does not work
|
|
8
|
+
|
|
9
|
+
## 0.8.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 1669b27: chore: update dependencies
|
|
14
|
+
- 7ea052b: chore: remove some languages from CodeMirror
|
|
15
|
+
|
|
3
16
|
## 0.8.5
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -2,7 +2,7 @@ import type { CodeMirrorLanguage } from '../../types';
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
content: string | undefined;
|
|
4
4
|
readOnly?: boolean | undefined;
|
|
5
|
-
|
|
5
|
+
language?: CodeMirrorLanguage | undefined;
|
|
6
6
|
withVariables?: boolean | undefined;
|
|
7
7
|
lineNumbers?: boolean | undefined;
|
|
8
8
|
withoutTheme?: boolean | undefined;
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
14
14
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
15
15
|
content: string | undefined;
|
|
16
16
|
readOnly?: boolean | undefined;
|
|
17
|
-
|
|
17
|
+
language?: CodeMirrorLanguage | undefined;
|
|
18
18
|
withVariables?: boolean | undefined;
|
|
19
19
|
lineNumbers?: boolean | undefined;
|
|
20
20
|
withoutTheme?: boolean | undefined;
|
|
@@ -10,7 +10,7 @@ type BaseParameters = {
|
|
|
10
10
|
/** Whether to load a theme.*/
|
|
11
11
|
withoutTheme?: MaybeRefOrGetter<boolean | undefined>;
|
|
12
12
|
/** Languages to support for syntax highlighting */
|
|
13
|
-
|
|
13
|
+
language: MaybeRefOrGetter<CodeMirrorLanguage | undefined>;
|
|
14
14
|
/** Class names to apply to the instance */
|
|
15
15
|
classes?: MaybeRefOrGetter<string[] | undefined>;
|
|
16
16
|
/** Put the editor into read-only mode */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCodeMirror.d.ts","sourceRoot":"","sources":["../../src/hooks/useCodeMirror.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useCodeMirror.d.ts","sourceRoot":"","sources":["../../src/hooks/useCodeMirror.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAe,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EACL,UAAU,EAIX,MAAM,kBAAkB,CAAA;AACzB,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,GAAG,EAMT,MAAM,KAAK,CAAA;AAGZ,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAGlD,KAAK,cAAc,GAAG;IACpB,yCAAyC;IACzC,aAAa,EAAE,GAAG,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IACzC,mDAAmD;IACnD,UAAU,CAAC,EAAE,gBAAgB,CAAC,SAAS,EAAE,CAAC,CAAA;IAC1C,8BAA8B;IAC9B,YAAY,CAAC,EAAE,gBAAgB,CAA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