@triniwiz/nativescript-masonkit 1.0.0-beta.7 → 1.0.0-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/button/index.android.d.ts +2 -1
  2. package/button/index.android.js +2 -1
  3. package/button/index.android.js.map +1 -1
  4. package/button/index.ios.d.ts +3 -4
  5. package/button/index.ios.js +3 -64
  6. package/button/index.ios.js.map +1 -1
  7. package/common.d.ts +95 -66
  8. package/common.js +381 -1350
  9. package/common.js.map +1 -1
  10. package/img/index.android.d.ts +2 -1
  11. package/img/index.android.js +2 -1
  12. package/img/index.android.js.map +1 -1
  13. package/img/index.ios.d.ts +2 -1
  14. package/img/index.ios.js +3 -10
  15. package/img/index.ios.js.map +1 -1
  16. package/package.json +3 -2
  17. package/platforms/android/masonkit-release.aar +0 -0
  18. package/platforms/ios/Mason.xcframework/Info.plist +5 -5
  19. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +21 -0
  20. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Mason +0 -0
  21. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  22. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +18999 -18075
  23. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +251 -188
  24. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +251 -188
  25. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  26. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +3709 -3681
  27. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +42 -0
  28. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Mason +0 -0
  29. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  30. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  31. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +932 -8
  32. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +63 -0
  33. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +63 -0
  34. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +932 -8
  35. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +63 -0
  36. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +63 -0
  37. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +22 -22
  38. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  39. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +2900 -2874
  40. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +3272 -3248
  41. package/properties.d.ts +49 -0
  42. package/properties.js +1133 -0
  43. package/properties.js.map +1 -0
  44. package/scroll/index.android.d.ts +2 -1
  45. package/scroll/index.android.js +2 -1
  46. package/scroll/index.android.js.map +1 -1
  47. package/scroll/index.ios.d.ts +2 -1
  48. package/scroll/index.ios.js +2 -1
  49. package/scroll/index.ios.js.map +1 -1
  50. package/style.d.ts +5 -5
  51. package/style.js.map +1 -1
  52. package/symbols.d.ts +8 -0
  53. package/symbols.js +9 -0
  54. package/symbols.js.map +1 -0
  55. package/text/index.android.d.ts +2 -1
  56. package/text/index.android.js +3 -58
  57. package/text/index.android.js.map +1 -1
  58. package/text/index.ios.d.ts +3 -6
  59. package/text/index.ios.js +3 -126
  60. package/text/index.ios.js.map +1 -1
  61. package/utils/index.android.d.ts +2 -1
  62. package/utils/index.android.js +1 -1
  63. package/utils/index.android.js.map +1 -1
  64. package/utils/index.ios.d.ts +2 -1
  65. package/utils/index.ios.js +1 -1
  66. package/utils/index.ios.js.map +1 -1
  67. package/view/index.android.d.ts +2 -1
  68. package/view/index.android.js +2 -1
  69. package/view/index.android.js.map +1 -1
  70. package/view/index.ios.d.ts +2 -1
  71. package/view/index.ios.js +2 -1
  72. package/view/index.ios.js.map +1 -1
@@ -1,5 +1,6 @@
1
1
  import { ViewBase } from '@nativescript/core';
2
- import { style_, ButtonBase } from '../common';
2
+ import { ButtonBase } from '../common';
3
+ import { style_ } from '../symbols';
3
4
  export declare class Button extends ButtonBase {
4
5
  [style_]: any;
5
6
  _inBatch: boolean;
@@ -1,7 +1,8 @@
1
1
  import { CSSType, Utils } from '@nativescript/core';
2
- import { isMasonView_, isText_, isTextChild_, style_, ButtonBase, textContentProperty } from '../common';
2
+ import { ButtonBase, textContentProperty } from '../common';
3
3
  import { Style } from '../style';
4
4
  import { Tree } from '../tree';
5
+ import { style_, isText_, isMasonView_, isTextChild_ } from '../symbols';
5
6
  let Button = class Button extends ButtonBase {
6
7
  constructor() {
7
8
  super();
@@ -1 +1 @@
1
- {"version":3,"file":"index.android.js","sourceRoot":"","sources":["../../../../packages/nativescript-masonkit/button/index.android.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAY,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACzG,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAGxB,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,UAAU;IAIpC;QACE,KAAK,EAAE,CAAC;QAHV,aAAQ,GAAG,KAAK,CAAC;QAIf,IAAI,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;QACrB,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,kBAAkB,EAAE,IAAI,KAAK,CAAC,OAAO,CAAC,qBAAqB,EAAE,CAAC;QAC5F,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,OAAO,CAAU,CAAC;QAC9D,IAAI,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;QAC1B,IAAI,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAa,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IAC3D,CAAC;IAED,6DAA6D;IAC7D,aAAa;IACb,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED,IAAI,YAAY;QACd,IAAI,IAAI,CAAC,MAAM,CAAC,KAAK,SAAS,EAAE,CAAC;YAC/B,IAAI,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAa,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;QAC3D,CAAC;QACD,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;IAED,gBAAgB;QACd,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC,KAAK;QACnC,MAAM,UAAU,GAAG,IAAI,CAAC,KAA+C,CAAC;QACxE,IAAI,UAAU,EAAE,CAAC;YACf,UAAU,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QACnC,CAAC;IACH,CAAC;IAED,aAAa;IACN,0BAA0B,CAAC,KAAiB,EAAE,OAAO,GAAG,CAAC,CAAC;QAC/D,MAAM,UAAU,GAAG,IAAI,CAAC,KAA+C,CAAC;QACxE,IAAI,UAAU,IAAI,KAAK,CAAC,mBAAmB,EAAE,CAAC;YAC5C,KAAK,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;YAC3B,MAAM,KAAK,GAAG,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;YACtE,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,mBAAmB,EAAE,KAAc,CAAC,CAAC;QACnE,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAED,+BAA+B,CAAC,IAAc;QAC5C,IAAI,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC;QAC3B,aAAa;QACb,KAAK,CAAC,+BAA+B,CAAC,IAAI,CAAC,CAAC;IAC9C,CAAC;CACF,CAAA;AAtDY,MAAM;IADlB,OAAO,CAAC,QAAQ,CAAC;;GACL,MAAM,CAsDlB"}
1
+ {"version":3,"file":"index.android.js","sourceRoot":"","sources":["../../../../packages/nativescript-masonkit/button/index.android.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAY,MAAM,oBAAoB,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nC,MAAM,UAAU,GAAG,IAAI,CAAC,KAA+C,CAAC;QACxE,IAAI,UAAU,EAAE,CAAC;YACf,UAAU,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QACnC,CAAC;IACH,CAAC;IAED,aAAa;IACN,0BAA0B,CAAC,KAAiB,EAAE,OAAO,GAAG,CAAC,CAAC;QAC/D,MAAM,UAAU,GAAG,IAAI,CAAC,KAA+C,CAAC;QACxE,IAAI,UAAU,IAAI,KAAK,CAAC,mBAAmB,EAAE,CAAC;YAC5C,KAAK,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;YAC3B,MAAM,KAAK,GAAG,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;YACtE,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,mBAAmB,EAAE,KAAc,CAAC,CAAC;QACnE,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAED,+BAA+B,CAAC,IAAc;QAC5C,IAAI,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC;QAC3B,aAAa;QACb,KAAK,CAAC,+BAA+B,CAAC,IAAI,CAAC,CAAC;IAC9C,CAAC;CACF,CAAA;AAtDY,MAAM;IADlB,OAAO,CAAC,QAAQ,CAAC;;GACL,MAAM,CAsDlB"}
@@ -1,6 +1,7 @@
1
- import { Color, ViewBase } from '@nativescript/core';
2
- import { style_, ButtonBase } from '../common';
1
+ import { ViewBase } from '@nativescript/core';
2
+ import { ButtonBase } from '../common';
3
3
  import { Style } from '../style';
4
+ import { style_ } from '../symbols';
4
5
  export declare class Button extends ButtonBase {
5
6
  [style_]: any;
6
7
  _inBatch: boolean;
@@ -9,8 +10,6 @@ export declare class Button extends ButtonBase {
9
10
  get ios(): MasonButton;
10
11
  get _styleHelper(): Style;
11
12
  createNativeView(): MasonButton;
12
- set backgroundColor(value: Color | number);
13
- get backgroundColor(): Color | number;
14
13
  onLayout(left: number, top: number, right: number, bottom: number): void;
15
14
  onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void;
16
15
  _addViewToNativeVisualTree(child: MasonChild & {
@@ -1,8 +1,9 @@
1
- import { backgroundColorProperty, Color, colorProperty, CSSType, Utils, View } from '@nativescript/core';
2
- import { isMasonView_, isText_, isTextChild_, style_, ButtonBase, textContentProperty, textWrapProperty } from '../common';
1
+ import { CSSType, Utils, View } from '@nativescript/core';
2
+ import { ButtonBase, textContentProperty } from '../common';
3
3
  import { Style } from '../style';
4
4
  import { Tree } from '../tree';
5
5
  import { parseLength } from '../utils';
6
+ import { style_, isText_, isMasonView_, isTextChild_ } from '../symbols';
6
7
  let Button = class Button extends ButtonBase {
7
8
  constructor() {
8
9
  super();
@@ -32,68 +33,6 @@ let Button = class Button extends ButtonBase {
32
33
  nativeView.textContent = value;
33
34
  }
34
35
  }
35
- [colorProperty.setNative](value) {
36
- switch (typeof value) {
37
- case 'number':
38
- this._styleHelper.color = value;
39
- break;
40
- case 'string':
41
- {
42
- this._styleHelper.color = new Color(value).argb;
43
- }
44
- break;
45
- case 'object':
46
- {
47
- this._styleHelper.color = value.argb;
48
- }
49
- break;
50
- }
51
- }
52
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
53
- // @ts-ignore
54
- set backgroundColor(value) {
55
- switch (typeof value) {
56
- case 'number':
57
- this._styleHelper.backgroundColor = value;
58
- break;
59
- case 'string':
60
- this._styleHelper.backgroundColor = new Color(value).argb;
61
- break;
62
- case 'object':
63
- this._styleHelper.backgroundColor = value.argb;
64
- break;
65
- }
66
- }
67
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
68
- // @ts-ignore
69
- get backgroundColor() {
70
- return new Color(this[style_].backgroundColor);
71
- }
72
- [backgroundColorProperty.setNative](value) {
73
- if (typeof value === 'number') {
74
- this[style_].backgroundColor = value;
75
- }
76
- else if (value instanceof Color) {
77
- this[style_].backgroundColor = value.argb;
78
- }
79
- }
80
- [textWrapProperty.setNative](value) {
81
- switch (value) {
82
- case 'false':
83
- case false:
84
- case 'nowrap':
85
- this._styleHelper.textWrap = 1 /* MasonTextWrap.NoWrap */;
86
- break;
87
- case true:
88
- case 'true':
89
- case 'wrap':
90
- this._styleHelper.textWrap = 0 /* MasonTextWrap.Wrap */;
91
- break;
92
- case 'balance':
93
- this._styleHelper.textWrap = 2 /* MasonTextWrap.Balance */;
94
- break;
95
- }
96
- }
97
36
  onLayout(left, top, right, bottom) {
98
37
  super.onLayout(left, top, right, bottom);
99
38
  // todo
@@ -1 +1 @@
1
- {"version":3,"file":"index.ios.js","sourceRoot":"","sources":["../../../../packages/nativescript-masonkit/button/index.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAY,MAAM,oBAAoB,CAAC;AACnH,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,EAAS,UAAU,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAClI,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGhC,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,UAAU;IAIpC;QACE,KAAK,EAAE,CAAC;QAHV,aAAQ,GAAG,KAAK,CAAC;QAIf,IAAI,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;QACrB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI,CAAU,CAAC;QAC3D,IAAI,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;QAC1B,IAAI,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAa,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC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,CAAC,CAAC,CAAC;gBAEH,IAAI,CAAC,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;YAClC,CAAC;QACH,CAAC;IACH,CAAC;IAED,aAAa;IACN,0BAA0B,CAAC,KAAqC,EAAE,OAAO,GAAG,CAAC,CAAC;QACnF,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC;QAE9B,IAAI,UAAU,IAAI,KAAK,CAAC,mBAAmB,EAAE,CAAC;YAC5C,KAAK,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;YAE3B,MAAM,KAAK,GAAG,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;YACtE,UAAU,CAAC,SAAS,CAAC,KAAK,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC;YACvD,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAED,+BAA+B,CAAC,IAAc;QAC5C,IAAI,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC;QAC3B,KAAK,CAAC,+BAA+B,CAAC,IAAI,CAAC,CAAC;IAC9C,CAAC;IAED,mBAAmB,CAAC,UAAe,EAAE,KAAa;QAChD,UAAU,CAAC,KAAK,GAAG,KAAK,CAAC;IAC3B,CAAC;CACF,CAAA;AAxKY,MAAM;IADlB,OAAO,CAAC,QAAQ,CAAC;;GACL,MAAM,CAwKlB"}
package/common.d.ts CHANGED
@@ -1,77 +1,62 @@
1
- import { AddChildFromBuilder, CssProperty, CustomLayoutView, ShorthandProperty, Style, View as NSView, ViewBase as NSViewBase, Property, CoreTypes } from '@nativescript/core';
2
- import { AlignContent, AlignSelf, Display, Gap, GridAutoFlow, Length, LengthAuto, Overflow, Position, AlignItems, BoxSizing, VerticalAlign } from '.';
3
- export declare const native_: unique symbol;
4
- export declare const style_: unique symbol;
5
- export declare const isTextChild_: unique symbol;
6
- export declare const isText_: unique symbol;
7
- export declare const isMasonView_: unique symbol;
8
- export declare const text_: unique symbol;
9
- export declare const isPlaceholder_: unique symbol;
1
+ import { AddChildFromBuilder, CustomLayoutView, View as NSView, ViewBase as NSViewBase, Property, CoreTypes } from '@nativescript/core';
2
+ import { Display, Gap, GridAutoFlow, JustifyItems, JustifySelf, Length, LengthAuto, Overflow, Position, BoxSizing, VerticalAlign, FlexDirection } from '.';
3
+ import { isMasonView_, isTextChild_, isText_ } from './symbols';
10
4
  export interface MasonChild extends ViewBase {
11
5
  }
12
- export declare const scrollBarWidthProperty: CssProperty<Style, number>;
13
- export declare const overflowProperty: ShorthandProperty<Style, Overflow>;
14
- export declare const overflowXProperty: CssProperty<Style, Overflow>;
15
- export declare const overflowYProperty: CssProperty<Style, Overflow>;
16
- export declare const paddingLeftProperty: CssProperty<Style, CoreTypes.LengthType>;
17
- export declare const paddingRightProperty: CssProperty<Style, CoreTypes.LengthType>;
18
- export declare const paddingTopProperty: CssProperty<Style, CoreTypes.LengthType>;
19
- export declare const paddingBottomProperty: CssProperty<Style, CoreTypes.LengthType>;
20
- export declare const rowGapProperty: CssProperty<Style, Length>;
21
- export declare const columnGapProperty: CssProperty<Style, Length>;
22
- export declare const gridGapProperty: ShorthandProperty<Style, any>;
23
- export declare const gapProperty: ShorthandProperty<Style, any>;
24
- export declare const flexShrinkProperty: CssProperty<Style, number>;
25
- export declare const displayProperty: CssProperty<Style, Display>;
26
- export declare const maxWidthProperty: CssProperty<Style, LengthAuto>;
27
- export declare const maxHeightProperty: CssProperty<Style, LengthAuto>;
28
- export declare const positionProperty: CssProperty<Style, Position>;
29
- export declare const leftProperty: CssProperty<Style, LengthAuto>;
30
- export declare const rightProperty: CssProperty<Style, LengthAuto>;
31
- export declare const topProperty: CssProperty<Style, LengthAuto>;
32
- export declare const bottomProperty: CssProperty<Style, LengthAuto>;
33
- export declare const flexBasisProperty: CssProperty<Style, LengthAuto>;
34
- export declare const gridRowGapProperty: ShorthandProperty<Style, any>;
35
- export declare const gridColumnGapProperty: ShorthandProperty<Style, Length>;
36
- export declare const aspectRatioProperty: CssProperty<Style, number>;
37
- export declare const alignItemsProperty: CssProperty<Style, AlignItems>;
38
- export declare const alignSelfProperty: CssProperty<Style, AlignSelf>;
39
- export declare const alignContentProperty: CssProperty<Style, AlignContent>;
40
- export declare const justifyItemsProperty: CssProperty<Style, AlignItems>;
41
- export declare const justifySelfProperty: CssProperty<Style, AlignSelf>;
42
- export declare const justifyContentProperty: CssProperty<Style, AlignContent>;
43
- export declare const gridAutoRowsProperty: CssProperty<Style, string>;
44
- export declare const gridAutoColumnsProperty: CssProperty<Style, string>;
45
- export declare const gridAutoFlowProperty: CssProperty<Style, GridAutoFlow>;
46
- export declare const gridAreaProperty: CssProperty<Style, string>;
47
- export declare const gridColumnStartProperty: CssProperty<Style, string>;
48
- export declare const gridColumnEndProperty: CssProperty<Style, string>;
49
- export declare const gridColumnProperty: CssProperty<Style, string>;
50
- export declare const gridRowStartProperty: CssProperty<Style, string>;
51
- export declare const gridRowEndProperty: CssProperty<Style, string>;
52
- export declare const gridRowProperty: CssProperty<Style, string>;
53
- export declare const gridTemplateAreasProperty: CssProperty<Style, string>;
54
- export declare const gridTemplateRowsProperty: CssProperty<Style, string>;
55
- export declare const gridTemplateColumnsProperty: CssProperty<Style, string>;
56
- export declare const textWrapProperty: CssProperty<Style, "nowrap" | "wrap" | "balance">;
57
- export declare const textOverFlowProperty: CssProperty<Style, string>;
58
6
  export declare const textContentProperty: Property<TextBase, string>;
59
- export declare const boxSizingProperty: CssProperty<Style, BoxSizing>;
60
- export declare const verticalAlignProperty: CssProperty<Style, VerticalAlign>;
7
+ declare module '@nativescript/core/ui/styling/style' {
8
+ interface Style {
9
+ filter: string;
10
+ border: string;
11
+ boxSizing: BoxSizing;
12
+ display: Display;
13
+ position: Position;
14
+ flexDirection: FlexDirection;
15
+ flex: string | 'auto' | 'none' | number | 'initial';
16
+ maxWidth: LengthAuto;
17
+ maxHeight: LengthAuto;
18
+ inset: LengthAuto;
19
+ left: LengthAuto;
20
+ right: LengthAuto;
21
+ top: LengthAuto;
22
+ bottom: LengthAuto;
23
+ gridGap: Gap;
24
+ gap: Gap;
25
+ rowGap: Length;
26
+ columnGap: Length;
27
+ aspectRatio: number;
28
+ flexFlow: string;
29
+ justifyItems: JustifyItems;
30
+ justifySelf: JustifySelf;
31
+ gridAutoRows: string;
32
+ gridAutoColumns: string;
33
+ gridAutoFlow: GridAutoFlow;
34
+ gridRowGap: Gap;
35
+ gridColumnGap: Gap;
36
+ gridArea: string;
37
+ gridColumn: string;
38
+ gridColumnStart: string;
39
+ gridColumnEnd: string;
40
+ gridRow: string;
41
+ gridRowStart: string;
42
+ gridRowEnd: string;
43
+ gridTemplateRows: string;
44
+ gridTemplateColumns: string;
45
+ gridTemplateAreas: string;
46
+ overflow: Overflow | `${Overflow} ${Overflow}`;
47
+ overflowX: Overflow;
48
+ overflowY: Overflow;
49
+ scrollBarWidth: Length;
50
+ verticalAlign: VerticalAlign;
51
+ textWrap: 'nowrap' | 'wrap' | 'balance';
52
+ textOverFlow: 'clip' | 'ellipsis' | `${string}`;
53
+ }
54
+ }
61
55
  export declare class ViewBase extends CustomLayoutView implements AddChildFromBuilder {
62
56
  readonly android: org.nativescript.mason.masonkit.View;
63
57
  readonly ios: MasonUIView;
64
- textWrap: 'nowrap' | 'wrap' | 'balance';
65
- overflow: Overflow | `${Overflow} ${Overflow}`;
66
58
  gridGap: Gap;
67
59
  gap: Gap;
68
- gridArea: string;
69
- gridColumn: string;
70
- gridRow: string;
71
- inset: LengthAuto;
72
- padding: Length;
73
- margin: LengthAuto;
74
- border: Length;
75
60
  _children: (NSView | {
76
61
  text?: string;
77
62
  })[];
@@ -95,11 +80,29 @@ export declare class ViewBase extends CustomLayoutView implements AddChildFromBu
95
80
  replaceChild(child: any, atIndex: number): void;
96
81
  removeChild(child: any): void;
97
82
  removeChildren(): void;
83
+ set verticalAlign(value: VerticalAlign);
84
+ get verticalAlign(): VerticalAlign;
85
+ set flex(value: string | number);
86
+ get flex(): string | number;
87
+ set textWrap(value: "nowrap" | "wrap" | "balance");
88
+ get textWrap(): "nowrap" | "wrap" | "balance";
89
+ set aspectRatio(value: number);
90
+ get aspectRatio(): number;
98
91
  set text(value: string);
92
+ get filter(): string;
93
+ set filter(value: string);
94
+ set borderRadius(value: string | number | CoreTypes.LengthDipUnit | CoreTypes.LengthPxUnit);
95
+ get borderRadius(): string | number | CoreTypes.LengthDipUnit | CoreTypes.LengthPxUnit;
96
+ set border(value: string);
97
+ get border(): string;
98
+ set background(value: string);
99
+ get background(): string;
99
100
  get boxSizing(): BoxSizing;
100
101
  set boxSizing(value: BoxSizing);
101
102
  get display(): Display;
102
103
  set display(value: Display);
104
+ get overflow(): Overflow | "visible visible" | "visible hidden" | "visible scroll" | "visible clip" | "visible auto" | "hidden visible" | "hidden hidden" | "hidden scroll" | "hidden clip" | "hidden auto" | "scroll visible" | "scroll hidden" | "scroll scroll" | "scroll clip" | "scroll auto" | "clip visible" | "clip hidden" | "clip scroll" | "clip clip" | "clip auto" | "auto visible" | "auto hidden" | "auto scroll" | "auto clip" | "auto auto";
105
+ set overflow(value: Overflow | "visible visible" | "visible hidden" | "visible scroll" | "visible clip" | "visible auto" | "hidden visible" | "hidden hidden" | "hidden scroll" | "hidden clip" | "hidden auto" | "scroll visible" | "scroll hidden" | "scroll scroll" | "scroll clip" | "scroll auto" | "clip visible" | "clip hidden" | "clip scroll" | "clip clip" | "clip auto" | "auto visible" | "auto hidden" | "auto scroll" | "auto clip" | "auto auto");
103
106
  get overflowX(): Overflow;
104
107
  set overflowX(value: Overflow);
105
108
  get overflowY(): Overflow;
@@ -108,6 +111,16 @@ export declare class ViewBase extends CustomLayoutView implements AddChildFromBu
108
111
  set scrollBarWidth(value: Length);
109
112
  get position(): Position;
110
113
  set position(value: Position);
114
+ get alignContent(): import("@nativescript/core/ui/layouts/flexbox-layout").AlignContent;
115
+ set alignContent(value: import("@nativescript/core/ui/layouts/flexbox-layout").AlignContent);
116
+ get justifyItems(): import(".").AlignItems;
117
+ set justifyItems(value: import(".").AlignItems);
118
+ get justifySelf(): import(".").AlignSelf;
119
+ set justifySelf(value: import(".").AlignSelf);
120
+ get right(): LengthAuto;
121
+ set right(value: LengthAuto);
122
+ get bottom(): LengthAuto;
123
+ set bottom(value: LengthAuto);
111
124
  set maxWidth(value: LengthAuto);
112
125
  get maxWidth(): LengthAuto;
113
126
  set maxHeight(value: LengthAuto);
@@ -121,10 +134,14 @@ export declare class ViewBase extends CustomLayoutView implements AddChildFromBu
121
134
  get gridColumnStart(): string;
122
135
  set gridColumnEnd(value: string);
123
136
  get gridColumnEnd(): string;
137
+ get gridColumn(): string;
138
+ set gridColumn(value: string);
124
139
  set gridRowStart(value: string);
125
140
  get gridRowStart(): string;
126
141
  set gridRowEnd(value: string);
127
142
  get gridRowEnd(): string;
143
+ get gridRow(): string;
144
+ set gridRow(value: string);
128
145
  set gridTemplateRows(value: string);
129
146
  get gridTemplateRows(): string;
130
147
  set gridTemplateColumns(value: string);
@@ -133,6 +150,18 @@ export declare class ViewBase extends CustomLayoutView implements AddChildFromBu
133
150
  get gridAutoColumns(): string;
134
151
  set gridAutoRows(value: string);
135
152
  get gridAutoRows(): string;
153
+ set gridAutoFlow(value: GridAutoFlow);
154
+ get gridAutoFlow(): GridAutoFlow;
155
+ set gridArea(value: string);
156
+ get gridArea(): string;
157
+ set gridTemplateAreas(value: string);
158
+ get gridTemplateAreas(): string;
159
+ set flexFlowProperty(value: string);
160
+ get flexFlowProperty(): string;
161
+ set inset(value: LengthAuto);
162
+ get inset(): LengthAuto;
163
+ set textOverFlow(value: string);
164
+ get textOverFlow(): string;
136
165
  }
137
166
  export declare class TextBase extends ViewBase {
138
167
  textContent: string;