Commit Graph

6792 Commits

Author SHA1 Message Date
Igor Randjelovic
04a76415b7 feat(ios): build TNSWidgets as XCFramework (#9167) 2021-01-29 11:59:51 -08:00
Martin Guillon
58b2542997 feat(core): setSelection method for editable text components (#9175) 2021-01-28 15:32:22 -08:00
Martin Guillon
0928c4d030 chore: some eslint fixes (#9178)
* add `eslint-plugin-prettier` so that eslint can format code too
* fixed eslint config file:
   - wrong “prettier” extend
   - added config for eslint/prettier
* allow eslint/prettier to format JSON files except package.json files (which are formatted by npm)
2021-01-28 15:29:27 -08:00
AkshatChhapolia
c47b974ede chore: readme grammer (#9174) 2021-01-26 13:32:33 -08:00
Martin Guillon
c31bab1bf7 fix(ios): textfield resizing (auto width) on text change (#9176) 2021-01-26 13:27:18 -08:00
Osei Fortune
e002d72d41 fix(ios): force release of nsdata after saving image (#9177)
gc isn't cleaning up this fast enough when used in a loop e.g https://github.com/NativeScript/plugins/issues/71
2021-01-26 13:25:58 -08:00
Nathanael Anderson
79a5fc8975 fix(webpack): Angular no longer has issues handling {N} plugins without nativescript in name (#9172) 2021-01-26 09:28:10 -08:00
Nathan Walker
a26b807652 chore(release): @nativescript/core@7.1.4 7.1.4-core 2021-01-23 12:27:04 -08:00
Nathan Walker
1a3523ef22 fix(ios): getVisibleViewController maximum call stack exceeded (#9168)
Passed all the Automated tests.
2021-01-23 14:20:30 -06:00
Igor Randjelovic
cc65bdf141 Revert "Revert "ci: add workflow for legacy tns-core-modules""
This reverts commit 8ec6ad5a75.
2021-01-22 14:20:22 +01:00
Igor Randjelovic
8ec6ad5a75 Revert "ci: add workflow for legacy tns-core-modules"
This reverts commit 00dea4120b.
2021-01-22 14:09:20 +01:00
Igor Randjelovic
00dea4120b ci: add workflow for legacy tns-core-modules 2021-01-22 14:03:19 +01:00
Martin Guillon
a58baac2f1 fix: added the same for didDisappear 2021-01-20 11:35:38 +01:00
Martin Guillon
f9871fcd2d chore: bump tslib to prevent build error 2021-01-20 11:30:43 +01:00
Martin Guillon
777fdb91b0 fix: all plugins to react on modal page close on ios
Also ensure we update statusBar style once the modal closes.
2021-01-20 11:30:20 +01:00
Martin Guillon
d94b5984fc types: missing typings for iosIgnoreSafeArea (#9153) 2021-01-20 10:40:18 +01:00
Martin Guillon
37c8a846c7 Merge branch 'master' of github.com:NativeScript/NativeScript
# Conflicts:
#	.gitignore
#	apps/ui/src/tabs/frame-in-tabs-inner-page-1.xml
#	apps/ui/src/tabs/main-page.ts
#	apps/ui/src/tabs/swipe-disabled-page.xml
#	apps/ui/src/tabs/tabs-position-page.xml
#	package.json
#	packages/core/package.json
#	packages/core/ui/core/view-base/index.d.ts
#	packages/core/ui/core/view-base/index.ts
#	packages/core/ui/core/view/index.android.ts
#	packages/core/ui/tabs/index.android.ts
#	packages/core/ui/tabs/index.ios.ts
#	packages/core/ui/tabs/tabs-common.ts
2021-01-19 13:44:42 +01:00
Nathan Walker
376f3ebdd7 chore(release): @nativescript/core@7.1.3 7.1.3-core 2021-01-17 09:40:03 -08:00
Nathan Walker
4690162384 fix(android): BottomNavigation fragment child already has a parent (#9148)
closes https://github.com/NativeScript/NativeScript/issues/8132
closes https://github.com/NativeScript/NativeScript/issues/7901
closes https://github.com/NativeScript/NativeScript/issues/9051
closes https://github.com/NativeScript/NativeScript/issues/8251
2021-01-17 09:21:33 -08:00
Nathan Walker
29f2eb35de chore(release): @nativescript/core@7.1.2 7.1.2-core 2021-01-13 19:37:01 -08:00
Nathan Walker
7a79a8988b fix(webpack): support other workspace config styles 2021-01-13 16:07:14 -08:00
Nathan Walker
882aa42e85 feat(core): rollup additional Utils 2021-01-13 16:06:51 -08:00
Nathan Walker
b8d828bef9 chore(release): @nativescript/core@7.1.1 7.1.1-core 2021-01-13 08:22:47 -08:00
Martin Guillon
4bd65184bd eslint rule fix 2021-01-06 11:17:50 +01:00
Martin Guillon
188f11f53a use __UI_USE_EXTERNAL_RENDERER__ to not register all ui components 2021-01-06 11:17:44 +01:00
Igor Randjelovic
957a104f65 ci: fix paths 2021-01-05 19:12:07 +01:00
Igor Randjelovic
47ebb1d262 fix(core): const initializer in an ambient context (#9136)
fixes #9135
2021-01-05 19:03:42 +01:00
Martin Guillon
0ef4a37c3b chore: rename variable per comments 2021-01-05 16:11:04 +01:00
Martin Guillon
7f31cb3d95 Merge branch 'webpack5_refactor' of github.com:Akylas/NativeScript into webpack5_refactor 2021-01-05 15:50:47 +01:00
Martin Guillon
36a7ce3d9b chore: refactor per comments 2021-01-05 15:50:35 +01:00
Martin Guillon
79537d9c0c chore: variable rename 2021-01-05 15:46:35 +01:00
Martin Guillon
d2342de862 Update packages/webpack5/src/helpers/flavor.ts
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2021-01-05 13:46:31 +01:00
Martin Guillon
0de6451b9f chore: refactor to allow Webpack to bundle only what s necessary.
* added define variable for UI custom flavors allowing flavors to remove unecessary code (builder)
* added define variable to disable XML parser (enabled by default to not break anything)

# Conflicts:
#	packages/core/ui/styling/style-scope.ts
2021-01-05 10:41:18 +01:00
Martin Guillon
8570d4396c some action bar fixes 2021-01-05 10:40:21 +01:00
Nathan Walker
b52414c4ad chore: readme 2021-01-03 14:12:15 -08:00
Nathan Walker
79703a0a41 chore: readme 2021-01-03 14:09:36 -08:00
Igor Randjelovic
c3efab3abc refactor: simplify copy handling 2021-01-02 16:27:00 +01:00
Nathan Walker
e5a15bab36 chore(release): @nativescript/core@7.1.0 7.1.0-core 2020-12-30 10:31:35 -08:00
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