@master/css-language-server 2.0.0-beta.139 → 2.0.0-beta.141
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/dist/server.js +1 -0
- package/package.json +1 -1
- package/dist/constant.d.ts +0 -34
- package/dist/index.d.ts +0 -5
- package/dist/index.js +0 -534
- package/dist/position-check.d.ts +0 -20
- package/dist/providers/color.d.ts +0 -6
- package/dist/providers/completion.d.ts +0 -13
- package/dist/providers/hover.d.ts +0 -3
- package/dist/utils/get-css-entry-markdown-description.d.ts +0 -1
- package/dist/utils/hex-to-rgb.d.ts +0 -2
- package/dist/utils/hsl-to-rgb.d.ts +0 -2
- package/dist/utils/regex.d.ts +0 -1
- package/dist/utils/rgb-to-hsl.d.ts +0 -8
- package/dist/utils/to-two-digit-hex.d.ts +0 -1
package/dist/position-check.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare function positionCheck(text: string, positionIndex: number, startIndex: number, RegExpList: string[]): {
|
|
2
|
-
IsMatch: boolean;
|
|
3
|
-
classStartIndex: number;
|
|
4
|
-
classEndIndex: number;
|
|
5
|
-
classString: string;
|
|
6
|
-
instance: {
|
|
7
|
-
index: {
|
|
8
|
-
start: number;
|
|
9
|
-
end: number;
|
|
10
|
-
};
|
|
11
|
-
instanceString: string;
|
|
12
|
-
};
|
|
13
|
-
instanceList: {
|
|
14
|
-
index: {
|
|
15
|
-
start: number;
|
|
16
|
-
end: number;
|
|
17
|
-
};
|
|
18
|
-
instanceString: string;
|
|
19
|
-
}[];
|
|
20
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Color, ColorPresentationParams, ColorPresentation } from 'vscode-languageserver/node';
|
|
2
|
-
import MasterCSS from '@master/css';
|
|
3
|
-
export declare function getConfigFileColorRender(text: string, masterCss?: MasterCSS): Promise<any[]>;
|
|
4
|
-
export declare function getDocumentColors(text: string, masterCss?: MasterCSS): Promise<any[]>;
|
|
5
|
-
export declare function getColorValue(color: Color): Color;
|
|
6
|
-
export declare function getColorPresentation(params: ColorPresentationParams, isColorRender?: boolean): ColorPresentation[];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { CompletionItem } from 'vscode-languageserver/node';
|
|
2
|
-
import type { Position, TextDocument } from 'vscode-languageserver-textdocument';
|
|
3
|
-
import MasterCSS from '@master/css';
|
|
4
|
-
export declare function checkConfigColorsBlock(document: TextDocument, position: Position): boolean;
|
|
5
|
-
export declare function getLastInstance(lineText: string, position: Position, language: string): {
|
|
6
|
-
isInstance: boolean;
|
|
7
|
-
lastKey: string;
|
|
8
|
-
triggerKey: string;
|
|
9
|
-
isStart: boolean;
|
|
10
|
-
language: string;
|
|
11
|
-
};
|
|
12
|
-
export declare function getConfigColorsCompletionItem(masterCss?: MasterCSS): CompletionItem[];
|
|
13
|
-
export declare function getCompletionItem(instance: string, triggerKey: string, isStart: boolean, language: string, masterCss?: MasterCSS): CompletionItem[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getCssEntryMarkdownDescription(entry: any): string;
|
package/dist/utils/regex.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const instancePattern: RegExp;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function toTwoDigitHex(n: number): string;
|