@triniwiz/nativescript-masonkit 1.0.0-alpha.22 → 1.0.0-alpha.23

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 (32) hide show
  1. package/index.d.ts +76 -108
  2. package/package.json +1 -1
  3. package/platforms/android/masonkit-release.aar +0 -0
  4. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +363 -268
  5. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +67 -18
  6. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Info.plist +0 -0
  7. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Mason +0 -0
  8. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  9. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +17191 -10189
  10. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +366 -126
  11. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  12. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +366 -126
  13. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  14. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +2864 -2416
  15. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +726 -536
  16. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +67 -18
  17. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Info.plist +0 -0
  18. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Mason +0 -0
  19. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  20. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  21. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +17191 -10189
  22. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +366 -126
  23. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  24. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +366 -126
  25. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +17191 -10189
  26. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +366 -126
  27. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  28. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +366 -126
  29. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +29 -29
  30. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  31. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +2864 -2416
  32. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +2779 -2352
package/index.d.ts CHANGED
@@ -15,7 +15,7 @@ export type Display = 'none' | 'flex' | 'grid' | 'block' | 'inline' | 'inline-bl
15
15
 
16
16
  export type BoxSizing = 'border-box' | 'content-box';
17
17
 
18
- export type Overflow = 'visible' | 'hidden' | 'scroll';
18
+ export type Overflow = 'visible' | 'hidden' | 'scroll' | 'clip' | 'auto';
19
19
 
20
20
  export type FlexWrap = 'no-wrap' | 'wrap' | 'wrap-reverse';
21
21
 
@@ -39,7 +39,59 @@ export type JustifyContent = AlignContent;
39
39
 
40
40
  export type GridAutoFlow = 'row' | 'column' | 'row dense' | 'column dense' | 'dense';
41
41
 
42
- export class View extends ViewBase {
42
+ declare module '@nativescript/core/ui/styling/style' {
43
+ interface Style {
44
+ boxSizing: BoxSizing;
45
+ display: Display;
46
+ position: Position;
47
+ flexDirection: FlexDirection;
48
+ flexWrap: FlexWrap;
49
+ flex: string | 'auto' | 'none' | number | 'initial';
50
+ flexFlow: string;
51
+ minWidth: LengthAuto;
52
+ minHeight: LengthAuto;
53
+ width: LengthAuto;
54
+ height: LengthAuto;
55
+ maxWidth: LengthAuto;
56
+ maxHeight: LengthAuto;
57
+ left: LengthAuto;
58
+ right: LengthAuto;
59
+ top: LengthAuto;
60
+ bottom: LengthAuto;
61
+ gridGap: Gap;
62
+ gap: Gap;
63
+ rowGap: Length;
64
+ columnGap: Length;
65
+ aspectRatio: number;
66
+ flexBasis: LengthPercentage | string | number;
67
+ alignItems: AlignItems;
68
+ alignSelf: AlignSelf;
69
+ alignContent: AlignContent;
70
+ justifyItems: JustifyItems;
71
+ justifySelf: JustifySelf;
72
+ justifyContent: JustifyContent;
73
+ gridAutoRows: string;
74
+ gridAutoColumns: string;
75
+ gridAutoFlow: GridAutoFlow;
76
+ gridRowGap: Gap;
77
+ gridColumnGap: Gap;
78
+ gridArea: string;
79
+ gridColumn: string;
80
+ gridColumnStart: string;
81
+ gridColumnEnd: string;
82
+ gridRow: string;
83
+ gridRowStart: string;
84
+ gridRowEnd: string;
85
+ gridTemplateRows: string;
86
+ gridTemplateColumns: string;
87
+ overflow: Overflow | `${Overflow} ${Overflow}`;
88
+ overflowX: Overflow;
89
+ overflowY: Overflow;
90
+ scrollBarWidth: Length;
91
+ }
92
+ }
93
+
94
+ interface Style {
43
95
  boxSizing: BoxSizing;
44
96
  display: Display;
45
97
  position: Position;
@@ -47,20 +99,22 @@ export class View extends ViewBase {
47
99
  flexWrap: FlexWrap;
48
100
  flex: string | 'auto' | 'none' | number | 'initial';
49
101
  flexFlow: string;
102
+ minWidth: LengthAuto;
103
+ minHeight: LengthAuto;
50
104
  width: LengthAuto;
51
105
  height: LengthAuto;
52
106
  maxWidth: LengthAuto;
53
107
  maxHeight: LengthAuto;
54
- left: Length;
55
- right: Length;
56
- top: Length;
57
- bottom: Length;
108
+ left: LengthAuto;
109
+ right: LengthAuto;
110
+ top: LengthAuto;
111
+ bottom: LengthAuto;
58
112
  gridGap: Gap;
59
113
  gap: Gap;
60
114
  rowGap: Length;
61
115
  columnGap: Length;
62
116
  aspectRatio: number;
63
- flexBasis: Length;
117
+ flexBasis: LengthPercentage | string | number;
64
118
  alignItems: AlignItems;
65
119
  alignSelf: AlignSelf;
66
120
  alignContent: AlignContent;
@@ -81,13 +135,15 @@ export class View extends ViewBase {
81
135
  gridRowEnd: string;
82
136
  gridTemplateRows: string;
83
137
  gridTemplateColumns: string;
84
- overflow: Overflow;
138
+ overflow: Overflow | `${Overflow} ${Overflow}`;
85
139
  overflowX: Overflow;
86
140
  overflowY: Overflow;
87
- scrollBarWidth: number | CoreTypes.LengthType;
141
+ scrollBarWidth: Length;
88
142
  }
89
143
 
90
- export class Text extends TextBase {
144
+ interface IViewBase {
145
+ style: Style;
146
+ boxSizing: BoxSizing;
91
147
  display: Display;
92
148
  position: Position;
93
149
  flexDirection: FlexDirection;
@@ -134,104 +190,16 @@ export class Text extends TextBase {
134
190
  scrollBarWidth: number | CoreTypes.LengthType;
135
191
  }
136
192
 
137
- export class Img extends ViewBase {
138
- src: string;
139
- display: Display;
140
- position: Position;
141
- flexDirection: FlexDirection;
142
- flexWrap: FlexWrap;
143
- flex: string | 'auto' | 'none' | number | 'initial';
144
- flexFlow: string;
145
- minWidth: LengthAuto;
146
- minHeight: LengthAuto;
147
- width: LengthAuto;
148
- height: LengthAuto;
149
- maxWidth: LengthAuto;
150
- maxHeight: LengthAuto;
151
- left: Length;
152
- right: Length;
153
- top: Length;
154
- bottom: Length;
155
- gridGap: Gap;
156
- gap: Gap;
157
- rowGap: Length;
158
- columnGap: Length;
159
- aspectRatio: number;
160
- flexBasis: Length;
161
- alignItems: AlignItems;
162
- alignSelf: AlignSelf;
163
- alignContent: AlignContent;
164
- justifyItems: JustifyItems;
165
- justifySelf: JustifySelf;
166
- justifyContent: JustifyContent;
167
- gridAutoRows: string;
168
- gridAutoColumns: string;
169
- gridAutoFlow: GridAutoFlow;
170
- gridRowGap: Gap;
171
- gridColumnGap: Gap;
172
- gridArea: string;
173
- gridColumn: string;
174
- gridColumnStart: string;
175
- gridColumnEnd: string;
176
- gridRow: string;
177
- gridRowStart: string;
178
- gridRowEnd: string;
179
- gridTemplateRows: string;
180
- gridTemplateColumns: string;
181
- overflow: Overflow;
182
- overflowX: Overflow;
183
- overflowY: Overflow;
184
- scrollBarWidth: Length;
193
+ class VBase extends ViewBase implements IViewBase {
194
+ style: Style;
185
195
  }
186
196
 
187
- declare module '@nativescript/core/ui/styling/style' {
188
- interface Style {
189
- boxSizing: BoxSizing;
190
- display: Display;
191
- position: Position;
192
- flexDirection: FlexDirection;
193
- flexWrap: FlexWrap;
194
- flex: string | 'auto' | 'none' | number | 'initial';
195
- flexFlow: string;
196
- minWidth: LengthAuto;
197
- minHeight: LengthAuto;
198
- width: LengthAuto;
199
- height: LengthAuto;
200
- maxWidth: LengthAuto;
201
- maxHeight: LengthAuto;
202
- left: Length;
203
- right: Length;
204
- top: Length;
205
- bottom: Length;
206
- gridGap: Gap;
207
- gap: Gap;
208
- rowGap: Length;
209
- columnGap: Length;
210
- aspectRatio: number;
211
- flexBasis: LengthPercentage | string | number;
212
- alignItems: AlignItems;
213
- alignSelf: AlignSelf;
214
- alignContent: AlignContent;
215
- justifyItems: JustifyItems;
216
- justifySelf: JustifySelf;
217
- justifyContent: JustifyContent;
218
- gridAutoRows: string;
219
- gridAutoColumns: string;
220
- gridAutoFlow: GridAutoFlow;
221
- gridRowGap: Gap;
222
- gridColumnGap: Gap;
223
- gridArea: string;
224
- gridColumn: string;
225
- gridColumnStart: string;
226
- gridColumnEnd: string;
227
- gridRow: string;
228
- gridRowStart: string;
229
- gridRowEnd: string;
230
- gridTemplateRows: string;
231
- gridTemplateColumns: string;
232
- overflow: Overflow;
233
- overflowX: Overflow;
234
- overflowY: Overflow;
235
- scrollBarWidth: Length;
236
- }
197
+ export class View extends VBase {}
198
+
199
+ export class Text extends VBase {}
200
+
201
+ export class Img extends VBase {
202
+ src: string;
237
203
  }
204
+
205
+ export class Scroll extends VBase {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triniwiz/nativescript-masonkit",
3
- "version": "1.0.0-alpha.22",
3
+ "version": "1.0.0-alpha.23",
4
4
  "description": "Web Inspired Layout",
5
5
  "main": "index",
6
6
  "typings": "index.d.ts",