@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.
@@ -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.13.20",
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/constants": "1.13.20",
29
- "@cyberpunk-vue/theme-chalk": "1.13.20",
30
- "@cyberpunk-vue/hooks": "1.13.20"
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",