@itera-web/react-ui-progress 1.23.0 → 1.28.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.
- package/es/CheckIcon.d.ts +14 -14
- package/es/Progress.d.ts +15 -15
- package/es/index.d.ts +1 -1
- package/package.json +4 -4
package/es/CheckIcon.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface CheckIconProps {
|
|
3
|
-
/** 图标大小,默认 1em,可根据需求调整 */
|
|
4
|
-
size?: number;
|
|
5
|
-
/** 背景颜色,默认绿色 */
|
|
6
|
-
bgColor?: string;
|
|
7
|
-
/** 对号颜色,默认白色 */
|
|
8
|
-
color?: string;
|
|
9
|
-
/** 是否圆形背景,默认 true */
|
|
10
|
-
rounded?: boolean;
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const CheckIcon: React.FC<CheckIconProps>;
|
|
14
|
-
export {};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface CheckIconProps {
|
|
3
|
+
/** 图标大小,默认 1em,可根据需求调整 */
|
|
4
|
+
size?: number;
|
|
5
|
+
/** 背景颜色,默认绿色 */
|
|
6
|
+
bgColor?: string;
|
|
7
|
+
/** 对号颜色,默认白色 */
|
|
8
|
+
color?: string;
|
|
9
|
+
/** 是否圆形背景,默认 true */
|
|
10
|
+
rounded?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const CheckIcon: React.FC<CheckIconProps>;
|
|
14
|
+
export {};
|
package/es/Progress.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
3
|
-
type Status = 'normal' | 'active' | 'exception' | 'success';
|
|
4
|
-
interface CustomProgressProps extends React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> {
|
|
5
|
-
value?: number;
|
|
6
|
-
status?: Status;
|
|
7
|
-
size?: number;
|
|
8
|
-
circle?: boolean;
|
|
9
|
-
strokeWidth?: number;
|
|
10
|
-
trailColor?: string;
|
|
11
|
-
gradient?: string[];
|
|
12
|
-
format?: (value: number) => React.ReactNode;
|
|
13
|
-
}
|
|
14
|
-
declare const Progress: React.ForwardRefExoticComponent<CustomProgressProps & React.RefAttributes<HTMLDivElement | SVGSVGElement>>;
|
|
15
|
-
export { Progress };
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
3
|
+
type Status = 'normal' | 'active' | 'exception' | 'success';
|
|
4
|
+
interface CustomProgressProps extends React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> {
|
|
5
|
+
value?: number;
|
|
6
|
+
status?: Status;
|
|
7
|
+
size?: number;
|
|
8
|
+
circle?: boolean;
|
|
9
|
+
strokeWidth?: number;
|
|
10
|
+
trailColor?: string;
|
|
11
|
+
gradient?: string[];
|
|
12
|
+
format?: (value: number) => React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
declare const Progress: React.ForwardRefExoticComponent<CustomProgressProps & React.RefAttributes<HTMLDivElement | SVGSVGElement>>;
|
|
15
|
+
export { Progress };
|
package/es/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Progress } from './Progress';
|
|
1
|
+
export { Progress } from './Progress';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itera-web/react-ui-progress",
|
|
3
3
|
"description": "进度条",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.28.0",
|
|
5
5
|
"main": "es/index.js",
|
|
6
6
|
"types": "es/index.d.ts",
|
|
7
7
|
"publishConfig": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"up": "npm publish"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@itera-web/utils-cn": "^1.
|
|
16
|
+
"@itera-web/utils-cn": "^1.26.0",
|
|
17
17
|
"@radix-ui/react-progress": "^1.1.3"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"react-dom": ">=17.0.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@itera-web/cli": "^1.1.
|
|
24
|
+
"@itera-web/cli": "^1.1.70"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "ed385657bd5f002b9339de322c08659ae5ce6fc1"
|
|
27
27
|
}
|