not-react-native-macos 0.83.0-rc.0 → 0.83.0-rc.1

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.
@@ -26,10 +26,10 @@
26
26
  * ```
27
27
  */
28
28
  export default class ReactNativeVersion {
29
- static major: number = 0;
30
- static minor: number = 83;
29
+ static major: number = 1000;
30
+ static minor: number = 0;
31
31
  static patch: number = 0;
32
- static prerelease: string | null = 'rc.0';
32
+ static prerelease: string | null = null;
33
33
 
34
34
  static getVersionString(): string {
35
35
  return `${this.major}.${this.minor}.${this.patch}${this.prerelease != null ? `-${this.prerelease}` : ''}`;
@@ -10,10 +10,10 @@
10
10
 
11
11
  'use strict';
12
12
 
13
- import VirtualizedLists from '@react-native-macos/virtualized-lists'; // [macOS]
13
+ import VirtualizedLists from '@not-react-native-macos/virtualized-lists'; // [macOS]
14
14
 
15
15
  type FillRateHelperType = typeof VirtualizedLists.FillRateHelper;
16
16
  const FillRateHelper: FillRateHelperType = VirtualizedLists.FillRateHelper;
17
17
 
18
- export type {FillRateInfo} from '@react-native-macos/virtualized-lists'; // [macOS]
18
+ export type {FillRateInfo} from '@not-react-native-macos/virtualized-lists'; // [macOS]
19
19
  export default FillRateHelper;
@@ -13,7 +13,7 @@ import type {
13
13
  ViewToken,
14
14
  VirtualizedListProps,
15
15
  ViewabilityConfig,
16
- } from '@react-native-macos/virtualized-lists'; // [macOS]
16
+ } from '@not-react-native-macos/virtualized-lists'; // [macOS]
17
17
  import type {ScrollViewComponent} from '../Components/ScrollView/ScrollView';
18
18
  import type {StyleProp} from '../StyleSheet/StyleSheet';
19
19
  import type {ViewStyle} from '../StyleSheet/StyleSheetTypes';
@@ -16,12 +16,12 @@ import type {
16
16
  ListViewToken,
17
17
  ViewabilityConfigCallbackPair,
18
18
  VirtualizedListProps,
19
- } from '@react-native-macos/virtualized-lists'; // [macOS]
19
+ } from '@not-react-native-macos/virtualized-lists'; // [macOS]
20
20
 
21
21
  import * as ReactNativeFeatureFlags from '../../src/private/featureflags/ReactNativeFeatureFlags';
22
22
  import {type ScrollResponderType} from '../Components/ScrollView/ScrollView';
23
23
  import View from '../Components/View/View';
24
- import VirtualizedLists from '@react-native-macos/virtualized-lists'; // [macOS]
24
+ import VirtualizedLists from '@not-react-native-macos/virtualized-lists'; // [macOS]
25
25
  import memoizeOne from 'memoize-one';
26
26
  import * as React from 'react';
27
27
 
@@ -11,7 +11,7 @@ import type * as React from 'react';
11
11
  import type {
12
12
  ListRenderItemInfo,
13
13
  VirtualizedListWithoutRenderItemProps,
14
- } from '@react-native-macos/virtualized-lists'; // [macOS]
14
+ } from '@not-react-native-macos/virtualized-lists'; // [macOS]
15
15
  import type {
16
16
  ScrollView,
17
17
  ScrollViewProps,
@@ -17,10 +17,10 @@ import type {
17
17
  SectionBase as _SectionBase,
18
18
  SectionData,
19
19
  VirtualizedSectionListProps,
20
- } from '@react-native-macos/virtualized-lists'; // [macOS]
20
+ } from '@not-react-native-macos/virtualized-lists'; // [macOS]
21
21
 
22
22
  import Platform from '../Utilities/Platform';
23
- import VirtualizedLists from '@react-native-macos/virtualized-lists'; // [macOS]
23
+ import VirtualizedLists from '@not-react-native-macos/virtualized-lists'; // [macOS]
24
24
  import * as React from 'react';
25
25
 
26
26
  const VirtualizedSectionList = VirtualizedLists.VirtualizedSectionList;
@@ -16,10 +16,10 @@ import type {
16
16
  SectionBase as _SectionBase,
17
17
  SectionData,
18
18
  VirtualizedSectionListProps,
19
- } from '@react-native-macos/virtualized-lists'; // [macOS]
19
+ } from '@not-react-native-macos/virtualized-lists'; // [macOS]
20
20
 
21
21
  import Platform from '../Utilities/Platform';
22
- import VirtualizedLists from '@react-native-macos/virtualized-lists'; // [macOS]
22
+ import VirtualizedLists from '@not-react-native-macos/virtualized-lists'; // [macOS]
23
23
  import * as React from 'react';
24
24
  import {useImperativeHandle, useRef} from 'react';
25
25
 
@@ -14,9 +14,9 @@ export type {
14
14
  ListViewToken as ViewToken,
15
15
  ViewabilityConfig,
16
16
  ViewabilityConfigCallbackPair,
17
- } from '@react-native-macos/virtualized-lists'; // [macOS]
17
+ } from '@not-react-native-macos/virtualized-lists'; // [macOS]
18
18
 
19
- import VirtualizedLists from '@react-native-macos/virtualized-lists'; // [macOS]
19
+ import VirtualizedLists from '@not-react-native-macos/virtualized-lists'; // [macOS]
20
20
 
21
21
  type ViewabilityHelperType = typeof VirtualizedLists.ViewabilityHelper;
22
22
  const ViewabilityHelper: ViewabilityHelperType =
@@ -10,7 +10,7 @@
10
10
 
11
11
  'use strict';
12
12
 
13
- import VirtualizedLists from '@react-native-macos/virtualized-lists'; // [macOS]
13
+ import VirtualizedLists from '@not-react-native-macos/virtualized-lists'; // [macOS]
14
14
 
15
15
  type KeyExtractorType = typeof VirtualizedLists.keyExtractor;
16
16
  export const keyExtractor: KeyExtractorType = VirtualizedLists.keyExtractor;
@@ -10,7 +10,7 @@
10
10
 
11
11
  'use strict';
12
12
 
13
- import VirtualizedLists from '@react-native-macos/virtualized-lists'; // [macOS]
13
+ import VirtualizedLists from '@not-react-native-macos/virtualized-lists'; // [macOS]
14
14
 
15
15
  type VirtualizedListType = typeof VirtualizedLists.VirtualizedList;
16
16
  const VirtualizedListComponent: VirtualizedListType =
@@ -22,5 +22,5 @@ export type {
22
22
  ListViewToken,
23
23
  Separators,
24
24
  VirtualizedListProps,
25
- } from '@react-native-macos/virtualized-lists'; // [macOS]
25
+ } from '@not-react-native-macos/virtualized-lists'; // [macOS]
26
26
  export default VirtualizedListComponent;
@@ -10,7 +10,7 @@
10
10
 
11
11
  'use strict';
12
12
 
13
- import VirtualizedLists from '@react-native-macos/virtualized-lists'; // [macOS]
13
+ import VirtualizedLists from '@not-react-native-macos/virtualized-lists'; // [macOS]
14
14
 
15
15
  type VirtualizedListContextResetterType =
16
16
  typeof VirtualizedLists.VirtualizedListContextResetter;
@@ -10,7 +10,7 @@
10
10
 
11
11
  'use strict';
12
12
 
13
- import VirtualizedLists from '@react-native-macos/virtualized-lists'; // [macOS]
13
+ import VirtualizedLists from '@not-react-native-macos/virtualized-lists'; // [macOS]
14
14
 
15
15
  type VirtualizedSectionListType =
16
16
  typeof VirtualizedLists.VirtualizedSectionList;
@@ -21,5 +21,5 @@ export type {
21
21
  SectionBase,
22
22
  ScrollToLocationParamsType,
23
23
  VirtualizedSectionListProps,
24
- } from '@react-native-macos/virtualized-lists'; // [macOS]
24
+ } from '@not-react-native-macos/virtualized-lists'; // [macOS]
25
25
  export default VirtualizedSectionList;
@@ -18,7 +18,7 @@ import {type ColorValue} from '../StyleSheet/StyleSheet';
18
18
  import {type EventSubscription} from '../vendor/emitter/EventEmitter';
19
19
  import NativeModalManager from './NativeModalManager';
20
20
  import RCTModalHostView from './RCTModalHostViewNativeComponent';
21
- import VirtualizedLists from '@react-native-macos/virtualized-lists'; // [macOS]
21
+ import VirtualizedLists from '@not-react-native-macos/virtualized-lists'; // [macOS]
22
22
  import * as React from 'react';
23
23
 
24
24
  const ScrollView = require('../Components/ScrollView/ScrollView').default;
@@ -21,7 +21,7 @@ const TextInput = require('../Components/TextInput/TextInput').default;
21
21
  const View = require('../Components/View/View').default;
22
22
  const Text = require('../Text/Text').default;
23
23
  const {VirtualizedList} =
24
- require('@react-native-macos/virtualized-lists').default; // [macOS]
24
+ require('@not-react-native-macos/virtualized-lists').default; // [macOS]
25
25
 
26
26
  export type ReactTestInstance = ReactTestRendererType['root'];
27
27
  export type Predicate = (node: ReactTestInstance) => boolean;
@@ -21,10 +21,10 @@ NSDictionary* RCTGetReactNativeVersion(void)
21
21
  static dispatch_once_t onceToken;
22
22
  dispatch_once(&onceToken, ^(void){
23
23
  __rnVersion = @{
24
- RCTVersionMajor: @(0),
25
- RCTVersionMinor: @(83),
24
+ RCTVersionMajor: @(1000),
25
+ RCTVersionMinor: @(0),
26
26
  RCTVersionPatch: @(0),
27
- RCTVersionPrerelease: @"rc.0",
27
+ RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
30
30
  return __rnVersion;
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.83.0-rc.0
1
+ VERSION_NAME=1000.0.0
2
2
  react.internal.publishingGroup=com.facebook.react
3
3
  react.internal.hermesPublishingGroup=com.facebook.hermes
4
4
 
@@ -1,20 +1,15 @@
1
1
  /**
2
2
  * Copyright (c) Meta Platforms, Inc. and affiliates.
3
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.
4
+ * This source code is licensed under the MIT license found in the LICENSE file in the root
5
+ * directory of this source tree.
6
6
  *
7
7
  * @generated by scripts/releases/set-version.js
8
8
  */
9
-
10
9
  package com.facebook.react.modules.systeminfo
11
10
 
12
11
  public object ReactNativeVersion {
13
12
  @JvmField
14
- public val VERSION: Map<String, Any?> = mapOf(
15
- "major" to 0,
16
- "minor" to 83,
17
- "patch" to 0,
18
- "prerelease" to "rc.0"
19
- )
13
+ public val VERSION: Map<String, Any?> =
14
+ mapOf("major" to 1000, "minor" to 0, "patch" to 0, "prerelease" to null)
20
15
  }
@@ -12,17 +12,17 @@
12
12
  #include <cstdint>
13
13
  #include <string_view>
14
14
 
15
- #define REACT_NATIVE_VERSION_MAJOR 0
16
- #define REACT_NATIVE_VERSION_MINOR 83
15
+ #define REACT_NATIVE_VERSION_MAJOR 1000
16
+ #define REACT_NATIVE_VERSION_MINOR 0
17
17
  #define REACT_NATIVE_VERSION_PATCH 0
18
18
 
19
19
  namespace facebook::react {
20
20
 
21
21
  constexpr struct {
22
- int32_t Major = 0;
23
- int32_t Minor = 83;
22
+ int32_t Major = 1000;
23
+ int32_t Minor = 0;
24
24
  int32_t Patch = 0;
25
- std::string_view Prerelease = "rc.0";
25
+ std::string_view Prerelease = "";
26
26
  } ReactNativeVersion;
27
27
 
28
28
  } // namespace facebook::react
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "not-react-native-macos",
3
- "version": "0.83.0-rc.0",
3
+ "version": "0.83.0-rc.1",
4
4
  "description": "React Native for macOS",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+https://github.com/microsoft/not-react-native-macos.git",
8
+ "url": "git+https://github.com/gabrieldonadel/not-react-native-macos.git",
9
9
  "directory": "packages/react-native"
10
10
  },
11
11
  "homepage": "https://reactnative.dev/",
@@ -162,13 +162,13 @@
162
162
  },
163
163
  "dependencies": {
164
164
  "@jest/create-cache-key-function": "^29.7.0",
165
- "@not-react-native-macos/virtualized-lists": "0.83.0-rc.0",
166
- "@react-native/assets-registry": "0.83.0-main",
167
- "@react-native/codegen": "0.83.0-main",
168
- "@react-native/community-cli-plugin": "0.83.0-main",
169
- "@react-native/gradle-plugin": "0.83.0-main",
170
- "@react-native/js-polyfills": "0.83.0-main",
171
- "@react-native/normalize-colors": "0.83.0-main",
165
+ "@not-react-native-macos/virtualized-lists": "0.83.0-rc.1",
166
+ "@react-native/assets-registry": "0.83.0",
167
+ "@react-native/codegen": "0.83.0",
168
+ "@react-native/community-cli-plugin": "0.83.0",
169
+ "@react-native/gradle-plugin": "0.83.0",
170
+ "@react-native/js-polyfills": "0.83.0",
171
+ "@react-native/normalize-colors": "0.83.0",
172
172
  "abort-controller": "^3.0.0",
173
173
  "anser": "^1.4.9",
174
174
  "ansi-regex": "^5.0.0",
@@ -202,7 +202,7 @@
202
202
  {
203
203
  "name": "FBReactNativeSpec",
204
204
  "type": "all",
205
- "ios": {
205
+ "macos": {
206
206
  "modules": {
207
207
  "AccessibilityManager": {
208
208
  "unstableRequiresMainQueueSetup": true
@@ -11,7 +11,7 @@
11
11
  'use strict';
12
12
 
13
13
  import type XMLHttpRequest from '../../../../../Libraries/Network/XMLHttpRequest';
14
- import type {ListRenderItemInfo} from '@react-native-macos/virtualized-lists'; // [macOS]
14
+ import type {ListRenderItemInfo} from '@not-react-native-macos/virtualized-lists'; // [macOS]
15
15
 
16
16
  import ScrollView from '../../../../../Libraries/Components/ScrollView/ScrollView';
17
17
  import * as React from 'react';
package/types/index.d.ts CHANGED
@@ -117,7 +117,7 @@ export * from '../Libraries/LayoutAnimation/LayoutAnimation';
117
117
  export * from '../Libraries/Linking/Linking';
118
118
  export * from '../Libraries/Lists/FlatList';
119
119
  export * from '../Libraries/Lists/SectionList';
120
- export * from '@react-native-macos/virtualized-lists'; // [macOS]
120
+ export * from '@not-react-native-macos/virtualized-lists'; // [macOS]
121
121
  export * from '../Libraries/LogBox/LogBox';
122
122
  export * from '../Libraries/Modal/Modal';
123
123
  export * as Systrace from '../Libraries/Performance/Systrace';