250 Commits

Author SHA1 Message Date
b01ac9f072 chore: tsc error fix 2021-03-25 09:14:26 +01:00
56a3f9bd3c fix: prevent error if navigationTransition is null or undefined 2021-03-12 21:29:31 +01:00
b80b37a939 Merge branch 'master' of github.com:NativeScript/NativeScript
# Conflicts:
#	.gitignore
#	package.json
2021-03-08 17:30:57 +01:00
17c85107ba chore: declare var global no longer needed 2021-03-03 16:15:55 -08:00
13a525ddd9 chore: Nx 11.4 2021-03-02 20:21:33 -08:00
7847c2fd35 chore(release): @nativescript/core@7.3.0 2021-02-27 13:30:51 -08:00
ac7f041dea fix(core): AndroidTransitionType symbol export handling (#9252)
BREAKING CHANGE:

AndroidTransitionType is now a static member of the Transition class.

BEFORE:

```
import { AndroidTransitionType } from '@nativescript/core/ui/transition';
```

AFTER:

```
import { Transition } from '@nativescript/core';
Transition.AndroidTransitionType.enter; // etc.
```
2021-02-27 13:16:39 -08:00
ebcc0e2cc0 feat(android): types for API Level 30 and cleanup (#9219)
API Level 30 is now included. Also the `native` namespace used for Android/Java typings no longer collides with integrations.

BREAKING CHANGE:

If you were using`native.Array` for any of your own custom plugin typings, you can switch them to `androidNative.Array`

BEFORE:

```
public writeAsync(path: string, bytes: native.Array<number>) ...
```

AFTER:

```
public writeAsync(path: string, bytes: androidNative.Array<number>) ...
```
2021-02-27 12:45:49 -08:00
c5c8615529 chore(release): @nativescript/core@7.2.2 2021-02-26 16:51:46 -08:00
f08fcb17b4 fix(android): KeyboardType now respects numbers (#9240) 2021-02-26 16:23:50 -08:00
c04e1b59e5 feat(core): allow property overrides at runtime (#9241) 2021-02-26 16:23:18 -08:00
11ef943495 fix(xhr): remove unnecessary throw when event not supported (#9251)
closes https://github.com/NativeScript/NativeScript/issues/9245
2021-02-26 14:33:59 -08:00
c8ef6f2ab3 fix(bottom-navigation): fragment handling (#9244) 2021-02-24 17:35:16 -08:00
a4d7674aba fix(android): rewrote the transition system
to allow it work correctly with GLSurfaceView and GLTextureView
2021-02-20 21:28:27 +01:00
e7951b320f feat(android): Add possibility to choose theme in android dialogs (#9212) 2021-02-20 11:15:03 -08:00
d8b045e705 chore: add export AndroidTransitionType (#9222) 2021-02-20 10:50:30 -08:00
ee48d4ff4d Merge branch 'android_background_again' of github.com:Akylas/NativeScript
# Conflicts:
#	packages/core/ui/action-bar/index.android.ts
#	packages/core/ui/button/index.android.ts
#	packages/core/ui/core/view/index.android.ts
2021-02-17 17:08:47 +01:00
016313bef1 fix: automated tests are now passing 2021-02-17 17:07:38 +01:00
5fc7d1a4d4 fix: refactor background handling.
The idea is for views to handle sepecial case themselves.
I realised that android.widget.Button was materialized even if you were not using it because there was a test for instanceof in the background handling. Now the special background handling is done in Button and ActionBar
2021-02-17 16:58:43 +01:00
d699bf0033 fix: refactor background handling.
The idea is for views to handle sepecial case themselves.
I realised that android.widget.Button was materialized even if you were not using it because there was a test for instanceof in the background handling. Now the special background handling is done in Button and ActionBar
2021-02-17 16:05:56 +01:00
aa71042acd Merge branch 'android_start_flash_fix' of github.com:Akylas/NativeScript 2021-02-08 10:18:59 +01:00
4118e683c2 Merge branch 'nestedscrollview' of github.com:Akylas/NativeScript 2021-02-08 10:09:24 +01:00
0555eccd69 Merge branch 'master' of github.com:NativeScript/NativeScript
# Conflicts:
#	package.json
#	packages/core/global-types.d.ts
#	packages/core/platforms/ios/Podfile
#	packages/core/ui/styling/background.android.ts
#	packages/core/ui/styling/style-scope.ts
#	packages/ui-mobile-base/ios/build.sh
2021-02-08 10:09:12 +01:00
3ce1caa777 fix(android): NestedScrollView default ScrollBarEnabled is false 2021-02-08 10:04:31 +01:00
b582508f1e typings fix 2021-02-08 10:04:09 +01:00
5eba48c3c5 fix android widgets build 2021-02-08 09:38:02 +01:00
5baec2579d fix(android): vertical scroll-view now uses NestedScrollView 2021-02-08 09:38:00 +01:00
d871765762 chore(release): @nativescript/types@7.2.1 2021-02-07 12:08:22 -08:00
de7006b04d fix(core): conflicting node global types (#9197) 2021-02-07 11:26:43 -08:00
946befe979 chore(release): @nativescript/types@7.2.0 2021-02-05 21:55:21 +01:00
4839078017 chore(release): @nativescript/webpack@4.1.0 2021-02-05 12:54:27 -08:00
11b3b84114 chore: release prep 2021-02-05 12:24:46 -08:00
8f1455eef7 fix(ios): allow navigationFrom event for deep navigation within modal frame (#9187) 2021-02-05 11:26:59 -08:00
4945702620 ci: run apps/automated on CI (#9196) 2021-02-05 11:21:16 -08:00
4b96d4baa0 revert: perf(core): no need for batchUpdated if no selector (#9121) 2021-02-04 22:03:56 +01:00
6da7d90e25 fix(page): frame getter for custom Frames (#9195) 2021-02-04 07:55:16 -08:00
f80e6c6be6 fix(android): prevent “flashing” activity on app start
This was due to a change made a while back to fix an issue with resetRootView.
The consequence was that we were waiting for the frame to be “attachedToWindow” to load the first frame page.
That PR make it so that we apply that check/fix only when the activity was reset. Thus it wont happen on app start
2021-02-03 21:50:53 +01:00
87418cdb11 fix(webpack): inspector_modules 2021-02-01 21:02:57 +01:00
3ddfb5c34a fix(core): ObservableArray splice with start only (#9159) 2021-01-31 10:05:37 -08:00
c4972d7546 chore: fresh build of widgets
also reverts e002d72d41
2021-01-29 14:22:54 -08:00
8b26e954d9 chore: fix webpack config 2021-01-29 13:21:01 -08:00
01ea2a2f59 chore: webpack config consistency 2021-01-29 13:18:03 -08:00
90d208c115 feat(webpack): allow passing env.appComponents and env.entries (#8898) 2021-01-29 13:12:26 -08:00
5fe27428e0 feat(android): FlexboxLayout support for isPassThroughParentEnabled (#8798) 2021-01-29 13:03:27 -08:00
e501273d16 perf(android): faster background color setter (#9120) 2021-01-29 12:21:47 -08:00
3a14a0a760 perf(core): no need for batchUpdated if no selector (#9121) 2021-01-29 12:19:15 -08:00
28061e3d39 fix(ios): navigation via swipe crash fix (#9132) 2021-01-29 12:10:51 -08:00
963337e2e8 refactor: status bar improvements (#9154) 2021-01-29 12:06:00 -08:00
be52cefe67 fix(webpack): --env.uglify works properly now (#9165) 2021-01-29 12:04:25 -08:00
04a76415b7 feat(ios): build TNSWidgets as XCFramework (#9167) 2021-01-29 11:59:51 -08:00