74 Commits

Author SHA1 Message Date
af87006f68 Merge branch 'master' of github.com:NativeScript/NativeScript
# Conflicts:
#	apps/ui/tsconfig.json
#	packages/webpack5/src/helpers/index.ts
2022-01-12 15:36:44 +01:00
a88cacab89 chore(migrate): apps/* to webpack5 (#9606) 2021-12-21 09:47:33 -08:00
d1f768ca6b Merge branch 'master' of github.com:NativeScript/NativeScript 2021-10-13 13:45:21 +02:00
02aa0f652a fix(style): CSS variables should be case-sensitive. (#9603) 2021-10-08 11:04:04 -07:00
7fa5f290cc Merge branch 'master' of github.com:NativeScript/NativeScript 2021-09-30 09:23:34 +02:00
3e21748af4 fix: background parsing color #9559 (#9560) 2021-09-21 21:41:34 -07:00
e3e5dea2be Merge branch 'master' of github.com:NativeScript/NativeScript
# Conflicts:
#	package.json
#	packages/core/bundle-entry-points.ts
#	packages/core/color/color-common.ts
#	packages/core/color/index.d.ts
#	packages/core/globals/index.ts
#	packages/core/package.json
#	packages/core/ui/core/bindable/index.ts
#	packages/core/ui/core/properties/index.ts
#	packages/core/ui/core/view/index.android.ts
#	packages/core/ui/frame/index.android.ts
#	packages/core/ui/styling/style-scope.ts
#	packages/ui-mobile-base/android/gradle/wrapper/gradle-wrapper.properties
#	packages/webpack5/package.json
#	packages/webpack5/src/configuration/base.ts
2021-09-16 10:16:45 +02:00
a38e2ca3b9 fix(android): background-image 'none' (#9547)
closes https://github.com/NativeScript/NativeScript/issues/9546
2021-09-15 19:04:26 +02:00
c4db847ded feat(color): added utilities and improved color parsing performance (#9110) 2021-09-08 16:07:39 -07:00
2a4563716a fix(styling): change transform parameters parsing (#9481)
Fixed the incorrectly applied short form of "transform: translate" style property.

closes #5202
2021-09-08 16:07:39 -07:00
aa9c9f3897 chore: cleanup 2021-09-08 16:07:38 -07:00
dd5f24a737 feat(core): make css parsers tree-shakable (#9496) 2021-09-08 16:07:38 -07:00
2005bd5927 fix: css faster color parsing 2021-08-07 15:14:24 +02:00
568defa23a Merge branch 'webpack5_refactor' of github.com:Akylas/NativeScript
# Conflicts:
#	.eslintrc.json
#	packages/core/bundle-entry-points.ts
#	packages/core/ui/core/bindable/index.ts
#	packages/core/ui/styling/style-scope.ts
#	packages/core/xml/index.ts
#	packages/webpack5/src/configuration/base.ts
#	packages/webpack5/src/helpers/index.ts
2021-07-26 17:33:18 +02:00
7e0ecaa6cd Merge branch 'master' of github.com:NativeScript/NativeScript 2021-06-29 13:41:36 +02:00
b8d8110994 fix: stop leaking style scopes (#9444)
fixes #9311

* fix: stop leaking style scopes

* fix: don't leak scoped styles in production
2021-06-15 23:00:07 +02:00
971d8eeddf Merge branch 'master' of github.com:NativeScript/NativeScript 2021-06-09 09:51:06 +02:00
04381fa3e7 fix(animations): stop keyframe animations after View unloaded (#9421) 2021-05-30 11:56:28 -07:00
263c920cb8 fix(box-shadow): support for 'none' (#9418) 2021-05-25 21:22:35 -07:00
3ae12184e5 Merge branch 'master' of github.com:NativeScript/NativeScript
# Conflicts:
#	.eslintrc.json
#	packages/core/ui/core/bindable/index.ts
#	tsconfig.eslint.json
2021-05-05 10:17:27 +02:00
0d4ccba60a chore: combine prettier with eslint (#9348) (#9360)
Co-authored-by: Martin Guillon <martin.guillon@akylas.fr>
2021-05-02 10:11:37 -07:00
3f5ec3440d fix: port boxshadow to background improvements 2021-04-09 09:03:06 +02: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
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