@farris/x-ui 0.1.3 → 0.1.5
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/farris.x-ui.esm.js +1206 -1191
- package/farris.x-ui.umd.cjs +34 -34
- package/index.css +1 -1
- package/package.json +1 -1
- package/todo/src/composition/status-icon.d.ts +14 -4
- package/todo/src/composition/type.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IconStatus } from '../../../../type';
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
/** 使用场景 */
|
|
4
|
+
type StatusIconVariant = 'todo' | 'thinking' | '';
|
|
5
|
+
/** 状态图标:
|
|
6
|
+
*
|
|
7
|
+
'NotStart' :未开始,默认绿色圆圈 任务场景下,未开始是灰色圆圈。
|
|
8
|
+
'Working' :进行中,默认绿色转圈。任务场景下,进行中是灰色圆圈。
|
|
9
|
+
'Done':已完成,默认绿色空心对号。任务场景下,完成是绿色实心对号
|
|
10
|
+
'Error ':失败,默认红色
|
|
11
|
+
*/
|
|
12
|
+
export declare function StatusIcon({ status, variant }: {
|
|
13
|
+
status: IconStatus;
|
|
14
|
+
variant?: StatusIconVariant;
|
|
6
15
|
}): import("vue/jsx-runtime").JSX.Element;
|
|
16
|
+
export {};
|