@react-native-ohos/react-native-image-crop-picker 0.50.2-rc.6 → 0.51.2-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.
- package/CHANGELOG.md +9 -0
- package/README.OpenSource +1 -1
- package/harmony/image_crop_picker/oh-package.json5 +1 -1
- package/harmony/image_crop_picker/src/main/ets/ImageCropPickerTurboModule.ts +4 -2
- package/harmony/image_crop_picker/src/main/ets/generated/turboModules/ImageCropPicker.ts +1 -1
- package/harmony/image_crop_picker.har +0 -0
- package/index.d.ts +11 -3
- package/package.json +3 -3
- package/packages/react-native-oh-react-native-harmony-cli-0.82.1.tgz +0 -0
- package/packages/react-native-oh-react-native-harmony-cli-0.77.18.tgz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
## 鸿蒙化Log
|
|
4
4
|
|
|
5
|
+
### v0.51.2-rc.1
|
|
6
|
+
|
|
7
|
+
- feat: Updated the synchronization community to version 0.51.1, and modified and added attributes of third-party library components.
|
|
8
|
+
- pre-release: @react-native-ohos/react-native-image-crop-picker@0.51.2-rc.1
|
|
9
|
+
|
|
10
|
+
### v0.50.2
|
|
11
|
+
|
|
12
|
+
- release: @react-native-ohos/react-native-image-crop-picker@0.50.2
|
|
13
|
+
|
|
5
14
|
### v0.50.2-rc.6
|
|
6
15
|
|
|
7
16
|
- pre-release: @react-native-ohos/react-native-image-crop-picker@0.50.2-rc.6
|
package/README.OpenSource
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"Name": "react-native-image-crop-picker",
|
|
4
4
|
"License": "MIT License",
|
|
5
5
|
"License File": "https://github.com/ivpusic/react-native-image-crop-picker/blob/master/LICENSE",
|
|
6
|
-
"Version Number": "0.
|
|
6
|
+
"Version Number": "0.51.1",
|
|
7
7
|
"Owner" : "xiafeng@huawei.com",
|
|
8
8
|
"Upstream URL": "https://github.com/ivpusic/react-native-image-crop-picker",
|
|
9
9
|
"Description": "Select single or multiple images, with cropping option"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Please describe the basic information.",
|
|
4
4
|
"main": "index.ets",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.51.2-rc.1",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@rnoh/react-native-openharmony": "file:../../node_modules/@react-native-oh/react-native-harmony/harmony/react_native_openharmony.har"
|
|
9
9
|
},
|
|
@@ -91,7 +91,8 @@ export type ImageOptions = CommonOptions & {
|
|
|
91
91
|
cropping?: boolean;
|
|
92
92
|
avoidEmptySpaceAroundImage?: boolean;
|
|
93
93
|
cropperActiveWidgetColor?: string;
|
|
94
|
-
|
|
94
|
+
cropperStatusBarLight?: boolean;
|
|
95
|
+
cropperNavigationBarLight?: boolean;
|
|
95
96
|
cropperToolbarColor?: string;
|
|
96
97
|
cropperToolbarWidgetColor?: string;
|
|
97
98
|
cropperToolbarTitle?: string;
|
|
@@ -133,7 +134,8 @@ export interface CommonOptions {
|
|
|
133
134
|
cropping?: boolean;
|
|
134
135
|
avoidEmptySpaceAroundImage?: boolean;
|
|
135
136
|
cropperActiveWidgetColor?: string;
|
|
136
|
-
|
|
137
|
+
cropperStatusBarLight?: boolean;
|
|
138
|
+
cropperNavigationBarLight?: boolean;
|
|
137
139
|
cropperToolbarColor?: string;
|
|
138
140
|
cropperToolbarWidgetColor?: string;
|
|
139
141
|
cropperToolbarTitle?: string;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
export namespace ImageCropPicker {
|
|
6
6
|
export const NAME = 'ImageCropPicker' as const
|
|
7
7
|
|
|
8
|
-
export type CropperOptions = {multiple?: boolean, minFiles?: number, maxFiles?: number, waitAnimationEnd?: boolean, smartAlbums?: unknown[], useFrontCamera?: boolean, loadingLabelText?: string, showsSelectedCount?: boolean, sortOrder?: string, hideBottomControls?: boolean, writeTempFile?: boolean, mediaType: string, width?: number, height?: number, includeBase64?: boolean, includeExif?: boolean, forceJpg?: boolean, cropping?: boolean, avoidEmptySpaceAroundImage?: boolean, cropperActiveWidgetColor?: string,
|
|
8
|
+
export type CropperOptions = {multiple?: boolean, minFiles?: number, maxFiles?: number, waitAnimationEnd?: boolean, smartAlbums?: unknown[], useFrontCamera?: boolean, loadingLabelText?: string, showsSelectedCount?: boolean, sortOrder?: string, hideBottomControls?: boolean, writeTempFile?: boolean, mediaType: string, width?: number, height?: number, includeBase64?: boolean, includeExif?: boolean, forceJpg?: boolean, cropping?: boolean, avoidEmptySpaceAroundImage?: boolean, cropperActiveWidgetColor?: string, cropperStatusBarLight?: boolean, cropperNavigationBarLight?: boolean, cropperToolbarColor?: string, cropperToolbarWidgetColor?: string, cropperToolbarTitle?: string, freeStyleCropEnabled?: boolean, cropperTintColor?: string, cropperCircleOverlay?: boolean, cropperCancelText?: string, cropperCancelColor?: string, cropperChooseText?: string, cropperChooseColor?: string, cropperRotateButtonHidden?: boolean, showCropGuidelines?: boolean, showCropFrame?: boolean, enableRotationGesture?: boolean, disableCropperColorSetters?: boolean, compressImageMaxWidth?: number, compressImageMaxHeight?: number, compressImageQuality?: number, path: string}
|
|
9
9
|
|
|
10
10
|
export type Exif = {}
|
|
11
11
|
|
|
Binary file
|
package/index.d.ts
CHANGED
|
@@ -222,12 +222,20 @@ declare module "react-native-image-crop-picker" {
|
|
|
222
222
|
cropperActiveWidgetColor?: string;
|
|
223
223
|
|
|
224
224
|
/**
|
|
225
|
-
* When cropping image,
|
|
225
|
+
* When cropping image, true for light status bar (dark icons), false for dark status bar (light icons).
|
|
226
226
|
*
|
|
227
227
|
* @platform Android only
|
|
228
|
-
* @default
|
|
228
|
+
* @default true
|
|
229
|
+
*/
|
|
230
|
+
cropperStatusBarLight?: boolean;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* When cropping image, true for light navigation bar (dark icons), false for dark navigation bar (light icons).
|
|
234
|
+
*
|
|
235
|
+
* @platform Android only
|
|
236
|
+
* @default false
|
|
229
237
|
*/
|
|
230
|
-
|
|
238
|
+
cropperNavigationBarLight?: boolean;
|
|
231
239
|
|
|
232
240
|
/**
|
|
233
241
|
* When cropping image, determines the color of Toolbar.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-ohos/react-native-image-crop-picker",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.51.2-rc.1",
|
|
4
4
|
"description": "Select single or multiple images, with cropping option",
|
|
5
5
|
"main": "js/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://gitcode.com/openharmony-sig/rntpc_react-native-image-crop-picker/tree/br_rnoh0.77#readme",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"react-native-image-crop-picker": "^0.
|
|
34
|
+
"react-native-image-crop-picker": "^0.51.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@react-native-oh/react-native-harmony-cli": "file:./packages/react-native-oh-react-native-harmony-cli-0.
|
|
37
|
+
"@react-native-oh/react-native-harmony-cli": "file:./packages/react-native-oh-react-native-harmony-cli-0.82.1.tgz"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"react": "*",
|
|
Binary file
|
|
Binary file
|