@typlog/ui 0.13.1 → 0.14.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.
- package/addons.js +2 -2
- package/base.css +0 -171
- package/components.css +782 -1
- package/components.d.ts +526 -52
- package/components.js +1113 -116
- package/package.json +1 -1
- package/tailwind.css +33 -0
package/components.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import { AlertDialogProps } from 'reka-ui';
|
|
|
12
12
|
import { AlertDialogRoot } from 'reka-ui';
|
|
13
13
|
import { AlertDialogTrigger } from 'reka-ui';
|
|
14
14
|
import { AlertDialogTriggerProps } from 'reka-ui';
|
|
15
|
+
import { AllowedComponentProps } from 'vue';
|
|
15
16
|
import { AsTag } from 'reka-ui';
|
|
16
17
|
import { CheckboxGroupRoot as CheckboxGroup } from 'reka-ui';
|
|
17
18
|
import { CheckboxGroupRootProps as CheckboxGroupProps } from 'reka-ui';
|
|
@@ -26,12 +27,14 @@ import { ComboboxItemProps } from 'reka-ui';
|
|
|
26
27
|
import { ComboboxLabelProps } from 'reka-ui';
|
|
27
28
|
import { ComboboxRootProps as ComboboxRootProps_2 } from 'reka-ui';
|
|
28
29
|
import { Component } from 'vue';
|
|
30
|
+
import { ComponentCustomProps } from 'vue';
|
|
29
31
|
import { ComponentOptionsMixin } from 'vue';
|
|
30
32
|
import { ComponentProvideOptions } from 'vue';
|
|
31
33
|
import { ComputedRef } from 'vue';
|
|
32
34
|
import { DefineComponent } from 'vue';
|
|
33
35
|
import { DialogClose } from 'reka-ui';
|
|
34
36
|
import { DialogCloseProps } from 'reka-ui';
|
|
37
|
+
import { DialogContentEmits } from 'reka-ui';
|
|
35
38
|
import { DialogContentProps } from 'reka-ui';
|
|
36
39
|
import { DialogRoot } from 'reka-ui';
|
|
37
40
|
import { DialogRootProps } from 'reka-ui';
|
|
@@ -51,6 +54,8 @@ import { NavigationMenuListProps as NavigationMenuListProps_2 } from 'reka-ui';
|
|
|
51
54
|
import { NavigationMenuRootProps } from 'reka-ui';
|
|
52
55
|
import { NavigationMenuTriggerProps as NavigationMenuTriggerProps_2 } from 'reka-ui';
|
|
53
56
|
import { PaginationRootProps } from 'reka-ui';
|
|
57
|
+
import { PinInputInputProps as PinInputInputProps_2 } from 'reka-ui';
|
|
58
|
+
import { PinInputRootProps as PinInputRootProps_2 } from 'reka-ui';
|
|
54
59
|
import { PointerDownOutsideEvent } from 'reka-ui';
|
|
55
60
|
import { PopoverClose } from 'reka-ui';
|
|
56
61
|
import { PopoverContentProps } from 'reka-ui';
|
|
@@ -68,6 +73,7 @@ import { SelectItemProps } from 'reka-ui';
|
|
|
68
73
|
import { SelectLabelProps } from 'reka-ui';
|
|
69
74
|
import { SelectRootProps as SelectRootProps_2 } from 'reka-ui';
|
|
70
75
|
import { SelectTriggerProps as SelectTriggerProps_2 } from 'reka-ui';
|
|
76
|
+
import { ShallowUnwrapRef } from 'vue';
|
|
71
77
|
import { SwitchRootProps } from 'reka-ui';
|
|
72
78
|
import { TabsContent } from 'reka-ui';
|
|
73
79
|
import { TabsRoot } from 'reka-ui';
|
|
@@ -78,6 +84,8 @@ import { ToggleGroupRootProps as ToggleGroupRootProps_2 } from 'reka-ui';
|
|
|
78
84
|
import { ToggleProps as ToggleProps_2 } from 'reka-ui';
|
|
79
85
|
import { TooltipContentProps } from 'reka-ui';
|
|
80
86
|
import { TooltipRootProps } from 'reka-ui';
|
|
87
|
+
import { VNode } from 'vue';
|
|
88
|
+
import { VNodeProps } from 'vue';
|
|
81
89
|
|
|
82
90
|
declare const __VLS_component: DefineComponent<ToggleGroupItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ToggleGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
83
91
|
|
|
@@ -89,6 +97,10 @@ declare const __VLS_component_4: DefineComponent<TabsTriggerProps, {}, {}, {}, {
|
|
|
89
97
|
|
|
90
98
|
declare const __VLS_component_5: DefineComponent<CollapsibleContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CollapsibleContentProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
91
99
|
|
|
100
|
+
declare type __VLS_PrettifyLocal<T> = {
|
|
101
|
+
[K in keyof T]: T[K];
|
|
102
|
+
} & {};
|
|
103
|
+
|
|
92
104
|
declare type __VLS_Props = ComboboxItemProps;
|
|
93
105
|
|
|
94
106
|
declare function __VLS_template(): {
|
|
@@ -441,18 +453,120 @@ declare type __VLS_WithTemplateSlots_53<T, S> = T & {
|
|
|
441
453
|
};
|
|
442
454
|
};
|
|
443
455
|
|
|
456
|
+
declare type __VLS_WithTemplateSlots_54<T, S> = T & {
|
|
457
|
+
new (): {
|
|
458
|
+
$slots: S;
|
|
459
|
+
};
|
|
460
|
+
};
|
|
461
|
+
|
|
462
|
+
declare type __VLS_WithTemplateSlots_55<T, S> = T & {
|
|
463
|
+
new (): {
|
|
464
|
+
$slots: S;
|
|
465
|
+
};
|
|
466
|
+
};
|
|
467
|
+
|
|
468
|
+
declare type __VLS_WithTemplateSlots_56<T, S> = T & {
|
|
469
|
+
new (): {
|
|
470
|
+
$slots: S;
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
|
|
474
|
+
declare type __VLS_WithTemplateSlots_57<T, S> = T & {
|
|
475
|
+
new (): {
|
|
476
|
+
$slots: S;
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
|
|
480
|
+
declare type __VLS_WithTemplateSlots_58<T, S> = T & {
|
|
481
|
+
new (): {
|
|
482
|
+
$slots: S;
|
|
483
|
+
};
|
|
484
|
+
};
|
|
485
|
+
|
|
486
|
+
declare type __VLS_WithTemplateSlots_59<T, S> = T & {
|
|
487
|
+
new (): {
|
|
488
|
+
$slots: S;
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
|
|
444
492
|
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
445
493
|
new (): {
|
|
446
494
|
$slots: S;
|
|
447
495
|
};
|
|
448
496
|
};
|
|
449
497
|
|
|
498
|
+
declare type __VLS_WithTemplateSlots_60<T, S> = T & {
|
|
499
|
+
new (): {
|
|
500
|
+
$slots: S;
|
|
501
|
+
};
|
|
502
|
+
};
|
|
503
|
+
|
|
504
|
+
declare type __VLS_WithTemplateSlots_61<T, S> = T & {
|
|
505
|
+
new (): {
|
|
506
|
+
$slots: S;
|
|
507
|
+
};
|
|
508
|
+
};
|
|
509
|
+
|
|
510
|
+
declare type __VLS_WithTemplateSlots_62<T, S> = T & {
|
|
511
|
+
new (): {
|
|
512
|
+
$slots: S;
|
|
513
|
+
};
|
|
514
|
+
};
|
|
515
|
+
|
|
516
|
+
declare type __VLS_WithTemplateSlots_63<T, S> = T & {
|
|
517
|
+
new (): {
|
|
518
|
+
$slots: S;
|
|
519
|
+
};
|
|
520
|
+
};
|
|
521
|
+
|
|
522
|
+
declare type __VLS_WithTemplateSlots_64<T, S> = T & {
|
|
523
|
+
new (): {
|
|
524
|
+
$slots: S;
|
|
525
|
+
};
|
|
526
|
+
};
|
|
527
|
+
|
|
528
|
+
declare type __VLS_WithTemplateSlots_65<T, S> = T & {
|
|
529
|
+
new (): {
|
|
530
|
+
$slots: S;
|
|
531
|
+
};
|
|
532
|
+
};
|
|
533
|
+
|
|
534
|
+
declare type __VLS_WithTemplateSlots_66<T, S> = T & {
|
|
535
|
+
new (): {
|
|
536
|
+
$slots: S;
|
|
537
|
+
};
|
|
538
|
+
};
|
|
539
|
+
|
|
540
|
+
declare type __VLS_WithTemplateSlots_67<T, S> = T & {
|
|
541
|
+
new (): {
|
|
542
|
+
$slots: S;
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
|
|
546
|
+
declare type __VLS_WithTemplateSlots_68<T, S> = T & {
|
|
547
|
+
new (): {
|
|
548
|
+
$slots: S;
|
|
549
|
+
};
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
declare type __VLS_WithTemplateSlots_69<T, S> = T & {
|
|
553
|
+
new (): {
|
|
554
|
+
$slots: S;
|
|
555
|
+
};
|
|
556
|
+
};
|
|
557
|
+
|
|
450
558
|
declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
451
559
|
new (): {
|
|
452
560
|
$slots: S;
|
|
453
561
|
};
|
|
454
562
|
};
|
|
455
563
|
|
|
564
|
+
declare type __VLS_WithTemplateSlots_70<T, S> = T & {
|
|
565
|
+
new (): {
|
|
566
|
+
$slots: S;
|
|
567
|
+
};
|
|
568
|
+
};
|
|
569
|
+
|
|
456
570
|
declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
457
571
|
new (): {
|
|
458
572
|
$slots: S;
|
|
@@ -465,7 +579,7 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
|
465
579
|
};
|
|
466
580
|
};
|
|
467
581
|
|
|
468
|
-
export declare const AccordionContent:
|
|
582
|
+
export declare const AccordionContent: __VLS_WithTemplateSlots_62<DefineComponent<AccordionContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AccordionContentProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
469
583
|
default?(_: {}): any;
|
|
470
584
|
}>;
|
|
471
585
|
|
|
@@ -483,7 +597,7 @@ export declare interface AccordionIndicatorProps {
|
|
|
483
597
|
variant?: 'chevron' | 'plus';
|
|
484
598
|
}
|
|
485
599
|
|
|
486
|
-
export declare const AccordionItem:
|
|
600
|
+
export declare const AccordionItem: __VLS_WithTemplateSlots_61<DefineComponent<AccordionItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AccordionItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
487
601
|
default?(_: {}): any;
|
|
488
602
|
}>;
|
|
489
603
|
|
|
@@ -494,7 +608,7 @@ export declare interface AccordionItemProps extends Omit<AccordionItemProps_2, '
|
|
|
494
608
|
value?: string;
|
|
495
609
|
}
|
|
496
610
|
|
|
497
|
-
export declare const AccordionRoot:
|
|
611
|
+
export declare const AccordionRoot: __VLS_WithTemplateSlots_60<DefineComponent<AccordionRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
498
612
|
"update:modelValue": (value: string | string[] | undefined) => any;
|
|
499
613
|
}, string, PublicProps, Readonly<AccordionRootProps> & Readonly<{
|
|
500
614
|
"onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined;
|
|
@@ -533,7 +647,7 @@ export declare interface AccordionRootProps extends AccordionRootProps_2 {
|
|
|
533
647
|
orientation?: 'vertical' | 'horizontal';
|
|
534
648
|
}
|
|
535
649
|
|
|
536
|
-
export declare const AccordionTrigger:
|
|
650
|
+
export declare const AccordionTrigger: __VLS_WithTemplateSlots_63<DefineComponent<AccordionTriggerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AccordionTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
537
651
|
default?(_: {}): any;
|
|
538
652
|
}>;
|
|
539
653
|
|
|
@@ -738,13 +852,13 @@ color: ColorType;
|
|
|
738
852
|
highContrast: boolean;
|
|
739
853
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
740
854
|
|
|
741
|
-
export declare const CollapsibleContent:
|
|
855
|
+
export declare const CollapsibleContent: __VLS_WithTemplateSlots_66<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
742
856
|
|
|
743
857
|
export { CollapsibleContentProps }
|
|
744
858
|
|
|
745
859
|
export declare const CollapsibleIndicator: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
746
860
|
|
|
747
|
-
export declare const CollapsibleRoot:
|
|
861
|
+
export declare const CollapsibleRoot: __VLS_WithTemplateSlots_64<DefineComponent<CollapsibleRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
748
862
|
"update:open": (value: boolean) => any;
|
|
749
863
|
}, string, PublicProps, Readonly<CollapsibleRootProps> & Readonly<{
|
|
750
864
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
@@ -762,10 +876,11 @@ export declare interface CollapsibleRootProps extends CollapsibleRootProps_2 {
|
|
|
762
876
|
size?: '1' | '2' | '3' | '4';
|
|
763
877
|
}
|
|
764
878
|
|
|
765
|
-
export declare const CollapsibleTrigger:
|
|
879
|
+
export declare const CollapsibleTrigger: __VLS_WithTemplateSlots_65<DefineComponent<CollapsibleTriggerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CollapsibleTriggerProps> & Readonly<{}>, {
|
|
766
880
|
indicator: "none" | "left" | "right";
|
|
767
881
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
768
882
|
default?(_: {}): any;
|
|
883
|
+
default?(_: {}): any;
|
|
769
884
|
}>;
|
|
770
885
|
|
|
771
886
|
export declare interface CollapsibleTriggerProps extends CollapsibleTriggerProps_2 {
|
|
@@ -796,7 +911,7 @@ export declare interface ColorFieldProps extends Omit<PrimitiveProps, 'asChild'>
|
|
|
796
911
|
|
|
797
912
|
export declare type ColorType = 'gray' | 'gold' | 'bronze' | 'brown' | 'yellow' | 'amber' | 'orange' | 'tomato' | 'red' | 'ruby' | 'crimson' | 'pink' | 'plum' | 'purple' | 'violet' | 'iris' | 'indigo' | 'blue' | 'cyan' | 'teal' | 'jade' | 'green' | 'grass' | 'lime' | 'mint' | 'sky';
|
|
798
913
|
|
|
799
|
-
export declare const ComboboxContent:
|
|
914
|
+
export declare const ComboboxContent: __VLS_WithTemplateSlots_48<DefineComponent<ComboboxContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
800
915
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
801
916
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
802
917
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
@@ -818,11 +933,11 @@ declare interface ComboboxContentProps extends ComboboxContentProps_2 {
|
|
|
818
933
|
variant?: 'solid' | 'soft';
|
|
819
934
|
}
|
|
820
935
|
|
|
821
|
-
export declare const ComboboxEmpty:
|
|
936
|
+
export declare const ComboboxEmpty: __VLS_WithTemplateSlots_51<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
822
937
|
|
|
823
938
|
export { ComboboxGroup }
|
|
824
939
|
|
|
825
|
-
export declare const ComboboxInput:
|
|
940
|
+
export declare const ComboboxInput: __VLS_WithTemplateSlots_47<DefineComponent<ComboboxInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
826
941
|
"update:modelValue": (args_0: string) => any;
|
|
827
942
|
}, string, PublicProps, Readonly<ComboboxInputProps> & Readonly<{
|
|
828
943
|
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
@@ -840,22 +955,22 @@ declare interface ComboboxInputProps extends ComboboxInputProps_2 {
|
|
|
840
955
|
placeholder?: string;
|
|
841
956
|
}
|
|
842
957
|
|
|
843
|
-
export declare const ComboboxItem:
|
|
958
|
+
export declare const ComboboxItem: __VLS_WithTemplateSlots_49<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
844
959
|
|
|
845
|
-
export declare const ComboboxLabel:
|
|
960
|
+
export declare const ComboboxLabel: __VLS_WithTemplateSlots_50<DefineComponent<ComboboxLabelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ComboboxLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
846
961
|
default?(_: {}): any;
|
|
847
962
|
}>;
|
|
848
963
|
|
|
849
|
-
export declare const ComboboxRoot:
|
|
850
|
-
"update:open": (value: boolean) => any;
|
|
964
|
+
export declare const ComboboxRoot: __VLS_WithTemplateSlots_46<DefineComponent<ComboboxRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
851
965
|
"update:modelValue": (value: AcceptableValue) => any;
|
|
966
|
+
"update:open": (value: boolean) => any;
|
|
852
967
|
highlight: (payload: {
|
|
853
968
|
ref: HTMLElement;
|
|
854
969
|
value: AcceptableValue;
|
|
855
970
|
} | undefined) => any;
|
|
856
971
|
}, string, PublicProps, Readonly<ComboboxRootProps> & Readonly<{
|
|
857
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
858
972
|
"onUpdate:modelValue"?: ((value: AcceptableValue) => any) | undefined;
|
|
973
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
859
974
|
onHighlight?: ((payload: {
|
|
860
975
|
ref: HTMLElement;
|
|
861
976
|
value: AcceptableValue;
|
|
@@ -1156,6 +1271,57 @@ export declare interface PaginationProps extends PaginationRootProps {
|
|
|
1156
1271
|
navigation?: 'none' | 'prev-next' | 'first-last' | 'all';
|
|
1157
1272
|
}
|
|
1158
1273
|
|
|
1274
|
+
export declare const PinInputInput: __VLS_WithTemplateSlots_40<DefineComponent<PinInputInputProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PinInputInputProps_2> & Readonly<{}>, {
|
|
1275
|
+
as: AsTag | Component;
|
|
1276
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1277
|
+
default?(_: {}): any;
|
|
1278
|
+
}>;
|
|
1279
|
+
|
|
1280
|
+
export declare type PinInputInputProps = PinInputInputProps_2;
|
|
1281
|
+
|
|
1282
|
+
export declare const PinInputRoot: <Type extends PinInputType = "text">(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1283
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
1284
|
+
readonly "onUpdate:modelValue"?: ((value: PinInputValue<Type>) => any) | undefined;
|
|
1285
|
+
readonly onComplete?: ((value: PinInputValue<Type>) => any) | undefined;
|
|
1286
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue" | "onComplete"> & PinInputRootProps<Type> & Partial<{}>> & PublicProps;
|
|
1287
|
+
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
1288
|
+
attrs: any;
|
|
1289
|
+
slots: Readonly<{
|
|
1290
|
+
default?: (props: {
|
|
1291
|
+
/** Current input values. */
|
|
1292
|
+
modelValue: PinInputValue<Type>;
|
|
1293
|
+
}) => any;
|
|
1294
|
+
}> & {
|
|
1295
|
+
default?: (props: {
|
|
1296
|
+
/** Current input values. */
|
|
1297
|
+
modelValue: PinInputValue<Type>;
|
|
1298
|
+
}) => any;
|
|
1299
|
+
};
|
|
1300
|
+
emit: ((evt: "update:modelValue", value: PinInputValue<Type>) => void) & ((evt: "complete", value: PinInputValue<Type>) => void);
|
|
1301
|
+
}>) => VNode & {
|
|
1302
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1303
|
+
};
|
|
1304
|
+
|
|
1305
|
+
export declare type PinInputRootEmits<Type extends PinInputType = 'text'> = {
|
|
1306
|
+
'update:modelValue': [value: PinInputValue<Type>];
|
|
1307
|
+
complete: [value: PinInputValue<Type>];
|
|
1308
|
+
};
|
|
1309
|
+
|
|
1310
|
+
export declare interface PinInputRootProps<Type extends PinInputType = 'text'> extends PinInputRootProps_2<Type> {
|
|
1311
|
+
/** Controls the component size. @default "2" */
|
|
1312
|
+
size?: '1' | '2' | '3';
|
|
1313
|
+
/** Controls the visual treatment. @default "surface" */
|
|
1314
|
+
variant?: 'surface' | 'soft';
|
|
1315
|
+
/** Overrides the accent color inherited from ThemeProvider. */
|
|
1316
|
+
color?: ColorType;
|
|
1317
|
+
/** Controls the corner radius. */
|
|
1318
|
+
radius?: RadiusType;
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
export declare type PinInputType = 'text' | 'number';
|
|
1322
|
+
|
|
1323
|
+
export declare type PinInputValue<Type extends PinInputType = 'text'> = [Type] extends ['number'] ? number[] : string[];
|
|
1324
|
+
|
|
1159
1325
|
export { PopoverClose }
|
|
1160
1326
|
|
|
1161
1327
|
export declare const PopoverPopup: __VLS_WithTemplateSlots_13<DefineComponent<PopoverPopupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -1217,14 +1383,14 @@ size: "1" | "2" | "3";
|
|
|
1217
1383
|
variant: "surface" | "soft";
|
|
1218
1384
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLInputElement>;
|
|
1219
1385
|
|
|
1220
|
-
export declare const RadioCardsItem:
|
|
1386
|
+
export declare const RadioCardsItem: __VLS_WithTemplateSlots_55<DefineComponent<RadioGroupItemProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<RadioGroupItemProps_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1221
1387
|
default?(_: {}): any;
|
|
1222
1388
|
}>;
|
|
1223
1389
|
|
|
1224
|
-
export declare const RadioCardsRoot:
|
|
1225
|
-
"update:modelValue": (payload:
|
|
1390
|
+
export declare const RadioCardsRoot: __VLS_WithTemplateSlots_54<DefineComponent<RadioCardsRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1391
|
+
"update:modelValue": (payload: AcceptableValue) => any;
|
|
1226
1392
|
}, string, PublicProps, Readonly<RadioCardsRootProps> & Readonly<{
|
|
1227
|
-
"onUpdate:modelValue"?: ((payload:
|
|
1393
|
+
"onUpdate:modelValue"?: ((payload: AcceptableValue) => any) | undefined;
|
|
1228
1394
|
}>, {
|
|
1229
1395
|
size: "1" | "2" | "3";
|
|
1230
1396
|
variant: "surface" | "classic";
|
|
@@ -1249,7 +1415,7 @@ export declare interface RadioCardsRootProps extends RadioGroupRootProps_2 {
|
|
|
1249
1415
|
highContrast?: boolean;
|
|
1250
1416
|
}
|
|
1251
1417
|
|
|
1252
|
-
export declare const RadioGroupItem:
|
|
1418
|
+
export declare const RadioGroupItem: __VLS_WithTemplateSlots_53<DefineComponent<RadioGroupItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<RadioGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>, {
|
|
1253
1419
|
default?(_: {}): any;
|
|
1254
1420
|
}>;
|
|
1255
1421
|
|
|
@@ -1264,10 +1430,10 @@ export declare interface RadioGroupItemProps extends RadioGroupItemProps_2 {
|
|
|
1264
1430
|
highContrast?: boolean;
|
|
1265
1431
|
}
|
|
1266
1432
|
|
|
1267
|
-
export declare const RadioGroupRoot:
|
|
1268
|
-
"update:modelValue": (payload:
|
|
1433
|
+
export declare const RadioGroupRoot: __VLS_WithTemplateSlots_52<DefineComponent<RadioGroupRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1434
|
+
"update:modelValue": (payload: AcceptableValue) => any;
|
|
1269
1435
|
}, string, PublicProps, Readonly<RadioGroupRootProps> & Readonly<{
|
|
1270
|
-
"onUpdate:modelValue"?: ((payload:
|
|
1436
|
+
"onUpdate:modelValue"?: ((payload: AcceptableValue) => any) | undefined;
|
|
1271
1437
|
}>, {
|
|
1272
1438
|
size: "1" | "2" | "3";
|
|
1273
1439
|
variant: "surface" | "soft";
|
|
@@ -1309,16 +1475,16 @@ export declare interface RadioProps {
|
|
|
1309
1475
|
highContrast?: boolean;
|
|
1310
1476
|
}
|
|
1311
1477
|
|
|
1312
|
-
export declare const RadioTabsItem:
|
|
1478
|
+
export declare const RadioTabsItem: __VLS_WithTemplateSlots_57<DefineComponent<RadioGroupItemProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<RadioGroupItemProps_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1313
1479
|
default?(_: {}): any;
|
|
1314
1480
|
}>;
|
|
1315
1481
|
|
|
1316
1482
|
export declare type RadioTabsItemProps = RadioGroupItemProps_2;
|
|
1317
1483
|
|
|
1318
|
-
export declare const RadioTabsRoot:
|
|
1319
|
-
"update:modelValue": (payload:
|
|
1484
|
+
export declare const RadioTabsRoot: __VLS_WithTemplateSlots_56<DefineComponent<RadioTabsRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1485
|
+
"update:modelValue": (payload: AcceptableValue) => any;
|
|
1320
1486
|
}, string, PublicProps, Readonly<RadioTabsRootProps> & Readonly<{
|
|
1321
|
-
"onUpdate:modelValue"?: ((payload:
|
|
1487
|
+
"onUpdate:modelValue"?: ((payload: AcceptableValue) => any) | undefined;
|
|
1322
1488
|
}>, {
|
|
1323
1489
|
size: "1" | "2";
|
|
1324
1490
|
variant: "classic" | "surface" | "soft";
|
|
@@ -1345,7 +1511,7 @@ export declare interface RadioTabsRootProps extends RadioGroupRootProps_2 {
|
|
|
1345
1511
|
|
|
1346
1512
|
export declare type RadiusType = 'none' | 'small' | 'medium' | 'large' | 'full';
|
|
1347
1513
|
|
|
1348
|
-
export declare const SavingIndicator:
|
|
1514
|
+
export declare const SavingIndicator: __VLS_WithTemplateSlots_70<DefineComponent<SavingIndicatorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SavingIndicatorProps> & Readonly<{}>, {
|
|
1349
1515
|
as: AsTag | Component;
|
|
1350
1516
|
size: "1" | "2" | "3";
|
|
1351
1517
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
@@ -1364,7 +1530,7 @@ export declare type SavingStatus = 'idle' | 'saving' | 'saved';
|
|
|
1364
1530
|
declare type ScalingType = '90%' | '95%' | '100%' | '105%' | '110%' | '115%' | '120%';
|
|
1365
1531
|
|
|
1366
1532
|
export declare const ScrollArea: __VLS_WithTemplateSlots_6<DefineComponent<ScrollAreaProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ScrollAreaProps> & Readonly<{}>, {
|
|
1367
|
-
type: "auto" | "scroll" | "always" | "hover";
|
|
1533
|
+
type: "auto" | "scroll" | "always" | "hover" | "glimpse";
|
|
1368
1534
|
size: "1" | "2" | "3";
|
|
1369
1535
|
scrollbars: "vertical" | "horizontal" | "both";
|
|
1370
1536
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
@@ -1377,7 +1543,7 @@ export declare interface ScrollAreaProps extends ScrollAreaRootProps {
|
|
|
1377
1543
|
scrollbars?: 'vertical' | 'horizontal' | 'both';
|
|
1378
1544
|
}
|
|
1379
1545
|
|
|
1380
|
-
export declare const SelectContent:
|
|
1546
|
+
export declare const SelectContent: __VLS_WithTemplateSlots_42<DefineComponent<SelectContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SelectContentProps> & Readonly<{}>, {
|
|
1381
1547
|
variant: "solid" | "soft";
|
|
1382
1548
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1383
1549
|
default?(_: {}): any;
|
|
@@ -1389,24 +1555,24 @@ export declare interface SelectContentProps extends SelectContentProps_2 {
|
|
|
1389
1555
|
|
|
1390
1556
|
export { SelectGroup }
|
|
1391
1557
|
|
|
1392
|
-
export declare const SelectItem:
|
|
1558
|
+
export declare const SelectItem: __VLS_WithTemplateSlots_44<DefineComponent<SelectItemProps<AcceptableValue>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SelectItemProps<AcceptableValue>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1393
1559
|
default?(_: {}): any;
|
|
1394
1560
|
}>;
|
|
1395
1561
|
|
|
1396
1562
|
export { SelectItemProps }
|
|
1397
1563
|
|
|
1398
|
-
export declare const SelectLabel:
|
|
1564
|
+
export declare const SelectLabel: __VLS_WithTemplateSlots_45<DefineComponent<SelectLabelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SelectLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1399
1565
|
default?(_: {}): any;
|
|
1400
1566
|
}>;
|
|
1401
1567
|
|
|
1402
1568
|
export { SelectLabelProps }
|
|
1403
1569
|
|
|
1404
|
-
export declare const SelectRoot:
|
|
1405
|
-
"update:open": (value: boolean) => any;
|
|
1570
|
+
export declare const SelectRoot: __VLS_WithTemplateSlots_41<DefineComponent<SelectRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1406
1571
|
"update:modelValue": (value: AcceptableValue) => any;
|
|
1572
|
+
"update:open": (value: boolean) => any;
|
|
1407
1573
|
}, string, PublicProps, Readonly<SelectRootProps> & Readonly<{
|
|
1408
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
1409
1574
|
"onUpdate:modelValue"?: ((value: AcceptableValue) => any) | undefined;
|
|
1575
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
1410
1576
|
}>, {
|
|
1411
1577
|
size: "1" | "2" | "3";
|
|
1412
1578
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
@@ -1421,7 +1587,7 @@ export declare interface SelectRootProps extends SelectRootProps_2 {
|
|
|
1421
1587
|
|
|
1422
1588
|
export declare const SelectSeparator: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
1423
1589
|
|
|
1424
|
-
export declare const SelectTrigger:
|
|
1590
|
+
export declare const SelectTrigger: __VLS_WithTemplateSlots_43<DefineComponent<SelectTriggerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SelectTriggerProps> & Readonly<{}>, {
|
|
1425
1591
|
variant: "surface" | "soft" | "ghost";
|
|
1426
1592
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1427
1593
|
default?(_: {
|
|
@@ -1466,9 +1632,319 @@ export declare interface SeparatorProps {
|
|
|
1466
1632
|
color?: ColorType;
|
|
1467
1633
|
}
|
|
1468
1634
|
|
|
1635
|
+
export declare const Sidebar: __VLS_WithTemplateSlots_20<DefineComponent<SidebarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1636
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
1637
|
+
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
1638
|
+
focusOutside: (event: FocusOutsideEvent) => any;
|
|
1639
|
+
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
1640
|
+
openAutoFocus: (event: Event) => any;
|
|
1641
|
+
closeAutoFocus: (event: Event) => any;
|
|
1642
|
+
"update:open": (value: boolean) => any;
|
|
1643
|
+
"update:collapsed": (value: boolean) => any;
|
|
1644
|
+
}, string, PublicProps, Readonly<SidebarProps> & Readonly<{
|
|
1645
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
1646
|
+
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
1647
|
+
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
1648
|
+
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
1649
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
1650
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
1651
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
1652
|
+
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
|
1653
|
+
}>, {
|
|
1654
|
+
as: AsTag | Component;
|
|
1655
|
+
variant: "default" | "floating" | "inset";
|
|
1656
|
+
side: "left" | "right";
|
|
1657
|
+
defaultOpen: boolean;
|
|
1658
|
+
open: boolean;
|
|
1659
|
+
width: string;
|
|
1660
|
+
disableOutsidePointerEvents: boolean;
|
|
1661
|
+
collapsed: boolean;
|
|
1662
|
+
defaultCollapsed: boolean;
|
|
1663
|
+
collapsible: "offcanvas" | "icon" | "none";
|
|
1664
|
+
collapsedWidth: string;
|
|
1665
|
+
mobileWidth: string;
|
|
1666
|
+
mobileTitle: string;
|
|
1667
|
+
mobileDescription: string;
|
|
1668
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, Readonly<{
|
|
1669
|
+
default?: (props: {
|
|
1670
|
+
/** Current mobile open state. */
|
|
1671
|
+
open: boolean;
|
|
1672
|
+
/** Current desktop collapsed state. */
|
|
1673
|
+
collapsed: boolean;
|
|
1674
|
+
/** Whether the provider is below the responsive breakpoint. */
|
|
1675
|
+
isMobile: boolean;
|
|
1676
|
+
/** Toggles the state appropriate for the current viewport. */
|
|
1677
|
+
toggle: () => void;
|
|
1678
|
+
}) => any;
|
|
1679
|
+
}> & {
|
|
1680
|
+
default?: (props: {
|
|
1681
|
+
/** Current mobile open state. */
|
|
1682
|
+
open: boolean;
|
|
1683
|
+
/** Current desktop collapsed state. */
|
|
1684
|
+
collapsed: boolean;
|
|
1685
|
+
/** Whether the provider is below the responsive breakpoint. */
|
|
1686
|
+
isMobile: boolean;
|
|
1687
|
+
/** Toggles the state appropriate for the current viewport. */
|
|
1688
|
+
toggle: () => void;
|
|
1689
|
+
}) => any;
|
|
1690
|
+
}>;
|
|
1691
|
+
|
|
1692
|
+
export declare const SidebarBody: __VLS_WithTemplateSlots_22<DefineComponent<PrimitiveProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PrimitiveProps> & Readonly<{}>, {
|
|
1693
|
+
as: AsTag | Component;
|
|
1694
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1695
|
+
default?(_: {}): any;
|
|
1696
|
+
}>;
|
|
1697
|
+
|
|
1698
|
+
export declare type SidebarBodyProps = PrimitiveProps;
|
|
1699
|
+
|
|
1700
|
+
export declare type SidebarEmits = DialogContentEmits & {
|
|
1701
|
+
/** Emitted when the mobile open state changes. */
|
|
1702
|
+
'update:open': [value: boolean];
|
|
1703
|
+
/** Emitted when the desktop collapsed state changes. */
|
|
1704
|
+
'update:collapsed': [value: boolean];
|
|
1705
|
+
};
|
|
1706
|
+
|
|
1707
|
+
export declare const SidebarFooter: __VLS_WithTemplateSlots_23<DefineComponent<PrimitiveProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PrimitiveProps> & Readonly<{}>, {
|
|
1708
|
+
as: AsTag | Component;
|
|
1709
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1710
|
+
default?(_: {}): any;
|
|
1711
|
+
}>;
|
|
1712
|
+
|
|
1713
|
+
export declare type SidebarFooterProps = PrimitiveProps;
|
|
1714
|
+
|
|
1715
|
+
export declare const SidebarGroup: __VLS_WithTemplateSlots_27<DefineComponent<PrimitiveProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PrimitiveProps> & Readonly<{}>, {
|
|
1716
|
+
as: AsTag | Component;
|
|
1717
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1718
|
+
default?(_: {}): any;
|
|
1719
|
+
}>;
|
|
1720
|
+
|
|
1721
|
+
export declare const SidebarGroupLabel: __VLS_WithTemplateSlots_28<DefineComponent<PrimitiveProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PrimitiveProps> & Readonly<{}>, {
|
|
1722
|
+
as: AsTag | Component;
|
|
1723
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1724
|
+
default?(_: {}): any;
|
|
1725
|
+
}>;
|
|
1726
|
+
|
|
1727
|
+
export declare type SidebarGroupLabelProps = PrimitiveProps;
|
|
1728
|
+
|
|
1729
|
+
export declare type SidebarGroupProps = PrimitiveProps;
|
|
1730
|
+
|
|
1731
|
+
export declare const SidebarHeader: __VLS_WithTemplateSlots_21<DefineComponent<PrimitiveProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PrimitiveProps> & Readonly<{}>, {
|
|
1732
|
+
as: AsTag | Component;
|
|
1733
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1734
|
+
default?(_: {}): any;
|
|
1735
|
+
}>;
|
|
1736
|
+
|
|
1737
|
+
export declare type SidebarHeaderProps = PrimitiveProps;
|
|
1738
|
+
|
|
1739
|
+
export declare const SidebarInset: __VLS_WithTemplateSlots_26<DefineComponent<PrimitiveProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PrimitiveProps> & Readonly<{}>, {
|
|
1740
|
+
as: AsTag | Component;
|
|
1741
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1742
|
+
default?(_: {}): any;
|
|
1743
|
+
}>;
|
|
1744
|
+
|
|
1745
|
+
export declare type SidebarInsetProps = PrimitiveProps;
|
|
1746
|
+
|
|
1747
|
+
export declare const SidebarMenu: __VLS_WithTemplateSlots_29<DefineComponent<SidebarMenuProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SidebarMenuProps> & Readonly<{}>, {
|
|
1748
|
+
as: AsTag | Component;
|
|
1749
|
+
size: "1" | "2" | "3";
|
|
1750
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1751
|
+
default?(_: {}): any;
|
|
1752
|
+
}>;
|
|
1753
|
+
|
|
1754
|
+
export declare const SidebarMenuButton: __VLS_WithTemplateSlots_31<DefineComponent<SidebarMenuButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SidebarMenuButtonProps> & Readonly<{}>, {
|
|
1755
|
+
as: AsTag | Component;
|
|
1756
|
+
disabled: boolean;
|
|
1757
|
+
active: boolean;
|
|
1758
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, Readonly<{
|
|
1759
|
+
/** Shorthand for the `text` slot. */
|
|
1760
|
+
default?: () => any;
|
|
1761
|
+
/** Replaces the leading `icon` prop. */
|
|
1762
|
+
icon?: () => any;
|
|
1763
|
+
/** Replaces the `text` prop. */
|
|
1764
|
+
text?: () => any;
|
|
1765
|
+
/** Replaces the `trailingIcon` prop. */
|
|
1766
|
+
trailing?: () => any;
|
|
1767
|
+
}> & {
|
|
1768
|
+
/** Shorthand for the `text` slot. */
|
|
1769
|
+
default?: () => any;
|
|
1770
|
+
/** Replaces the leading `icon` prop. */
|
|
1771
|
+
icon?: () => any;
|
|
1772
|
+
/** Replaces the `text` prop. */
|
|
1773
|
+
text?: () => any;
|
|
1774
|
+
/** Replaces the `trailingIcon` prop. */
|
|
1775
|
+
trailing?: () => any;
|
|
1776
|
+
}>;
|
|
1777
|
+
|
|
1778
|
+
export declare interface SidebarMenuButtonProps extends PrimitiveProps {
|
|
1779
|
+
/** Iconify icon rendered before the text. */
|
|
1780
|
+
icon?: string;
|
|
1781
|
+
/** Primary button text. Also supplies the collapsed tooltip by default. */
|
|
1782
|
+
text?: string;
|
|
1783
|
+
/** Iconify icon rendered in the trailing position. */
|
|
1784
|
+
trailingIcon?: string;
|
|
1785
|
+
/** Marks this item as the current selection. */
|
|
1786
|
+
active?: boolean;
|
|
1787
|
+
/** Prevents interaction with this item. */
|
|
1788
|
+
disabled?: boolean;
|
|
1789
|
+
/**
|
|
1790
|
+
* Label shown when an icon-only collapsed item is hovered or focused.
|
|
1791
|
+
* Set to `false` to disable the tooltip inferred from `text`.
|
|
1792
|
+
*/
|
|
1793
|
+
tooltip?: string | false;
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
export declare const SidebarMenuItem: __VLS_WithTemplateSlots_30<DefineComponent<PrimitiveProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PrimitiveProps> & Readonly<{}>, {
|
|
1797
|
+
as: AsTag | Component;
|
|
1798
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1799
|
+
default?(_: {}): any;
|
|
1800
|
+
}>;
|
|
1801
|
+
|
|
1802
|
+
export declare type SidebarMenuItemProps = PrimitiveProps;
|
|
1803
|
+
|
|
1804
|
+
export declare interface SidebarMenuProps extends PrimitiveProps {
|
|
1805
|
+
/**
|
|
1806
|
+
* Controls the inherited size of menu and submenu buttons.
|
|
1807
|
+
* @default "2"
|
|
1808
|
+
*/
|
|
1809
|
+
size?: '1' | '2' | '3';
|
|
1810
|
+
/** Overrides the accent color inherited from the ThemeProvider. */
|
|
1811
|
+
color?: ColorType;
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1814
|
+
export declare const SidebarMenuSub: __VLS_WithTemplateSlots_32<DefineComponent<PrimitiveProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PrimitiveProps> & Readonly<{}>, {
|
|
1815
|
+
as: AsTag | Component;
|
|
1816
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1817
|
+
default?(_: {}): any;
|
|
1818
|
+
}>;
|
|
1819
|
+
|
|
1820
|
+
export declare const SidebarMenuSubButton: __VLS_WithTemplateSlots_34<DefineComponent<SidebarMenuSubButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SidebarMenuSubButtonProps> & Readonly<{}>, {
|
|
1821
|
+
as: AsTag | Component;
|
|
1822
|
+
disabled: boolean;
|
|
1823
|
+
active: boolean;
|
|
1824
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, Readonly<{
|
|
1825
|
+
/** Shorthand for the `text` slot. */
|
|
1826
|
+
default?: () => any;
|
|
1827
|
+
/** Replaces the leading `icon` prop. */
|
|
1828
|
+
icon?: () => any;
|
|
1829
|
+
/** Replaces the `text` prop. */
|
|
1830
|
+
text?: () => any;
|
|
1831
|
+
/** Replaces the `trailingIcon` prop. */
|
|
1832
|
+
trailing?: () => any;
|
|
1833
|
+
}> & {
|
|
1834
|
+
/** Shorthand for the `text` slot. */
|
|
1835
|
+
default?: () => any;
|
|
1836
|
+
/** Replaces the leading `icon` prop. */
|
|
1837
|
+
icon?: () => any;
|
|
1838
|
+
/** Replaces the `text` prop. */
|
|
1839
|
+
text?: () => any;
|
|
1840
|
+
/** Replaces the `trailingIcon` prop. */
|
|
1841
|
+
trailing?: () => any;
|
|
1842
|
+
}>;
|
|
1843
|
+
|
|
1844
|
+
export declare interface SidebarMenuSubButtonProps extends PrimitiveProps {
|
|
1845
|
+
/** Iconify icon rendered before the text. */
|
|
1846
|
+
icon?: string;
|
|
1847
|
+
/** Primary button text. */
|
|
1848
|
+
text?: string;
|
|
1849
|
+
/** Iconify icon rendered in the trailing position. */
|
|
1850
|
+
trailingIcon?: string;
|
|
1851
|
+
/** Marks this item as the current selection. */
|
|
1852
|
+
active?: boolean;
|
|
1853
|
+
/** Prevents interaction with this item. */
|
|
1854
|
+
disabled?: boolean;
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
export declare const SidebarMenuSubItem: __VLS_WithTemplateSlots_33<DefineComponent<PrimitiveProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PrimitiveProps> & Readonly<{}>, {
|
|
1858
|
+
as: AsTag | Component;
|
|
1859
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1860
|
+
default?(_: {}): any;
|
|
1861
|
+
}>;
|
|
1862
|
+
|
|
1863
|
+
export declare type SidebarMenuSubItemProps = PrimitiveProps;
|
|
1864
|
+
|
|
1865
|
+
export declare type SidebarMenuSubProps = PrimitiveProps;
|
|
1866
|
+
|
|
1867
|
+
export declare interface SidebarProps extends DialogContentProps {
|
|
1868
|
+
/** Controls whether the mobile sidebar is open. */
|
|
1869
|
+
open?: boolean;
|
|
1870
|
+
/** Initial mobile open state when `open` is uncontrolled. @default false */
|
|
1871
|
+
defaultOpen?: boolean;
|
|
1872
|
+
/** Controls whether the desktop sidebar is collapsed. */
|
|
1873
|
+
collapsed?: boolean;
|
|
1874
|
+
/** Initial desktop collapsed state when `collapsed` is uncontrolled. @default false */
|
|
1875
|
+
defaultCollapsed?: boolean;
|
|
1876
|
+
/** The edge of the layout that contains the sidebar. @default "left" */
|
|
1877
|
+
side?: 'left' | 'right';
|
|
1878
|
+
/** The visual relationship between the sidebar and main content. @default "default" */
|
|
1879
|
+
variant?: 'default' | 'floating' | 'inset';
|
|
1880
|
+
/** The desktop collapse behavior. @default "offcanvas" */
|
|
1881
|
+
collapsible?: 'offcanvas' | 'icon' | 'none';
|
|
1882
|
+
/** The expanded desktop width. @default "16rem" */
|
|
1883
|
+
width?: string;
|
|
1884
|
+
/** The desktop width when `collapsible="icon"`. @default "3.5rem" */
|
|
1885
|
+
collapsedWidth?: string;
|
|
1886
|
+
/** The sidebar width below the mobile breakpoint. @default "18rem" */
|
|
1887
|
+
mobileWidth?: string;
|
|
1888
|
+
/** Accessible title announced when the sidebar opens on mobile. @default "Navigation" */
|
|
1889
|
+
mobileTitle?: string;
|
|
1890
|
+
/** Accessible description announced when the sidebar opens on mobile. @default "Site navigation" */
|
|
1891
|
+
mobileDescription?: string;
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
export declare const SidebarProvider: __VLS_WithTemplateSlots_19<DefineComponent<SidebarProviderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SidebarProviderProps> & Readonly<{}>, {
|
|
1895
|
+
as: AsTag | Component;
|
|
1896
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1897
|
+
default?(_: {
|
|
1898
|
+
isMobile: boolean;
|
|
1899
|
+
}): any;
|
|
1900
|
+
}>;
|
|
1901
|
+
|
|
1902
|
+
export declare interface SidebarProviderProps {
|
|
1903
|
+
/** The element or component used for the layout container. @default "div" */
|
|
1904
|
+
as?: AsTag | Component;
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
export declare const SidebarRail: __VLS_WithTemplateSlots_25<DefineComponent<SidebarRailProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SidebarRailProps> & Readonly<{}>, {
|
|
1908
|
+
as: AsTag | Component;
|
|
1909
|
+
disabled: boolean;
|
|
1910
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1911
|
+
default?(_: {
|
|
1912
|
+
collapsed: boolean;
|
|
1913
|
+
}): any;
|
|
1914
|
+
}>;
|
|
1915
|
+
|
|
1916
|
+
export declare interface SidebarRailProps extends PrimitiveProps {
|
|
1917
|
+
/** Overrides the generated accessible label. */
|
|
1918
|
+
label?: string;
|
|
1919
|
+
/** Prevents the rail from changing the collapsed state. */
|
|
1920
|
+
disabled?: boolean;
|
|
1921
|
+
}
|
|
1922
|
+
|
|
1923
|
+
export declare const SidebarTrigger: __VLS_WithTemplateSlots_24<DefineComponent<SidebarTriggerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SidebarTriggerProps> & Readonly<{}>, {
|
|
1924
|
+
as: AsTag | Component;
|
|
1925
|
+
disabled: boolean;
|
|
1926
|
+
target: "left" | "right";
|
|
1927
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1928
|
+
default?(_: {
|
|
1929
|
+
open: boolean;
|
|
1930
|
+
collapsed: boolean;
|
|
1931
|
+
isMobile: boolean;
|
|
1932
|
+
target: "right" | "left";
|
|
1933
|
+
}): any;
|
|
1934
|
+
}>;
|
|
1935
|
+
|
|
1936
|
+
export declare interface SidebarTriggerProps extends PrimitiveProps {
|
|
1937
|
+
/** The sidebar edge controlled by this trigger. @default "left" */
|
|
1938
|
+
target?: 'left' | 'right';
|
|
1939
|
+
/** Overrides the generated accessible label. */
|
|
1940
|
+
label?: string;
|
|
1941
|
+
/** Prevents the trigger from changing sidebar state. */
|
|
1942
|
+
disabled?: boolean;
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1469
1945
|
export declare const SpinnerIcon: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLSpanElement>;
|
|
1470
1946
|
|
|
1471
|
-
export declare const Switch:
|
|
1947
|
+
export declare const Switch: __VLS_WithTemplateSlots_35<DefineComponent<SwitchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1472
1948
|
"update:modelValue": (payload: boolean) => any;
|
|
1473
1949
|
}, string, PublicProps, Readonly<SwitchProps> & Readonly<{
|
|
1474
1950
|
"onUpdate:modelValue"?: ((payload: boolean) => any) | undefined;
|
|
@@ -1487,7 +1963,7 @@ export declare interface SwitchProps extends SwitchRootProps {
|
|
|
1487
1963
|
radius?: RadiusType;
|
|
1488
1964
|
}
|
|
1489
1965
|
|
|
1490
|
-
export declare const Table:
|
|
1966
|
+
export declare const Table: __VLS_WithTemplateSlots_68<DefineComponent<TableProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TableProps> & Readonly<{}>, {
|
|
1491
1967
|
size: "1" | "2" | "3";
|
|
1492
1968
|
variant: "surface" | "ghost";
|
|
1493
1969
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
@@ -1502,7 +1978,7 @@ export declare interface TableProps {
|
|
|
1502
1978
|
|
|
1503
1979
|
export { TabsContent }
|
|
1504
1980
|
|
|
1505
|
-
export declare const TabsList:
|
|
1981
|
+
export declare const TabsList: __VLS_WithTemplateSlots_58<DefineComponent<TabsListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TabsListProps> & Readonly<{}>, {
|
|
1506
1982
|
size: "1" | "2";
|
|
1507
1983
|
variant: "classic" | "outline" | "surface" | "soft";
|
|
1508
1984
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
@@ -1519,7 +1995,7 @@ export declare interface TabsListProps {
|
|
|
1519
1995
|
|
|
1520
1996
|
export { TabsRoot }
|
|
1521
1997
|
|
|
1522
|
-
export declare const TabsTrigger:
|
|
1998
|
+
export declare const TabsTrigger: __VLS_WithTemplateSlots_59<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
1523
1999
|
|
|
1524
2000
|
export declare const TextArea: DefineComponent< {
|
|
1525
2001
|
modelValue?: string;
|
|
@@ -1543,7 +2019,7 @@ export declare interface TextAreaProps {
|
|
|
1543
2019
|
radius?: RadiusType;
|
|
1544
2020
|
}
|
|
1545
2021
|
|
|
1546
|
-
export declare const TextField:
|
|
2022
|
+
export declare const TextField: __VLS_WithTemplateSlots_39<DefineComponent< {
|
|
1547
2023
|
modelValue?: any;
|
|
1548
2024
|
} & TextFieldProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1549
2025
|
"update:modelValue": (value: any) => any;
|
|
@@ -1624,7 +2100,7 @@ export declare interface ToastMessage {
|
|
|
1624
2100
|
action?: MessageAction;
|
|
1625
2101
|
}
|
|
1626
2102
|
|
|
1627
|
-
export declare const ToastProvider:
|
|
2103
|
+
export declare const ToastProvider: __VLS_WithTemplateSlots_67<DefineComponent<ToastProviderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ToastProviderProps> & Readonly<{}>, {
|
|
1628
2104
|
size: "1" | "2" | "3";
|
|
1629
2105
|
position: "top-left" | "top-right" | "top-center" | "bottom-left" | "bottom-right" | "bottom-center";
|
|
1630
2106
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
@@ -1658,7 +2134,7 @@ export declare interface ToastProviderProps extends ToastProviderProps_2 {
|
|
|
1658
2134
|
position?: 'top-left' | 'top-right' | 'top-center' | 'bottom-left' | 'bottom-right' | 'bottom-center';
|
|
1659
2135
|
}
|
|
1660
2136
|
|
|
1661
|
-
export declare const Toggle:
|
|
2137
|
+
export declare const Toggle: __VLS_WithTemplateSlots_36<DefineComponent<ToggleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1662
2138
|
"update:modelValue": (value: boolean) => any;
|
|
1663
2139
|
}, string, PublicProps, Readonly<ToggleProps> & Readonly<{
|
|
1664
2140
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -1669,9 +2145,9 @@ variant: "solid" | "soft" | "ghost";
|
|
|
1669
2145
|
default?(_: {}): any;
|
|
1670
2146
|
}>;
|
|
1671
2147
|
|
|
1672
|
-
export declare const ToggleGroupItem:
|
|
2148
|
+
export declare const ToggleGroupItem: __VLS_WithTemplateSlots_38<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
1673
2149
|
|
|
1674
|
-
export declare const ToggleGroupRoot:
|
|
2150
|
+
export declare const ToggleGroupRoot: __VLS_WithTemplateSlots_37<DefineComponent<ToggleGroupRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1675
2151
|
"update:modelValue": (payload: AcceptableValue | AcceptableValue[]) => any;
|
|
1676
2152
|
}, string, PublicProps, Readonly<ToggleGroupRootProps> & Readonly<{
|
|
1677
2153
|
"onUpdate:modelValue"?: ((payload: AcceptableValue | AcceptableValue[]) => any) | undefined;
|
|
@@ -1720,11 +2196,7 @@ export declare interface ToggleProps extends ToggleProps_2 {
|
|
|
1720
2196
|
highContrast?: boolean;
|
|
1721
2197
|
}
|
|
1722
2198
|
|
|
1723
|
-
export declare const Tooltip:
|
|
1724
|
-
"update:open": (value: boolean) => any;
|
|
1725
|
-
}, string, PublicProps, Readonly<TooltipProps> & Readonly<{
|
|
1726
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
1727
|
-
}>, {
|
|
2199
|
+
export declare const Tooltip: __VLS_WithTemplateSlots_69<DefineComponent<TooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TooltipProps> & Readonly<{}>, {
|
|
1728
2200
|
color: ColorType;
|
|
1729
2201
|
side: "top" | "right" | "bottom" | "left";
|
|
1730
2202
|
sideOffset: number;
|
|
@@ -1750,8 +2222,10 @@ export declare interface TooltipProps extends TooltipRootProps, TooltipContentPr
|
|
|
1750
2222
|
color?: ColorType;
|
|
1751
2223
|
}
|
|
1752
2224
|
|
|
1753
|
-
export declare function useForwardPropsEmitsWithout<T extends Record<string, any>, Name extends string>(props: MaybeRefOrGetter<T>, emit: (name: Name, ...args: any[]) => void, exclude: string[]): ComputedRef<T &
|
|
2225
|
+
export declare function useForwardPropsEmitsWithout<T extends Record<string, any>, Name extends string>(props: MaybeRefOrGetter<T>, emit: (name: Name, ...args: any[]) => void, exclude: string[]): ComputedRef< { [K in keyof T as [T[K]] extends [boolean] ? K : never]?: T[K] | undefined; } & { [K_1 in keyof T as [T[K_1]] extends [boolean] ? never : K_1]: T[K_1]; } & {
|
|
2226
|
+
[x: `on-${string}`]: ((...args: any[]) => void) | undefined;
|
|
2227
|
+
}>;
|
|
1754
2228
|
|
|
1755
|
-
export declare function useForwardPropsWithout<T extends Record<string, any>>(props: MaybeRefOrGetter<T>, exclude: string[]): ComputedRef<T>;
|
|
2229
|
+
export declare function useForwardPropsWithout<T extends Record<string, any>>(props: MaybeRefOrGetter<T>, exclude: string[]): ComputedRef< { [K in keyof T as [T[K]] extends [boolean] ? K : never]?: T[K] | undefined; } & { [K_1 in keyof T as [T[K_1]] extends [boolean] ? never : K_1]: T[K_1]; }>;
|
|
1756
2230
|
|
|
1757
2231
|
export { }
|