95 Commits

Author SHA1 Message Date
e37a4610d1 Merge branch 'master' into feat/ns7-docs 2021-02-15 17:09:14 +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
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
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
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
04a76415b7 feat(ios): build TNSWidgets as XCFramework (#9167) 2021-01-29 11:59:51 -08:00
58b2542997 feat(core): setSelection method for editable text components (#9175) 2021-01-28 15:32:22 -08:00
c31bab1bf7 fix(ios): textfield resizing (auto width) on text change (#9176) 2021-01-26 13:27:18 -08:00
e002d72d41 fix(ios): force release of nsdata after saving image (#9177)
gc isn't cleaning up this fast enough when used in a loop e.g https://github.com/NativeScript/plugins/issues/71
2021-01-26 13:25:58 -08:00
a26b807652 chore(release): @nativescript/core@7.1.4 2021-01-23 12:27:04 -08:00
1a3523ef22 fix(ios): getVisibleViewController maximum call stack exceeded (#9168)
Passed all the Automated tests.
2021-01-23 14:20:30 -06:00
8a36e79c9b ci: fix npm_install for core on CI (docs) (#9155)
* chore(release): @nativescript/core@7.1.1

* feat(core): rollup additional Utils

* fix(webpack): support other workspace config styles

* chore(release): @nativescript/core@7.1.2

* 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

* chore(release): @nativescript/core@7.1.3

* types: missing typings for iosIgnoreSafeArea (#9153)

* Update build-docs.sh

Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
Co-authored-by: Martin Guillon <martin.guillon@akylas.fr>
2021-01-20 16:19:10 +01:00
d94b5984fc types: missing typings for iosIgnoreSafeArea (#9153) 2021-01-20 10:40:18 +01:00
ed52345167 chore: fix docs generation 2021-01-18 20:14:37 +01:00
376f3ebdd7 chore(release): @nativescript/core@7.1.3 2021-01-17 09:40:03 -08:00
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
29f2eb35de chore(release): @nativescript/core@7.1.2 2021-01-13 19:37:01 -08:00
882aa42e85 feat(core): rollup additional Utils 2021-01-13 16:06:51 -08:00
b8d828bef9 chore(release): @nativescript/core@7.1.1 2021-01-13 08:22:47 -08:00
47ebb1d262 fix(core): const initializer in an ambient context (#9136)
fixes #9135
2021-01-05 19:03:42 +01:00
9a380cd43e fix(core): prevent circular reference Frame <> Page (#9111) 2020-12-30 07:58:14 -08:00
9aad2dbdbc feat(ios): types for latest ios 14.3 with Xcode 12.3 (#9118) 2020-12-30 07:57:10 -08:00
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
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
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
4204ac8308 fix(compat): add screen and device aliases (#9088)
* fix: Add old names to platform for compatibility

* Simplify code

* fix: apply changes to definitions

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2020-12-28 13:46:04 +01:00
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
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
bd7c686aaf feat(core): allow app to start without a root view (#9056) 2020-11-19 17:02:32 -08:00
1769de9033 feat(android): setInterval closer to web spec (#9044) 2020-11-19 13:07:51 -08:00
539fd1eb29 fix(core): notify object now optional (#9032) 2020-11-15 21:57:58 -08:00
cf96e7252c feat(frame): add navigatingTo and navigatedTo events (#9025) 2020-11-12 20:51:03 -08:00
cb61c2aa7e chore: parser issues from PR#9001, PR#9017, PR#9028 (#9030) 2020-11-12 19:42:23 -08:00
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
1a849f9302 fix: Prior PR (#8904) has bad path for trace modules
* Fix trace path issue

* another path fix
2020-11-12 14:23:03 -06:00
64e0aa6a11 fix(list-view): handle reusing wrong view (#9023) 2020-11-11 19:55:17 -08:00
e3dc89fbfc feat(core): queueMacroTask (#8904) 2020-11-11 19:52:29 -08:00
c1f231d88e chore: fix eslint issues (#9017) 2020-11-11 08:46:36 -08:00
b3f9c0d0ac fix(ios): ios 10 tab crash (#9018)
* Fix: ios10 tab crash

* Fix iOS 14 tests that crash because of changes in the way ios 14 works.
2020-11-10 23:11:31 -08:00
c569236357 perf: faster color parsing (#9001) 2020-11-09 17:00:22 -08:00