@office-iss/react-native-win32 0.72.0-preview.3 → 0.72.0-preview.4

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,22 @@
2
2
  "name": "@office-iss/react-native-win32",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 15 May 2023 15:17:55 GMT",
5
+ "date": "Mon, 22 May 2023 15:15:47 GMT",
6
+ "tag": "@office-iss/react-native-win32_v0.72.0-preview.4",
7
+ "version": "0.72.0-preview.4",
8
+ "comments": {
9
+ "prerelease": [
10
+ {
11
+ "author": "34109996+chiaramooney@users.noreply.github.com",
12
+ "package": "@office-iss/react-native-win32",
13
+ "commit": "1fe020c840d9e24856d7efabe16e21878f5a5b73",
14
+ "comment": "Merge rc3:"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Mon, 15 May 2023 15:18:30 GMT",
6
21
  "tag": "@office-iss/react-native-win32_v0.72.0-preview.3",
7
22
  "version": "0.72.0-preview.3",
8
23
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,17 +1,25 @@
1
1
  # Change Log - @office-iss/react-native-win32
2
2
 
3
- This log was last generated on Mon, 15 May 2023 15:17:55 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 22 May 2023 15:15:47 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 0.72.0-preview.3
7
+ ## 0.72.0-preview.4
8
8
 
9
- Mon, 15 May 2023 15:17:55 GMT
9
+ Mon, 22 May 2023 15:15:47 GMT
10
10
 
11
11
  ### Changes
12
12
 
13
- - Export additional TS types for back compat (30809111+acoates-ms@users.noreply.github.com)
13
+ - Merge rc3: (34109996+chiaramooney@users.noreply.github.com)
14
14
 
15
+ ## 0.72.0-preview.3
16
+
17
+ Mon, 15 May 2023 15:18:30 GMT
18
+
19
+ ### Changes
20
+
21
+ - Export additional TS types for back compat (30809111+acoates-ms@users.noreply.github.com)
22
+
15
23
  ## 0.72.0-preview.2
16
24
 
17
25
  Thu, 04 May 2023 20:58:53 GMT
@@ -46,13 +46,6 @@ const ReactNativeStyleAttributes: {[string]: AnyAttributeType, ...} = {
46
46
  flexWrap: true,
47
47
  gap: true,
48
48
  height: true,
49
- inset: true,
50
- insetBlock: true,
51
- insetBlockEnd: true,
52
- insetBlockStart: true,
53
- insetInline: true,
54
- insetInlineEnd: true,
55
- insetInlineStart: true,
56
49
  justifyContent: true,
57
50
  left: true,
58
51
  margin: true,
@@ -13,5 +13,5 @@ exports.version = {
13
13
  major: 0,
14
14
  minor: 72,
15
15
  patch: 0,
16
- prerelease: 'rc.1',
16
+ prerelease: 'rc.3',
17
17
  };
@@ -258,14 +258,6 @@ const validAttributesForNonEventProps = {
258
258
  top: true,
259
259
  bottom: true,
260
260
 
261
- inset: true,
262
- insetBlock: true,
263
- insetBlockEnd: true,
264
- insetBlockStart: true,
265
- insetInline: true,
266
- insetInlineEnd: true,
267
- insetInlineStart: true,
268
-
269
261
  position: true,
270
262
 
271
263
  style: ReactNativeStyleAttributes,
@@ -236,14 +236,6 @@ const validAttributesForNonEventProps = {
236
236
  bottom: true,
237
237
  left: true,
238
238
 
239
- inset: true,
240
- insetBlock: true,
241
- insetBlockEnd: true,
242
- insetBlockStart: true,
243
- insetInline: true,
244
- insetInlineEnd: true,
245
- insetInlineStart: true,
246
-
247
239
  width: true,
248
240
  height: true,
249
241
 
@@ -236,14 +236,6 @@ const validAttributesForNonEventProps = {
236
236
  bottom: true,
237
237
  left: true,
238
238
 
239
- inset: true,
240
- insetBlock: true,
241
- insetBlockEnd: true,
242
- insetBlockStart: true,
243
- insetInline: true,
244
- insetInlineEnd: true,
245
- insetInlineStart: true,
246
-
247
239
  width: true,
248
240
  height: true,
249
241
 
@@ -69,13 +69,6 @@ export interface FlexStyle {
69
69
  flexShrink?: number | undefined;
70
70
  flexWrap?: 'wrap' | 'nowrap' | 'wrap-reverse' | undefined;
71
71
  height?: DimensionValue | undefined;
72
- inset?: DimensionValue | undefined;
73
- insetBlock?: DimensionValue | undefined;
74
- insetBlockEnd?: DimensionValue | undefined;
75
- insetBlockStart?: DimensionValue | undefined;
76
- insetInline?: DimensionValue | undefined;
77
- insetInlineEnd?: DimensionValue | undefined;
78
- insetInlineStart?: DimensionValue | undefined;
79
72
  justifyContent?:
80
73
  | 'flex-start'
81
74
  | 'flex-end'
@@ -134,80 +134,6 @@ type ____LayoutStyle_Internal = $ReadOnly<{
134
134
  */
135
135
  top?: DimensionValue,
136
136
 
137
- /** `inset` is a shorthand that corresponds to the top, right, bottom, and/or left properties.
138
- *
139
- * It works similarly to `inset` in CSS, but in React Native you
140
- * must use points or percentages. Ems and other units are not supported.
141
- *
142
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/inset
143
- * for more details of how `inset` affects layout.
144
- */
145
- inset?: DimensionValue,
146
-
147
- /** `insetBlock` is a shorthand that corresponds to the `insetBlockStart` and `insetBlockEnd` properties.
148
- *
149
- * It works similarly to `inset-block` in CSS, but in React Native you
150
- * must use points or percentages. Ems and other units are not supported.
151
- *
152
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-block
153
- * for more details of how `inset-block` affects layout.
154
- */
155
- insetBlock?: DimensionValue,
156
-
157
- /** `insetBlockEnd` is a logical property that sets the length that an
158
- * element is offset in the block direction from its ending edge.
159
- *
160
- * It works similarly to `inset-block-end` in CSS, but in React Native you
161
- * must use points or percentages. Ems and other units are not supported.
162
- *
163
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-block-end
164
- * for more details of how `inset-block-end` affects layout.
165
- */
166
- insetBlockEnd?: DimensionValue,
167
-
168
- /** `insetBlockStart` is a logical property that sets the length that an
169
- * element is offset in the block direction from its starting edge.
170
- *
171
- * It works similarly to `inset-block-start` in CSS, but in React Native you
172
- * must use points or percentages. Ems and other units are not supported.
173
- *
174
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-block-start
175
- * for more details of how `inset-block-start` affects layout.
176
- */
177
- insetBlockStart?: DimensionValue,
178
-
179
- /** `insetInline` is a shorthand that corresponds to the `insetInlineStart` and `insetInlineEnd` properties.
180
- *
181
- * It works similarly to `inset-inline` in CSS, but in React Native you
182
- * must use points or percentages. Ems and other units are not supported.
183
- *
184
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-inline
185
- * for more details of how `inset-inline` affects layout.
186
- */
187
- insetInline?: DimensionValue,
188
-
189
- /** `insetInlineEnd` is a logical property that sets the length that an
190
- * element is offset in the starting inline direction.
191
- *
192
- * It works similarly to `inset-inline-end` in CSS, but in React Native you
193
- * must use points or percentages. Ems and other units are not supported.
194
- *
195
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-inline-end
196
- * for more details of how `inset-inline-end` affects layout.
197
- */
198
- insetInlineEnd?: DimensionValue,
199
-
200
- /** `insetInlineStart` is a logical property that sets the length that an
201
- * element is offset in the starting inline direction.
202
- *
203
- * It works similarly to `inset-inline-start` in CSS, but in React Native you
204
- * must use points or percentages. Ems and other units are not supported.
205
- *
206
- * See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-inline-start
207
- * for more details of how `inset-inline-start` affects layout.
208
- */
209
- insetInlineStart?: DimensionValue,
210
-
211
137
  /** `minWidth` is the minimum width for this component, in logical pixels.
212
138
  *
213
139
  * It works similarly to `min-width` in CSS, but in React Native you
package/overrides.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "**/__snapshots__/**",
8
8
  "src/rntypes/**"
9
9
  ],
10
- "baseVersion": "0.72.0-rc.1",
10
+ "baseVersion": "0.72.0-rc.3",
11
11
  "overrides": [
12
12
  {
13
13
  "type": "derived",
@@ -344,7 +344,7 @@
344
344
  "type": "derived",
345
345
  "file": "src/Libraries/NativeComponent/BaseViewConfig.win32.js",
346
346
  "baseFile": "packages/react-native/Libraries/NativeComponent/BaseViewConfig.ios.js",
347
- "baseHash": "3c1918ff2ab3e43b4900e9b1e8549537d273d575"
347
+ "baseHash": "daeb879969c322e67efcb9595d6bb171b9dad6d8"
348
348
  },
349
349
  {
350
350
  "type": "derived",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@office-iss/react-native-win32",
3
- "version": "0.72.0-preview.3",
3
+ "version": "0.72.0-preview.4",
4
4
  "description": "Implementation of react native on top of Office's Win32 platform.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,9 +27,9 @@
27
27
  "dependencies": {
28
28
  "@babel/runtime": "^7.0.0",
29
29
  "@jest/create-cache-key-function": "^29.2.1",
30
- "@react-native-community/cli": "11.2.0",
31
- "@react-native-community/cli-platform-android": "11.2.0",
32
- "@react-native-community/cli-platform-ios": "11.2.0",
30
+ "@react-native-community/cli": "11.2.3",
31
+ "@react-native-community/cli-platform-android": "11.2.3",
32
+ "@react-native-community/cli-platform-ios": "11.2.3",
33
33
  "@react-native/assets": "1.0.0",
34
34
  "@react-native/assets-registry": "^0.72.0",
35
35
  "@react-native/codegen": "^0.72.3",
@@ -41,15 +41,15 @@
41
41
  "anser": "^1.4.9",
42
42
  "art": "^0.10.0",
43
43
  "base64-js": "^1.1.2",
44
- "deprecated-react-native-prop-types": "^4.0.0",
44
+ "deprecated-react-native-prop-types": "^4.1.0",
45
45
  "event-target-shim": "^5.0.1",
46
46
  "flow-enums-runtime": "^0.0.5",
47
47
  "invariant": "^2.2.4",
48
48
  "jest-environment-node": "^29.2.1",
49
49
  "jsc-android": "^250231.0.0",
50
50
  "memoize-one": "^5.0.0",
51
- "metro-runtime": "0.76.2",
52
- "metro-source-map": "0.76.2",
51
+ "metro-runtime": "0.76.4",
52
+ "metro-source-map": "0.76.4",
53
53
  "mkdirp": "^0.5.1",
54
54
  "nullthrows": "^1.1.1",
55
55
  "pretty-format": "^26.5.2",
@@ -83,7 +83,7 @@
83
83
  "just-scripts": "^1.3.3",
84
84
  "prettier": "^2.4.1",
85
85
  "react": "18.2.0",
86
- "react-native": "0.72.0-rc.1",
86
+ "react-native": "0.72.0-rc.3",
87
87
  "react-native-platform-override": "^1.9.4",
88
88
  "typescript": "^4.9.5"
89
89
  },
package/types/index.d.ts CHANGED
@@ -147,6 +147,10 @@ export * from '../Libraries/Utilities/Platform';
147
147
  export * from '../Libraries/Vibration/Vibration';
148
148
  export * from '../Libraries/YellowBox/YellowBoxDeprecated';
149
149
  export * from '../Libraries/vendor/core/ErrorUtils';
150
+ export {
151
+ EmitterSubscription,
152
+ EventSubscription,
153
+ } from '../Libraries/vendor/emitter/EventEmitter';
150
154
 
151
155
  export * from './public/DeprecatedPropertiesAlias';
152
156
  export * from './public/Insets';