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

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": "Thu, 13 Apr 2023 20:50:06 GMT",
5
+ "date": "Wed, 10 May 2023 01:37:40 GMT",
6
+ "tag": "@office-iss/react-native-win32_v0.71.6",
7
+ "version": "0.71.6",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "30809111+acoates-ms@users.noreply.github.com",
12
+ "package": "@office-iss/react-native-win32",
13
+ "commit": "d66bc7775a5c5064379bb46ae86f9a308dc5f994",
14
+ "comment": "Export additional TS types for back compat"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Thu, 27 Apr 2023 19:11:54 GMT",
21
+ "tag": "@office-iss/react-native-win32_v0.71.5",
22
+ "version": "0.71.5",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "30809111+acoates-ms@users.noreply.github.com",
27
+ "package": "@office-iss/react-native-win32",
28
+ "commit": "e748385ceaa8d5c642fbf3cc6b008a53c088ba55",
29
+ "comment": "Fix ref's on ViewWin32 (enables ViewWin32.focus() calls to work again)"
30
+ }
31
+ ]
32
+ }
33
+ },
34
+ {
35
+ "date": "Thu, 13 Apr 2023 20:50:33 GMT",
6
36
  "tag": "@office-iss/react-native-win32_v0.71.4",
7
37
  "version": "0.71.4",
8
38
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,18 +1,34 @@
1
1
  # Change Log - @office-iss/react-native-win32
2
2
 
3
- This log was last generated on Thu, 13 Apr 2023 20:50:06 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 10 May 2023 01:37:40 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 0.71.4
7
+ ## 0.71.6
8
8
 
9
- Thu, 13 Apr 2023 20:50:06 GMT
9
+ Wed, 10 May 2023 01:37:40 GMT
10
10
 
11
11
  ### Patches
12
12
 
13
- - Update TextInput.win32 to align with core (30809111+acoates-ms@users.noreply.github.com)
14
- - Sync dependencies with react-native 0.71.6 (4123478+tido64@users.noreply.github.com)
13
+ - Export additional TS types for back compat (30809111+acoates-ms@users.noreply.github.com)
15
14
 
15
+ ## 0.71.5
16
+
17
+ Thu, 27 Apr 2023 19:11:54 GMT
18
+
19
+ ### Patches
20
+
21
+ - Fix ref's on ViewWin32 (enables ViewWin32.focus() calls to work again) (30809111+acoates-ms@users.noreply.github.com)
22
+
23
+ ## 0.71.4
24
+
25
+ Thu, 13 Apr 2023 20:50:33 GMT
26
+
27
+ ### Patches
28
+
29
+ - Update TextInput.win32 to align with core (30809111+acoates-ms@users.noreply.github.com)
30
+ - Sync dependencies with react-native 0.71.6 (4123478+tido64@users.noreply.github.com)
31
+
16
32
  ## 0.71.3
17
33
 
18
34
  Tue, 21 Mar 2023 20:58:57 GMT
@@ -14,8 +14,8 @@ import type {ViewProps} from './ViewPropTypes';
14
14
  import View from './View';
15
15
  import {findNodeHandle} from '../../ReactNative/RendererProxy';
16
16
  import UIManager from '../../ReactNative/UIManager';
17
- import useMergeRefs from '../../Utilities/useMergeRefs';
18
17
  import warnOnce from '../../Utilities/warnOnce';
18
+ import setAndForwardRef from '../../Utilities/setAndForwardRef';
19
19
 
20
20
  /**
21
21
  * Basic View component with additional Win32 specific functionality
@@ -126,9 +126,9 @@ const ViewWin32: React.AbstractComponent<
126
126
  );
127
127
 
128
128
  // $FlowFixMe
129
- const setNativeRef = useMergeRefs<typeof View | null>({
129
+ const setNativeRef = setAndForwardRef<typeof View | null>({
130
+ getForwardedRef: () => forwardedRef,
130
131
  setLocalRef,
131
- forwardedRef,
132
132
  });
133
133
 
134
134
  return (
@@ -5,9 +5,15 @@
5
5
  * need to also be added to index.win32.js
6
6
  */
7
7
 
8
+ import {IViewWin32Props as IViewWin32PropsOnly} from './Components/View/ViewPropTypes.win32';
9
+ import { AccessibilityPropsWin32 } from '@office-iss/react-native-win32/Libraries/Components/View/ViewAccessibility.win32';
10
+ export { AccessibilityPropsWin32 } from '@office-iss/react-native-win32/Libraries/Components/View/ViewAccessibility.win32';
11
+ export type IViewWin32Props = IViewWin32PropsOnly & AccessibilityPropsWin32;
8
12
  export {ViewWin32} from './Components/View/ViewWin32';
9
- export {IViewWin32Props} from './Components/View/ViewPropTypes.win32';
10
- export {TextWin32TextStyle, ITextWin32Props } from './Components/Text/TextWin32.Props';
13
+ export {IKeyboardEvent, IHandledKeyboardEvent} from './Components/View/ViewPropTypes.win32';
14
+ import {ITextWin32Props as ITextWin32PropsOnly} from './Components/Text/TextWin32.Props';
15
+ export type ITextWin32Props = ITextWin32PropsOnly & AccessibilityPropsWin32;
16
+ export {TextWin32TextStyle } from './Components/Text/TextWin32.Props';
11
17
  export {TextWin32} from './Components/Text/TextWin32';
12
18
  export {IButtonWin32Props, IButtonWin32Style} from './Components/Button/ButtonWin32.Props';
13
19
  export {ButtonWin32} from './Components/Button/ButtonWin32';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@office-iss/react-native-win32",
3
- "version": "0.71.4",
3
+ "version": "0.71.6",
4
4
  "description": "Implementation of react native on top of Office's Win32 platform.",
5
5
  "license": "MIT",
6
6
  "main": "./index.win32.js",
@@ -5,9 +5,15 @@
5
5
  * need to also be added to index.win32.js
6
6
  */
7
7
 
8
+ import {IViewWin32Props as IViewWin32PropsOnly} from './Components/View/ViewPropTypes.win32';
9
+ import { AccessibilityPropsWin32 } from '@office-iss/react-native-win32/Libraries/Components/View/ViewAccessibility.win32';
10
+ export { AccessibilityPropsWin32 } from '@office-iss/react-native-win32/Libraries/Components/View/ViewAccessibility.win32';
11
+ export type IViewWin32Props = IViewWin32PropsOnly & AccessibilityPropsWin32;
8
12
  export {ViewWin32} from './Components/View/ViewWin32';
9
- export {IViewWin32Props} from './Components/View/ViewPropTypes.win32';
10
- export {TextWin32TextStyle, ITextWin32Props } from './Components/Text/TextWin32.Props';
13
+ export {IKeyboardEvent, IHandledKeyboardEvent} from './Components/View/ViewPropTypes.win32';
14
+ import {ITextWin32Props as ITextWin32PropsOnly} from './Components/Text/TextWin32.Props';
15
+ export type ITextWin32Props = ITextWin32PropsOnly & AccessibilityPropsWin32;
16
+ export {TextWin32TextStyle } from './Components/Text/TextWin32.Props';
11
17
  export {TextWin32} from './Components/Text/TextWin32';
12
18
  export {IButtonWin32Props, IButtonWin32Style} from './Components/Button/ButtonWin32.Props';
13
19
  export {ButtonWin32} from './Components/Button/ButtonWin32';