28 Commits

Author SHA1 Message Date
d699bf0033 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:05:56 +01: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
11b3b84114 chore: release prep 2021-02-05 12:24:46 -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
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
ab46c4a6da chore: a bit more profiling 2020-12-17 15:11:34 +01:00
96fac04dd9 fix(android): when possible only call setBackgroundColor 2020-12-15 11:43:00 +01:00
1894944b41 fix(android): dont create a borderDrawable if not necessary.
That action is slow and should be prevented as much as possible
2020-12-15 11:37:29 +01:00
1c85549ed3 fix: no need for batchUdated if no selector 2020-12-07 13:28:24 +01:00
f4db1f4858 Merge branch 'faster_style_scope' of github.com:Akylas/NativeScript
# Conflicts:
#	packages/core/ui/styling/style-scope.ts
2020-12-06 14:45:47 +01:00
407d57ff62 fix: fix tsc errors 2020-12-06 14:44:30 +01:00
d3d780ee45 make _appliedPropertyValues private 2020-12-03 21:12:12 +01:00
2baccd42b5 unecessary 2020-12-03 16:28:16 +01:00
ca1c9f2519 fix: ensure we dont get udplicates in oldProperties and newPropertyValues 2020-12-03 16:28:12 +01:00
675f87529a chore: typo fix 2020-12-03 16:27:47 +01:00
4f3c84af91 unecessary 2020-12-03 16:27:37 +01:00
512c552b5b fix: ensure we dont get udplicates in oldProperties and newPropertyValues 2020-12-03 12:30:30 +01:00
f6bc1df555 faster style-scope setPropertyValues
No need for so many for loops
2020-12-02 17:01:00 +01:00
9a8e7c45ab faster style-scope setPropertyValues
No need for so many for loops
2020-12-02 16:57:25 +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
328feeb9c1 fix: typo fix 2020-11-03 11:36:15 +01:00
17658ed777 fix: only require parsers if need be
this also allows to remove them from bundle.
However this is not the best way. We should use global vars for cssParser so that weback automatically removes the code
2020-11-01 11:10:18 +01: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
020ad4da37 chore(core): monorepo, esm targeting, improved management (#8707) 2020-08-25 20:00:59 -07:00