@cyberpunk-vue/components 1.13.20 → 1.14.0
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/card/src/card.d.ts +2 -0
- package/dist/config-provider/index.d.ts +51 -6
- package/dist/config-provider/src/config-provider.d.ts +53 -3
- package/dist/config-provider/src/config-provider.vue.d.ts +30 -3
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1476 -1331
- package/dist/input-number/index.d.ts +9 -0
- package/dist/input-number/src/input-number.d.ts +15 -0
- package/dist/input-number/src/input-number.vue.d.ts +9 -0
- package/dist/progress/src/progress.d.ts +3 -1
- package/dist/radio/index.d.ts +15 -0
- package/dist/radio/src/radio.d.ts +15 -0
- package/dist/radio/src/radio.vue.d.ts +9 -0
- package/dist/radio-group/index.d.ts +15 -0
- package/dist/radio-group/src/constants.d.ts +2 -1
- package/dist/radio-group/src/radio-group.d.ts +9 -1
- package/dist/radio-group/src/radio-group.vue.d.ts +9 -0
- package/dist/slider/index.d.ts +9 -0
- package/dist/slider/src/slider.d.ts +17 -0
- package/dist/slider/src/slider.vue.d.ts +9 -0
- package/dist/switch/index.d.ts +18 -0
- package/dist/switch/src/switch.d.ts +38 -4
- package/dist/switch/src/switch.vue.d.ts +18 -0
- package/dist/textarea/index.d.ts +9 -0
- package/dist/textarea/src/textarea.d.ts +12 -0
- package/dist/textarea/src/textarea.vue.d.ts +9 -0
- package/package.json +4 -4
|
@@ -5,6 +5,13 @@ import { Size } from '@cyberpunk-vue/hooks';
|
|
|
5
5
|
* - 也支持数字 (px) 或带单位字符串 (如 '2rem')
|
|
6
6
|
*/
|
|
7
7
|
export type TextareaSize = Size;
|
|
8
|
+
/**
|
|
9
|
+
* Textarea 形状
|
|
10
|
+
* - `clip` - 切角样式(默认,赛博朋克特色)
|
|
11
|
+
* - `no-clip` - 直角矩形
|
|
12
|
+
* - `round` - 圆角矩形
|
|
13
|
+
*/
|
|
14
|
+
export type TextareaShape = 'clip' | 'no-clip' | 'round';
|
|
8
15
|
/**
|
|
9
16
|
* Textarea 变体
|
|
10
17
|
*/
|
|
@@ -35,6 +42,11 @@ export declare const textareaProps: {
|
|
|
35
42
|
readonly type: PropType<TextareaSize>;
|
|
36
43
|
readonly default: "md";
|
|
37
44
|
};
|
|
45
|
+
/** 形状 */
|
|
46
|
+
readonly shape: {
|
|
47
|
+
readonly type: PropType<TextareaShape>;
|
|
48
|
+
readonly default: "clip";
|
|
49
|
+
};
|
|
38
50
|
/** 形态变体 */
|
|
39
51
|
readonly variant: {
|
|
40
52
|
readonly type: PropType<TextareaVariant>;
|
|
@@ -11,6 +11,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
11
|
readonly type: import('vue').PropType<import('./textarea').TextareaSize>;
|
|
12
12
|
readonly default: "md";
|
|
13
13
|
};
|
|
14
|
+
readonly shape: {
|
|
15
|
+
readonly type: import('vue').PropType<import('./textarea').TextareaShape>;
|
|
16
|
+
readonly default: "clip";
|
|
17
|
+
};
|
|
14
18
|
readonly variant: {
|
|
15
19
|
readonly type: import('vue').PropType<import('./textarea').TextareaVariant>;
|
|
16
20
|
readonly default: "outline";
|
|
@@ -81,6 +85,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
81
85
|
readonly type: import('vue').PropType<import('./textarea').TextareaSize>;
|
|
82
86
|
readonly default: "md";
|
|
83
87
|
};
|
|
88
|
+
readonly shape: {
|
|
89
|
+
readonly type: import('vue').PropType<import('./textarea').TextareaShape>;
|
|
90
|
+
readonly default: "clip";
|
|
91
|
+
};
|
|
84
92
|
readonly variant: {
|
|
85
93
|
readonly type: import('vue').PropType<import('./textarea').TextareaVariant>;
|
|
86
94
|
readonly default: "outline";
|
|
@@ -139,6 +147,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
139
147
|
readonly color: string;
|
|
140
148
|
readonly variant: import('./textarea').TextareaVariant;
|
|
141
149
|
readonly disabled: boolean;
|
|
150
|
+
readonly shape: import('./textarea').TextareaShape;
|
|
142
151
|
readonly textColor: string;
|
|
143
152
|
readonly placeholder: string;
|
|
144
153
|
readonly modelValue: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyberpunk-vue/components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"description": "Cyberpunk Vue components - A futuristic Vue 3 component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@floating-ui/dom": "^1.7.6",
|
|
27
27
|
"dayjs": "^1.11.20",
|
|
28
|
-
"@cyberpunk-vue/
|
|
29
|
-
"@cyberpunk-vue/
|
|
30
|
-
"@cyberpunk-vue/
|
|
28
|
+
"@cyberpunk-vue/hooks": "1.14.0",
|
|
29
|
+
"@cyberpunk-vue/constants": "1.14.0",
|
|
30
|
+
"@cyberpunk-vue/theme-chalk": "1.14.0"
|
|
31
31
|
},
|
|
32
32
|
"author": "Juxest",
|
|
33
33
|
"license": "MIT",
|