@unif/react-native-design 0.31.2 → 0.31.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.
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
3
  export const BORDER_BEAM_DEFAULTS = {
4
- duration: 6000,
5
- lineWidth: 1,
4
+ duration: 2400,
5
+ lineWidth: 2,
6
6
  size: 40,
7
7
  borderRadius: 12
8
8
  };
@@ -7,9 +7,9 @@ export type BorderBeamProps = {
7
7
  active?: boolean;
8
8
  /** 流光颜色,默认主题 primary。 */
9
9
  color?: string;
10
- /** 绕边一周的时长(毫秒),默认 6000。 */
10
+ /** 绕边一周的时长(毫秒),默认 2400。 */
11
11
  duration?: number;
12
- /** 描边宽度,默认 1。 */
12
+ /** 描边宽度,默认 2。 */
13
13
  lineWidth?: number;
14
14
  /** 流光段长度(布局单位),默认 40。 */
15
15
  size?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unif/react-native-design",
3
- "version": "0.31.2",
3
+ "version": "0.31.3",
4
4
  "description": "Unif 设计系统:theme + icons + utils + components",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -6,8 +6,8 @@ export type NormalizedBorderBeam = {
6
6
  };
7
7
 
8
8
  export const BORDER_BEAM_DEFAULTS: NormalizedBorderBeam = {
9
- duration: 6000,
10
- lineWidth: 1,
9
+ duration: 2400,
10
+ lineWidth: 2,
11
11
  size: 40,
12
12
  borderRadius: 12,
13
13
  };
@@ -8,9 +8,9 @@ export type BorderBeamProps = {
8
8
  active?: boolean;
9
9
  /** 流光颜色,默认主题 primary。 */
10
10
  color?: string;
11
- /** 绕边一周的时长(毫秒),默认 6000。 */
11
+ /** 绕边一周的时长(毫秒),默认 2400。 */
12
12
  duration?: number;
13
- /** 描边宽度,默认 1。 */
13
+ /** 描边宽度,默认 2。 */
14
14
  lineWidth?: number;
15
15
  /** 流光段长度(布局单位),默认 40。 */
16
16
  size?: number;