mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Add parsers for the background css shorthand property, make ViewBase unit testable in node environment
Add background parser and linear-gradient parser
Use sticky regexes
Simplify some types, introduce generic Parsed<T> instead of & TokenRange
Apply each parser to return a { start, end, value } object
Move the css selector parser to the css/parser and unify types
Add the first steps toward building homegrown css parser
Add somewhat standards compliant tokenizer, add baseline, rework and shady css parsers
Enable all tests again, skip flaky perf test
Improve css parser tokenizer by converting some char token types to simple string
Implement 'parse a stylesheet'
Add gonzales css-parser
Add parseLib and css-tree perf
Add a thin parser layer that will convert CSS3 tokens to values, for now output is compatible with rework
Make root tsc green
Return the requires of tns-core-modules to use relative paths for webpack to work
Implement support for '@import 'url-string';
Fix function parser, function-token is no-longer neglected
Make the style-scope be able to load from "css" and "css-ast" modules
Add a loadAppCss event so theme can be added to snapshot separately from loaded
33 lines
830 B
TypeScript
33 lines
830 B
TypeScript
declare var UIColor, PHAsset, NSSearchPathDirectory;
|
|
declare type UIColor = any;
|
|
declare type PHAsset = any;
|
|
|
|
declare namespace android {
|
|
export namespace content {
|
|
export type Context = any;
|
|
export var Context: any;
|
|
}
|
|
export namespace view {
|
|
export type MotionEvent = any;
|
|
export var MotionEvent: any;
|
|
}
|
|
export namespace util {
|
|
export var Base64: any;
|
|
export var Log: any;
|
|
}
|
|
export namespace graphics.Bitmap.CompressFormat {
|
|
export var PNG: any;
|
|
export var android: any;
|
|
}
|
|
}
|
|
|
|
declare namespace org.nativescript.widgets {
|
|
export var ViewHelper: any;
|
|
}
|
|
declare namespace org.nativescript.widgets.Async.Http {
|
|
export type RequestResult = any;
|
|
export var RequestResult: any;
|
|
}
|
|
|
|
declare type java = any;
|
|
declare var java: any; |