169 Commits

Author SHA1 Message Date
e6598aee0f Merge branch 'master' of github.com:NativeScript/NativeScript
# Conflicts:
#	apps/automated/src/test-runner.ts
#	apps/automated/src/ui/bottom-navigation/bottom-navigation-navigation-tests.ts
#	apps/ui/src/bottom-navigation/events-page.ts
#	apps/ui/src/main-page.ts
#	apps/ui/src/test-page-main-view-model.ts
#	package.json
#	packages/core/color/color-common.ts
#	packages/core/color/index.d.ts
#	packages/core/ui/action-bar/index.android.ts
#	packages/core/ui/bottom-navigation/index.android.ts
#	packages/core/ui/core/view/index.ios.ts
#	packages/core/ui/core/view/view-helper/view-helper-common.ts
#	packages/core/ui/index.ts
#	packages/core/ui/styling/background.android.ts
#	packages/core/ui/tab-navigation-base/tab-strip-item/index.ts
#	packages/webpack/jasmine-config/reporter.ts
2021-04-08 16:36:02 +02:00
e73cebf765 fix(android): crash on slide transition (#9289)
The 'N' android `CustomTransition` widget takes an `AnimatorSet` and not an `ObjectAnimator`
2021-04-06 19:41:24 -07:00
75b59ecdbf chore(release): @nativescript/core@8.0.0 2021-04-06 11:18:36 -07:00
8cd1872ef7 chore: better trace handling around css 2021-04-06 11:18:36 -07:00
b50a2e618f chore: types cleanup 2021-04-06 11:18:36 -07:00
266ae2a71d chore: fix types 2021-04-06 11:18:36 -07:00
eeb68e9ce2 fix: RootLayout default open options 2021-04-06 11:18:36 -07:00
ede1685ae2 chore: cleanup types 2021-04-06 11:18:36 -07:00
3c569effed fix(layouts): rootlayout not closing when no shadecover transition specified (#9278) 2021-04-06 11:18:36 -07:00
cc592b63fd fix(core): trace instead of throw 2021-04-06 11:18:36 -07:00
b1d2c97b6a chore: expose CustomLayoutView 2021-04-06 11:18:36 -07:00
f00144e872 feat(view): "hidden" property binding is now supported 2021-04-06 11:18:36 -07:00
7c60735d14 chore: cleanup background handling 2021-04-06 11:18:36 -07:00
21da31562c chore: Enums > CoreTypes
Cleanup type symbol usage by consolidating to manage in one spot. This makes them easier to use as well by providing a single rollup of all the common type symbol's used throughout core.
2021-04-06 11:18:36 -07:00
e62acba792 fix: move BottomNavigation and Tabs to @nativescript-community
Cocoapods no longer required with @nativescript/core out of the box and users are no longer taxed with MaterialTabs even if they didn't use those components.

BREAKING CHANGES

If using `BottomNavigation`, just install `@nativescript-community/ui-material-bottom-navigation` and update your imports to use it. API is exactly the same.

If using `Tabs`, just install `@nativescript-community/ui-material-tabs` and update your imports to use it. API is exactly the same.
2021-04-06 11:18:36 -07:00
9a7d3ecb34 feat: implement BoxShadowDrawable 2021-04-06 11:18:36 -07:00
a822f2affb chore: a11y polish (#9259) 2021-04-06 11:18:36 -07:00
e9b5eb934d chore: cleanup a11y and add demo page 2021-04-06 11:18:36 -07:00
d88cef3b48 chore: message handling 2021-04-06 11:18:36 -07:00
f5db58414a fix: safeguards against invalid values 2021-04-06 11:18:36 -07:00
1dfa5a6025 chore: remove weird import 2021-04-06 11:18:36 -07:00
fca3466408 feat: implement spreadRadius 2021-04-06 11:18:36 -07:00
733050995c fix(core): type collisions with namespace (#8809) 2021-04-06 11:18:36 -07:00
a67fb69687 chore: typing cleanup 2021-04-06 11:18:36 -07:00
1cd6854370 chore: typing fixes 2021-04-06 11:18:36 -07:00
19ce9fc2bf chore: box shadow updates (#9220) 2021-04-06 11:18:36 -07:00
d2f50e50bb feat: improved css-shadow parser 2021-04-06 11:18:36 -07:00
673387cf99 chore: cleanup 2021-04-06 11:18:36 -07:00
a12c188d0f fix(core): stack layout padding (#9183)
fixes #8810
2021-04-06 11:18:36 -07:00
3bd2d96f29 feat(core): box shadow demo (#9182) 2021-04-06 11:18:36 -07:00
d46f9562b4 fix(ios): gesture touch event coordinates improvements (#8998) 2021-04-06 11:18:36 -07:00
d5a8a25aba feat(core): first class a11y support (#8909) 2021-04-06 11:18:36 -07:00
a90609a670 feat(core): RootLayout with api to fluidly handle dynamic layers (#8980) 2021-04-06 11:18:36 -07:00
a6b1bde655 feat(core): text-shadow support (#8991) 2021-04-06 11:18:36 -07:00
67e2fe42b7 feat(core): box-shadow support (#9161) 2021-04-06 11:18:36 -07:00
6cc130fa6f feat(core): reusable views (#9163) 2021-04-06 11:18:36 -07:00
a2d06a9efe fix(button): ios let the gesture observer handles tap events
in some weird cases like i some UICollectionView layouts the UIControlEvents.TouchUpInside is failing
2021-03-18 14:00:36 +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
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
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
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