@cyberpunk-vue/components 1.14.0 → 1.14.2
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/LICENSE +21 -21
- package/dist/card/index.d.ts +3 -3
- package/dist/card/src/card.d.ts +4 -5
- package/dist/card/src/card.vue.d.ts +2 -2
- package/dist/container/index.d.ts +2 -2
- package/dist/container/src/container.vue.d.ts +3 -2
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1486 -1466
- package/dist/text/index.d.ts +34 -4
- package/dist/text/src/text.d.ts +40 -5
- package/dist/text/src/text.vue.d.ts +22 -4
- package/package.json +4 -4
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Cyberpunk Vue Contributors
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Cyberpunk Vue Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/card/index.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ export declare const CpCard: import('../utils').SFCWithInstall<{
|
|
|
68
68
|
};
|
|
69
69
|
readonly overlayColor: {
|
|
70
70
|
readonly type: StringConstructor;
|
|
71
|
-
readonly default:
|
|
71
|
+
readonly default: undefined;
|
|
72
72
|
};
|
|
73
73
|
readonly overlayBlur: {
|
|
74
74
|
readonly type: import('vue').PropType<number | string>;
|
|
@@ -260,7 +260,7 @@ export declare const CpCard: import('../utils').SFCWithInstall<{
|
|
|
260
260
|
};
|
|
261
261
|
readonly overlayColor: {
|
|
262
262
|
readonly type: StringConstructor;
|
|
263
|
-
readonly default:
|
|
263
|
+
readonly default: undefined;
|
|
264
264
|
};
|
|
265
265
|
readonly overlayBlur: {
|
|
266
266
|
readonly type: import('vue').PropType<number | string>;
|
|
@@ -443,7 +443,7 @@ export declare const CpCard: import('../utils').SFCWithInstall<{
|
|
|
443
443
|
};
|
|
444
444
|
readonly overlayColor: {
|
|
445
445
|
readonly type: StringConstructor;
|
|
446
|
-
readonly default:
|
|
446
|
+
readonly default: undefined;
|
|
447
447
|
};
|
|
448
448
|
readonly overlayBlur: {
|
|
449
449
|
readonly type: import('vue').PropType<number | string>;
|
package/dist/card/src/card.d.ts
CHANGED
|
@@ -15,9 +15,8 @@ export type CardShadow = 'always' | 'hover' | 'never';
|
|
|
15
15
|
* - `semi` - 半透明背景,支持毛玻璃效果
|
|
16
16
|
* - `ghost` - 透明背景
|
|
17
17
|
* - `neon` - 霓虹发光
|
|
18
|
-
* - `cyber` - 赛博风格
|
|
19
18
|
*/
|
|
20
|
-
export type CardVariant = 'solid' | 'outline' | 'semi' | 'ghost' | 'neon'
|
|
19
|
+
export type CardVariant = 'solid' | 'outline' | 'semi' | 'ghost' | 'neon';
|
|
21
20
|
/**
|
|
22
21
|
* 卡片形状模式
|
|
23
22
|
* - `clip` - 切角样式(默认,赛博朋克特色)
|
|
@@ -202,12 +201,12 @@ export declare const cardProps: {
|
|
|
202
201
|
};
|
|
203
202
|
/**
|
|
204
203
|
* 覆层颜色
|
|
205
|
-
* 支持任意 CSS
|
|
206
|
-
* @default
|
|
204
|
+
* 支持任意 CSS 颜色值;不传时使用当前主题背景与卡片主题色生成
|
|
205
|
+
* @default undefined
|
|
207
206
|
*/
|
|
208
207
|
readonly overlayColor: {
|
|
209
208
|
readonly type: StringConstructor;
|
|
210
|
-
readonly default:
|
|
209
|
+
readonly default: undefined;
|
|
211
210
|
};
|
|
212
211
|
/**
|
|
213
212
|
* 覆层毛玻璃模糊程度
|
|
@@ -68,7 +68,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
68
68
|
};
|
|
69
69
|
readonly overlayColor: {
|
|
70
70
|
readonly type: StringConstructor;
|
|
71
|
-
readonly default:
|
|
71
|
+
readonly default: undefined;
|
|
72
72
|
};
|
|
73
73
|
readonly overlayBlur: {
|
|
74
74
|
readonly type: import('vue').PropType<number | string>;
|
|
@@ -214,7 +214,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
214
214
|
};
|
|
215
215
|
readonly overlayColor: {
|
|
216
216
|
readonly type: StringConstructor;
|
|
217
|
-
readonly default:
|
|
217
|
+
readonly default: undefined;
|
|
218
218
|
};
|
|
219
219
|
readonly overlayBlur: {
|
|
220
220
|
readonly type: import('vue').PropType<number | string>;
|
|
@@ -51,9 +51,9 @@ export declare const CpContainer: import('../utils').SFCWithInstall<{
|
|
|
51
51
|
readonly direction: import('.').ContainerDirection;
|
|
52
52
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
53
53
|
$slots: Readonly<{
|
|
54
|
-
default?: (
|
|
54
|
+
default?: () => import('vue').VNode[];
|
|
55
55
|
}> & {
|
|
56
|
-
default?: (
|
|
56
|
+
default?: () => import('vue').VNode[];
|
|
57
57
|
};
|
|
58
58
|
})>;
|
|
59
59
|
export declare const CpHeader: import('../utils').SFCWithInstall<{
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
1
2
|
declare function __VLS_template(): {
|
|
2
3
|
attrs: Partial<{}>;
|
|
3
4
|
slots: Readonly<{
|
|
4
|
-
default?: (
|
|
5
|
+
default?: () => VNode[];
|
|
5
6
|
}> & {
|
|
6
|
-
default?: (
|
|
7
|
+
default?: () => VNode[];
|
|
7
8
|
};
|
|
8
9
|
refs: {};
|
|
9
10
|
rootEl: HTMLElement;
|