51 Commits

Author SHA1 Message Date
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
8cd1872ef7 chore: better trace handling around css 2021-04-06 11:18:36 -07:00
b50a2e618f chore: types cleanup 2021-04-06 11:18:36 -07:00
266ae2a71d chore: fix types 2021-04-06 11:18:36 -07:00
7c60735d14 chore: cleanup background handling 2021-04-06 11:18:36 -07:00
21da31562c chore: Enums > CoreTypes
Cleanup type symbol usage by consolidating to manage in one spot. This makes them easier to use as well by providing a single rollup of all the common type symbol's used throughout core.
2021-04-06 11:18:36 -07:00
9a7d3ecb34 feat: implement BoxShadowDrawable 2021-04-06 11:18:36 -07:00
d88cef3b48 chore: message handling 2021-04-06 11:18:36 -07:00
f5db58414a fix: safeguards against invalid values 2021-04-06 11:18:36 -07:00
1dfa5a6025 chore: remove weird import 2021-04-06 11:18:36 -07:00
fca3466408 feat: implement spreadRadius 2021-04-06 11:18:36 -07:00
733050995c fix(core): type collisions with namespace (#8809) 2021-04-06 11:18:36 -07:00
a67fb69687 chore: typing cleanup 2021-04-06 11:18:36 -07:00
1cd6854370 chore: typing fixes 2021-04-06 11:18:36 -07:00
19ce9fc2bf chore: box shadow updates (#9220) 2021-04-06 11:18:36 -07:00
d2f50e50bb feat: improved css-shadow parser 2021-04-06 11:18:36 -07:00
673387cf99 chore: cleanup 2021-04-06 11:18:36 -07:00
3bd2d96f29 feat(core): box shadow demo (#9182) 2021-04-06 11:18:36 -07:00
d5a8a25aba feat(core): first class a11y support (#8909) 2021-04-06 11:18:36 -07:00
a6b1bde655 feat(core): text-shadow support (#8991) 2021-04-06 11:18:36 -07:00
67e2fe42b7 feat(core): box-shadow support (#9161) 2021-04-06 11:18:36 -07:00
b80b37a939 Merge branch 'master' of github.com:NativeScript/NativeScript
# Conflicts:
#	.gitignore
#	package.json
2021-03-08 17:30:57 +01:00
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
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