@bhsd/codemirror-mediawiki 2.19.6 → 2.19.8

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/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  [![npm version](https://badge.fury.io/js/@bhsd%2Fcodemirror-mediawiki.svg)](https://www.npmjs.com/package/@bhsd/codemirror-mediawiki)
2
2
  [![CodeQL](https://github.com/bhsd-harry/codemirror-mediawiki/actions/workflows/codeql.yml/badge.svg)](https://github.com/bhsd-harry/codemirror-mediawiki/actions/workflows/codeql.yml)
3
3
  [![jsDelivr hits (npm scoped)](https://img.shields.io/jsdelivr/npm/hm/%40bhsd/codemirror-mediawiki)](https://www.npmjs.com/package/@bhsd/codemirror-mediawiki)
4
+ [![codebeat badge](https://codebeat.co/badges/fd9f2c17-3d49-41ef-9922-314dea1ca46a)](https://codebeat.co/projects/github-com-bhsd-harry-codemirror-mediawiki-npm)
4
5
 
5
6
  <details>
6
7
  <summary>Expand</summary>
package/dist/color.d.ts CHANGED
@@ -1,5 +1,9 @@
1
1
  import type { Extension } from '@codemirror/state';
2
2
  import type { StyleSpec } from 'style-mod';
3
- import type { Addon } from './codemirror';
4
- declare const _default: Addon<[Extension?, StyleSpec?]>;
3
+ declare const _default: [([e, style]?: [Extension?, StyleSpec?]) => Extension, {
4
+ css: [Extension];
5
+ mediawiki: [Extension[], {
6
+ marginLeft: string;
7
+ }];
8
+ }];
5
9
  export default _default;
package/dist/fold.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import type { EditorView } from '@codemirror/view';
1
+ import { StateField } from '@codemirror/state';
2
+ import type { EditorView, Tooltip } from '@codemirror/view';
2
3
  import type { EditorState, Extension } from '@codemirror/state';
3
4
  import type { SyntaxNode } from '@lezer/common';
4
- import type { Addon } from './codemirror';
5
5
  export interface DocRange {
6
6
  from: number;
7
7
  to: number;
@@ -12,7 +12,10 @@ export interface DocRange {
12
12
  * @param node 语法树节点
13
13
  */
14
14
  export declare const braceStackUpdate: (state: EditorState, node: SyntaxNode) => [number, number];
15
- declare const _default: Addon<Extension>;
15
+ declare const _default: [(e?: Extension | undefined) => Extension, {
16
+ lua: Extension[];
17
+ mediawiki: (Extension | StateField<Tooltip | null>)[];
18
+ }];
16
19
  export default _default;
17
20
  /**
18
21
  * 点击提示折叠模板参数
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@codemirror/state").Extension;
2
+ export default _default;