Commit Graph

1041 Commits

Author SHA1 Message Date
Manol Donev
c0c79f31cf fix(ios-tabs): item appearance toggle b/n titles and images (#7502) 2019-07-11 00:35:38 +03:00
Martin Yankov
d8262a624e feat: add font icons to image actionbar and tab navigation (#7498) 2019-07-10 21:05:45 +03:00
Martin Yankov
30fc585425 feat: add css support for tabs widget (#7491) 2019-07-10 19:22:55 +03:00
Alexander Vakrilov
aed1daa8f5 fix: Missing app.css error in playground (#7499) 2019-07-10 18:39:21 +03:00
Vasil Chimev
eb1ed3e4ec refactor(bottom-navigation): strip item creation (#7477)
* feat(ios-tabs): tab bar item appearance

Implements https://github.com/NativeScript/NativeScript/issues/7436 and https://github.com/NativeScript/nativescript-angular/issues/1884.

* refactor(ios-tabs): move _hasImage and _hasTitle properties

* feat(ios-bottom-navigation): create tab bar from image nad label

Implements https://github.com/NativeScript/nativescript-angular/issues/1893 for iOS.

* feat(android-bottom-navigation): create tab item spec from image and label

Implements https://github.com/NativeScript/nativescript-angular/issues/1893 for Android.

* chore: remove console.logs
2019-07-10 17:37:45 +03:00
Vasil Chimev
c34a48ac77 refactor(tabs): strip item appearance and creation (#7466)
* test(e2e): add tab strip items pages

* fix(ios-tabs): a crash on swiping a content item

Fixes https://github.com/NativeScript/NativeScript/issues/7459.

* feat(android-tabs): create tab item spec from image and label

Implements https://github.com/NativeScript/nativescript-angular/issues/1884 for Android.

* feat(ios-tabs): tab bar item appearance

Implements https://github.com/NativeScript/NativeScript/issues/7436 and https://github.com/NativeScript/nativescript-angular/issues/1884.

* refactor(ios-tabs): move _hasImage and _hasTitle properties
2019-07-10 16:05:45 +03:00
Manol Donev
c42bf0a6d0 refactor(bottom-navigation): event emitters (#7490) 2019-07-10 14:58:02 +03:00
Manol Donev
3c1e2a35d9 refactor(android): no transition duration to 1ms (#7486) 2019-07-10 13:57:01 +03:00
Martin Yankov
c9a0b71c37 feat: add css for tabstripitem for bottom navigation ios (#7482) 2019-07-10 09:59:04 +03:00
Martin Yankov
fab9c90007 feat(bottom-navigation-android): add tabstripitem css support (#7458)
* wip: add background color placeholders for tabstripitem

* feat: add css for tabstripitem for bottom navigation android

* chore: update example

* fix: revert native default index

* clean up tabcontentitem

* update setTabBarItemTextTransform

* textTransform inherited css property now

* fix(android-bottom-navigation): fragment detach logic

* chore: fix tests

* fix(android-bottom-navigation): fragment lifecycle logic

* fix: revert text-transform inherited css property
2019-07-09 13:33:32 +03:00
Alexander Djenkov
6e1e0e843a fix(android-tabs): tabstripitem tap does not change tabs (#7468) 2019-07-08 02:12:39 -07:00
Alexander Vakrilov
8756b3da16 refactor: HMR and webpack improvements (#7462)
* chore: update project

* refactor: clear module-name cache on orientation

* feat: add custom component in qualifiers app

* feat: enable HMR for custom components

* refactor: remove redundant check

* chore: clean console.log
2019-07-08 11:11:14 +03:00
Alexander Djenkov
e0fad4133b fix(bottom-navigation): current TabContentItem index not set (#7453) 2019-07-04 10:02:17 +03:00
Alexander Djenkov
97a2af27f9 fix(tabs): current TabContentItem index not set (#7441) 2019-07-03 22:32:16 +03:00
Alexander Vakrilov
8851835cb1 refactor(builder): handle modules with "/" or "~/" (#7418) 2019-06-28 15:38:42 +03:00
Martin Yankov
43534502f9 feat: add background color css to tab strip (#7414) 2019-06-28 10:07:33 +03:00
Nathanael Anderson
76b5089589 fix: restore TextField.textChange and Switch.checkedChange event syntax in xml (#7403) 2019-06-27 17:14:44 +03:00
Alexander Vakrilov
9fcc1ddf94 feat(bundle): support for file qualifiers + builder refactor (#7386)
* feat(bundle): support for file qualifiers in builder

* chore: add qualifiers test app

* chore: add @Deprecated for file-name-resolver

* fix(hmr): hmr not working for scss files

* chore: globals clean-up

* shore: fix tslint

* tests: uncomment test fixed by ns-dev-webpack

* chore: move qualifiers app to e2e

* chore: update webpack config

* chore: tslint errors

* test: fix wrong css import
2019-06-26 18:40:18 +03:00
Bundyo (Kamen Bundev)
1a0c81f02a refactor(EditableTextBase, Button) rename PseudoClass update handlers to be more specific (#7404) 2019-06-26 18:39:27 +03:00
Manol Donev
4f39fb728b chore: update tslint rules (#7391) 2019-06-26 15:13:48 +03:00
Manol Donev
92370279d8 chore: restore temporarily deprecated apis (#7407) 2019-06-26 02:58:23 -07:00
Manol Donev
872207515a fix(ios-actionbar): parent/child gesture recognition (#7400) 2019-06-26 11:07:12 +03:00
Vasil Chimev
9ecf07fee6 fix(css-state): _appliedSelectorsVersion assignment (#7405)
Assign CSS state applied selectors version after ensuring and matching the selectors.
2019-06-26 00:49:55 -07:00
Alexander Djenkov
f08b491750 fix(android-transition): exit transition not executed after app suspend resume (#7402) 2019-06-26 01:06:15 +03:00
Manol Donev
28d7240cc5 chore: tslint errors 2019-06-25 18:00:04 +03:00
Manol Donev
d402c05b2f Merge branch 'master' into mdonev/release-to-master20190621 2019-06-25 16:52:27 +03:00
Manol Donev
b20e771552 chore: remove deprecated apis for ns 6.0 (#7382) 2019-06-25 16:52:01 +03:00
Bundyo (Kamen Bundev)
0bfddab915 Add support for :focus pseudo class in TextField/TextView (#7396) 2019-06-25 05:15:14 -07:00
Dimitar Topuzov
429ebf859f Merge branch 'master' into mdonev/release-to-master20190621 2019-06-25 01:20:30 -07:00
Vasil Chimev
2723744091 chore(android): fix circular reexports (#7399) 2019-06-24 19:32:03 +03:00
Manol Donev
4299d4aedc Merge branch 'master' into mdonev/release-to-master20190621 2019-06-21 15:39:51 +03:00
Vladimir Amiorkov
dfe76213dd fix: clear the resolvedPage when entry is being cleared, change the passed View to be a weak reference (#7327)
* fix: clear the `resolvedPage` when entry is being cleared
fix: change the passed `View` to be a weak reference

* chore: add trace logs when weak ref has been cleared but is continuing to be used
chore: add condition to check if weak ref has not been cleared when it is being used

* chore: refactor the way the `resolvedPage` is cleared

* chore: add backward compatible property to avoid breaking changes

* chore: refactor condition to check if WeakRef is not cleared
chore: add tracelogs

* chore: refactor condition to check if WeakRef is not cleared
chore: add tracelogs

* refactor: weakRef usages

* chore: change the way WeakRef type check is done
2019-06-21 01:48:49 -07:00
Manol Donev
ecd9fc3e9d feat: bundle workflow support (#7337) 2019-06-20 15:58:36 +03:00
Martin Yankov
0c2c1ccfde feat: re-design tab views (#7340) 2019-06-13 11:01:55 +03:00
Luke Curran
b8a82f279e feat: cancel contradictory gesture events (#7296)
BREAKING CHANGES:


Old behavior:
 - iOS/Android:
    - double tap: child tap -> parent tap -> child double tap -> parent double tap
    - tap: child tap -> parent tap

New behavior:
 - iOS
    - double tap: child double tap
    - tap: child tap
 - Android
    - double tap: child double tap -> parent double tap
    - tap: child tap -> parent tap

Migration steps:
Move event handlers accordingly.
2019-06-12 15:40:13 +03:00
Alexander Djenkov
c5db112b8d feat(android): androidX support (#7039)
* feat: migrate support library namespaces to androidX

* feat(tns-platform-declarations): update to androidX typings

* chore(tests): migrate test apps to AndroidX

* chore(tns-platform-declarations): update tsconfig to include androidx dts files

* update package.json to androidx

* chore(androidx): migrate forgotten support library namspaces

* feat(tns-core-modules-widgets): migrate to AndroidX namespaces

* chore(utils): update androidx namspace for getPaletteColor method

* chore(apps): update tns-platform-declarations package

* Update package.json
2019-06-10 09:21:41 +03:00
Manol Donev
b88d4948fc Merge branch 'master' into mdonev/release-to-master20190606 2019-06-06 12:47:57 +03:00
Svetoslav
b50f57a561 Merge pull request #7293 from NativeScript/mdonev/hmr-multliple-fix
fix(hmr): support for multi module replacement
2019-06-05 20:19:59 +03:00
Manol Donev
6d36041823 fix back navigation 2019-06-04 17:50:26 +03:00
Morten Sjøgren
3604df8163 fix: register layout child for nested custom components (#7230) 2019-06-03 16:32:23 +03:00
Manol Donev
30d06f2d7e fix iOS back transition after hmr 2019-05-31 19:16:33 +03:00
Manol Donev
7c22ffed45 fix(hmr): support for multi module replacement 2019-05-31 16:17:55 +03:00
Morten Sjøgren
888fc5740f fix: register layout child for nested custom components (#7230) 2019-05-31 14:16:54 +03:00
Manol Donev
2e15dd66d9 refactor: remove ununsed method (#7232) 2019-05-22 14:56:54 +03:00
Manol Donev
c22933f9e3 Merge branch 'master' into mdonev/release-to-master7251 2019-05-22 11:50:37 +03:00
Manol Donev
0aca08755a fix(hmr): quick fade upon replace navigation (#7251) 2019-05-22 11:45:55 +03:00
Martin Yankov
bb58408f49 Merge branch 'master' into myankov/merge-release-master 2019-05-21 17:12:20 +03:00
Martin Yankov
7458e68844 Merge branch 'master' into animate-width-height 2019-05-21 14:12:14 +03:00
Martin Yankov
d60e5dace4 refactor: platform specific logic from view common 2019-05-21 13:42:10 +03:00
Manol Donev
be6e408fff fix(android): elevation should not require explicit dynamic elevation offset (#7250) 2019-05-17 10:57:46 +03:00