@seakoi/native-ui 1.1.2 → 1.1.3

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/package.json +12 -4
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  本文档记录了项目的所有重要变更。
4
4
 
5
+ ## [1.1.3](https://gitlab.seakoi.net/digiziting_client/native-ui/compare/@seakoi/native-ui@1.1.2...@seakoi/native-ui@1.1.3) (2026-03-02)
6
+
7
+
8
+ ### ♻️Code Refactoring
9
+
10
+ * 将原生依赖改为可选的 peer dependencies (By [@dengrenshan](https://gitlab.seakoi.net/dengrenshan)) ([d3a6b1cd](https://gitlab.seakoi.net/digiziting_client/native-ui/commit/d3a6b1cdee2db860627680de4e2aa4031f2d60a0))
11
+
5
12
  ## [1.1.2](https://gitlab.seakoi.net/digiziting_client/native-ui/compare/@seakoi/native-ui@1.1.1...@seakoi/native-ui@1.1.2) (2026-03-02)
6
13
 
7
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seakoi/native-ui",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "type": "module",
5
5
  "keywords": [
6
6
  "ui-design",
@@ -30,15 +30,23 @@
30
30
  "dayjs": "^1.11.19",
31
31
  "deepmerge": "^4.3.1",
32
32
  "lodash-es": "^4.17.22",
33
- "lottie-react-native": "^7.3.5",
34
- "rc-field-form": "^2.7.1",
35
- "react-native-linear-gradient": "^2.8.3"
33
+ "rc-field-form": "^2.7.1"
36
34
  },
37
35
  "peerDependencies": {
36
+ "lottie-react-native": "^7.3.5",
38
37
  "react": ">=19",
39
38
  "react-native": ">=0.81",
39
+ "react-native-linear-gradient": "^2.8.3",
40
40
  "react-native-safe-area-context": "*"
41
41
  },
42
+ "peerDependenciesMeta": {
43
+ "lottie-react-native": {
44
+ "optional": true
45
+ },
46
+ "react-native-linear-gradient": {
47
+ "optional": true
48
+ }
49
+ },
42
50
  "publishConfig": {
43
51
  "access": "public",
44
52
  "registry": "https://registry.npmjs.org",