@cyberpunk-vue/components 1.13.13 → 1.13.15
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/dropdown/index.d.ts +30 -0
- package/dist/dropdown/src/dropdown.d.ts +8 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +4230 -4205
- package/dist/select/index.d.ts +30 -0
- package/dist/select/src/select.d.ts +16 -0
- package/dist/select/src/select.vue.d.ts +18 -0
- package/package.json +4 -4
package/dist/select/index.d.ts
CHANGED
|
@@ -82,6 +82,14 @@ export declare const CpSelect: import('../utils').SFCWithInstall<{
|
|
|
82
82
|
readonly type: import('vue').PropType<string | HTMLElement>;
|
|
83
83
|
readonly default: "body";
|
|
84
84
|
};
|
|
85
|
+
readonly zIndex: {
|
|
86
|
+
readonly type: NumberConstructor;
|
|
87
|
+
readonly default: 2000;
|
|
88
|
+
};
|
|
89
|
+
readonly stackPriority: {
|
|
90
|
+
readonly type: NumberConstructor;
|
|
91
|
+
readonly default: undefined;
|
|
92
|
+
};
|
|
85
93
|
readonly maxHeight: {
|
|
86
94
|
readonly type: NumberConstructor;
|
|
87
95
|
readonly default: 256;
|
|
@@ -124,6 +132,8 @@ export declare const CpSelect: import('../utils').SFCWithInstall<{
|
|
|
124
132
|
visibleChange: (visible: boolean) => void;
|
|
125
133
|
}, import('vue').PublicProps, {
|
|
126
134
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
135
|
+
readonly zIndex: number;
|
|
136
|
+
readonly stackPriority: number;
|
|
127
137
|
readonly width: string | number;
|
|
128
138
|
readonly color: string;
|
|
129
139
|
readonly variant: import('.').SelectVariant;
|
|
@@ -221,6 +231,14 @@ export declare const CpSelect: import('../utils').SFCWithInstall<{
|
|
|
221
231
|
readonly type: import('vue').PropType<string | HTMLElement>;
|
|
222
232
|
readonly default: "body";
|
|
223
233
|
};
|
|
234
|
+
readonly zIndex: {
|
|
235
|
+
readonly type: NumberConstructor;
|
|
236
|
+
readonly default: 2000;
|
|
237
|
+
};
|
|
238
|
+
readonly stackPriority: {
|
|
239
|
+
readonly type: NumberConstructor;
|
|
240
|
+
readonly default: undefined;
|
|
241
|
+
};
|
|
224
242
|
readonly maxHeight: {
|
|
225
243
|
readonly type: NumberConstructor;
|
|
226
244
|
readonly default: 256;
|
|
@@ -256,6 +274,8 @@ export declare const CpSelect: import('../utils').SFCWithInstall<{
|
|
|
256
274
|
blur: () => void;
|
|
257
275
|
}, {}, {}, {}, {
|
|
258
276
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
277
|
+
readonly zIndex: number;
|
|
278
|
+
readonly stackPriority: number;
|
|
259
279
|
readonly width: string | number;
|
|
260
280
|
readonly color: string;
|
|
261
281
|
readonly variant: import('.').SelectVariant;
|
|
@@ -345,6 +365,14 @@ export declare const CpSelect: import('../utils').SFCWithInstall<{
|
|
|
345
365
|
readonly type: import('vue').PropType<string | HTMLElement>;
|
|
346
366
|
readonly default: "body";
|
|
347
367
|
};
|
|
368
|
+
readonly zIndex: {
|
|
369
|
+
readonly type: NumberConstructor;
|
|
370
|
+
readonly default: 2000;
|
|
371
|
+
};
|
|
372
|
+
readonly stackPriority: {
|
|
373
|
+
readonly type: NumberConstructor;
|
|
374
|
+
readonly default: undefined;
|
|
375
|
+
};
|
|
348
376
|
readonly maxHeight: {
|
|
349
377
|
readonly type: NumberConstructor;
|
|
350
378
|
readonly default: 256;
|
|
@@ -387,6 +415,8 @@ export declare const CpSelect: import('../utils').SFCWithInstall<{
|
|
|
387
415
|
visibleChange: (visible: boolean) => void;
|
|
388
416
|
}, string, {
|
|
389
417
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
418
|
+
readonly zIndex: number;
|
|
419
|
+
readonly stackPriority: number;
|
|
390
420
|
readonly width: string | number;
|
|
391
421
|
readonly color: string;
|
|
392
422
|
readonly variant: import('.').SelectVariant;
|
|
@@ -202,6 +202,22 @@ export declare const selectProps: {
|
|
|
202
202
|
readonly type: PropType<string | HTMLElement>;
|
|
203
203
|
readonly default: "body";
|
|
204
204
|
};
|
|
205
|
+
/**
|
|
206
|
+
* 基础 z-index。打开下拉面板时会进入全局前台弹层栈,并以该值为基础自动分配层级
|
|
207
|
+
* @default 2000
|
|
208
|
+
*/
|
|
209
|
+
readonly zIndex: {
|
|
210
|
+
readonly type: NumberConstructor;
|
|
211
|
+
readonly default: 2000;
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* 下拉面板栈优先级。不设置时会继承所在 Dialog 的栈优先级
|
|
215
|
+
* @default undefined
|
|
216
|
+
*/
|
|
217
|
+
readonly stackPriority: {
|
|
218
|
+
readonly type: NumberConstructor;
|
|
219
|
+
readonly default: undefined;
|
|
220
|
+
};
|
|
205
221
|
/**
|
|
206
222
|
* 下拉面板最大高度 (px)
|
|
207
223
|
* @default 256
|
|
@@ -82,6 +82,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
82
82
|
readonly type: import('vue').PropType<string | HTMLElement>;
|
|
83
83
|
readonly default: "body";
|
|
84
84
|
};
|
|
85
|
+
readonly zIndex: {
|
|
86
|
+
readonly type: NumberConstructor;
|
|
87
|
+
readonly default: 2000;
|
|
88
|
+
};
|
|
89
|
+
readonly stackPriority: {
|
|
90
|
+
readonly type: NumberConstructor;
|
|
91
|
+
readonly default: undefined;
|
|
92
|
+
};
|
|
85
93
|
readonly maxHeight: {
|
|
86
94
|
readonly type: NumberConstructor;
|
|
87
95
|
readonly default: 256;
|
|
@@ -185,6 +193,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
185
193
|
readonly type: import('vue').PropType<string | HTMLElement>;
|
|
186
194
|
readonly default: "body";
|
|
187
195
|
};
|
|
196
|
+
readonly zIndex: {
|
|
197
|
+
readonly type: NumberConstructor;
|
|
198
|
+
readonly default: 2000;
|
|
199
|
+
};
|
|
200
|
+
readonly stackPriority: {
|
|
201
|
+
readonly type: NumberConstructor;
|
|
202
|
+
readonly default: undefined;
|
|
203
|
+
};
|
|
188
204
|
readonly maxHeight: {
|
|
189
205
|
readonly type: NumberConstructor;
|
|
190
206
|
readonly default: 256;
|
|
@@ -214,6 +230,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
214
230
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
215
231
|
}>, {
|
|
216
232
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
233
|
+
readonly zIndex: number;
|
|
234
|
+
readonly stackPriority: number;
|
|
217
235
|
readonly width: string | number;
|
|
218
236
|
readonly color: string;
|
|
219
237
|
readonly variant: import('./select').SelectVariant;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyberpunk-vue/components",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.15",
|
|
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/constants": "1.13.
|
|
30
|
-
"@cyberpunk-vue/
|
|
28
|
+
"@cyberpunk-vue/theme-chalk": "1.13.15",
|
|
29
|
+
"@cyberpunk-vue/constants": "1.13.15",
|
|
30
|
+
"@cyberpunk-vue/hooks": "1.13.15"
|
|
31
31
|
},
|
|
32
32
|
"author": "Juxest",
|
|
33
33
|
"license": "MIT",
|