@triniwiz/nativescript-masonkit 1.0.0-alpha.21 → 1.0.0-alpha.22
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 +15 -9
- package/package.json +1 -1
- package/platforms/android/masonkit-release.aar +0 -0
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +1665 -5234
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +1665 -5234
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +1665 -5234
- 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,15 +3,15 @@ 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
|
|
|
@@ -40,6 +40,7 @@ export type JustifyContent = AlignContent;
|
|
|
40
40
|
export type GridAutoFlow = 'row' | 'column' | 'row dense' | 'column dense' | 'dense';
|
|
41
41
|
|
|
42
42
|
export class View extends ViewBase {
|
|
43
|
+
boxSizing: BoxSizing;
|
|
43
44
|
display: Display;
|
|
44
45
|
position: Position;
|
|
45
46
|
flexDirection: FlexDirection;
|
|
@@ -141,6 +142,8 @@ export class Img extends ViewBase {
|
|
|
141
142
|
flexWrap: FlexWrap;
|
|
142
143
|
flex: string | 'auto' | 'none' | number | 'initial';
|
|
143
144
|
flexFlow: string;
|
|
145
|
+
minWidth: LengthAuto;
|
|
146
|
+
minHeight: LengthAuto;
|
|
144
147
|
width: LengthAuto;
|
|
145
148
|
height: LengthAuto;
|
|
146
149
|
maxWidth: LengthAuto;
|
|
@@ -178,21 +181,24 @@ export class Img extends ViewBase {
|
|
|
178
181
|
overflow: Overflow;
|
|
179
182
|
overflowX: Overflow;
|
|
180
183
|
overflowY: Overflow;
|
|
181
|
-
scrollBarWidth:
|
|
184
|
+
scrollBarWidth: Length;
|
|
182
185
|
}
|
|
183
186
|
|
|
184
187
|
declare module '@nativescript/core/ui/styling/style' {
|
|
185
188
|
interface Style {
|
|
189
|
+
boxSizing: BoxSizing;
|
|
186
190
|
display: Display;
|
|
187
191
|
position: Position;
|
|
188
192
|
flexDirection: FlexDirection;
|
|
189
193
|
flexWrap: FlexWrap;
|
|
190
194
|
flex: string | 'auto' | 'none' | number | 'initial';
|
|
191
195
|
flexFlow: string;
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
+
minWidth: LengthAuto;
|
|
197
|
+
minHeight: LengthAuto;
|
|
198
|
+
width: LengthAuto;
|
|
199
|
+
height: LengthAuto;
|
|
200
|
+
maxWidth: LengthAuto;
|
|
201
|
+
maxHeight: LengthAuto;
|
|
196
202
|
left: Length;
|
|
197
203
|
right: Length;
|
|
198
204
|
top: Length;
|
|
@@ -226,6 +232,6 @@ declare module '@nativescript/core/ui/styling/style' {
|
|
|
226
232
|
overflow: Overflow;
|
|
227
233
|
overflowX: Overflow;
|
|
228
234
|
overflowY: Overflow;
|
|
229
|
-
scrollBarWidth:
|
|
235
|
+
scrollBarWidth: Length;
|
|
230
236
|
}
|
|
231
237
|
}
|
package/package.json
CHANGED
|
Binary file
|