@kong/kongponents 9.23.2-pr.2641.251834ff0.0 → 9.23.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/dist/types/components/KBadge/KBadge.vue.d.ts +3 -3
- package/dist/types/components/KDropdown/KDropdown.vue.d.ts +31 -31
- package/dist/types/components/KPop/KPop.vue.d.ts +6 -6
- package/dist/types/components/KTooltip/KTooltip.vue.d.ts +2 -2
- package/dist/types/types/popover.d.ts +2 -1
- package/package.json +30 -29
|
@@ -236,8 +236,8 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
236
236
|
};
|
|
237
237
|
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
238
238
|
label: string;
|
|
239
|
-
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
240
239
|
text: string;
|
|
240
|
+
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
241
241
|
maxWidth: string;
|
|
242
242
|
zIndex: number;
|
|
243
243
|
tooltipId: string;
|
|
@@ -282,8 +282,8 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
282
282
|
};
|
|
283
283
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
284
284
|
label: string;
|
|
285
|
-
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
286
285
|
text: string;
|
|
286
|
+
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
287
287
|
maxWidth: string;
|
|
288
288
|
zIndex: number;
|
|
289
289
|
tooltipId: string;
|
|
@@ -325,8 +325,8 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
325
325
|
};
|
|
326
326
|
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
327
327
|
label: string;
|
|
328
|
-
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
329
328
|
text: string;
|
|
329
|
+
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
330
330
|
maxWidth: string;
|
|
331
331
|
zIndex: number;
|
|
332
332
|
tooltipId: string;
|
|
@@ -39,8 +39,8 @@ declare const tooltipComponent: import("vue").ComputedRef<"div" | ({
|
|
|
39
39
|
};
|
|
40
40
|
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
41
41
|
label: string;
|
|
42
|
-
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
43
42
|
text: string;
|
|
43
|
+
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
44
44
|
maxWidth: string;
|
|
45
45
|
zIndex: number;
|
|
46
46
|
tooltipId: string;
|
|
@@ -85,8 +85,8 @@ declare const tooltipComponent: import("vue").ComputedRef<"div" | ({
|
|
|
85
85
|
};
|
|
86
86
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
87
87
|
label: string;
|
|
88
|
-
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
89
88
|
text: string;
|
|
89
|
+
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
90
90
|
maxWidth: string;
|
|
91
91
|
zIndex: number;
|
|
92
92
|
tooltipId: string;
|
|
@@ -128,8 +128,8 @@ declare const tooltipComponent: import("vue").ComputedRef<"div" | ({
|
|
|
128
128
|
};
|
|
129
129
|
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
130
130
|
label: string;
|
|
131
|
-
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
132
131
|
text: string;
|
|
132
|
+
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
133
133
|
maxWidth: string;
|
|
134
134
|
zIndex: number;
|
|
135
135
|
tooltipId: string;
|
|
@@ -147,11 +147,9 @@ declare const kPop: Ref<({
|
|
|
147
147
|
$data: {};
|
|
148
148
|
$props: Partial<{
|
|
149
149
|
title: string;
|
|
150
|
-
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
151
|
-
popoverClasses: string;
|
|
152
|
-
offset: string;
|
|
153
150
|
disabled: boolean;
|
|
154
151
|
buttonText: string;
|
|
152
|
+
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
155
153
|
trigger: "click" | "hover";
|
|
156
154
|
popoverTimeout: number;
|
|
157
155
|
hideCloseIcon: boolean;
|
|
@@ -160,15 +158,15 @@ declare const kPop: Ref<({
|
|
|
160
158
|
width: string;
|
|
161
159
|
maxWidth: string;
|
|
162
160
|
maxHeight: string;
|
|
161
|
+
popoverClasses: string;
|
|
163
162
|
tag: string;
|
|
164
163
|
zIndex: number;
|
|
164
|
+
offset: string;
|
|
165
165
|
}> & Omit<{
|
|
166
166
|
readonly title: string;
|
|
167
|
-
readonly placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
168
|
-
readonly popoverClasses: string;
|
|
169
|
-
readonly offset: string;
|
|
170
167
|
readonly disabled: boolean;
|
|
171
168
|
readonly buttonText: string;
|
|
169
|
+
readonly placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
172
170
|
readonly trigger: "click" | "hover";
|
|
173
171
|
readonly popoverTimeout: number;
|
|
174
172
|
readonly hideCloseIcon: boolean;
|
|
@@ -177,12 +175,14 @@ declare const kPop: Ref<({
|
|
|
177
175
|
readonly width: string;
|
|
178
176
|
readonly maxWidth: string;
|
|
179
177
|
readonly maxHeight: string;
|
|
178
|
+
readonly popoverClasses: string;
|
|
180
179
|
readonly tag: string;
|
|
181
180
|
readonly zIndex: number;
|
|
181
|
+
readonly offset: string;
|
|
182
182
|
readonly onOpen?: ((...args: any[]) => any) | undefined;
|
|
183
183
|
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
184
184
|
readonly "onPopover-click"?: ((...args: any[]) => any) | undefined;
|
|
185
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "
|
|
185
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "disabled" | "buttonText" | "placement" | "trigger" | "popoverTimeout" | "hideCloseIcon" | "hideCaret" | "closeOnPopoverClick" | "width" | "maxWidth" | "maxHeight" | "popoverClasses" | "tag" | "zIndex" | "offset">;
|
|
186
186
|
$attrs: {
|
|
187
187
|
[x: string]: unknown;
|
|
188
188
|
};
|
|
@@ -277,11 +277,9 @@ declare const kPop: Ref<({
|
|
|
277
277
|
"popover-click": (...args: any[]) => void;
|
|
278
278
|
}, string, {
|
|
279
279
|
title: string;
|
|
280
|
-
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
281
|
-
popoverClasses: string;
|
|
282
|
-
offset: string;
|
|
283
280
|
disabled: boolean;
|
|
284
281
|
buttonText: string;
|
|
282
|
+
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
285
283
|
trigger: "click" | "hover";
|
|
286
284
|
popoverTimeout: number;
|
|
287
285
|
hideCloseIcon: boolean;
|
|
@@ -290,8 +288,10 @@ declare const kPop: Ref<({
|
|
|
290
288
|
width: string;
|
|
291
289
|
maxWidth: string;
|
|
292
290
|
maxHeight: string;
|
|
291
|
+
popoverClasses: string;
|
|
293
292
|
tag: string;
|
|
294
293
|
zIndex: number;
|
|
294
|
+
offset: string;
|
|
295
295
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
296
296
|
beforeCreate?: (() => void) | (() => void)[];
|
|
297
297
|
created?: (() => void) | (() => void)[];
|
|
@@ -314,11 +314,9 @@ declare const kPop: Ref<({
|
|
|
314
314
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
315
315
|
} & Readonly<{
|
|
316
316
|
title: string;
|
|
317
|
-
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
318
|
-
popoverClasses: string;
|
|
319
|
-
offset: string;
|
|
320
317
|
disabled: boolean;
|
|
321
318
|
buttonText: string;
|
|
319
|
+
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
322
320
|
trigger: "click" | "hover";
|
|
323
321
|
popoverTimeout: number;
|
|
324
322
|
hideCloseIcon: boolean;
|
|
@@ -327,8 +325,10 @@ declare const kPop: Ref<({
|
|
|
327
325
|
width: string;
|
|
328
326
|
maxWidth: string;
|
|
329
327
|
maxHeight: string;
|
|
328
|
+
popoverClasses: string;
|
|
330
329
|
tag: string;
|
|
331
330
|
zIndex: number;
|
|
331
|
+
offset: string;
|
|
332
332
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
333
333
|
buttonText: {
|
|
334
334
|
type: StringConstructor;
|
|
@@ -400,7 +400,7 @@ declare const kPop: Ref<({
|
|
|
400
400
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
401
401
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
402
402
|
"onPopover-click"?: ((...args: any[]) => any) | undefined;
|
|
403
|
-
}>, "hidePopover" | "showPopover" | ("title" | "
|
|
403
|
+
}>, "hidePopover" | "showPopover" | ("title" | "disabled" | "buttonText" | "placement" | "trigger" | "popoverTimeout" | "hideCloseIcon" | "hideCaret" | "closeOnPopoverClick" | "width" | "maxWidth" | "maxHeight" | "popoverClasses" | "tag" | "zIndex" | "offset")> & import("vue").ShallowUnwrapRef<{
|
|
404
404
|
hidePopover: () => void;
|
|
405
405
|
showPopover: () => Promise<void>;
|
|
406
406
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
@@ -415,11 +415,9 @@ declare const kPop: Ref<({
|
|
|
415
415
|
$data: {};
|
|
416
416
|
$props: Partial<{
|
|
417
417
|
title: string;
|
|
418
|
-
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
419
|
-
popoverClasses: string;
|
|
420
|
-
offset: string;
|
|
421
418
|
disabled: boolean;
|
|
422
419
|
buttonText: string;
|
|
420
|
+
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
423
421
|
trigger: "click" | "hover";
|
|
424
422
|
popoverTimeout: number;
|
|
425
423
|
hideCloseIcon: boolean;
|
|
@@ -428,15 +426,15 @@ declare const kPop: Ref<({
|
|
|
428
426
|
width: string;
|
|
429
427
|
maxWidth: string;
|
|
430
428
|
maxHeight: string;
|
|
429
|
+
popoverClasses: string;
|
|
431
430
|
tag: string;
|
|
432
431
|
zIndex: number;
|
|
432
|
+
offset: string;
|
|
433
433
|
}> & Omit<{
|
|
434
434
|
readonly title: string;
|
|
435
|
-
readonly placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
436
|
-
readonly popoverClasses: string;
|
|
437
|
-
readonly offset: string;
|
|
438
435
|
readonly disabled: boolean;
|
|
439
436
|
readonly buttonText: string;
|
|
437
|
+
readonly placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
440
438
|
readonly trigger: "click" | "hover";
|
|
441
439
|
readonly popoverTimeout: number;
|
|
442
440
|
readonly hideCloseIcon: boolean;
|
|
@@ -445,12 +443,14 @@ declare const kPop: Ref<({
|
|
|
445
443
|
readonly width: string;
|
|
446
444
|
readonly maxWidth: string;
|
|
447
445
|
readonly maxHeight: string;
|
|
446
|
+
readonly popoverClasses: string;
|
|
448
447
|
readonly tag: string;
|
|
449
448
|
readonly zIndex: number;
|
|
449
|
+
readonly offset: string;
|
|
450
450
|
readonly onOpen?: ((...args: any[]) => any) | undefined;
|
|
451
451
|
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
452
452
|
readonly "onPopover-click"?: ((...args: any[]) => any) | undefined;
|
|
453
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "
|
|
453
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "disabled" | "buttonText" | "placement" | "trigger" | "popoverTimeout" | "hideCloseIcon" | "hideCaret" | "closeOnPopoverClick" | "width" | "maxWidth" | "maxHeight" | "popoverClasses" | "tag" | "zIndex" | "offset">;
|
|
454
454
|
$attrs: {
|
|
455
455
|
[x: string]: unknown;
|
|
456
456
|
};
|
|
@@ -545,11 +545,9 @@ declare const kPop: Ref<({
|
|
|
545
545
|
"popover-click": (...args: any[]) => void;
|
|
546
546
|
}, string, {
|
|
547
547
|
title: string;
|
|
548
|
-
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
549
|
-
popoverClasses: string;
|
|
550
|
-
offset: string;
|
|
551
548
|
disabled: boolean;
|
|
552
549
|
buttonText: string;
|
|
550
|
+
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
553
551
|
trigger: "click" | "hover";
|
|
554
552
|
popoverTimeout: number;
|
|
555
553
|
hideCloseIcon: boolean;
|
|
@@ -558,8 +556,10 @@ declare const kPop: Ref<({
|
|
|
558
556
|
width: string;
|
|
559
557
|
maxWidth: string;
|
|
560
558
|
maxHeight: string;
|
|
559
|
+
popoverClasses: string;
|
|
561
560
|
tag: string;
|
|
562
561
|
zIndex: number;
|
|
562
|
+
offset: string;
|
|
563
563
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
564
564
|
beforeCreate?: (() => void) | (() => void)[];
|
|
565
565
|
created?: (() => void) | (() => void)[];
|
|
@@ -582,11 +582,9 @@ declare const kPop: Ref<({
|
|
|
582
582
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
583
583
|
} & Readonly<{
|
|
584
584
|
title: string;
|
|
585
|
-
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
586
|
-
popoverClasses: string;
|
|
587
|
-
offset: string;
|
|
588
585
|
disabled: boolean;
|
|
589
586
|
buttonText: string;
|
|
587
|
+
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
590
588
|
trigger: "click" | "hover";
|
|
591
589
|
popoverTimeout: number;
|
|
592
590
|
hideCloseIcon: boolean;
|
|
@@ -595,8 +593,10 @@ declare const kPop: Ref<({
|
|
|
595
593
|
width: string;
|
|
596
594
|
maxWidth: string;
|
|
597
595
|
maxHeight: string;
|
|
596
|
+
popoverClasses: string;
|
|
598
597
|
tag: string;
|
|
599
598
|
zIndex: number;
|
|
599
|
+
offset: string;
|
|
600
600
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
601
601
|
buttonText: {
|
|
602
602
|
type: StringConstructor;
|
|
@@ -668,7 +668,7 @@ declare const kPop: Ref<({
|
|
|
668
668
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
669
669
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
670
670
|
"onPopover-click"?: ((...args: any[]) => any) | undefined;
|
|
671
|
-
}>, "hidePopover" | "showPopover" | ("title" | "
|
|
671
|
+
}>, "hidePopover" | "showPopover" | ("title" | "disabled" | "buttonText" | "placement" | "trigger" | "popoverTimeout" | "hideCloseIcon" | "hideCaret" | "closeOnPopoverClick" | "width" | "maxWidth" | "maxHeight" | "popoverClasses" | "tag" | "zIndex" | "offset")> & import("vue").ShallowUnwrapRef<{
|
|
672
672
|
hidePopover: () => void;
|
|
673
673
|
showPopover: () => Promise<void>;
|
|
674
674
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
@@ -203,11 +203,9 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
203
203
|
"onPopover-click"?: ((...args: any[]) => any) | undefined;
|
|
204
204
|
}>, {
|
|
205
205
|
title: string;
|
|
206
|
-
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
207
|
-
popoverClasses: string;
|
|
208
|
-
offset: string;
|
|
209
206
|
disabled: boolean;
|
|
210
207
|
buttonText: string;
|
|
208
|
+
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
211
209
|
trigger: "click" | "hover";
|
|
212
210
|
popoverTimeout: number;
|
|
213
211
|
hideCloseIcon: boolean;
|
|
@@ -216,8 +214,10 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
216
214
|
width: string;
|
|
217
215
|
maxWidth: string;
|
|
218
216
|
maxHeight: string;
|
|
217
|
+
popoverClasses: string;
|
|
219
218
|
tag: string;
|
|
220
219
|
zIndex: number;
|
|
220
|
+
offset: string;
|
|
221
221
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
222
222
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
223
223
|
buttonText: {
|
|
@@ -366,11 +366,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
366
366
|
"onPopover-click"?: ((...args: any[]) => any) | undefined;
|
|
367
367
|
}>, {
|
|
368
368
|
title: string;
|
|
369
|
-
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
370
|
-
popoverClasses: string;
|
|
371
|
-
offset: string;
|
|
372
369
|
disabled: boolean;
|
|
373
370
|
buttonText: string;
|
|
371
|
+
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
374
372
|
trigger: "click" | "hover";
|
|
375
373
|
popoverTimeout: number;
|
|
376
374
|
hideCloseIcon: boolean;
|
|
@@ -379,8 +377,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
379
377
|
width: string;
|
|
380
378
|
maxWidth: string;
|
|
381
379
|
maxHeight: string;
|
|
380
|
+
popoverClasses: string;
|
|
382
381
|
tag: string;
|
|
383
382
|
zIndex: number;
|
|
383
|
+
offset: string;
|
|
384
384
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
385
385
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
386
386
|
export default _default;
|
|
@@ -108,8 +108,8 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
108
108
|
};
|
|
109
109
|
}>> & Readonly<{}>, {
|
|
110
110
|
label: string;
|
|
111
|
-
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
112
111
|
text: string;
|
|
112
|
+
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
113
113
|
maxWidth: string;
|
|
114
114
|
zIndex: number;
|
|
115
115
|
tooltipId: string;
|
|
@@ -203,8 +203,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
203
203
|
};
|
|
204
204
|
}>> & Readonly<{}>, {
|
|
205
205
|
label: string;
|
|
206
|
-
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
207
206
|
text: string;
|
|
207
|
+
placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
208
208
|
maxWidth: string;
|
|
209
209
|
zIndex: number;
|
|
210
210
|
tooltipId: string;
|
|
@@ -3,8 +3,9 @@ export declare const PopTriggerArray: readonly ["click", "hover"];
|
|
|
3
3
|
export type PopTrigger = AnyElementOf<typeof PopTriggerArray>;
|
|
4
4
|
export declare const PopPlacementsArray: readonly ["auto", "top", "top-start", "top-end", "left", "left-start", "left-end", "right", "right-start", "right-end", "bottom", "bottom-start", "bottom-end"];
|
|
5
5
|
export type PopPlacements = AnyElementOf<typeof PopPlacementsArray>;
|
|
6
|
-
export interface PopoverAttributes
|
|
6
|
+
export interface PopoverAttributes {
|
|
7
7
|
placement?: PopPlacements;
|
|
8
8
|
popoverClasses?: string;
|
|
9
9
|
offset?: string;
|
|
10
|
+
width?: string;
|
|
10
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kong/kongponents",
|
|
3
|
-
"version": "9.23.2
|
|
3
|
+
"version": "9.23.2",
|
|
4
4
|
"description": "Kong Component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -26,6 +26,33 @@
|
|
|
26
26
|
"./package.json": "./package.json",
|
|
27
27
|
"./dist/*": "./dist/*"
|
|
28
28
|
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"build:cli": "rimraf ./bin && tsc --project ./cli/tsconfig.json && chmod u+x ./bin/index.js",
|
|
31
|
+
"build:docs": "vitepress build docs",
|
|
32
|
+
"build:kongponents": "pnpm typecheck && vite build && vue-tsc -p './tsconfig.build.json' --emitDeclarationOnly && tsc-alias -p './tsconfig.build.json'",
|
|
33
|
+
"build:visualize": "cross-env-shell BUILD_VISUALIZER=true vite build -m production",
|
|
34
|
+
"build": "pnpm build:cli && pnpm stylelint && pnpm lint && pnpm build:kongponents && pnpm build:docs",
|
|
35
|
+
"build:ci": "pnpm build:kongponents && pnpm build:docs",
|
|
36
|
+
"commit": "cz",
|
|
37
|
+
"create-kongponent": "node ./bin/index.js",
|
|
38
|
+
"sandbox:dev": "cross-env USE_SANDBOX=true vite",
|
|
39
|
+
"sandbox:build": "cross-env USE_SANDBOX=true vite build && shx cp sandbox/dist/index.html sandbox/dist/404.html",
|
|
40
|
+
"sandbox:build:netlify": "cross-env USE_SANDBOX=true USE_NETLIFY=true vite build && shx cp sandbox/dist/index.html sandbox/dist/404.html",
|
|
41
|
+
"sandbox:preview": "cross-env USE_SANDBOX=true vite preview",
|
|
42
|
+
"docs:build": "vitepress build docs",
|
|
43
|
+
"docs:dev": "vitepress dev docs",
|
|
44
|
+
"docs:serve": "vitepress serve docs",
|
|
45
|
+
"docs:preview": "vitepress preview docs --port 8080",
|
|
46
|
+
"typecheck": "vue-tsc -p './tsconfig.build.json' --noEmit",
|
|
47
|
+
"lint": "eslint",
|
|
48
|
+
"lint:fix": "eslint --fix",
|
|
49
|
+
"stylelint": "stylelint './src/**/*.{css,scss,sass,vue}'",
|
|
50
|
+
"stylelint:fix": "stylelint './src/**/*.{css,scss,sass,vue}' --fix",
|
|
51
|
+
"test": "cypress run --component -b chrome",
|
|
52
|
+
"test:open": "cypress open --component -b chrome",
|
|
53
|
+
"test:spec": "cypress run --component -b chrome --spec",
|
|
54
|
+
"semantic-release": "semantic-release"
|
|
55
|
+
},
|
|
29
56
|
"dependencies": {
|
|
30
57
|
"@floating-ui/vue": "^1.1.6",
|
|
31
58
|
"@kong/icons": "^1.21.2",
|
|
@@ -156,6 +183,7 @@
|
|
|
156
183
|
"engines": {
|
|
157
184
|
"node": ">=v16.20.2 || >=18.12.1 || >=20.14.0"
|
|
158
185
|
},
|
|
186
|
+
"packageManager": "pnpm@9.11.0",
|
|
159
187
|
"volta": {
|
|
160
188
|
"node": "20.17.0",
|
|
161
189
|
"pnpm": "9.11.0"
|
|
@@ -169,32 +197,5 @@
|
|
|
169
197
|
"jiraPrepend": "[",
|
|
170
198
|
"jiraAppend": "]"
|
|
171
199
|
}
|
|
172
|
-
},
|
|
173
|
-
"scripts": {
|
|
174
|
-
"build:cli": "rimraf ./bin && tsc --project ./cli/tsconfig.json && chmod u+x ./bin/index.js",
|
|
175
|
-
"build:docs": "vitepress build docs",
|
|
176
|
-
"build:kongponents": "pnpm typecheck && vite build && vue-tsc -p './tsconfig.build.json' --emitDeclarationOnly && tsc-alias -p './tsconfig.build.json'",
|
|
177
|
-
"build:visualize": "cross-env-shell BUILD_VISUALIZER=true vite build -m production",
|
|
178
|
-
"build": "pnpm build:cli && pnpm stylelint && pnpm lint && pnpm build:kongponents && pnpm build:docs",
|
|
179
|
-
"build:ci": "pnpm build:kongponents && pnpm build:docs",
|
|
180
|
-
"commit": "cz",
|
|
181
|
-
"create-kongponent": "node ./bin/index.js",
|
|
182
|
-
"sandbox:dev": "cross-env USE_SANDBOX=true vite",
|
|
183
|
-
"sandbox:build": "cross-env USE_SANDBOX=true vite build && shx cp sandbox/dist/index.html sandbox/dist/404.html",
|
|
184
|
-
"sandbox:build:netlify": "cross-env USE_SANDBOX=true USE_NETLIFY=true vite build && shx cp sandbox/dist/index.html sandbox/dist/404.html",
|
|
185
|
-
"sandbox:preview": "cross-env USE_SANDBOX=true vite preview",
|
|
186
|
-
"docs:build": "vitepress build docs",
|
|
187
|
-
"docs:dev": "vitepress dev docs",
|
|
188
|
-
"docs:serve": "vitepress serve docs",
|
|
189
|
-
"docs:preview": "vitepress preview docs --port 8080",
|
|
190
|
-
"typecheck": "vue-tsc -p './tsconfig.build.json' --noEmit",
|
|
191
|
-
"lint": "eslint",
|
|
192
|
-
"lint:fix": "eslint --fix",
|
|
193
|
-
"stylelint": "stylelint './src/**/*.{css,scss,sass,vue}'",
|
|
194
|
-
"stylelint:fix": "stylelint './src/**/*.{css,scss,sass,vue}' --fix",
|
|
195
|
-
"test": "cypress run --component -b chrome",
|
|
196
|
-
"test:open": "cypress open --component -b chrome",
|
|
197
|
-
"test:spec": "cypress run --component -b chrome --spec",
|
|
198
|
-
"semantic-release": "semantic-release"
|
|
199
200
|
}
|
|
200
|
-
}
|
|
201
|
+
}
|