@expo-harmony/expo-linear-gradient 55.0.14-harmony.1 → 55.0.14-harmony.2

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/README.md CHANGED
@@ -4,6 +4,12 @@
4
4
 
5
5
  为 HarmonyOS 上的 React Native 应用提供 Expo LinearGradient 的原生实现,与官方同版本的 `expo-linear-gradient` 配套使用。支持多色线性渐变、自定义颜色位置和渐变起止点、圆角裁剪,以及在渐变背景上叠加子组件。
6
6
 
7
+ ## 安装
8
+
9
+ ```bash
10
+ npm install @expo-harmony/expo-linear-gradient expo-linear-gradient@55.0.14
11
+ ```
12
+
7
13
  渐变由 ArkUI Canvas 绘制,`dither` 属性在 HarmonyOS 上不生效。
8
14
 
9
15
  ## Author
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo-harmony/expo-linear-gradient",
3
- "version": "55.0.14-harmony.1",
3
+ "version": "55.0.14-harmony.2",
4
4
  "description": "HarmonyOS port of expo-linear-gradient",
5
5
  "keywords": [
6
6
  "react-native",
@@ -18,6 +18,6 @@
18
18
  "main": "Index.ets",
19
19
  "license": "MIT",
20
20
  "dependencies": {
21
- "@expo-harmony/expo-modules-core": "55.0.25-harmony.1"
21
+ "@expo-harmony/expo-modules-core": "55.0.25-harmony.2"
22
22
  }
23
23
  }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo-harmony/expo-linear-gradient",
3
- "version": "55.0.14-harmony.1",
3
+ "version": "55.0.14-harmony.2",
4
4
  "description": "HarmonyOS port of expo-linear-gradient",
5
5
  "keywords": [
6
6
  "react-native",
@@ -27,12 +27,12 @@
27
27
  "typecheck": "tsc --noEmit -p tsconfig.json"
28
28
  },
29
29
  "peerDependencies": {
30
- "@expo-harmony/expo-modules-core": "55.0.25-harmony.1",
30
+ "@expo-harmony/expo-modules-core": "55.0.25-harmony.2",
31
31
  "expo-linear-gradient": "55.0.14"
32
32
  },
33
33
  "devDependencies": {
34
- "@expo-harmony/expo-module-scripts": "55.0.0-harmony.0",
35
- "@expo-harmony/expo-modules-core": "55.0.25-harmony.1",
34
+ "@expo-harmony/expo-module-scripts": "55.0.0-harmony.2",
35
+ "@expo-harmony/expo-modules-core": "55.0.25-harmony.2",
36
36
  "@react-native-oh/react-native-harmony": "0.84.1",
37
37
  "@types/react": "19.2.2",
38
38
  "expo": "55.0.26",