@cregis/ui 1.1.7 → 1.1.9

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.
@@ -35,6 +35,7 @@ declare type BooleanOrStringOrNumber = boolean | string | number;
35
35
  export declare const Button: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
36
36
  type: ButtonType;
37
37
  size: ButtonSize;
38
+ underline: boolean;
38
39
  iconType: IconButtonType;
39
40
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
40
41
 
@@ -48,6 +49,8 @@ export declare interface ButtonProps {
48
49
  loading?: boolean;
49
50
  block?: boolean;
50
51
  link?: boolean;
52
+ /** link 类型悬浮时是否显示底部虚线,默认显示 */
53
+ underline?: boolean;
51
54
  icon?: Component;
52
55
  iconType?: IconButtonType;
53
56
  iconText?: string;
@@ -78,7 +81,7 @@ export declare const Cascader: DefineComponent<CascaderProps, {}, {}, {}, {}, Co
78
81
  options: CascaderRootOption[];
79
82
  maxPopperHeight: StringOrNumber;
80
83
  offset: [number, number];
81
- align: "left" | "right" | "center";
84
+ align: "left" | "center" | "right";
82
85
  filterDebounceMs: number;
83
86
  noDataText: string;
84
87
  noMatchText: string;
@@ -313,8 +316,6 @@ export declare const Input: DefineComponent<InputProps, {
313
316
  placeholder: string;
314
317
  rows: number;
315
318
  nonNegative: boolean;
316
- pasteText: string;
317
- clearText: string;
318
319
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
319
320
 
320
321
  export declare interface InputEmits {
@@ -540,7 +541,7 @@ export declare const Select: DefineComponent<SelectProps, {}, {}, {}, {}, Compon
540
541
  type: "plain" | "default" | "noBorder";
541
542
  size: "small" | "medium" | "large" | "extraSmall";
542
543
  placeholder: string;
543
- align: "left" | "right" | "center";
544
+ align: "left" | "center" | "right";
544
545
  filterDebounceMs: number;
545
546
  noDataText: string;
546
547
  noMatchText: string;
@@ -726,10 +727,12 @@ export declare interface TabsProps {
726
727
  modelValue: string | number;
727
728
  type?: 'default' | 'card';
728
729
  size?: TabSize;
730
+ /** 整个 Tabs 的宽度,数字按 px 处理 */
731
+ width?: string | number;
729
732
  }
730
733
 
731
734
  export declare const Tag: DefineComponent<TagProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TagProps> & Readonly<{}>, {
732
- type: "danger" | "sameWhite" | "solid" | "success" | "invalid" | "warning" | "subtle" | "gray" | "strokeSubtle" | "strokeSolid" | "ready" | "apricot" | "khaki" | "grass" | "sage" | "cyan" | "iceBlue" | "periwinkle" | "lilac" | "orchid" | "mallow" | "rose" | "coral" | "mauve" | "moss" | "steel" | "grape" | "lime" | "amlDanger";
735
+ type: "danger" | "sameWhite" | "solid" | "invalid" | "success" | "warning" | "subtle" | "gray" | "strokeSubtle" | "strokeSolid" | "ready" | "apricot" | "khaki" | "grass" | "sage" | "cyan" | "iceBlue" | "periwinkle" | "lilac" | "orchid" | "mallow" | "rose" | "coral" | "mauve" | "moss" | "steel" | "grape" | "lime" | "amlDanger";
733
736
  size: TagSize;
734
737
  palette: boolean;
735
738
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -773,7 +776,7 @@ export declare const TIMELINE_KEY: InjectionKey<TimelineContext>;
773
776
  export declare const TIMELINE_LINE_COLOR = "var(--stroke-outline-subtle)";
774
777
 
775
778
  /** 已驳回 / 已撤回节点背景色 */
776
- export declare const TIMELINE_STATUS_DANGER_COLOR = "var(--material-danger-primary)";
779
+ export declare const TIMELINE_STATUS_DANGER_COLOR = "var(--status-danger)";
777
780
 
778
781
  /** 已完成节点背景色 */
779
782
  export declare const TIMELINE_STATUS_FINISHED_COLOR = "var(--material-brand-primary)";
@@ -782,7 +785,7 @@ export declare const TIMELINE_STATUS_FINISHED_COLOR = "var(--material-brand-prim
782
785
  export declare const TIMELINE_STATUS_NOT_STARTED_BORDER_COLOR = "var(--stroke-outline-deep)";
783
786
 
784
787
  /** 待处理节点背景色 */
785
- export declare const TIMELINE_STATUS_PENDING_COLOR = "var(--material-warning-primary)";
788
+ export declare const TIMELINE_STATUS_PENDING_COLOR = "var(--status-warning)";
786
789
 
787
790
  export declare interface TimelineContext {
788
791
  dotSize: Ref<number | string>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cregis/ui",
3
3
  "private": false,
4
- "version": "1.1.7",
4
+ "version": "1.1.9",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -35,9 +35,8 @@
35
35
  "@commitlint/cli": "^20.1.0",
36
36
  "@commitlint/config-conventional": "^20.0.0",
37
37
  "@cregis/icon": "^0.1.14",
38
- "@cregis/tokens": "^1.0.0",
38
+ "@cregis/tokens": "^1.0.6",
39
39
  "@popperjs/core": "^2.11.8",
40
- "lodash-es": "^4.18.1",
41
40
  "@rushstack/eslint-patch": "^1.14.1",
42
41
  "@types/lodash-es": "^4.17.12",
43
42
  "@types/node": "^24.6.0",
@@ -47,6 +46,7 @@
47
46
  "autoprefixer": "^10.5.4",
48
47
  "husky": "^9.1.7",
49
48
  "lint-staged": "^16.2.6",
49
+ "lodash-es": "^4.18.1",
50
50
  "move-file-cli": "^3.0.0",
51
51
  "postcss": "^8.5.22",
52
52
  "prettier": "^3.6.2",