Martin Guillon
9a380cd43e
fix(core): prevent circular reference Frame <> Page ( #9111 )
2020-12-30 07:58:14 -08:00
Nathan Walker
9aad2dbdbc
feat(ios): types for latest ios 14.3 with Xcode 12.3 ( #9118 )
2020-12-30 07:57:10 -08:00
Igor Randjelovic
b4857f87cb
ci: add empty action for types
2020-12-28 14:38:57 +01:00
Igor Randjelovic
69b7fc377a
ci: add workflows for different packages
2020-12-28 14:37:01 +01:00
Igor Randjelovic
875dc138a8
chore(release): @nativescript/webpack@4.0.0
4.0.0-webpack
2020-12-28 14:23:16 +01:00
Jamie Birch
1a0c643b68
fix: rollback CopyWebpackPlugin to v4.6.0 ( #9099 )
2020-12-28 13:51:23 +01:00
Dimitris - Rafail Katsampas
b47ce0a97c
fix: android Tabs selected item color incorrectly applied ( #9040 )
...
* fix: selected-item-color gets applied to wrong TabStripItems
* chore: Added selection colors to 2 ui examples.
* chore: Removing used for testing.
2020-12-28 13:50:23 +01:00
Dimitris - Rafail Katsampas
e16bc606ef
fix: android ActivityIndicator custom color affecting other indicators on the page ( #9026 )
...
* fix(core): Setting color of an Android ActivityIndicator changed the color of the rest of ActivityIndicators in the same page.
* test: Updated ActivityIndicator sample.
* perf: Call mutate() only if color is actually changed.
2020-12-28 13:48:14 +01:00
Martin Guillon
d09a564296
fix: android modal not following activity windowSoftInputMode ( #9042 )
...
* fix android modal not following activity windowSoftInputMode
Also added an android modal parameter to set a custom windowSoftInputMode
* fix softInputMode set too soon
* Update packages/core/ui/core/view/index.android.ts
Co-authored-by: Igor Randjelovic <rigor789@gmail.com >
* Update packages/core/ui/core/view-base/index.d.ts
Co-authored-by: Igor Randjelovic <rigor789@gmail.com >
* Update packages/core/ui/core/view-base/index.ts
Co-authored-by: Igor Randjelovic <rigor789@gmail.com >
Co-authored-by: Igor Randjelovic <rigor789@gmail.com >
2020-12-28 13:47:00 +01:00
Nathanael Anderson
4204ac8308
fix(compat): add screen and device aliases ( #9088 )
...
* fix: Add old names to platform for compatibility
* Simplify code
* fix: apply changes to definitions
Co-authored-by: Igor Randjelovic <rigor789@gmail.com >
2020-12-28 13:46:04 +01:00
Martin Guillon
ea67422fcf
feat: iosIgnoreSafeArea property ( #9092 )
...
* feat: ios added ignoreSafeArea property
* fix: ensure it works when no viewControllerView
2020-12-28 13:39:55 +01:00
Igor Randjelovic
9391b44996
fix(tabs): ios safeArea calculation ( #9089 )
...
* fix(tabs): ios safeArea calculation
* feat(tabs): respect iosOverflowSafeArea value
2020-12-28 13:38:28 +01:00
Martin Guillon
2c59024507
fix: missing mix color typings
2020-12-24 16:41:59 +01:00
Martin Guillon
b6b36cf943
fix: missing mix color typings
2020-12-24 16:41:48 +01:00
Martin Guillon
3728e68515
chore: mix fonction fix
2020-12-24 16:34:29 +01:00
Martin Guillon
619a3f014f
fix: added Color.mix
...
Fixed hsl and hsv methods
2020-12-24 16:32:12 +01:00
Martin Guillon
dc740e33d7
Merge branch 'color_update' of github.com:Akylas/NativeScript into color_changes_2
2020-12-24 16:31:56 +01:00
Martin Guillon
5a6158768d
fix: fix regression after colors simplifications
2020-12-24 16:30:16 +01:00
Martin Guillon
4ef99ab64f
fix: improve Color performances.
...
* no need to constantly test for SHARP
* drop the regexp test. Testing for first char SHARP is enough as it will still throw an error if the color is not valid
* faster hex method thus also toString method
2020-12-24 16:30:08 +01:00
Martin Guillon
75ceedf1ab
fix: added Color.mix
...
Fixed hsl and hsv methods
2020-12-24 16:29:17 +01:00
Martin Guillon
68f3e728a6
chore: tweaks & fixes ( #9109 )
...
* fix: correct bundle analyzer settings
* fix: svelte config fix
* fix: CopyWebpackPlugin fixed ignore
* chore: tabs fix
2020-12-23 20:04:22 +01:00
Martin Guillon
644d121ccf
chore: ignore
2020-12-22 13:37:09 +01:00
Martin Guillon
2c89449b95
Merge branch 'master' of github.com:NativeScript/NativeScript
2020-12-22 09:31:24 +01:00
Martin Guillon
098361a31a
cleanup
2020-12-22 09:30:45 +01:00
Martin Guillon
ca6d82f54c
chore: lint
2020-12-22 09:30:28 +01:00
Igor Randjelovic
51b383fe85
ci: move npmrc to root
2020-12-19 20:14:41 +01:00
Igor Randjelovic
0d9350dc80
ci: check if npmrc is correct
2020-12-19 19:35:41 +01:00
Nathan Walker
61727929cc
ci: enable next tag for master
2020-12-19 10:13:23 -08:00
Martin Guillon
ed0d3d5b62
chore: cleanup
2020-12-18 09:39:13 +01:00
Martin Guillon
c5f8c22eb5
missing getter
2020-12-18 09:39:04 +01:00
Martin Guillon
3accdb3f06
fix: prevent circular reference && Cannot access … before initialization
2020-12-18 09:25:30 +01:00
Martin Guillon
96099892ba
fix: fix regression after colors simplifications
2020-12-17 16:40:30 +01:00
Martin Guillon
ab46c4a6da
chore: a bit more profiling
2020-12-17 15:11:34 +01:00
Martin Guillon
ce84a200b0
fix(android): refactor to make less calls to native
2020-12-17 15:11:22 +01:00
Martin Guillon
427001a5a4
fix: improve Color performances.
...
* no need to constantly test for SHARP
* drop the regexp test. Testing for first char SHARP is enough as it will still throw an error if the color is not valid
* faster hex method thus also toString method
2020-12-17 15:06:00 +01:00
Igor Randjelovic
05d776bea8
chore: fix broken links in PR template
2020-12-16 10:19:16 +01:00
Martin Guillon
96fac04dd9
fix(android): when possible only call setBackgroundColor
2020-12-15 11:43:00 +01:00
Martin Guillon
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
Igor Randjelovic
de5f67f7c8
chore: add JSDocs
2020-12-08 12:07:42 +01:00
Martin Guillon
ee544d7885
fix: ensure it works when no viewControllerView
2020-12-07 16:35:49 +01:00
Igor Randjelovic
d21776079f
chore: cleanup
2020-12-07 15:01:17 +01:00
Igor Randjelovic
2f39cf5ed6
feat: extract platforms
2020-12-07 13:41:22 +01:00
Martin Guillon
1582f6c035
fix: first pass at improving requestLayout
...
It is totally unecessary to call multiple requestLayout inside initNativeView (properties set)
Even worse we dont need to do any requestLayout from “onLoaded” as the parent will layout itself/children
2020-12-07 13:29:41 +01:00
Martin Guillon
1c85549ed3
fix: no need for batchUdated if no selector
2020-12-07 13:28:24 +01:00
Martin Guillon
6f9d0527c0
feat: ios added ignoreSafeArea property
2020-12-07 13:28:09 +01:00
Martin Guillon
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
Martin Guillon
407d57ff62
fix: fix tsc errors
2020-12-06 14:44:30 +01:00
Martin Guillon
d3d780ee45
make _appliedPropertyValues private
2020-12-03 21:12:12 +01:00
Martin Guillon
2baccd42b5
unecessary
2020-12-03 16:28:16 +01:00
Martin Guillon
ca1c9f2519
fix: ensure we dont get udplicates in oldProperties and newPropertyValues
2020-12-03 16:28:12 +01:00