@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.
@@ -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,3 +0,0 @@
1
- import type { Hover } from 'vscode-languageserver/node';
2
- import type { Range } from 'vscode-languageserver-textdocument';
3
- export declare function doHover(instance: string, range: Range, config: any): Hover | null;
@@ -1 +0,0 @@
1
- export declare function getCssEntryMarkdownDescription(entry: any): string;
@@ -1,2 +0,0 @@
1
- import { Color } from 'vscode-languageserver/node';
2
- export declare function hexToRgb(hex: string): Color;
@@ -1,2 +0,0 @@
1
- import { Color } from 'vscode-languageserver';
2
- export declare function hslToRgb(h: number, s: number, l: number, alpha?: number): Color;
@@ -1 +0,0 @@
1
- export declare const instancePattern: RegExp;
@@ -1,8 +0,0 @@
1
- import { Color } from 'vscode-languageserver';
2
- export interface HSLA {
3
- h: number;
4
- s: number;
5
- l: number;
6
- a: number;
7
- }
8
- export declare function rgbToHsl(rgba: Color): HSLA;
@@ -1 +0,0 @@
1
- export declare function toTwoDigitHex(n: number): string;