@szum-tech/design-system 3.21.7 → 3.21.8
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/README.md +21 -5
- package/dist/{chunk-FYSQQPC6.js → chunk-43IXYEYA.js} +1 -1
- package/dist/{chunk-C2HH7ICU.cjs → chunk-BAYBHQGJ.cjs} +1 -1
- package/dist/{chunk-Q4M2CRV6.js → chunk-CRJQVA4Q.js} +1 -1
- package/dist/chunk-MVWZMKOP.js +1 -0
- package/dist/chunk-PO4A6PNA.cjs +1 -0
- package/dist/{chunk-PRGL4UAY.cjs → chunk-UC77R6EW.cjs} +1 -1
- package/dist/components/accordion/index.d.cts +4 -5
- package/dist/components/accordion/index.d.ts +4 -5
- package/dist/components/alert/index.d.cts +3 -4
- package/dist/components/alert/index.d.ts +3 -4
- package/dist/components/alert-dialog/index.d.cts +10 -11
- package/dist/components/alert-dialog/index.d.ts +10 -11
- package/dist/components/avatar/index.d.cts +3 -4
- package/dist/components/avatar/index.d.ts +3 -4
- package/dist/components/badge/index.d.cts +3 -4
- package/dist/components/badge/index.d.ts +3 -4
- package/dist/components/badge-overflow/index.d.cts +1 -2
- package/dist/components/badge-overflow/index.d.ts +1 -2
- package/dist/components/breadcrump/index.d.cts +7 -8
- package/dist/components/breadcrump/index.d.ts +7 -8
- package/dist/components/button/index.d.cts +1 -2
- package/dist/components/button/index.d.ts +1 -2
- package/dist/components/button-group/index.d.cts +3 -4
- package/dist/components/button-group/index.d.ts +3 -4
- package/dist/components/card/index.d.cts +7 -8
- package/dist/components/card/index.d.ts +7 -8
- package/dist/components/carousel/index.d.cts +5 -6
- package/dist/components/carousel/index.d.ts +5 -6
- package/dist/components/checkbox/index.d.cts +1 -2
- package/dist/components/checkbox/index.d.ts +1 -2
- package/dist/components/collapsible/index.d.cts +3 -4
- package/dist/components/collapsible/index.d.ts +3 -4
- package/dist/components/color-picker/index.d.cts +12 -13
- package/dist/components/color-picker/index.d.ts +12 -13
- package/dist/components/color-swatch/index.d.cts +1 -2
- package/dist/components/color-swatch/index.d.ts +1 -2
- package/dist/components/combobox/index.cjs +1 -1
- package/dist/components/combobox/index.d.cts +15 -16
- package/dist/components/combobox/index.d.ts +15 -16
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/counting-number/index.d.cts +2 -2
- package/dist/components/counting-number/index.d.ts +2 -2
- package/dist/components/dialog/index.d.cts +8 -9
- package/dist/components/dialog/index.d.ts +8 -9
- package/dist/components/dropdown-menu/index.d.cts +15 -16
- package/dist/components/dropdown-menu/index.d.ts +15 -16
- package/dist/components/empty/index.d.cts +6 -7
- package/dist/components/empty/index.d.ts +6 -7
- package/dist/components/field/index.d.cts +10 -11
- package/dist/components/field/index.d.ts +10 -11
- package/dist/components/file-upload/index.d.cts +10 -11
- package/dist/components/file-upload/index.d.ts +10 -11
- package/dist/components/header/index.d.cts +1 -2
- package/dist/components/header/index.d.ts +1 -2
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.d.cts +3 -4
- package/dist/components/index.d.ts +3 -4
- package/dist/components/index.js +1 -1
- package/dist/components/input/index.d.cts +1 -2
- package/dist/components/input/index.d.ts +1 -2
- package/dist/components/input-group/index.cjs +1 -1
- package/dist/components/input-group/index.d.cts +6 -7
- package/dist/components/input-group/index.d.ts +6 -7
- package/dist/components/input-group/index.js +1 -1
- package/dist/components/item/index.d.cts +10 -11
- package/dist/components/item/index.d.ts +10 -11
- package/dist/components/kbd/index.d.cts +2 -3
- package/dist/components/kbd/index.d.ts +2 -3
- package/dist/components/label/index.d.cts +1 -2
- package/dist/components/label/index.d.ts +1 -2
- package/dist/components/marquee/index.d.cts +1 -2
- package/dist/components/marquee/index.d.ts +1 -2
- package/dist/components/masonry/index.d.cts +2 -3
- package/dist/components/masonry/index.d.ts +2 -3
- package/dist/components/pagination/index.d.cts +7 -8
- package/dist/components/pagination/index.d.ts +7 -8
- package/dist/components/popover/index.d.cts +5 -6
- package/dist/components/popover/index.d.ts +5 -6
- package/dist/components/progress/index.d.cts +1 -2
- package/dist/components/progress/index.d.ts +1 -2
- package/dist/components/radio-group/index.d.cts +2 -3
- package/dist/components/radio-group/index.d.ts +2 -3
- package/dist/components/scroll-area/index.d.cts +2 -3
- package/dist/components/scroll-area/index.d.ts +2 -3
- package/dist/components/select/index.d.cts +6 -7
- package/dist/components/select/index.d.ts +6 -7
- package/dist/components/separator/index.d.cts +1 -2
- package/dist/components/separator/index.d.ts +1 -2
- package/dist/components/sheet/index.d.cts +8 -9
- package/dist/components/sheet/index.d.ts +8 -9
- package/dist/components/sidebar/index.d.cts +24 -25
- package/dist/components/sidebar/index.d.ts +24 -25
- package/dist/components/skeleton/index.d.cts +1 -2
- package/dist/components/skeleton/index.d.ts +1 -2
- package/dist/components/sortable/index.d.cts +3 -4
- package/dist/components/sortable/index.d.ts +3 -4
- package/dist/components/spinner/index.d.cts +1 -2
- package/dist/components/spinner/index.d.ts +1 -2
- package/dist/components/status/index.d.cts +3 -4
- package/dist/components/status/index.d.ts +3 -4
- package/dist/components/stepper/index.d.cts +11 -12
- package/dist/components/stepper/index.d.ts +11 -12
- package/dist/components/switch/index.d.cts +1 -2
- package/dist/components/switch/index.d.ts +1 -2
- package/dist/components/table/index.d.cts +8 -9
- package/dist/components/table/index.d.ts +8 -9
- package/dist/components/tabs/index.d.cts +4 -5
- package/dist/components/tabs/index.d.ts +4 -5
- package/dist/components/textarea/index.cjs +1 -1
- package/dist/components/textarea/index.d.cts +1 -2
- package/dist/components/textarea/index.d.ts +1 -2
- package/dist/components/textarea/index.js +1 -1
- package/dist/components/timeline/index.d.cts +9 -10
- package/dist/components/timeline/index.d.ts +9 -10
- package/dist/components/toaster/index.d.cts +2 -2
- package/dist/components/toaster/index.d.ts +2 -2
- package/dist/components/toggle/index.d.cts +1 -2
- package/dist/components/toggle/index.d.ts +1 -2
- package/dist/components/toggle-group/index.d.cts +2 -3
- package/dist/components/toggle-group/index.d.ts +2 -3
- package/dist/components/tooltip/index.d.cts +3 -4
- package/dist/components/tooltip/index.d.ts +3 -4
- package/dist/components/typing-text/index.d.cts +2 -2
- package/dist/components/typing-text/index.d.ts +2 -2
- package/dist/components/word-rotate/index.d.cts +2 -2
- package/dist/components/word-rotate/index.d.ts +2 -2
- package/dist/icons/index.d.cts +4 -5
- package/dist/icons/index.d.ts +4 -5
- package/dist/{popover-trigger-Cf4PPj0z.d.cts → popover-trigger-k9HHK6Iv.d.cts} +3 -4
- package/dist/{popover-trigger-Cf4PPj0z.d.ts → popover-trigger-k9HHK6Iv.d.ts} +3 -4
- package/dist/{select-Bf6XQtt-.d.cts → select-XQ8pKCV9.d.cts} +1 -2
- package/dist/{select-Bf6XQtt-.d.ts → select-XQ8pKCV9.d.ts} +1 -2
- package/dist/{tooltip-content-DqtogPBq.d.cts → tooltip-content-B29fawx9.d.cts} +1 -2
- package/dist/{tooltip-content-DqtogPBq.d.ts → tooltip-content-B29fawx9.d.ts} +1 -2
- package/package.json +22 -21
- package/dist/chunk-3LJTGNH7.js +0 -1
- package/dist/chunk-RLB6LVJ2.cjs +0 -1
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { Dialog as Dialog$1 } from 'radix-ui';
|
|
4
3
|
import { VariantProps } from 'class-variance-authority';
|
|
5
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
5
|
|
|
7
6
|
type DialogProps = React.ComponentProps<typeof Dialog$1.Root>;
|
|
8
|
-
declare function Dialog(props: DialogProps):
|
|
7
|
+
declare function Dialog(props: DialogProps): React.JSX.Element;
|
|
9
8
|
|
|
10
9
|
type DialogCloseProps = React.ComponentProps<typeof Dialog$1.Close>;
|
|
11
|
-
declare function DialogClose(props: DialogCloseProps):
|
|
10
|
+
declare function DialogClose(props: DialogCloseProps): React.JSX.Element;
|
|
12
11
|
|
|
13
12
|
declare const dialogContentVariants: (props?: {
|
|
14
13
|
width?: "sm" | "xs" | "lg" | "md" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full";
|
|
@@ -21,21 +20,21 @@ type DialogContentProps = React.ComponentProps<typeof Dialog$1.Content> & {
|
|
|
21
20
|
width?: DialogContentWidth;
|
|
22
21
|
showCloseButton?: boolean;
|
|
23
22
|
};
|
|
24
|
-
declare function DialogContent({ className, children, width, showCloseButton, ...props }: DialogContentProps):
|
|
23
|
+
declare function DialogContent({ className, children, width, showCloseButton, ...props }: DialogContentProps): React.JSX.Element;
|
|
25
24
|
|
|
26
25
|
type DialogTriggerProps = React.ComponentProps<typeof Dialog$1.Trigger>;
|
|
27
|
-
declare function DialogTrigger({ ...props }: DialogTriggerProps):
|
|
26
|
+
declare function DialogTrigger({ ...props }: DialogTriggerProps): React.JSX.Element;
|
|
28
27
|
|
|
29
28
|
type DialogHeaderProps = React.ComponentProps<"div">;
|
|
30
|
-
declare function DialogHeader({ className, ...props }: DialogHeaderProps):
|
|
29
|
+
declare function DialogHeader({ className, ...props }: DialogHeaderProps): React.JSX.Element;
|
|
31
30
|
|
|
32
31
|
type DialogFooterProps = React.ComponentProps<"div">;
|
|
33
|
-
declare function DialogFooter({ className, ...props }: DialogFooterProps):
|
|
32
|
+
declare function DialogFooter({ className, ...props }: DialogFooterProps): React.JSX.Element;
|
|
34
33
|
|
|
35
34
|
type DialogTitleProps = React.ComponentProps<typeof Dialog$1.Title>;
|
|
36
|
-
declare function DialogTitle({ className, ...props }: DialogTitleProps):
|
|
35
|
+
declare function DialogTitle({ className, ...props }: DialogTitleProps): React.JSX.Element;
|
|
37
36
|
|
|
38
37
|
type DialogDescriptionProps = React.ComponentProps<typeof Dialog$1.Description>;
|
|
39
|
-
declare function DialogDescription({ className, ...props }: DialogDescriptionProps):
|
|
38
|
+
declare function DialogDescription({ className, ...props }: DialogDescriptionProps): React.JSX.Element;
|
|
40
39
|
|
|
41
40
|
export { Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, type DialogContentWidth, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps };
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { DropdownMenu as DropdownMenu$1 } from 'radix-ui';
|
|
4
3
|
|
|
5
4
|
type DropdownMenuProps = React.ComponentProps<typeof DropdownMenu$1.Root>;
|
|
6
|
-
declare function DropdownMenu(props: DropdownMenuProps):
|
|
5
|
+
declare function DropdownMenu(props: DropdownMenuProps): React.JSX.Element;
|
|
7
6
|
|
|
8
7
|
type DropdownMenuPortalProps = React.ComponentProps<typeof DropdownMenu$1.Portal>;
|
|
9
|
-
declare function DropdownMenuPortal(props: DropdownMenuPortalProps):
|
|
8
|
+
declare function DropdownMenuPortal(props: DropdownMenuPortalProps): React.JSX.Element;
|
|
10
9
|
|
|
11
10
|
type DropdownMenuTriggerProps = React.ComponentProps<typeof DropdownMenu$1.Trigger>;
|
|
12
|
-
declare function DropdownMenuTrigger(props: DropdownMenuTriggerProps):
|
|
11
|
+
declare function DropdownMenuTrigger(props: DropdownMenuTriggerProps): React.JSX.Element;
|
|
13
12
|
|
|
14
13
|
type DropdownMenuContentProps = React.ComponentProps<typeof DropdownMenu$1.Content>;
|
|
15
|
-
declare function DropdownMenuContent({ className, align, sideOffset, ...props }: DropdownMenuContentProps):
|
|
14
|
+
declare function DropdownMenuContent({ className, align, sideOffset, ...props }: DropdownMenuContentProps): React.JSX.Element;
|
|
16
15
|
|
|
17
16
|
type DropdownMenuGroupProps = React.ComponentProps<typeof DropdownMenu$1.Group>;
|
|
18
|
-
declare function DropdownMenuGroup(props: DropdownMenuGroupProps):
|
|
17
|
+
declare function DropdownMenuGroup(props: DropdownMenuGroupProps): React.JSX.Element;
|
|
19
18
|
|
|
20
19
|
declare const DropdownMenuItemVariant: {
|
|
21
20
|
readonly DEFAULT: "default";
|
|
@@ -27,41 +26,41 @@ type DropdownMenuItemProps = React.ComponentProps<typeof DropdownMenu$1.Item> &
|
|
|
27
26
|
inset?: boolean;
|
|
28
27
|
variant?: DropdownMenuItemVariantType;
|
|
29
28
|
};
|
|
30
|
-
declare function DropdownMenuItem({ className, inset, variant, ...props }: DropdownMenuItemProps):
|
|
29
|
+
declare function DropdownMenuItem({ className, inset, variant, ...props }: DropdownMenuItemProps): React.JSX.Element;
|
|
31
30
|
|
|
32
31
|
type DropdownMenuCheckboxItemProps = React.ComponentProps<typeof DropdownMenu$1.CheckboxItem> & {
|
|
33
32
|
inset?: boolean;
|
|
34
33
|
};
|
|
35
|
-
declare function DropdownMenuCheckboxItem({ className, children, checked, inset, ...props }: DropdownMenuCheckboxItemProps):
|
|
34
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, inset, ...props }: DropdownMenuCheckboxItemProps): React.JSX.Element;
|
|
36
35
|
|
|
37
36
|
type DropdownMenuRadioGroupProps = React.ComponentProps<typeof DropdownMenu$1.RadioGroup>;
|
|
38
|
-
declare function DropdownMenuRadioGroup(props: DropdownMenuRadioGroupProps):
|
|
37
|
+
declare function DropdownMenuRadioGroup(props: DropdownMenuRadioGroupProps): React.JSX.Element;
|
|
39
38
|
|
|
40
39
|
type DropdownMenuRadioItemProps = React.ComponentProps<typeof DropdownMenu$1.RadioItem> & {
|
|
41
40
|
inset?: boolean;
|
|
42
41
|
};
|
|
43
|
-
declare function DropdownMenuRadioItem({ className, children, inset, ...props }: DropdownMenuRadioItemProps):
|
|
42
|
+
declare function DropdownMenuRadioItem({ className, children, inset, ...props }: DropdownMenuRadioItemProps): React.JSX.Element;
|
|
44
43
|
|
|
45
44
|
type DropdownMenuLabelProps = React.ComponentProps<typeof DropdownMenu$1.Label> & {
|
|
46
45
|
inset?: boolean;
|
|
47
46
|
};
|
|
48
|
-
declare function DropdownMenuLabel({ className, inset, ...props }: DropdownMenuLabelProps):
|
|
47
|
+
declare function DropdownMenuLabel({ className, inset, ...props }: DropdownMenuLabelProps): React.JSX.Element;
|
|
49
48
|
|
|
50
49
|
type DropdownMenuSeparatorProps = React.ComponentProps<typeof DropdownMenu$1.Separator>;
|
|
51
|
-
declare function DropdownMenuSeparator({ className, ...props }: DropdownMenuSeparatorProps):
|
|
50
|
+
declare function DropdownMenuSeparator({ className, ...props }: DropdownMenuSeparatorProps): React.JSX.Element;
|
|
52
51
|
|
|
53
52
|
type DropdownMenuShortcutProps = React.ComponentProps<"span">;
|
|
54
|
-
declare function DropdownMenuShortcut({ className, ...props }: DropdownMenuShortcutProps):
|
|
53
|
+
declare function DropdownMenuShortcut({ className, ...props }: DropdownMenuShortcutProps): React.JSX.Element;
|
|
55
54
|
|
|
56
55
|
type DropdownMenuSubProps = React.ComponentProps<typeof DropdownMenu$1.Sub>;
|
|
57
|
-
declare function DropdownMenuSub(props: DropdownMenuSubProps):
|
|
56
|
+
declare function DropdownMenuSub(props: DropdownMenuSubProps): React.JSX.Element;
|
|
58
57
|
|
|
59
58
|
type DropdownMenuSubTriggerProps = React.ComponentProps<typeof DropdownMenu$1.SubTrigger> & {
|
|
60
59
|
inset?: boolean;
|
|
61
60
|
};
|
|
62
|
-
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: DropdownMenuSubTriggerProps):
|
|
61
|
+
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: DropdownMenuSubTriggerProps): React.JSX.Element;
|
|
63
62
|
|
|
64
63
|
type DropdownMenuSubContentProps = React.ComponentProps<typeof DropdownMenu$1.SubContent>;
|
|
65
|
-
declare function DropdownMenuSubContent({ className, ...props }: DropdownMenuSubContentProps):
|
|
64
|
+
declare function DropdownMenuSubContent({ className, ...props }: DropdownMenuSubContentProps): React.JSX.Element;
|
|
66
65
|
|
|
67
66
|
export { DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuItemVariant, type DropdownMenuItemVariantType, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, type DropdownMenuPortalProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps };
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { DropdownMenu as DropdownMenu$1 } from 'radix-ui';
|
|
4
3
|
|
|
5
4
|
type DropdownMenuProps = React.ComponentProps<typeof DropdownMenu$1.Root>;
|
|
6
|
-
declare function DropdownMenu(props: DropdownMenuProps):
|
|
5
|
+
declare function DropdownMenu(props: DropdownMenuProps): React.JSX.Element;
|
|
7
6
|
|
|
8
7
|
type DropdownMenuPortalProps = React.ComponentProps<typeof DropdownMenu$1.Portal>;
|
|
9
|
-
declare function DropdownMenuPortal(props: DropdownMenuPortalProps):
|
|
8
|
+
declare function DropdownMenuPortal(props: DropdownMenuPortalProps): React.JSX.Element;
|
|
10
9
|
|
|
11
10
|
type DropdownMenuTriggerProps = React.ComponentProps<typeof DropdownMenu$1.Trigger>;
|
|
12
|
-
declare function DropdownMenuTrigger(props: DropdownMenuTriggerProps):
|
|
11
|
+
declare function DropdownMenuTrigger(props: DropdownMenuTriggerProps): React.JSX.Element;
|
|
13
12
|
|
|
14
13
|
type DropdownMenuContentProps = React.ComponentProps<typeof DropdownMenu$1.Content>;
|
|
15
|
-
declare function DropdownMenuContent({ className, align, sideOffset, ...props }: DropdownMenuContentProps):
|
|
14
|
+
declare function DropdownMenuContent({ className, align, sideOffset, ...props }: DropdownMenuContentProps): React.JSX.Element;
|
|
16
15
|
|
|
17
16
|
type DropdownMenuGroupProps = React.ComponentProps<typeof DropdownMenu$1.Group>;
|
|
18
|
-
declare function DropdownMenuGroup(props: DropdownMenuGroupProps):
|
|
17
|
+
declare function DropdownMenuGroup(props: DropdownMenuGroupProps): React.JSX.Element;
|
|
19
18
|
|
|
20
19
|
declare const DropdownMenuItemVariant: {
|
|
21
20
|
readonly DEFAULT: "default";
|
|
@@ -27,41 +26,41 @@ type DropdownMenuItemProps = React.ComponentProps<typeof DropdownMenu$1.Item> &
|
|
|
27
26
|
inset?: boolean;
|
|
28
27
|
variant?: DropdownMenuItemVariantType;
|
|
29
28
|
};
|
|
30
|
-
declare function DropdownMenuItem({ className, inset, variant, ...props }: DropdownMenuItemProps):
|
|
29
|
+
declare function DropdownMenuItem({ className, inset, variant, ...props }: DropdownMenuItemProps): React.JSX.Element;
|
|
31
30
|
|
|
32
31
|
type DropdownMenuCheckboxItemProps = React.ComponentProps<typeof DropdownMenu$1.CheckboxItem> & {
|
|
33
32
|
inset?: boolean;
|
|
34
33
|
};
|
|
35
|
-
declare function DropdownMenuCheckboxItem({ className, children, checked, inset, ...props }: DropdownMenuCheckboxItemProps):
|
|
34
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, inset, ...props }: DropdownMenuCheckboxItemProps): React.JSX.Element;
|
|
36
35
|
|
|
37
36
|
type DropdownMenuRadioGroupProps = React.ComponentProps<typeof DropdownMenu$1.RadioGroup>;
|
|
38
|
-
declare function DropdownMenuRadioGroup(props: DropdownMenuRadioGroupProps):
|
|
37
|
+
declare function DropdownMenuRadioGroup(props: DropdownMenuRadioGroupProps): React.JSX.Element;
|
|
39
38
|
|
|
40
39
|
type DropdownMenuRadioItemProps = React.ComponentProps<typeof DropdownMenu$1.RadioItem> & {
|
|
41
40
|
inset?: boolean;
|
|
42
41
|
};
|
|
43
|
-
declare function DropdownMenuRadioItem({ className, children, inset, ...props }: DropdownMenuRadioItemProps):
|
|
42
|
+
declare function DropdownMenuRadioItem({ className, children, inset, ...props }: DropdownMenuRadioItemProps): React.JSX.Element;
|
|
44
43
|
|
|
45
44
|
type DropdownMenuLabelProps = React.ComponentProps<typeof DropdownMenu$1.Label> & {
|
|
46
45
|
inset?: boolean;
|
|
47
46
|
};
|
|
48
|
-
declare function DropdownMenuLabel({ className, inset, ...props }: DropdownMenuLabelProps):
|
|
47
|
+
declare function DropdownMenuLabel({ className, inset, ...props }: DropdownMenuLabelProps): React.JSX.Element;
|
|
49
48
|
|
|
50
49
|
type DropdownMenuSeparatorProps = React.ComponentProps<typeof DropdownMenu$1.Separator>;
|
|
51
|
-
declare function DropdownMenuSeparator({ className, ...props }: DropdownMenuSeparatorProps):
|
|
50
|
+
declare function DropdownMenuSeparator({ className, ...props }: DropdownMenuSeparatorProps): React.JSX.Element;
|
|
52
51
|
|
|
53
52
|
type DropdownMenuShortcutProps = React.ComponentProps<"span">;
|
|
54
|
-
declare function DropdownMenuShortcut({ className, ...props }: DropdownMenuShortcutProps):
|
|
53
|
+
declare function DropdownMenuShortcut({ className, ...props }: DropdownMenuShortcutProps): React.JSX.Element;
|
|
55
54
|
|
|
56
55
|
type DropdownMenuSubProps = React.ComponentProps<typeof DropdownMenu$1.Sub>;
|
|
57
|
-
declare function DropdownMenuSub(props: DropdownMenuSubProps):
|
|
56
|
+
declare function DropdownMenuSub(props: DropdownMenuSubProps): React.JSX.Element;
|
|
58
57
|
|
|
59
58
|
type DropdownMenuSubTriggerProps = React.ComponentProps<typeof DropdownMenu$1.SubTrigger> & {
|
|
60
59
|
inset?: boolean;
|
|
61
60
|
};
|
|
62
|
-
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: DropdownMenuSubTriggerProps):
|
|
61
|
+
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: DropdownMenuSubTriggerProps): React.JSX.Element;
|
|
63
62
|
|
|
64
63
|
type DropdownMenuSubContentProps = React.ComponentProps<typeof DropdownMenu$1.SubContent>;
|
|
65
|
-
declare function DropdownMenuSubContent({ className, ...props }: DropdownMenuSubContentProps):
|
|
64
|
+
declare function DropdownMenuSubContent({ className, ...props }: DropdownMenuSubContentProps): React.JSX.Element;
|
|
66
65
|
|
|
67
66
|
export { DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuItemVariant, type DropdownMenuItemVariantType, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, type DropdownMenuPortalProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
3
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -6,24 +5,24 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
6
5
|
type EmptyProps = React.ComponentProps<"div"> & {
|
|
7
6
|
border?: boolean | "dashed";
|
|
8
7
|
};
|
|
9
|
-
declare function Empty({ className, border, ...props }: EmptyProps):
|
|
8
|
+
declare function Empty({ className, border, ...props }: EmptyProps): React.JSX.Element;
|
|
10
9
|
|
|
11
10
|
type EmptyHeaderProps = React.ComponentProps<"div">;
|
|
12
|
-
declare function EmptyHeader({ className, ...props }: EmptyHeaderProps):
|
|
11
|
+
declare function EmptyHeader({ className, ...props }: EmptyHeaderProps): React.JSX.Element;
|
|
13
12
|
|
|
14
13
|
type EmptyTitleProps = React.ComponentProps<"div">;
|
|
15
|
-
declare function EmptyTitle({ className, ...props }: EmptyTitleProps):
|
|
14
|
+
declare function EmptyTitle({ className, ...props }: EmptyTitleProps): React.JSX.Element;
|
|
16
15
|
|
|
17
16
|
type EmptyDescriptionProps = React.ComponentProps<"p">;
|
|
18
|
-
declare function EmptyDescription({ className, ...props }: EmptyDescriptionProps):
|
|
17
|
+
declare function EmptyDescription({ className, ...props }: EmptyDescriptionProps): React.JSX.Element;
|
|
19
18
|
|
|
20
19
|
type EmptyContentProps = React.ComponentProps<"div">;
|
|
21
|
-
declare function EmptyContent({ className, ...props }: EmptyContentProps):
|
|
20
|
+
declare function EmptyContent({ className, ...props }: EmptyContentProps): React.JSX.Element;
|
|
22
21
|
|
|
23
22
|
type EmptyMediaProps = React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>;
|
|
24
23
|
declare const emptyMediaVariants: (props?: {
|
|
25
24
|
variant?: "default" | "icon";
|
|
26
25
|
} & class_variance_authority_types.ClassProp) => string;
|
|
27
|
-
declare function EmptyMedia({ className, variant, ...props }: EmptyMediaProps):
|
|
26
|
+
declare function EmptyMedia({ className, variant, ...props }: EmptyMediaProps): React.JSX.Element;
|
|
28
27
|
|
|
29
28
|
export { Empty, EmptyContent, type EmptyContentProps, EmptyDescription, type EmptyDescriptionProps, EmptyHeader, type EmptyHeaderProps, EmptyMedia, type EmptyMediaProps, type EmptyProps, EmptyTitle, type EmptyTitleProps };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
3
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -6,24 +5,24 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
6
5
|
type EmptyProps = React.ComponentProps<"div"> & {
|
|
7
6
|
border?: boolean | "dashed";
|
|
8
7
|
};
|
|
9
|
-
declare function Empty({ className, border, ...props }: EmptyProps):
|
|
8
|
+
declare function Empty({ className, border, ...props }: EmptyProps): React.JSX.Element;
|
|
10
9
|
|
|
11
10
|
type EmptyHeaderProps = React.ComponentProps<"div">;
|
|
12
|
-
declare function EmptyHeader({ className, ...props }: EmptyHeaderProps):
|
|
11
|
+
declare function EmptyHeader({ className, ...props }: EmptyHeaderProps): React.JSX.Element;
|
|
13
12
|
|
|
14
13
|
type EmptyTitleProps = React.ComponentProps<"div">;
|
|
15
|
-
declare function EmptyTitle({ className, ...props }: EmptyTitleProps):
|
|
14
|
+
declare function EmptyTitle({ className, ...props }: EmptyTitleProps): React.JSX.Element;
|
|
16
15
|
|
|
17
16
|
type EmptyDescriptionProps = React.ComponentProps<"p">;
|
|
18
|
-
declare function EmptyDescription({ className, ...props }: EmptyDescriptionProps):
|
|
17
|
+
declare function EmptyDescription({ className, ...props }: EmptyDescriptionProps): React.JSX.Element;
|
|
19
18
|
|
|
20
19
|
type EmptyContentProps = React.ComponentProps<"div">;
|
|
21
|
-
declare function EmptyContent({ className, ...props }: EmptyContentProps):
|
|
20
|
+
declare function EmptyContent({ className, ...props }: EmptyContentProps): React.JSX.Element;
|
|
22
21
|
|
|
23
22
|
type EmptyMediaProps = React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>;
|
|
24
23
|
declare const emptyMediaVariants: (props?: {
|
|
25
24
|
variant?: "default" | "icon";
|
|
26
25
|
} & class_variance_authority_types.ClassProp) => string;
|
|
27
|
-
declare function EmptyMedia({ className, variant, ...props }: EmptyMediaProps):
|
|
26
|
+
declare function EmptyMedia({ className, variant, ...props }: EmptyMediaProps): React.JSX.Element;
|
|
28
27
|
|
|
29
28
|
export { Empty, EmptyContent, type EmptyContentProps, EmptyDescription, type EmptyDescriptionProps, EmptyHeader, type EmptyHeaderProps, EmptyMedia, type EmptyMediaProps, type EmptyProps, EmptyTitle, type EmptyTitleProps };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { VariantProps } from 'class-variance-authority';
|
|
4
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -10,41 +9,41 @@ declare const fieldVariants: (props?: {
|
|
|
10
9
|
} & class_variance_authority_types.ClassProp) => string;
|
|
11
10
|
|
|
12
11
|
type FieldProps = React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>;
|
|
13
|
-
declare function Field({ className, orientation, ...props }: FieldProps):
|
|
12
|
+
declare function Field({ className, orientation, ...props }: FieldProps): React.JSX.Element;
|
|
14
13
|
|
|
15
14
|
type FieldContentProps = React.ComponentProps<"div">;
|
|
16
|
-
declare function FieldContent({ className, ...props }: FieldContentProps):
|
|
15
|
+
declare function FieldContent({ className, ...props }: FieldContentProps): React.JSX.Element;
|
|
17
16
|
|
|
18
17
|
type FieldDescriptionProps = React.ComponentProps<"p">;
|
|
19
|
-
declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">):
|
|
18
|
+
declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element;
|
|
20
19
|
|
|
21
20
|
type FieldErrorProps = React.ComponentProps<"div"> & {
|
|
22
21
|
errors?: Array<{
|
|
23
22
|
message?: string;
|
|
24
23
|
} | undefined>;
|
|
25
24
|
};
|
|
26
|
-
declare function FieldError({ className, children, errors, ...props }: FieldErrorProps):
|
|
25
|
+
declare function FieldError({ className, children, errors, ...props }: FieldErrorProps): React.JSX.Element;
|
|
27
26
|
|
|
28
27
|
type FieldGroupProps = React.ComponentProps<"div">;
|
|
29
|
-
declare function FieldGroup({ className, ...props }: FieldGroupProps):
|
|
28
|
+
declare function FieldGroup({ className, ...props }: FieldGroupProps): React.JSX.Element;
|
|
30
29
|
|
|
31
30
|
type FieldLabelProps = React.ComponentProps<typeof Label>;
|
|
32
|
-
declare function FieldLabel({ className, ...props }: FieldLabelProps):
|
|
31
|
+
declare function FieldLabel({ className, ...props }: FieldLabelProps): React.JSX.Element;
|
|
33
32
|
|
|
34
33
|
type FieldLegendProps = React.ComponentProps<"legend"> & {
|
|
35
34
|
variant?: "legend" | "label";
|
|
36
35
|
};
|
|
37
|
-
declare function FieldLegend({ className, variant, ...props }: FieldLegendProps):
|
|
36
|
+
declare function FieldLegend({ className, variant, ...props }: FieldLegendProps): React.JSX.Element;
|
|
38
37
|
|
|
39
38
|
type FieldSeparatorProps = React.ComponentProps<"div"> & {
|
|
40
39
|
children?: React.ReactNode;
|
|
41
40
|
};
|
|
42
|
-
declare function FieldSeparator({ children, className, ...props }: FieldSeparatorProps):
|
|
41
|
+
declare function FieldSeparator({ children, className, ...props }: FieldSeparatorProps): React.JSX.Element;
|
|
43
42
|
|
|
44
43
|
type FieldSetProps = React.ComponentProps<"fieldset">;
|
|
45
|
-
declare function FieldSet({ className, ...props }: FieldSetProps):
|
|
44
|
+
declare function FieldSet({ className, ...props }: FieldSetProps): React.JSX.Element;
|
|
46
45
|
|
|
47
46
|
type FieldTitleProps = React.ComponentProps<"div">;
|
|
48
|
-
declare function FieldTitle({ className, ...props }: FieldTitleProps):
|
|
47
|
+
declare function FieldTitle({ className, ...props }: FieldTitleProps): React.JSX.Element;
|
|
49
48
|
|
|
50
49
|
export { Field, FieldContent, type FieldContentProps, FieldDescription, type FieldDescriptionProps, FieldError, type FieldErrorProps, FieldGroup, type FieldGroupProps, FieldLabel, type FieldLabelProps, FieldLegend, type FieldLegendProps, type FieldProps, FieldSeparator, type FieldSeparatorProps, FieldSet, type FieldSetProps, FieldTitle, type FieldTitleProps };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { VariantProps } from 'class-variance-authority';
|
|
4
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -10,41 +9,41 @@ declare const fieldVariants: (props?: {
|
|
|
10
9
|
} & class_variance_authority_types.ClassProp) => string;
|
|
11
10
|
|
|
12
11
|
type FieldProps = React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>;
|
|
13
|
-
declare function Field({ className, orientation, ...props }: FieldProps):
|
|
12
|
+
declare function Field({ className, orientation, ...props }: FieldProps): React.JSX.Element;
|
|
14
13
|
|
|
15
14
|
type FieldContentProps = React.ComponentProps<"div">;
|
|
16
|
-
declare function FieldContent({ className, ...props }: FieldContentProps):
|
|
15
|
+
declare function FieldContent({ className, ...props }: FieldContentProps): React.JSX.Element;
|
|
17
16
|
|
|
18
17
|
type FieldDescriptionProps = React.ComponentProps<"p">;
|
|
19
|
-
declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">):
|
|
18
|
+
declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element;
|
|
20
19
|
|
|
21
20
|
type FieldErrorProps = React.ComponentProps<"div"> & {
|
|
22
21
|
errors?: Array<{
|
|
23
22
|
message?: string;
|
|
24
23
|
} | undefined>;
|
|
25
24
|
};
|
|
26
|
-
declare function FieldError({ className, children, errors, ...props }: FieldErrorProps):
|
|
25
|
+
declare function FieldError({ className, children, errors, ...props }: FieldErrorProps): React.JSX.Element;
|
|
27
26
|
|
|
28
27
|
type FieldGroupProps = React.ComponentProps<"div">;
|
|
29
|
-
declare function FieldGroup({ className, ...props }: FieldGroupProps):
|
|
28
|
+
declare function FieldGroup({ className, ...props }: FieldGroupProps): React.JSX.Element;
|
|
30
29
|
|
|
31
30
|
type FieldLabelProps = React.ComponentProps<typeof Label>;
|
|
32
|
-
declare function FieldLabel({ className, ...props }: FieldLabelProps):
|
|
31
|
+
declare function FieldLabel({ className, ...props }: FieldLabelProps): React.JSX.Element;
|
|
33
32
|
|
|
34
33
|
type FieldLegendProps = React.ComponentProps<"legend"> & {
|
|
35
34
|
variant?: "legend" | "label";
|
|
36
35
|
};
|
|
37
|
-
declare function FieldLegend({ className, variant, ...props }: FieldLegendProps):
|
|
36
|
+
declare function FieldLegend({ className, variant, ...props }: FieldLegendProps): React.JSX.Element;
|
|
38
37
|
|
|
39
38
|
type FieldSeparatorProps = React.ComponentProps<"div"> & {
|
|
40
39
|
children?: React.ReactNode;
|
|
41
40
|
};
|
|
42
|
-
declare function FieldSeparator({ children, className, ...props }: FieldSeparatorProps):
|
|
41
|
+
declare function FieldSeparator({ children, className, ...props }: FieldSeparatorProps): React.JSX.Element;
|
|
43
42
|
|
|
44
43
|
type FieldSetProps = React.ComponentProps<"fieldset">;
|
|
45
|
-
declare function FieldSet({ className, ...props }: FieldSetProps):
|
|
44
|
+
declare function FieldSet({ className, ...props }: FieldSetProps): React.JSX.Element;
|
|
46
45
|
|
|
47
46
|
type FieldTitleProps = React.ComponentProps<"div">;
|
|
48
|
-
declare function FieldTitle({ className, ...props }: FieldTitleProps):
|
|
47
|
+
declare function FieldTitle({ className, ...props }: FieldTitleProps): React.JSX.Element;
|
|
49
48
|
|
|
50
49
|
export { Field, FieldContent, type FieldContentProps, FieldDescription, type FieldDescriptionProps, FieldError, type FieldErrorProps, FieldGroup, type FieldGroupProps, FieldLabel, type FieldLabelProps, FieldLegend, type FieldLegendProps, type FieldProps, FieldSeparator, type FieldSeparatorProps, FieldSet, type FieldSetProps, FieldTitle, type FieldTitleProps };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { VariantProps } from 'class-variance-authority';
|
|
4
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -43,42 +42,42 @@ type FileUploadProps = Omit<React.ComponentProps<"div">, "defaultValue" | "onCha
|
|
|
43
42
|
multiple?: boolean;
|
|
44
43
|
required?: boolean;
|
|
45
44
|
};
|
|
46
|
-
declare function FileUpload(props: FileUploadProps):
|
|
45
|
+
declare function FileUpload(props: FileUploadProps): React.JSX.Element;
|
|
47
46
|
|
|
48
47
|
type FileUploadDropzoneProps = React.ComponentProps<"div"> & {
|
|
49
48
|
asChild?: boolean;
|
|
50
49
|
};
|
|
51
|
-
declare function FileUploadDropzone(props: FileUploadDropzoneProps):
|
|
50
|
+
declare function FileUploadDropzone(props: FileUploadDropzoneProps): React.JSX.Element;
|
|
52
51
|
|
|
53
52
|
type FileUploadTriggerProps = React.ComponentProps<"button"> & {
|
|
54
53
|
asChild?: boolean;
|
|
55
54
|
};
|
|
56
|
-
declare function FileUploadTrigger(props: FileUploadTriggerProps):
|
|
55
|
+
declare function FileUploadTrigger(props: FileUploadTriggerProps): React.JSX.Element;
|
|
57
56
|
|
|
58
57
|
type FileUploadListProps = React.ComponentProps<"div"> & {
|
|
59
58
|
orientation?: FileUploadListOrientationType;
|
|
60
59
|
asChild?: boolean;
|
|
61
60
|
forceMount?: boolean;
|
|
62
61
|
};
|
|
63
|
-
declare function FileUploadList(props: FileUploadListProps):
|
|
62
|
+
declare function FileUploadList(props: FileUploadListProps): React.JSX.Element;
|
|
64
63
|
|
|
65
64
|
type FileUploadItemProps = React.ComponentProps<"div"> & {
|
|
66
65
|
value: File;
|
|
67
66
|
asChild?: boolean;
|
|
68
67
|
};
|
|
69
|
-
declare function FileUploadItem(props: FileUploadItemProps):
|
|
68
|
+
declare function FileUploadItem(props: FileUploadItemProps): React.JSX.Element;
|
|
70
69
|
|
|
71
70
|
type FileUploadItemPreviewProps = React.ComponentProps<"div"> & {
|
|
72
71
|
render?: (file: File, fallback: () => React.ReactNode) => React.ReactNode;
|
|
73
72
|
asChild?: boolean;
|
|
74
73
|
};
|
|
75
|
-
declare function FileUploadItemPreview(props: FileUploadItemPreviewProps):
|
|
74
|
+
declare function FileUploadItemPreview(props: FileUploadItemPreviewProps): React.JSX.Element;
|
|
76
75
|
|
|
77
76
|
type FileUploadItemMetadataProps = React.ComponentProps<"div"> & {
|
|
78
77
|
asChild?: boolean;
|
|
79
78
|
size?: "default" | "sm";
|
|
80
79
|
};
|
|
81
|
-
declare function FileUploadItemMetadata(props: FileUploadItemMetadataProps):
|
|
80
|
+
declare function FileUploadItemMetadata(props: FileUploadItemMetadataProps): React.JSX.Element;
|
|
82
81
|
|
|
83
82
|
type FileUploadItemProgressProps = React.ComponentProps<"div"> & {
|
|
84
83
|
variant?: "linear" | "circular" | "fill";
|
|
@@ -86,18 +85,18 @@ type FileUploadItemProgressProps = React.ComponentProps<"div"> & {
|
|
|
86
85
|
asChild?: boolean;
|
|
87
86
|
forceMount?: boolean;
|
|
88
87
|
};
|
|
89
|
-
declare function FileUploadItemProgress(props: FileUploadItemProgressProps):
|
|
88
|
+
declare function FileUploadItemProgress(props: FileUploadItemProgressProps): React.JSX.Element;
|
|
90
89
|
|
|
91
90
|
type FileUploadItemDeleteProps = React.ComponentProps<"button"> & {
|
|
92
91
|
asChild?: boolean;
|
|
93
92
|
};
|
|
94
|
-
declare function FileUploadItemDelete(props: FileUploadItemDeleteProps):
|
|
93
|
+
declare function FileUploadItemDelete(props: FileUploadItemDeleteProps): React.JSX.Element;
|
|
95
94
|
|
|
96
95
|
type FileUploadClearProps = React.ComponentProps<"button"> & {
|
|
97
96
|
forceMount?: boolean;
|
|
98
97
|
asChild?: boolean;
|
|
99
98
|
};
|
|
100
|
-
declare function FileUploadClear(props: FileUploadClearProps):
|
|
99
|
+
declare function FileUploadClear(props: FileUploadClearProps): React.JSX.Element;
|
|
101
100
|
|
|
102
101
|
type FileUploadContextValue = {
|
|
103
102
|
inputId: string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { VariantProps } from 'class-variance-authority';
|
|
4
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -43,42 +42,42 @@ type FileUploadProps = Omit<React.ComponentProps<"div">, "defaultValue" | "onCha
|
|
|
43
42
|
multiple?: boolean;
|
|
44
43
|
required?: boolean;
|
|
45
44
|
};
|
|
46
|
-
declare function FileUpload(props: FileUploadProps):
|
|
45
|
+
declare function FileUpload(props: FileUploadProps): React.JSX.Element;
|
|
47
46
|
|
|
48
47
|
type FileUploadDropzoneProps = React.ComponentProps<"div"> & {
|
|
49
48
|
asChild?: boolean;
|
|
50
49
|
};
|
|
51
|
-
declare function FileUploadDropzone(props: FileUploadDropzoneProps):
|
|
50
|
+
declare function FileUploadDropzone(props: FileUploadDropzoneProps): React.JSX.Element;
|
|
52
51
|
|
|
53
52
|
type FileUploadTriggerProps = React.ComponentProps<"button"> & {
|
|
54
53
|
asChild?: boolean;
|
|
55
54
|
};
|
|
56
|
-
declare function FileUploadTrigger(props: FileUploadTriggerProps):
|
|
55
|
+
declare function FileUploadTrigger(props: FileUploadTriggerProps): React.JSX.Element;
|
|
57
56
|
|
|
58
57
|
type FileUploadListProps = React.ComponentProps<"div"> & {
|
|
59
58
|
orientation?: FileUploadListOrientationType;
|
|
60
59
|
asChild?: boolean;
|
|
61
60
|
forceMount?: boolean;
|
|
62
61
|
};
|
|
63
|
-
declare function FileUploadList(props: FileUploadListProps):
|
|
62
|
+
declare function FileUploadList(props: FileUploadListProps): React.JSX.Element;
|
|
64
63
|
|
|
65
64
|
type FileUploadItemProps = React.ComponentProps<"div"> & {
|
|
66
65
|
value: File;
|
|
67
66
|
asChild?: boolean;
|
|
68
67
|
};
|
|
69
|
-
declare function FileUploadItem(props: FileUploadItemProps):
|
|
68
|
+
declare function FileUploadItem(props: FileUploadItemProps): React.JSX.Element;
|
|
70
69
|
|
|
71
70
|
type FileUploadItemPreviewProps = React.ComponentProps<"div"> & {
|
|
72
71
|
render?: (file: File, fallback: () => React.ReactNode) => React.ReactNode;
|
|
73
72
|
asChild?: boolean;
|
|
74
73
|
};
|
|
75
|
-
declare function FileUploadItemPreview(props: FileUploadItemPreviewProps):
|
|
74
|
+
declare function FileUploadItemPreview(props: FileUploadItemPreviewProps): React.JSX.Element;
|
|
76
75
|
|
|
77
76
|
type FileUploadItemMetadataProps = React.ComponentProps<"div"> & {
|
|
78
77
|
asChild?: boolean;
|
|
79
78
|
size?: "default" | "sm";
|
|
80
79
|
};
|
|
81
|
-
declare function FileUploadItemMetadata(props: FileUploadItemMetadataProps):
|
|
80
|
+
declare function FileUploadItemMetadata(props: FileUploadItemMetadataProps): React.JSX.Element;
|
|
82
81
|
|
|
83
82
|
type FileUploadItemProgressProps = React.ComponentProps<"div"> & {
|
|
84
83
|
variant?: "linear" | "circular" | "fill";
|
|
@@ -86,18 +85,18 @@ type FileUploadItemProgressProps = React.ComponentProps<"div"> & {
|
|
|
86
85
|
asChild?: boolean;
|
|
87
86
|
forceMount?: boolean;
|
|
88
87
|
};
|
|
89
|
-
declare function FileUploadItemProgress(props: FileUploadItemProgressProps):
|
|
88
|
+
declare function FileUploadItemProgress(props: FileUploadItemProgressProps): React.JSX.Element;
|
|
90
89
|
|
|
91
90
|
type FileUploadItemDeleteProps = React.ComponentProps<"button"> & {
|
|
92
91
|
asChild?: boolean;
|
|
93
92
|
};
|
|
94
|
-
declare function FileUploadItemDelete(props: FileUploadItemDeleteProps):
|
|
93
|
+
declare function FileUploadItemDelete(props: FileUploadItemDeleteProps): React.JSX.Element;
|
|
95
94
|
|
|
96
95
|
type FileUploadClearProps = React.ComponentProps<"button"> & {
|
|
97
96
|
forceMount?: boolean;
|
|
98
97
|
asChild?: boolean;
|
|
99
98
|
};
|
|
100
|
-
declare function FileUploadClear(props: FileUploadClearProps):
|
|
99
|
+
declare function FileUploadClear(props: FileUploadClearProps): React.JSX.Element;
|
|
101
100
|
|
|
102
101
|
type FileUploadContextValue = {
|
|
103
102
|
inputId: string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
|
|
4
3
|
type HeaderProps = React.ComponentProps<"header"> & {
|
|
@@ -13,6 +12,6 @@ type HeaderProps = React.ComponentProps<"header"> & {
|
|
|
13
12
|
*/
|
|
14
13
|
variant?: "full" | "container";
|
|
15
14
|
};
|
|
16
|
-
declare function Header({ children, variant, ...props }: HeaderProps):
|
|
15
|
+
declare function Header({ children, variant, ...props }: HeaderProps): React.JSX.Element;
|
|
17
16
|
|
|
18
17
|
export { Header, type HeaderProps };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
|
|
4
3
|
type HeaderProps = React.ComponentProps<"header"> & {
|
|
@@ -13,6 +12,6 @@ type HeaderProps = React.ComponentProps<"header"> & {
|
|
|
13
12
|
*/
|
|
14
13
|
variant?: "full" | "container";
|
|
15
14
|
};
|
|
16
|
-
declare function Header({ children, variant, ...props }: HeaderProps):
|
|
15
|
+
declare function Header({ children, variant, ...props }: HeaderProps): React.JSX.Element;
|
|
17
16
|
|
|
18
17
|
export { Header, type HeaderProps };
|