@typlog/ui 0.11.8 → 0.12.1
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.css +50 -0
- package/addons.d.ts +35 -2
- package/addons.js +57 -5
- package/base.css +16 -60
- package/components/badge.css +11 -0
- package/components/button.css +0 -39
- package/components/card.css +0 -55
- package/components/dialog.css +57 -302
- package/components/dropdown.css +79 -27
- package/components/inputs.css +8 -8
- package/components/pagination.css +0 -1
- package/components/popover.css +24 -34
- package/components/radio.css +142 -85
- package/components/tabs.css +109 -30
- package/components/toggle.css +42 -13
- package/components/tooltip.css +9 -1
- package/components.css +1087 -677
- package/components.d.ts +448 -237
- package/components.js +1138 -951
- package/package.json +3 -3
- package/tailwind/colors.css +0 -4
- package/tailwind/index.css +0 -1
- package/tailwind.css +1077 -0
- package/components/accordion.css +0 -149
- package/components/alert.css +0 -15
- package/components/avatar.css +0 -131
- package/components/collapsible.css +0 -27
- package/components/combobox.css +0 -388
- package/components/icon.css +0 -109
- package/components/inset.css +0 -94
- package/components/select.css +0 -308
- package/components/spinner.css +0 -36
- package/tailwind/breakpoints.css +0 -15
package/components.d.ts
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import { AcceptableInputValue } from 'reka-ui';
|
|
2
2
|
import { AcceptableValue } from 'reka-ui';
|
|
3
3
|
import { AccordionContentProps } from 'reka-ui';
|
|
4
|
-
import { AccordionItemProps } from 'reka-ui';
|
|
4
|
+
import { AccordionItemProps as AccordionItemProps_2 } from 'reka-ui';
|
|
5
5
|
import { AccordionRootProps as AccordionRootProps_2 } from 'reka-ui';
|
|
6
6
|
import { AlertDialogAction } from 'reka-ui';
|
|
7
7
|
import { AlertDialogActionProps } from 'reka-ui';
|
|
8
8
|
import { AlertDialogCancel } from 'reka-ui';
|
|
9
9
|
import { AlertDialogCancelProps } from 'reka-ui';
|
|
10
|
-
import { AlertDialogContentProps
|
|
10
|
+
import { AlertDialogContentProps } from 'reka-ui';
|
|
11
11
|
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
15
|
import { AsTag } from 'reka-ui';
|
|
16
|
+
import { CheckboxGroupRoot as CheckboxGroup } from 'reka-ui';
|
|
17
|
+
import { CheckboxGroupRootProps as CheckboxGroupProps } from 'reka-ui';
|
|
16
18
|
import { CheckboxRootProps } from 'reka-ui';
|
|
17
19
|
import { CollapsibleContentProps } from 'reka-ui';
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
+
import { CollapsibleRootProps as CollapsibleRootProps_2 } from 'reka-ui';
|
|
21
|
+
import { CollapsibleTriggerProps as CollapsibleTriggerProps_2 } from 'reka-ui';
|
|
20
22
|
import { ComboboxContentProps as ComboboxContentProps_2 } from 'reka-ui';
|
|
21
|
-
import { ComboboxEmpty } from 'reka-ui';
|
|
22
23
|
import { ComboboxGroup } from 'reka-ui';
|
|
23
24
|
import { ComboboxInputProps as ComboboxInputProps_2 } from 'reka-ui';
|
|
24
25
|
import { ComboboxItemProps } from 'reka-ui';
|
|
@@ -27,10 +28,11 @@ import { ComboboxRootProps as ComboboxRootProps_2 } from 'reka-ui';
|
|
|
27
28
|
import { Component } from 'vue';
|
|
28
29
|
import { ComponentOptionsMixin } from 'vue';
|
|
29
30
|
import { ComponentProvideOptions } from 'vue';
|
|
31
|
+
import { ComputedRef } from 'vue';
|
|
30
32
|
import { DefineComponent } from 'vue';
|
|
31
33
|
import { DialogClose } from 'reka-ui';
|
|
32
34
|
import { DialogCloseProps } from 'reka-ui';
|
|
33
|
-
import { DialogContentProps
|
|
35
|
+
import { DialogContentProps } from 'reka-ui';
|
|
34
36
|
import { DialogRoot } from 'reka-ui';
|
|
35
37
|
import { DialogRootProps } from 'reka-ui';
|
|
36
38
|
import { DialogTrigger } from 'reka-ui';
|
|
@@ -41,17 +43,16 @@ import { DropdownMenuRoot } from 'reka-ui';
|
|
|
41
43
|
import { DropdownMenuTrigger } from 'reka-ui';
|
|
42
44
|
import { EditableRootProps } from 'reka-ui';
|
|
43
45
|
import { FocusOutsideEvent } from 'reka-ui';
|
|
44
|
-
import {
|
|
46
|
+
import { MaybeRefOrGetter } from 'vue';
|
|
45
47
|
import { PointerDownOutsideEvent } from 'reka-ui';
|
|
46
48
|
import { PopoverClose } from 'reka-ui';
|
|
47
|
-
import { PopoverContentProps
|
|
49
|
+
import { PopoverContentProps } from 'reka-ui';
|
|
48
50
|
import { PopoverRoot } from 'reka-ui';
|
|
49
51
|
import { PopoverTrigger } from 'reka-ui';
|
|
50
52
|
import { PrimitiveProps } from 'reka-ui';
|
|
51
53
|
import { PublicProps } from 'vue';
|
|
52
|
-
import { RadioGroupItemProps } from 'reka-ui';
|
|
54
|
+
import { RadioGroupItemProps as RadioGroupItemProps_2 } from 'reka-ui';
|
|
53
55
|
import { RadioGroupRootProps as RadioGroupRootProps_2 } from 'reka-ui';
|
|
54
|
-
import { RadioGroupItem as RadioTabsItem } from 'reka-ui';
|
|
55
56
|
import { Ref } from 'vue';
|
|
56
57
|
import { ScrollAreaRootProps } from 'reka-ui';
|
|
57
58
|
import { SelectContentProps as SelectContentProps_2 } from 'reka-ui';
|
|
@@ -64,18 +65,17 @@ import { SwitchRootProps } from 'reka-ui';
|
|
|
64
65
|
import { TabsContent } from 'reka-ui';
|
|
65
66
|
import { TabsRoot } from 'reka-ui';
|
|
66
67
|
import { TabsTriggerProps } from 'reka-ui';
|
|
68
|
+
import { ToastProviderProps as ToastProviderProps_2 } from 'reka-ui';
|
|
67
69
|
import { ToggleGroupItemProps } from 'reka-ui';
|
|
68
70
|
import { ToggleGroupRootProps as ToggleGroupRootProps_2 } from 'reka-ui';
|
|
69
71
|
import { ToggleProps as ToggleProps_2 } from 'reka-ui';
|
|
70
72
|
import { TooltipContentProps } from 'reka-ui';
|
|
71
73
|
|
|
72
|
-
declare const __VLS_component: DefineComponent<
|
|
73
|
-
as: AsTag | Component;
|
|
74
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
74
|
+
declare const __VLS_component: DefineComponent<ToggleGroupItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ToggleGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
75
75
|
|
|
76
|
-
declare const __VLS_component_2: DefineComponent<
|
|
76
|
+
declare const __VLS_component_2: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
77
77
|
|
|
78
|
-
declare const __VLS_component_3: DefineComponent<
|
|
78
|
+
declare const __VLS_component_3: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
79
79
|
|
|
80
80
|
declare const __VLS_component_4: DefineComponent<TabsTriggerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TabsTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
81
81
|
|
|
@@ -379,6 +379,24 @@ declare type __VLS_WithTemplateSlots_45<T, S> = T & {
|
|
|
379
379
|
};
|
|
380
380
|
};
|
|
381
381
|
|
|
382
|
+
declare type __VLS_WithTemplateSlots_46<T, S> = T & {
|
|
383
|
+
new (): {
|
|
384
|
+
$slots: S;
|
|
385
|
+
};
|
|
386
|
+
};
|
|
387
|
+
|
|
388
|
+
declare type __VLS_WithTemplateSlots_47<T, S> = T & {
|
|
389
|
+
new (): {
|
|
390
|
+
$slots: S;
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
|
+
|
|
394
|
+
declare type __VLS_WithTemplateSlots_48<T, S> = T & {
|
|
395
|
+
new (): {
|
|
396
|
+
$slots: S;
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
|
|
382
400
|
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
383
401
|
new (): {
|
|
384
402
|
$slots: S;
|
|
@@ -409,44 +427,91 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
|
409
427
|
};
|
|
410
428
|
};
|
|
411
429
|
|
|
412
|
-
export declare const AccordionContent:
|
|
430
|
+
export declare const AccordionContent: __VLS_WithTemplateSlots_39<DefineComponent<AccordionContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AccordionContentProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
413
431
|
default?(_: {}): any;
|
|
414
432
|
}>;
|
|
415
433
|
|
|
416
434
|
export { AccordionContentProps }
|
|
417
435
|
|
|
418
|
-
export declare const
|
|
436
|
+
export declare const AccordionIndicator: DefineComponent<AccordionIndicatorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AccordionIndicatorProps> & Readonly<{}>, {
|
|
437
|
+
variant: "chevron" | "plus";
|
|
438
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
439
|
+
|
|
440
|
+
export declare interface AccordionIndicatorProps {
|
|
441
|
+
/**
|
|
442
|
+
* The indicator icon for the accordion trigger.
|
|
443
|
+
* @default "chevron"
|
|
444
|
+
*/
|
|
445
|
+
variant?: 'chevron' | 'plus';
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
export declare const AccordionItem: __VLS_WithTemplateSlots_38<DefineComponent<AccordionItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AccordionItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
419
449
|
default?(_: {}): any;
|
|
420
450
|
}>;
|
|
421
451
|
|
|
422
|
-
export
|
|
452
|
+
export declare interface AccordionItemProps extends Omit<AccordionItemProps_2, 'value'> {
|
|
453
|
+
/**
|
|
454
|
+
* A string identifier for the accordion item. If omitted, a unique value will be generated automatically.
|
|
455
|
+
*/
|
|
456
|
+
value?: string;
|
|
457
|
+
}
|
|
423
458
|
|
|
424
|
-
export declare const AccordionRoot:
|
|
459
|
+
export declare const AccordionRoot: __VLS_WithTemplateSlots_37<DefineComponent<AccordionRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
425
460
|
"update:modelValue": (value: string | string[] | undefined) => any;
|
|
426
461
|
}, string, PublicProps, Readonly<AccordionRootProps> & Readonly<{
|
|
427
462
|
"onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined;
|
|
428
463
|
}>, {
|
|
429
464
|
size: "1" | "2" | "3";
|
|
465
|
+
indicatorSide: "left" | "right";
|
|
466
|
+
indicatorIcon: "none" | "chevron" | "plus";
|
|
430
467
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
431
468
|
default?(_: {}): any;
|
|
432
469
|
}>;
|
|
433
470
|
|
|
434
471
|
export declare interface AccordionRootProps extends AccordionRootProps_2 {
|
|
472
|
+
/**
|
|
473
|
+
* Control the size of the accordion.
|
|
474
|
+
*
|
|
475
|
+
* @default "1"
|
|
476
|
+
*/
|
|
435
477
|
size?: '1' | '2' | '3';
|
|
478
|
+
/**
|
|
479
|
+
* The indicator icon's poistion, left or right.
|
|
480
|
+
*
|
|
481
|
+
* @default "right"
|
|
482
|
+
*/
|
|
483
|
+
indicatorSide?: 'left' | 'right';
|
|
484
|
+
/**
|
|
485
|
+
* An indicator icon on the left or right of the trigger.
|
|
486
|
+
*
|
|
487
|
+
* @default "chevron"
|
|
488
|
+
*/
|
|
489
|
+
indicatorIcon?: 'none' | 'chevron' | 'plus';
|
|
490
|
+
/**
|
|
491
|
+
* The orientation of the accordion.
|
|
492
|
+
*
|
|
493
|
+
* @default "vertical"
|
|
494
|
+
*/
|
|
495
|
+
orientation?: 'vertical' | 'horizontal';
|
|
436
496
|
}
|
|
437
497
|
|
|
438
|
-
export declare const AccordionTrigger:
|
|
439
|
-
indicator: "plus-minus" | "chevron";
|
|
440
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
498
|
+
export declare const AccordionTrigger: __VLS_WithTemplateSlots_40<DefineComponent<AccordionTriggerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AccordionTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
441
499
|
default?(_: {}): any;
|
|
442
500
|
}>;
|
|
443
501
|
|
|
444
502
|
export declare interface AccordionTriggerProps extends PrimitiveProps {
|
|
445
503
|
/**
|
|
446
|
-
* The indicator icon
|
|
504
|
+
* The indicator icon's poistion, left or right.
|
|
505
|
+
*
|
|
506
|
+
* @default "right"
|
|
507
|
+
*/
|
|
508
|
+
indicatorSide?: 'left' | 'right';
|
|
509
|
+
/**
|
|
510
|
+
* An indicator icon on the left or right of the trigger.
|
|
511
|
+
*
|
|
447
512
|
* @default "chevron"
|
|
448
513
|
*/
|
|
449
|
-
|
|
514
|
+
indicatorIcon?: 'none' | 'chevron' | 'plus';
|
|
450
515
|
}
|
|
451
516
|
|
|
452
517
|
export { AlertDialogAction }
|
|
@@ -457,36 +522,25 @@ export { AlertDialogCancel }
|
|
|
457
522
|
|
|
458
523
|
export { AlertDialogCancelProps }
|
|
459
524
|
|
|
460
|
-
export declare const
|
|
525
|
+
export declare const AlertDialogPopup: __VLS_WithTemplateSlots_10<DefineComponent<AlertDialogPopupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
461
526
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
462
527
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
463
528
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
464
529
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
465
530
|
openAutoFocus: (event: Event) => any;
|
|
466
531
|
closeAutoFocus: (event: Event) => any;
|
|
467
|
-
}, string, PublicProps, Readonly<
|
|
532
|
+
}, string, PublicProps, Readonly<AlertDialogPopupProps> & Readonly<{
|
|
468
533
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
469
534
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
470
535
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
471
536
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
472
537
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
473
538
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
474
|
-
}>, {
|
|
475
|
-
size: "1" | "2" | "3" | "4";
|
|
476
|
-
maxWidth: string;
|
|
477
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
539
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
478
540
|
default?(_: {}): any;
|
|
479
541
|
}>;
|
|
480
542
|
|
|
481
|
-
export declare interface
|
|
482
|
-
to?: string | HTMLElement;
|
|
483
|
-
size?: '1' | '2' | '3' | '4';
|
|
484
|
-
width?: string;
|
|
485
|
-
minWidth?: string;
|
|
486
|
-
maxWidth?: string;
|
|
487
|
-
height?: string;
|
|
488
|
-
minHeight?: string;
|
|
489
|
-
maxHeight?: string;
|
|
543
|
+
export declare interface AlertDialogPopupProps extends AlertDialogContentProps {
|
|
490
544
|
}
|
|
491
545
|
|
|
492
546
|
export { AlertDialogProps }
|
|
@@ -500,12 +554,12 @@ export { AlertDialogTriggerProps }
|
|
|
500
554
|
export declare const Avatar: DefineComponent<AvatarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AvatarProps> & Readonly<{}>, {
|
|
501
555
|
radius: RadiusType;
|
|
502
556
|
size: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9";
|
|
503
|
-
variant: "solid" | "soft" | "ring";
|
|
557
|
+
variant: "solid" | "soft" | "outline" | "surface" | "ring";
|
|
504
558
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
505
559
|
|
|
506
560
|
export declare interface AvatarProps {
|
|
507
|
-
/** Alt text of the avatar. */
|
|
508
|
-
alt
|
|
561
|
+
/** Alt text of the avatar, usually the person's name. */
|
|
562
|
+
alt?: string;
|
|
509
563
|
/** Avatar's image source URL. */
|
|
510
564
|
src?: string;
|
|
511
565
|
/** Using fallback characters for the avatar. */
|
|
@@ -519,7 +573,7 @@ export declare interface AvatarProps {
|
|
|
519
573
|
* The visual variant to apply.
|
|
520
574
|
* @default "solid"
|
|
521
575
|
*/
|
|
522
|
-
variant?: 'solid' | 'soft' | 'ring';
|
|
576
|
+
variant?: 'solid' | 'soft' | 'outline' | 'surface' | 'ring';
|
|
523
577
|
/**
|
|
524
578
|
* Control the size of the avatar.
|
|
525
579
|
* @default "2"
|
|
@@ -542,7 +596,7 @@ highContrast: boolean;
|
|
|
542
596
|
export declare interface BadgeProps {
|
|
543
597
|
/**
|
|
544
598
|
* The visual variant to apply.
|
|
545
|
-
* @default "
|
|
599
|
+
* @default "soft"
|
|
546
600
|
*/
|
|
547
601
|
variant?: 'solid' | 'soft' | 'surface' | 'outline';
|
|
548
602
|
/** Overrides the accent color inherited from the theme. */
|
|
@@ -567,9 +621,9 @@ export declare interface BadgeProps {
|
|
|
567
621
|
asChild?: boolean;
|
|
568
622
|
}
|
|
569
623
|
|
|
570
|
-
declare
|
|
624
|
+
export declare const buildPropsClass: (props: Record<string, any>, keys: string[]) => ComputedRef<string[]>;
|
|
571
625
|
|
|
572
|
-
export declare const Button:
|
|
626
|
+
export declare const Button: __VLS_WithTemplateSlots_4<DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
|
|
573
627
|
as: AsTag | Component;
|
|
574
628
|
size: "1" | "2" | "3" | "4";
|
|
575
629
|
variant: "classic" | "solid" | "soft" | "surface" | "outline" | "ghost";
|
|
@@ -578,15 +632,15 @@ highContrast: boolean;
|
|
|
578
632
|
default?(_: {}): any;
|
|
579
633
|
}>;
|
|
580
634
|
|
|
581
|
-
declare interface ButtonProps {
|
|
635
|
+
export declare interface ButtonProps {
|
|
582
636
|
/**
|
|
583
637
|
* The visual variant to apply.
|
|
584
638
|
* @default "solid"
|
|
585
639
|
*/
|
|
586
640
|
variant?: 'classic' | 'solid' | 'soft' | 'surface' | 'outline' | 'ghost';
|
|
587
|
-
/** Overrides the accent color inherited from the
|
|
641
|
+
/** Overrides the accent color inherited from the ThemeProvider. */
|
|
588
642
|
color?: ColorType;
|
|
589
|
-
/** Overrides the radius inherited from the
|
|
643
|
+
/** Overrides the radius inherited from the ThemeProvider. */
|
|
590
644
|
radius?: RadiusType;
|
|
591
645
|
/**
|
|
592
646
|
* Control the size of the button.
|
|
@@ -604,10 +658,8 @@ declare interface ButtonProps {
|
|
|
604
658
|
as?: AsTag | Component;
|
|
605
659
|
asChild?: boolean;
|
|
606
660
|
}
|
|
607
|
-
export { ButtonProps }
|
|
608
|
-
export { ButtonProps as IconButtonProps }
|
|
609
661
|
|
|
610
|
-
export declare const Card:
|
|
662
|
+
export declare const Card: __VLS_WithTemplateSlots_3<DefineComponent<CardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CardProps> & Readonly<{}>, {
|
|
611
663
|
as: AsTag | Component;
|
|
612
664
|
size: "1" | "2" | "3" | "4" | "5";
|
|
613
665
|
variant: "surface" | "soft";
|
|
@@ -615,12 +667,6 @@ variant: "surface" | "soft";
|
|
|
615
667
|
default?(_: {}): any;
|
|
616
668
|
}>;
|
|
617
669
|
|
|
618
|
-
export declare const CardHead: __VLS_WithTemplateSlots_5<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
619
|
-
|
|
620
|
-
export declare interface CardHeadProps extends PrimitiveProps {
|
|
621
|
-
color?: ColorType;
|
|
622
|
-
}
|
|
623
|
-
|
|
624
670
|
export declare interface CardProps extends PrimitiveProps {
|
|
625
671
|
variant?: 'surface' | 'soft';
|
|
626
672
|
radius?: RadiusType;
|
|
@@ -636,30 +682,9 @@ size: "1" | "2" | "3";
|
|
|
636
682
|
variant: "surface" | "soft";
|
|
637
683
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
638
684
|
|
|
639
|
-
export
|
|
640
|
-
|
|
641
|
-
export declare const CheckboxGroupItem: DefineComponent<CheckboxGroupItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CheckboxGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
642
|
-
|
|
643
|
-
declare interface CheckboxGroupItemProps extends CheckboxProps {
|
|
644
|
-
value: string;
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
export declare const CheckboxGroupRoot: __VLS_WithTemplateSlots_17<DefineComponent< {
|
|
648
|
-
modelValue?: any[];
|
|
649
|
-
} & CheckboxGroupRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
650
|
-
"update:modelValue": (value: any[]) => any;
|
|
651
|
-
}, string, PublicProps, Readonly<{
|
|
652
|
-
modelValue?: any[];
|
|
653
|
-
} & CheckboxGroupRootProps> & Readonly<{
|
|
654
|
-
"onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
655
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
656
|
-
default?(_: {}): any;
|
|
657
|
-
}>;
|
|
685
|
+
export { CheckboxGroup }
|
|
658
686
|
|
|
659
|
-
|
|
660
|
-
disabled?: boolean;
|
|
661
|
-
name?: string;
|
|
662
|
-
}
|
|
687
|
+
export { CheckboxGroupProps }
|
|
663
688
|
|
|
664
689
|
export declare interface CheckboxProps extends CheckboxRootProps {
|
|
665
690
|
color?: ColorType;
|
|
@@ -668,19 +693,39 @@ export declare interface CheckboxProps extends CheckboxRootProps {
|
|
|
668
693
|
highContrast?: boolean;
|
|
669
694
|
}
|
|
670
695
|
|
|
671
|
-
export declare const
|
|
672
|
-
arrowTransform: "right-down" | "right-up" | "up-down" | "down-up";
|
|
673
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
696
|
+
export declare const CollapsibleContent: __VLS_WithTemplateSlots_43<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
674
697
|
|
|
675
|
-
|
|
676
|
-
arrowTransform?: 'right-down' | 'right-up' | 'up-down' | 'down-up';
|
|
677
|
-
}
|
|
698
|
+
export { CollapsibleContentProps }
|
|
678
699
|
|
|
679
|
-
export declare const
|
|
700
|
+
export declare const CollapsibleIndicator: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
680
701
|
|
|
681
|
-
export
|
|
702
|
+
export declare const CollapsibleRoot: __VLS_WithTemplateSlots_41<DefineComponent<CollapsibleRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
703
|
+
"update:open": (value: boolean) => any;
|
|
704
|
+
}, string, PublicProps, Readonly<CollapsibleRootProps> & Readonly<{
|
|
705
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
706
|
+
}>, {
|
|
707
|
+
size: "1" | "2" | "3" | "4";
|
|
708
|
+
variant: "ghost" | "soft" | "surface";
|
|
709
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
710
|
+
default?(_: {}): any;
|
|
711
|
+
}>;
|
|
712
|
+
|
|
713
|
+
export declare interface CollapsibleRootProps extends CollapsibleRootProps_2 {
|
|
714
|
+
color?: ColorType;
|
|
715
|
+
radius?: RadiusType;
|
|
716
|
+
variant?: 'ghost' | 'soft' | 'surface';
|
|
717
|
+
size?: '1' | '2' | '3' | '4';
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
export declare const CollapsibleTrigger: __VLS_WithTemplateSlots_42<DefineComponent<CollapsibleTriggerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CollapsibleTriggerProps> & Readonly<{}>, {
|
|
721
|
+
indicator: "none" | "left" | "right";
|
|
722
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
723
|
+
default?(_: {}): any;
|
|
724
|
+
}>;
|
|
682
725
|
|
|
683
|
-
export
|
|
726
|
+
export declare interface CollapsibleTriggerProps extends CollapsibleTriggerProps_2 {
|
|
727
|
+
indicator?: 'none' | 'left' | 'right';
|
|
728
|
+
}
|
|
684
729
|
|
|
685
730
|
export declare const ColorField: DefineComponent< {
|
|
686
731
|
modelValue?: string;
|
|
@@ -691,20 +736,22 @@ modelValue?: string;
|
|
|
691
736
|
} & ColorFieldProps> & Readonly<{
|
|
692
737
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
693
738
|
}>, {
|
|
739
|
+
as: AsTag | Component;
|
|
694
740
|
size: "1" | "2" | "3";
|
|
695
741
|
variant: "solid" | "ring";
|
|
696
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
742
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
697
743
|
|
|
698
|
-
export declare interface ColorFieldProps {
|
|
744
|
+
export declare interface ColorFieldProps extends Omit<PrimitiveProps, 'asChild'> {
|
|
699
745
|
id?: string;
|
|
700
746
|
variant?: 'solid' | 'ring';
|
|
701
747
|
size?: '1' | '2' | '3';
|
|
702
748
|
radius?: RadiusType;
|
|
749
|
+
defaultValue?: string;
|
|
703
750
|
}
|
|
704
751
|
|
|
705
752
|
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';
|
|
706
753
|
|
|
707
|
-
export declare const ComboboxContent:
|
|
754
|
+
export declare const ComboboxContent: __VLS_WithTemplateSlots_25<DefineComponent<ComboboxContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
708
755
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
709
756
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
710
757
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
@@ -716,21 +763,21 @@ onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
|
716
763
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
717
764
|
}>, {
|
|
718
765
|
variant: "solid" | "soft";
|
|
766
|
+
sideOffset: number;
|
|
719
767
|
position: "inline" | "popper";
|
|
720
768
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
721
769
|
default?(_: {}): any;
|
|
722
770
|
}>;
|
|
723
771
|
|
|
724
772
|
declare interface ComboboxContentProps extends ComboboxContentProps_2 {
|
|
725
|
-
to?: string | HTMLElement;
|
|
726
773
|
variant?: 'solid' | 'soft';
|
|
727
774
|
}
|
|
728
775
|
|
|
729
|
-
export
|
|
776
|
+
export declare const ComboboxEmpty: __VLS_WithTemplateSlots_28<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
730
777
|
|
|
731
778
|
export { ComboboxGroup }
|
|
732
779
|
|
|
733
|
-
export declare const ComboboxInput:
|
|
780
|
+
export declare const ComboboxInput: __VLS_WithTemplateSlots_24<DefineComponent<ComboboxInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
734
781
|
"update:modelValue": (args_0: string) => any;
|
|
735
782
|
}, string, PublicProps, Readonly<ComboboxInputProps> & Readonly<{
|
|
736
783
|
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
@@ -748,13 +795,13 @@ declare interface ComboboxInputProps extends ComboboxInputProps_2 {
|
|
|
748
795
|
placeholder?: string;
|
|
749
796
|
}
|
|
750
797
|
|
|
751
|
-
export declare const ComboboxItem:
|
|
798
|
+
export declare const ComboboxItem: __VLS_WithTemplateSlots_26<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
752
799
|
|
|
753
|
-
export declare const ComboboxLabel:
|
|
800
|
+
export declare const ComboboxLabel: __VLS_WithTemplateSlots_27<DefineComponent<ComboboxLabelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ComboboxLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
754
801
|
default?(_: {}): any;
|
|
755
802
|
}>;
|
|
756
803
|
|
|
757
|
-
export declare const ComboboxRoot:
|
|
804
|
+
export declare const ComboboxRoot: __VLS_WithTemplateSlots_23<DefineComponent<ComboboxRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
758
805
|
"update:modelValue": (value: AcceptableValue) => any;
|
|
759
806
|
"update:open": (value: boolean) => any;
|
|
760
807
|
highlight: (payload: {
|
|
@@ -781,7 +828,7 @@ export declare interface ComboboxRootProps extends ComboboxRootProps_2 {
|
|
|
781
828
|
highContrast?: boolean;
|
|
782
829
|
}
|
|
783
830
|
|
|
784
|
-
declare const _default:
|
|
831
|
+
declare const _default: __VLS_WithTemplateSlots_7<DefineComponent<PrimitiveProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PrimitiveProps> & Readonly<{}>, {
|
|
785
832
|
as: AsTag | Component;
|
|
786
833
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
787
834
|
default?(_: {}): any;
|
|
@@ -789,7 +836,7 @@ as: AsTag | Component;
|
|
|
789
836
|
export { _default as AlertDialogTitle }
|
|
790
837
|
export { _default as DialogTitle }
|
|
791
838
|
|
|
792
|
-
declare const _default_2:
|
|
839
|
+
declare const _default_2: __VLS_WithTemplateSlots_8<DefineComponent<PrimitiveProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PrimitiveProps> & Readonly<{}>, {
|
|
793
840
|
as: AsTag | Component;
|
|
794
841
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
795
842
|
default?(_: {}): any;
|
|
@@ -797,31 +844,18 @@ as: AsTag | Component;
|
|
|
797
844
|
export { _default_2 as AlertDialogDescription }
|
|
798
845
|
export { _default_2 as DialogDescription }
|
|
799
846
|
|
|
800
|
-
declare const _default_3: __VLS_WithTemplateSlots_32<DefineComponent<RadioGroupRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
801
|
-
"update:modelValue": (payload: string) => any;
|
|
802
|
-
}, string, PublicProps, Readonly<RadioGroupRootProps> & Readonly<{
|
|
803
|
-
"onUpdate:modelValue"?: ((payload: string) => any) | undefined;
|
|
804
|
-
}>, {
|
|
805
|
-
size: "1" | "2" | "3";
|
|
806
|
-
variant: "surface" | "soft";
|
|
807
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
808
|
-
default?(_: {}): any;
|
|
809
|
-
}>;
|
|
810
|
-
export { _default_3 as RadioCardsRoot }
|
|
811
|
-
export { _default_3 as RadioGroupRoot }
|
|
812
|
-
|
|
813
847
|
export { DialogClose }
|
|
814
848
|
|
|
815
849
|
export { DialogCloseProps }
|
|
816
850
|
|
|
817
|
-
export declare const
|
|
851
|
+
export declare const DialogPopup: __VLS_WithTemplateSlots_9<DefineComponent<DialogPopupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
818
852
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
819
853
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
820
854
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
821
855
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
822
856
|
openAutoFocus: (event: Event) => any;
|
|
823
857
|
closeAutoFocus: (event: Event) => any;
|
|
824
|
-
}, string, PublicProps, Readonly<
|
|
858
|
+
}, string, PublicProps, Readonly<DialogPopupProps> & Readonly<{
|
|
825
859
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
826
860
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
827
861
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
@@ -829,22 +863,17 @@ onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any
|
|
|
829
863
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
830
864
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
831
865
|
}>, {
|
|
832
|
-
size: "1" | "2" | "3" | "4";
|
|
833
|
-
maxWidth: string;
|
|
866
|
+
size: "1" | "2" | "3" | "4" | "5";
|
|
834
867
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
835
868
|
default?(_: {}): any;
|
|
836
869
|
}>;
|
|
837
870
|
|
|
838
|
-
export declare interface
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
height?: string;
|
|
845
|
-
minHeight?: string;
|
|
846
|
-
maxHeight?: string;
|
|
847
|
-
closeIcon?: boolean;
|
|
871
|
+
export declare interface DialogPopupProps extends DialogContentProps {
|
|
872
|
+
/**
|
|
873
|
+
* Control size of the dialog. It will affect the padding and border-radius.
|
|
874
|
+
* @default "1"
|
|
875
|
+
*/
|
|
876
|
+
size?: '1' | '2' | '3' | '4' | '5';
|
|
848
877
|
}
|
|
849
878
|
|
|
850
879
|
export { DialogRoot }
|
|
@@ -855,7 +884,7 @@ export { DialogTrigger }
|
|
|
855
884
|
|
|
856
885
|
export { DialogTriggerProps }
|
|
857
886
|
|
|
858
|
-
export declare const DropdownMenuContent:
|
|
887
|
+
export declare const DropdownMenuContent: __VLS_WithTemplateSlots_11<DefineComponent<DropdownMenuContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
859
888
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
860
889
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
861
890
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
@@ -874,20 +903,19 @@ size: "1" | "2";
|
|
|
874
903
|
variant: "solid" | "soft";
|
|
875
904
|
align: "start" | "center" | "end";
|
|
876
905
|
sideOffset: number;
|
|
877
|
-
collisionPadding: number | Partial<Record<"top" | "
|
|
906
|
+
collisionPadding: number | Partial<Record<"top" | "right" | "bottom" | "left", number>>;
|
|
878
907
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
879
908
|
default?(_: {}): any;
|
|
880
909
|
}>;
|
|
881
910
|
|
|
882
911
|
export declare interface DropdownMenuContentProps extends DropdownMenuContentProps_2 {
|
|
883
|
-
to?: string | HTMLElement;
|
|
884
912
|
size?: '1' | '2';
|
|
885
913
|
variant?: 'solid' | 'soft';
|
|
886
914
|
color?: ColorType;
|
|
887
915
|
highContrast?: boolean;
|
|
888
916
|
}
|
|
889
917
|
|
|
890
|
-
export declare const DropdownMenuItem:
|
|
918
|
+
export declare const DropdownMenuItem: __VLS_WithTemplateSlots_12<DefineComponent<DropdownMenuItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
891
919
|
select: (event: Event) => any;
|
|
892
920
|
}, string, PublicProps, Readonly<DropdownMenuItemProps> & Readonly<{
|
|
893
921
|
onSelect?: ((event: Event) => any) | undefined;
|
|
@@ -902,6 +930,8 @@ export declare interface DropdownMenuItemProps extends DropdownMenuItemProps_2 {
|
|
|
902
930
|
|
|
903
931
|
export { DropdownMenuRoot }
|
|
904
932
|
|
|
933
|
+
export declare const DropdownMenuSeparator: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
934
|
+
|
|
905
935
|
export { DropdownMenuTrigger }
|
|
906
936
|
|
|
907
937
|
export declare const Editable: DefineComponent<EditableProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -934,41 +964,41 @@ export declare interface EditableProps extends EditableRootProps {
|
|
|
934
964
|
|
|
935
965
|
declare type GrayColorType = 'auto' | 'mauve' | 'olive' | 'sage' | 'sand' | 'slate';
|
|
936
966
|
|
|
937
|
-
export {
|
|
938
|
-
|
|
939
|
-
|
|
967
|
+
export declare const IconButton: __VLS_WithTemplateSlots_5<DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
|
|
968
|
+
as: AsTag | Component;
|
|
969
|
+
size: "1" | "2" | "3" | "4";
|
|
970
|
+
variant: "classic" | "solid" | "soft" | "surface" | "outline" | "ghost";
|
|
971
|
+
highContrast: boolean;
|
|
972
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
940
973
|
default?(_: {}): any;
|
|
941
974
|
}>;
|
|
942
975
|
|
|
943
|
-
export declare
|
|
944
|
-
size: number | string;
|
|
945
|
-
variant: "solid" | "soft" | "outline" | "glow";
|
|
946
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
947
|
-
|
|
948
|
-
export declare interface IconCircleProps {
|
|
949
|
-
color?: ColorType;
|
|
950
|
-
size?: number | string;
|
|
951
|
-
variant?: 'solid' | 'soft' | 'outline' | 'glow';
|
|
952
|
-
icon: string;
|
|
976
|
+
export declare interface IconButtonProps extends ButtonProps {
|
|
953
977
|
}
|
|
954
978
|
|
|
955
979
|
export declare const injectThemeContext: <T extends ThemeProviderContext | null | undefined = ThemeProviderContext>(fallback?: T | undefined) => T extends null ? ThemeProviderContext | null : ThemeProviderContext;
|
|
956
980
|
|
|
957
|
-
export declare
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
981
|
+
export declare type Message = string | {
|
|
982
|
+
title: string;
|
|
983
|
+
duration?: number;
|
|
984
|
+
type?: 'foreground' | 'background';
|
|
985
|
+
description?: string;
|
|
986
|
+
action?: MessageAction;
|
|
987
|
+
};
|
|
963
988
|
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
989
|
+
declare interface MessageAction {
|
|
990
|
+
label: string;
|
|
991
|
+
altText?: string;
|
|
992
|
+
variant?: 'solid' | 'soft' | 'surface' | 'outline' | 'ghost';
|
|
993
|
+
color?: ColorType;
|
|
994
|
+
radius?: RadiusType;
|
|
995
|
+
size?: '1' | '2' | '3' | '4';
|
|
996
|
+
onClick: () => void;
|
|
967
997
|
}
|
|
968
998
|
|
|
969
|
-
declare type
|
|
999
|
+
declare type MessageCategory = 'success' | 'info' | 'warning' | 'error' | 'loading';
|
|
970
1000
|
|
|
971
|
-
export declare const Pagination:
|
|
1001
|
+
export declare const Pagination: __VLS_WithTemplateSlots_44<DefineComponent< {
|
|
972
1002
|
page: number;
|
|
973
1003
|
} & PaginationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
974
1004
|
"update:page": (value: number) => any;
|
|
@@ -1011,26 +1041,16 @@ export declare interface PaginationProps extends ButtonProps {
|
|
|
1011
1041
|
edge?: number;
|
|
1012
1042
|
}
|
|
1013
1043
|
|
|
1014
|
-
export declare const PlusMinusIcon: DefineComponent<PlusMinusIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PlusMinusIconProps> & Readonly<{}>, {
|
|
1015
|
-
size: "1" | "2" | "3" | "4";
|
|
1016
|
-
color: ColorType;
|
|
1017
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1018
|
-
|
|
1019
|
-
declare interface PlusMinusIconProps {
|
|
1020
|
-
color?: ColorType;
|
|
1021
|
-
size?: '1' | '2' | '3' | '4';
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
1044
|
export { PopoverClose }
|
|
1025
1045
|
|
|
1026
|
-
export declare const
|
|
1046
|
+
export declare const PopoverPopup: __VLS_WithTemplateSlots_13<DefineComponent<PopoverPopupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1027
1047
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
1028
1048
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
1029
1049
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
1030
1050
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
1031
1051
|
openAutoFocus: (event: Event) => any;
|
|
1032
1052
|
closeAutoFocus: (event: Event) => any;
|
|
1033
|
-
}, string, PublicProps, Readonly<
|
|
1053
|
+
}, string, PublicProps, Readonly<PopoverPopupProps> & Readonly<{
|
|
1034
1054
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
1035
1055
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
1036
1056
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
@@ -1038,20 +1058,28 @@ onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any
|
|
|
1038
1058
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
1039
1059
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
1040
1060
|
}>, {
|
|
1041
|
-
size: "1" | "2"
|
|
1061
|
+
size: "1" | "2";
|
|
1062
|
+
align: "start" | "center" | "end";
|
|
1063
|
+
side: "top" | "right" | "bottom" | "left";
|
|
1064
|
+
sideOffset: number;
|
|
1042
1065
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1043
1066
|
default?(_: {}): any;
|
|
1044
1067
|
}>;
|
|
1045
1068
|
|
|
1046
|
-
export declare interface
|
|
1047
|
-
|
|
1048
|
-
size?: '1' | '2' | '3' | '4';
|
|
1069
|
+
export declare interface PopoverPopupProps extends PopoverContentProps {
|
|
1070
|
+
size?: '1' | '2';
|
|
1049
1071
|
}
|
|
1050
1072
|
|
|
1051
1073
|
export { PopoverRoot }
|
|
1052
1074
|
|
|
1053
1075
|
export { PopoverTrigger }
|
|
1054
1076
|
|
|
1077
|
+
declare interface PromiseMessageOption<T> {
|
|
1078
|
+
loading: string;
|
|
1079
|
+
success: (data: T) => Message;
|
|
1080
|
+
error?: (err: Error) => Message;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1055
1083
|
export declare const provideThemeContext: (contextValue: ThemeProviderContext) => ThemeProviderContext;
|
|
1056
1084
|
|
|
1057
1085
|
export declare const Quota: DefineComponent<QuotaProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<QuotaProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -1074,54 +1102,145 @@ size: "1" | "2" | "3";
|
|
|
1074
1102
|
variant: "surface" | "soft";
|
|
1075
1103
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLInputElement>;
|
|
1076
1104
|
|
|
1077
|
-
export declare const RadioCardsItem:
|
|
1105
|
+
export declare const RadioCardsItem: __VLS_WithTemplateSlots_32<DefineComponent<RadioGroupItemProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<RadioGroupItemProps_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1078
1106
|
default?(_: {}): any;
|
|
1079
1107
|
}>;
|
|
1080
1108
|
|
|
1081
|
-
export declare const
|
|
1109
|
+
export declare const RadioCardsRoot: __VLS_WithTemplateSlots_31<DefineComponent<RadioCardsRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1110
|
+
"update:modelValue": (payload: string) => any;
|
|
1111
|
+
}, string, PublicProps, Readonly<RadioCardsRootProps> & Readonly<{
|
|
1112
|
+
"onUpdate:modelValue"?: ((payload: string) => any) | undefined;
|
|
1113
|
+
}>, {
|
|
1114
|
+
size: "1" | "2" | "3";
|
|
1115
|
+
variant: "surface" | "classic";
|
|
1116
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1082
1117
|
default?(_: {}): any;
|
|
1083
1118
|
}>;
|
|
1084
1119
|
|
|
1085
|
-
export
|
|
1086
|
-
|
|
1120
|
+
export declare interface RadioCardsRootProps extends RadioGroupRootProps_2 {
|
|
1121
|
+
/**
|
|
1122
|
+
* The visual variant of the radio group.
|
|
1123
|
+
* @default "surface"
|
|
1124
|
+
*/
|
|
1125
|
+
variant?: 'surface' | 'classic';
|
|
1126
|
+
/**
|
|
1127
|
+
* Control the size of the radio group.
|
|
1128
|
+
* @default "2"
|
|
1129
|
+
*/
|
|
1130
|
+
size?: '1' | '2' | '3';
|
|
1131
|
+
/** Overrides the accent color inherited from the ThemeProvider. */
|
|
1132
|
+
color?: ColorType;
|
|
1133
|
+
/** Uses a higher contrast color for the component. */
|
|
1134
|
+
highContrast?: boolean;
|
|
1135
|
+
}
|
|
1087
1136
|
|
|
1088
|
-
export declare
|
|
1137
|
+
export declare const RadioGroupItem: __VLS_WithTemplateSlots_30<DefineComponent<RadioGroupItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<RadioGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>, {
|
|
1138
|
+
default?(_: {}): any;
|
|
1139
|
+
}>;
|
|
1140
|
+
|
|
1141
|
+
export declare interface RadioGroupItemProps extends RadioGroupItemProps_2 {
|
|
1142
|
+
/** Overrides the accent color inherited from the RadioGroupRoot. */
|
|
1089
1143
|
color?: ColorType;
|
|
1144
|
+
/** Overrides the size inherited from the RadioGroupRoot. */
|
|
1090
1145
|
size?: '1' | '2' | '3';
|
|
1146
|
+
/** Overrides the variant inherited from the RadioGroupRoot. */
|
|
1091
1147
|
variant?: 'surface' | 'soft';
|
|
1148
|
+
/** Overrides the highContrast prop inherited from the RadioGroupRoot. */
|
|
1149
|
+
highContrast?: boolean;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
export declare const RadioGroupRoot: __VLS_WithTemplateSlots_29<DefineComponent<RadioGroupRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1153
|
+
"update:modelValue": (payload: string) => any;
|
|
1154
|
+
}, string, PublicProps, Readonly<RadioGroupRootProps> & Readonly<{
|
|
1155
|
+
"onUpdate:modelValue"?: ((payload: string) => any) | undefined;
|
|
1156
|
+
}>, {
|
|
1157
|
+
size: "1" | "2" | "3";
|
|
1158
|
+
variant: "surface" | "soft";
|
|
1159
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1160
|
+
default?(_: {}): any;
|
|
1161
|
+
}>;
|
|
1162
|
+
|
|
1163
|
+
export declare interface RadioGroupRootProps extends RadioGroupRootProps_2 {
|
|
1164
|
+
/**
|
|
1165
|
+
* The visual variant of the radio group.
|
|
1166
|
+
* @default "surface"
|
|
1167
|
+
*/
|
|
1168
|
+
variant?: 'surface' | 'soft';
|
|
1169
|
+
/**
|
|
1170
|
+
* Control the size of the radio group.
|
|
1171
|
+
* @default "2"
|
|
1172
|
+
*/
|
|
1173
|
+
size?: '1' | '2' | '3';
|
|
1174
|
+
/** Overrides the accent color inherited from the ThemeProvider. */
|
|
1175
|
+
color?: ColorType;
|
|
1176
|
+
/** Uses a higher contrast color for the component. */
|
|
1092
1177
|
highContrast?: boolean;
|
|
1093
1178
|
}
|
|
1094
1179
|
|
|
1095
1180
|
export declare interface RadioProps {
|
|
1181
|
+
/**
|
|
1182
|
+
* The visual variant to apply.
|
|
1183
|
+
* @default "surface"
|
|
1184
|
+
*/
|
|
1185
|
+
variant?: 'surface' | 'soft';
|
|
1186
|
+
/** Overrides the accent color inherited from the Theme. */
|
|
1096
1187
|
color?: ColorType;
|
|
1188
|
+
/**
|
|
1189
|
+
* Control the size of the radio.
|
|
1190
|
+
* @default "2"
|
|
1191
|
+
*/
|
|
1097
1192
|
size?: '1' | '2' | '3';
|
|
1098
|
-
|
|
1193
|
+
/** Uses a higher contrast color for the component. */
|
|
1099
1194
|
highContrast?: boolean;
|
|
1100
1195
|
}
|
|
1101
1196
|
|
|
1102
|
-
export
|
|
1197
|
+
export declare const RadioTabsItem: __VLS_WithTemplateSlots_34<DefineComponent<RadioTabsItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<RadioTabsItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1198
|
+
default?(_: {}): any;
|
|
1199
|
+
}>;
|
|
1200
|
+
|
|
1201
|
+
export declare interface RadioTabsItemProps extends RadioGroupItemProps_2 {
|
|
1202
|
+
}
|
|
1103
1203
|
|
|
1104
|
-
export declare const
|
|
1204
|
+
export declare const RadioTabsRoot: __VLS_WithTemplateSlots_33<DefineComponent<RadioTabsRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1105
1205
|
"update:modelValue": (payload: string) => any;
|
|
1106
|
-
}, string, PublicProps, Readonly<
|
|
1206
|
+
}, string, PublicProps, Readonly<RadioTabsRootProps> & Readonly<{
|
|
1107
1207
|
"onUpdate:modelValue"?: ((payload: string) => any) | undefined;
|
|
1108
1208
|
}>, {
|
|
1109
1209
|
size: "1" | "2";
|
|
1210
|
+
variant: "classic" | "surface" | "soft";
|
|
1110
1211
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1111
1212
|
default?(_: {}): any;
|
|
1112
1213
|
}>;
|
|
1113
1214
|
|
|
1114
|
-
export declare interface
|
|
1215
|
+
export declare interface RadioTabsRootProps extends RadioGroupRootProps_2 {
|
|
1216
|
+
/**
|
|
1217
|
+
* The visual variant of the radio tabs.
|
|
1218
|
+
* @default "classic"
|
|
1219
|
+
*/
|
|
1220
|
+
variant?: 'classic' | 'surface' | 'soft';
|
|
1221
|
+
/**
|
|
1222
|
+
* Control the size of the radio tabs.
|
|
1223
|
+
* @default "2"
|
|
1224
|
+
*/
|
|
1115
1225
|
size?: '1' | '2';
|
|
1226
|
+
/** Overrides the accent color inherited from the ThemeProvider. */
|
|
1227
|
+
color?: ColorType;
|
|
1228
|
+
/** Overrides the radius inherited from the ThemeProvider. */
|
|
1229
|
+
radius?: RadiusType;
|
|
1116
1230
|
}
|
|
1117
1231
|
|
|
1118
1232
|
export declare type RadiusType = 'none' | 'small' | 'medium' | 'large' | 'full';
|
|
1119
1233
|
|
|
1120
|
-
export declare const SavingIndicator: DefineComponent<SavingIndicatorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SavingIndicatorProps> & Readonly<{}>, {
|
|
1234
|
+
export declare const SavingIndicator: __VLS_WithTemplateSlots_48<DefineComponent<SavingIndicatorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SavingIndicatorProps> & Readonly<{}>, {
|
|
1235
|
+
as: AsTag | Component;
|
|
1121
1236
|
size: "1" | "2" | "3";
|
|
1122
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
1237
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1238
|
+
default?(_: {
|
|
1239
|
+
status: SavingStatus;
|
|
1240
|
+
}): any;
|
|
1241
|
+
}>;
|
|
1123
1242
|
|
|
1124
|
-
export declare interface SavingIndicatorProps {
|
|
1243
|
+
export declare interface SavingIndicatorProps extends Omit<PrimitiveProps, 'asChild'> {
|
|
1125
1244
|
status: SavingStatus;
|
|
1126
1245
|
size?: '1' | '2' | '3';
|
|
1127
1246
|
}
|
|
@@ -1130,7 +1249,8 @@ export declare type SavingStatus = 'idle' | 'saving' | 'saved';
|
|
|
1130
1249
|
|
|
1131
1250
|
declare type ScalingType = '90%' | '95%' | '100%' | '105%' | '110%' | '115%' | '120%';
|
|
1132
1251
|
|
|
1133
|
-
export declare const ScrollArea:
|
|
1252
|
+
export declare const ScrollArea: __VLS_WithTemplateSlots_6<DefineComponent<ScrollAreaProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ScrollAreaProps> & Readonly<{}>, {
|
|
1253
|
+
type: "auto" | "scroll" | "always" | "hover";
|
|
1134
1254
|
size: "1" | "2" | "3";
|
|
1135
1255
|
scrollbars: "vertical" | "horizontal" | "both";
|
|
1136
1256
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
@@ -1143,32 +1263,31 @@ export declare interface ScrollAreaProps extends ScrollAreaRootProps {
|
|
|
1143
1263
|
scrollbars?: 'vertical' | 'horizontal' | 'both';
|
|
1144
1264
|
}
|
|
1145
1265
|
|
|
1146
|
-
export declare const SelectContent:
|
|
1266
|
+
export declare const SelectContent: __VLS_WithTemplateSlots_19<DefineComponent<SelectContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SelectContentProps> & Readonly<{}>, {
|
|
1147
1267
|
variant: "solid" | "soft";
|
|
1148
1268
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1149
1269
|
default?(_: {}): any;
|
|
1150
1270
|
}>;
|
|
1151
1271
|
|
|
1152
1272
|
export declare interface SelectContentProps extends SelectContentProps_2 {
|
|
1153
|
-
to?: string | HTMLElement;
|
|
1154
1273
|
variant?: 'solid' | 'soft';
|
|
1155
1274
|
}
|
|
1156
1275
|
|
|
1157
1276
|
export { SelectGroup }
|
|
1158
1277
|
|
|
1159
|
-
export declare const SelectItem:
|
|
1278
|
+
export declare const SelectItem: __VLS_WithTemplateSlots_21<DefineComponent<SelectItemProps<AcceptableValue>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SelectItemProps<AcceptableValue>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1160
1279
|
default?(_: {}): any;
|
|
1161
1280
|
}>;
|
|
1162
1281
|
|
|
1163
1282
|
export { SelectItemProps }
|
|
1164
1283
|
|
|
1165
|
-
export declare const SelectLabel:
|
|
1284
|
+
export declare const SelectLabel: __VLS_WithTemplateSlots_22<DefineComponent<SelectLabelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SelectLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1166
1285
|
default?(_: {}): any;
|
|
1167
1286
|
}>;
|
|
1168
1287
|
|
|
1169
1288
|
export { SelectLabelProps }
|
|
1170
1289
|
|
|
1171
|
-
export declare const SelectRoot:
|
|
1290
|
+
export declare const SelectRoot: __VLS_WithTemplateSlots_18<DefineComponent<SelectRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1172
1291
|
"update:modelValue": (value: AcceptableValue) => any;
|
|
1173
1292
|
"update:open": (value: boolean) => any;
|
|
1174
1293
|
}, string, PublicProps, Readonly<SelectRootProps> & Readonly<{
|
|
@@ -1188,7 +1307,7 @@ export declare interface SelectRootProps extends SelectRootProps_2 {
|
|
|
1188
1307
|
|
|
1189
1308
|
export declare const SelectSeparator: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
1190
1309
|
|
|
1191
|
-
export declare const SelectTrigger:
|
|
1310
|
+
export declare const SelectTrigger: __VLS_WithTemplateSlots_20<DefineComponent<SelectTriggerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SelectTriggerProps> & Readonly<{}>, {
|
|
1192
1311
|
variant: "surface" | "soft" | "ghost";
|
|
1193
1312
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1194
1313
|
default?(_: {
|
|
@@ -1204,47 +1323,36 @@ export declare interface SelectTriggerProps extends SelectTriggerProps_2 {
|
|
|
1204
1323
|
}
|
|
1205
1324
|
|
|
1206
1325
|
export declare const Separator: DefineComponent<SeparatorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SeparatorProps> & Readonly<{}>, {
|
|
1207
|
-
as:
|
|
1326
|
+
as: "span" | "div";
|
|
1327
|
+
size: "1" | "2" | "3" | "4";
|
|
1208
1328
|
color: ColorType;
|
|
1209
1329
|
orientation: "horizontal" | "vertical";
|
|
1210
1330
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1211
1331
|
|
|
1212
1332
|
export declare interface SeparatorProps {
|
|
1213
|
-
|
|
1333
|
+
/**
|
|
1334
|
+
* The element this separator should render as.
|
|
1335
|
+
* @default "span"
|
|
1336
|
+
*/
|
|
1337
|
+
as?: 'span' | 'div';
|
|
1338
|
+
/**
|
|
1339
|
+
* Control the orientation of the separator.
|
|
1340
|
+
* @default "horizontal"
|
|
1341
|
+
*/
|
|
1214
1342
|
orientation?: 'horizontal' | 'vertical';
|
|
1215
|
-
size?: '1' | '2' | '3' | '4';
|
|
1216
|
-
color?: ColorType;
|
|
1217
|
-
}
|
|
1218
|
-
|
|
1219
|
-
export declare const SocialButton: __VLS_WithTemplateSlots_8<DefineComponent<SocialButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SocialButtonProps> & Readonly<{}>, {
|
|
1220
|
-
as: AsTag | Component;
|
|
1221
|
-
size: "1" | "2" | "3" | "4";
|
|
1222
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1223
|
-
default?(_: {}): any;
|
|
1224
|
-
}>;
|
|
1225
|
-
|
|
1226
|
-
export declare interface SocialButtonProps extends PrimitiveProps {
|
|
1227
|
-
brand: BrandType;
|
|
1228
|
-
radius?: RadiusType;
|
|
1229
1343
|
/**
|
|
1230
|
-
* Control the size of the
|
|
1231
|
-
* @default "
|
|
1344
|
+
* Control the size of the separator.
|
|
1345
|
+
* @default "1"
|
|
1232
1346
|
*/
|
|
1233
1347
|
size?: '1' | '2' | '3' | '4';
|
|
1234
|
-
|
|
1348
|
+
/**
|
|
1349
|
+
* Overrides the color of the separator.
|
|
1350
|
+
* @default "gray"
|
|
1351
|
+
*/
|
|
1352
|
+
color?: ColorType;
|
|
1235
1353
|
}
|
|
1236
1354
|
|
|
1237
|
-
export declare const
|
|
1238
|
-
size: "1" | "2" | "3";
|
|
1239
|
-
icon: SpinnerIcon;
|
|
1240
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1241
|
-
|
|
1242
|
-
declare type SpinnerIcon = '12-dots-scale-rotate' | '180-ring' | '180-ring-with-bg' | '270-ring' | '270-ring-with-bg' | '3-dots-bounce' | '3-dots-fade' | '3-dots-move' | '3-dots-rotate' | '3-dots-scale' | '3-dots-scale-middle' | '6-dots-rotate' | '6-dots-scale' | '6-dots-scale-middle' | '8-dots-rotate' | '90-ring' | '90-ring-with-bg' | 'bars-fade' | 'bars-rotate-fade' | 'bars-scale' | 'bars-scale-fade' | 'bars-scale-middle' | 'blocks-scale' | 'blocks-shuffle-2' | 'blocks-shuffle-3' | 'blocks-wave' | 'bouncing-ball' | 'clock' | 'dot-revolve' | 'eclipse' | 'eclipse-half' | 'gooey-balls-1' | 'gooey-balls-2' | 'pulse' | 'pulse-2' | 'pulse-3' | 'pulse-multiple' | 'pulse-ring' | 'pulse-rings-2' | 'pulse-rings-3' | 'pulse-rings-multiple' | 'ring-resize' | 'tadpole' | 'wifi' | 'wifi-fade' | 'wind-toy';
|
|
1243
|
-
|
|
1244
|
-
declare interface SpinnerProps {
|
|
1245
|
-
icon?: SpinnerIcon;
|
|
1246
|
-
size?: '1' | '2' | '3';
|
|
1247
|
-
}
|
|
1355
|
+
export declare const SpinnerIcon: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLSpanElement>;
|
|
1248
1356
|
|
|
1249
1357
|
export declare const Switch: DefineComponent<SwitchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1250
1358
|
"update:modelValue": (payload: boolean) => any;
|
|
@@ -1263,7 +1371,7 @@ export declare interface SwitchProps extends SwitchRootProps {
|
|
|
1263
1371
|
radius?: RadiusType;
|
|
1264
1372
|
}
|
|
1265
1373
|
|
|
1266
|
-
export declare const Table:
|
|
1374
|
+
export declare const Table: __VLS_WithTemplateSlots_46<DefineComponent<TableProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TableProps> & Readonly<{}>, {
|
|
1267
1375
|
size: "1" | "2" | "3";
|
|
1268
1376
|
variant: "surface" | "ghost";
|
|
1269
1377
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
@@ -1278,21 +1386,24 @@ export declare interface TableProps {
|
|
|
1278
1386
|
|
|
1279
1387
|
export { TabsContent }
|
|
1280
1388
|
|
|
1281
|
-
export declare const TabsList:
|
|
1389
|
+
export declare const TabsList: __VLS_WithTemplateSlots_35<DefineComponent<TabsListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TabsListProps> & Readonly<{}>, {
|
|
1282
1390
|
size: "1" | "2";
|
|
1391
|
+
variant: "classic" | "outline" | "surface" | "soft";
|
|
1283
1392
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1284
1393
|
default?(_: {}): any;
|
|
1285
1394
|
}>;
|
|
1286
1395
|
|
|
1287
1396
|
export declare interface TabsListProps {
|
|
1288
1397
|
size?: '1' | '2';
|
|
1398
|
+
radius?: RadiusType;
|
|
1289
1399
|
color?: ColorType;
|
|
1400
|
+
variant?: 'classic' | 'outline' | 'surface' | 'soft';
|
|
1290
1401
|
highContrast?: boolean;
|
|
1291
1402
|
}
|
|
1292
1403
|
|
|
1293
1404
|
export { TabsRoot }
|
|
1294
1405
|
|
|
1295
|
-
export declare const TabsTrigger:
|
|
1406
|
+
export declare const TabsTrigger: __VLS_WithTemplateSlots_36<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
1296
1407
|
|
|
1297
1408
|
export declare const TextArea: DefineComponent< {
|
|
1298
1409
|
modelValue?: string;
|
|
@@ -1316,7 +1427,7 @@ export declare interface TextAreaProps {
|
|
|
1316
1427
|
radius?: RadiusType;
|
|
1317
1428
|
}
|
|
1318
1429
|
|
|
1319
|
-
export declare const TextField:
|
|
1430
|
+
export declare const TextField: __VLS_WithTemplateSlots_17<DefineComponent< {
|
|
1320
1431
|
modelValue?: any;
|
|
1321
1432
|
} & TextFieldProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1322
1433
|
"update:modelValue": (value: any) => any;
|
|
@@ -1350,6 +1461,7 @@ accentColor: ColorType;
|
|
|
1350
1461
|
radius: RadiusType;
|
|
1351
1462
|
grayColor: GrayColorType;
|
|
1352
1463
|
scaling: ScalingType;
|
|
1464
|
+
panelBackground: "solid" | "translucent";
|
|
1353
1465
|
hasBackground: boolean;
|
|
1354
1466
|
as: AsTag | Component;
|
|
1355
1467
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
@@ -1361,6 +1473,7 @@ declare interface ThemeProviderContext {
|
|
|
1361
1473
|
radius: Ref<RadiusType>;
|
|
1362
1474
|
grayColor: Ref<GrayColorType>;
|
|
1363
1475
|
scaling: Ref<ScalingType>;
|
|
1476
|
+
panelBackground: Ref<'solid' | 'translucent'>;
|
|
1364
1477
|
hasBackground: Ref<boolean>;
|
|
1365
1478
|
}
|
|
1366
1479
|
|
|
@@ -1369,10 +1482,67 @@ export declare interface ThemeProviderProps extends PrimitiveProps {
|
|
|
1369
1482
|
radius?: RadiusType;
|
|
1370
1483
|
grayColor?: GrayColorType;
|
|
1371
1484
|
scaling?: ScalingType;
|
|
1485
|
+
panelBackground?: 'solid' | 'translucent';
|
|
1372
1486
|
hasBackground?: boolean;
|
|
1373
1487
|
}
|
|
1374
1488
|
|
|
1375
|
-
export declare const
|
|
1489
|
+
export declare const toast: ToastFunction;
|
|
1490
|
+
|
|
1491
|
+
declare type ToastFunction = {
|
|
1492
|
+
(message: Message): number;
|
|
1493
|
+
info: (message: Message) => number;
|
|
1494
|
+
success: (message: Message) => number;
|
|
1495
|
+
warning: (message: Message) => number;
|
|
1496
|
+
error: (message: Message) => number;
|
|
1497
|
+
promise: <T>(fn: () => Promise<T>, options: PromiseMessageOption<T>) => number;
|
|
1498
|
+
};
|
|
1499
|
+
|
|
1500
|
+
export declare interface ToastMessage {
|
|
1501
|
+
id: number;
|
|
1502
|
+
category?: MessageCategory;
|
|
1503
|
+
title: string;
|
|
1504
|
+
height?: number;
|
|
1505
|
+
type?: 'foreground' | 'background';
|
|
1506
|
+
duration?: number;
|
|
1507
|
+
description?: string;
|
|
1508
|
+
action?: MessageAction;
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
export declare const ToastProvider: __VLS_WithTemplateSlots_45<DefineComponent<ToastProviderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ToastProviderProps> & Readonly<{}>, {
|
|
1512
|
+
size: "1" | "2" | "3";
|
|
1513
|
+
position: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
1514
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1515
|
+
default?(_: {}): any;
|
|
1516
|
+
item?(_: {
|
|
1517
|
+
key: number;
|
|
1518
|
+
message: {
|
|
1519
|
+
id: number;
|
|
1520
|
+
category?: MessageCategory | undefined;
|
|
1521
|
+
title: string;
|
|
1522
|
+
height?: number | undefined;
|
|
1523
|
+
type?: "foreground" | "background" | undefined;
|
|
1524
|
+
duration?: number | undefined;
|
|
1525
|
+
description?: string | undefined;
|
|
1526
|
+
action?: {
|
|
1527
|
+
label: string;
|
|
1528
|
+
altText?: string | undefined;
|
|
1529
|
+
variant?: "solid" | "soft" | "surface" | "outline" | "ghost" | undefined;
|
|
1530
|
+
color?: ColorType | undefined;
|
|
1531
|
+
radius?: RadiusType | undefined;
|
|
1532
|
+
size?: "1" | "2" | "3" | "4" | undefined;
|
|
1533
|
+
onClick: () => void;
|
|
1534
|
+
} | undefined;
|
|
1535
|
+
};
|
|
1536
|
+
index: number;
|
|
1537
|
+
}): any;
|
|
1538
|
+
}>;
|
|
1539
|
+
|
|
1540
|
+
export declare interface ToastProviderProps extends ToastProviderProps_2 {
|
|
1541
|
+
size?: '1' | '2' | '3';
|
|
1542
|
+
position?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
export declare const Toggle: __VLS_WithTemplateSlots_14<DefineComponent<ToggleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1376
1546
|
"update:modelValue": (value: boolean) => any;
|
|
1377
1547
|
}, string, PublicProps, Readonly<ToggleProps> & Readonly<{
|
|
1378
1548
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -1383,48 +1553,89 @@ variant: "solid" | "soft" | "ghost";
|
|
|
1383
1553
|
default?(_: {}): any;
|
|
1384
1554
|
}>;
|
|
1385
1555
|
|
|
1386
|
-
export declare const ToggleGroupItem:
|
|
1556
|
+
export declare const ToggleGroupItem: __VLS_WithTemplateSlots_16<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
1387
1557
|
|
|
1388
|
-
export declare const ToggleGroupRoot:
|
|
1558
|
+
export declare const ToggleGroupRoot: __VLS_WithTemplateSlots_15<DefineComponent<ToggleGroupRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1389
1559
|
"update:modelValue": (payload: AcceptableValue | AcceptableValue[]) => any;
|
|
1390
1560
|
}, string, PublicProps, Readonly<ToggleGroupRootProps> & Readonly<{
|
|
1391
1561
|
"onUpdate:modelValue"?: ((payload: AcceptableValue | AcceptableValue[]) => any) | undefined;
|
|
1392
1562
|
}>, {
|
|
1393
1563
|
size: "1" | "2" | "3";
|
|
1394
|
-
variant: "solid" | "soft" | "ghost";
|
|
1564
|
+
variant: "solid" | "soft" | "surface" | "outline" | "ghost";
|
|
1395
1565
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1396
1566
|
default?(_: {}): any;
|
|
1397
1567
|
}>;
|
|
1398
1568
|
|
|
1399
1569
|
export declare interface ToggleGroupRootProps extends ToggleGroupRootProps_2 {
|
|
1570
|
+
/**
|
|
1571
|
+
* The visual variant to apply.
|
|
1572
|
+
* @default "solid"
|
|
1573
|
+
*/
|
|
1574
|
+
variant?: 'solid' | 'soft' | 'surface' | 'outline' | 'ghost';
|
|
1575
|
+
/** Overrides the accent color inherited from the Theme. */
|
|
1400
1576
|
color?: ColorType;
|
|
1401
|
-
|
|
1577
|
+
/**
|
|
1578
|
+
* Control the size of the toggle.
|
|
1579
|
+
* @default "2"
|
|
1580
|
+
*/
|
|
1402
1581
|
size?: '1' | '2' | '3';
|
|
1582
|
+
/** Uses a higher contrast color for the component. */
|
|
1403
1583
|
highContrast?: boolean;
|
|
1584
|
+
/** Overrides the radius inherited from the theme. */
|
|
1404
1585
|
radius?: RadiusType;
|
|
1405
1586
|
}
|
|
1406
1587
|
|
|
1407
1588
|
export declare interface ToggleProps extends ToggleProps_2 {
|
|
1408
|
-
|
|
1589
|
+
/**
|
|
1590
|
+
* The visual variant to apply.
|
|
1591
|
+
* @default "soft"
|
|
1592
|
+
*/
|
|
1409
1593
|
variant?: 'solid' | 'soft' | 'ghost';
|
|
1594
|
+
/** Overrides the accent color inherited from the Theme. */
|
|
1595
|
+
color?: ColorType;
|
|
1596
|
+
/** Overrides the radius inherited from the theme. */
|
|
1597
|
+
radius?: RadiusType;
|
|
1598
|
+
/**
|
|
1599
|
+
* Control the size of the toggle.
|
|
1600
|
+
* @default "2"
|
|
1601
|
+
*/
|
|
1410
1602
|
size?: '1' | '2' | '3';
|
|
1603
|
+
/** Uses a higher contrast color for the component. */
|
|
1411
1604
|
highContrast?: boolean;
|
|
1412
|
-
radius?: RadiusType;
|
|
1413
1605
|
}
|
|
1414
1606
|
|
|
1415
|
-
export declare const Tooltip:
|
|
1416
|
-
|
|
1607
|
+
export declare const Tooltip: __VLS_WithTemplateSlots_47<DefineComponent<TooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TooltipProps> & Readonly<{}>, {
|
|
1608
|
+
color: ColorType;
|
|
1609
|
+
side: "top" | "right" | "bottom" | "left";
|
|
1417
1610
|
sideOffset: number;
|
|
1418
1611
|
avoidCollisions: boolean;
|
|
1419
|
-
collisionPadding: number | Partial<Record<"top" | "
|
|
1612
|
+
collisionPadding: number | Partial<Record<"top" | "right" | "bottom" | "left", number>>;
|
|
1613
|
+
maxWidth: string;
|
|
1420
1614
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1421
1615
|
default?(_: {}): any;
|
|
1422
1616
|
content?(_: {}): any;
|
|
1423
1617
|
}>;
|
|
1424
1618
|
|
|
1425
1619
|
export declare interface TooltipProps extends TooltipContentProps {
|
|
1426
|
-
|
|
1620
|
+
/** The content associated with the tooltip. */
|
|
1427
1621
|
content?: string;
|
|
1622
|
+
/**
|
|
1623
|
+
* The max width of the tooltip popup.
|
|
1624
|
+
* @default "360px"
|
|
1625
|
+
*/
|
|
1626
|
+
maxWidth?: string;
|
|
1627
|
+
/** Background color of the tooltip popup.
|
|
1628
|
+
* @default "gray"
|
|
1629
|
+
*/
|
|
1630
|
+
color?: ColorType;
|
|
1428
1631
|
}
|
|
1429
1632
|
|
|
1633
|
+
export declare function useForwardPropsEmitsWithout<T extends Record<string, any>, Name extends string>(props: MaybeRefOrGetter<T>, emit: (name: Name, ...args: any[]) => void, exclude: string[]): ComputedRef< {
|
|
1634
|
+
[x: string]: any;
|
|
1635
|
+
}>;
|
|
1636
|
+
|
|
1637
|
+
export declare function useForwardPropsWithout<T extends Record<string, any>>(props: MaybeRefOrGetter<T>, exclude: string[]): ComputedRef< {
|
|
1638
|
+
[x: string]: any;
|
|
1639
|
+
}>;
|
|
1640
|
+
|
|
1430
1641
|
export { }
|