@speakeasy-api/moonshine 1.42.0 → 1.43.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 +19 -21
- package/dist/components/AIChat/AIChatContainer.d.ts +2 -2
- package/dist/components/AIChat/AIChatMessage.d.ts +1 -1
- package/dist/components/AIChat/AIChatMessageComposer.d.ts +3 -3
- package/dist/components/AIChat/AIChatMessageList.d.ts +1 -1
- package/dist/components/AIChat/AIChatModelSelector.d.ts +2 -1
- package/dist/components/AIChat/parts/AIChatMessageFilePart.d.ts +1 -1
- package/dist/components/AIChat/parts/AIChatMessageReasoningPart.d.ts +1 -1
- package/dist/components/AIChat/parts/AIChatMessageSourcePart.d.ts +1 -1
- package/dist/components/AIChat/parts/AIChatMessageTextPart.d.ts +1 -1
- package/dist/components/AIChat/parts/AIChatMessageToolInvocationPart.d.ts +1 -1
- package/dist/components/AIChat/parts/AIChatMessageToolPart.d.ts +5 -5
- package/dist/components/AIChat/parts/AIChatMessageToolResultPart.d.ts +1 -1
- package/dist/components/AIChat/types.d.ts +9 -9
- package/dist/components/ActionBar/index.d.ts +3 -3
- package/dist/components/Alert/index.d.ts +2 -2
- package/dist/components/AppLayout/index.d.ts +11 -11
- package/dist/components/AppLayout/provider.d.ts +2 -2
- package/dist/components/Badge/index.d.ts +3 -3
- package/dist/components/Button/index.d.ts +3 -3
- package/dist/components/Card/index.d.ts +3 -3
- package/dist/components/CodeEditorLayout/index.d.ts +8 -8
- package/dist/components/CodeHighlight/Pre.d.ts +1 -1
- package/dist/components/CodePlayground/index.d.ts +4 -4
- package/dist/components/CodeSnippet/index.d.ts +1 -1
- package/dist/components/Combobox/index.d.ts +4 -4
- package/dist/components/Command/index.d.ts +3 -3
- package/dist/components/Container/index.d.ts +1 -1
- package/dist/components/ContextDropdown/index.d.ts +1 -1
- package/dist/components/Dialog/index.d.ts +4 -4
- package/dist/components/DragNDrop/DragNDropArea.d.ts +1 -1
- package/dist/components/DragNDrop/Draggable.d.ts +1 -1
- package/dist/components/DragNDrop/Droppable.d.ts +1 -1
- package/dist/components/Dropdown/index.d.ts +3 -3
- package/dist/components/ExternalPill/index.d.ts +3 -3
- package/dist/components/Facepile/index.d.ts +4 -3
- package/dist/components/GradientCircle/index.d.ts +1 -1
- package/dist/components/Grid/index.d.ts +4 -4
- package/dist/components/Heading/index.d.ts +2 -2
- package/dist/components/HighlightedText/index.d.ts +2 -2
- package/dist/components/Icon/index.d.ts +3 -3
- package/dist/components/IconButton/index.d.ts +3 -3
- package/dist/components/Input/index.d.ts +1 -1
- package/dist/components/KeyHint/index.d.ts +4 -3
- package/dist/components/LanguageIndicator/index.d.ts +1 -1
- package/dist/components/Link/index.d.ts +1 -1
- package/dist/components/Logo/Animated.d.ts +2 -2
- package/dist/components/Logo/index.d.ts +2 -2
- package/dist/components/Logo/svgs/index.d.ts +2 -2
- package/dist/components/Modal/index.d.ts +2 -2
- package/dist/components/PageHeader/index.d.ts +1 -1
- package/dist/components/Popover/index.d.ts +3 -3
- package/dist/components/PromptInput/index.d.ts +1 -1
- package/dist/components/PullRequestLink/index.d.ts +3 -3
- package/dist/components/ResizablePanel/index.d.ts +3 -3
- package/dist/components/Score/index.d.ts +1 -1
- package/dist/components/ScrollArea/index.d.ts +2 -2
- package/dist/components/SegmentedButton/index.d.ts +2 -2
- package/dist/components/Select/index.d.ts +2 -2
- package/dist/components/Separator/index.d.ts +1 -1
- package/dist/components/Skeleton/index.d.ts +1 -1
- package/dist/components/Stack/index.d.ts +6 -6
- package/dist/components/Subnav/index.d.ts +1 -1
- package/dist/components/Switch/index.d.ts +2 -2
- package/dist/components/Table/context/tableProvider.d.ts +1 -1
- package/dist/components/Table/index.d.ts +10 -10
- package/dist/components/Tabs/index.d.ts +2 -2
- package/dist/components/TargetLanguageIcon/index.d.ts +1 -1
- package/dist/components/Text/index.d.ts +6 -6
- package/dist/components/ThemeSwitcher/index.d.ts +2 -2
- package/dist/components/Timeline/index.d.ts +8 -8
- package/dist/components/Tooltip/index.d.ts +3 -3
- package/dist/components/UserAvatar/index.d.ts +1 -1
- package/dist/components/Wizard/index.d.ts +2 -2
- package/dist/components/WorkspaceSelector/CreateOrg.d.ts +1 -1
- package/dist/components/WorkspaceSelector/CreateWorkspace.d.ts +2 -1
- package/dist/components/WorkspaceSelector/OrgList.d.ts +1 -1
- package/dist/components/WorkspaceSelector/OrgSelector.d.ts +2 -1
- package/dist/components/WorkspaceSelector/RecentWorkspaces.d.ts +1 -1
- package/dist/components/WorkspaceSelector/SearchBox.d.ts +1 -1
- package/dist/components/WorkspaceSelector/WorkspaceList.d.ts +1 -1
- package/dist/components/WorkspaceSelector/index.d.ts +2 -1
- package/dist/components/__beta__/CLIWizard/index.d.ts +3 -2
- package/dist/components/__beta__/CLIWizard/terminal-command.d.ts +3 -9
- package/dist/components/__beta__/CLIWizard/terminal.d.ts +4 -4
- package/dist/context/ConfigContext.d.ts +1 -1
- package/dist/context/ModalContext.d.ts +2 -2
- package/dist/context/theme.d.ts +1 -1
- package/dist/createCustomLucideIcon-BSnVssGH.mjs.map +1 -1
- package/dist/gems-CjrcvmBL.mjs.map +1 -1
- package/dist/go-CMa98Edn.mjs.map +1 -1
- package/dist/hooks/useTheme.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/lib/responsiveMappers.d.ts +1 -1
- package/dist/lib/storybookUtils.d.ts +2 -2
- package/dist/lib/typeUtils.d.ts +1 -1
- package/dist/maven-BhPvGLiR.mjs.map +1 -1
- package/dist/moonshine.css +1 -1
- package/dist/moonshine.es.js +2647 -2641
- package/dist/moonshine.es.js.map +1 -1
- package/dist/npm-BNJZqB_6.mjs.map +1 -1
- package/dist/nuget-DigVDFf0.mjs.map +1 -1
- package/dist/packagist-DvGLhkI-.mjs.map +1 -1
- package/dist/pypi-Cj9893_x.mjs.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utils-DnjhZJTm.mjs.map +1 -1
- package/package.json +12 -13
- package/src/base.css +281 -271
- package/src/global.css +16 -8
- package/src/utilities.css +0 -1
- package/types/utilities.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ButtonProps } from '../Button';
|
|
2
|
-
import * as React from
|
|
2
|
+
import * as React from "react";
|
|
3
3
|
export interface ComboboxOption<T extends string = string> {
|
|
4
4
|
value: T;
|
|
5
5
|
label: string;
|
|
@@ -19,8 +19,8 @@ type ComboboxDataProps<T extends string = string> = {
|
|
|
19
19
|
interface ComboboxBaseProps<T extends string = string> {
|
|
20
20
|
value: T;
|
|
21
21
|
onValueChange: (value: T | undefined) => void;
|
|
22
|
-
variant?: ButtonProps[
|
|
23
|
-
size?: ButtonProps[
|
|
22
|
+
variant?: ButtonProps["variant"];
|
|
23
|
+
size?: ButtonProps["size"];
|
|
24
24
|
disabled?: boolean;
|
|
25
25
|
loading?: boolean;
|
|
26
26
|
error?: boolean;
|
|
@@ -36,5 +36,5 @@ interface ComboboxBaseProps<T extends string = string> {
|
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
export type ComboboxProps<T extends string = string> = ComboboxBaseProps<T> & ComboboxDataProps<T>;
|
|
39
|
-
export declare function Combobox<T extends string = string>({ options, groups, value, onValueChange, variant, size, disabled, loading, error, errorText, searchable, placeholder, emptyText, searchPlaceholder, iconOnly, createOptions, }: ComboboxProps<T>):
|
|
39
|
+
export declare function Combobox<T extends string = string>({ options, groups, value, onValueChange, variant, size, disabled, loading, error, errorText, searchable, placeholder, emptyText, searchPlaceholder, iconOnly, createOptions, }: ComboboxProps<T>): React.JSX.Element;
|
|
40
40
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DialogProps } from '@radix-ui/react-dialog';
|
|
2
|
-
import * as React from
|
|
2
|
+
import * as React from "react";
|
|
3
3
|
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
@@ -52,7 +52,7 @@ declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
|
52
52
|
value?: string;
|
|
53
53
|
forceMount?: boolean;
|
|
54
54
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
55
|
-
declare const CommandDialog: ({ children, ...props }: DialogProps) =>
|
|
55
|
+
declare const CommandDialog: ({ children, ...props }: DialogProps) => React.JSX.Element;
|
|
56
56
|
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
57
57
|
ref?: React.Ref<HTMLDivElement>;
|
|
58
58
|
} & {
|
|
@@ -74,7 +74,7 @@ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
|
74
74
|
forceMount?: boolean;
|
|
75
75
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
76
76
|
declare const CommandShortcut: {
|
|
77
|
-
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>):
|
|
77
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
|
|
78
78
|
displayName: string;
|
|
79
79
|
};
|
|
80
80
|
export { Command, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, CommandDialog, };
|
|
@@ -6,4 +6,4 @@ export interface ContainerProps {
|
|
|
6
6
|
padding?: ResponsiveValue<Padding>;
|
|
7
7
|
className?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function Container({ children, flex, padding, className, }: ContainerProps): import("react
|
|
9
|
+
export declare function Container({ children, flex, padding, className, }: ContainerProps): import("react").JSX.Element;
|
|
@@ -3,5 +3,5 @@ import { Screen } from '../../context/ModalContext';
|
|
|
3
3
|
interface ContextDropdownProps {
|
|
4
4
|
renderTitle?: (screen: Screen, index: number) => React.ReactNode;
|
|
5
5
|
}
|
|
6
|
-
export declare function ContextDropdown({ renderTitle }: ContextDropdownProps):
|
|
6
|
+
export declare function ContextDropdown({ renderTitle }: ContextDropdownProps): React.JSX.Element | null;
|
|
7
7
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from
|
|
2
|
-
import * as DialogPrimitive from
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
3
3
|
export declare const Dialog: React.FC<DialogPrimitive.DialogProps> & {
|
|
4
4
|
Portal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
5
5
|
Overlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -9,11 +9,11 @@ export declare const Dialog: React.FC<DialogPrimitive.DialogProps> & {
|
|
|
9
9
|
closeable?: boolean;
|
|
10
10
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
Header: {
|
|
12
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
12
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
13
13
|
displayName: string;
|
|
14
14
|
};
|
|
15
15
|
Footer: {
|
|
16
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
16
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
17
17
|
displayName: string;
|
|
18
18
|
};
|
|
19
19
|
Title: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -5,4 +5,4 @@ export interface DragNDropAreaProps {
|
|
|
5
5
|
className?: string;
|
|
6
6
|
collisionDetectionAlgo?: CollisionDetection;
|
|
7
7
|
}
|
|
8
|
-
export declare function DragNDropArea({ children, modifiers, className, collisionDetectionAlgo, }: DragNDropAreaProps): import("react
|
|
8
|
+
export declare function DragNDropArea({ children, modifiers, className, collisionDetectionAlgo, }: DragNDropAreaProps): import("react").JSX.Element;
|
|
@@ -26,4 +26,4 @@ export interface DraggableProps<TData> extends DndMonitorListener {
|
|
|
26
26
|
*/
|
|
27
27
|
data?: TData;
|
|
28
28
|
}
|
|
29
|
-
export declare function Draggable<TData extends Data>({ children, id, onDragEnd, onDragStart, onDragCancel, onDragOver, className, disabled, data, }: DraggableProps<TData>): import("react
|
|
29
|
+
export declare function Draggable<TData extends Data>({ children, id, onDragEnd, onDragStart, onDragCancel, onDragOver, className, disabled, data, }: DraggableProps<TData>): import("react").JSX.Element;
|
|
@@ -24,5 +24,5 @@ export interface DroppableProps<TData extends Record<string, unknown>> {
|
|
|
24
24
|
data?: TData;
|
|
25
25
|
className?: string;
|
|
26
26
|
}
|
|
27
|
-
export declare function Droppable<TData extends Record<string, unknown>>({ children, id, data, className, }: DroppableProps<TData>): import("react
|
|
27
|
+
export declare function Droppable<TData extends Record<string, unknown>>({ children, id, data, className, }: DroppableProps<TData>): import("react").JSX.Element;
|
|
28
28
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from
|
|
2
|
-
import * as DropdownMenuPrimitive from
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
3
3
|
declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
4
4
|
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
5
|
declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -21,7 +21,7 @@ declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMe
|
|
|
21
21
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
22
22
|
declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
23
23
|
declare const DropdownMenuShortcut: {
|
|
24
|
-
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>):
|
|
24
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
|
|
25
25
|
displayName: string;
|
|
26
26
|
};
|
|
27
27
|
export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
type AllExternalIcons =
|
|
2
|
+
type AllExternalIcons = "github" | "npm" | "rubygems" | "nuget" | "maven" | "pypi" | "packagist" | "terraform";
|
|
3
3
|
export interface ExternalPillProps {
|
|
4
4
|
href: string;
|
|
5
5
|
icon: AllExternalIcons;
|
|
6
6
|
text: React.ReactNode;
|
|
7
7
|
title?: string;
|
|
8
|
-
target?:
|
|
8
|
+
target?: "_blank" | "_self" | "_parent" | "_top";
|
|
9
9
|
className?: string;
|
|
10
10
|
}
|
|
11
|
-
export declare function ExternalPill({ href, icon, text, target, title, className, }: ExternalPillProps):
|
|
11
|
+
export declare function ExternalPill({ href, icon, text, target, title, className, }: ExternalPillProps): React.JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { ResponsiveValue, Size } from '../../types';
|
|
2
3
|
import { UserAvatarProps } from '../UserAvatar';
|
|
3
|
-
type FacepileVariant =
|
|
4
|
-
type AvatarProps = Omit<UserAvatarProps,
|
|
4
|
+
type FacepileVariant = "interactive" | "static";
|
|
5
|
+
type AvatarProps = Omit<UserAvatarProps, "size"> & {
|
|
5
6
|
href?: string;
|
|
6
7
|
};
|
|
7
8
|
export interface FacepileProps {
|
|
@@ -12,5 +13,5 @@ export interface FacepileProps {
|
|
|
12
13
|
tooltips?: boolean;
|
|
13
14
|
className?: string;
|
|
14
15
|
}
|
|
15
|
-
export declare function Facepile({ avatars, maxFaces, avatarSize, variant, tooltips, className, }: FacepileProps):
|
|
16
|
+
export declare function Facepile({ avatars, maxFaces, avatarSize, variant, tooltips, className, }: FacepileProps): React.JSX.Element;
|
|
16
17
|
export {};
|
|
@@ -7,4 +7,4 @@ export interface GradientCircleProps {
|
|
|
7
7
|
inactive?: boolean;
|
|
8
8
|
className?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare function GradientCircle({ name, size, transition, showInitial, inactive, className, }: GradientCircleProps): import("react
|
|
10
|
+
export declare function GradientCircle({ name, size, transition, showInitial, inactive, className, }: GradientCircleProps): import("react").JSX.Element;
|
|
@@ -66,15 +66,15 @@ export interface GridProps {
|
|
|
66
66
|
padding?: ResponsiveValue<Padding>;
|
|
67
67
|
className?: string;
|
|
68
68
|
}
|
|
69
|
-
type PermittedHTMLAttributes = Omit<React.HTMLAttributes<HTMLDivElement>,
|
|
69
|
+
type PermittedHTMLAttributes = Omit<React.HTMLAttributes<HTMLDivElement>, "className">;
|
|
70
70
|
interface GridItemProps extends PermittedHTMLAttributes {
|
|
71
71
|
children: React.ReactNode;
|
|
72
72
|
colSpan?: ResponsiveValue<number>;
|
|
73
73
|
padding?: ResponsiveValue<Padding>;
|
|
74
74
|
className?: string;
|
|
75
75
|
}
|
|
76
|
-
declare const GridItem: ({ children, colSpan, padding, className, ...props }: GridItemProps) => import("react
|
|
77
|
-
declare const GridWithSubcomponents: (({ children, columns, gap, wrap, padding, className, }: GridProps) => import("react
|
|
78
|
-
Item: ({ children, colSpan, padding, className, ...props }: GridItemProps) => import("react
|
|
76
|
+
declare const GridItem: ({ children, colSpan, padding, className, ...props }: GridItemProps) => import("react").JSX.Element;
|
|
77
|
+
declare const GridWithSubcomponents: (({ children, columns, gap, wrap, padding, className, }: GridProps) => import("react").JSX.Element) & {
|
|
78
|
+
Item: ({ children, colSpan, padding, className, ...props }: GridItemProps) => import("react").JSX.Element;
|
|
79
79
|
};
|
|
80
80
|
export { GridWithSubcomponents as Grid };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
type HeadingVariant =
|
|
3
|
-
type HeadingElement =
|
|
2
|
+
type HeadingVariant = "xl" | "lg" | "md" | "sm" | "xs";
|
|
3
|
+
type HeadingElement = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
4
4
|
export interface HeadingProps extends React.HTMLAttributes<HTMLHeadingElement> {
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
variant?: HeadingVariant;
|
|
@@ -7,10 +7,10 @@ export interface HighlightedTextProps extends React.HTMLAttributes<HTMLSpanEleme
|
|
|
7
7
|
/**
|
|
8
8
|
* Whether the animation should trigger when the element is in view or immediately.
|
|
9
9
|
*/
|
|
10
|
-
animationTrigger?:
|
|
10
|
+
animationTrigger?: "inView" | "instant";
|
|
11
11
|
className?: string;
|
|
12
12
|
}
|
|
13
|
-
export declare function HighlightedText({ children, color, muted, animate, className, animationTrigger, animationDuration, }: HighlightedTextProps): import("react
|
|
13
|
+
export declare function HighlightedText({ children, color, muted, animate, className, animationTrigger, animationDuration, }: HighlightedTextProps): import("react").JSX.Element;
|
|
14
14
|
export declare const highlightColors: readonly ["green", "blue", "purple", "orange", "emerald"];
|
|
15
15
|
export type Color = (typeof highlightColors)[number];
|
|
16
16
|
export declare const highlightBgMap: Record<Color, string>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { LucideProps } from 'lucide-react';
|
|
2
2
|
import { ResponsiveValue, Size } from '../../types';
|
|
3
3
|
import { IconName } from './names';
|
|
4
|
-
type SvgProps = Pick<LucideProps,
|
|
5
|
-
export interface IconProps extends Omit<SvgProps,
|
|
4
|
+
type SvgProps = Pick<LucideProps, "stroke" | "strokeWidth" | "strokeOpacity" | "size" | "viewBox" | "fill" | "fillOpacity" | "className">;
|
|
5
|
+
export interface IconProps extends Omit<SvgProps, "size"> {
|
|
6
6
|
name: IconName;
|
|
7
7
|
size?: ResponsiveValue<Size>;
|
|
8
8
|
}
|
|
9
|
-
export declare function Icon({ name, size, ...props }: IconProps): import("react
|
|
9
|
+
export declare function Icon({ name, size, ...props }: IconProps): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ButtonVariant, ButtonSize, ButtonContext } from '../../types';
|
|
2
|
-
import * as React from
|
|
3
|
-
type Attributes = Pick<React.ButtonHTMLAttributes<HTMLButtonElement>,
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
type Attributes = Pick<React.ButtonHTMLAttributes<HTMLButtonElement>, "disabled" | "onClick" | "type" | "role" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp">;
|
|
4
4
|
export interface IconButtonProps extends Attributes {
|
|
5
5
|
icon: React.ReactNode;
|
|
6
6
|
variant?: ButtonVariant;
|
|
@@ -8,7 +8,7 @@ export interface IconButtonProps extends Attributes {
|
|
|
8
8
|
context?: ButtonContext;
|
|
9
9
|
className?: string;
|
|
10
10
|
asChild?: boolean;
|
|
11
|
-
|
|
11
|
+
"aria-label": string;
|
|
12
12
|
}
|
|
13
13
|
declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
14
14
|
export { IconButton };
|
|
@@ -5,4 +5,4 @@ export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement |
|
|
|
5
5
|
error?: boolean;
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare function Input({ value, onChange, placeholder, disabled, icon, multiline, error, className, ...props }: InputProps): import("react
|
|
8
|
+
export declare function Input({ value, onChange, placeholder, disabled, icon, multiline, error, className, ...props }: InputProps): import("react").JSX.Element;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
type Modifier = "shift" | "ctrlorcommand" | "alt" | "meta" | "esc";
|
|
2
3
|
export interface KeyProps {
|
|
3
4
|
value: string;
|
|
4
5
|
className?: string;
|
|
5
6
|
}
|
|
6
|
-
export declare function Key({ value, className }: KeyProps):
|
|
7
|
+
export declare function Key({ value, className }: KeyProps): React.JSX.Element;
|
|
7
8
|
export interface KeyHintProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
8
9
|
modifiers: Modifier[];
|
|
9
10
|
keys: string[];
|
|
@@ -12,5 +13,5 @@ export interface KeyHintProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
12
13
|
dismissable?: boolean;
|
|
13
14
|
onDismiss?: () => void;
|
|
14
15
|
}
|
|
15
|
-
export declare function KeyHint({ modifiers, keys, actionText, className, dismissable, onDismiss, titleText, ...props }: KeyHintProps):
|
|
16
|
+
export declare function KeyHint({ modifiers, keys, actionText, className, dismissable, onDismiss, titleText, ...props }: KeyHintProps): React.JSX.Element;
|
|
16
17
|
export {};
|
|
@@ -4,4 +4,4 @@ export interface LanguageIndicatorProps {
|
|
|
4
4
|
className?: string;
|
|
5
5
|
indicatorOnly?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare function LanguageIndicator({ language, className, indicatorOnly, }: LanguageIndicatorProps): import("react
|
|
7
|
+
export declare function LanguageIndicator({ language, className, indicatorOnly, }: LanguageIndicatorProps): import("react").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
2
|
import { IconName } from '../Icon/names';
|
|
3
3
|
import { TextVariant } from '../Text';
|
|
4
|
-
type LinkVariant =
|
|
4
|
+
type LinkVariant = "primary" | "secondary";
|
|
5
5
|
export interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
6
6
|
children: ReactNode;
|
|
7
7
|
variant?: LinkVariant;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
type Size =
|
|
1
|
+
type Size = "sm" | "md" | "lg" | "xl";
|
|
2
2
|
export declare const AnimatedLogo: ({ className, size, variant, onMouseEnter, onMouseLeave, ...rest }: {
|
|
3
3
|
className?: string;
|
|
4
4
|
size?: Size;
|
|
5
5
|
variant?: "icon" | "icon-with-wordmark";
|
|
6
|
-
} & React.HTMLAttributes<HTMLDivElement>) => import("react
|
|
6
|
+
} & React.HTMLAttributes<HTMLDivElement>) => import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
type LogoVariant =
|
|
1
|
+
type LogoVariant = "wordmark" | "icon";
|
|
2
2
|
export interface LogoProps extends React.SVGProps<SVGSVGElement> {
|
|
3
3
|
variant: LogoVariant;
|
|
4
4
|
muted?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare function Logo({ variant, className, ...props }: LogoProps): import("react
|
|
6
|
+
export declare function Logo({ variant, className, ...props }: LogoProps): import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface SvgProps extends React.SVGProps<SVGSVGElement> {
|
|
2
2
|
muted?: boolean;
|
|
3
3
|
}
|
|
4
|
-
export declare function Wordmark({ className, muted, ...props }: SvgProps): import("react
|
|
5
|
-
export declare function Logo({ className, muted, ...props }: SvgProps): import("react
|
|
4
|
+
export declare function Wordmark({ className, muted, ...props }: SvgProps): import("react").JSX.Element;
|
|
5
|
+
export declare function Logo({ className, muted, ...props }: SvgProps): import("react").JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -2,7 +2,7 @@ import { Screen } from '../../context/ModalContext';
|
|
|
2
2
|
export interface ModalProps {
|
|
3
3
|
closable?: boolean;
|
|
4
4
|
className?: string;
|
|
5
|
-
layout:
|
|
5
|
+
layout: "default" | "custom";
|
|
6
6
|
onClose?: (currentScreen: Screen) => void;
|
|
7
7
|
}
|
|
8
|
-
export declare const Modal: ({ closable, className, layout, onClose, }: ModalProps) => import("react
|
|
8
|
+
export declare const Modal: ({ closable, className, layout, onClose, }: ModalProps) => import("react").JSX.Element | null;
|
|
@@ -6,7 +6,7 @@ export interface PageHeaderProps extends PropsWithChildren {
|
|
|
6
6
|
interface ContextBarProps extends PropsWithChildren {
|
|
7
7
|
className?: string;
|
|
8
8
|
}
|
|
9
|
-
interface ParentLinkProps extends PropsWithChildren<Pick<LinkProps,
|
|
9
|
+
interface ParentLinkProps extends PropsWithChildren<Pick<LinkProps, "href" | "onClick">> {
|
|
10
10
|
className?: string;
|
|
11
11
|
}
|
|
12
12
|
interface TitleBarProps extends PropsWithChildren {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as React from
|
|
2
|
-
import * as PopoverPrimitive from
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
3
3
|
declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
4
4
|
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
5
|
declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
declare const PopoverPortal: React.FC<PopoverPrimitive.PopoverPortalProps>;
|
|
7
7
|
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor, PopoverPortal };
|
|
8
|
+
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor, PopoverPortal, };
|
|
@@ -52,4 +52,4 @@ export interface PromptInputProps {
|
|
|
52
52
|
*/
|
|
53
53
|
maxAttachments?: number;
|
|
54
54
|
}
|
|
55
|
-
export declare function PromptInput({ placeholder, onSubmit, suggestions, prompt, onChange, onFileUpload, attachments, maxHeight, isSubmitting, submittingIcon, fileInputRef, acceptedFileTypes, isDisabled, maxAttachments, }: PromptInputProps): import("react
|
|
55
|
+
export declare function PromptInput({ placeholder, onSubmit, suggestions, prompt, onChange, onFileUpload, attachments, maxHeight, isSubmitting, submittingIcon, fileInputRef, acceptedFileTypes, isDisabled, maxAttachments, }: PromptInputProps): import("react").JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
type Status =
|
|
1
|
+
type Status = "open" | "closed" | "merged";
|
|
2
2
|
export interface PullRequestLinkProps {
|
|
3
3
|
href: string;
|
|
4
4
|
prNumber?: number;
|
|
5
5
|
status?: Status;
|
|
6
|
-
target?:
|
|
6
|
+
target?: "_blank" | "_self" | "_parent" | "_top";
|
|
7
7
|
className?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function PullRequestLink({ href, prNumber, status, target, className, }: PullRequestLinkProps): import("react
|
|
9
|
+
export declare function PullRequestLink({ href, prNumber, status, target, className, }: PullRequestLinkProps): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -13,13 +13,13 @@ export interface PaneProps extends ComponentProps<typeof Panel> {
|
|
|
13
13
|
className?: string;
|
|
14
14
|
panelRef?: React.LegacyRef<ImperativePanelHandle>;
|
|
15
15
|
}
|
|
16
|
-
declare const ResizablePanelWithSubcomponents: (({ children, className, useDefaultHandle, onLayout, ...props }: ResizablePanelProps) =>
|
|
16
|
+
declare const ResizablePanelWithSubcomponents: (({ children, className, useDefaultHandle, onLayout, ...props }: ResizablePanelProps) => React.JSX.Element) & {
|
|
17
17
|
Pane: {
|
|
18
|
-
({ children, className, panelRef, ...props }: PaneProps):
|
|
18
|
+
({ children, className, panelRef, ...props }: PaneProps): React.JSX.Element;
|
|
19
19
|
displayName: string;
|
|
20
20
|
};
|
|
21
21
|
ResizeHandle: {
|
|
22
|
-
({ children, ...props }: ResizeHandleProps):
|
|
22
|
+
({ children, ...props }: ResizeHandleProps): React.JSX.Element;
|
|
23
23
|
displayName: string;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
@@ -33,5 +33,5 @@ export interface ScoreProps {
|
|
|
33
33
|
animationDuration?: number;
|
|
34
34
|
className?: string;
|
|
35
35
|
}
|
|
36
|
-
export declare function Score({ score, size, showLabel, trackColor, thresholds, animate, animationDuration, className, }: ScoreProps): import("react
|
|
36
|
+
export declare function Score({ score, size, showLabel, trackColor, thresholds, animate, animationDuration, className, }: ScoreProps): import("react").JSX.Element;
|
|
37
37
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from
|
|
2
|
-
import * as ScrollAreaPrimitive from
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
3
3
|
declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
4
|
declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { ScrollArea, ScrollBar };
|
|
@@ -13,11 +13,11 @@ export interface SegmentedButtonItemProps extends MotionProps {
|
|
|
13
13
|
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
14
14
|
}
|
|
15
15
|
export declare const SegmentedButton: {
|
|
16
|
-
({ children, className }: SegmentedButtonProps):
|
|
16
|
+
({ children, className }: SegmentedButtonProps): React.JSX.Element;
|
|
17
17
|
displayName: string;
|
|
18
18
|
} & {
|
|
19
19
|
Item: {
|
|
20
|
-
({ children, className, highlighted, ...props }: SegmentedButtonItemProps):
|
|
20
|
+
({ children, className, highlighted, ...props }: SegmentedButtonItemProps): React.JSX.Element;
|
|
21
21
|
displayName: string;
|
|
22
22
|
};
|
|
23
23
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from
|
|
2
|
-
import * as SelectPrimitive from
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
3
3
|
declare const Select: React.FC<SelectPrimitive.SelectProps>;
|
|
4
4
|
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -3,4 +3,4 @@ export interface SeparatorProps {
|
|
|
3
3
|
orientation?: Orientation;
|
|
4
4
|
className?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare function Separator({ orientation, className, }: SeparatorProps): import("react
|
|
6
|
+
export declare function Separator({ orientation, className, }: SeparatorProps): import("react").JSX.Element;
|
|
@@ -24,4 +24,4 @@ export interface SkeletonProps {
|
|
|
24
24
|
*/
|
|
25
25
|
className?: string;
|
|
26
26
|
}
|
|
27
|
-
export declare function Skeleton({ children, className }: SkeletonProps): import("react
|
|
27
|
+
export declare function Skeleton({ children, className }: SkeletonProps): import("react").JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { Gap, Padding, ResponsiveValue } from '../../types';
|
|
3
|
-
type StackDirection =
|
|
4
|
-
type StackAlign =
|
|
5
|
-
type StackJustify =
|
|
6
|
-
type StackWrap =
|
|
3
|
+
type StackDirection = "horizontal" | "vertical";
|
|
4
|
+
type StackAlign = "stretch" | "start" | "center" | "end" | "baseline";
|
|
5
|
+
type StackJustify = "start" | "center" | "end" | "space-between" | "space-evenly";
|
|
6
|
+
type StackWrap = "wrap" | "nowrap";
|
|
7
7
|
export interface StackProps {
|
|
8
8
|
children: React.ReactNode;
|
|
9
9
|
/** Specify the orientation for the stack container */
|
|
@@ -20,9 +20,9 @@ export interface StackProps {
|
|
|
20
20
|
wrap?: ResponsiveValue<StackWrap>;
|
|
21
21
|
className?: string;
|
|
22
22
|
}
|
|
23
|
-
export declare function Stack({ children, direction, gap, padding, align, justify, wrap, className, }: StackProps):
|
|
23
|
+
export declare function Stack({ children, direction, gap, padding, align, justify, wrap, className, }: StackProps): React.JSX.Element;
|
|
24
24
|
export declare namespace Stack {
|
|
25
|
-
var Item: ({ children, grow, className }: StackItemProps) =>
|
|
25
|
+
var Item: ({ children, grow, className }: StackItemProps) => React.JSX.Element;
|
|
26
26
|
}
|
|
27
27
|
interface StackItemProps {
|
|
28
28
|
children: React.ReactNode;
|
|
@@ -9,4 +9,4 @@ export interface SubnavProps {
|
|
|
9
9
|
renderItem: (item: SubnavItem) => React.ReactNode;
|
|
10
10
|
className?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare function Subnav({ items, renderItem, className }: SubnavProps): import("react
|
|
12
|
+
export declare function Subnav({ items, renderItem, className }: SubnavProps): import("react").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from
|
|
2
|
-
import * as SwitchPrimitives from
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as SwitchPrimitives from "@radix-ui/react-switch";
|
|
3
3
|
declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
4
|
export { Switch, type SwitchPrimitives as SwitchProps };
|
|
@@ -3,4 +3,4 @@ export interface TableProviderProps {
|
|
|
3
3
|
depth: number;
|
|
4
4
|
expandedRowKeys?: Set<string | number>;
|
|
5
5
|
}
|
|
6
|
-
export declare function TableProvider({ children, depth, expandedRowKeys: defaultExpanded, }: TableProviderProps): import("react
|
|
6
|
+
export declare function TableProvider({ children, depth, expandedRowKeys: defaultExpanded, }: TableProviderProps): import("react").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, PropsWithChildren, ReactNode } from 'react';
|
|
2
|
-
export type SortDirection =
|
|
2
|
+
export type SortDirection = "asc" | "desc";
|
|
3
3
|
export type SortValue = string | number | boolean | Date | null | undefined;
|
|
4
4
|
type ColumnKey<T extends object> = keyof T | string;
|
|
5
5
|
export type SortDescriptor = {
|
|
@@ -11,7 +11,7 @@ type BaseColumn<T extends object> = {
|
|
|
11
11
|
id?: string;
|
|
12
12
|
header: ReactNode;
|
|
13
13
|
render?: (row: T) => ReactNode;
|
|
14
|
-
width?: `${number}fr` | `${number}px` |
|
|
14
|
+
width?: `${number}fr` | `${number}px` | "auto" | undefined;
|
|
15
15
|
};
|
|
16
16
|
export type SortableColumn<T extends object> = BaseColumn<T> & {
|
|
17
17
|
sortable: true;
|
|
@@ -31,7 +31,7 @@ export type Group<T extends object> = {
|
|
|
31
31
|
items: T[];
|
|
32
32
|
[k: string]: unknown;
|
|
33
33
|
};
|
|
34
|
-
type CellPadding =
|
|
34
|
+
type CellPadding = "normal" | "condensed" | "spacious";
|
|
35
35
|
type PropsWithChildrenAndClassName = PropsWithChildren<{
|
|
36
36
|
className?: string;
|
|
37
37
|
}>;
|
|
@@ -55,14 +55,14 @@ export type TableWrapperProps<T extends object> = PropsWithChildrenAndClassName
|
|
|
55
55
|
columns: Column<T>[];
|
|
56
56
|
cellPadding?: CellPadding;
|
|
57
57
|
};
|
|
58
|
-
declare function TableRoot<T extends object>(props: TableProps<T> | TableWrapperProps<T>):
|
|
58
|
+
declare function TableRoot<T extends object>(props: TableProps<T> | TableWrapperProps<T>): React.JSX.Element;
|
|
59
59
|
type HeaderProps<T extends object> = {
|
|
60
60
|
columns: Column<T>[];
|
|
61
61
|
sort?: SortDescriptor | null;
|
|
62
62
|
onSortChange?: (sort: SortDescriptor | null) => void;
|
|
63
63
|
className?: string;
|
|
64
64
|
};
|
|
65
|
-
declare function Header<T extends object>(props: HeaderProps<T> | PropsWithChildrenAndClassName):
|
|
65
|
+
declare function Header<T extends object>(props: HeaderProps<T> | PropsWithChildrenAndClassName): React.JSX.Element;
|
|
66
66
|
type BodyProps<T extends object> = {
|
|
67
67
|
columns: Column<T>[];
|
|
68
68
|
data: T[] | Group<T>[];
|
|
@@ -85,7 +85,7 @@ type RowProps<T extends object> = {
|
|
|
85
85
|
type RowContainerProps = {
|
|
86
86
|
onClick?: () => void;
|
|
87
87
|
} & PropsWithChildrenAndClassName;
|
|
88
|
-
declare function Row<T extends object>(props: RowProps<T> | RowContainerProps):
|
|
88
|
+
declare function Row<T extends object>(props: RowProps<T> | RowContainerProps): React.JSX.Element;
|
|
89
89
|
declare function RowGroup<T extends object>({ group, columns, rowKey, renderGroupHeader, className, onRowClick, }: {
|
|
90
90
|
group: Group<T>;
|
|
91
91
|
columns: Column<T>[];
|
|
@@ -93,18 +93,18 @@ declare function RowGroup<T extends object>({ group, columns, rowKey, renderGrou
|
|
|
93
93
|
renderGroupHeader?: (group: Group<T>) => ReactNode;
|
|
94
94
|
className?: string;
|
|
95
95
|
onRowClick?: (row: T) => void;
|
|
96
|
-
}):
|
|
96
|
+
}): React.JSX.Element;
|
|
97
97
|
type CellProps<T extends object> = {
|
|
98
98
|
row: T;
|
|
99
99
|
column: Column<T>;
|
|
100
100
|
className?: string;
|
|
101
101
|
};
|
|
102
|
-
declare function Cell<T extends object>(props: CellProps<T> | PropsWithChildrenAndClassName):
|
|
103
|
-
declare function NoResultsMessage({ className, children, }: PropsWithChildrenAndClassName):
|
|
102
|
+
declare function Cell<T extends object>(props: CellProps<T> | PropsWithChildrenAndClassName): React.JSX.Element;
|
|
103
|
+
declare function NoResultsMessage({ className, children, }: PropsWithChildrenAndClassName): React.JSX.Element;
|
|
104
104
|
type HeaderCellProps = React.ThHTMLAttributes<HTMLTableCellElement> & PropsWithChildren<{
|
|
105
105
|
className?: string;
|
|
106
106
|
}>;
|
|
107
|
-
declare function HeaderCell({ className, children, ...props }: HeaderCellProps):
|
|
107
|
+
declare function HeaderCell({ className, children, ...props }: HeaderCellProps): React.JSX.Element;
|
|
108
108
|
export declare const Table: typeof TableRoot & {
|
|
109
109
|
Header: typeof Header & {
|
|
110
110
|
Cell: typeof HeaderCell;
|