@kong/kongponents 9.23.1 → 9.23.2-pr.2641.251834ff0.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.
@@ -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
- text: string;
240
239
  placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
240
+ text: string;
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
- text: string;
286
285
  placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
286
+ text: string;
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
- text: string;
329
328
  placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
329
+ text: string;
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
- text: string;
43
42
  placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
43
+ text: string;
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
- text: string;
89
88
  placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
89
+ text: string;
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
- text: string;
132
131
  placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
132
+ text: string;
133
133
  maxWidth: string;
134
134
  zIndex: number;
135
135
  tooltipId: string;
@@ -147,9 +147,11 @@ 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;
150
153
  disabled: boolean;
151
154
  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";
153
155
  trigger: "click" | "hover";
154
156
  popoverTimeout: number;
155
157
  hideCloseIcon: boolean;
@@ -158,15 +160,15 @@ declare const kPop: Ref<({
158
160
  width: string;
159
161
  maxWidth: string;
160
162
  maxHeight: string;
161
- popoverClasses: string;
162
163
  tag: string;
163
164
  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;
167
170
  readonly disabled: boolean;
168
171
  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";
170
172
  readonly trigger: "click" | "hover";
171
173
  readonly popoverTimeout: number;
172
174
  readonly hideCloseIcon: boolean;
@@ -175,14 +177,12 @@ declare const kPop: Ref<({
175
177
  readonly width: string;
176
178
  readonly maxWidth: string;
177
179
  readonly maxHeight: string;
178
- readonly popoverClasses: string;
179
180
  readonly tag: string;
180
181
  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" | "disabled" | "buttonText" | "placement" | "trigger" | "popoverTimeout" | "hideCloseIcon" | "hideCaret" | "closeOnPopoverClick" | "width" | "maxWidth" | "maxHeight" | "popoverClasses" | "tag" | "zIndex" | "offset">;
185
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "placement" | "popoverClasses" | "offset" | "disabled" | "buttonText" | "trigger" | "popoverTimeout" | "hideCloseIcon" | "hideCaret" | "closeOnPopoverClick" | "width" | "maxWidth" | "maxHeight" | "tag" | "zIndex">;
186
186
  $attrs: {
187
187
  [x: string]: unknown;
188
188
  };
@@ -277,9 +277,11 @@ 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;
280
283
  disabled: boolean;
281
284
  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";
283
285
  trigger: "click" | "hover";
284
286
  popoverTimeout: number;
285
287
  hideCloseIcon: boolean;
@@ -288,10 +290,8 @@ declare const kPop: Ref<({
288
290
  width: string;
289
291
  maxWidth: string;
290
292
  maxHeight: string;
291
- popoverClasses: string;
292
293
  tag: string;
293
294
  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,9 +314,11 @@ 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;
317
320
  disabled: boolean;
318
321
  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";
320
322
  trigger: "click" | "hover";
321
323
  popoverTimeout: number;
322
324
  hideCloseIcon: boolean;
@@ -325,10 +327,8 @@ declare const kPop: Ref<({
325
327
  width: string;
326
328
  maxWidth: string;
327
329
  maxHeight: string;
328
- popoverClasses: string;
329
330
  tag: string;
330
331
  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" | "disabled" | "buttonText" | "placement" | "trigger" | "popoverTimeout" | "hideCloseIcon" | "hideCaret" | "closeOnPopoverClick" | "width" | "maxWidth" | "maxHeight" | "popoverClasses" | "tag" | "zIndex" | "offset")> & import("vue").ShallowUnwrapRef<{
403
+ }>, "hidePopover" | "showPopover" | ("title" | "placement" | "popoverClasses" | "offset" | "disabled" | "buttonText" | "trigger" | "popoverTimeout" | "hideCloseIcon" | "hideCaret" | "closeOnPopoverClick" | "width" | "maxWidth" | "maxHeight" | "tag" | "zIndex")> & import("vue").ShallowUnwrapRef<{
404
404
  hidePopover: () => void;
405
405
  showPopover: () => Promise<void>;
406
406
  }> & {} & import("vue").ComponentCustomProperties & {} & {
@@ -415,9 +415,11 @@ 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;
418
421
  disabled: boolean;
419
422
  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";
421
423
  trigger: "click" | "hover";
422
424
  popoverTimeout: number;
423
425
  hideCloseIcon: boolean;
@@ -426,15 +428,15 @@ declare const kPop: Ref<({
426
428
  width: string;
427
429
  maxWidth: string;
428
430
  maxHeight: string;
429
- popoverClasses: string;
430
431
  tag: string;
431
432
  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;
435
438
  readonly disabled: boolean;
436
439
  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";
438
440
  readonly trigger: "click" | "hover";
439
441
  readonly popoverTimeout: number;
440
442
  readonly hideCloseIcon: boolean;
@@ -443,14 +445,12 @@ declare const kPop: Ref<({
443
445
  readonly width: string;
444
446
  readonly maxWidth: string;
445
447
  readonly maxHeight: string;
446
- readonly popoverClasses: string;
447
448
  readonly tag: string;
448
449
  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" | "disabled" | "buttonText" | "placement" | "trigger" | "popoverTimeout" | "hideCloseIcon" | "hideCaret" | "closeOnPopoverClick" | "width" | "maxWidth" | "maxHeight" | "popoverClasses" | "tag" | "zIndex" | "offset">;
453
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "placement" | "popoverClasses" | "offset" | "disabled" | "buttonText" | "trigger" | "popoverTimeout" | "hideCloseIcon" | "hideCaret" | "closeOnPopoverClick" | "width" | "maxWidth" | "maxHeight" | "tag" | "zIndex">;
454
454
  $attrs: {
455
455
  [x: string]: unknown;
456
456
  };
@@ -545,9 +545,11 @@ 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;
548
551
  disabled: boolean;
549
552
  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";
551
553
  trigger: "click" | "hover";
552
554
  popoverTimeout: number;
553
555
  hideCloseIcon: boolean;
@@ -556,10 +558,8 @@ declare const kPop: Ref<({
556
558
  width: string;
557
559
  maxWidth: string;
558
560
  maxHeight: string;
559
- popoverClasses: string;
560
561
  tag: string;
561
562
  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,9 +582,11 @@ 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;
585
588
  disabled: boolean;
586
589
  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";
588
590
  trigger: "click" | "hover";
589
591
  popoverTimeout: number;
590
592
  hideCloseIcon: boolean;
@@ -593,10 +595,8 @@ declare const kPop: Ref<({
593
595
  width: string;
594
596
  maxWidth: string;
595
597
  maxHeight: string;
596
- popoverClasses: string;
597
598
  tag: string;
598
599
  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" | "disabled" | "buttonText" | "placement" | "trigger" | "popoverTimeout" | "hideCloseIcon" | "hideCaret" | "closeOnPopoverClick" | "width" | "maxWidth" | "maxHeight" | "popoverClasses" | "tag" | "zIndex" | "offset")> & import("vue").ShallowUnwrapRef<{
671
+ }>, "hidePopover" | "showPopover" | ("title" | "placement" | "popoverClasses" | "offset" | "disabled" | "buttonText" | "trigger" | "popoverTimeout" | "hideCloseIcon" | "hideCaret" | "closeOnPopoverClick" | "width" | "maxWidth" | "maxHeight" | "tag" | "zIndex")> & import("vue").ShallowUnwrapRef<{
672
672
  hidePopover: () => void;
673
673
  showPopover: () => Promise<void>;
674
674
  }> & {} & import("vue").ComponentCustomProperties & {} & {
@@ -203,9 +203,11 @@ 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;
206
209
  disabled: boolean;
207
210
  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";
209
211
  trigger: "click" | "hover";
210
212
  popoverTimeout: number;
211
213
  hideCloseIcon: boolean;
@@ -214,10 +216,8 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
214
216
  width: string;
215
217
  maxWidth: string;
216
218
  maxHeight: string;
217
- popoverClasses: string;
218
219
  tag: string;
219
220
  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,9 +366,11 @@ 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;
369
372
  disabled: boolean;
370
373
  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";
372
374
  trigger: "click" | "hover";
373
375
  popoverTimeout: number;
374
376
  hideCloseIcon: boolean;
@@ -377,10 +379,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
377
379
  width: string;
378
380
  maxWidth: string;
379
381
  maxHeight: string;
380
- popoverClasses: string;
381
382
  tag: string;
382
383
  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
- text: string;
112
111
  placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
112
+ text: string;
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
- text: string;
207
206
  placement: "auto" | "top" | "top-start" | "top-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end";
207
+ text: string;
208
208
  maxWidth: string;
209
209
  zIndex: number;
210
210
  tooltipId: string;
@@ -3,7 +3,7 @@ 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 extends Record<string, any> {
7
7
  placement?: PopPlacements;
8
8
  popoverClasses?: string;
9
9
  offset?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong/kongponents",
3
- "version": "9.23.1",
3
+ "version": "9.23.2-pr.2641.251834ff0.0",
4
4
  "description": "Kong Component library",
5
5
  "type": "module",
6
6
  "repository": {
@@ -26,33 +26,6 @@
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
- },
56
29
  "dependencies": {
57
30
  "@floating-ui/vue": "^1.1.6",
58
31
  "@kong/icons": "^1.21.2",
@@ -183,7 +156,6 @@
183
156
  "engines": {
184
157
  "node": ">=v16.20.2 || >=18.12.1 || >=20.14.0"
185
158
  },
186
- "packageManager": "pnpm@9.11.0",
187
159
  "volta": {
188
160
  "node": "20.17.0",
189
161
  "pnpm": "9.11.0"
@@ -197,5 +169,32 @@
197
169
  "jiraPrepend": "[",
198
170
  "jiraAppend": "]"
199
171
  }
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"
200
199
  }
201
- }
200
+ }