@scalar/components 0.6.1 → 0.7.4
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/Hide-CH09NdFy.cjs +1 -0
- package/dist/Hide-Q3GPkIKH.js +21 -0
- package/dist/Show-BLBjkPHV.cjs +1 -0
- package/dist/Show-D86hKz5y.js +21 -0
- package/dist/SideBarClosed-BBJuRiRt.cjs +1 -0
- package/dist/SideBarClosed-CYUNS2XM.js +18 -0
- package/dist/SideBarOpen-BOxW49_U.js +18 -0
- package/dist/SideBarOpen-CFo0lhhI.cjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +159 -20
- package/dist/index.js +515 -318
- package/dist/main.css +1 -1
- package/package.json +12 -6
- package/src/tailwind/index.ts +1 -1
- package/src/tailwind/tailwind.theme.ts +16 -0
package/dist/index.d.ts
CHANGED
|
@@ -2,14 +2,25 @@ import type { App } from 'vue';
|
|
|
2
2
|
import { ComponentOptionsMixin } from 'vue';
|
|
3
3
|
import { DefineComponent } from 'vue';
|
|
4
4
|
import { ExtractPropTypes } from 'vue';
|
|
5
|
+
import type { Middleware } from '@floating-ui/vue';
|
|
6
|
+
import { MiddlewareData } from '@floating-ui/vue';
|
|
7
|
+
import type { Placement } from '@floating-ui/vue';
|
|
5
8
|
import { PropType } from 'vue';
|
|
6
9
|
import { PublicProps } from 'vue';
|
|
7
|
-
import { VariantProps } from 'cva';
|
|
10
|
+
import type { VariantProps } from 'cva';
|
|
8
11
|
|
|
9
12
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
13
|
|
|
11
14
|
declare type __VLS_NonUndefinedable_10<T> = T extends undefined ? never : T;
|
|
12
15
|
|
|
16
|
+
declare type __VLS_NonUndefinedable_11<T> = T extends undefined ? never : T;
|
|
17
|
+
|
|
18
|
+
declare type __VLS_NonUndefinedable_12<T> = T extends undefined ? never : T;
|
|
19
|
+
|
|
20
|
+
declare type __VLS_NonUndefinedable_13<T> = T extends undefined ? never : T;
|
|
21
|
+
|
|
22
|
+
declare type __VLS_NonUndefinedable_14<T> = T extends undefined ? never : T;
|
|
23
|
+
|
|
13
24
|
declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
|
|
14
25
|
|
|
15
26
|
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
@@ -68,6 +79,42 @@ declare type __VLS_TypePropsToRuntimeProps_10<T> = {
|
|
|
68
79
|
};
|
|
69
80
|
};
|
|
70
81
|
|
|
82
|
+
declare type __VLS_TypePropsToRuntimeProps_11<T> = {
|
|
83
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
84
|
+
type: PropType<__VLS_NonUndefinedable_11<T[K]>>;
|
|
85
|
+
} : {
|
|
86
|
+
type: PropType<T[K]>;
|
|
87
|
+
required: true;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
declare type __VLS_TypePropsToRuntimeProps_12<T> = {
|
|
92
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
93
|
+
type: PropType<__VLS_NonUndefinedable_12<T[K]>>;
|
|
94
|
+
} : {
|
|
95
|
+
type: PropType<T[K]>;
|
|
96
|
+
required: true;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
declare type __VLS_TypePropsToRuntimeProps_13<T> = {
|
|
101
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
102
|
+
type: PropType<__VLS_NonUndefinedable_13<T[K]>>;
|
|
103
|
+
} : {
|
|
104
|
+
type: PropType<T[K]>;
|
|
105
|
+
required: true;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
declare type __VLS_TypePropsToRuntimeProps_14<T> = {
|
|
110
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
111
|
+
type: PropType<__VLS_NonUndefinedable_14<T[K]>>;
|
|
112
|
+
} : {
|
|
113
|
+
type: PropType<T[K]>;
|
|
114
|
+
required: true;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
|
|
71
118
|
declare type __VLS_TypePropsToRuntimeProps_2<T> = {
|
|
72
119
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
73
120
|
type: PropType<__VLS_NonUndefinedable_2<T[K]>>;
|
|
@@ -182,6 +229,12 @@ declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
182
229
|
};
|
|
183
230
|
};
|
|
184
231
|
|
|
232
|
+
declare type __VLS_WithTemplateSlots_10<T, S> = T & {
|
|
233
|
+
new (): {
|
|
234
|
+
$slots: S;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
|
|
185
238
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
186
239
|
new (): {
|
|
187
240
|
$slots: S;
|
|
@@ -212,11 +265,47 @@ declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
|
212
265
|
};
|
|
213
266
|
};
|
|
214
267
|
|
|
268
|
+
declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
269
|
+
new (): {
|
|
270
|
+
$slots: S;
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
275
|
+
new (): {
|
|
276
|
+
$slots: S;
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
281
|
+
new (): {
|
|
282
|
+
$slots: S;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
|
|
215
286
|
declare const _default: {
|
|
216
287
|
install: (app: App) => void;
|
|
217
288
|
};
|
|
218
289
|
export default _default;
|
|
219
290
|
|
|
291
|
+
declare type FloatingOptions = {
|
|
292
|
+
/**
|
|
293
|
+
* Where to place the floating element relative to its reference element.
|
|
294
|
+
* @default 'bottom'
|
|
295
|
+
* */
|
|
296
|
+
placement?: Placement;
|
|
297
|
+
/**
|
|
298
|
+
* Whether or not track the reference element's width
|
|
299
|
+
* If enabled it will set `width` slot prop of the floating slot
|
|
300
|
+
*/
|
|
301
|
+
resize?: boolean;
|
|
302
|
+
/**
|
|
303
|
+
* Floating UI Middleware to be passed to Floating UI
|
|
304
|
+
* @see https://floating-ui.com/docs/computePosition#middleware
|
|
305
|
+
*/
|
|
306
|
+
middleware?: Middleware[];
|
|
307
|
+
};
|
|
308
|
+
|
|
220
309
|
export declare type Icon = (typeof ICONS)[number];
|
|
221
310
|
|
|
222
311
|
declare const iconProps: (props?: ({
|
|
@@ -277,7 +366,7 @@ declare const iconProps: (props?: ({
|
|
|
277
366
|
} | null | undefined;
|
|
278
367
|
})) | undefined) => string;
|
|
279
368
|
|
|
280
|
-
declare const ICONS: readonly ["Add", "Brackets", "Branch", "Checkmark", "ChevronDown", "ChevronLeft", "ChevronRight", "ChevronUp", "Clipboard", "Close", "CodeFolder", "Cookie", "DarkMode", "DocsPage", "Ellipses", "ExternalLink", "GitHub", "JsonObject", "LightDarkModeToggle", "LightMode", "Logo", "LogoAPI", "LogoClient", "LogoMarket", "LogoSwagger", "Menu", "PaperAirplane", "Search", "Terminal", "programming-framework-angular", "programming-framework-astro", "programming-framework-laravel", "programming-framework-nextdotjs", "programming-framework-react", "programming-framework-vuedotjs", "programming-language-c", "programming-language-clojure", "programming-language-csharp", "programming-language-css3", "programming-language-go", "programming-language-html5", "programming-language-http", "programming-language-java", "programming-language-javascript", "programming-language-json", "programming-language-kotlin", "programming-language-node", "programming-language-objc", "programming-language-ocaml", "programming-language-php", "programming-language-powershell", "programming-language-python", "programming-language-r", "programming-language-ruby", "programming-language-scala", "programming-language-shell", "programming-language-swift", "programming-language-typescript", "programming-script-code", "programming-tool-git", "programming-tool-tailwindcss"];
|
|
369
|
+
declare const ICONS: readonly ["Add", "Brackets", "Branch", "Checkmark", "ChevronDown", "ChevronLeft", "ChevronRight", "ChevronUp", "Clipboard", "Close", "CodeFolder", "Cookie", "DarkMode", "DocsPage", "Ellipses", "ExternalLink", "GitHub", "Hide", "JsonObject", "LightDarkModeToggle", "LightMode", "Logo", "LogoAPI", "LogoClient", "LogoMarket", "LogoSwagger", "Menu", "PaperAirplane", "Search", "Show", "SideBarClosed", "SideBarOpen", "Terminal", "programming-framework-angular", "programming-framework-astro", "programming-framework-laravel", "programming-framework-nextdotjs", "programming-framework-react", "programming-framework-vuedotjs", "programming-language-c", "programming-language-clojure", "programming-language-csharp", "programming-language-css3", "programming-language-go", "programming-language-html5", "programming-language-http", "programming-language-java", "programming-language-javascript", "programming-language-json", "programming-language-kotlin", "programming-language-node", "programming-language-objc", "programming-language-ocaml", "programming-language-php", "programming-language-powershell", "programming-language-python", "programming-language-r", "programming-language-ruby", "programming-language-scala", "programming-language-shell", "programming-language-swift", "programming-language-typescript", "programming-script-code", "programming-tool-git", "programming-tool-tailwindcss"];
|
|
281
370
|
|
|
282
371
|
declare type IconVariants = VariantProps<typeof iconProps>;
|
|
283
372
|
|
|
@@ -351,15 +440,60 @@ export declare const ScalarCodeBlock: DefineComponent<__VLS_WithDefaults_2<__VLS
|
|
|
351
440
|
lineNumbers: boolean;
|
|
352
441
|
}, {}>;
|
|
353
442
|
|
|
354
|
-
export declare const
|
|
443
|
+
export declare const ScalarDropdown: __VLS_WithTemplateSlots_2<DefineComponent<__VLS_TypePropsToRuntimeProps_3<Omit<FloatingOptions, "middleware">>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_3<Omit<FloatingOptions, "middleware">>>>, {}, {}>, {
|
|
444
|
+
default?(_: {}): any;
|
|
445
|
+
items?(_: {}): any;
|
|
446
|
+
}>;
|
|
447
|
+
|
|
448
|
+
export declare const ScalarDropdownDivider: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
449
|
+
|
|
450
|
+
export declare const ScalarDropdownItem: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_TypePropsToRuntimeProps_4<{
|
|
451
|
+
disabled?: boolean | undefined;
|
|
452
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
453
|
+
click: (event: MouseEvent) => void;
|
|
454
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_4<{
|
|
455
|
+
disabled?: boolean | undefined;
|
|
456
|
+
}>>> & {
|
|
457
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
458
|
+
}, {}, {}>, {
|
|
459
|
+
default?(_: {}): any;
|
|
460
|
+
}>;
|
|
461
|
+
|
|
462
|
+
export declare const ScalarFloating: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_TypePropsToRuntimeProps_5<FloatingOptions>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_5<FloatingOptions>>>, {}, {}>, Readonly<{
|
|
463
|
+
/** The reference element for the element in the #floating slot */
|
|
464
|
+
default(): any;
|
|
465
|
+
/** The floating element */
|
|
466
|
+
floating(props: {
|
|
467
|
+
/** The width of the reference element if `resize` is true and placement is on the y axis */
|
|
468
|
+
width?: string | undefined;
|
|
469
|
+
/** The height of the reference element if `resize` is true and placement is on the x axis */
|
|
470
|
+
height?: string | undefined;
|
|
471
|
+
/** The middleware data return by Floating UI */
|
|
472
|
+
data?: MiddlewareData | undefined;
|
|
473
|
+
}): any;
|
|
474
|
+
}> & {
|
|
475
|
+
/** The reference element for the element in the #floating slot */
|
|
476
|
+
default(): any;
|
|
477
|
+
/** The floating element */
|
|
478
|
+
floating(props: {
|
|
479
|
+
/** The width of the reference element if `resize` is true and placement is on the y axis */
|
|
480
|
+
width?: string | undefined;
|
|
481
|
+
/** The height of the reference element if `resize` is true and placement is on the x axis */
|
|
482
|
+
height?: string | undefined;
|
|
483
|
+
/** The middleware data return by Floating UI */
|
|
484
|
+
data?: MiddlewareData | undefined;
|
|
485
|
+
}): any;
|
|
486
|
+
}>;
|
|
487
|
+
|
|
488
|
+
export declare const ScalarIcon: DefineComponent<__VLS_TypePropsToRuntimeProps_6<{
|
|
355
489
|
icon: Icon;
|
|
356
490
|
size?: IconVariants['size'];
|
|
357
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
491
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_6<{
|
|
358
492
|
icon: Icon;
|
|
359
493
|
size?: IconVariants['size'];
|
|
360
494
|
}>>>, {}, {}>;
|
|
361
495
|
|
|
362
|
-
export declare const ScalarIconButton: DefineComponent<__VLS_WithDefaults_3<
|
|
496
|
+
export declare const ScalarIconButton: DefineComponent<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_7<{
|
|
363
497
|
label: string;
|
|
364
498
|
icon: Icon;
|
|
365
499
|
disabled?: boolean | undefined;
|
|
@@ -368,7 +502,7 @@ export declare const ScalarIconButton: DefineComponent<__VLS_WithDefaults_3<__VL
|
|
|
368
502
|
}>, {
|
|
369
503
|
variant: string;
|
|
370
504
|
size: string;
|
|
371
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<
|
|
505
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_7<{
|
|
372
506
|
label: string;
|
|
373
507
|
icon: Icon;
|
|
374
508
|
disabled?: boolean | undefined;
|
|
@@ -382,12 +516,12 @@ export declare const ScalarIconButton: DefineComponent<__VLS_WithDefaults_3<__VL
|
|
|
382
516
|
variant: string;
|
|
383
517
|
}, {}>;
|
|
384
518
|
|
|
385
|
-
export declare const ScalarLoading: DefineComponent<__VLS_WithDefaults_4<
|
|
519
|
+
export declare const ScalarLoading: DefineComponent<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_8<{
|
|
386
520
|
loadingState: LoadingState;
|
|
387
521
|
size?: string | undefined;
|
|
388
522
|
}>, {
|
|
389
523
|
size: string;
|
|
390
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_4<
|
|
524
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_8<{
|
|
391
525
|
loadingState: LoadingState;
|
|
392
526
|
size?: string | undefined;
|
|
393
527
|
}>, {
|
|
@@ -396,7 +530,7 @@ export declare const ScalarLoading: DefineComponent<__VLS_WithDefaults_4<__VLS_T
|
|
|
396
530
|
size: string;
|
|
397
531
|
}, {}>;
|
|
398
532
|
|
|
399
|
-
export declare const ScalarModal:
|
|
533
|
+
export declare const ScalarModal: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_9<{
|
|
400
534
|
state: ReturnType<typeof useModal>;
|
|
401
535
|
title?: string | undefined;
|
|
402
536
|
bodyClass?: string | undefined;
|
|
@@ -405,7 +539,7 @@ export declare const ScalarModal: __VLS_WithTemplateSlots_2<DefineComponent<__VL
|
|
|
405
539
|
variant?: "search" | "history" | undefined;
|
|
406
540
|
}>, {
|
|
407
541
|
size: string;
|
|
408
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_5<
|
|
542
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_9<{
|
|
409
543
|
state: ReturnType<typeof useModal>;
|
|
410
544
|
title?: string | undefined;
|
|
411
545
|
bodyClass?: string | undefined;
|
|
@@ -420,7 +554,12 @@ export declare const ScalarModal: __VLS_WithTemplateSlots_2<DefineComponent<__VL
|
|
|
420
554
|
default?(_: {}): any;
|
|
421
555
|
}>;
|
|
422
556
|
|
|
423
|
-
export declare const
|
|
557
|
+
export declare const ScalarPopover: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_TypePropsToRuntimeProps_10<Omit<FloatingOptions, "middleware">>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_10<Omit<FloatingOptions, "middleware">>>>, {}, {}>, {
|
|
558
|
+
default?(_: {}): any;
|
|
559
|
+
popover?(_: {}): any;
|
|
560
|
+
}>;
|
|
561
|
+
|
|
562
|
+
export declare const ScalarSearchInput: __VLS_WithTemplateSlots_7<DefineComponent<__VLS_TypePropsToRuntimeProps_11<{
|
|
424
563
|
loading?: {
|
|
425
564
|
isValid: boolean;
|
|
426
565
|
isInvalid: boolean;
|
|
@@ -434,7 +573,7 @@ export declare const ScalarSearchInput: __VLS_WithTemplateSlots_3<DefineComponen
|
|
|
434
573
|
modelValue?: string | undefined;
|
|
435
574
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
436
575
|
"update:modelValue": (v: string) => void;
|
|
437
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
576
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_11<{
|
|
438
577
|
loading?: {
|
|
439
578
|
isValid: boolean;
|
|
440
579
|
isInvalid: boolean;
|
|
@@ -452,11 +591,11 @@ export declare const ScalarSearchInput: __VLS_WithTemplateSlots_3<DefineComponen
|
|
|
452
591
|
label?(_: {}): any;
|
|
453
592
|
}>;
|
|
454
593
|
|
|
455
|
-
export declare const ScalarSearchResultItem:
|
|
456
|
-
icon?: "Add" | "Brackets" | "Branch" | "Checkmark" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Clipboard" | "Close" | "CodeFolder" | "Cookie" | "DarkMode" | "DocsPage" | "Ellipses" | "ExternalLink" | "GitHub" | "JsonObject" | "LightDarkModeToggle" | "LightMode" | "Logo" | "LogoAPI" | "LogoClient" | "LogoMarket" | "LogoSwagger" | "
|
|
594
|
+
export declare const ScalarSearchResultItem: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_TypePropsToRuntimeProps_12<{
|
|
595
|
+
icon?: "Menu" | "Add" | "Brackets" | "Branch" | "Checkmark" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Clipboard" | "Close" | "CodeFolder" | "Cookie" | "DarkMode" | "DocsPage" | "Ellipses" | "ExternalLink" | "GitHub" | "Hide" | "JsonObject" | "LightDarkModeToggle" | "LightMode" | "Logo" | "LogoAPI" | "LogoClient" | "LogoMarket" | "LogoSwagger" | "PaperAirplane" | "Search" | "Show" | "SideBarClosed" | "SideBarOpen" | "Terminal" | "programming-framework-angular" | "programming-framework-astro" | "programming-framework-laravel" | "programming-framework-nextdotjs" | "programming-framework-react" | "programming-framework-vuedotjs" | "programming-language-c" | "programming-language-clojure" | "programming-language-csharp" | "programming-language-css3" | "programming-language-go" | "programming-language-html5" | "programming-language-http" | "programming-language-java" | "programming-language-javascript" | "programming-language-json" | "programming-language-kotlin" | "programming-language-node" | "programming-language-objc" | "programming-language-ocaml" | "programming-language-php" | "programming-language-powershell" | "programming-language-python" | "programming-language-r" | "programming-language-ruby" | "programming-language-scala" | "programming-language-shell" | "programming-language-swift" | "programming-language-typescript" | "programming-script-code" | "programming-tool-git" | "programming-tool-tailwindcss" | undefined;
|
|
457
596
|
active?: boolean | undefined;
|
|
458
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
459
|
-
icon?: "Add" | "Brackets" | "Branch" | "Checkmark" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Clipboard" | "Close" | "CodeFolder" | "Cookie" | "DarkMode" | "DocsPage" | "Ellipses" | "ExternalLink" | "GitHub" | "JsonObject" | "LightDarkModeToggle" | "LightMode" | "Logo" | "LogoAPI" | "LogoClient" | "LogoMarket" | "LogoSwagger" | "
|
|
597
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_12<{
|
|
598
|
+
icon?: "Menu" | "Add" | "Brackets" | "Branch" | "Checkmark" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Clipboard" | "Close" | "CodeFolder" | "Cookie" | "DarkMode" | "DocsPage" | "Ellipses" | "ExternalLink" | "GitHub" | "Hide" | "JsonObject" | "LightDarkModeToggle" | "LightMode" | "Logo" | "LogoAPI" | "LogoClient" | "LogoMarket" | "LogoSwagger" | "PaperAirplane" | "Search" | "Show" | "SideBarClosed" | "SideBarOpen" | "Terminal" | "programming-framework-angular" | "programming-framework-astro" | "programming-framework-laravel" | "programming-framework-nextdotjs" | "programming-framework-react" | "programming-framework-vuedotjs" | "programming-language-c" | "programming-language-clojure" | "programming-language-csharp" | "programming-language-css3" | "programming-language-go" | "programming-language-html5" | "programming-language-http" | "programming-language-java" | "programming-language-javascript" | "programming-language-json" | "programming-language-kotlin" | "programming-language-node" | "programming-language-objc" | "programming-language-ocaml" | "programming-language-php" | "programming-language-powershell" | "programming-language-python" | "programming-language-r" | "programming-language-ruby" | "programming-language-scala" | "programming-language-shell" | "programming-language-swift" | "programming-language-typescript" | "programming-script-code" | "programming-tool-git" | "programming-tool-tailwindcss" | undefined;
|
|
460
599
|
active?: boolean | undefined;
|
|
461
600
|
}>>>, {}, {}>, {
|
|
462
601
|
icon?(_: {}): any;
|
|
@@ -465,9 +604,9 @@ export declare const ScalarSearchResultItem: __VLS_WithTemplateSlots_4<DefineCom
|
|
|
465
604
|
description?(_: {}): any;
|
|
466
605
|
}>;
|
|
467
606
|
|
|
468
|
-
export declare const ScalarSearchResultList:
|
|
607
|
+
export declare const ScalarSearchResultList: __VLS_WithTemplateSlots_9<DefineComponent<__VLS_TypePropsToRuntimeProps_13<{
|
|
469
608
|
noResults?: boolean | undefined;
|
|
470
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
609
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_13<{
|
|
471
610
|
noResults?: boolean | undefined;
|
|
472
611
|
}>>>, {}, {}>, {
|
|
473
612
|
noResults?(_: {}): any;
|
|
@@ -475,7 +614,7 @@ export declare const ScalarSearchResultList: __VLS_WithTemplateSlots_5<DefineCom
|
|
|
475
614
|
default?(_: {}): any;
|
|
476
615
|
}>;
|
|
477
616
|
|
|
478
|
-
export declare const ScalarTextField:
|
|
617
|
+
export declare const ScalarTextField: __VLS_WithTemplateSlots_10<DefineComponent<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_14<{
|
|
479
618
|
modelValue: string;
|
|
480
619
|
placeholder?: string | undefined;
|
|
481
620
|
label?: string | undefined;
|
|
@@ -496,7 +635,7 @@ export declare const ScalarTextField: __VLS_WithTemplateSlots_6<DefineComponent<
|
|
|
496
635
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
497
636
|
submit: (v: string) => void;
|
|
498
637
|
"update:modelValue": (v: string) => void;
|
|
499
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_6<
|
|
638
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_14<{
|
|
500
639
|
modelValue: string;
|
|
501
640
|
placeholder?: string | undefined;
|
|
502
641
|
label?: string | undefined;
|