5803 Commits

Author SHA1 Message Date
28de3d64cd iOS long press status property 2019-09-23 16:51:49 +03:00
3e8d6350b9 feat(platform-declarations): generate typings from iOS 13.0 SDK (#7817)
* feat(platform-declarations): generate typings from iOS 13.0 SDK

* fix(platform-declarations): typings generation script

Delete Material Components typings from `tns-platform-declarations`,
they are part of `tns-core-modules` package.

* refactor(platform-declarations): workaround a TypeScript error

Error:
```
tns-platform-declarations/ios/objc-x86_64/objc!OSLog.d.ts(178,15): error TS2417: Class static side 'typeof OSLogEnumerator' incorrectly extends base class static side 'typeof NSEnumerator'.
  Types of property 'alloc' are incompatible.
    Type '() => OSLogEnumerator' is not assignable to type '<ObjectType>() => NSEnumerator<ObjectType>'.
      Type 'OSLogEnumerator' is not assignable to type 'NSEnumerator<ObjectType>'.
        Types of property 'allObjects' are incompatible.
          Type 'NSArray<NSObject>' is not assignable to type 'NSArray<ObjectType>'.
            Type 'NSObject' is not assignable to type 'ObjectType'.
              'NSObject' is assignable to the constraint of type 'ObjectType', but 'ObjectType' could be instantiated with a different subtype of constraint '{}'.
```

References:
https://github.com/Microsoft/TypeScript/issues/17575
https://stackoverflow.com/questions/52518125/workaround-for-accessing-class-type-arguments-in-static-method-in-typescript

* docs(platform-declarations): note a manual step on generating typings

* chore(platform-declarations): exclude ios-typings-prj from transpilation

* refactor(platform-declarations): delete references to MDC types

```
ios/objc-x86_64/objc!QuartzCore.d.ts:676:36 - error TS2304: Cannot find name 'MDCAnimationTimingFunction'.

676  static mdc_functionWithType(type: MDCAnimationTimingFunction): CAMediaTimingFunction;

ios/objc-x86_64/objc!UIKit.d.ts:7717:54 - error TS2304: Cannot find name 'MDCFontTextStyle'.

7717  static mdc_preferredFontForMaterialTextStyle(style: MDCFontTextStyle): UIFont;

ios/objc-x86_64/objc!UIKit.d.ts:7719:53 - error TS2304: Cannot find name 'MDCFontTextStyle'.

7719  static mdc_standardFontForMaterialTextStyle(style: MDCFontTextStyle): UIFont;

ios/objc-x86_64/objc!UIKit.d.ts:7771:63 - error TS2304: Cannot find name 'MDCFontTextStyle'.

7771  mdc_fontSizedForMaterialTextStyleScaledForDynamicType(style: MDCFontTextStyle, scaled: boolean): UIFont;

ios/objc-x86_64/objc!UIKit.d.ts:7794:64 - error TS2304: Cannot find name 'MDCFontTextStyle'.

7794  static mdc_preferredFontDescriptorForMaterialTextStyle(style: MDCFontTextStyle): UIFontDescriptor;

ios/objc-x86_64/objc!UIKit.d.ts:7796:63 - error TS2304: Cannot find name 'MDCFontTextStyle'.

7796  static mdc_standardFontDescriptorForMaterialTextStyle(style: MDCFontTextStyle): UIFontDescriptor;
```
2019-09-19 22:18:08 +03:00
dfcbe6c319 style: formatting and whitespaces (#7840) 2019-09-19 15:40:31 +03:00
3b5785146f Merge pull request #7839 from NativeScript/merge-release-in-master
chore: merge release in master
2019-09-18 12:02:51 +03:00
e6c7e0c1ac Merge remote-tracking branch 'origin' into merge-release-in-master 2019-09-18 01:08:56 +03:00
25046c7f94 chore: remove grunt and update build scripts (#7838)
* chore: prepare and pack scripts

* chore: update @types/node dep

* chore: remove prepare-dist command from pack-dist
2019-09-18 01:05:39 +03:00
4f421ffbfe fix(application-settings-android): possible uninitialized sharedPreferences variable usage (#7813) 2019-09-13 19:02:37 +03:00
0b3ceb0e7c chore: update dev workflow (#7819) 2019-09-13 14:53:10 +03:00
3cabdde05f feat(css): Add HSL/HSLA support (#7730) 2019-09-13 13:49:35 +03:00
f438ad7d69 chore: fix typo (#7765) 2019-09-12 15:54:34 +03:00
570c17f41a chore: dev-tsc-all target invalid in package.json (#7746) 2019-09-12 15:54:02 +03:00
e0c4933337 chore: merge release to master (#7809)
* feat(android): fix tab resource icon size based on spec (#7737)

* feat(ios): add icon rendering mode for bottom navigation (#7738)

* fix(ios-tabs): crash when add tabstrip in loaded event (#7743)

* fix(css): parse css selectors with escape sequences (#7689) (#7732)

* fix(ios-tabs): handle nesting proxy view container (#7755)

* fix-next(css): className to preserve root views classes (#7725)

* docs: cut the 6.1.0 release (#7773)

* fix(android-list-picker): NoSuchFieldException on api29 (#7790)

* chore: hardcode tslib version to 1.10.0 (#7776)

* fix(css-calc): reduce_css_calc_1.default is not a function (#7787) (#7801)
2019-09-12 14:33:03 +03:00
a8680f0761 release: cut the 6.1.1 release (#7808)
* release: cut the 6.1.1 release
6.1.1
2019-09-11 15:58:59 +03:00
20c07731b3 fix(css-calc): reduce_css_calc_1.default is not a function (#7787) (#7801) 2019-09-10 18:41:13 +03:00
f3d8967e0c chore: update development workflow info (#7750) 2019-09-10 15:57:47 +03:00
2d0737a92d chore: hardcode tslib version to 1.10.0 (#7776) 2019-09-10 15:43:17 +03:00
03d1ff0399 fix(css-calc): reduce_css_calc_1.default is not a function (#7787) 2019-09-10 14:12:04 +03:00
997d6de2e3 fix(android-list-picker): NoSuchFieldException on api29 (#7790) 2019-09-10 13:38:38 +03:00
c6efd08120 docs: cut the 6.1.0 release (#7773) 6.1.0 2019-09-04 17:54:48 +03:00
ca02ff1aed docs: remove obsolete Waffle.io links from the README (#7759) 2019-08-30 09:12:59 +03:00
d23ffb8dbf fix-next(css): className to preserve root views classes (#7725) 2019-08-30 09:09:35 +03:00
92c3338dd5 fix(ios-tabs): handle nesting proxy view container (#7755) 2019-08-29 21:15:23 +03:00
e3ed02858c fix(css): parse css selectors with escape sequences (#7689) (#7732) 2019-08-29 16:14:29 +03:00
a66f2f2f47 fix(ios-tabs): crash when add tabstrip in loaded event (#7743) 2019-08-29 09:34:57 +03:00
ff6d89fc13 feat(ios): add icon rendering mode for bottom navigation (#7738) 2019-08-28 17:10:55 +03:00
c7d4b99056 Merge pull request #7726 from NativeScript/tsenov/bump-version-6.2.0
chore: bump version to 6.2.0
2019-08-28 14:11:46 +03:00
a39a4db09c Merge branch 'master' into tsenov/bump-version-6.2.0 2019-08-28 13:44:33 +03:00
f436b6f100 feat(android): fix tab resource icon size based on spec (#7737) 2019-08-28 13:41:29 +03:00
552021373e fix(css): parse css selectors with escape sequences (#7689) 2019-08-26 13:59:03 +03:00
d772d21de0 chore: bump versino to 6.2.0 2019-08-23 18:06:47 +03:00
55c9cc9072 feat(TabStrip): add itemTap event (#7711) 2019-08-23 15:32:31 +03:00
caca2b82a2 Merge pull request #7719 from NativeScript/merge-release-in-master
chore: merge release in master
2019-08-23 10:24:35 +03:00
2a899ee55d Merge remote-tracking branch 'origin/master' into merge-release-in-master 2019-08-22 22:56:45 +03:00
fbe12fb3c8 release: cut the 6.0.7 release (#7714) 6.0.7 2019-08-22 16:15:21 +03:00
83f436fdc5 chore: bump widgets version to 6.0.7 (#7715) 2019-08-22 16:06:40 +03:00
8039c2c1dd feat: introduce fixed font icons to tab navigation (#7691) 2019-08-22 10:26:29 +03:00
efdd7e625c fix-next: Add accidentally removed System.import (#7706) 2019-08-21 16:45:00 +03:00
f3bd2e9c5b closes #5989 (#7686) 2019-08-21 14:20:25 +03:00
b6ff4d376a fix: dots can now be used in module names (#7655)
Only known extensions are stripped from the end of module names
2019-08-21 00:01:53 +03:00
b0d1c9106a feat(tabs): emit tabStripItem tap event (#7693) 2019-08-20 13:35:58 +03:00
a21d5e402b chore(grunt): setup script is no more (#7695) 2019-08-20 11:48:31 +03:00
98d0bb5ba6 Merge pull request #7698 from NativeScript/vsetoslavtsenov/merge-release-in-master
chore: merge release in master
2019-08-20 11:18:32 +03:00
7d265f2dec Merge remote-tracking branch 'origin/master' into vsetoslavtsenov/merge-release-in-master 2019-08-20 01:00:52 +03:00
673c8087e0 feat: implement css-variables and css-calc (#7553)
* feat: implement basic support for css-variables

* fix(test): test-watch-android and test-watch-ios was broken

* fix: processing css-variables belong in CssProperty-classes

Not in the StyleScope.

* fix(css-variables): set style attribute override value from css-classes

* feat: add css calc-support using 'reduce-css-calc'

* fix(tslint): missing semicolon and incorrect quotemark

* feat: move css-variable handling to Style-class

* chor: add comments explaining css-variable implmentation

* chor: set css-variables before other style properties

* chor(css-variables): cleaning up

* chor: code style fixes

* test(CSS-CALC): Add tests for nested css-calc statements

* fix(CSS-CALC): dip-unit not supported by reduce-css-calc

* fix(tslint): use double quotemarks

* test(css-calc): test _cssCalcConverter directly

* chor(css-variables): rename and clean up _cssVariableConverter to _evaluateCssVariable

* chor: rename varname to varName for consistency

* chor: support css-calc and variables for normal properties

* chor: use string.replace to evaluate css-variables

* fix: Missing blank line before return

* chor: rename css-calc functions

* fix: undefined css-variables treated as 'unset'

* fix(tslint): use double quotemarks

* feat(css-variable): handle fallback values

* chor(css-variables): handle unsetValue

* chor: process css-calc and css-variables in style-scope

* chore: clean-up css-calc/variable expressions

* fix(css-calc): handle invalid expressions

* chore(CSSState): update comments

* chore(Style): rename css-variable functions

* chore(css-variables): describe fallback logic

* chore: move reset scoped css-variables to Style-class

* chore(CssState): simplify check for css expressions

* chore: add reduce-css-calc to /package.json
2019-08-20 00:56:56 +03:00
4b5e6e6c36 tests: fix-nested-frame-tests (#7696) 2019-08-20 00:55:40 +03:00
0adcb64cc3 chore: fix-travis (#7697) 2019-08-19 20:54:26 +03:00
3adba6826b feat: add CSS classes to app/modal root views to target platform/device/orientation/type (#7606) 2019-08-19 14:09:44 +03:00
70f8d70f07 chore(e2e): update config files (#7677)
* chore(e2e): update config files

* chore: update .gitignore file

* chore: update references.d.ts file

* chore: remove npm scripts

* chore: update travis config
2019-08-18 23:16:35 +03:00
a614fc94d0 Merge pull request #7681 from NativeScript/myankov/ios10-tabs
fix(ios): handle tabs extended layout for ios 10
2019-08-18 21:48:14 +03:00
1a0a417812 Merge branch 'master' into myankov/ios10-tabs 2019-08-16 10:53:45 +03:00