@unicom-cloud/ui 0.8.103 → 0.8.105
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/Spin.js +6 -3
- package/badge/Count.js +12 -12
- package/badge/index.js +35 -35
- package/divider/index.js +45 -31
- package/form/FormItem.js +1 -1
- package/marquee/index.js +90 -85
- package/package.json +1 -1
- package/spin/DotLoading.js +3 -3
- package/spin/index.js +70 -57
- package/style.css +1 -1
- package/types/pc/divider/interface.d.ts +9 -1
- package/types/pc/spin/interface.d.ts +2 -3
- package/version/index.js +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties, ReactNode } from 'react';
|
|
1
|
+
import React, { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* @title Divider
|
|
4
4
|
*/
|
|
@@ -18,4 +18,12 @@ export interface DividerProps {
|
|
|
18
18
|
* @defaultValue center
|
|
19
19
|
*/
|
|
20
20
|
orientation?: 'left' | 'right' | 'center';
|
|
21
|
+
/**
|
|
22
|
+
* @zh 边框的样式
|
|
23
|
+
*/
|
|
24
|
+
borderStyle?: React.CSSProperties['borderBottomStyle'] | React.CSSProperties['borderLeftStyle'];
|
|
25
|
+
/**
|
|
26
|
+
* @zh 边框的宽度
|
|
27
|
+
*/
|
|
28
|
+
borderWidth?: React.CSSProperties['borderBottomWidth'] | React.CSSProperties['borderLeftWidth'];
|
|
21
29
|
}
|
|
@@ -37,10 +37,9 @@ export interface SpinProps {
|
|
|
37
37
|
*/
|
|
38
38
|
delay?: number;
|
|
39
39
|
/**
|
|
40
|
-
* @zh
|
|
41
|
-
* @en Whether to use dot type animation
|
|
40
|
+
* @zh 动画的类型
|
|
42
41
|
*/
|
|
43
|
-
|
|
42
|
+
type?: 'dot' | 'infinity' | 'ring' | 'circle' | 'default';
|
|
44
43
|
/**
|
|
45
44
|
* @zh 是否为块级元素
|
|
46
45
|
* @en Whether it is a block-level element
|
package/version/index.js
CHANGED