25 Commits

Author SHA1 Message Date
971d8eeddf Merge branch 'master' of github.com:NativeScript/NativeScript 2021-06-09 09:51:06 +02:00
d589ac6000 fix(core): typings for Utils.queueMacrotask and static methods on Observable (#9425) 2021-05-28 14:06:12 -07:00
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
770030e7f6 feat(observable-array): findIndex now supported 2021-04-06 11:18:36 -07:00
a822f2affb chore: a11y polish (#9259) 2021-04-06 11:18:36 -07: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
3ddfb5c34a fix(core): ObservableArray splice with start only (#9159) 2021-01-31 10:05:37 -08:00
5fe27428e0 feat(android): FlexboxLayout support for isPassThroughParentEnabled (#8798) 2021-01-29 13:03:27 -08:00
4a86f95815 Merge branch 'observable_notify_args' of github.com:Akylas/NativeScript
# Conflicts:
#	packages/core/data/observable/index.ts
2020-11-23 11:13:03 +01:00
539fd1eb29 fix(core): notify object now optional (#9032) 2020-11-15 21:57:58 -08:00
40333670b4 fix: make object optional in notify
if not set it will be set to this.
2020-11-13 10:44:24 +01:00
e0b90396bc Merge branch 'frame_nav_events' of github.com:Akylas/NativeScript
# Conflicts:
#	apps/automated/src/test-runner.ts
#	packages/core/css/parser.ts
#	packages/core/global-types.d.ts
#	packages/core/ui/bottom-navigation/index.android.ts
#	packages/core/ui/styling/style-scope.ts
#	packages/core/ui/tabs/index.android.ts
#	packages/core/ui/tabs/index.ios.ts
2020-11-12 10:02:51 +01:00
c1f231d88e chore: fix eslint issues (#9017) 2020-11-11 08:46:36 -08: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
5c1b7f6d76 fix(core): ObservableArray tests and a typo (#8968) 2020-10-17 16:15:20 -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
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
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
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
eb676fdedf feat(core): global event handling (#8830) 2020-09-15 10:43:40 -07:00
64594bc4d2 remove global events
should be done in a plugin
2020-09-09 21:33:07 +02:00
0ff21d7e5e onListenerAdded and onListenerRemoved 2020-08-27 09:19:59 +02:00
020ad4da37 chore(core): monorepo, esm targeting, improved management (#8707) 2020-08-25 20:00:59 -07:00