FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: add css-agent declarations (#4361) · NativeScript/NativeScript@c62e79e · GitHub

Commit c62e79e

Browse files
authored andcommitted
fix: add css-agent declarations (#4361)
* fix: add css-agent declarations * fix: remove css-agent ts
1 parent 08af2ef commit c62e79e

2 files changed

Lines changed: 59 additions & 81 deletions

File tree

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
export interface CSSProperty {
2+
name: string;
3+
value: string;
4+
disabled: boolean;
5+
}
6+
export interface ShorthandEntry {
7+
name: string;
8+
value: string;
9+
}
10+
export interface CSSStyle {
11+
cssProperties: CSSProperty[];
12+
shorthandEntries: ShorthandEntry[];
13+
cssText?: string;
14+
}
15+
export interface Value {
16+
text: string;
17+
}
18+
export interface SelectorList {
19+
selectors: Value[];
20+
text: string;
21+
}
22+
export interface CSSRule {
23+
selectorList: SelectorList;
24+
origin: string;
25+
style: CSSStyle;
26+
styleSheetId?: string;
27+
}
28+
export interface RuleMatch {
29+
rule: CSSRule;
30+
matchingSelectors: number[];
31+
}
32+
export interface InheritedStyleEntry {
33+
matchedCSSRules: RuleMatch[];
34+
inlineStyle?: CSSStyle;
35+
}
36+
export interface CSSComputedStyleProperty {
37+
name: string;
38+
value: string;
39+
}
40+
export interface PlatformFontUsage {
41+
familyName: string;
42+
glyphCount: number;
43+
isCustomFont: boolean;
44+
}
45+
export interface CSSStyleSheetHeader {
46+
styleSheetId: string;
47+
frameId: string;
48+
sourceUrl: string;
49+
origin: string;
50+
title: string;
51+
disabled: boolean;
52+
isInLine: boolean;
53+
startLine: number;
54+
startColumn: number;
55+
}
56+
export interface PseudoElementMatches {
57+
pseudoType: string;
58+
matches: RuleMatch[];
59+
}

‎tns-core-modules/debugger/css-agent.ts‎

Lines changed: 0 additions & 81 deletions
This file was deleted.

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL