Skip to content

Commit

Permalink
safe-area发布npm:4.7.4-0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ding-chengjie committed Apr 11, 2024
1 parent 0b09f82 commit 4af3265
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
Binary file modified harmony/safe_area.har
Binary file not shown.
4 changes: 2 additions & 2 deletions harmony/safe_area/oh-package.json5
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"name": "@react-native-oh-tpl/react-native-safe-area-context",
"description": "Please describe the basic information.",
"main": "index.ets",
"version": "4.7.4-0.1.6",
"version": "4.7.4-0.1.1",
"dependencies": {
"rnoh": "file:../rnoh"
"@rnoh/react-native-openharmony": "file:../rnoh"
}
}
2 changes: 1 addition & 1 deletion harmony/safe_area/src/main/ets/SafeAreaProvider.ets
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import {
ViewDescriptorWrapperBase,
RNViewManager,
ViewBaseDescriptor
} from 'rnoh'
} from '@rnoh/react-native-openharmony'

import { SafeAreaViewTurboModule } from "./SafeViewTurboModule"
import { Event, Tag } from './common/SafeAreaType';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* SOFTWARE.
*/

import { TransformMatrix } from 'rnoh';
import { TransformMatrix } from '@rnoh/react-native-openharmony';
import { SafeAreaProviderDescriptorWrapper } from './SafeAreaProvider';
import matrix4 from '@ohos.matrix4';

Expand Down
2 changes: 1 addition & 1 deletion harmony/safe_area/src/main/ets/SafeAreaView.ets
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import {
CompactValue,
Edges,
Point
} from 'rnoh'
} from '@rnoh/react-native-openharmony'

import { SafeAreaViewModifier } from './SafeAreaViewModifier'
import { SafeAreaViewTurboModule } from "./SafeViewTurboModule"
Expand Down
2 changes: 1 addition & 1 deletion harmony/safe_area/src/main/ets/SafeAreaViewModifier.ets
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* SOFTWARE.
*/

import { TransformMatrix } from 'rnoh'
import { TransformMatrix } from '@rnoh/react-native-openharmony'
import { SafeAreaViewDescriptorWrapper } from './SafeAreaView'
import matrix4 from '@ohos.matrix4'

Expand Down
4 changes: 2 additions & 2 deletions harmony/safe_area/src/main/ets/SafeAreaViewPackage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
* SOFTWARE.
*/

import { RNPackage, TurboModulesFactory } from 'rnoh/ts';
import type { TurboModule, TurboModuleContext } from 'rnoh/ts';
import { RNPackage, TurboModulesFactory } from '@rnoh/react-native-openharmony/ts';
import type { TurboModule, TurboModuleContext } from '@rnoh/react-native-openharmony/ts';
import { SafeAreaViewTurboModule } from './SafeViewTurboModule';

class SafeAreaTurboModulesFactory extends TurboModulesFactory {
Expand Down
4 changes: 2 additions & 2 deletions harmony/safe_area/src/main/ets/SafeViewTurboModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@


import window from '@ohos.window';
import { TurboModule } from 'rnoh/ts';
import type { TurboModuleContext } from 'rnoh/ts';
import { TurboModule } from '@rnoh/react-native-openharmony/ts';
import type { TurboModuleContext } from '@rnoh/react-native-openharmony/ts';
import type { EdgeInsets, Frame, Event } from './common/SafeAreaType';

const TAG: string = '[RNOH]SafeAreaViewTurboModule'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-oh-tpl/react-native-safe-area-context",
"version": "4.7.4-0.1.6",
"version": "4.7.4-0.1.1",
"description": "A flexible way to handle safe area, also works on Android and web.",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
Expand Down

0 comments on commit 4af3265

Please sign in to comment.