@triniwiz/nativescript-masonkit 1.0.0-beta.2 → 1.0.0-beta.20

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 (87) hide show
  1. package/button/index.android.d.ts +4 -2
  2. package/button/index.android.js +9 -4
  3. package/button/index.android.js.map +1 -1
  4. package/button/index.ios.d.ts +4 -5
  5. package/button/index.ios.js +9 -66
  6. package/button/index.ios.js.map +1 -1
  7. package/common.d.ts +101 -67
  8. package/common.js +475 -1268
  9. package/common.js.map +1 -1
  10. package/img/index.android.d.ts +5 -4
  11. package/img/index.android.js +18 -6
  12. package/img/index.android.js.map +1 -1
  13. package/img/index.ios.d.ts +3 -2
  14. package/img/index.ios.js +23 -19
  15. package/img/index.ios.js.map +1 -1
  16. package/index.android.d.ts +1 -1
  17. package/index.android.js +1 -1
  18. package/index.android.js.map +1 -1
  19. package/index.d.ts +2 -0
  20. package/index.ios.d.ts +1 -1
  21. package/index.ios.js +1 -1
  22. package/index.ios.js.map +1 -1
  23. package/package.json +3 -2
  24. package/platforms/android/masonkit-release.aar +0 -0
  25. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +77 -42
  26. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +1 -0
  27. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Mason +0 -0
  28. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  29. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +18074 -16415
  30. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +263 -183
  31. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +263 -183
  32. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  33. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +4321 -4264
  34. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +154 -84
  35. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +1 -0
  36. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Mason +0 -0
  37. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  38. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  39. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +9180 -7521
  40. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +172 -92
  41. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +172 -92
  42. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +9180 -7521
  43. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +172 -92
  44. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +172 -92
  45. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +24 -24
  46. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  47. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +4314 -4259
  48. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +4188 -4137
  49. package/properties.d.ts +49 -0
  50. package/properties.js +1147 -0
  51. package/properties.js.map +1 -0
  52. package/scroll/index.android.d.ts +3 -2
  53. package/scroll/index.android.js +9 -2
  54. package/scroll/index.android.js.map +1 -1
  55. package/scroll/index.ios.d.ts +3 -2
  56. package/scroll/index.ios.js +10 -2
  57. package/scroll/index.ios.js.map +1 -1
  58. package/style.d.ts +8 -5
  59. package/style.js +71 -22
  60. package/style.js.map +1 -1
  61. package/symbols.d.ts +8 -0
  62. package/symbols.js +9 -0
  63. package/symbols.js.map +1 -0
  64. package/text/index.android.d.ts +15 -4
  65. package/text/index.android.js +93 -73
  66. package/text/index.android.js.map +1 -1
  67. package/text/index.ios.d.ts +15 -7
  68. package/text/index.ios.js +79 -108
  69. package/text/index.ios.js.map +1 -1
  70. package/tree/index.android.d.ts +1 -0
  71. package/tree/index.android.js +4 -0
  72. package/tree/index.android.js.map +1 -1
  73. package/tree/index.ios.d.ts +1 -0
  74. package/tree/index.ios.js +4 -0
  75. package/tree/index.ios.js.map +1 -1
  76. package/utils/index.android.d.ts +2 -1
  77. package/utils/index.android.js +1 -1
  78. package/utils/index.android.js.map +1 -1
  79. package/utils/index.ios.d.ts +2 -1
  80. package/utils/index.ios.js +1 -1
  81. package/utils/index.ios.js.map +1 -1
  82. package/view/index.android.d.ts +3 -2
  83. package/view/index.android.js +11 -2
  84. package/view/index.android.js.map +1 -1
  85. package/view/index.ios.d.ts +3 -2
  86. package/view/index.ios.js +12 -5
  87. package/view/index.ios.js.map +1 -1
@@ -1,10 +1,12 @@
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;
6
- private _view;
7
+ private __view;
7
8
  constructor();
9
+ get _view(): org.nativescript.mason.masonkit.Button;
8
10
  get android(): org.nativescript.mason.masonkit.Button;
9
11
  get _styleHelper(): any;
10
12
  createNativeView(): org.nativescript.mason.masonkit.Button;
@@ -1,16 +1,21 @@
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_, native_ } from '../symbols';
5
6
  let Button = class Button extends ButtonBase {
6
7
  constructor() {
7
8
  super();
8
9
  this._inBatch = false;
9
10
  this[isText_] = true;
10
- const context = Utils.android.getCurrentActivity() || Utils.android.getApplicationContext();
11
- this._view = Tree.instance.createButtonView(context);
12
11
  this[isMasonView_] = true;
13
- this[style_] = Style.fromView(this, this._view);
12
+ }
13
+ get _view() {
14
+ if (!this[native_]) {
15
+ const context = Utils.android.getCurrentActivity() || Utils.android.getApplicationContext();
16
+ this[native_] = Tree.instance.createButtonView(context);
17
+ }
18
+ return this[native_];
14
19
  }
15
20
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
16
21
  // @ts-ignore
@@ -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,YA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AAE,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,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAG3E,IAAM,MAAM,GAAZ,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I,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;AA3DY,MAAM;IADlB,OAAO,CAAC,QAAQ,CAAC;;GACL,MAAM,CA2DlB"}
@@ -1,16 +1,15 @@
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;
7
- private _view;
8
8
  constructor();
9
+ get _view(): MasonButton;
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,16 +1,21 @@
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_, native_ } from '../symbols';
6
7
  let Button = class Button extends ButtonBase {
7
8
  constructor() {
8
9
  super();
9
10
  this._inBatch = false;
10
11
  this[isText_] = true;
11
- this._view = Tree.instance.createButtonView(null);
12
12
  this[isMasonView_] = true;
13
- this[style_] = Style.fromView(this, this._view);
13
+ }
14
+ get _view() {
15
+ if (!this[native_]) {
16
+ this[native_] = Tree.instance.createButtonView(null);
17
+ }
18
+ return this[native_];
14
19
  }
15
20
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
16
21
  // @ts-ignore
@@ -32,68 +37,6 @@ let Button = class Button extends ButtonBase {
32
37
  nativeView.textContent = value;
33
38
  }
34
39
  }
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
40
  onLayout(left, top, right, bottom) {
98
41
  super.onLayout(left, top, right, bottom);
99
42
  // 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,EAA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E,KAAK,EAAE,KAAK,CAAC,wBAAwB,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;gBAC3G,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;AA5KY,MAAM;IADlB,OAAO,CAAC,QAAQ,CAAC;;GACL,MAAM,CA4KlB"}
package/common.d.ts CHANGED
@@ -1,76 +1,60 @@
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;
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';
9
4
  export interface MasonChild extends ViewBase {
10
5
  }
11
- export declare const scrollBarWidthProperty: CssProperty<Style, number>;
12
- export declare const overflowProperty: ShorthandProperty<Style, Overflow>;
13
- export declare const overflowXProperty: CssProperty<Style, Overflow>;
14
- export declare const overflowYProperty: CssProperty<Style, Overflow>;
15
- export declare const paddingLeftProperty: CssProperty<Style, CoreTypes.LengthType>;
16
- export declare const paddingRightProperty: CssProperty<Style, CoreTypes.LengthType>;
17
- export declare const paddingTopProperty: CssProperty<Style, CoreTypes.LengthType>;
18
- export declare const paddingBottomProperty: CssProperty<Style, CoreTypes.LengthType>;
19
- export declare const rowGapProperty: CssProperty<Style, Length>;
20
- export declare const columnGapProperty: CssProperty<Style, Length>;
21
- export declare const gridGapProperty: ShorthandProperty<Style, any>;
22
- export declare const gapProperty: ShorthandProperty<Style, any>;
23
- export declare const flexShrinkProperty: CssProperty<Style, number>;
24
- export declare const displayProperty: CssProperty<Style, Display>;
25
- export declare const maxWidthProperty: CssProperty<Style, LengthAuto>;
26
- export declare const maxHeightProperty: CssProperty<Style, LengthAuto>;
27
- export declare const positionProperty: CssProperty<Style, Position>;
28
- export declare const leftProperty: CssProperty<Style, LengthAuto>;
29
- export declare const rightProperty: CssProperty<Style, LengthAuto>;
30
- export declare const topProperty: CssProperty<Style, LengthAuto>;
31
- export declare const bottomProperty: CssProperty<Style, LengthAuto>;
32
- export declare const flexBasisProperty: CssProperty<Style, LengthAuto>;
33
- export declare const gridRowGapProperty: ShorthandProperty<Style, any>;
34
- export declare const gridColumnGapProperty: ShorthandProperty<Style, Length>;
35
- export declare const aspectRatioProperty: CssProperty<Style, number>;
36
- export declare const alignItemsProperty: CssProperty<Style, AlignItems>;
37
- export declare const alignSelfProperty: CssProperty<Style, AlignSelf>;
38
- export declare const alignContentProperty: CssProperty<Style, AlignContent>;
39
- export declare const justifyItemsProperty: CssProperty<Style, AlignItems>;
40
- export declare const justifySelfProperty: CssProperty<Style, AlignSelf>;
41
- export declare const justifyContentProperty: CssProperty<Style, AlignContent>;
42
- export declare const gridAutoRowsProperty: CssProperty<Style, string>;
43
- export declare const gridAutoColumnsProperty: CssProperty<Style, string>;
44
- export declare const gridAutoFlowProperty: CssProperty<Style, GridAutoFlow>;
45
- export declare const gridAreaProperty: CssProperty<Style, string>;
46
- export declare const gridColumnStartProperty: CssProperty<Style, string>;
47
- export declare const gridColumnEndProperty: CssProperty<Style, string>;
48
- export declare const gridColumnProperty: CssProperty<Style, string>;
49
- export declare const gridRowStartProperty: CssProperty<Style, string>;
50
- export declare const gridRowEndProperty: CssProperty<Style, string>;
51
- export declare const gridRowProperty: CssProperty<Style, string>;
52
- export declare const gridTemplateAreasProperty: CssProperty<Style, string>;
53
- export declare const gridTemplateRowsProperty: CssProperty<Style, string>;
54
- export declare const gridTemplateColumnsProperty: CssProperty<Style, string>;
55
- export declare const textWrapProperty: CssProperty<Style, "nowrap" | "wrap" | "balance">;
56
- export declare const textOverFlowProperty: CssProperty<Style, string>;
57
6
  export declare const textContentProperty: Property<TextBase, string>;
58
- export declare const boxSizingProperty: CssProperty<Style, BoxSizing>;
59
- 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
+ }
60
55
  export declare class ViewBase extends CustomLayoutView implements AddChildFromBuilder {
61
56
  readonly android: org.nativescript.mason.masonkit.View;
62
57
  readonly ios: MasonUIView;
63
- textWrap: 'nowrap' | 'wrap' | 'balance';
64
- overflow: Overflow | `${Overflow} ${Overflow}`;
65
- gridGap: Gap;
66
- gap: Gap;
67
- gridArea: string;
68
- gridColumn: string;
69
- gridRow: string;
70
- inset: LengthAuto;
71
- padding: Length;
72
- margin: LengthAuto;
73
- border: Length;
74
58
  _children: (NSView | {
75
59
  text?: string;
76
60
  })[];
@@ -94,11 +78,29 @@ export declare class ViewBase extends CustomLayoutView implements AddChildFromBu
94
78
  replaceChild(child: any, atIndex: number): void;
95
79
  removeChild(child: any): void;
96
80
  removeChildren(): void;
81
+ set verticalAlign(value: VerticalAlign);
82
+ get verticalAlign(): VerticalAlign;
83
+ set flex(value: string | number);
84
+ get flex(): string | number;
85
+ set textWrap(value: "nowrap" | "wrap" | "balance");
86
+ get textWrap(): "nowrap" | "wrap" | "balance";
87
+ set aspectRatio(value: number);
88
+ get aspectRatio(): number;
97
89
  set text(value: string);
90
+ get filter(): string;
91
+ set filter(value: string);
92
+ set borderRadius(value: string | number | CoreTypes.LengthDipUnit | CoreTypes.LengthPxUnit);
93
+ get borderRadius(): string | number | CoreTypes.LengthDipUnit | CoreTypes.LengthPxUnit;
94
+ set border(value: string);
95
+ get border(): string;
96
+ set background(value: string);
97
+ get background(): string;
98
98
  get boxSizing(): BoxSizing;
99
99
  set boxSizing(value: BoxSizing);
100
100
  get display(): Display;
101
101
  set display(value: Display);
102
+ 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";
103
+ 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");
102
104
  get overflowX(): Overflow;
103
105
  set overflowX(value: Overflow);
104
106
  get overflowY(): Overflow;
@@ -107,11 +109,27 @@ export declare class ViewBase extends CustomLayoutView implements AddChildFromBu
107
109
  set scrollBarWidth(value: Length);
108
110
  get position(): Position;
109
111
  set position(value: Position);
112
+ get alignContent(): import("@nativescript/core/ui/layouts/flexbox-layout").AlignContent;
113
+ set alignContent(value: import("@nativescript/core/ui/layouts/flexbox-layout").AlignContent);
114
+ get justifyItems(): import(".").AlignItems;
115
+ set justifyItems(value: import(".").AlignItems);
116
+ get justifySelf(): import(".").AlignSelf;
117
+ set justifySelf(value: import(".").AlignSelf);
118
+ get right(): LengthAuto;
119
+ set right(value: LengthAuto);
120
+ get bottom(): LengthAuto;
121
+ set bottom(value: LengthAuto);
110
122
  set maxWidth(value: LengthAuto);
111
123
  get maxWidth(): LengthAuto;
112
124
  set maxHeight(value: LengthAuto);
113
125
  get maxHeight(): LengthAuto;
114
126
  _redrawNativeBackground(value: any): void;
127
+ get padding(): string | number | CoreTypes.LengthDipUnit | CoreTypes.LengthPxUnit;
128
+ set padding(value: string | number | CoreTypes.LengthDipUnit | CoreTypes.LengthPxUnit);
129
+ set gap(value: Length);
130
+ get gap(): Length;
131
+ set gridGap(value: Length);
132
+ get gridGap(): Length;
115
133
  set rowGap(value: Length);
116
134
  get rowGap(): Length;
117
135
  set columnGap(value: Length);
@@ -120,10 +138,14 @@ export declare class ViewBase extends CustomLayoutView implements AddChildFromBu
120
138
  get gridColumnStart(): string;
121
139
  set gridColumnEnd(value: string);
122
140
  get gridColumnEnd(): string;
141
+ get gridColumn(): string;
142
+ set gridColumn(value: string);
123
143
  set gridRowStart(value: string);
124
144
  get gridRowStart(): string;
125
145
  set gridRowEnd(value: string);
126
146
  get gridRowEnd(): string;
147
+ get gridRow(): string;
148
+ set gridRow(value: string);
127
149
  set gridTemplateRows(value: string);
128
150
  get gridTemplateRows(): string;
129
151
  set gridTemplateColumns(value: string);
@@ -132,6 +154,18 @@ export declare class ViewBase extends CustomLayoutView implements AddChildFromBu
132
154
  get gridAutoColumns(): string;
133
155
  set gridAutoRows(value: string);
134
156
  get gridAutoRows(): string;
157
+ set gridAutoFlow(value: GridAutoFlow);
158
+ get gridAutoFlow(): GridAutoFlow;
159
+ set gridArea(value: string);
160
+ get gridArea(): string;
161
+ set gridTemplateAreas(value: string);
162
+ get gridTemplateAreas(): string;
163
+ set flexFlowProperty(value: string);
164
+ get flexFlowProperty(): string;
165
+ set inset(value: LengthAuto);
166
+ get inset(): LengthAuto;
167
+ set textOverFlow(value: string);
168
+ get textOverFlow(): string;
135
169
  }
136
170
  export declare class TextBase extends ViewBase {
137
171
  textContent: string;