@office-iss/react-native-win32 0.71.6 → 0.71.8

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/CHANGELOG.json CHANGED
@@ -2,7 +2,37 @@
2
2
  "name": "@office-iss/react-native-win32",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 10 May 2023 01:37:40 GMT",
5
+ "date": "Thu, 08 Jun 2023 02:10:47 GMT",
6
+ "tag": "@office-iss/react-native-win32_v0.71.8",
7
+ "version": "0.71.8",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "30809111+acoates-ms@users.noreply.github.com",
12
+ "package": "@office-iss/react-native-win32",
13
+ "commit": "4912435b600c70f161ad87f26e70a69bafb42cb8",
14
+ "comment": "Add missing eventPhase on IHandledKeyboardEvent"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Tue, 06 Jun 2023 23:29:48 GMT",
21
+ "tag": "@office-iss/react-native-win32_v0.71.7",
22
+ "version": "0.71.7",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "30809111+acoates-ms@users.noreply.github.com",
27
+ "package": "@office-iss/react-native-win32",
28
+ "commit": "6cecb24f618b6af4149f453ec89618b4ac97a146",
29
+ "comment": "Export ITouchableWin32State"
30
+ }
31
+ ]
32
+ }
33
+ },
34
+ {
35
+ "date": "Wed, 10 May 2023 01:38:11 GMT",
6
36
  "tag": "@office-iss/react-native-win32_v0.71.6",
7
37
  "version": "0.71.6",
8
38
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,17 +1,33 @@
1
1
  # Change Log - @office-iss/react-native-win32
2
2
 
3
- This log was last generated on Wed, 10 May 2023 01:37:40 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 08 Jun 2023 02:10:47 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 0.71.6
7
+ ## 0.71.8
8
8
 
9
- Wed, 10 May 2023 01:37:40 GMT
9
+ Thu, 08 Jun 2023 02:10:47 GMT
10
10
 
11
11
  ### Patches
12
12
 
13
- - Export additional TS types for back compat (30809111+acoates-ms@users.noreply.github.com)
13
+ - Add missing eventPhase on IHandledKeyboardEvent (30809111+acoates-ms@users.noreply.github.com)
14
14
 
15
+ ## 0.71.7
16
+
17
+ Tue, 06 Jun 2023 23:29:48 GMT
18
+
19
+ ### Patches
20
+
21
+ - Export ITouchableWin32State (30809111+acoates-ms@users.noreply.github.com)
22
+
23
+ ## 0.71.6
24
+
25
+ Wed, 10 May 2023 01:38:11 GMT
26
+
27
+ ### Patches
28
+
29
+ - Export additional TS types for back compat (30809111+acoates-ms@users.noreply.github.com)
30
+
15
31
  ## 0.71.5
16
32
 
17
33
  Thu, 27 Apr 2023 19:11:54 GMT
@@ -184,6 +184,13 @@ export type Cursor =
184
184
  | 'we-resize'
185
185
  | 'text';
186
186
 
187
+ export namespace EventPhase {
188
+ export const None = 0;
189
+ export const Capturing = 1;
190
+ export const AtTarget = 2;
191
+ export const Bubbling = 3;
192
+ }
193
+
187
194
  export interface INativeKeyboardEvent {
188
195
  altKey: boolean;
189
196
  ctrlKey: boolean;
@@ -203,7 +210,13 @@ type PartiallyRequired<T, Keys extends keyof T = keyof T> = Pick<
203
210
  export type IHandledKeyboardEvent = PartiallyRequired<
204
211
  INativeKeyboardEvent,
205
212
  'key'
206
- >;
213
+ > & {
214
+ eventPhase?:
215
+ | EventPhase.None
216
+ | EventPhase.Capturing
217
+ | EventPhase.AtTarget
218
+ | EventPhase.Bubbling;
219
+ };
207
220
  // Win32]
208
221
 
209
222
  export interface ViewPropsWin32 {
@@ -10,7 +10,7 @@ import { AccessibilityPropsWin32 } from '@office-iss/react-native-win32/Librarie
10
10
  export { AccessibilityPropsWin32 } from '@office-iss/react-native-win32/Libraries/Components/View/ViewAccessibility.win32';
11
11
  export type IViewWin32Props = IViewWin32PropsOnly & AccessibilityPropsWin32;
12
12
  export {ViewWin32} from './Components/View/ViewWin32';
13
- export {IKeyboardEvent, IHandledKeyboardEvent} from './Components/View/ViewPropTypes.win32';
13
+ export {IKeyboardEvent, IHandledKeyboardEvent, EventPhase} from './Components/View/ViewPropTypes.win32';
14
14
  import {ITextWin32Props as ITextWin32PropsOnly} from './Components/Text/TextWin32.Props';
15
15
  export type ITextWin32Props = ITextWin32PropsOnly & AccessibilityPropsWin32;
16
16
  export {TextWin32TextStyle } from './Components/Text/TextWin32.Props';
@@ -18,7 +18,7 @@ export {TextWin32} from './Components/Text/TextWin32';
18
18
  export {IButtonWin32Props, IButtonWin32Style} from './Components/Button/ButtonWin32.Props';
19
19
  export {ButtonWin32} from './Components/Button/ButtonWin32';
20
20
  export {GradientColorStop, GradientColorValueWin32, ColorGradientWin32} from './StyleSheet/PlatformColorValueTypesWin32';
21
- export {ITouchableWin32Props} from './Components/Touchable/TouchableWin32.Props';
21
+ export {ITouchableWin32Props, ITouchableWin32State} from './Components/Touchable/TouchableWin32.Props';
22
22
  export * from './Components/Touchable/TouchableWin32.Types';
23
23
  export * from './Components/Touchable/TouchableWin32';
24
24
  export * from './PersonaCoin/PersonaCoin';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@office-iss/react-native-win32",
3
- "version": "0.71.6",
3
+ "version": "0.71.8",
4
4
  "description": "Implementation of react native on top of Office's Win32 platform.",
5
5
  "license": "MIT",
6
6
  "main": "./index.win32.js",
@@ -184,6 +184,13 @@ export type Cursor =
184
184
  | 'we-resize'
185
185
  | 'text';
186
186
 
187
+ export namespace EventPhase {
188
+ export const None = 0;
189
+ export const Capturing = 1;
190
+ export const AtTarget = 2;
191
+ export const Bubbling = 3;
192
+ }
193
+
187
194
  export interface INativeKeyboardEvent {
188
195
  altKey: boolean;
189
196
  ctrlKey: boolean;
@@ -203,7 +210,13 @@ type PartiallyRequired<T, Keys extends keyof T = keyof T> = Pick<
203
210
  export type IHandledKeyboardEvent = PartiallyRequired<
204
211
  INativeKeyboardEvent,
205
212
  'key'
206
- >;
213
+ > & {
214
+ eventPhase?:
215
+ | EventPhase.None
216
+ | EventPhase.Capturing
217
+ | EventPhase.AtTarget
218
+ | EventPhase.Bubbling;
219
+ };
207
220
  // Win32]
208
221
 
209
222
  export interface ViewPropsWin32 {
@@ -10,7 +10,7 @@ import { AccessibilityPropsWin32 } from '@office-iss/react-native-win32/Librarie
10
10
  export { AccessibilityPropsWin32 } from '@office-iss/react-native-win32/Libraries/Components/View/ViewAccessibility.win32';
11
11
  export type IViewWin32Props = IViewWin32PropsOnly & AccessibilityPropsWin32;
12
12
  export {ViewWin32} from './Components/View/ViewWin32';
13
- export {IKeyboardEvent, IHandledKeyboardEvent} from './Components/View/ViewPropTypes.win32';
13
+ export {IKeyboardEvent, IHandledKeyboardEvent, EventPhase} from './Components/View/ViewPropTypes.win32';
14
14
  import {ITextWin32Props as ITextWin32PropsOnly} from './Components/Text/TextWin32.Props';
15
15
  export type ITextWin32Props = ITextWin32PropsOnly & AccessibilityPropsWin32;
16
16
  export {TextWin32TextStyle } from './Components/Text/TextWin32.Props';
@@ -18,7 +18,7 @@ export {TextWin32} from './Components/Text/TextWin32';
18
18
  export {IButtonWin32Props, IButtonWin32Style} from './Components/Button/ButtonWin32.Props';
19
19
  export {ButtonWin32} from './Components/Button/ButtonWin32';
20
20
  export {GradientColorStop, GradientColorValueWin32, ColorGradientWin32} from './StyleSheet/PlatformColorValueTypesWin32';
21
- export {ITouchableWin32Props} from './Components/Touchable/TouchableWin32.Props';
21
+ export {ITouchableWin32Props, ITouchableWin32State} from './Components/Touchable/TouchableWin32.Props';
22
22
  export * from './Components/Touchable/TouchableWin32.Types';
23
23
  export * from './Components/Touchable/TouchableWin32';
24
24
  export * from './PersonaCoin/PersonaCoin';