* feat: open file in iOS simulator
* feat: added isRealDevice util
* feat: have in mind isRealDevice in utils.openFile
refactor to avoid some circular dependencies
Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
* 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
* 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>
* feat(http): binary upload support
* feat(http): better binary support & XHR support
* fix: linting issue
* chore: moved files from old place to the new one
* chore: Updated NativeScript.api.md
* feat(http): support both ByteBuffer and String
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