chore: Nx 12 + fix ui app + TS 4.1 updates (#9359)

This commit is contained in:
Nathan Walker
2021-04-26 19:11:19 -07:00
committed by GitHub
parent 272ac578b1
commit 1b29d05099
14 changed files with 33 additions and 33 deletions

View File

@@ -17,7 +17,7 @@
"@nativescript/android": "7.0.1",
"@nativescript/ios": "7.2.0",
"@nativescript/webpack": "file:../../dist/packages/nativescript-webpack.tgz",
"typescript": "~4.0.0"
"typescript": "4.1.4"
},
"gitHead": "c06800e52ee1a184ea2dffd12a6702aaa43be4e3",
"readme": "NativeScript Application"

View File

@@ -14,6 +14,6 @@
"@nativescript/android": "7.0.1",
"@nativescript/ios": "7.2.0",
"@nativescript/webpack": "file:../../dist/packages/nativescript-webpack.tgz",
"typescript": "~4.0.0"
"typescript": "4.1.4"
}
}

View File

@@ -14,7 +14,7 @@
"@nativescript/android": "7.0.1",
"@nativescript/ios": "7.2.0",
"@nativescript/webpack": "file:../../dist/packages/nativescript-webpack.tgz",
"typescript": "~4.0.0"
"typescript": "4.1.4"
},
"gitHead": "8ab7726d1ee9991706069c1359c552e67ee0d1a4",
"readme": "NativeScript Application",

View File

@@ -1,4 +1,4 @@
import { EventData, TextBase } from '@nativescript/core';
import { EventData, TextBase, parseCSSShadow } from '@nativescript/core';
// prettier-ignore
const possibleValues = [
@@ -22,10 +22,10 @@ export function buttonTap(args: EventData) {
let newIndex = currentIndex++ % possibleValues.length;
let newValue = possibleValues[newIndex];
lbl.textShadow = newValue;
btn.textShadow = newValue;
textField.textShadow = newValue;
textView.textShadow = newValue;
lbl.textShadow = parseCSSShadow(newValue);
btn.textShadow = parseCSSShadow(newValue);
textField.textShadow = parseCSSShadow(newValue);
textView.textShadow = parseCSSShadow(newValue);
if (lbl.text === 'Change text') {
lbl.text = btn.text = textField.text = textView.text = 'Text changed';

View File

@@ -3,7 +3,7 @@ import { Page, NavigatedData } from '@nativescript/core/ui/page';
import { StackLayout } from '@nativescript/core/ui/layouts/stack-layout';
import { ScrollView } from '@nativescript/core/ui/scroll-view';
import { Label } from '@nativescript/core/ui/label';
import { Enums } from '@nativescript/core';
import { CoreTypes } from '@nativescript/core';
import * as typeUtils from '@nativescript/core/utils/types';
import { Color } from '@nativescript/core/color';
import { isIOS } from '@nativescript/core/platform';

View File

@@ -1,4 +1,4 @@
import { Image, Enums } from '@nativescript/core';
import { Image, CoreTypes } from '@nativescript/core';
import { GridLayout } from '@nativescript/core/ui/layouts/grid-layout';
import { Color } from '@nativescript/core/color';
import * as imageSource from '@nativescript/core/image-source';

View File

@@ -1,4 +1,4 @@
import { Image, Enums } from '@nativescript/core';
import { Image, CoreTypes } from '@nativescript/core';
import { Label } from '@nativescript/core/ui/label';
import { LayoutBase } from '@nativescript/core/ui/layouts/layout-base';

View File

@@ -1,4 +1,4 @@
import { Enums } from '@nativescript/core';
import { CoreTypes } from '@nativescript/core';
import * as pageModule from '@nativescript/core/ui/page';
import * as model from './myview';

View File

@@ -1,4 +1,4 @@
import { Enums } from '@nativescript/core';
import { CoreTypes } from '@nativescript/core';
import * as pageModule from '@nativescript/core/ui/page';
import * as model from './myview';

View File

@@ -1,4 +1,4 @@
import { Enums } from '@nativescript/core';
import { CoreTypes } from '@nativescript/core';
import * as pageModule from '@nativescript/core/ui/page';
import * as model from './myview';

View File

@@ -1,4 +1,4 @@
import { Enums } from '@nativescript/core';
import { CoreTypes } from '@nativescript/core';
import * as pageModule from '@nativescript/core/ui/page';
import * as model from './myview';