Files
NativeScript/tns-core-modules/package.json
Morten Sjøgren 673c8087e0 feat: implement css-variables and css-calc (#7553)
* feat: implement basic support for css-variables

* fix(test): test-watch-android and test-watch-ios was broken

* fix: processing css-variables belong in CssProperty-classes

Not in the StyleScope.

* fix(css-variables): set style attribute override value from css-classes

* feat: add css calc-support using 'reduce-css-calc'

* fix(tslint): missing semicolon and incorrect quotemark

* feat: move css-variable handling to Style-class

* chor: add comments explaining css-variable implmentation

* chor: set css-variables before other style properties

* chor(css-variables): cleaning up

* chor: code style fixes

* test(CSS-CALC): Add tests for nested css-calc statements

* fix(CSS-CALC): dip-unit not supported by reduce-css-calc

* fix(tslint): use double quotemarks

* test(css-calc): test _cssCalcConverter directly

* chor(css-variables): rename and clean up _cssVariableConverter to _evaluateCssVariable

* chor: rename varname to varName for consistency

* chor: support css-calc and variables for normal properties

* chor: use string.replace to evaluate css-variables

* fix: Missing blank line before return

* chor: rename css-calc functions

* fix: undefined css-variables treated as 'unset'

* fix(tslint): use double quotemarks

* feat(css-variable): handle fallback values

* chor(css-variables): handle unsetValue

* chor: process css-calc and css-variables in style-scope

* chore: clean-up css-calc/variable expressions

* fix(css-calc): handle invalid expressions

* chore(CSSState): update comments

* chore(Style): rename css-variable functions

* chore(css-variables): describe fallback logic

* chore: move reset scoped css-variables to Style-class

* chore(CssState): simplify check for css expressions

* chore: add reduce-css-calc to /package.json
2019-08-20 00:56:56 +03:00

57 lines
1.2 KiB
JSON

{
"name": "tns-core-modules",
"description": "Telerik NativeScript Core Modules",
"version": "6.1.0",
"homepage": "https://www.nativescript.org",
"repository": {
"type": "git",
"url": "https://github.com/NativeScript/NativeScript"
},
"files": [
"**/*.d.ts",
"**/*.js",
"**/platforms/ios/**",
"**/package.json",
"!android17.d.ts",
"!ios.d.ts",
"!bin/",
"!apps/",
"!build/",
"!node-tests/",
"!declarations.android.d.ts",
"!declarations.ios.d.ts",
"!gruntfile.js",
"!org.nativescript.widgets.d.ts"
],
"license": "Apache-2.0",
"typings": "tns-core-modules.d.ts",
"dependencies": {
"reduce-css-calc": "^2.1.6",
"tns-core-modules-widgets": "next",
"tslib": "^1.9.3"
},
"devDependencies": {
"@types/node": "~7.0.5",
"tns-platform-declarations": "next"
},
"scripts": {
"version": "conventional-changelog -p angular -i ../CHANGELOG.md -s && git add ../CHANGELOG.md"
},
"nativescript": {
"platforms": {
"ios": "5.0.0",
"android": "5.0.0"
}
},
"snapshot": {
"android": {
"tns-java-classes": {
"modules": [
"ui/frame/activity",
"ui/frame/fragment"
]
}
}
}
}