uilib-native 5.0.0-snapshot.7204 → 5.0.0-snapshot.7210
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/components/HighlighterOverlayView/index.js +1 -1
- package/components/HighlighterOverlayView/index.web.d.ts +1 -1
- package/components/Keyboard/KeyboardTrackingView/KeyboardTrackingView.ios.js +1 -1
- package/package.json +15 -1
- package/specs/HighlighterViewNativeComponent.js +8 -0
- package/specs/KeyboardTrackingViewNativeComponent.js +8 -0
- package/components/HighlighterOverlayView/HighlighterViewNativeComponent.js +0 -2
- package/components/Keyboard/KeyboardTrackingView/KeyboardTrackingViewNativeComponent.js +0 -2
- /package/{components/HighlighterOverlayView → specs}/HighlighterViewNativeComponent.d.ts +0 -0
- /package/{components/Keyboard/KeyboardTrackingView → specs}/KeyboardTrackingViewNativeComponent.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { processColor, StyleSheet, Modal } from 'react-native';
|
|
3
3
|
// Import the Codegen specification for New Architecture
|
|
4
|
-
import HighlighterViewNativeComponent from "
|
|
4
|
+
import HighlighterViewNativeComponent from "../../specs/HighlighterViewNativeComponent";
|
|
5
5
|
const DefaultOverlayColor = 'rgba(0, 0, 0, 0.5)';
|
|
6
6
|
const HighlighterOverlayView = props => {
|
|
7
7
|
const {
|
|
@@ -19,7 +19,7 @@ export type HighlighterOverlayViewProps = {
|
|
|
19
19
|
onRequestClose?: () => void;
|
|
20
20
|
highlightFrame?: HighlightFrameType;
|
|
21
21
|
style?: ViewStyle;
|
|
22
|
-
highlightViewTag?: number
|
|
22
|
+
highlightViewTag?: number;
|
|
23
23
|
children?: JSX.Element[] | JSX.Element;
|
|
24
24
|
highlightViewTagParams?: HighlightViewTagParams;
|
|
25
25
|
minimumRectSize?: Pick<HighlightFrameType, 'width' | 'height'>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { PureComponent } from 'react';
|
|
2
2
|
import ReactNative, { NativeModules } from 'react-native';
|
|
3
3
|
// Import the Codegen specification for New Architecture
|
|
4
|
-
import KeyboardTrackingViewNativeComponent from "
|
|
4
|
+
import KeyboardTrackingViewNativeComponent from "../../../specs/KeyboardTrackingViewNativeComponent";
|
|
5
5
|
const KeyboardTrackingViewTempManager = NativeModules.KeyboardTrackingViewTempManager;
|
|
6
6
|
|
|
7
7
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uilib-native",
|
|
3
|
-
"version": "5.0.0-snapshot.
|
|
3
|
+
"version": "5.0.0-snapshot.7210",
|
|
4
4
|
"homepage": "https://github.com/wix/react-native-ui-lib",
|
|
5
5
|
"description": "uilib native components (separated from js components)",
|
|
6
6
|
"main": "components/index",
|
|
@@ -19,5 +19,19 @@
|
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"react": ">=17.0.1",
|
|
21
21
|
"react-native": ">=0.64.1"
|
|
22
|
+
},
|
|
23
|
+
"codegenConfig": {
|
|
24
|
+
"name": "ReactNativeUiLibSpec",
|
|
25
|
+
"type": "modules",
|
|
26
|
+
"jsSrcsDir": "specs",
|
|
27
|
+
"android": {
|
|
28
|
+
"javaPackageName": "com.wix.reactnativeuilib"
|
|
29
|
+
},
|
|
30
|
+
"ios": {
|
|
31
|
+
"componentProvider": {
|
|
32
|
+
"HighlighterView": "HighlighterView",
|
|
33
|
+
"KeyboardTrackingViewTemp": "KeyboardTrackingViewTemp"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
22
36
|
}
|
|
23
37
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// import {requireNativeComponent, type ViewProps} from 'react-native';
|
|
2
|
+
|
|
3
|
+
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
4
|
+
export default codegenNativeComponent('HighlighterView');
|
|
5
|
+
|
|
6
|
+
// const HighlighterViewNativeComponent = requireNativeComponent<NativeProps>('HighlighterView');
|
|
7
|
+
|
|
8
|
+
// export default HighlighterViewNativeComponent;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// import {requireNativeComponent, type ViewProps} from 'react-native';
|
|
2
|
+
|
|
3
|
+
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
4
|
+
export default codegenNativeComponent('KeyboardTrackingViewTemp');
|
|
5
|
+
|
|
6
|
+
// const KeyboardTrackingViewNativeComponent = requireNativeComponent<NativeProps>('KeyboardTrackingViewTemp');
|
|
7
|
+
|
|
8
|
+
// export default KeyboardTrackingViewNativeComponent;
|
|
File without changes
|
/package/{components/Keyboard/KeyboardTrackingView → specs}/KeyboardTrackingViewNativeComponent.d.ts
RENAMED
|
File without changes
|