85 Commits

Author SHA1 Message Date
bb4468ba1e fix: faster colors handling
Also know the rework parser shares the same known colors  (faster, smaller bundle)
There are some eslint fixes in there hope it is fine
2020-11-01 11:09:01 +01:00
7fadab1dc8 Merge branch 'master' of github.com:NativeScript/NativeScript
# Conflicts:
#	package.json
#	packages/core/tsconfig.lib.json
#	packages/core/ui/frame/index.android.ts
#	packages/core/ui/tabs/index.ios.ts
2020-10-28 09:46:54 +01:00
67ee01e5fe fix: android default modal animation 2020-10-27 21:01:26 +01:00
e6fc8784e1 fix: android cleanup after new fragment handling 2020-10-27 21:00:10 +01:00
b113f1916d feat(core): Repeater multiple item templates implementation (#8981) 2020-10-26 20:13:22 -07:00
0eb2246b7d fix(core): ListViewCell.initWithEmptyBackground (#8985) 2020-10-25 18:05:43 -07:00
86c689ef7e chore(release): @nativescript/core@7.0.12 2020-10-21 08:37:54 -07:00
2243660080 feat(core): TypeScript 4 + cleanup (#8967) 2020-10-19 09:28:05 -07:00
99bb067420 fix(android): BottomNavigation error on back press (application exit) (#8970) 2020-10-18 15:44:27 -07:00
5c1b7f6d76 fix(core): ObservableArray tests and a typo (#8968) 2020-10-17 16:15:20 -07:00
5be39082e1 chore(release): @nativescript/core@7.0.11 2020-10-10 09:39:44 -07:00
ad2575991a fix(ios): iOS 10 support with adjustment to UILayoutGuide (#8954) 2020-10-10 09:34:44 -07:00
893431a66d chore: removed this for now. Not really needed as using plugin 2020-10-08 09:53:00 +02:00
60060d984d Merge branch 'master' of github.com:NativeScript/NativeScript 2020-10-05 09:18:59 +02:00
0f494d2cb2 chore(release): @nativescript/core@7.0.10 2020-10-03 14:08:27 -07:00
bf772c46b7 fix(core): ensure globals do not get tree shaked (#8931)
closes https://github.com/NativeScript/NativeScript/issues/8925
2020-10-03 14:05:12 -07:00
26c7abeb14 chore(release): @nativescript/core@7.0.9 2020-09-30 19:39:03 -07:00
6d135e5d63 fix(core): ObservableArray splice ensure index is > 0 (#8921)
Otherwise it will crash in ListView for iOS for example as it tries to animate an item with a negative row index
2020-09-30 16:54:54 -07:00
ae726846d9 Merge branch 'master' of github.com:NativeScript/NativeScript
# Conflicts:
#	packages/core/package.json
#	packages/core/ui/tabs/index.android.ts
2020-09-30 17:46:22 +02:00
a55bcd8561 fix(android): fragment onPause (#8919) 2020-09-30 07:38:20 -07:00
17ddbbb9c1 fix(android): make findPageForFragment with fragmen add/remove 2020-09-30 09:19:31 +02:00
3a52957102 chore(release): @nativescript/core@7.0.8 2020-09-29 08:22:50 -07:00
806fc880dd fix(core): global index typing fix for unit testing framework (#8915) 2020-09-29 08:18:36 -07:00
647926ee28 fix(ios): Utils.openFile (#8914)
closes https://github.com/NativeScript/NativeScript/issues/8913
2020-09-29 08:18:04 -07:00
34e9617162 fix: fix grid layout animation 2020-09-28 14:53:59 +02:00
65b1cdbae0 fix(core): Observable splice index > length (#8900)
* fix for splice index > length

In javascript you can call splice with an index > length. The result is a push.
But when you do that ObservableArray index will be wrong and thus user logic will fail.
Example:
```ts
// obsarray = [0];
obsarray.splice(2, 0, 1);
// this works, the inner array is now [0,1]
// however 'change' is called with index = 2
// when the use tries to do obsarray.getItem(eventData.index) -> crash
```

* fix to handle delete too
2020-09-27 09:20:52 -07:00
782df98e85 chor: new build 2020-09-27 16:08:07 +02:00
2c4a77bde0 fix: emitDecoratorMetadata fix 2020-09-27 16:08:00 +02:00
af6336d930 chore(release): @nativescript/core@7.0.7 2020-09-25 23:03:04 -07:00
dbefc43b9b fix(ios): preferredDatePickerStyle property (#8899) 2020-09-25 22:59:47 -07:00
03f1f3d5f5 chore: format and fix ci build 2020-09-25 15:58:39 -07:00
3437ed7e14 fix(core): global handling with env.production flag (#8903)
closes https://github.com/NativeScript/NativeScript/issues/8778
closes https://github.com/NativeScript/NativeScript/issues/8872
2020-09-25 10:42:43 -07:00
da3b170924 Merge branch 'master' of github.com:NativeScript/NativeScript 2020-09-24 09:32:36 +02:00
021c0bb9a2 fix(core): delegate should be set on nativeTextViewProtected (#8881)
just like textfields. Fixes components extending this one
2020-09-23 16:37:34 -07:00
29da0fb5f7 chore: comment for why nativeTextViewProtected (#8886)
Explains for future generations why this getter exists.  😀
2020-09-23 16:01:24 -07:00
13be3d60d7 chore(release): @nativescript/core@7.0.5 2020-09-23 14:54:01 -07:00
1f790edc80 fix(core): bundle entry points and global handling (#8884) 2020-09-23 14:48:19 -07:00
29c10d5a5f Merge branch 'master' of github.com:NativeScript/NativeScript
# Conflicts:
#	CHANGELOG.md
#	package.json
#	packages/core/data/observable/index.ts
#	packages/core/globals/index.ts
#	packages/core/package.json
2020-09-23 21:17:41 +02:00
4bea76fbeb fix wrong import 2020-09-23 21:11:40 +02:00
c694caeb95 delegate should be set on nativeTextViewProtected
just like textfields. Fixes components extending this one
2020-09-23 21:10:34 +02:00
9ec1939233 chore(release): @nativescript/core@7.0.4, @nativescript/types@7.0.4, @nativescript/types-android@7.0.4, @nativescript/types-ios@7.0.4 2020-09-23 11:49:53 -07:00
45fb6c481b fix(ios): time-picker and date-picker for iOS 14 (#8877) 2020-09-23 08:00:34 -07:00
02d4f4bc2f fix bundle-config-loader order
# Conflicts:
#	packages/core/globals/index.ts
2020-09-22 15:28:57 +02:00
313f47637e fix(ios): text-view color refreshes properly after setting the text to keep the styles (#8863)
closes https://github.com/NativeScript/NativeScript/issues/8764
2020-09-20 09:42:16 -07:00
8bc5abe01b 7.0.3-alpha.1 2020-09-16 09:53:56 +02:00
5f8d3d03f7 fix(android-transitions): remove hard-coded flip transition duration/curve (#8851) 2020-09-16 08:22:12 +02:00
eb676fdedf feat(core): global event handling (#8830) 2020-09-15 10:43:40 -07:00
b3e9339fc3 chore(release): @nativescript/core@7.0.3, @nativescript/types@7.0.3, @nativescript/types-android@7.0.3, @nativescript/types-ios@7.0.3 2020-09-12 18:48:45 +02:00
d69e568a4b fix: add missing configuration keys and move profiling out of android key (#8847) 2020-09-12 18:33:47 +02:00
5a3b9d5e16 finish removal of Tabs component 2020-09-12 15:18:08 +02:00