@office-iss/react-native-win32 0.78.4 → 0.78.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": "Tue, 03 Jun 2025 21:28:23 GMT",
5
+ "date": "Thu, 19 Jun 2025 05:40:08 GMT",
6
+ "version": "0.78.6",
7
+ "tag": "@office-iss/react-native-win32_v0.78.6",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "30809111+acoates-ms@users.noreply.github.com",
12
+ "package": "@office-iss/react-native-win32",
13
+ "commit": "ac2372dd27d496243ea0ea5891295fc9223b94be",
14
+ "comment": "Remove usage of Animated in LogBox"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Tue, 10 Jun 2025 18:31:03 GMT",
21
+ "version": "0.78.5",
22
+ "tag": "@office-iss/react-native-win32_v0.78.5",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "tatianakapos@microsoft.com",
27
+ "package": "@office-iss/react-native-win32",
28
+ "commit": "7eb3a4e885addc9ddddfe3161d3009b32ee91fb4",
29
+ "comment": "Promote 0.78 to legacy"
30
+ }
31
+ ]
32
+ }
33
+ },
34
+ {
35
+ "date": "Tue, 03 Jun 2025 21:29:03 GMT",
6
36
  "version": "0.78.4",
7
37
  "tag": "@office-iss/react-native-win32_v0.78.4",
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 Tue, 03 Jun 2025 21:28:23 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Thu, 19 Jun 2025 05:40:08 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 0.78.4
7
+ ## 0.78.6
8
8
 
9
- Tue, 03 Jun 2025 21:28:23 GMT
9
+ Thu, 19 Jun 2025 05:40:08 GMT
10
10
 
11
11
  ### Patches
12
12
 
13
- - Integrate 0.78.2 (30809111+acoates-ms@users.noreply.github.com)
13
+ - Remove usage of Animated in LogBox (30809111+acoates-ms@users.noreply.github.com)
14
14
 
15
+ ## 0.78.5
16
+
17
+ Tue, 10 Jun 2025 18:31:03 GMT
18
+
19
+ ### Patches
20
+
21
+ - Promote 0.78 to legacy (tatianakapos@microsoft.com)
22
+
23
+ ## 0.78.4
24
+
25
+ Tue, 03 Jun 2025 21:29:03 GMT
26
+
27
+ ### Patches
28
+
29
+ - Integrate 0.78.2 (30809111+acoates-ms@users.noreply.github.com)
30
+
15
31
  ## 0.78.3
16
32
 
17
33
  Mon, 02 Jun 2025 15:26:16 GMT
@@ -0,0 +1,140 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ * @flow strict-local
8
+ * @format
9
+ */
10
+
11
+ import type {PressEvent} from '../../Types/CoreEventTypes';
12
+
13
+ // import Animated from '../../Animated/Animated'; [Win32]
14
+ // import Easing from '../../Animated/Easing'; [Win32]
15
+ import StyleSheet from '../../StyleSheet/StyleSheet';
16
+ import Text from '../../Text/Text';
17
+ import LogBoxButton from './LogBoxButton';
18
+ import * as LogBoxStyle from './LogBoxStyle';
19
+ import * as React from 'react';
20
+
21
+ type Props = $ReadOnly<{|
22
+ onPress?: ?(event: PressEvent) => void,
23
+ status: 'COMPLETE' | 'FAILED' | 'NONE' | 'PENDING',
24
+ |}>;
25
+
26
+ function LogBoxInspectorSourceMapStatus(props: Props): React.Node {
27
+ // [Win32] Dont use Animated
28
+ /*
29
+ const [state, setState] = React.useState({
30
+ animation: null,
31
+ rotate: null,
32
+ });
33
+
34
+ React.useEffect(() => {
35
+ if (props.status === 'PENDING') {
36
+ if (state.animation == null) {
37
+ const animated = new Animated.Value(0);
38
+ const animation = Animated.loop(
39
+ Animated.timing(animated, {
40
+ duration: 2000,
41
+ easing: Easing.linear,
42
+ toValue: 1,
43
+ useNativeDriver: true,
44
+ }),
45
+ );
46
+ // $FlowFixMe[incompatible-call]
47
+ setState({
48
+ animation,
49
+ rotate: animated.interpolate({
50
+ inputRange: [0, 1],
51
+ outputRange: ['0deg', '360deg'],
52
+ }),
53
+ });
54
+ animation.start();
55
+ }
56
+ } else {
57
+ if (state.animation != null) {
58
+ state.animation.stop();
59
+ setState({
60
+ animation: null,
61
+ rotate: null,
62
+ });
63
+ }
64
+ }
65
+
66
+ return () => {
67
+ if (state.animation != null) {
68
+ state.animation.stop();
69
+ }
70
+ };
71
+ }, [props.status, state.animation]);
72
+
73
+ let image;
74
+ */
75
+ let color;
76
+ switch (props.status) {
77
+ case 'FAILED':
78
+ //image = require('./LogBoxImages/alert-triangle.png'); // [win32] Dont use LogBox images
79
+ color = LogBoxStyle.getErrorColor(1);
80
+ break;
81
+ case 'PENDING':
82
+ // image = require('./LogBoxImages/loader.png'); // [win32] Dont use LogBox images
83
+ color = LogBoxStyle.getWarningColor(1);
84
+ break;
85
+ default: // [Win32]
86
+ return null; // [Win32]
87
+ }
88
+
89
+ if (props.status === 'COMPLETE' /* [Win32] || image == null */) {
90
+ return null;
91
+ }
92
+
93
+ return (
94
+ <LogBoxButton
95
+ backgroundColor={{
96
+ default: 'transparent',
97
+ pressed: LogBoxStyle.getBackgroundColor(1),
98
+ }}
99
+ hitSlop={{bottom: 8, left: 8, right: 8, top: 8}}
100
+ onPress={props.onPress}
101
+ style={styles.root}>
102
+ {/* [Win32] Avoid Animated usage
103
+ <Animated.Image
104
+ source={image}
105
+ style={[
106
+ styles.image,
107
+ {tintColor: color},
108
+ state.rotate == null || props.status !== 'PENDING'
109
+ ? null
110
+ : {transform: [{rotate: state.rotate}]},
111
+ ]}
112
+ />
113
+ */}
114
+ <Text style={[styles.text, {color}]}>Source Map</Text>
115
+ </LogBoxButton>
116
+ );
117
+ }
118
+
119
+ const styles = StyleSheet.create({
120
+ root: {
121
+ alignItems: 'center',
122
+ borderRadius: 12,
123
+ flexDirection: 'row',
124
+ height: 24,
125
+ paddingHorizontal: 8,
126
+ },
127
+ image: {
128
+ height: 14,
129
+ width: 16,
130
+ marginEnd: 4,
131
+ tintColor: LogBoxStyle.getTextColor(0.4),
132
+ },
133
+ text: {
134
+ fontSize: 12,
135
+ includeFontPadding: false,
136
+ lineHeight: 16,
137
+ },
138
+ });
139
+
140
+ export default LogBoxInspectorSourceMapStatus;
package/overrides.json CHANGED
@@ -313,6 +313,12 @@
313
313
  "baseFile": "packages/react-native/Libraries/LogBox/UI/LogBoxInspectorReactFrames.js",
314
314
  "baseHash": "3a765d2180cca25ed35172ebce8294fc569486aa"
315
315
  },
316
+ {
317
+ "type": "derived",
318
+ "file": "src-win/Libraries/LogBox/UI/LogBoxInspectorSourceMapStatus.win32.js",
319
+ "baseFile": "packages/react-native/Libraries/LogBox/UI/LogBoxInspectorSourceMapStatus.js",
320
+ "baseHash": "a54e016381421c1154d4f667f553400704a6e793"
321
+ },
316
322
  {
317
323
  "type": "derived",
318
324
  "file": "src-win/Libraries/LogBox/UI/LogBoxInspectorStackFrame.win32.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@office-iss/react-native-win32",
3
- "version": "0.78.4",
3
+ "version": "0.78.6",
4
4
  "description": "Implementation of react native on top of Office's Win32 platform.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -98,7 +98,7 @@
98
98
  "react-native": "^0.78.0"
99
99
  },
100
100
  "beachball": {
101
- "defaultNpmTag": "latest",
101
+ "defaultNpmTag": "v0.78-stable",
102
102
  "disallowedChangeTypes": [
103
103
  "major",
104
104
  "minor",