47 Commits

Author SHA1 Message Date
Martin Guillon
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
Nathan Walker
9c6c84b107 chore: nx migrate latest (#9709) 2021-12-21 18:24:24 -08:00
Igor Randjelovic
a88cacab89 chore(migrate): apps/* to webpack5 (#9606) 2021-12-21 09:47:33 -08:00
wanderer163
002ecc379f chore: grammar and typos in .md files (#9632) 2021-11-02 12:28:27 -07:00
Martin Guillon
d1f768ca6b Merge branch 'master' of github.com:NativeScript/NativeScript 2021-10-13 13:45:21 +02:00
Janos Hrubos
6374c47013 chore: update runtime versions in demo apps (#9599)
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2021-10-06 17:49:30 +02:00
Martin Guillon
f2089c4623 chore: app ui fixes 2021-09-30 14:55:00 +02:00
Martin Guillon
7fa5f290cc Merge branch 'master' of github.com:NativeScript/NativeScript 2021-09-30 09:23:34 +02:00
Sébastien JEAN
8e76bbe251 fix(android): StringIndexOutOfBoundsException with invalid drawables (#9563)
* fix(android/application): org.nativescript.widgets.Utils::getDrawable

* chore: fix spacing

* fix(android/application): do not load empty path

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>

* test: Add tests for empty image sources

* chore: add a few more test cases

These make the app crash without the fix in place

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2021-09-25 09:54:34 +02:00
Martin Guillon
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
Nathan Walker
3aff057b99 revert: fix(android): nested dialog/fragment handling (#9495)
This reverts commit 4c547bb00c.
2021-09-08 16:07:39 -07:00
Nathan Walker
71677f70b1 chore: apps webpack config 2021-09-08 16:07:39 -07:00
farfromrefuge
59d9271bce feat(webpack): improved svelte HMR (#9497)
* update svelte config to use svelte-loader

* handle null config

* fix: worker support in .svelte files & update snapshots

* fix after merge

Co-authored-by: halfnelson <dpershouse@gmail.com>
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2021-08-11 11:42:53 +02:00
Nathan Walker
4c547bb00c fix(android): nested dialog/fragment handling (#9495) 2021-08-03 21:57:19 -07:00
Martin Guillon
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
Nathan Walker
1b29d05099 chore: Nx 12 + fix ui app + TS 4.1 updates (#9359) 2021-04-26 19:11:19 -07:00
Nathan Walker
4494b2fb7c chore: npm 7 handling improvements 2021-04-24 11:17:38 -07:00
Martin Guillon
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
Igor Randjelovic
7c60735d14 chore: cleanup background handling 2021-04-06 11:18:36 -07:00
Nathan Walker
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
Nathan Walker
e62acba792 fix: move BottomNavigation and Tabs to @nativescript-community
Cocoapods no longer required with @nativescript/core out of the box and users are no longer taxed with MaterialTabs even if they didn't use those components.

BREAKING CHANGES

If using `BottomNavigation`, just install `@nativescript-community/ui-material-bottom-navigation` and update your imports to use it. API is exactly the same.

If using `Tabs`, just install `@nativescript-community/ui-material-tabs` and update your imports to use it. API is exactly the same.
2021-04-06 11:18:36 -07:00
Nathan Walker
733050995c fix(core): type collisions with namespace (#8809) 2021-04-06 11:18:36 -07:00
Igor Randjelovic
d2f50e50bb feat: improved css-shadow parser 2021-04-06 11:18:36 -07:00
Nathan Walker
673387cf99 chore: cleanup 2021-04-06 11:18:36 -07:00
Ben Delaney
a12c188d0f fix(core): stack layout padding (#9183)
fixes #8810
2021-04-06 11:18:36 -07:00
Tiago Alves
a6b1bde655 feat(core): text-shadow support (#8991) 2021-04-06 11:18:36 -07:00
Eduardo Speroni
6cc130fa6f feat(core): reusable views (#9163) 2021-04-06 11:18:36 -07:00
Martin Guillon
a2d06a9efe fix(button): ios let the gesture observer handles tap events
in some weird cases like i some UICollectionView layouts the UIControlEvents.TouchUpInside is failing
2021-03-18 14:00:36 +01:00
Martin Guillon
2483e9ad91 chore: removed tabs tests 2021-02-17 15:55:24 +01:00
Martin Guillon
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
Nathan Walker
11b3b84114 chore: release prep 2021-02-05 12:24:46 -08:00
Dimitris - Rafail Katsampas
5fe27428e0 feat(android): FlexboxLayout support for isPassThroughParentEnabled (#8798) 2021-01-29 13:03:27 -08: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
9aad2dbdbc feat(ios): types for latest ios 14.3 with Xcode 12.3 (#9118) 2020-12-30 07:57:10 -08: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
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
7fadab1dc8 Merge branch 'master' of github.com:NativeScript/NativeScript
# Conflicts:
#	package.json
#	packages/core/tsconfig.lib.json
#	packages/core/ui/frame/index.android.ts
#	packages/core/ui/tabs/index.ios.ts
2020-10-28 09:46:54 +01:00
Dimitris - Rafail Katsampas
b113f1916d feat(core): Repeater multiple item templates implementation (#8981) 2020-10-26 20:13:22 -07:00
Nathan Walker
2243660080 feat(core): TypeScript 4 + cleanup (#8967) 2020-10-19 09:28:05 -07:00
Martin Guillon
5a3b9d5e16 finish removal of Tabs component 2020-09-12 15:18:08 +02:00
tarunama
8b4ba73741 chore: cleanup navigation-helper.ts (#8834) 2020-09-10 08:41:19 -07:00
tarunama
fda4c48851 chore: add repository 2020-09-10 08:41:19 -07:00
tarunama
bd04a4710f chore: cleanup navigation-helper.ts (#8834) 2020-09-09 20:27:07 -07:00
tarunama
df86162d3e chore: add repository 2020-09-09 20:05:28 -07:00
Nathan Walker
54cce4f20c feat(core): nativescript.config and webpack updates (#8801) 2020-09-01 15:53:37 -07:00
Nathan Walker
020ad4da37 chore(core): monorepo, esm targeting, improved management (#8707) 2020-08-25 20:00:59 -07:00