@cyberpunk-vue/components 1.9.1 → 1.9.3
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/avatar/index.d.ts +6 -6
- package/dist/avatar/index.d.ts.map +1 -1
- package/dist/avatar/src/avatar.d.ts +3 -2
- package/dist/avatar/src/avatar.d.ts.map +1 -1
- package/dist/avatar/src/avatar.vue.d.ts +3 -3
- package/dist/avatar/src/avatar.vue.d.ts.map +1 -1
- package/dist/badge/index.d.ts +3 -3
- package/dist/badge/src/badge.vue.d.ts +1 -1
- package/dist/breadcrumb/index.d.ts +3 -3
- package/dist/breadcrumb/src/breadcrumb.vue.d.ts +1 -1
- package/dist/button/index.d.ts +21 -21
- package/dist/button/src/button.d.ts +4 -3
- package/dist/button/src/button.d.ts.map +1 -1
- package/dist/button/src/button.vue.d.ts +10 -10
- package/dist/card/index.d.ts +3 -3
- package/dist/card/src/card.vue.d.ts +1 -1
- package/dist/checkbox/index.d.ts +3 -3
- package/dist/checkbox/src/checkbox.vue.d.ts +1 -1
- package/dist/dialog/index.d.ts +3 -3
- package/dist/dialog/src/dialog.vue.d.ts +1 -1
- package/dist/divider/index.d.ts +3 -3
- package/dist/divider/src/divider.vue.d.ts +1 -1
- package/dist/dropdown/index.d.ts +3 -3
- package/dist/dropdown/src/dropdown.vue.d.ts +1 -1
- package/dist/empty/index.d.ts +6 -6
- package/dist/empty/src/empty.d.ts +3 -2
- package/dist/empty/src/empty.d.ts.map +1 -1
- package/dist/empty/src/empty.vue.d.ts +3 -3
- package/dist/icon/index.d.ts +6 -6
- package/dist/icon/src/icon.vue.d.ts +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +306 -306
- package/dist/input/index.d.ts +3 -3
- package/dist/input/src/input.vue.d.ts +1 -1
- package/dist/input-number/index.d.ts +1 -1
- package/dist/input-number/src/input-number.vue.d.ts +1 -1
- package/dist/loading/index.d.ts +1 -1
- package/dist/loading/src/loading.vue.d.ts +1 -1
- package/dist/menu/index.d.ts +3 -3
- package/dist/menu/src/menu.vue.d.ts +1 -1
- package/dist/menu-item/index.d.ts +3 -3
- package/dist/menu-item/src/menu-item.d.ts.map +1 -1
- package/dist/menu-item/src/menu-item.vue.d.ts +1 -1
- package/dist/menu-nav/index.d.ts +1 -1
- package/dist/menu-nav/src/menu-nav.vue.d.ts +1 -1
- package/dist/notification/index.d.ts +3 -3
- package/dist/notification/src/notification.vue.d.ts +1 -1
- package/dist/pagination/index.d.ts +3 -3
- package/dist/pagination/src/pagination.vue.d.ts +1 -1
- package/dist/popover/index.d.ts +379 -2
- package/dist/popover/index.d.ts.map +1 -1
- package/dist/popover/src/popover.vue.d.ts +1 -1
- package/dist/progress/index.d.ts +3 -3
- package/dist/progress/src/progress.vue.d.ts +1 -1
- package/dist/radio/index.d.ts +3 -3
- package/dist/radio/src/radio.vue.d.ts +1 -1
- package/dist/segmented/index.d.ts +1 -1
- package/dist/segmented/src/segmented.vue.d.ts +1 -1
- package/dist/slider/index.d.ts +1 -1
- package/dist/slider/src/slider.vue.d.ts +1 -1
- package/dist/sub-menu/index.d.ts +3 -3
- package/dist/sub-menu/src/sub-menu.d.ts.map +1 -1
- package/dist/sub-menu/src/sub-menu.vue.d.ts +1 -1
- package/dist/switch/index.d.ts +1 -1
- package/dist/switch/src/switch.vue.d.ts +1 -1
- package/dist/table/index.d.ts +3 -3
- package/dist/table/src/table.vue.d.ts +1 -1
- package/dist/tag/index.d.ts +3 -3
- package/dist/tag/src/tag.vue.d.ts +1 -1
- package/dist/textarea/index.d.ts +1 -1
- package/dist/textarea/src/textarea.vue.d.ts +1 -1
- package/dist/timeline-item/index.d.ts +6 -6
- package/dist/timeline-item/src/timeline-item.d.ts +3 -2
- package/dist/timeline-item/src/timeline-item.d.ts.map +1 -1
- package/dist/timeline-item/src/timeline-item.vue.d.ts +3 -3
- package/dist/upload/index.d.ts +9 -9
- package/dist/upload/src/upload.d.ts +2 -1
- package/dist/upload/src/upload.d.ts.map +1 -1
- package/dist/upload/src/upload.vue.d.ts +4 -4
- package/package.json +4 -4
|
@@ -91,8 +91,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
91
91
|
};
|
|
92
92
|
}>> & Readonly<{}>, {
|
|
93
93
|
readonly type: import('./divider').DividerType;
|
|
94
|
-
readonly variant: import('./divider').DividerVariant;
|
|
95
94
|
readonly color: string;
|
|
95
|
+
readonly variant: import('./divider').DividerVariant;
|
|
96
96
|
readonly dashed: boolean;
|
|
97
97
|
readonly direction: import('./divider').DividerDirection;
|
|
98
98
|
readonly borderStyle: import('./divider').DividerBorderStyle;
|
package/dist/dropdown/index.d.ts
CHANGED
|
@@ -124,9 +124,9 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
|
|
|
124
124
|
}, import('vue').PublicProps, {
|
|
125
125
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
126
126
|
readonly width: string | number;
|
|
127
|
+
readonly color: string;
|
|
127
128
|
readonly variant: import('.').DropdownVariant;
|
|
128
129
|
readonly disabled: boolean;
|
|
129
|
-
readonly color: string;
|
|
130
130
|
readonly shape: import('.').DropdownShape;
|
|
131
131
|
readonly inline: boolean;
|
|
132
132
|
readonly placeholder: string;
|
|
@@ -256,9 +256,9 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
|
|
|
256
256
|
}, {}, {}, {}, {
|
|
257
257
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
258
258
|
readonly width: string | number;
|
|
259
|
+
readonly color: string;
|
|
259
260
|
readonly variant: import('.').DropdownVariant;
|
|
260
261
|
readonly disabled: boolean;
|
|
261
|
-
readonly color: string;
|
|
262
262
|
readonly shape: import('.').DropdownShape;
|
|
263
263
|
readonly inline: boolean;
|
|
264
264
|
readonly placeholder: string;
|
|
@@ -387,9 +387,9 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
|
|
|
387
387
|
}, string, {
|
|
388
388
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
389
389
|
readonly width: string | number;
|
|
390
|
+
readonly color: string;
|
|
390
391
|
readonly variant: import('.').DropdownVariant;
|
|
391
392
|
readonly disabled: boolean;
|
|
392
|
-
readonly color: string;
|
|
393
393
|
readonly shape: import('.').DropdownShape;
|
|
394
394
|
readonly inline: boolean;
|
|
395
395
|
readonly placeholder: string;
|
|
@@ -215,9 +215,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
215
215
|
}>, {
|
|
216
216
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
217
217
|
readonly width: string | number;
|
|
218
|
+
readonly color: string;
|
|
218
219
|
readonly variant: import('./dropdown').DropdownVariant;
|
|
219
220
|
readonly disabled: boolean;
|
|
220
|
-
readonly color: string;
|
|
221
221
|
readonly shape: import('./dropdown').DropdownShape;
|
|
222
222
|
readonly inline: boolean;
|
|
223
223
|
readonly placeholder: string;
|
package/dist/empty/index.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export declare const CpEmpty: import('../utils').SFCWithInstall<{
|
|
|
26
26
|
readonly default: "";
|
|
27
27
|
};
|
|
28
28
|
readonly icon: {
|
|
29
|
-
readonly type: import('vue').PropType<
|
|
29
|
+
readonly type: import('vue').PropType<import('..').IconValue>;
|
|
30
30
|
readonly default: "";
|
|
31
31
|
};
|
|
32
32
|
readonly imageSize: {
|
|
@@ -42,9 +42,9 @@ export declare const CpEmpty: import('../utils').SFCWithInstall<{
|
|
|
42
42
|
readonly default: "";
|
|
43
43
|
};
|
|
44
44
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
45
|
+
readonly icon: import('..').IconValue;
|
|
45
46
|
readonly type: import('.').EmptyType;
|
|
46
47
|
readonly color: string;
|
|
47
|
-
readonly icon: string | import('vue').Component;
|
|
48
48
|
readonly title: string;
|
|
49
49
|
readonly description: string;
|
|
50
50
|
readonly imageSize: number;
|
|
@@ -65,7 +65,7 @@ export declare const CpEmpty: import('../utils').SFCWithInstall<{
|
|
|
65
65
|
readonly default: "";
|
|
66
66
|
};
|
|
67
67
|
readonly icon: {
|
|
68
|
-
readonly type: import('vue').PropType<
|
|
68
|
+
readonly type: import('vue').PropType<import('..').IconValue>;
|
|
69
69
|
readonly default: "";
|
|
70
70
|
};
|
|
71
71
|
readonly imageSize: {
|
|
@@ -81,9 +81,9 @@ export declare const CpEmpty: import('../utils').SFCWithInstall<{
|
|
|
81
81
|
readonly default: "";
|
|
82
82
|
};
|
|
83
83
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
84
|
+
readonly icon: import('..').IconValue;
|
|
84
85
|
readonly type: import('.').EmptyType;
|
|
85
86
|
readonly color: string;
|
|
86
|
-
readonly icon: string | import('vue').Component;
|
|
87
87
|
readonly title: string;
|
|
88
88
|
readonly description: string;
|
|
89
89
|
readonly imageSize: number;
|
|
@@ -101,7 +101,7 @@ export declare const CpEmpty: import('../utils').SFCWithInstall<{
|
|
|
101
101
|
readonly default: "";
|
|
102
102
|
};
|
|
103
103
|
readonly icon: {
|
|
104
|
-
readonly type: import('vue').PropType<
|
|
104
|
+
readonly type: import('vue').PropType<import('..').IconValue>;
|
|
105
105
|
readonly default: "";
|
|
106
106
|
};
|
|
107
107
|
readonly imageSize: {
|
|
@@ -117,9 +117,9 @@ export declare const CpEmpty: import('../utils').SFCWithInstall<{
|
|
|
117
117
|
readonly default: "";
|
|
118
118
|
};
|
|
119
119
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
120
|
+
readonly icon: import('..').IconValue;
|
|
120
121
|
readonly type: import('.').EmptyType;
|
|
121
122
|
readonly color: string;
|
|
122
|
-
readonly icon: string | import('vue').Component;
|
|
123
123
|
readonly title: string;
|
|
124
124
|
readonly description: string;
|
|
125
125
|
readonly imageSize: number;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { IconValue } from '../../icon/src/icon';
|
|
2
3
|
/**
|
|
3
4
|
* 空状态颜色类型
|
|
4
5
|
*/
|
|
@@ -31,7 +32,7 @@ export declare const emptyProps: {
|
|
|
31
32
|
* @default ''
|
|
32
33
|
*/
|
|
33
34
|
readonly icon: {
|
|
34
|
-
readonly type: PropType<
|
|
35
|
+
readonly type: PropType<IconValue>;
|
|
35
36
|
readonly default: "";
|
|
36
37
|
};
|
|
37
38
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty.d.ts","sourceRoot":"","sources":["../../../empty/src/empty.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"empty.d.ts","sourceRoot":"","sources":["../../../empty/src/empty.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAA;AAExE;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAA;AAExF;;;;;GAKG;AACH,eAAO,MAAM,UAAU;IACnB;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;uBAEqC,QAAQ,CAAC,SAAS,CAAC;;;IAI3D;;;OAGG;;;;;IAMH;;;OAGG;;uBAEiB,QAAQ,CAAC,SAAS,CAAC;;;IAIvC;;;OAGG;;;;;CAKG,CAAA;AAEV,MAAM,MAAM,UAAU,GAAG,gBAAgB,CAAC,OAAO,UAAU,CAAC,CAAA"}
|
|
@@ -20,7 +20,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
20
20
|
readonly default: "";
|
|
21
21
|
};
|
|
22
22
|
readonly icon: {
|
|
23
|
-
readonly type: import('vue').PropType<
|
|
23
|
+
readonly type: import('vue').PropType<import('../../icon').IconValue>;
|
|
24
24
|
readonly default: "";
|
|
25
25
|
};
|
|
26
26
|
readonly imageSize: {
|
|
@@ -45,7 +45,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
45
45
|
readonly default: "";
|
|
46
46
|
};
|
|
47
47
|
readonly icon: {
|
|
48
|
-
readonly type: import('vue').PropType<
|
|
48
|
+
readonly type: import('vue').PropType<import('../../icon').IconValue>;
|
|
49
49
|
readonly default: "";
|
|
50
50
|
};
|
|
51
51
|
readonly imageSize: {
|
|
@@ -61,9 +61,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
61
61
|
readonly default: "";
|
|
62
62
|
};
|
|
63
63
|
}>> & Readonly<{}>, {
|
|
64
|
+
readonly icon: import('../../icon').IconValue;
|
|
64
65
|
readonly type: import('./empty').EmptyType;
|
|
65
66
|
readonly color: string;
|
|
66
|
-
readonly icon: string | import('vue').Component;
|
|
67
67
|
readonly title: string;
|
|
68
68
|
readonly description: string;
|
|
69
69
|
readonly imageSize: number;
|
package/dist/icon/index.d.ts
CHANGED
|
@@ -42,10 +42,10 @@ export declare const CpIcon: import('../utils').SFCWithInstall<{
|
|
|
42
42
|
};
|
|
43
43
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
44
44
|
readonly size: string | number;
|
|
45
|
+
readonly icon: import('.').IconValue;
|
|
45
46
|
readonly type: import('.').IconType;
|
|
46
47
|
readonly color: string;
|
|
47
|
-
readonly
|
|
48
|
-
readonly tag: "div" | "i" | "span";
|
|
48
|
+
readonly tag: "i" | "span" | "div";
|
|
49
49
|
readonly spin: boolean;
|
|
50
50
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
51
51
|
P: {};
|
|
@@ -81,10 +81,10 @@ export declare const CpIcon: import('../utils').SFCWithInstall<{
|
|
|
81
81
|
};
|
|
82
82
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
83
83
|
readonly size: string | number;
|
|
84
|
+
readonly icon: import('.').IconValue;
|
|
84
85
|
readonly type: import('.').IconType;
|
|
85
86
|
readonly color: string;
|
|
86
|
-
readonly
|
|
87
|
-
readonly tag: "div" | "i" | "span";
|
|
87
|
+
readonly tag: "i" | "span" | "div";
|
|
88
88
|
readonly spin: boolean;
|
|
89
89
|
}>;
|
|
90
90
|
__isFragment?: never;
|
|
@@ -117,10 +117,10 @@ export declare const CpIcon: import('../utils').SFCWithInstall<{
|
|
|
117
117
|
};
|
|
118
118
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
119
119
|
readonly size: string | number;
|
|
120
|
+
readonly icon: import('.').IconValue;
|
|
120
121
|
readonly type: import('.').IconType;
|
|
121
122
|
readonly color: string;
|
|
122
|
-
readonly
|
|
123
|
-
readonly tag: "div" | "i" | "span";
|
|
123
|
+
readonly tag: "i" | "span" | "div";
|
|
124
124
|
readonly spin: boolean;
|
|
125
125
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
126
126
|
$slots: {
|
|
@@ -59,10 +59,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
59
59
|
};
|
|
60
60
|
}>> & Readonly<{}>, {
|
|
61
61
|
readonly size: string | number;
|
|
62
|
+
readonly icon: import('./icon').IconValue;
|
|
62
63
|
readonly type: import('./icon').IconType;
|
|
63
64
|
readonly color: string;
|
|
64
|
-
readonly
|
|
65
|
-
readonly tag: "div" | "i" | "span";
|
|
65
|
+
readonly tag: "i" | "span" | "div";
|
|
66
66
|
readonly spin: boolean;
|
|
67
67
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
68
68
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|