Skip to content

Commit 73c8d7c

Browse files
authored
Merge pull request #179 from microsoft/0126
0126
2 parents 0ef4025 + 62307f6 commit 73c8d7c

File tree

5 files changed

+32
-7
lines changed

5 files changed

+32
-7
lines changed

package/CHANGELOG.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
{
22
"name": "react-native-xaml",
33
"entries": [
4+
{
5+
"date": "Wed, 26 Jan 2022 23:21:29 GMT",
6+
"tag": "react-native-xaml_v0.0.58",
7+
"version": "0.0.58",
8+
"comments": {
9+
"patch": [
10+
{
11+
"author": "[email protected]",
12+
"package": "react-native-xaml",
13+
"comment": "format",
14+
"commit": "51d4c0b4afcae7c209904e9835741dda7d0ddb51"
15+
}
16+
]
17+
}
18+
},
419
{
520
"date": "Mon, 24 Jan 2022 21:16:18 GMT",
621
"tag": "react-native-xaml_v0.0.57",

package/CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
# Change Log - react-native-xaml
22

3-
This log was last generated on Mon, 24 Jan 2022 21:16:18 GMT and should not be manually modified.
3+
This log was last generated on Wed, 26 Jan 2022 23:21:29 GMT and should not be manually modified.
44

55
<!-- Start content -->
66

7+
## 0.0.58
8+
9+
Wed, 26 Jan 2022 23:21:29 GMT
10+
11+
### Patches
12+
13+
14+
715
## 0.0.57
816

917
Mon, 24 Jan 2022 21:16:18 GMT

package/Codegen/Program.cs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ private void DumpTypes(Version version)
156156

157157
PrintVerbose($"Parsing configuration from {ConfigFileName}");
158158

159-
foreach (var entry in Config.RootElement.GetProperty("attachedProps").EnumerateObject()) {
159+
foreach (var entry in Config.RootElement.GetProperty("attachedProps").EnumerateObject())
160+
{
160161
var propName = GetTypeNameFromJsonProperty(entry);
161162
var attachedDPs = Util.AttachedProperties.Where(p => Util.MinusPropertySuffix(Util.GetPropFullName(p)).StartsWith(propName));
162163

@@ -223,7 +224,7 @@ private void DumpTypes(Version version)
223224
var val = GetTypeNameFromJsonProperty(entry);
224225
var typeName = val.Substring(0, val.LastIndexOf('.'));
225226
var eventName = val.Substring(val.LastIndexOf('.') + 1);
226-
227+
227228
syntheticEvents.Add(new SyntheticProperty()
228229
{
229230
Name = eventName,
@@ -303,7 +304,7 @@ private void DumpTypes(Version version)
303304
events.AddRange(eventsToAdd);
304305
}
305306

306-
307+
307308

308309
foreach (var type in Util.eventArgsTypes)
309310
{
@@ -457,7 +458,8 @@ private static string GetTypeNameFromJson(JsonElement entry)
457458
if (entry.ValueKind == JsonValueKind.Object)
458459
{
459460
return entry.GetProperty("name").GetString().Replace("$xaml", XamlNames.XamlNamespace);
460-
} else
461+
}
462+
else
461463
{
462464
return entry.GetString().Replace("$xaml", XamlNames.XamlNamespace);
463465
}

package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-xaml",
33
"title": "React Native Xaml",
4-
"version": "0.0.57",
4+
"version": "0.0.58",
55
"description": "Allows using XAML directly, inside of a React Native Windows app",
66
"main": "lib/index.js",
77
"typings": "lib/index.d.ts",

package/windows/ReactNativeXaml/Codegen/Version.g.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT MODIFY MANUALLY
77
#define VERSION_MAJOR 0
88
#define VERSION_MINOR 0
99
#define VERSION_REVISION 0
10-
#define VERSION_BUILD 57
10+
#define VERSION_BUILD 58

0 commit comments

Comments
 (0)