@triniwiz/nativescript-masonkit 1.0.0-alpha.14 → 1.0.0-alpha.16
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/common.d.ts +20 -10
- package/common.js +141 -26
- package/common.js.map +1 -1
- package/helpers.d.ts +4 -4
- package/index.android.d.ts +17 -1
- package/index.android.js +49 -4
- package/index.android.js.map +1 -1
- package/index.d.ts +2 -0
- package/index.ios.d.ts +17 -1
- package/index.ios.js +50 -6
- package/index.ios.js.map +1 -1
- 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 +135 -7
- 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 +7203 -1633
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +194 -13
- package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +194 -13
- 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 +2260 -1932
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +270 -14
- 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 +7203 -1633
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +194 -13
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +194 -13
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +7203 -1633
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +194 -13
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +194 -13
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +22 -22
- 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 +2260 -1932
- package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +2198 -1883
- package/style.d.ts +16 -16
- package/style.js +40 -20
- package/style.js.map +1 -1
- package/web.d.ts +55 -0
- package/web.js +189 -0
- package/web.js.map +1 -0
package/web.js
ADDED
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { CSSType } from '@nativescript/core';
|
|
2
|
+
import { View, Text } from '.';
|
|
3
|
+
let Div = class Div extends View {
|
|
4
|
+
};
|
|
5
|
+
Div = __decorate([
|
|
6
|
+
CSSType('div')
|
|
7
|
+
], Div);
|
|
8
|
+
export { Div };
|
|
9
|
+
let Section = class Section extends View {
|
|
10
|
+
};
|
|
11
|
+
Section = __decorate([
|
|
12
|
+
CSSType('section')
|
|
13
|
+
], Section);
|
|
14
|
+
export { Section };
|
|
15
|
+
let Header = class Header extends View {
|
|
16
|
+
};
|
|
17
|
+
Header = __decorate([
|
|
18
|
+
CSSType('header')
|
|
19
|
+
], Header);
|
|
20
|
+
export { Header };
|
|
21
|
+
let Footer = class Footer extends View {
|
|
22
|
+
};
|
|
23
|
+
Footer = __decorate([
|
|
24
|
+
CSSType('footer')
|
|
25
|
+
], Footer);
|
|
26
|
+
export { Footer };
|
|
27
|
+
let Article = class Article extends View {
|
|
28
|
+
};
|
|
29
|
+
Article = __decorate([
|
|
30
|
+
CSSType('article')
|
|
31
|
+
], Article);
|
|
32
|
+
export { Article };
|
|
33
|
+
let Main = class Main extends View {
|
|
34
|
+
};
|
|
35
|
+
Main = __decorate([
|
|
36
|
+
CSSType('main')
|
|
37
|
+
], Main);
|
|
38
|
+
export { Main };
|
|
39
|
+
let Nav = class Nav extends View {
|
|
40
|
+
};
|
|
41
|
+
Nav = __decorate([
|
|
42
|
+
CSSType('nav')
|
|
43
|
+
], Nav);
|
|
44
|
+
export { Nav };
|
|
45
|
+
let Aside = class Aside extends View {
|
|
46
|
+
};
|
|
47
|
+
Aside = __decorate([
|
|
48
|
+
CSSType('aside')
|
|
49
|
+
], Aside);
|
|
50
|
+
export { Aside };
|
|
51
|
+
let Span = class Span extends Text {
|
|
52
|
+
constructor() {
|
|
53
|
+
// @ts-ignore
|
|
54
|
+
super(2 /* TextType.Span */);
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
Span = __decorate([
|
|
58
|
+
CSSType('span'),
|
|
59
|
+
__metadata("design:paramtypes", [])
|
|
60
|
+
], Span);
|
|
61
|
+
export { Span };
|
|
62
|
+
let Code = class Code extends Text {
|
|
63
|
+
constructor() {
|
|
64
|
+
// @ts-ignore
|
|
65
|
+
super(3 /* TextType.Code */);
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
Code = __decorate([
|
|
69
|
+
CSSType('code'),
|
|
70
|
+
__metadata("design:paramtypes", [])
|
|
71
|
+
], Code);
|
|
72
|
+
export { Code };
|
|
73
|
+
let H1 = class H1 extends Text {
|
|
74
|
+
constructor() {
|
|
75
|
+
// @ts-ignore
|
|
76
|
+
super(4 /* TextType.H1 */);
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
H1 = __decorate([
|
|
80
|
+
CSSType('h1'),
|
|
81
|
+
__metadata("design:paramtypes", [])
|
|
82
|
+
], H1);
|
|
83
|
+
export { H1 };
|
|
84
|
+
let H2 = class H2 extends Text {
|
|
85
|
+
constructor() {
|
|
86
|
+
// @ts-ignore
|
|
87
|
+
super(5 /* TextType.H2 */);
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
H2 = __decorate([
|
|
91
|
+
CSSType('h2'),
|
|
92
|
+
__metadata("design:paramtypes", [])
|
|
93
|
+
], H2);
|
|
94
|
+
export { H2 };
|
|
95
|
+
let H3 = class H3 extends Text {
|
|
96
|
+
constructor() {
|
|
97
|
+
// @ts-ignore
|
|
98
|
+
super(6 /* TextType.H3 */);
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
H3 = __decorate([
|
|
102
|
+
CSSType('h3'),
|
|
103
|
+
__metadata("design:paramtypes", [])
|
|
104
|
+
], H3);
|
|
105
|
+
export { H3 };
|
|
106
|
+
let H4 = class H4 extends Text {
|
|
107
|
+
constructor() {
|
|
108
|
+
// @ts-ignore
|
|
109
|
+
super(7 /* TextType.H4 */);
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
H4 = __decorate([
|
|
113
|
+
CSSType('h4'),
|
|
114
|
+
__metadata("design:paramtypes", [])
|
|
115
|
+
], H4);
|
|
116
|
+
export { H4 };
|
|
117
|
+
let H5 = class H5 extends Text {
|
|
118
|
+
constructor() {
|
|
119
|
+
// @ts-ignore
|
|
120
|
+
super(8 /* TextType.H5 */);
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
H5 = __decorate([
|
|
124
|
+
CSSType('h5'),
|
|
125
|
+
__metadata("design:paramtypes", [])
|
|
126
|
+
], H5);
|
|
127
|
+
export { H5 };
|
|
128
|
+
let H6 = class H6 extends Text {
|
|
129
|
+
constructor() {
|
|
130
|
+
// @ts-ignore
|
|
131
|
+
super(9 /* TextType.H6 */);
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
H6 = __decorate([
|
|
135
|
+
CSSType('h6'),
|
|
136
|
+
__metadata("design:paramtypes", [])
|
|
137
|
+
], H6);
|
|
138
|
+
export { H6 };
|
|
139
|
+
let P = class P extends Text {
|
|
140
|
+
constructor() {
|
|
141
|
+
// @ts-ignore
|
|
142
|
+
super(1 /* TextType.P */);
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
P = __decorate([
|
|
146
|
+
CSSType('p'),
|
|
147
|
+
__metadata("design:paramtypes", [])
|
|
148
|
+
], P);
|
|
149
|
+
export { P };
|
|
150
|
+
let Ul = class Ul extends View {
|
|
151
|
+
};
|
|
152
|
+
Ul = __decorate([
|
|
153
|
+
CSSType('ul')
|
|
154
|
+
], Ul);
|
|
155
|
+
export { Ul };
|
|
156
|
+
let Li = class Li extends Text {
|
|
157
|
+
constructor() {
|
|
158
|
+
// @ts-ignore
|
|
159
|
+
super(10 /* TextType.Li */);
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
Li = __decorate([
|
|
163
|
+
CSSType('li'),
|
|
164
|
+
__metadata("design:paramtypes", [])
|
|
165
|
+
], Li);
|
|
166
|
+
export { Li };
|
|
167
|
+
let Blockquote = class Blockquote extends Text {
|
|
168
|
+
constructor() {
|
|
169
|
+
// @ts-ignore
|
|
170
|
+
super(11 /* TextType.Blockquote */);
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
Blockquote = __decorate([
|
|
174
|
+
CSSType('blockquote'),
|
|
175
|
+
__metadata("design:paramtypes", [])
|
|
176
|
+
], Blockquote);
|
|
177
|
+
export { Blockquote };
|
|
178
|
+
let B = class B extends Text {
|
|
179
|
+
constructor() {
|
|
180
|
+
// @ts-ignore
|
|
181
|
+
super(12 /* TextType.B */);
|
|
182
|
+
}
|
|
183
|
+
};
|
|
184
|
+
B = __decorate([
|
|
185
|
+
CSSType('b'),
|
|
186
|
+
__metadata("design:paramtypes", [])
|
|
187
|
+
], B);
|
|
188
|
+
export { B };
|
|
189
|
+
//# sourceMappingURL=web.js.map
|
package/web.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../../packages/nativescript-masonkit/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC;AA+BxB,IAAM,GAAG,GAAT,MAAM,GAAI,SAAQ,IAAI;CAAG,CAAA;AAAnB,GAAG;IADf,OAAO,CAAC,KAAK,CAAC;GACF,GAAG,CAAgB;;AAGzB,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,IAAI;CAAG,CAAA;AAAvB,OAAO;IADnB,OAAO,CAAC,SAAS,CAAC;GACN,OAAO,CAAgB;;AAG7B,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,IAAI;CAAG,CAAA;AAAtB,MAAM;IADlB,OAAO,CAAC,QAAQ,CAAC;GACL,MAAM,CAAgB;;AAG5B,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,IAAI;CAAG,CAAA;AAAtB,MAAM;IADlB,OAAO,CAAC,QAAQ,CAA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