@waveso/ui 0.8.1 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion.d.ts +1 -1
- package/dist/action-bar.d.ts +5 -1
- package/dist/action-bar.js +4 -0
- package/dist/alert-dialog.d.ts +4 -2
- package/dist/alert-dialog.js +6 -2
- package/dist/alert.d.ts +1 -1
- package/dist/alert.js +1 -1
- package/dist/animate.d.ts +14 -4
- package/dist/autocomplete.d.ts +1 -1
- package/dist/avatar.d.ts +1 -1
- package/dist/badge.d.ts +2 -2
- package/dist/breadcrumb.d.ts +1 -1
- package/dist/button-group.d.ts +1 -1
- package/dist/button.d.ts +3 -3
- package/dist/button.js +2 -0
- package/dist/card.d.ts +1 -1
- package/dist/checkbox.d.ts +1 -1
- package/dist/collapsible.d.ts +1 -1
- package/dist/combobox.d.ts +8 -7
- package/dist/context-menu.d.ts +1 -1
- package/dist/dialog.d.ts +4 -7
- package/dist/dialog.js +3 -7
- package/dist/direction.d.ts +7 -2
- package/dist/drawer.d.ts +6 -1
- package/dist/drawer.js +31 -28
- package/dist/encrypted-text.d.ts +1 -1
- package/dist/form.d.ts +1 -1
- package/dist/infinite-scroll.d.ts +4 -5
- package/dist/infinite-scroll.js +2 -1
- package/dist/input-group.d.ts +3 -3
- package/dist/input-group.js +1 -1
- package/dist/input-otp.d.ts +1 -1
- package/dist/input.d.ts +3 -2
- package/dist/item.d.ts +3 -3
- package/dist/item.js +1 -1
- package/dist/label.d.ts +1 -1
- package/dist/masonry.d.ts +1 -1
- package/dist/menu.d.ts +1 -1
- package/dist/menubar.d.ts +1 -1
- package/dist/pagination.d.ts +1 -1
- package/dist/popover.d.ts +8 -1
- package/dist/popover.js +2 -2
- package/dist/preview-card.d.ts +5 -2
- package/dist/preview-card.js +2 -2
- package/dist/progress.d.ts +1 -1
- package/dist/progress.js +3 -3
- package/dist/radio-group.d.ts +1 -1
- package/dist/radio.d.ts +1 -1
- package/dist/scroll-area.d.ts +1 -1
- package/dist/select.d.ts +1 -1
- package/dist/separator.d.ts +1 -1
- package/dist/sidebar.d.ts +73 -50
- package/dist/sidebar.js +1 -1
- package/dist/skeleton.d.ts +1 -1
- package/dist/slider.d.ts +1 -1
- package/dist/spinner.d.ts +1 -1
- package/dist/switch.d.ts +1 -1
- package/dist/table.d.ts +1 -1
- package/dist/tabs.d.ts +1 -1
- package/dist/textarea.d.ts +1 -1
- package/dist/toast.d.ts +6 -5
- package/dist/toast.js +1 -1
- package/dist/toggle-group.d.ts +1 -1
- package/dist/toggle-group.js +6 -6
- package/dist/toggle.d.ts +1 -1
- package/dist/tooltip.d.ts +1 -1
- package/package.json +1 -1
package/dist/accordion.d.ts
CHANGED
|
@@ -26,4 +26,4 @@ declare function AccordionContent({
|
|
|
26
26
|
...props
|
|
27
27
|
}: AccordionContentProps): _$react_jsx_runtime0.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
29
|
+
export { Accordion, AccordionContent, AccordionContentProps, AccordionItem, AccordionItemProps, AccordionProps, AccordionTrigger, AccordionTriggerProps };
|
package/dist/action-bar.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ interface ActionBarProviderProps {
|
|
|
24
24
|
* users get) when guarded navigation is blocked.
|
|
25
25
|
*/
|
|
26
26
|
blockedMessage?: string;
|
|
27
|
-
/** Additional className for the bar's
|
|
27
|
+
/** Additional className for the bar's inner content box (`data-slot="action-bar-content"`). */
|
|
28
28
|
className?: string;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
@@ -38,6 +38,10 @@ interface ActionBarProviderProps {
|
|
|
38
38
|
* - Navigation guard with Discord-style page jiggle
|
|
39
39
|
* - `beforeunload` guard for browser close/refresh
|
|
40
40
|
*
|
|
41
|
+
* @remarks
|
|
42
|
+
* Requires the optional `motion` peer dependency for its enter/exit
|
|
43
|
+
* transition. Install `motion` alongside `@waveso/ui` to use this component.
|
|
44
|
+
*
|
|
41
45
|
* @example
|
|
42
46
|
* ```tsx
|
|
43
47
|
* // Root layout — once
|
package/dist/action-bar.js
CHANGED
|
@@ -35,6 +35,10 @@ const ActionBarContext = React.createContext(null);
|
|
|
35
35
|
* - Navigation guard with Discord-style page jiggle
|
|
36
36
|
* - `beforeunload` guard for browser close/refresh
|
|
37
37
|
*
|
|
38
|
+
* @remarks
|
|
39
|
+
* Requires the optional `motion` peer dependency for its enter/exit
|
|
40
|
+
* transition. Install `motion` alongside `@waveso/ui` to use this component.
|
|
41
|
+
*
|
|
38
42
|
* @example
|
|
39
43
|
* ```tsx
|
|
40
44
|
* // Root layout — once
|
package/dist/alert-dialog.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ type AlertDialogFooterProps = React.ComponentProps<"div">;
|
|
|
16
16
|
type AlertDialogMediaProps = React.ComponentProps<"div">;
|
|
17
17
|
type AlertDialogTitleProps = React.ComponentProps<typeof AlertDialog$1.Title>;
|
|
18
18
|
type AlertDialogDescriptionProps = React.ComponentProps<typeof AlertDialog$1.Description>;
|
|
19
|
-
type AlertDialogActionProps = React.ComponentProps<typeof Button>;
|
|
19
|
+
type AlertDialogActionProps = React.ComponentProps<typeof AlertDialog$1.Close> & Pick<React.ComponentProps<typeof Button>, "variant" | "size">;
|
|
20
20
|
type AlertDialogCancelProps = React.ComponentProps<typeof AlertDialog$1.Close> & Pick<React.ComponentProps<typeof Button>, "variant" | "size">;
|
|
21
21
|
declare function AlertDialog({
|
|
22
22
|
...props
|
|
@@ -58,6 +58,8 @@ declare function AlertDialogDescription({
|
|
|
58
58
|
}: AlertDialogDescriptionProps): _$react_jsx_runtime0.JSX.Element;
|
|
59
59
|
declare function AlertDialogAction({
|
|
60
60
|
className,
|
|
61
|
+
variant,
|
|
62
|
+
size,
|
|
61
63
|
...props
|
|
62
64
|
}: AlertDialogActionProps): _$react_jsx_runtime0.JSX.Element;
|
|
63
65
|
declare function AlertDialogCancel({
|
|
@@ -67,4 +69,4 @@ declare function AlertDialogCancel({
|
|
|
67
69
|
...props
|
|
68
70
|
}: AlertDialogCancelProps): _$react_jsx_runtime0.JSX.Element;
|
|
69
71
|
//#endregion
|
|
70
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
72
|
+
export { AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogCancel, AlertDialogCancelProps, AlertDialogContent, AlertDialogContentProps, AlertDialogDescription, AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogFooterProps, AlertDialogHeader, AlertDialogHeaderProps, AlertDialogMedia, AlertDialogMediaProps, AlertDialogOverlay, AlertDialogOverlayProps, AlertDialogPortal, AlertDialogPortalProps, AlertDialogProps, AlertDialogTitle, AlertDialogTitleProps, AlertDialogTrigger, AlertDialogTriggerProps };
|
package/dist/alert-dialog.js
CHANGED
|
@@ -73,10 +73,14 @@ function AlertDialogDescription({ className, ...props }) {
|
|
|
73
73
|
...props
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
|
-
function AlertDialogAction({ className, ...props }) {
|
|
77
|
-
return /* @__PURE__ */ jsx(
|
|
76
|
+
function AlertDialogAction({ className, variant, size, ...props }) {
|
|
77
|
+
return /* @__PURE__ */ jsx(AlertDialog$1.Close, {
|
|
78
78
|
"data-slot": "alert-dialog-action",
|
|
79
79
|
className,
|
|
80
|
+
render: /* @__PURE__ */ jsx(Button, {
|
|
81
|
+
variant,
|
|
82
|
+
size
|
|
83
|
+
}),
|
|
80
84
|
...props
|
|
81
85
|
});
|
|
82
86
|
}
|
package/dist/alert.d.ts
CHANGED
|
@@ -29,4 +29,4 @@ declare function AlertAction({
|
|
|
29
29
|
...props
|
|
30
30
|
}: AlertActionProps): _$react_jsx_runtime0.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
|
-
export { Alert, AlertAction, AlertDescription, AlertTitle };
|
|
32
|
+
export { Alert, AlertAction, AlertActionProps, AlertDescription, AlertDescriptionProps, AlertProps, AlertTitle, AlertTitleProps, alertVariants };
|
package/dist/alert.js
CHANGED
package/dist/animate.d.ts
CHANGED
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import * as _$react from "react";
|
|
2
2
|
import { ReactElement } from "react";
|
|
3
3
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
-
import { Transition } from "motion/react";
|
|
5
4
|
|
|
6
5
|
//#region src/animate.d.ts
|
|
7
6
|
type Direction = "up" | "down" | "left" | "right";
|
|
7
|
+
/**
|
|
8
|
+
* Transition override for the entrance components. Only the two fields that map
|
|
9
|
+
* cleanly onto a CSS transition are supported — `duration` (seconds) and `ease`
|
|
10
|
+
* (a CSS `<timing-function>` string, e.g. `"ease-out"` or `"cubic-bezier(…)"`).
|
|
11
|
+
* motion/react's full `Transition` type (springs, keyframe arrays, camelCase
|
|
12
|
+
* eases) would silently produce invalid CSS here, so it is intentionally narrowed.
|
|
13
|
+
*/
|
|
14
|
+
type AnimateTransition = {
|
|
15
|
+
duration?: number;
|
|
16
|
+
ease?: string;
|
|
17
|
+
};
|
|
8
18
|
interface AnimateOnViewProps {
|
|
9
19
|
children: ReactElement;
|
|
10
20
|
/** Delay in seconds before animation starts. Default: 0 */
|
|
@@ -26,7 +36,7 @@ interface AnimateOnViewProps {
|
|
|
26
36
|
/** Trigger once or every time it enters view. Default: true */
|
|
27
37
|
once?: boolean;
|
|
28
38
|
/** Custom transition override */
|
|
29
|
-
transition?:
|
|
39
|
+
transition?: AnimateTransition;
|
|
30
40
|
}
|
|
31
41
|
interface AnimateInProps {
|
|
32
42
|
children: ReactElement;
|
|
@@ -47,7 +57,7 @@ interface AnimateInProps {
|
|
|
47
57
|
/** Spring easing with overshoot. Default: false */
|
|
48
58
|
spring?: boolean;
|
|
49
59
|
/** Custom transition override */
|
|
50
|
-
transition?:
|
|
60
|
+
transition?: AnimateTransition;
|
|
51
61
|
}
|
|
52
62
|
interface StaggerProps {
|
|
53
63
|
children: ReactElement[];
|
|
@@ -189,4 +199,4 @@ declare function Float({
|
|
|
189
199
|
paused
|
|
190
200
|
}: FloatProps): _$react_jsx_runtime0.JSX.Element;
|
|
191
201
|
//#endregion
|
|
192
|
-
export { AnimateIn, type AnimateInProps, AnimateOnView, type AnimateOnViewProps, type Direction, Float, type FloatProps, Pulse, type PulseProps, Stagger, type StaggerProps };
|
|
202
|
+
export { AnimateIn, type AnimateInProps, AnimateOnView, type AnimateOnViewProps, type AnimateTransition, type Direction, Float, type FloatProps, Pulse, type PulseProps, Stagger, type StaggerProps };
|
package/dist/autocomplete.d.ts
CHANGED
|
@@ -110,4 +110,4 @@ declare function AutocompleteContent({
|
|
|
110
110
|
...props
|
|
111
111
|
}: AutocompleteContentProps): _$react_jsx_runtime0.JSX.Element;
|
|
112
112
|
//#endregion
|
|
113
|
-
export { Autocomplete, AutocompleteArrow, AutocompleteBackdrop, AutocompleteClear, AutocompleteCollection, AutocompleteContent, AutocompleteEmpty, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteIcon, AutocompleteInput, AutocompleteItem, AutocompleteList, AutocompletePopup, AutocompletePortal, AutocompletePositioner, AutocompleteRow, AutocompleteSeparator, AutocompleteStatus, AutocompleteTrigger, AutocompleteValue };
|
|
113
|
+
export { Autocomplete, AutocompleteArrow, AutocompleteArrowProps, AutocompleteBackdrop, AutocompleteBackdropProps, AutocompleteClear, AutocompleteClearProps, AutocompleteCollection, AutocompleteCollectionProps, AutocompleteContent, AutocompleteContentProps, AutocompleteEmpty, AutocompleteEmptyProps, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteGroupLabelProps, AutocompleteGroupProps, AutocompleteIcon, AutocompleteIconProps, AutocompleteInput, AutocompleteInputProps, AutocompleteItem, AutocompleteItemProps, AutocompleteList, AutocompleteListProps, AutocompletePopup, AutocompletePopupProps, AutocompletePortal, AutocompletePortalProps, AutocompletePositioner, AutocompletePositionerProps, AutocompleteProps, AutocompleteRow, AutocompleteRowProps, AutocompleteSeparator, AutocompleteSeparatorProps, AutocompleteStatus, AutocompleteStatusProps, AutocompleteTrigger, AutocompleteTriggerProps, AutocompleteValue, AutocompleteValueProps };
|
package/dist/avatar.d.ts
CHANGED
|
@@ -37,4 +37,4 @@ declare function AvatarGroupCount({
|
|
|
37
37
|
...props
|
|
38
38
|
}: AvatarGroupCountProps): _$react_jsx_runtime0.JSX.Element;
|
|
39
39
|
//#endregion
|
|
40
|
-
export { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage };
|
|
40
|
+
export { Avatar, AvatarBadge, AvatarBadgeProps, AvatarFallback, AvatarFallbackProps, AvatarGroup, AvatarGroupCount, AvatarGroupCountProps, AvatarGroupProps, AvatarImage, AvatarImageProps, AvatarProps };
|
package/dist/badge.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import * as _$class_variance_authority_types0 from "class-variance-authority/typ
|
|
|
5
5
|
|
|
6
6
|
//#region src/badge.d.ts
|
|
7
7
|
declare const badgeVariants: (props?: ({
|
|
8
|
-
variant?: "default" | "
|
|
8
|
+
variant?: "default" | "destructive" | "link" | "outline" | "success" | "warning" | "secondary" | "ghost" | null | undefined;
|
|
9
9
|
} & _$class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
10
10
|
type BadgeProps = useRender.ComponentProps<"span"> & VariantProps<typeof badgeVariants>;
|
|
11
11
|
declare function Badge({
|
|
@@ -15,4 +15,4 @@ declare function Badge({
|
|
|
15
15
|
...props
|
|
16
16
|
}: BadgeProps): _$react.ReactElement<unknown, string | _$react.JSXElementConstructor<any>>;
|
|
17
17
|
//#endregion
|
|
18
|
-
export { Badge, badgeVariants };
|
|
18
|
+
export { Badge, BadgeProps, badgeVariants };
|
package/dist/breadcrumb.d.ts
CHANGED
|
@@ -40,4 +40,4 @@ declare function BreadcrumbEllipsis({
|
|
|
40
40
|
...props
|
|
41
41
|
}: BreadcrumbEllipsisProps): _$react_jsx_runtime0.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
|
-
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
43
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbEllipsisProps, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbLink, BreadcrumbLinkProps, BreadcrumbList, BreadcrumbListProps, BreadcrumbPage, BreadcrumbPageProps, BreadcrumbProps, BreadcrumbSeparator, BreadcrumbSeparatorProps };
|
package/dist/button-group.d.ts
CHANGED
|
@@ -28,4 +28,4 @@ declare function ButtonGroupSeparator({
|
|
|
28
28
|
...props
|
|
29
29
|
}: ButtonGroupSeparatorProps): _$react_jsx_runtime0.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
|
-
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants };
|
|
31
|
+
export { ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupSeparatorProps, ButtonGroupText, ButtonGroupTextProps, buttonGroupVariants };
|
package/dist/button.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ import * as _$class_variance_authority_types0 from "class-variance-authority/typ
|
|
|
6
6
|
|
|
7
7
|
//#region src/button.d.ts
|
|
8
8
|
declare const buttonVariants: (props?: ({
|
|
9
|
-
variant?: "default" | "
|
|
10
|
-
size?: "default" | "
|
|
9
|
+
variant?: "default" | "destructive" | "link" | "outline" | "success" | "secondary" | "ghost" | null | undefined;
|
|
10
|
+
size?: "default" | "icon" | "sm" | "xs" | "lg" | "xl" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
11
11
|
} & _$class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
12
12
|
type ButtonProps = React.ComponentProps<typeof Button$1> & VariantProps<typeof buttonVariants>;
|
|
13
13
|
declare function Button({
|
|
@@ -17,4 +17,4 @@ declare function Button({
|
|
|
17
17
|
...props
|
|
18
18
|
}: ButtonProps): _$react_jsx_runtime0.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
|
-
export { Button, buttonVariants };
|
|
20
|
+
export { Button, ButtonProps, buttonVariants };
|
package/dist/button.js
CHANGED
|
@@ -36,6 +36,8 @@ const buttonVariants = cva("cursor-clickable focus-visible:border-focus focus-vi
|
|
|
36
36
|
function Button({ className, variant = "default", size = "default", ...props }) {
|
|
37
37
|
return /* @__PURE__ */ jsx(Button$1, {
|
|
38
38
|
"data-slot": "button",
|
|
39
|
+
"data-variant": variant,
|
|
40
|
+
"data-size": size,
|
|
39
41
|
nativeButton: props.render ? false : void 0,
|
|
40
42
|
className: cn(buttonVariants({
|
|
41
43
|
variant,
|
package/dist/card.d.ts
CHANGED
|
@@ -41,4 +41,4 @@ declare function CardFooter({
|
|
|
41
41
|
...props
|
|
42
42
|
}: CardFooterProps): _$react_jsx_runtime0.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
|
-
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
44
|
+
export { Card, CardAction, CardActionProps, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps };
|
package/dist/checkbox.d.ts
CHANGED
package/dist/collapsible.d.ts
CHANGED
|
@@ -17,4 +17,4 @@ declare function CollapsibleContent({
|
|
|
17
17
|
...props
|
|
18
18
|
}: CollapsibleContentProps): _$react_jsx_runtime0.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
|
-
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
20
|
+
export { Collapsible, CollapsibleContent, CollapsibleContentProps, CollapsibleProps, CollapsibleTrigger, CollapsibleTriggerProps };
|
package/dist/combobox.d.ts
CHANGED
|
@@ -7,7 +7,8 @@ type ComboboxProps = React.ComponentProps<typeof Combobox$1.Root>;
|
|
|
7
7
|
type ComboboxValueProps = React.ComponentProps<typeof Combobox$1.Value>;
|
|
8
8
|
type ComboboxTriggerProps = React.ComponentProps<typeof Combobox$1.Trigger>;
|
|
9
9
|
type ComboboxClearProps = React.ComponentProps<typeof Combobox$1.Clear>;
|
|
10
|
-
type
|
|
10
|
+
type ComboboxInputBaseProps = React.ComponentProps<typeof Combobox$1.Input>;
|
|
11
|
+
type ComboboxPortalProps = React.ComponentProps<typeof Combobox$1.Portal>;
|
|
11
12
|
type ComboboxPositionerProps = React.ComponentProps<typeof Combobox$1.Positioner>;
|
|
12
13
|
type ComboboxPopupProps = React.ComponentProps<typeof Combobox$1.Popup>;
|
|
13
14
|
type ComboboxListProps = React.ComponentProps<typeof Combobox$1.List>;
|
|
@@ -18,13 +19,13 @@ type ComboboxCollectionProps = React.ComponentProps<typeof Combobox$1.Collection
|
|
|
18
19
|
type ComboboxEmptyProps = React.ComponentProps<typeof Combobox$1.Empty>;
|
|
19
20
|
type ComboboxSeparatorProps = React.ComponentProps<typeof Combobox$1.Separator>;
|
|
20
21
|
type ComboboxChipsProps = React.ComponentProps<typeof Combobox$1.Chips>;
|
|
21
|
-
type
|
|
22
|
+
type ComboboxChipBaseProps = React.ComponentProps<typeof Combobox$1.Chip>;
|
|
22
23
|
type ComboboxChipsInputProps = React.ComponentProps<typeof Combobox$1.Input>;
|
|
23
|
-
type
|
|
24
|
+
type ComboboxInputProps = ComboboxInputBaseProps & {
|
|
24
25
|
showTrigger?: boolean;
|
|
25
26
|
showClear?: boolean;
|
|
26
27
|
};
|
|
27
|
-
type
|
|
28
|
+
type ComboboxChipProps = ComboboxChipBaseProps & {
|
|
28
29
|
showRemove?: boolean;
|
|
29
30
|
};
|
|
30
31
|
type ComboboxContentProps = ComboboxPopupProps & Pick<ComboboxPositionerProps, "side" | "align" | "sideOffset" | "alignOffset" | "anchor">;
|
|
@@ -50,7 +51,7 @@ declare function ComboboxInput({
|
|
|
50
51
|
showTrigger,
|
|
51
52
|
showClear,
|
|
52
53
|
...props
|
|
53
|
-
}:
|
|
54
|
+
}: ComboboxInputProps): _$react_jsx_runtime0.JSX.Element;
|
|
54
55
|
declare function ComboboxContent({
|
|
55
56
|
className,
|
|
56
57
|
side,
|
|
@@ -97,11 +98,11 @@ declare function ComboboxChip({
|
|
|
97
98
|
children,
|
|
98
99
|
showRemove,
|
|
99
100
|
...props
|
|
100
|
-
}:
|
|
101
|
+
}: ComboboxChipProps): _$react_jsx_runtime0.JSX.Element;
|
|
101
102
|
declare function ComboboxChipsInput({
|
|
102
103
|
className,
|
|
103
104
|
...props
|
|
104
105
|
}: ComboboxChipsInputProps): _$react_jsx_runtime0.JSX.Element;
|
|
105
106
|
declare function useComboboxAnchor(): React.RefObject<HTMLDivElement | null>;
|
|
106
107
|
//#endregion
|
|
107
|
-
export { Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, useComboboxAnchor };
|
|
108
|
+
export { Combobox, ComboboxChip, ComboboxChipProps, ComboboxChips, ComboboxChipsInput, ComboboxChipsInputProps, ComboboxChipsProps, ComboboxClear, ComboboxClearProps, ComboboxCollection, ComboboxCollectionProps, ComboboxContent, ComboboxContentProps, ComboboxEmpty, ComboboxEmptyProps, ComboboxGroup, ComboboxGroupProps, ComboboxInput, ComboboxInputProps, ComboboxItem, ComboboxItemProps, ComboboxLabel, ComboboxLabelProps, ComboboxList, ComboboxListProps, ComboboxPortalProps, ComboboxPositionerProps, ComboboxProps, ComboboxSeparator, ComboboxSeparatorProps, ComboboxTrigger, ComboboxTriggerProps, ComboboxValue, ComboboxValueProps, useComboboxAnchor };
|
package/dist/context-menu.d.ts
CHANGED
|
@@ -104,4 +104,4 @@ declare function ContextMenuShortcut({
|
|
|
104
104
|
...props
|
|
105
105
|
}: ContextMenuShortcutProps): _$react_jsx_runtime0.JSX.Element;
|
|
106
106
|
//#endregion
|
|
107
|
-
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
|
|
107
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuCheckboxItemProps, ContextMenuContent, ContextMenuContentProps, ContextMenuGroup, ContextMenuGroupProps, ContextMenuItem, ContextMenuItemProps, ContextMenuLabel, ContextMenuLabelProps, ContextMenuPortal, ContextMenuPortalProps, ContextMenuProps, ContextMenuRadioGroup, ContextMenuRadioGroupProps, ContextMenuRadioItem, ContextMenuRadioItemProps, ContextMenuSeparator, ContextMenuSeparatorProps, ContextMenuShortcut, ContextMenuShortcutProps, ContextMenuSub, ContextMenuSubContent, ContextMenuSubContentProps, ContextMenuSubProps, ContextMenuSubTrigger, ContextMenuSubTriggerProps, ContextMenuTrigger, ContextMenuTriggerProps, type RestoreFocusOnClose };
|
package/dist/dialog.d.ts
CHANGED
|
@@ -26,9 +26,8 @@ type DialogDescriptionProps = React.ComponentProps<typeof Dialog$1.Description>;
|
|
|
26
26
|
type DialogContentProps = DialogPopupProps & {
|
|
27
27
|
showCloseButton?: boolean;
|
|
28
28
|
};
|
|
29
|
-
type
|
|
30
|
-
|
|
31
|
-
};
|
|
29
|
+
type DialogHeaderProps = React.ComponentProps<"div">;
|
|
30
|
+
type DialogFooterProps = React.ComponentProps<"div">;
|
|
32
31
|
declare function Dialog({
|
|
33
32
|
disablePointerDismissal,
|
|
34
33
|
...props
|
|
@@ -55,11 +54,9 @@ declare function DialogContent({
|
|
|
55
54
|
declare function DialogHeader({
|
|
56
55
|
className,
|
|
57
56
|
...props
|
|
58
|
-
}:
|
|
57
|
+
}: DialogHeaderProps): _$react_jsx_runtime0.JSX.Element;
|
|
59
58
|
declare function DialogFooter({
|
|
60
59
|
className,
|
|
61
|
-
showCloseButton,
|
|
62
|
-
children,
|
|
63
60
|
...props
|
|
64
61
|
}: DialogFooterProps): _$react_jsx_runtime0.JSX.Element;
|
|
65
62
|
declare function DialogTitle({
|
|
@@ -71,4 +68,4 @@ declare function DialogDescription({
|
|
|
71
68
|
...props
|
|
72
69
|
}: DialogDescriptionProps): _$react_jsx_runtime0.JSX.Element;
|
|
73
70
|
//#endregion
|
|
74
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
71
|
+
export { Dialog, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogDescription, DialogDescriptionProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogOverlay, DialogOverlayProps, DialogPopupProps, DialogPortal, DialogPortalProps, DialogProps, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps };
|
package/dist/dialog.js
CHANGED
|
@@ -64,15 +64,11 @@ function DialogHeader({ className, ...props }) {
|
|
|
64
64
|
...props
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
|
-
function DialogFooter({ className,
|
|
68
|
-
return /* @__PURE__ */
|
|
67
|
+
function DialogFooter({ className, ...props }) {
|
|
68
|
+
return /* @__PURE__ */ jsx("div", {
|
|
69
69
|
"data-slot": "dialog-footer",
|
|
70
70
|
className: cn("bg-secondary/50 -mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-lg border-t border-line p-4 sm:flex-row sm:justify-end", className),
|
|
71
|
-
...props
|
|
72
|
-
children: [children, showCloseButton && /* @__PURE__ */ jsx(Dialog$1.Close, {
|
|
73
|
-
render: /* @__PURE__ */ jsx(Button, { variant: "outline" }),
|
|
74
|
-
children: "Close"
|
|
75
|
-
})]
|
|
71
|
+
...props
|
|
76
72
|
});
|
|
77
73
|
}
|
|
78
74
|
function DialogTitle({ className, ...props }) {
|
package/dist/direction.d.ts
CHANGED
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { DirectionProvider, DirectionProvider as DirectionProvider$1, useDirection } from "@base-ui/react/direction-provider";
|
|
3
|
+
|
|
4
|
+
//#region src/direction.d.ts
|
|
5
|
+
type DirectionProviderProps = React.ComponentProps<typeof DirectionProvider$1>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { DirectionProvider, DirectionProviderProps, useDirection };
|
package/dist/drawer.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ type DrawerTriggerProps = React.ComponentProps<typeof Drawer$1.Trigger>;
|
|
|
8
8
|
type DrawerPortalProps = React.ComponentProps<typeof Drawer$1.Portal>;
|
|
9
9
|
type DrawerCloseProps = React.ComponentProps<typeof Drawer$1.Close>;
|
|
10
10
|
type DrawerOverlayProps = React.ComponentProps<typeof Drawer$1.Backdrop>;
|
|
11
|
+
type DrawerViewportProps = React.ComponentProps<typeof Drawer$1.Viewport>;
|
|
11
12
|
type DrawerPopupProps = React.ComponentProps<typeof Drawer$1.Popup>;
|
|
12
13
|
type DrawerTitleProps = React.ComponentProps<typeof Drawer$1.Title>;
|
|
13
14
|
type DrawerDescriptionProps = React.ComponentProps<typeof Drawer$1.Description>;
|
|
@@ -32,6 +33,10 @@ declare function DrawerOverlay({
|
|
|
32
33
|
className,
|
|
33
34
|
...props
|
|
34
35
|
}: DrawerOverlayProps): _$react_jsx_runtime0.JSX.Element;
|
|
36
|
+
declare function DrawerViewport({
|
|
37
|
+
className,
|
|
38
|
+
...props
|
|
39
|
+
}: DrawerViewportProps): _$react_jsx_runtime0.JSX.Element;
|
|
35
40
|
declare function DrawerContent({
|
|
36
41
|
className,
|
|
37
42
|
children,
|
|
@@ -55,4 +60,4 @@ declare function DrawerDescription({
|
|
|
55
60
|
...props
|
|
56
61
|
}: DrawerDescriptionProps): _$react_jsx_runtime0.JSX.Element;
|
|
57
62
|
//#endregion
|
|
58
|
-
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
|
|
63
|
+
export { Drawer, DrawerClose, DrawerCloseProps, DrawerContent, DrawerContentProps, DrawerDescription, DrawerDescriptionProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerOverlay, DrawerOverlayProps, DrawerPopupProps, DrawerPortal, DrawerPortalProps, DrawerProps, DrawerTitle, DrawerTitleProps, DrawerTrigger, DrawerTriggerProps, DrawerViewport, DrawerViewportProps };
|
package/dist/drawer.js
CHANGED
|
@@ -37,35 +37,38 @@ function DrawerOverlay({ className, ...props }) {
|
|
|
37
37
|
...props
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
return /* @__PURE__ */
|
|
40
|
+
function DrawerViewport({ className, ...props }) {
|
|
41
|
+
return /* @__PURE__ */ jsx(Drawer$1.Viewport, {
|
|
42
42
|
"data-slot": "drawer-viewport",
|
|
43
|
-
className: "fixed inset-0 z-50 outline-hidden",
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
43
|
+
className: cn("fixed inset-0 z-50 outline-hidden", className),
|
|
44
|
+
...props
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
function DrawerContent({ className, children, showCloseButton = false, ...props }) {
|
|
48
|
+
return /* @__PURE__ */ jsxs(DrawerPortal, { children: [/* @__PURE__ */ jsx(DrawerOverlay, {}), /* @__PURE__ */ jsx(DrawerViewport, { children: /* @__PURE__ */ jsxs(Drawer$1.Popup, {
|
|
49
|
+
"data-slot": "drawer-content",
|
|
50
|
+
className: cn("group/drawer-content bg-foundation fixed z-50 flex flex-col overflow-y-auto border-edge text-sm shadow-lg outline-hidden", "transition-[translate] duration-(--duration-lg) ease-(--ease) data-[swiping]:duration-0", "data-[swipe-direction=down]:inset-x-0 data-[swipe-direction=down]:bottom-0 data-[swipe-direction=down]:mt-24 data-[swipe-direction=down]:max-h-[80vh] data-[swipe-direction=down]:rounded-t-lg data-[swipe-direction=down]:border-t", "data-[swipe-direction=up]:inset-x-0 data-[swipe-direction=up]:top-0 data-[swipe-direction=up]:mb-24 data-[swipe-direction=up]:max-h-[80vh] data-[swipe-direction=up]:rounded-b-lg data-[swipe-direction=up]:border-b", "data-[swipe-direction=left]:inset-y-0 data-[swipe-direction=left]:left-0 data-[swipe-direction=left]:w-3/4 data-[swipe-direction=left]:rounded-r-lg data-[swipe-direction=left]:border-r data-[swipe-direction=left]:sm:max-w-sm", "data-[swipe-direction=right]:inset-y-0 data-[swipe-direction=right]:right-0 data-[swipe-direction=right]:w-3/4 data-[swipe-direction=right]:rounded-l-lg data-[swipe-direction=right]:border-l data-[swipe-direction=right]:sm:max-w-sm", "data-[swipe-direction=down]:data-[starting-style]:translate-y-full data-[swipe-direction=down]:data-[ending-style]:translate-y-full", "data-[swipe-direction=up]:data-[starting-style]:-translate-y-full data-[swipe-direction=up]:data-[ending-style]:-translate-y-full", "data-[swipe-direction=left]:data-[starting-style]:-translate-x-full data-[swipe-direction=left]:data-[ending-style]:-translate-x-full", "data-[swipe-direction=right]:data-[starting-style]:translate-x-full data-[swipe-direction=right]:data-[ending-style]:translate-x-full", className),
|
|
51
|
+
...props,
|
|
52
|
+
children: [
|
|
53
|
+
/* @__PURE__ */ jsx("div", {
|
|
54
|
+
"data-slot": "drawer-drag-handle",
|
|
55
|
+
className: "bg-secondary mx-auto mt-4 hidden h-1 w-[100px] shrink-0 rounded-full group-data-[swipe-direction=down]/drawer-content:block"
|
|
56
|
+
}),
|
|
57
|
+
children,
|
|
58
|
+
showCloseButton && /* @__PURE__ */ jsxs(Drawer$1.Close, {
|
|
59
|
+
"data-slot": "drawer-close",
|
|
60
|
+
render: /* @__PURE__ */ jsx(Button, {
|
|
61
|
+
variant: "ghost",
|
|
62
|
+
className: "absolute top-2 right-2",
|
|
63
|
+
size: "icon-sm"
|
|
52
64
|
}),
|
|
53
|
-
children,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}),
|
|
61
|
-
children: [/* @__PURE__ */ jsx(CloseIcon, {}), /* @__PURE__ */ jsx("span", {
|
|
62
|
-
className: "sr-only",
|
|
63
|
-
children: "Close"
|
|
64
|
-
})]
|
|
65
|
-
})
|
|
66
|
-
]
|
|
67
|
-
})
|
|
68
|
-
})] });
|
|
65
|
+
children: [/* @__PURE__ */ jsx(CloseIcon, {}), /* @__PURE__ */ jsx("span", {
|
|
66
|
+
className: "sr-only",
|
|
67
|
+
children: "Close"
|
|
68
|
+
})]
|
|
69
|
+
})
|
|
70
|
+
]
|
|
71
|
+
}) })] });
|
|
69
72
|
}
|
|
70
73
|
function DrawerHeader({ className, ...props }) {
|
|
71
74
|
return /* @__PURE__ */ jsx("div", {
|
|
@@ -96,4 +99,4 @@ function DrawerDescription({ className, ...props }) {
|
|
|
96
99
|
});
|
|
97
100
|
}
|
|
98
101
|
//#endregion
|
|
99
|
-
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
|
|
102
|
+
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DrawerViewport };
|
package/dist/encrypted-text.d.ts
CHANGED
package/dist/form.d.ts
CHANGED
|
@@ -94,4 +94,4 @@ declare function fieldControlProps<TFieldValues extends FieldValues, TName exten
|
|
|
94
94
|
onChange: (...event: any[]) => void;
|
|
95
95
|
};
|
|
96
96
|
//#endregion
|
|
97
|
-
export { Form, FormActions, FormError, FormField, type FormFieldProps, type FormFieldRenderArgs, FormMessage, FormRoot, fieldControlProps, useForm, useWatch };
|
|
97
|
+
export { Form, FormActions, type FormActionsProps, FormError, type FormErrorProps, FormField, type FormFieldProps, type FormFieldRenderArgs, FormMessage, type FormMessageProps, type FormProps, FormRoot, type FormRootProps, fieldControlProps, useForm, useWatch };
|
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/infinite-scroll.d.ts
|
|
5
|
-
type InfiniteScrollProps = {
|
|
5
|
+
type InfiniteScrollProps = React.ComponentProps<"div"> & {
|
|
6
6
|
onLoadMore: () => void;
|
|
7
7
|
hasMore: boolean;
|
|
8
8
|
isLoading?: boolean;
|
|
@@ -12,8 +12,6 @@ type InfiniteScrollProps = {
|
|
|
12
12
|
threshold?: number;
|
|
13
13
|
loader?: React.ReactNode;
|
|
14
14
|
endMessage?: React.ReactNode;
|
|
15
|
-
className?: string;
|
|
16
|
-
children?: React.ReactNode;
|
|
17
15
|
};
|
|
18
16
|
declare function InfiniteScroll({
|
|
19
17
|
onLoadMore,
|
|
@@ -26,7 +24,8 @@ declare function InfiniteScroll({
|
|
|
26
24
|
loader,
|
|
27
25
|
endMessage,
|
|
28
26
|
className,
|
|
29
|
-
children
|
|
27
|
+
children,
|
|
28
|
+
...props
|
|
30
29
|
}: InfiniteScrollProps): _$react_jsx_runtime0.JSX.Element;
|
|
31
30
|
//#endregion
|
|
32
|
-
export { InfiniteScroll,
|
|
31
|
+
export { InfiniteScroll, InfiniteScrollProps };
|
package/dist/infinite-scroll.js
CHANGED
|
@@ -4,7 +4,7 @@ import { Spinner } from "./spinner.js";
|
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/infinite-scroll.tsx
|
|
7
|
-
function InfiniteScroll({ onLoadMore, hasMore, isLoading = false, direction = "down", root, rootMargin = "200px", threshold = 0, loader, endMessage, className, children }) {
|
|
7
|
+
function InfiniteScroll({ onLoadMore, hasMore, isLoading = false, direction = "down", root, rootMargin = "200px", threshold = 0, loader, endMessage, className, children, ...props }) {
|
|
8
8
|
const sentinelRef = React.useRef(null);
|
|
9
9
|
const onLoadMoreRef = React.useRef(onLoadMore);
|
|
10
10
|
React.useEffect(() => {
|
|
@@ -49,6 +49,7 @@ function InfiniteScroll({ onLoadMore, hasMore, isLoading = false, direction = "d
|
|
|
49
49
|
className: "h-px"
|
|
50
50
|
});
|
|
51
51
|
return /* @__PURE__ */ jsxs("div", {
|
|
52
|
+
...props,
|
|
52
53
|
"data-slot": "infinite-scroll",
|
|
53
54
|
"aria-busy": isLoading,
|
|
54
55
|
className: cn("flex flex-col", className),
|
package/dist/input-group.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ declare function InputGroup({
|
|
|
18
18
|
...props
|
|
19
19
|
}: InputGroupProps): _$react_jsx_runtime0.JSX.Element;
|
|
20
20
|
declare const inputGroupAddonVariants: (props?: ({
|
|
21
|
-
align?: "inline-
|
|
21
|
+
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
22
22
|
} & _$class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
23
23
|
declare function InputGroupAddon({
|
|
24
24
|
className,
|
|
@@ -26,7 +26,7 @@ declare function InputGroupAddon({
|
|
|
26
26
|
...props
|
|
27
27
|
}: InputGroupAddonProps): _$react_jsx_runtime0.JSX.Element;
|
|
28
28
|
declare const inputGroupButtonVariants: (props?: ({
|
|
29
|
-
size?: "
|
|
29
|
+
size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
|
|
30
30
|
} & _$class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
31
31
|
declare function InputGroupButton({
|
|
32
32
|
className,
|
|
@@ -48,4 +48,4 @@ declare function InputGroupTextarea({
|
|
|
48
48
|
...props
|
|
49
49
|
}: InputGroupTextareaProps): _$react_jsx_runtime0.JSX.Element;
|
|
50
50
|
//#endregion
|
|
51
|
-
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea };
|
|
51
|
+
export { InputGroup, InputGroupAddon, InputGroupAddonProps, InputGroupButton, InputGroupButtonProps, InputGroupInput, InputGroupInputProps, InputGroupProps, InputGroupText, InputGroupTextProps, InputGroupTextarea, InputGroupTextareaProps, inputGroupAddonVariants, inputGroupButtonVariants };
|
package/dist/input-group.js
CHANGED
|
@@ -77,4 +77,4 @@ function InputGroupTextarea({ className, ...props }) {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
//#endregion
|
|
80
|
-
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea };
|
|
80
|
+
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, inputGroupAddonVariants, inputGroupButtonVariants };
|
package/dist/input-otp.d.ts
CHANGED
|
@@ -30,4 +30,4 @@ declare function InputOTPSeparator({
|
|
|
30
30
|
...props
|
|
31
31
|
}: InputOTPSeparatorProps): _$react_jsx_runtime0.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
|
-
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
|
|
33
|
+
export { InputOTP, InputOTPGroup, InputOTPGroupProps, InputOTPProps, InputOTPSeparator, InputOTPSeparatorProps, InputOTPSlot, InputOTPSlotProps };
|
package/dist/input.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { Input as Input$1 } from "@base-ui/react/input";
|
|
3
4
|
|
|
4
5
|
//#region src/input.d.ts
|
|
5
|
-
type InputProps = React.ComponentProps<
|
|
6
|
+
type InputProps = React.ComponentProps<typeof Input$1>;
|
|
6
7
|
declare function Input({
|
|
7
8
|
className,
|
|
8
9
|
type,
|
|
9
10
|
...props
|
|
10
11
|
}: InputProps): _$react_jsx_runtime0.JSX.Element;
|
|
11
12
|
//#endregion
|
|
12
|
-
export { Input };
|
|
13
|
+
export { Input, InputProps };
|
package/dist/item.d.ts
CHANGED
|
@@ -8,10 +8,10 @@ import * as _$class_variance_authority_types0 from "class-variance-authority/typ
|
|
|
8
8
|
//#region src/item.d.ts
|
|
9
9
|
declare const itemVariants: (props?: ({
|
|
10
10
|
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
11
|
-
size?: "default" | "
|
|
11
|
+
size?: "default" | "sm" | "xs" | null | undefined;
|
|
12
12
|
} & _$class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
13
13
|
declare const itemMediaVariants: (props?: ({
|
|
14
|
-
variant?: "default" | "
|
|
14
|
+
variant?: "default" | "icon" | "image" | null | undefined;
|
|
15
15
|
} & _$class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
16
16
|
type ItemGroupProps = React.ComponentProps<"div">;
|
|
17
17
|
type ItemSeparatorProps = React.ComponentProps<typeof Separator>;
|
|
@@ -68,4 +68,4 @@ declare function ItemFooter({
|
|
|
68
68
|
...props
|
|
69
69
|
}: ItemFooterProps): _$react_jsx_runtime0.JSX.Element;
|
|
70
70
|
//#endregion
|
|
71
|
-
export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle };
|
|
71
|
+
export { Item, ItemActions, ItemActionsProps, ItemContent, ItemContentProps, ItemDescription, ItemDescriptionProps, ItemFooter, ItemFooterProps, ItemGroup, ItemGroupProps, ItemHeader, ItemHeaderProps, ItemMedia, ItemMediaProps, ItemProps, ItemSeparator, ItemSeparatorProps, ItemTitle, ItemTitleProps, itemMediaVariants, itemVariants };
|
package/dist/item.js
CHANGED
|
@@ -118,4 +118,4 @@ function ItemFooter({ className, ...props }) {
|
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
120
|
//#endregion
|
|
121
|
-
export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle };
|
|
121
|
+
export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, itemMediaVariants, itemVariants };
|
package/dist/label.d.ts
CHANGED