@cregis/ui 1.1.8 → 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.
- package/dist/index.css +1 -1
- package/dist/index.js +641 -631
- package/dist/types/index.d.ts +5 -4
- package/package.json +3 -3
package/dist/types/index.d.ts
CHANGED
|
@@ -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;
|
|
@@ -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 {
|
|
@@ -775,7 +776,7 @@ export declare const TIMELINE_KEY: InjectionKey<TimelineContext>;
|
|
|
775
776
|
export declare const TIMELINE_LINE_COLOR = "var(--stroke-outline-subtle)";
|
|
776
777
|
|
|
777
778
|
/** 已驳回 / 已撤回节点背景色 */
|
|
778
|
-
export declare const TIMELINE_STATUS_DANGER_COLOR = "var(--
|
|
779
|
+
export declare const TIMELINE_STATUS_DANGER_COLOR = "var(--status-danger)";
|
|
779
780
|
|
|
780
781
|
/** 已完成节点背景色 */
|
|
781
782
|
export declare const TIMELINE_STATUS_FINISHED_COLOR = "var(--material-brand-primary)";
|
|
@@ -784,7 +785,7 @@ export declare const TIMELINE_STATUS_FINISHED_COLOR = "var(--material-brand-prim
|
|
|
784
785
|
export declare const TIMELINE_STATUS_NOT_STARTED_BORDER_COLOR = "var(--stroke-outline-deep)";
|
|
785
786
|
|
|
786
787
|
/** 待处理节点背景色 */
|
|
787
|
-
export declare const TIMELINE_STATUS_PENDING_COLOR = "var(--
|
|
788
|
+
export declare const TIMELINE_STATUS_PENDING_COLOR = "var(--status-warning)";
|
|
788
789
|
|
|
789
790
|
export declare interface TimelineContext {
|
|
790
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.
|
|
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.
|
|
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",
|