* Update tap event data object
Adds a:
- TabGestureEventData interface, which can be used for both tap and doubleTap events.
- The event object returned by both tap and doubleTap events now have getX(), getY(), and getPointersCount() methods. These facilitate the same function as those of the touch event object.
* ui(gesture): getX,getY in DIP
Updates the getX() and getY() methods of Tap, doubleTap and touch events to return DIP instead of DP.
* ui(gesture): tap event data includes location
Tap and doubleTap event data now include getX and getY methods for event location. These are in DIP format.
getPointerCount is also available.
* Fix tslint errors
* fix minor formatting issues for api-extrector
* fix: dont create an actionbar if not necessary
For now i kept the commented code so that you can see the change.
Also i changed the android check to behave like iOS
* rollback. we now try an make sure the actionbar is created only if needed
* actually we should check for false
* chore: add guard for ios
* feat(bottom-nav): adding new properties
* feat(tabs): new property implementation
* feat: new feature implementation in android
Implemented selectedItemColor and unSelectedItemColor properties on TabStrip
* chore: added some comments
* chore: change method return type
* fix: setting icon color
* fix: rendering mode setting
* chore: rename variable
* chore: fixed a typo
* chore: updated log in build gradle
* fix: item color setting in android
* fix: tab styling when no css aplied
* chore: private methods renamed
* tests: added selected-item test pages
* chore: renamed test pages
* chore: move css-tree package to the right place
* tests: added new ui tests
* fix: use renamed function
* fix: set item color
* tests: aded automationText attribute
* tests: trying to fix the tests
Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
* fix the crash
* chore: update MaterialComponents pod (#8176)
* chore: update MaterialComponents pod
* chore: remove copy of pod file in build script
* chore: cut the 6.3.0 release (#8174)
* hore: cut the 6.3.1 release
* fix: handle fake attach after FragMgr is destroyed (#8200)
* fix: check is disposed fragment is in the FragmentManager (#8201)
* release: cut the 6.3.2 release
* release: cut the 6.4.0 release
* chore(build): always use local typescript
* fix: flipLeft and flipRight on Android (#8307)
* fix(android): tap-trip-item title disappearing
* fix(andoid): crash when setting font on tab-item with no image
* fix(build): Add platforms/android to NPM package (#8312)
Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
Co-authored-by: Alexander Vakrilov <alexander.vakrilov@gmail.com>
* release: cut the 6.4.1 release
* chore: bump tns-core-modules-widgets version (#8352)
Co-authored-by: hamidbsd <50081218+hamidbsd@users.noreply.github.com>
Co-authored-by: Alexander Vakrilov <alexander.vakrilov@gmail.com>
Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
Co-authored-by: Nick Iliev <nikolay.iliev@telerik.com>
Co-authored-by: Martin Bektchiev <martin.bektchiev@progress.com>
Co-authored-by: Rosen Vladimirov <rosen-vladimirov@users.noreply.github.com>
* fix the crash
* chore: update MaterialComponents pod (#8176)
* chore: update MaterialComponents pod
* chore: remove copy of pod file in build script
* chore: cut the 6.3.0 release (#8174)
* hore: cut the 6.3.1 release
* fix: handle fake attach after FragMgr is destroyed (#8200)
* fix: check is disposed fragment is in the FragmentManager (#8201)
* release: cut the 6.3.2 release
Co-authored-by: hamidbsd <50081218+hamidbsd@users.noreply.github.com>
Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
When setting the format of a "text view", we need to recover existing values for properties that will get default values otherwise.
The "textAlignment" of a UIButton is available through a "titleLabel" object instead of directly on itself (see IOS documentation fo UIButton).
Co-authored-by: Romain Vincent <54814371+romain20100@users.noreply.github.com>
Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
* feat(textview): added maxLines property
* feat(text-view): moved implementation to TextView
* feat(text-view): changes based on CR
* feat(text-view): Normalize behavior in between android and iOS
* chore: updated NativeScript.api.md
* chore: add new line before return
Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
* fix: return default tab background color
when the background color is not explicitely set through css
* chore: update NativeScript.api.md
* fix: do not cast return getTabBarBackgroundColor to ColorDrawable
* chore: added comment and method check
Co-authored-by: Alexander Vakrilov <alexander.vakrilov@gmail.com>
* feat(html-view): Additional properties for HtmlView component
- Allow to set text color with `color` CSS property.
- Allow to set link color with `link-color` CSS property.
- Allow to set font attributes with `font-family` and `font-size` CSS properties.
- Make text selectable on Android by default (for consistency with IOS).
- Remove extra padding on IOS.
* refactor: Move uiColorToHex function to nativescript-core/color module
* test: adding test for new HtmlView css properties
Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
* Added iOS specific height and width attributes to ShowModalOptions
* Set the height and width of the popup dialog to the presenting controller
* dialog options ios attributes presentationStyle, height & width are made optional
* Updated NativeScript.api.md for public API changes
* Update with git properties
* Public API
* CLA update