@cregis/ui 1.0.21 → 1.0.23

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.
@@ -718,6 +718,9 @@ export declare const TIMELINE_KEY: InjectionKey<TimelineContext>;
718
718
  /** 节点连线颜色,固定不可自定义 */
719
719
  export declare const TIMELINE_LINE_COLOR = "var(--stroke-outline-subtle)";
720
720
 
721
+ /** 已驳回 / 已撤回节点背景色 */
722
+ export declare const TIMELINE_STATUS_DANGER_COLOR = "var(--material-danger-primary)";
723
+
721
724
  /** 已完成节点背景色 */
722
725
  export declare const TIMELINE_STATUS_FINISHED_COLOR = "var(--material-brand-primary)";
723
726
 
@@ -739,7 +742,7 @@ export declare const TimelineItem: DefineComponent<TimelineItemProps, {}, {}, {}
739
742
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
740
743
 
741
744
  export declare interface TimelineItemProps {
742
- /** 节点状态:finished 已完成 / pending 待处理 / not-started 未开始,默认 not-started */
745
+ /** 节点状态:finished 已完成 / pending 待处理 / not-started 未开始 / rejected 已驳回 / withdrawn 已撤回,默认 not-started */
743
746
  status?: TimelineItemStatus;
744
747
  /** 节点圆点直径,可覆盖 Timeline 默认值 */
745
748
  dotSize?: number | string;
@@ -751,7 +754,7 @@ export declare interface TimelineItemProps {
751
754
  contentHoverable?: boolean;
752
755
  }
753
756
 
754
- export declare type TimelineItemStatus = 'finished' | 'pending' | 'not-started';
757
+ export declare type TimelineItemStatus = 'finished' | 'pending' | 'not-started' | 'rejected' | 'withdrawn';
755
758
 
756
759
  export declare interface TimelineProps {
757
760
  /** 节点圆点直径,默认 16 */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cregis/ui",
3
3
  "private": false,
4
- "version": "1.0.21",
4
+ "version": "1.0.23",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"