@waveso/ui 0.14.0 → 0.15.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/README.md +12 -10
- package/dist/accordion.d.ts +4 -20
- package/dist/action-bar.d.ts +1 -10
- package/dist/action-bar.js +2 -1
- package/dist/alert-dialog.d.ts +12 -52
- package/dist/alert.d.ts +5 -21
- package/dist/animate.d.ts +5 -48
- package/dist/animate.js +6 -4
- package/dist/aspect-ratio.d.ts +3 -8
- package/dist/autocomplete.d.ts +24 -88
- package/dist/autocomplete.js +4 -2
- package/dist/avatar.d.ts +6 -27
- package/dist/badge.d.ts +3 -11
- package/dist/breadcrumb.d.ts +7 -31
- package/dist/button-group.d.ts +4 -19
- package/dist/button.d.ts +4 -12
- package/dist/button.js +6 -6
- package/dist/card.d.ts +7 -31
- package/dist/checkbox.d.ts +1 -6
- package/dist/collapsible.d.ts +3 -12
- package/dist/combobox.d.ts +24 -79
- package/dist/combobox.js +21 -7
- package/dist/context-menu.d.ts +15 -67
- package/dist/count.d.ts +1 -15
- package/dist/count.js +3 -2
- package/dist/dialog.d.ts +10 -41
- package/dist/direction.d.ts +0 -1
- package/dist/drawer.d.ts +11 -44
- package/dist/encrypted-text.d.ts +1 -14
- package/dist/encrypted-text.js +2 -1
- package/dist/field.d.ts +7 -28
- package/dist/film-grain-shader.d.ts +3 -4
- package/dist/film-grain-webgl.d.ts +2 -9
- package/dist/film-grain-webgl.js +4 -1
- package/dist/film-grain.d.ts +1 -11
- package/dist/form.d.ts +11 -30
- package/dist/gradient-reveal-text.d.ts +1 -14
- package/dist/hooks/use-mobile.d.ts +2 -3
- package/dist/infinite-scroll.d.ts +1 -16
- package/dist/input-group.d.ts +15 -37
- package/dist/input-group.js +25 -17
- package/dist/input-otp.d.ts +4 -20
- package/dist/input.d.ts +3 -11
- package/dist/input.js +4 -4
- package/dist/item.d.ts +14 -51
- package/dist/kbd.d.ts +2 -10
- package/dist/label.d.ts +1 -6
- package/dist/lib/focus.d.ts +3 -5
- package/dist/lib/internal-icons.d.ts +19 -22
- package/dist/lib/utils.d.ts +3 -5
- package/dist/lib/utils.js +2 -1
- package/dist/masonry.d.ts +2 -16
- package/dist/masonry.js +1 -1
- package/dist/menu.d.ts +15 -64
- package/dist/menubar.d.ts +16 -55
- package/dist/pagination.d.ts +9 -33
- package/dist/popover.d.ts +9 -43
- package/dist/preview-card.d.ts +5 -25
- package/dist/progress.d.ts +5 -24
- package/dist/radio-group.d.ts +2 -9
- package/dist/radio.d.ts +2 -10
- package/dist/scroll-area.d.ts +2 -12
- package/dist/select.d.ts +19 -65
- package/dist/select.js +12 -2
- package/dist/separator.d.ts +1 -7
- package/dist/sidebar.d.ts +30 -127
- package/dist/sidebar.js +3 -3
- package/dist/skeleton.d.ts +1 -6
- package/dist/slider.d.ts +1 -14
- package/dist/slider.js +2 -2
- package/dist/spinner.d.ts +1 -6
- package/dist/styles.css +18 -0
- package/dist/switch.d.ts +2 -9
- package/dist/table.d.ts +8 -34
- package/dist/tabs.d.ts +5 -22
- package/dist/textarea.d.ts +7 -10
- package/dist/textarea.js +14 -3
- package/dist/toast.d.ts +13 -39
- package/dist/toggle-group.d.ts +3 -19
- package/dist/toggle-group.js +13 -7
- package/dist/toggle.d.ts +3 -11
- package/dist/tooltip.d.ts +4 -24
- package/dist/typewriter.d.ts +1 -14
- package/package.json +52 -51
package/dist/radio-group.d.ts
CHANGED
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
import { Radio } from "./radio.js";
|
|
2
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
2
|
import * as React from "react";
|
|
4
3
|
import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
|
|
5
|
-
|
|
6
4
|
//#region src/radio-group.d.ts
|
|
7
5
|
type RadioGroupProps = React.ComponentProps<typeof RadioGroup$1>;
|
|
8
6
|
type RadioGroupItemProps = React.ComponentProps<typeof Radio>;
|
|
9
|
-
declare function RadioGroup({
|
|
10
|
-
|
|
11
|
-
...props
|
|
12
|
-
}: RadioGroupProps): _$react_jsx_runtime0.JSX.Element;
|
|
13
|
-
declare function RadioGroupItem({
|
|
14
|
-
...props
|
|
15
|
-
}: RadioGroupItemProps): _$react_jsx_runtime0.JSX.Element;
|
|
7
|
+
declare function RadioGroup({ className, ...props }: RadioGroupProps): React.JSX.Element;
|
|
8
|
+
declare function RadioGroupItem({ ...props }: RadioGroupItemProps): React.JSX.Element;
|
|
16
9
|
//#endregion
|
|
17
10
|
export { RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps };
|
package/dist/radio.d.ts
CHANGED
|
@@ -1,17 +1,9 @@
|
|
|
1
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
1
|
import * as React from "react";
|
|
3
2
|
import { Radio as Radio$1 } from "@base-ui/react/radio";
|
|
4
|
-
|
|
5
3
|
//#region src/radio.d.ts
|
|
6
4
|
type RadioProps = React.ComponentProps<typeof Radio$1.Root>;
|
|
7
5
|
type RadioIndicatorProps = React.ComponentProps<typeof Radio$1.Indicator>;
|
|
8
|
-
declare function Radio({
|
|
9
|
-
|
|
10
|
-
...props
|
|
11
|
-
}: RadioProps): _$react_jsx_runtime0.JSX.Element;
|
|
12
|
-
declare function RadioIndicator({
|
|
13
|
-
className,
|
|
14
|
-
...props
|
|
15
|
-
}: RadioIndicatorProps): _$react_jsx_runtime0.JSX.Element;
|
|
6
|
+
declare function Radio({ className, ...props }: RadioProps): React.JSX.Element;
|
|
7
|
+
declare function RadioIndicator({ className, ...props }: RadioIndicatorProps): React.JSX.Element;
|
|
16
8
|
//#endregion
|
|
17
9
|
export { Radio, RadioIndicator, type RadioIndicatorProps, type RadioProps };
|
package/dist/scroll-area.d.ts
CHANGED
|
@@ -1,19 +1,9 @@
|
|
|
1
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
1
|
import * as React from "react";
|
|
3
2
|
import { ScrollArea as ScrollArea$1 } from "@base-ui/react/scroll-area";
|
|
4
|
-
|
|
5
3
|
//#region src/scroll-area.d.ts
|
|
6
4
|
type ScrollAreaProps = React.ComponentProps<typeof ScrollArea$1.Root>;
|
|
7
|
-
declare function ScrollArea({
|
|
8
|
-
className,
|
|
9
|
-
children,
|
|
10
|
-
...props
|
|
11
|
-
}: ScrollAreaProps): _$react_jsx_runtime0.JSX.Element;
|
|
5
|
+
declare function ScrollArea({ className, children, ...props }: ScrollAreaProps): React.JSX.Element;
|
|
12
6
|
type ScrollBarProps = React.ComponentProps<typeof ScrollArea$1.Scrollbar>;
|
|
13
|
-
declare function ScrollBar({
|
|
14
|
-
className,
|
|
15
|
-
orientation,
|
|
16
|
-
...props
|
|
17
|
-
}: ScrollBarProps): _$react_jsx_runtime0.JSX.Element;
|
|
7
|
+
declare function ScrollBar({ className, orientation, ...props }: ScrollBarProps): React.JSX.Element;
|
|
18
8
|
//#endregion
|
|
19
9
|
export { ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps };
|
package/dist/select.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
1
|
import * as React from "react";
|
|
2
|
+
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import { Select as Select$1 } from "@base-ui/react/select";
|
|
4
|
-
|
|
5
4
|
//#region src/select.d.ts
|
|
6
5
|
type SelectProps<Value, Multiple extends boolean | undefined = false> = Select$1.Root.Props<Value, Multiple>;
|
|
7
6
|
type SelectGroupProps = React.ComponentProps<typeof Select$1.Group>;
|
|
@@ -16,68 +15,23 @@ type SelectItemProps = React.ComponentProps<typeof Select$1.Item>;
|
|
|
16
15
|
type SelectSeparatorProps = React.ComponentProps<typeof Select$1.Separator>;
|
|
17
16
|
type SelectScrollUpButtonProps = React.ComponentProps<typeof Select$1.ScrollUpArrow>;
|
|
18
17
|
type SelectScrollDownButtonProps = React.ComponentProps<typeof Select$1.ScrollDownArrow>;
|
|
19
|
-
|
|
20
|
-
size?: "sm" | "
|
|
21
|
-
};
|
|
18
|
+
declare const selectTriggerVariants: (props?: ({
|
|
19
|
+
size?: "default" | "lg" | "sm" | "xs" | null | undefined;
|
|
20
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
21
|
+
type SelectTriggerProps = SelectTriggerBaseProps & VariantProps<typeof selectTriggerVariants>;
|
|
22
22
|
type SelectContentProps = SelectPopupProps & Pick<SelectPositionerProps, "align" | "alignOffset" | "side" | "sideOffset" | "alignItemWithTrigger">;
|
|
23
|
-
declare function Select<Value, Multiple extends boolean | undefined = false>({
|
|
24
|
-
|
|
25
|
-
}:
|
|
26
|
-
declare function
|
|
27
|
-
|
|
28
|
-
}:
|
|
29
|
-
declare function
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}:
|
|
33
|
-
declare function
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}: SelectListProps): _$react_jsx_runtime0.JSX.Element;
|
|
37
|
-
declare function SelectGroup({
|
|
38
|
-
className,
|
|
39
|
-
...props
|
|
40
|
-
}: SelectGroupProps): _$react_jsx_runtime0.JSX.Element;
|
|
41
|
-
declare function SelectValue({
|
|
42
|
-
className,
|
|
43
|
-
...props
|
|
44
|
-
}: SelectValueProps): _$react_jsx_runtime0.JSX.Element;
|
|
45
|
-
declare function SelectTrigger({
|
|
46
|
-
className,
|
|
47
|
-
size,
|
|
48
|
-
children,
|
|
49
|
-
...props
|
|
50
|
-
}: SelectTriggerProps): _$react_jsx_runtime0.JSX.Element;
|
|
51
|
-
declare function SelectContent({
|
|
52
|
-
className,
|
|
53
|
-
children,
|
|
54
|
-
side,
|
|
55
|
-
sideOffset,
|
|
56
|
-
align,
|
|
57
|
-
alignOffset,
|
|
58
|
-
alignItemWithTrigger,
|
|
59
|
-
...props
|
|
60
|
-
}: SelectContentProps): _$react_jsx_runtime0.JSX.Element;
|
|
61
|
-
declare function SelectLabel({
|
|
62
|
-
className,
|
|
63
|
-
...props
|
|
64
|
-
}: SelectLabelProps): _$react_jsx_runtime0.JSX.Element;
|
|
65
|
-
declare function SelectItem({
|
|
66
|
-
className,
|
|
67
|
-
children,
|
|
68
|
-
...props
|
|
69
|
-
}: SelectItemProps): _$react_jsx_runtime0.JSX.Element;
|
|
70
|
-
declare function SelectSeparator({
|
|
71
|
-
className,
|
|
72
|
-
...props
|
|
73
|
-
}: SelectSeparatorProps): _$react_jsx_runtime0.JSX.Element;
|
|
74
|
-
declare function SelectScrollUpButton({
|
|
75
|
-
className,
|
|
76
|
-
...props
|
|
77
|
-
}: SelectScrollUpButtonProps): _$react_jsx_runtime0.JSX.Element;
|
|
78
|
-
declare function SelectScrollDownButton({
|
|
79
|
-
className,
|
|
80
|
-
...props
|
|
81
|
-
}: SelectScrollDownButtonProps): _$react_jsx_runtime0.JSX.Element;
|
|
23
|
+
declare function Select<Value, Multiple extends boolean | undefined = false>({ ...props }: SelectProps<Value, Multiple>): React.JSX.Element;
|
|
24
|
+
declare function SelectPortal({ ...props }: SelectPortalProps): React.JSX.Element;
|
|
25
|
+
declare function SelectPositioner({ className, ...props }: SelectPositionerProps): React.JSX.Element;
|
|
26
|
+
declare function SelectList({ className, ...props }: SelectListProps): React.JSX.Element;
|
|
27
|
+
declare function SelectGroup({ className, ...props }: SelectGroupProps): React.JSX.Element;
|
|
28
|
+
declare function SelectValue({ className, ...props }: SelectValueProps): React.JSX.Element;
|
|
29
|
+
declare function SelectTrigger({ className, size, children, ...props }: SelectTriggerProps): React.JSX.Element;
|
|
30
|
+
declare function SelectContent({ className, children, side, sideOffset, align, alignOffset, alignItemWithTrigger, ...props }: SelectContentProps): React.JSX.Element;
|
|
31
|
+
declare function SelectLabel({ className, ...props }: SelectLabelProps): React.JSX.Element;
|
|
32
|
+
declare function SelectItem({ className, children, ...props }: SelectItemProps): React.JSX.Element;
|
|
33
|
+
declare function SelectSeparator({ className, ...props }: SelectSeparatorProps): React.JSX.Element;
|
|
34
|
+
declare function SelectScrollUpButton({ className, ...props }: SelectScrollUpButtonProps): React.JSX.Element;
|
|
35
|
+
declare function SelectScrollDownButton({ className, ...props }: SelectScrollDownButtonProps): React.JSX.Element;
|
|
82
36
|
//#endregion
|
|
83
|
-
export { Select, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, SelectList, type SelectListProps, SelectPortal, type SelectPortalProps, SelectPositioner, type SelectPositionerProps, type SelectProps, SelectScrollDownButton, type SelectScrollDownButtonProps, SelectScrollUpButton, type SelectScrollUpButtonProps, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps };
|
|
37
|
+
export { Select, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, SelectList, type SelectListProps, SelectPortal, type SelectPortalProps, SelectPositioner, type SelectPositionerProps, type SelectProps, SelectScrollDownButton, type SelectScrollDownButtonProps, SelectScrollUpButton, type SelectScrollUpButtonProps, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, selectTriggerVariants };
|
package/dist/select.js
CHANGED
|
@@ -2,8 +2,18 @@
|
|
|
2
2
|
import { cn } from "./lib/utils.js";
|
|
3
3
|
import { CheckIcon, ChevronDownIcon, ChevronUpIcon, ChevronsUpDownIcon } from "./lib/internal-icons.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { cva } from "class-variance-authority";
|
|
5
6
|
import { Select as Select$1 } from "@base-ui/react/select";
|
|
6
7
|
//#region src/select.tsx
|
|
8
|
+
const selectTriggerVariants = cva("data-placeholder:text-soft bg-edge hover:border-focus focus-visible:border-focus focus-visible:ring-focus/50 aria-invalid:ring-destructive/30 aria-invalid:border-destructive flex w-fit items-center justify-between gap-1.5 rounded-md border border-transparent whitespace-nowrap motion-color outline-hidden select-none focus-visible:ring-3 disabled:pointer-events-none disabled:opacity-30 aria-invalid:ring-3 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
|
|
9
|
+
variants: { size: {
|
|
10
|
+
xs: "h-6 rounded-sm px-2 text-xs",
|
|
11
|
+
sm: "h-8 px-3 text-sm",
|
|
12
|
+
default: "h-9 px-3 text-base",
|
|
13
|
+
lg: "h-11 px-4 text-lg"
|
|
14
|
+
} },
|
|
15
|
+
defaultVariants: { size: "default" }
|
|
16
|
+
});
|
|
7
17
|
function Select({ ...props }) {
|
|
8
18
|
return /* @__PURE__ */ jsx(Select$1.Root, {
|
|
9
19
|
"data-slot": "select",
|
|
@@ -48,7 +58,7 @@ function SelectTrigger({ className, size = "default", children, ...props }) {
|
|
|
48
58
|
return /* @__PURE__ */ jsxs(Select$1.Trigger, {
|
|
49
59
|
"data-slot": "select-trigger",
|
|
50
60
|
"data-size": size,
|
|
51
|
-
className: cn(
|
|
61
|
+
className: cn(selectTriggerVariants({ size }), className),
|
|
52
62
|
...props,
|
|
53
63
|
children: [children, /* @__PURE__ */ jsx(Select$1.Icon, {
|
|
54
64
|
"data-slot": "select-icon",
|
|
@@ -125,4 +135,4 @@ function SelectScrollDownButton({ className, ...props }) {
|
|
|
125
135
|
});
|
|
126
136
|
}
|
|
127
137
|
//#endregion
|
|
128
|
-
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectList, SelectPortal, SelectPositioner, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
|
|
138
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectList, SelectPortal, SelectPositioner, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, selectTriggerVariants };
|
package/dist/separator.d.ts
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
1
|
import * as React from "react";
|
|
3
2
|
import { Separator as Separator$1 } from "@base-ui/react/separator";
|
|
4
|
-
|
|
5
3
|
//#region src/separator.d.ts
|
|
6
4
|
type SeparatorProps = React.ComponentProps<typeof Separator$1>;
|
|
7
|
-
declare function Separator({
|
|
8
|
-
className,
|
|
9
|
-
orientation,
|
|
10
|
-
...props
|
|
11
|
-
}: SeparatorProps): _$react_jsx_runtime0.JSX.Element;
|
|
5
|
+
declare function Separator({ className, orientation, ...props }: SeparatorProps): React.JSX.Element;
|
|
12
6
|
//#endregion
|
|
13
7
|
export { Separator, type SeparatorProps };
|
package/dist/sidebar.d.ts
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { Button } from "./button.js";
|
|
2
|
-
import { Separator } from "./separator.js";
|
|
3
2
|
import { Input } from "./input.js";
|
|
3
|
+
import { Separator } from "./separator.js";
|
|
4
4
|
import { TooltipContent } from "./tooltip.js";
|
|
5
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
6
5
|
import * as React from "react";
|
|
7
6
|
import { VariantProps } from "class-variance-authority";
|
|
8
7
|
import { useRender } from "@base-ui/react/use-render";
|
|
9
|
-
import * as _$class_variance_authority_types0 from "class-variance-authority/types";
|
|
10
|
-
|
|
11
8
|
//#region src/sidebar.d.ts
|
|
12
9
|
/**
|
|
13
10
|
* Persist sidebar state to a cookie.
|
|
@@ -60,168 +57,74 @@ type SidebarProviderProps = React.ComponentProps<"div"> & {
|
|
|
60
57
|
* <SidebarProvider persist={(open) => saveToServer(open)}>
|
|
61
58
|
* ```
|
|
62
59
|
*/
|
|
63
|
-
persist?: (open: boolean) => void;
|
|
64
|
-
|
|
60
|
+
persist?: (open: boolean) => void;
|
|
61
|
+
/** Key for Cmd/Ctrl+key toggle shortcut. Defaults to "b". Pass `false` to disable. */
|
|
62
|
+
keyboardShortcut?: string | false;
|
|
63
|
+
/** Breakpoint (px) below which the sidebar uses a mobile drawer. Defaults to 768. */
|
|
65
64
|
mobileBreakpoint?: number;
|
|
66
65
|
};
|
|
67
|
-
declare function SidebarProvider({
|
|
68
|
-
defaultOpen,
|
|
69
|
-
open: openProp,
|
|
70
|
-
onOpenChange: setOpenProp,
|
|
71
|
-
persist,
|
|
72
|
-
keyboardShortcut,
|
|
73
|
-
mobileBreakpoint,
|
|
74
|
-
className,
|
|
75
|
-
style,
|
|
76
|
-
children,
|
|
77
|
-
...props
|
|
78
|
-
}: SidebarProviderProps): _$react_jsx_runtime0.JSX.Element;
|
|
66
|
+
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, persist, keyboardShortcut, mobileBreakpoint, className, style, children, ...props }: SidebarProviderProps): React.JSX.Element;
|
|
79
67
|
type SidebarProps = React.ComponentProps<"div"> & {
|
|
80
68
|
side?: "left" | "right";
|
|
81
69
|
variant?: "sidebar" | "floating" | "inset";
|
|
82
70
|
collapsible?: "offcanvas" | "icon" | "none";
|
|
83
71
|
};
|
|
84
|
-
declare function Sidebar({
|
|
85
|
-
side,
|
|
86
|
-
variant,
|
|
87
|
-
collapsible,
|
|
88
|
-
className,
|
|
89
|
-
children,
|
|
90
|
-
...props
|
|
91
|
-
}: SidebarProps): _$react_jsx_runtime0.JSX.Element;
|
|
72
|
+
declare function Sidebar({ side, variant, collapsible, className, children, ...props }: SidebarProps): React.JSX.Element;
|
|
92
73
|
type SidebarTriggerProps = React.ComponentProps<typeof Button>;
|
|
93
|
-
declare function SidebarTrigger({
|
|
94
|
-
className,
|
|
95
|
-
onClick,
|
|
96
|
-
...props
|
|
97
|
-
}: SidebarTriggerProps): _$react_jsx_runtime0.JSX.Element;
|
|
74
|
+
declare function SidebarTrigger({ className, onClick, ...props }: SidebarTriggerProps): React.JSX.Element;
|
|
98
75
|
type SidebarRailProps = React.ComponentProps<"button">;
|
|
99
|
-
declare function SidebarRail({
|
|
100
|
-
className,
|
|
101
|
-
...props
|
|
102
|
-
}: SidebarRailProps): _$react_jsx_runtime0.JSX.Element;
|
|
76
|
+
declare function SidebarRail({ className, ...props }: SidebarRailProps): React.JSX.Element;
|
|
103
77
|
type SidebarInsetProps = React.ComponentProps<"main">;
|
|
104
|
-
declare function SidebarInset({
|
|
105
|
-
className,
|
|
106
|
-
...props
|
|
107
|
-
}: SidebarInsetProps): _$react_jsx_runtime0.JSX.Element;
|
|
78
|
+
declare function SidebarInset({ className, ...props }: SidebarInsetProps): React.JSX.Element;
|
|
108
79
|
type SidebarInputProps = React.ComponentProps<typeof Input>;
|
|
109
|
-
declare function SidebarInput({
|
|
110
|
-
className,
|
|
111
|
-
...props
|
|
112
|
-
}: SidebarInputProps): _$react_jsx_runtime0.JSX.Element;
|
|
80
|
+
declare function SidebarInput({ className, ...props }: SidebarInputProps): React.JSX.Element;
|
|
113
81
|
type SidebarHeaderProps = React.ComponentProps<"div">;
|
|
114
|
-
declare function SidebarHeader({
|
|
115
|
-
className,
|
|
116
|
-
...props
|
|
117
|
-
}: SidebarHeaderProps): _$react_jsx_runtime0.JSX.Element;
|
|
82
|
+
declare function SidebarHeader({ className, ...props }: SidebarHeaderProps): React.JSX.Element;
|
|
118
83
|
type SidebarFooterProps = React.ComponentProps<"div">;
|
|
119
|
-
declare function SidebarFooter({
|
|
120
|
-
className,
|
|
121
|
-
...props
|
|
122
|
-
}: SidebarFooterProps): _$react_jsx_runtime0.JSX.Element;
|
|
84
|
+
declare function SidebarFooter({ className, ...props }: SidebarFooterProps): React.JSX.Element;
|
|
123
85
|
type SidebarSeparatorProps = React.ComponentProps<typeof Separator>;
|
|
124
|
-
declare function SidebarSeparator({
|
|
125
|
-
className,
|
|
126
|
-
...props
|
|
127
|
-
}: SidebarSeparatorProps): _$react_jsx_runtime0.JSX.Element;
|
|
86
|
+
declare function SidebarSeparator({ className, ...props }: SidebarSeparatorProps): React.JSX.Element;
|
|
128
87
|
type SidebarContentProps = React.ComponentProps<"div">;
|
|
129
|
-
declare function SidebarContent({
|
|
130
|
-
className,
|
|
131
|
-
style,
|
|
132
|
-
...props
|
|
133
|
-
}: SidebarContentProps): _$react_jsx_runtime0.JSX.Element;
|
|
88
|
+
declare function SidebarContent({ className, style, ...props }: SidebarContentProps): React.JSX.Element;
|
|
134
89
|
type SidebarGroupProps = React.ComponentProps<"div">;
|
|
135
|
-
declare function SidebarGroup({
|
|
136
|
-
className,
|
|
137
|
-
...props
|
|
138
|
-
}: SidebarGroupProps): _$react_jsx_runtime0.JSX.Element;
|
|
90
|
+
declare function SidebarGroup({ className, ...props }: SidebarGroupProps): React.JSX.Element;
|
|
139
91
|
type SidebarGroupLabelProps = useRender.ComponentProps<"div"> & React.ComponentProps<"div">;
|
|
140
|
-
declare function SidebarGroupLabel({
|
|
141
|
-
className,
|
|
142
|
-
render,
|
|
143
|
-
...props
|
|
144
|
-
}: SidebarGroupLabelProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
92
|
+
declare function SidebarGroupLabel({ className, render, ...props }: SidebarGroupLabelProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
145
93
|
type SidebarGroupActionProps = useRender.ComponentProps<"button"> & React.ComponentProps<"button">;
|
|
146
|
-
declare function SidebarGroupAction({
|
|
147
|
-
className,
|
|
148
|
-
render,
|
|
149
|
-
...props
|
|
150
|
-
}: SidebarGroupActionProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
94
|
+
declare function SidebarGroupAction({ className, render, ...props }: SidebarGroupActionProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
151
95
|
type SidebarGroupContentProps = React.ComponentProps<"div">;
|
|
152
|
-
declare function SidebarGroupContent({
|
|
153
|
-
className,
|
|
154
|
-
...props
|
|
155
|
-
}: SidebarGroupContentProps): _$react_jsx_runtime0.JSX.Element;
|
|
96
|
+
declare function SidebarGroupContent({ className, ...props }: SidebarGroupContentProps): React.JSX.Element;
|
|
156
97
|
type SidebarMenuProps = React.ComponentProps<"ul">;
|
|
157
|
-
declare function SidebarMenu({
|
|
158
|
-
className,
|
|
159
|
-
...props
|
|
160
|
-
}: SidebarMenuProps): _$react_jsx_runtime0.JSX.Element;
|
|
98
|
+
declare function SidebarMenu({ className, ...props }: SidebarMenuProps): React.JSX.Element;
|
|
161
99
|
type SidebarMenuItemProps = React.ComponentProps<"li">;
|
|
162
|
-
declare function SidebarMenuItem({
|
|
163
|
-
className,
|
|
164
|
-
...props
|
|
165
|
-
}: SidebarMenuItemProps): _$react_jsx_runtime0.JSX.Element;
|
|
100
|
+
declare function SidebarMenuItem({ className, ...props }: SidebarMenuItemProps): React.JSX.Element;
|
|
166
101
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
167
102
|
variant?: "default" | "outline" | null | undefined;
|
|
168
|
-
size?: "default" | "
|
|
169
|
-
} &
|
|
103
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
104
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
170
105
|
type SidebarMenuButtonProps = useRender.ComponentProps<"button"> & React.ComponentProps<"button"> & {
|
|
171
106
|
isActive?: boolean;
|
|
172
107
|
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
173
108
|
} & VariantProps<typeof sidebarMenuButtonVariants>;
|
|
174
|
-
declare function SidebarMenuButton({
|
|
175
|
-
render,
|
|
176
|
-
isActive,
|
|
177
|
-
variant,
|
|
178
|
-
size,
|
|
179
|
-
tooltip,
|
|
180
|
-
className,
|
|
181
|
-
...props
|
|
182
|
-
}: SidebarMenuButtonProps): _$react_jsx_runtime0.JSX.Element;
|
|
109
|
+
declare function SidebarMenuButton({ render, isActive, variant, size, tooltip, className, ...props }: SidebarMenuButtonProps): React.JSX.Element;
|
|
183
110
|
type SidebarMenuActionProps = useRender.ComponentProps<"button"> & React.ComponentProps<"button"> & {
|
|
184
111
|
showOnHover?: boolean;
|
|
185
112
|
};
|
|
186
|
-
declare function SidebarMenuAction({
|
|
187
|
-
className,
|
|
188
|
-
render,
|
|
189
|
-
showOnHover,
|
|
190
|
-
...props
|
|
191
|
-
}: SidebarMenuActionProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
113
|
+
declare function SidebarMenuAction({ className, render, showOnHover, ...props }: SidebarMenuActionProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
192
114
|
type SidebarMenuBadgeProps = React.ComponentProps<"div">;
|
|
193
|
-
declare function SidebarMenuBadge({
|
|
194
|
-
className,
|
|
195
|
-
...props
|
|
196
|
-
}: SidebarMenuBadgeProps): _$react_jsx_runtime0.JSX.Element;
|
|
115
|
+
declare function SidebarMenuBadge({ className, ...props }: SidebarMenuBadgeProps): React.JSX.Element;
|
|
197
116
|
type SidebarMenuSkeletonProps = React.ComponentProps<"div"> & {
|
|
198
117
|
showIcon?: boolean;
|
|
199
118
|
};
|
|
200
|
-
declare function SidebarMenuSkeleton({
|
|
201
|
-
className,
|
|
202
|
-
showIcon,
|
|
203
|
-
...props
|
|
204
|
-
}: SidebarMenuSkeletonProps): _$react_jsx_runtime0.JSX.Element;
|
|
119
|
+
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: SidebarMenuSkeletonProps): React.JSX.Element;
|
|
205
120
|
type SidebarMenuSubProps = React.ComponentProps<"ul">;
|
|
206
|
-
declare function SidebarMenuSub({
|
|
207
|
-
className,
|
|
208
|
-
...props
|
|
209
|
-
}: SidebarMenuSubProps): _$react_jsx_runtime0.JSX.Element;
|
|
121
|
+
declare function SidebarMenuSub({ className, ...props }: SidebarMenuSubProps): React.JSX.Element;
|
|
210
122
|
type SidebarMenuSubItemProps = React.ComponentProps<"li">;
|
|
211
|
-
declare function SidebarMenuSubItem({
|
|
212
|
-
className,
|
|
213
|
-
...props
|
|
214
|
-
}: SidebarMenuSubItemProps): _$react_jsx_runtime0.JSX.Element;
|
|
123
|
+
declare function SidebarMenuSubItem({ className, ...props }: SidebarMenuSubItemProps): React.JSX.Element;
|
|
215
124
|
type SidebarMenuSubButtonProps = useRender.ComponentProps<"a"> & React.ComponentProps<"a"> & {
|
|
216
125
|
size?: "sm" | "md";
|
|
217
126
|
isActive?: boolean;
|
|
218
127
|
};
|
|
219
|
-
declare function SidebarMenuSubButton({
|
|
220
|
-
render,
|
|
221
|
-
size,
|
|
222
|
-
isActive,
|
|
223
|
-
className,
|
|
224
|
-
...props
|
|
225
|
-
}: SidebarMenuSubButtonProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
128
|
+
declare function SidebarMenuSubButton({ render, size, isActive, className, ...props }: SidebarMenuSubButtonProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
226
129
|
//#endregion
|
|
227
130
|
export { Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, SidebarGroupAction, type SidebarGroupActionProps, SidebarGroupContent, type SidebarGroupContentProps, SidebarGroupLabel, type SidebarGroupLabelProps, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarInput, type SidebarInputProps, SidebarInset, type SidebarInsetProps, SidebarMenu, SidebarMenuAction, type SidebarMenuActionProps, SidebarMenuBadge, type SidebarMenuBadgeProps, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, type SidebarMenuItemProps, type SidebarMenuProps, SidebarMenuSkeleton, type SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarMenuSubItemProps, type SidebarMenuSubProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, type SidebarRailProps, SidebarSeparator, type SidebarSeparatorProps, SidebarTrigger, type SidebarTriggerProps, cookiePersist, localStoragePersist, sidebarMenuButtonVariants, useSidebar };
|
package/dist/sidebar.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { cn } from "./lib/utils.js";
|
|
3
3
|
import { SidebarPanelIcon } from "./lib/internal-icons.js";
|
|
4
4
|
import { Button } from "./button.js";
|
|
5
|
-
import { Separator } from "./separator.js";
|
|
6
5
|
import { Input } from "./input.js";
|
|
6
|
+
import { Separator } from "./separator.js";
|
|
7
7
|
import { Drawer, DrawerContent, DrawerDescription, DrawerHeader, DrawerTitle } from "./drawer.js";
|
|
8
8
|
import { Skeleton } from "./skeleton.js";
|
|
9
9
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./tooltip.js";
|
|
@@ -31,7 +31,7 @@ const SIDEBAR_DEFAULT_KEYBOARD_SHORTCUT = "b";
|
|
|
31
31
|
* <SidebarProvider persist={cookiePersist("my-sidebar", 86400)}>
|
|
32
32
|
* ```
|
|
33
33
|
*/
|
|
34
|
-
function cookiePersist(name = "sidebar-state", maxAge =
|
|
34
|
+
function cookiePersist(name = "sidebar-state", maxAge = 604800) {
|
|
35
35
|
return (open) => {
|
|
36
36
|
document.cookie = `${name}=${open}; path=/; max-age=${maxAge}`;
|
|
37
37
|
};
|
|
@@ -74,7 +74,7 @@ function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: set
|
|
|
74
74
|
persistRef.current?.(openState);
|
|
75
75
|
}, [setOpenProp, open]);
|
|
76
76
|
const toggleSidebar = React.useCallback(() => {
|
|
77
|
-
return isMobile ? setOpenMobile((
|
|
77
|
+
return isMobile ? setOpenMobile((prev) => !prev) : setOpen((prev) => !prev);
|
|
78
78
|
}, [
|
|
79
79
|
isMobile,
|
|
80
80
|
setOpen,
|
package/dist/skeleton.d.ts
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
|
|
4
2
|
//#region src/skeleton.d.ts
|
|
5
3
|
type SkeletonProps = React.ComponentProps<"div">;
|
|
6
|
-
declare function Skeleton({
|
|
7
|
-
className,
|
|
8
|
-
...props
|
|
9
|
-
}: SkeletonProps): _$react_jsx_runtime0.JSX.Element;
|
|
4
|
+
declare function Skeleton({ className, ...props }: SkeletonProps): React.JSX.Element;
|
|
10
5
|
//#endregion
|
|
11
6
|
export { Skeleton, type SkeletonProps };
|
package/dist/slider.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
1
|
import * as React from "react";
|
|
3
2
|
import { Slider as Slider$1 } from "@base-ui/react/slider";
|
|
4
|
-
|
|
5
3
|
//#region src/slider.d.ts
|
|
6
4
|
type SliderProps = React.ComponentProps<typeof Slider$1.Root> & {
|
|
7
5
|
controlClassName?: string;
|
|
@@ -12,17 +10,6 @@ type SliderProps = React.ComponentProps<typeof Slider$1.Root> & {
|
|
|
12
10
|
*/
|
|
13
11
|
getThumbAriaLabel?: (index: number) => string;
|
|
14
12
|
};
|
|
15
|
-
declare function Slider({
|
|
16
|
-
className,
|
|
17
|
-
controlClassName,
|
|
18
|
-
defaultValue,
|
|
19
|
-
value,
|
|
20
|
-
min,
|
|
21
|
-
max,
|
|
22
|
-
orientation,
|
|
23
|
-
"aria-label": ariaLabel,
|
|
24
|
-
getThumbAriaLabel,
|
|
25
|
-
...props
|
|
26
|
-
}: SliderProps): _$react_jsx_runtime0.JSX.Element;
|
|
13
|
+
declare function Slider({ className, controlClassName, defaultValue, value, min, max, orientation, "aria-label": ariaLabel, getThumbAriaLabel, ...props }: SliderProps): React.JSX.Element;
|
|
27
14
|
//#endregion
|
|
28
15
|
export { Slider, type SliderProps };
|
package/dist/slider.js
CHANGED
|
@@ -5,7 +5,7 @@ import * as React from "react";
|
|
|
5
5
|
import { Slider as Slider$1 } from "@base-ui/react/slider";
|
|
6
6
|
//#region src/slider.tsx
|
|
7
7
|
function Slider({ className, controlClassName, defaultValue, value, min = 0, max = 100, orientation = "horizontal", "aria-label": ariaLabel, getThumbAriaLabel, ...props }) {
|
|
8
|
-
const
|
|
8
|
+
const resolvedValues = React.useMemo(() => Array.isArray(value) ? value : Array.isArray(defaultValue) ? defaultValue : [min, max], [
|
|
9
9
|
value,
|
|
10
10
|
defaultValue,
|
|
11
11
|
min,
|
|
@@ -31,7 +31,7 @@ function Slider({ className, controlClassName, defaultValue, value, min = 0, max
|
|
|
31
31
|
"data-slot": "slider-range",
|
|
32
32
|
className: "bg-primary select-none data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full"
|
|
33
33
|
})
|
|
34
|
-
}), Array.from({ length:
|
|
34
|
+
}), Array.from({ length: resolvedValues.length }, (_, index) => /* @__PURE__ */ jsx(Slider$1.Thumb, {
|
|
35
35
|
"data-slot": "slider-thumb",
|
|
36
36
|
"aria-label": getThumbAriaLabel ? getThumbAriaLabel(index) : ariaLabel,
|
|
37
37
|
className: "border-focus ring-focus/50 relative block size-3 shrink-0 rounded-full border bg-white motion-color cursor-clickable select-none after:absolute after:-inset-2 hover:ring-3 focus-visible:ring-3 focus-visible:outline-hidden active:ring-3 data-disabled:pointer-events-none"
|
package/dist/spinner.d.ts
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
|
|
4
2
|
//#region src/spinner.d.ts
|
|
5
3
|
type SpinnerProps = React.ComponentProps<"svg">;
|
|
6
|
-
declare function Spinner({
|
|
7
|
-
className,
|
|
8
|
-
...props
|
|
9
|
-
}: SpinnerProps): _$react_jsx_runtime0.JSX.Element;
|
|
4
|
+
declare function Spinner({ className, ...props }: SpinnerProps): React.JSX.Element;
|
|
10
5
|
//#endregion
|
|
11
6
|
export { Spinner, type SpinnerProps };
|
package/dist/styles.css
CHANGED
|
@@ -457,6 +457,24 @@
|
|
|
457
457
|
cursor: var(--cursor-clickable);
|
|
458
458
|
}
|
|
459
459
|
|
|
460
|
+
/* `resize-handle` — a subtle corner grip for a resizable field, shown on hover.
|
|
461
|
+
* Painted as a `background-image` (a <textarea> is a replaced element, so no
|
|
462
|
+
* `::after`) inset into the bottom-right corner, while the native
|
|
463
|
+
* `::-webkit-resizer` is kept transparent so the corner still drags. A neutral
|
|
464
|
+
* gray reads on every theme, like a native scrollbar grip. WebKit/Chromium
|
|
465
|
+
* paint it; Firefox keeps its own native grip. Pair with a `resize-*` utility. */
|
|
466
|
+
@utility resize-handle {
|
|
467
|
+
&::-webkit-resizer {
|
|
468
|
+
background: transparent;
|
|
469
|
+
}
|
|
470
|
+
&:hover {
|
|
471
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M12 0C12 5.4 11.5 8.5 10 10C8.5 11.5 5.4 12 0 12' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
|
|
472
|
+
background-repeat: no-repeat;
|
|
473
|
+
background-position: right 5px bottom 5px;
|
|
474
|
+
background-size: 12px 12px;
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
|
|
460
478
|
/* `motion-color` — interaction-state transition for controls: smoothly
|
|
461
479
|
* animates color / background / border / ring (box-shadow) on hover, focus,
|
|
462
480
|
* pressed, checked, etc. Runs at the `sm` tier (controls are small + fast). A
|
package/dist/switch.d.ts
CHANGED
|
@@ -1,18 +1,11 @@
|
|
|
1
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
1
|
import * as React from "react";
|
|
3
2
|
import { VariantProps } from "class-variance-authority";
|
|
4
3
|
import { Switch as Switch$1 } from "@base-ui/react/switch";
|
|
5
|
-
import * as _$class_variance_authority_types0 from "class-variance-authority/types";
|
|
6
|
-
|
|
7
4
|
//#region src/switch.d.ts
|
|
8
5
|
declare const switchVariants: (props?: ({
|
|
9
6
|
size?: "default" | "sm" | null | undefined;
|
|
10
|
-
} &
|
|
7
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
8
|
type SwitchProps = React.ComponentProps<typeof Switch$1.Root> & VariantProps<typeof switchVariants>;
|
|
12
|
-
declare function Switch({
|
|
13
|
-
className,
|
|
14
|
-
size,
|
|
15
|
-
...props
|
|
16
|
-
}: SwitchProps): _$react_jsx_runtime0.JSX.Element;
|
|
9
|
+
declare function Switch({ className, size, ...props }: SwitchProps): React.JSX.Element;
|
|
17
10
|
//#endregion
|
|
18
11
|
export { Switch, type SwitchProps, switchVariants };
|
package/dist/table.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
1
|
import * as React from "react";
|
|
3
|
-
|
|
4
2
|
//#region src/table.d.ts
|
|
5
3
|
type TableProps = React.ComponentProps<"table">;
|
|
6
4
|
type TableHeaderProps = React.ComponentProps<"thead">;
|
|
@@ -10,37 +8,13 @@ type TableRowProps = React.ComponentProps<"tr">;
|
|
|
10
8
|
type TableHeadProps = React.ComponentProps<"th">;
|
|
11
9
|
type TableCellProps = React.ComponentProps<"td">;
|
|
12
10
|
type TableCaptionProps = React.ComponentProps<"caption">;
|
|
13
|
-
declare function Table({
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}:
|
|
17
|
-
declare function
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}:
|
|
21
|
-
declare function TableBody({
|
|
22
|
-
className,
|
|
23
|
-
...props
|
|
24
|
-
}: TableBodyProps): _$react_jsx_runtime0.JSX.Element;
|
|
25
|
-
declare function TableFooter({
|
|
26
|
-
className,
|
|
27
|
-
...props
|
|
28
|
-
}: TableFooterProps): _$react_jsx_runtime0.JSX.Element;
|
|
29
|
-
declare function TableRow({
|
|
30
|
-
className,
|
|
31
|
-
...props
|
|
32
|
-
}: TableRowProps): _$react_jsx_runtime0.JSX.Element;
|
|
33
|
-
declare function TableHead({
|
|
34
|
-
className,
|
|
35
|
-
...props
|
|
36
|
-
}: TableHeadProps): _$react_jsx_runtime0.JSX.Element;
|
|
37
|
-
declare function TableCell({
|
|
38
|
-
className,
|
|
39
|
-
...props
|
|
40
|
-
}: TableCellProps): _$react_jsx_runtime0.JSX.Element;
|
|
41
|
-
declare function TableCaption({
|
|
42
|
-
className,
|
|
43
|
-
...props
|
|
44
|
-
}: TableCaptionProps): _$react_jsx_runtime0.JSX.Element;
|
|
11
|
+
declare function Table({ className, ...props }: TableProps): React.JSX.Element;
|
|
12
|
+
declare function TableHeader({ className, ...props }: TableHeaderProps): React.JSX.Element;
|
|
13
|
+
declare function TableBody({ className, ...props }: TableBodyProps): React.JSX.Element;
|
|
14
|
+
declare function TableFooter({ className, ...props }: TableFooterProps): React.JSX.Element;
|
|
15
|
+
declare function TableRow({ className, ...props }: TableRowProps): React.JSX.Element;
|
|
16
|
+
declare function TableHead({ className, ...props }: TableHeadProps): React.JSX.Element;
|
|
17
|
+
declare function TableCell({ className, ...props }: TableCellProps): React.JSX.Element;
|
|
18
|
+
declare function TableCaption({ className, ...props }: TableCaptionProps): React.JSX.Element;
|
|
45
19
|
//#endregion
|
|
46
20
|
export { Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps };
|