@cregis/ui 1.0.13 → 1.0.14
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/dist/index.css +1 -1
- package/dist/index.js +1566 -1485
- package/dist/types/index.d.ts +42 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -693,6 +693,48 @@ export declare type TagSize = 'small' | 'medium' | 'large';
|
|
|
693
693
|
|
|
694
694
|
declare type TagType = 'subtle' | 'solid' | 'gray' | 'strokeSubtle' | 'strokeSolid' | 'danger' | 'warning' | 'success' | 'ready' | 'invalid' | 'apricot' | 'khaki' | 'grass' | 'sage' | 'cyan' | 'iceBlue' | 'periwinkle' | 'lilac' | 'orchid' | 'mallow' | 'rose' | 'coral' | 'mauve' | 'moss' | 'steel' | 'grape' | 'sameWhite' | 'lime';
|
|
695
695
|
|
|
696
|
+
export declare const Timeline: DefineComponent<TimelineProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TimelineProps> & Readonly<{}>, {
|
|
697
|
+
dotSize: number | string;
|
|
698
|
+
dotColor: string;
|
|
699
|
+
lineColor: string;
|
|
700
|
+
lineWidth: number | string;
|
|
701
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
702
|
+
|
|
703
|
+
export declare const TIMELINE_KEY: InjectionKey<TimelineContext>;
|
|
704
|
+
|
|
705
|
+
export declare interface TimelineContext {
|
|
706
|
+
dotSize: Ref<number | string>;
|
|
707
|
+
dotColor: Ref<string>;
|
|
708
|
+
lineColor: Ref<string>;
|
|
709
|
+
lineWidth: Ref<number | string>;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
export declare const TimelineItem: DefineComponent<TimelineItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TimelineItemProps> & Readonly<{}>, {
|
|
713
|
+
contentHoverable: boolean;
|
|
714
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
715
|
+
|
|
716
|
+
export declare interface TimelineItemProps {
|
|
717
|
+
/** 节点圆点直径,可覆盖 Timeline 默认值 */
|
|
718
|
+
dotSize?: number | string;
|
|
719
|
+
/** 节点圆点颜色,可覆盖 Timeline 默认值 */
|
|
720
|
+
dotColor?: string;
|
|
721
|
+
/** 连接线宽度,可覆盖 Timeline 默认值 */
|
|
722
|
+
lineWidth?: number | string;
|
|
723
|
+
/** content 区域是否启用 hover 背景,默认 true */
|
|
724
|
+
contentHoverable?: boolean;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
export declare interface TimelineProps {
|
|
728
|
+
/** 节点圆点直径,默认 8 */
|
|
729
|
+
dotSize?: number | string;
|
|
730
|
+
/** 节点圆点颜色,默认绿色 */
|
|
731
|
+
dotColor?: string;
|
|
732
|
+
/** 连接线颜色 */
|
|
733
|
+
lineColor?: string;
|
|
734
|
+
/** 连接线宽度,默认 2 */
|
|
735
|
+
lineWidth?: number | string;
|
|
736
|
+
}
|
|
737
|
+
|
|
696
738
|
export declare type Type = 'primary' | 'info' | 'success' | 'warning' | 'danger';
|
|
697
739
|
|
|
698
740
|
declare type Type_2 = 'default' | 'plain' | 'noBorder';
|