Skip to content

Commit edff81c

Browse files
committed
dist
1 parent a474f0a commit edff81c

File tree

133 files changed

+2167
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+2167
-0
lines changed

dist/components/BodyPortal.d.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import React from 'react';
2+
export declare type BodyPortalProps = React.PropsWithChildren<{
3+
className?: string;
4+
role?: string;
5+
slot?: string;
6+
tagName?: string;
7+
id?: string;
8+
'data-testid'?: string;
9+
ariaLabel?: string;
10+
}>;
11+
export declare const BodyPortal: React.ForwardRefExoticComponent<{
12+
className?: string | undefined;
13+
role?: string | undefined;
14+
slot?: string | undefined;
15+
tagName?: string | undefined;
16+
id?: string | undefined;
17+
'data-testid'?: string | undefined;
18+
ariaLabel?: string | undefined;
19+
} & {
20+
children?: React.ReactNode;
21+
} & React.RefAttributes<HTMLElement>>;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export {};
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import React from 'react';
2+
export declare const BodyPortalSlotsContext: React.Context<string[]>;

dist/components/Button.d.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/// <reference types="react" />
2+
import { applyButtonVariantStyles, ButtonVariant } from "../theme/buttons";
3+
export { applyButtonVariantStyles };
4+
export declare const buttonCss: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<{
5+
variant?: "primary" | "light" | "secondary" | undefined;
6+
}, any>>;
7+
interface ButtonOptions {
8+
variant?: ButtonVariant;
9+
}
10+
declare type ButtonBase = React.ComponentPropsWithoutRef<'button'> & ButtonOptions;
11+
declare type LinkButtonBase = React.ComponentPropsWithoutRef<'a'> & ButtonOptions;
12+
interface ButtonProps extends ButtonBase {
13+
isWaiting?: never;
14+
waitingText?: never;
15+
}
16+
interface WaitingButtonProps extends ButtonBase {
17+
isWaiting: boolean;
18+
waitingText: string;
19+
}
20+
export declare const Button: import("styled-components").StyledComponent<(props: ButtonProps | WaitingButtonProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
21+
export declare const LinkButton: import("styled-components").StyledComponent<({ variant, ...props }: LinkButtonBase) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
22+
export declare const linkStyle: import("styled-components").FlattenSimpleInterpolation;
23+
export declare const PlainButton: import("styled-components").StyledComponent<"button", any, {}, never>;
24+
export declare const ButtonLink: import("styled-components").StyledComponent<"button", any, {}, never>;

dist/components/Button.spec.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export {};
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export declare const Primary: () => import("react/jsx-runtime").JSX.Element;
2+
export declare const Light: () => import("react/jsx-runtime").JSX.Element;
3+
export declare const Secondary: () => import("react/jsx-runtime").JSX.Element;
4+
export declare const Link: () => import("react/jsx-runtime").JSX.Element;
5+
export declare const Linkish: () => import("react/jsx-runtime").JSX.Element;

dist/components/ButtonBar.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import React from "react";
2+
import { TabsProps } from "./Tabs";
3+
declare type ButtonBarProps = Pick<TabsProps, "size"> & {
4+
children?: React.ReactNode;
5+
};
6+
export declare const ButtonBar: ({ size, children, ...restProps }: ButtonBarProps) => import("react/jsx-runtime").JSX.Element;
7+
export {};
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export {};
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export declare const Examples: () => import("react/jsx-runtime").JSX.Element;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export {};

0 commit comments

Comments
 (0)