Commit Graph

70 Commits

Author SHA1 Message Date
Nathan Walker
d88cef3b48 chore: message handling 2021-04-06 11:18:36 -07:00
Igor Randjelovic
f5db58414a fix: safeguards against invalid values 2021-04-06 11:18:36 -07:00
Igor Randjelovic
1dfa5a6025 chore: remove weird import 2021-04-06 11:18:36 -07:00
Igor Randjelovic
fca3466408 feat: implement spreadRadius 2021-04-06 11:18:36 -07:00
Nathan Walker
733050995c fix(core): type collisions with namespace (#8809) 2021-04-06 11:18:36 -07:00
Nathan Walker
a67fb69687 chore: typing cleanup 2021-04-06 11:18:36 -07:00
Nathan Walker
1cd6854370 chore: typing fixes 2021-04-06 11:18:36 -07:00
William Tjondrosuharto
19ce9fc2bf chore: box shadow updates (#9220) 2021-04-06 11:18:36 -07:00
Igor Randjelovic
d2f50e50bb feat: improved css-shadow parser 2021-04-06 11:18:36 -07:00
Nathan Walker
673387cf99 chore: cleanup 2021-04-06 11:18:36 -07:00
Ben Delaney
a12c188d0f fix(core): stack layout padding (#9183)
fixes #8810
2021-04-06 11:18:36 -07:00
William Tjondrosuharto
3bd2d96f29 feat(core): box shadow demo (#9182) 2021-04-06 11:18:36 -07:00
Sergey Mell
d46f9562b4 fix(ios): gesture touch event coordinates improvements (#8998) 2021-04-06 11:18:36 -07:00
Morten Sjøgren
d5a8a25aba feat(core): first class a11y support (#8909) 2021-04-06 11:18:36 -07:00
William Tjondrosuharto
a90609a670 feat(core): RootLayout with api to fluidly handle dynamic layers (#8980) 2021-04-06 11:18:36 -07:00
Tiago Alves
a6b1bde655 feat(core): text-shadow support (#8991) 2021-04-06 11:18:36 -07:00
Nathan Walker
67e2fe42b7 feat(core): box-shadow support (#9161) 2021-04-06 11:18:36 -07:00
Eduardo Speroni
6cc130fa6f feat(core): reusable views (#9163) 2021-04-06 11:18:36 -07:00
Nathan Walker
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
Nathan Walker
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
Nathanael Anderson
f08fcb17b4 fix(android): KeyboardType now respects numbers (#9240) 2021-02-26 16:23:50 -08:00
Nathanael Anderson
c04e1b59e5 feat(core): allow property overrides at runtime (#9241) 2021-02-26 16:23:18 -08:00
Igor Randjelovic
c8ef6f2ab3 fix(bottom-navigation): fragment handling (#9244) 2021-02-24 17:35:16 -08:00
ReazerDev
e7951b320f feat(android): Add possibility to choose theme in android dialogs (#9212) 2021-02-20 11:15:03 -08:00
Janos Hrubos
d8b045e705 chore: add export AndroidTransitionType (#9222) 2021-02-20 10:50:30 -08:00
Nathan Walker
11b3b84114 chore: release prep 2021-02-05 12:24:46 -08:00
Martin Guillon
8f1455eef7 fix(ios): allow navigationFrom event for deep navigation within modal frame (#9187) 2021-02-05 11:26:59 -08:00
Igor Randjelovic
4945702620 ci: run apps/automated on CI (#9196) 2021-02-05 11:21:16 -08:00
Igor Randjelovic
4b96d4baa0 revert: perf(core): no need for batchUpdated if no selector (#9121) 2021-02-04 22:03:56 +01:00
Igor Randjelovic
6da7d90e25 fix(page): frame getter for custom Frames (#9195) 2021-02-04 07:55:16 -08:00
Dimitris - Rafail Katsampas
5fe27428e0 feat(android): FlexboxLayout support for isPassThroughParentEnabled (#8798) 2021-01-29 13:03:27 -08:00
Martin Guillon
e501273d16 perf(android): faster background color setter (#9120) 2021-01-29 12:21:47 -08:00
Martin Guillon
3a14a0a760 perf(core): no need for batchUpdated if no selector (#9121) 2021-01-29 12:19:15 -08:00
Gabriel Matos
28061e3d39 fix(ios): navigation via swipe crash fix (#9132) 2021-01-29 12:10:51 -08:00
Martin Guillon
963337e2e8 refactor: status bar improvements (#9154) 2021-01-29 12:06:00 -08:00
Martin Guillon
58b2542997 feat(core): setSelection method for editable text components (#9175) 2021-01-28 15:32:22 -08:00
Martin Guillon
c31bab1bf7 fix(ios): textfield resizing (auto width) on text change (#9176) 2021-01-26 13:27:18 -08:00
Martin Guillon
d94b5984fc types: missing typings for iosIgnoreSafeArea (#9153) 2021-01-20 10:40:18 +01:00
Nathan Walker
4690162384 fix(android): BottomNavigation fragment child already has a parent (#9148)
closes https://github.com/NativeScript/NativeScript/issues/8132
closes https://github.com/NativeScript/NativeScript/issues/7901
closes https://github.com/NativeScript/NativeScript/issues/9051
closes https://github.com/NativeScript/NativeScript/issues/8251
2021-01-17 09:21:33 -08:00
Martin Guillon
9a380cd43e fix(core): prevent circular reference Frame <> Page (#9111) 2020-12-30 07:58:14 -08:00
Dimitris - Rafail Katsampas
b47ce0a97c fix: android Tabs selected item color incorrectly applied (#9040)
* fix: selected-item-color gets applied to wrong TabStripItems

* chore: Added selection colors to 2 ui examples.

* chore: Removing used for testing.
2020-12-28 13:50:23 +01:00
Dimitris - Rafail Katsampas
e16bc606ef fix: android ActivityIndicator custom color affecting other indicators on the page (#9026)
* fix(core): Setting color of an Android ActivityIndicator changed the color of the rest of ActivityIndicators in the same page.

* test: Updated ActivityIndicator sample.

* perf: Call mutate() only if color is actually changed.
2020-12-28 13:48:14 +01:00
Martin Guillon
d09a564296 fix: android modal not following activity windowSoftInputMode (#9042)
* fix android modal not following activity windowSoftInputMode

Also added an android modal parameter to set a custom windowSoftInputMode

* fix softInputMode set too soon

* Update packages/core/ui/core/view/index.android.ts

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>

* Update packages/core/ui/core/view-base/index.d.ts

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>

* Update packages/core/ui/core/view-base/index.ts

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2020-12-28 13:47:00 +01:00
Martin Guillon
ea67422fcf feat: iosIgnoreSafeArea property (#9092)
* feat: ios added ignoreSafeArea property

* fix: ensure it works when no viewControllerView
2020-12-28 13:39:55 +01:00
Igor Randjelovic
9391b44996 fix(tabs): ios safeArea calculation (#9089)
* fix(tabs): ios safeArea calculation

* feat(tabs): respect iosOverflowSafeArea value
2020-12-28 13:38:28 +01:00
Eduardo Speroni
bd7c686aaf feat(core): allow app to start without a root view (#9056) 2020-11-19 17:02:32 -08:00
Martin Guillon
cf96e7252c feat(frame): add navigatingTo and navigatedTo events (#9025) 2020-11-12 20:51:03 -08:00
Martin Guillon
6902770d90 fix: rollback regexp eslint changes (#9028)
* fix: rollback regexp eslint changes

* fix: rollback animation lint which would break promise context

* fix: more rollbacks
2020-11-12 15:55:22 -06:00
Eduardo Speroni
64e0aa6a11 fix(list-view): handle reusing wrong view (#9023) 2020-11-11 19:55:17 -08:00
Martin Guillon
c1f231d88e chore: fix eslint issues (#9017) 2020-11-11 08:46:36 -08:00