@triniwiz/nativescript-masonkit 1.0.0-alpha.21 → 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.
- package/index.d.ts +80 -106
- package/package.json +1 -1
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +363 -268
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +67 -18
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Info.plist +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +18168 -14735
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +366 -126
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +366 -126
- package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +2864 -2416
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +726 -536
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +67 -18
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Info.plist +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +18168 -14735
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +366 -126
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +366 -126
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +18168 -14735
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +366 -126
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +366 -126
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +29 -29
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +2864 -2416
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +2779 -2352
- package/common.d.ts +0 -112
- package/common.js +0 -1071
- package/common.js.map +0 -1
- package/helpers.d.ts +0 -255
- package/helpers.js +0 -1315
- package/helpers.js.map +0 -1
- package/index.android.d.ts +0 -61
- package/index.android.js +0 -224
- package/index.android.js.map +0 -1
- package/index.ios.d.ts +0 -77
- package/index.ios.js +0 -481
- package/index.ios.js.map +0 -1
- package/style.d.ts +0 -166
- package/style.js +0 -1705
- package/style.js.map +0 -1
- package/web.d.ts +0 -55
- package/web.js +0 -189
- package/web.js.map +0 -1
package/index.d.ts
CHANGED
|
@@ -3,19 +3,19 @@ import { CoreTypes } from '@nativescript/core';
|
|
|
3
3
|
import { TextBase, ViewBase } from './common';
|
|
4
4
|
import { LengthPercentage } from '@nativescript/core/css/parser';
|
|
5
5
|
|
|
6
|
-
export type Length = CoreTypes.dip | CoreTypes.LengthDipUnit | CoreTypes.LengthPxUnit | CoreTypes.LengthPercentUnit
|
|
6
|
+
export type Length = CoreTypes.dip | CoreTypes.LengthDipUnit | CoreTypes.LengthPxUnit | CoreTypes.LengthPercentUnit | `${number}px` | `${number}%` | `${number}dip`;
|
|
7
7
|
|
|
8
|
-
export type LengthAuto = CoreTypes.dip | CoreTypes.LengthDipUnit | CoreTypes.LengthPxUnit | CoreTypes.LengthPercentUnit | 'auto'
|
|
8
|
+
export type LengthAuto = CoreTypes.dip | CoreTypes.LengthDipUnit | CoreTypes.LengthPxUnit | CoreTypes.LengthPercentUnit | 'auto' | `${number}px` | `${number}%` | `${number}dip`;
|
|
9
9
|
|
|
10
10
|
export type SizeLength = { width: LengthType; height: LengthType };
|
|
11
11
|
|
|
12
12
|
export type Position = 'absolute' | 'relative';
|
|
13
13
|
|
|
14
|
-
export type Display = 'none' | 'flex' | 'grid' | 'block';
|
|
14
|
+
export type Display = 'none' | 'flex' | 'grid' | 'block' | 'inline' | 'inline-block' | 'inline-flex' | 'inline-grid';
|
|
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,74 +39,82 @@ export type JustifyContent = AlignContent;
|
|
|
39
39
|
|
|
40
40
|
export type GridAutoFlow = 'row' | 'column' | 'row dense' | 'column dense' | 'dense';
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
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
|
+
}
|
|
87
92
|
}
|
|
88
93
|
|
|
89
|
-
|
|
94
|
+
interface Style {
|
|
95
|
+
boxSizing: BoxSizing;
|
|
90
96
|
display: Display;
|
|
91
97
|
position: Position;
|
|
92
98
|
flexDirection: FlexDirection;
|
|
93
99
|
flexWrap: FlexWrap;
|
|
94
100
|
flex: string | 'auto' | 'none' | number | 'initial';
|
|
95
101
|
flexFlow: string;
|
|
102
|
+
minWidth: LengthAuto;
|
|
103
|
+
minHeight: LengthAuto;
|
|
96
104
|
width: LengthAuto;
|
|
97
105
|
height: LengthAuto;
|
|
98
106
|
maxWidth: LengthAuto;
|
|
99
107
|
maxHeight: LengthAuto;
|
|
100
|
-
left:
|
|
101
|
-
right:
|
|
102
|
-
top:
|
|
103
|
-
bottom:
|
|
108
|
+
left: LengthAuto;
|
|
109
|
+
right: LengthAuto;
|
|
110
|
+
top: LengthAuto;
|
|
111
|
+
bottom: LengthAuto;
|
|
104
112
|
gridGap: Gap;
|
|
105
113
|
gap: Gap;
|
|
106
114
|
rowGap: Length;
|
|
107
115
|
columnGap: Length;
|
|
108
116
|
aspectRatio: number;
|
|
109
|
-
flexBasis:
|
|
117
|
+
flexBasis: LengthPercentage | string | number;
|
|
110
118
|
alignItems: AlignItems;
|
|
111
119
|
alignSelf: AlignSelf;
|
|
112
120
|
alignContent: AlignContent;
|
|
@@ -127,14 +135,15 @@ export class Text extends TextBase {
|
|
|
127
135
|
gridRowEnd: string;
|
|
128
136
|
gridTemplateRows: string;
|
|
129
137
|
gridTemplateColumns: string;
|
|
130
|
-
overflow: Overflow
|
|
138
|
+
overflow: Overflow | `${Overflow} ${Overflow}`;
|
|
131
139
|
overflowX: Overflow;
|
|
132
140
|
overflowY: Overflow;
|
|
133
|
-
scrollBarWidth:
|
|
141
|
+
scrollBarWidth: Length;
|
|
134
142
|
}
|
|
135
143
|
|
|
136
|
-
|
|
137
|
-
|
|
144
|
+
interface IViewBase {
|
|
145
|
+
style: Style;
|
|
146
|
+
boxSizing: BoxSizing;
|
|
138
147
|
display: Display;
|
|
139
148
|
position: Position;
|
|
140
149
|
flexDirection: FlexDirection;
|
|
@@ -181,51 +190,16 @@ export class Img extends ViewBase {
|
|
|
181
190
|
scrollBarWidth: number | CoreTypes.LengthType;
|
|
182
191
|
}
|
|
183
192
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
maxWidth: LengthPercentage | string | number;
|
|
195
|
-
maxHeight: LengthPercentage | string | number;
|
|
196
|
-
left: Length;
|
|
197
|
-
right: Length;
|
|
198
|
-
top: Length;
|
|
199
|
-
bottom: Length;
|
|
200
|
-
gridGap: Gap;
|
|
201
|
-
gap: Gap;
|
|
202
|
-
rowGap: Length;
|
|
203
|
-
columnGap: Length;
|
|
204
|
-
aspectRatio: number;
|
|
205
|
-
flexBasis: LengthPercentage | string | number;
|
|
206
|
-
alignItems: AlignItems;
|
|
207
|
-
alignSelf: AlignSelf;
|
|
208
|
-
alignContent: AlignContent;
|
|
209
|
-
justifyItems: JustifyItems;
|
|
210
|
-
justifySelf: JustifySelf;
|
|
211
|
-
justifyContent: JustifyContent;
|
|
212
|
-
gridAutoRows: string;
|
|
213
|
-
gridAutoColumns: string;
|
|
214
|
-
gridAutoFlow: GridAutoFlow;
|
|
215
|
-
gridRowGap: Gap;
|
|
216
|
-
gridColumnGap: Gap;
|
|
217
|
-
gridArea: string;
|
|
218
|
-
gridColumn: string;
|
|
219
|
-
gridColumnStart: string;
|
|
220
|
-
gridColumnEnd: string;
|
|
221
|
-
gridRow: string;
|
|
222
|
-
gridRowStart: string;
|
|
223
|
-
gridRowEnd: string;
|
|
224
|
-
gridTemplateRows: string;
|
|
225
|
-
gridTemplateColumns: string;
|
|
226
|
-
overflow: Overflow;
|
|
227
|
-
overflowX: Overflow;
|
|
228
|
-
overflowY: Overflow;
|
|
229
|
-
scrollBarWidth: number | CoreTypes.LengthType;
|
|
230
|
-
}
|
|
193
|
+
class VBase extends ViewBase implements IViewBase {
|
|
194
|
+
style: Style;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export class View extends VBase {}
|
|
198
|
+
|
|
199
|
+
export class Text extends VBase {}
|
|
200
|
+
|
|
201
|
+
export class Img extends VBase {
|
|
202
|
+
src: string;
|
|
231
203
|
}
|
|
204
|
+
|
|
205
|
+
export class Scroll extends VBase {}
|
package/package.json
CHANGED
|
Binary file
|