Skip to content

Commit 3a59452

Browse files
committed
Bump version
1 parent 7f9c7f9 commit 3a59452

File tree

6 files changed

+29
-60
lines changed

6 files changed

+29
-60
lines changed

change/react-native-xaml-3f7063c2-b95c-47b6-99d5-281c8e46cbe5.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

examplenuget/App.tsx

Lines changed: 3 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -101,57 +101,10 @@ const App = () => {
101101
}}
102102
/>
103103

104-
<Button
105-
onTapped={a => {setShowState(ContentDialogState.Popup);}}
106-
content="click to open a ContentDialog" />
104+
<WinUI.ColorPicker onColorChanged={(e) => {
105+
console.log(e.nativeEvent);
106+
}} />
107107

108-
<ContentDialog
109-
showState={showState}
110-
defaultButton={ContentDialogButton.Close}
111-
title="the title"
112-
content="this is the content"
113-
closeButtonText="close"
114-
primaryButtonText="primary"
115-
secondaryButtonText="secondary"
116-
onPrimaryButtonClick={e => {
117-
alert('primary');
118-
}}
119-
onSecondaryButtonClick={e => {
120-
alert('secondary');
121-
}}
122-
onClosed={e => {
123-
setShowState(ContentDialogState.Hidden)
124-
alert(JSON.stringify(e.nativeEvent.args));
125-
}}
126-
/>
127-
128-
129-
<TextBlock
130-
text="Hello"
131-
onTapped={e => {
132-
MenuFlyout.ShowAt(menu, {point: {x: parseInt(x), y: 42}});
133-
}}
134-
ref={t => {
135-
_tbRef.current = t;
136-
}}
137-
onContextRequested={e => {
138-
const tag = findNodeHandle(_tbRef.current);
139-
140-
const { point, returnValue } = e.nativeEvent.args.TryGetPosition(tag);
141-
MenuFlyout.ShowAt(menu, { point: point });
142-
}}
143-
>
144-
<MenuFlyout
145-
ref={m => {
146-
menu.current = m;
147-
}}
148-
>
149-
<MenuFlyoutItem text="menu option" />
150-
</MenuFlyout>
151-
</TextBlock>
152-
<WinUI.ColorPicker onColorChanged={e => {
153-
alert(JSON.stringify(e.nativeEvent.args.newColor));
154-
}} />
155108
</View>
156109
</ScrollView>
157110
</SafeAreaView>

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": "Sun, 20 Feb 2022 03:58:46 GMT",
6+
"tag": "react-native-xaml_v0.0.62",
7+
"version": "0.0.62",
8+
"comments": {
9+
"patch": [
10+
{
11+
"author": "[email protected]",
12+
"package": "react-native-xaml",
13+
"comment": "Export event args types from Types.tsx as well so they can be mentioned in apps",
14+
"commit": "7f9c7f907cf4ca407f0f8a5d41f83722d736f5f4"
15+
}
16+
]
17+
}
18+
},
419
{
520
"date": "Mon, 14 Feb 2022 08:09:35 GMT",
621
"tag": "react-native-xaml_v0.0.61",

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, 14 Feb 2022 08:09:35 GMT and should not be manually modified.
3+
This log was last generated on Sun, 20 Feb 2022 03:58:46 GMT and should not be manually modified.
44

55
<!-- Start content -->
66

7+
## 0.0.62
8+
9+
Sun, 20 Feb 2022 03:58:46 GMT
10+
11+
### Patches
12+
13+
- Export event args types from Types.tsx as well so they can be mentioned in apps ([email protected])
14+
715
## 0.0.61
816

917
Mon, 14 Feb 2022 08:09:35 GMT

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.61",
4+
"version": "0.0.62",
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 61
10+
#define VERSION_BUILD 62

0 commit comments

Comments
 (0)