@particle-network/ui-native 0.3.0-beta.6 → 0.3.0

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.
@@ -8,7 +8,7 @@ export interface UXSpinnerProps extends SquareProps {
8
8
  color?: UXColor;
9
9
  /**
10
10
  * 动画持续时间(毫秒)
11
- * @default 500
11
+ * @default 400
12
12
  */
13
13
  duration?: number;
14
14
  }
@@ -3,7 +3,7 @@ import { useEffect, useRef, useState } from "react";
3
3
  import { useColors, useMs } from "../../hooks/index.js";
4
4
  import { Square } from "../layout/Square.js";
5
5
  import { SpinnerIcon } from "./SpinnerIcon.js";
6
- const UXSpinner = ({ size = 18, color = 'primary', duration = 500, ...restProps })=>{
6
+ const UXSpinner = ({ size = 18, color = 'primary', duration = 400, ...restProps })=>{
7
7
  const { getColor } = useColors();
8
8
  const { ms } = useMs();
9
9
  const [currentIndex, setCurrentIndex] = useState(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-network/ui-native",
3
- "version": "0.3.0-beta.6",
3
+ "version": "0.3.0",
4
4
  "main": "./entry.js",
5
5
  "react-native": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -44,8 +44,8 @@
44
44
  "react-native-paper": "^5.14.5",
45
45
  "react-native-size-matters": "^0.4.2",
46
46
  "react-native-toast-message": "^2.3.3",
47
- "@particle-network/ui-shared": "0.2.0-beta.3",
48
- "@particle-network/icons": "0.3.0-beta.6"
47
+ "@particle-network/icons": "0.3.0",
48
+ "@particle-network/ui-shared": "0.2.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@babel/core": "^7.24.0",
@@ -89,9 +89,9 @@
89
89
  "unfetch": "^4.2.0",
90
90
  "vite": "^6.3.5",
91
91
  "zustand": "^5.0.8",
92
- "@particle-network/icons": "0.3.0-beta.6",
93
92
  "@particle-network/lintstaged-config": "0.1.0",
94
- "@particle-network/eslint-config": "0.3.0"
93
+ "@particle-network/eslint-config": "0.3.0",
94
+ "@particle-network/icons": "0.3.0"
95
95
  },
96
96
  "overrides": {
97
97
  "react-docgen-typescript": "2.2.2",