@cyberpunk-vue/components 1.5.0 → 1.5.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.
@@ -253,8 +253,6 @@ export declare const CpMain: import('../utils').SFCWithInstall<{
253
253
  readonly default: false;
254
254
  };
255
255
  }>> & Readonly<{}>, {
256
- bodyHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
257
- bodyFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
258
256
  getPlaceholderHeights: () => {
259
257
  header: number;
260
258
  footer: number;
@@ -263,8 +261,7 @@ export declare const CpMain: import('../utils').SFCWithInstall<{
263
261
  readonly scrollUnderHeader: boolean;
264
262
  readonly scrollUnderFooter: boolean;
265
263
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
266
- bodyHeaderPlaceholderRef: HTMLDivElement;
267
- bodyFooterPlaceholderRef: HTMLDivElement;
264
+ mainRef: HTMLElement;
268
265
  }, HTMLElement, import('vue').ComponentProvideOptions, {
269
266
  P: {};
270
267
  B: {};
@@ -282,8 +279,6 @@ export declare const CpMain: import('../utils').SFCWithInstall<{
282
279
  readonly default: false;
283
280
  };
284
281
  }>> & Readonly<{}>, {
285
- bodyHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
286
- bodyFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
287
282
  getPlaceholderHeights: () => {
288
283
  header: number;
289
284
  footer: number;
@@ -305,8 +300,6 @@ export declare const CpMain: import('../utils').SFCWithInstall<{
305
300
  readonly default: false;
306
301
  };
307
302
  }>> & Readonly<{}>, {
308
- bodyHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
309
- bodyFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
310
303
  getPlaceholderHeights: () => {
311
304
  header: number;
312
305
  footer: number;
@@ -350,8 +343,6 @@ export declare const CpAside: import('../utils').SFCWithInstall<{
350
343
  readonly default: "left";
351
344
  };
352
345
  }>> & Readonly<{}>, {
353
- sidebarHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
354
- sidebarFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
355
346
  getPlaceholderHeights: () => {
356
347
  header: number;
357
348
  footer: number;
@@ -365,8 +356,7 @@ export declare const CpAside: import('../utils').SFCWithInstall<{
365
356
  readonly scrollUnderHeader: boolean;
366
357
  readonly scrollUnderFooter: boolean;
367
358
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
368
- sidebarHeaderPlaceholderRef: HTMLDivElement;
369
- sidebarFooterPlaceholderRef: HTMLDivElement;
359
+ contentRef: HTMLDivElement;
370
360
  }, HTMLElement, import('vue').ComponentProvideOptions, {
371
361
  P: {};
372
362
  B: {};
@@ -404,8 +394,6 @@ export declare const CpAside: import('../utils').SFCWithInstall<{
404
394
  readonly default: "left";
405
395
  };
406
396
  }>> & Readonly<{}>, {
407
- sidebarHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
408
- sidebarFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
409
397
  getPlaceholderHeights: () => {
410
398
  header: number;
411
399
  footer: number;
@@ -452,8 +440,6 @@ export declare const CpAside: import('../utils').SFCWithInstall<{
452
440
  readonly default: "left";
453
441
  };
454
442
  }>> & Readonly<{}>, {
455
- sidebarHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
456
- sidebarFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
457
443
  getPlaceholderHeights: () => {
458
444
  header: number;
459
445
  footer: number;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../container/index.ts"],"names":[],"mapp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;;;GAAsB,CAAA;AAC3C,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAsB,CAAA;AAC3C,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoB,CAAA;AACvC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAqB,CAAA;AAEzC,eAAe,WAAW,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,YAAY,EACR,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,eAAe,GAClB,MAAM,gBAAgB,CAAA"}
@@ -4,8 +4,7 @@ declare function __VLS_template(): {
4
4
  default?(_: {}): any;
5
5
  };
6
6
  refs: {
7
- sidebarHeaderPlaceholderRef: HTMLDivElement;
8
- sidebarFooterPlaceholderRef: HTMLDivElement;
7
+ contentRef: HTMLDivElement;
9
8
  };
10
9
  rootEl: HTMLElement;
11
10
  };
@@ -40,11 +39,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
40
39
  readonly default: "left";
41
40
  };
42
41
  }>, {
43
- /** @description sidebar 顶部占位块元素 */
44
- sidebarHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
45
- /** @description sidebar 底部占位块元素 */
46
- sidebarFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
47
- /** @description 获取 sidebar 占位块高度(px) */
42
+ /** @description 获取 sidebar 占位块高度(px)(由 padding 实现) */
48
43
  getPlaceholderHeights: () => {
49
44
  header: number;
50
45
  footer: number;
@@ -87,8 +82,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
87
82
  readonly scrollUnderHeader: boolean;
88
83
  readonly scrollUnderFooter: boolean;
89
84
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
90
- sidebarHeaderPlaceholderRef: HTMLDivElement;
91
- sidebarFooterPlaceholderRef: HTMLDivElement;
85
+ contentRef: HTMLDivElement;
92
86
  }, HTMLElement>;
93
87
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
94
88
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"aside.vue.d.ts","sourceRoot":"","sources":["../../../container/src/aside.vue"],"names":[],"mappings":"AAmJA,iBAAS,cAAc;WA0ET,OAAO,IAA6B;;yBAZrB,GAAG;;;;;;;EAiB/B;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAlHnB,mCAAmC;;IAEnC,mCAAmC;;IAEnC,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAuHxC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"aside.vue.d.ts","sourceRoot":"","sources":["../../../container/src/aside.vue"],"names":[],"mappings":"AAmIA,iBAAS,cAAc;WA0DT,OAAO,IAA6B;;yBAXrB,GAAG;;;;;;EAgB/B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAzFnB,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAkGtD,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -4,8 +4,7 @@ declare function __VLS_template(): {
4
4
  default?(_: {}): any;
5
5
  };
6
6
  refs: {
7
- bodyHeaderPlaceholderRef: HTMLDivElement;
8
- bodyFooterPlaceholderRef: HTMLDivElement;
7
+ mainRef: HTMLElement;
9
8
  };
10
9
  rootEl: HTMLElement;
11
10
  };
@@ -20,11 +19,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
20
19
  readonly default: false;
21
20
  };
22
21
  }>, {
23
- /** @description body 顶部占位块元素 */
24
- bodyHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
25
- /** @description body 底部占位块元素 */
26
- bodyFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
27
- /** @description 获取 body 占位块高度(px) */
22
+ /** @description 获取 body 占位块高度(px)(由 padding 实现) */
28
23
  getPlaceholderHeights: () => {
29
24
  header: number;
30
25
  footer: number;
@@ -42,8 +37,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
42
37
  readonly scrollUnderHeader: boolean;
43
38
  readonly scrollUnderFooter: boolean;
44
39
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
45
- bodyHeaderPlaceholderRef: HTMLDivElement;
46
- bodyFooterPlaceholderRef: HTMLDivElement;
40
+ mainRef: HTMLElement;
47
41
  }, HTMLElement>;
48
42
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
49
43
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"main.vue.d.ts","sourceRoot":"","sources":["../../../container/src/main.vue"],"names":[],"mappings":"AAuGA,iBAAS,cAAc;WA2CT,OAAO,IAA6B;;yBAZrB,GAAG;;;;;;;EAiB/B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;IA/EnB,gCAAgC;;IAEhC,gCAAgC;;IAEhC,qCAAqC;;;;;;;;;;;;;;;;;;;;eAoFrC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"main.vue.d.ts","sourceRoot":"","sources":["../../../container/src/main.vue"],"names":[],"mappings":"AAuFA,iBAAS,cAAc;WA2BT,OAAO,IAA6B;;yBAXrB,GAAG;;;;;;EAgB/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;IArDnB,mDAAmD;;;;;;;;;;;;;;;;;;;eA8DnD,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -97,6 +97,10 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
97
97
  readonly type: NumberConstructor;
98
98
  readonly default: 150;
99
99
  };
100
+ readonly width: {
101
+ readonly type: import('vue').PropType<string | number>;
102
+ readonly default: "";
103
+ };
100
104
  }>> & Readonly<{
101
105
  onClear?: (() => any) | undefined;
102
106
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
@@ -119,6 +123,7 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
119
123
  visibleChange: (visible: boolean) => void;
120
124
  }, import('vue').PublicProps, {
121
125
  readonly size: import('@cyberpunk-vue/hooks').Size;
126
+ readonly width: string | number;
122
127
  readonly variant: import('.').DropdownVariant;
123
128
  readonly disabled: boolean;
124
129
  readonly color: string;
@@ -231,6 +236,10 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
231
236
  readonly type: NumberConstructor;
232
237
  readonly default: 150;
233
238
  };
239
+ readonly width: {
240
+ readonly type: import('vue').PropType<string | number>;
241
+ readonly default: "";
242
+ };
234
243
  }>> & Readonly<{
235
244
  onClear?: (() => any) | undefined;
236
245
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
@@ -246,6 +255,7 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
246
255
  blur: () => void;
247
256
  }, {}, {}, {}, {
248
257
  readonly size: import('@cyberpunk-vue/hooks').Size;
258
+ readonly width: string | number;
249
259
  readonly variant: import('.').DropdownVariant;
250
260
  readonly disabled: boolean;
251
261
  readonly color: string;
@@ -350,6 +360,10 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
350
360
  readonly type: NumberConstructor;
351
361
  readonly default: 150;
352
362
  };
363
+ readonly width: {
364
+ readonly type: import('vue').PropType<string | number>;
365
+ readonly default: "";
366
+ };
353
367
  }>> & Readonly<{
354
368
  onClear?: (() => any) | undefined;
355
369
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
@@ -372,6 +386,7 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
372
386
  visibleChange: (visible: boolean) => void;
373
387
  }, string, {
374
388
  readonly size: import('@cyberpunk-vue/hooks').Size;
389
+ readonly width: string | number;
375
390
  readonly variant: import('.').DropdownVariant;
376
391
  readonly disabled: boolean;
377
392
  readonly color: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../dropdown/index.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAwB,CAAA;AAC/C,eAAe,UAAU,CAAA;AAEzB,cAAc,gBAAgB,CAAA;AAC9B,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../dropdown/index.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAwB,CAAA;AAC/C,eAAe,UAAU,CAAA;AAEzB,cAAc,gBAAgB,CAAA;AAC9B,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA"}
@@ -234,6 +234,16 @@ export declare const dropdownProps: {
234
234
  readonly type: NumberConstructor;
235
235
  readonly default: 150;
236
236
  };
237
+ /**
238
+ * 下拉框宽度
239
+ * 支持数字 (px) 或带单位字符串 (如 '200px', '15rem')。
240
+ * 为空时默认 100%(铺满父容器)。
241
+ * @default ''
242
+ */
243
+ readonly width: {
244
+ readonly type: PropType<string | number>;
245
+ readonly default: "";
246
+ };
237
247
  };
238
248
  export type DropdownProps = ExtractPropTypes<typeof dropdownProps>;
239
249
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../dropdown/src/dropdown.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACrD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAEhD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG,IAAI,CAAA;AAE/B;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAA;AAExD;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE5D;;GAEG;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IAG7C;;;OAGG;;uBAEyB,QAAQ,CAAC,MAAM,GAAG,WAAW,CAAC;;;IAG1D;;;OAGG;;;;;IAKH;;;OAGG;;;;;IAKH;;;OAGG;;;;;IAKH;;;;;OAKG;;;;;IAKH;;;;;OAKG;;uBAEyB,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC;;;CAG7C,CAAA;AAEV,MAAM,MAAM,aAAa,GAAG,gBAAgB,CAAC,OAAO,aAAa,CAAC,CAAA;AAElE;;GAEG;AACH,eAAO,MAAM,aAAa;IACxB;;OAEG;iCAC0B,MAAM,GAAG,MAAM;IAC5C;;OAEG;oBACa,MAAM,GAAG,MAAM;IAC/B;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;6BACsB,OAAO;CACjC,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAA"}
@@ -98,6 +98,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
98
98
  readonly type: NumberConstructor;
99
99
  readonly default: 150;
100
100
  };
101
+ readonly width: {
102
+ readonly type: import('vue').PropType<string | number>;
103
+ readonly default: "";
104
+ };
101
105
  }>, {
102
106
  /** @description 打开下拉面板 */
103
107
  open: () => void;
@@ -197,6 +201,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
197
201
  readonly type: NumberConstructor;
198
202
  readonly default: 150;
199
203
  };
204
+ readonly width: {
205
+ readonly type: import('vue').PropType<string | number>;
206
+ readonly default: "";
207
+ };
200
208
  }>> & Readonly<{
201
209
  onClear?: (() => any) | undefined;
202
210
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
@@ -206,6 +214,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
206
214
  onVisibleChange?: ((visible: boolean) => any) | undefined;
207
215
  }>, {
208
216
  readonly size: import('@cyberpunk-vue/hooks').Size;
217
+ readonly width: string | number;
209
218
  readonly variant: import('./dropdown').DropdownVariant;
210
219
  readonly disabled: boolean;
211
220
  readonly color: string;
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown.vue.d.ts","sourceRoot":"","sources":["../../../dropdown/src/dropdown.vue"],"names":[],"mappings":"AA+bA,OAAO,EAAgC,KAAK,cAAc,EAAE,MAAM,YAAY,CAAA;AAyU9E,iBAAS,cAAc;WAgMT,OAAO,IAA6B;;wBAhBtB,GAAG;uBACH,GAAG;;;YACD,GAAG;;;;;;;;;EAmBhC;AAkCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA/QnB,0BAA0B;;IAE1B,0BAA0B;;IAE1B,0BAA0B;;IAE1B,4BAA4B;;IAE5B,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAiR5B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"dropdown.vue.d.ts","sourceRoot":"","sources":["../../../dropdown/src/dropdown.vue"],"names":[],"mappings":"AAocA,OAAO,EAAgC,KAAK,cAAc,EAAE,MAAM,YAAY,CAAA;AA8U9E,iBAAS,cAAc;WAgMT,OAAO,IAA6B;;wBAhBtB,GAAG;uBACH,GAAG;;;YACD,GAAG;;;;;;;;;EAmBhC;AAkCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9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