Skip to content

Commit

Permalink
dist
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerZeroMaster committed Dec 12, 2024
1 parent 2105e04 commit 039b429
Show file tree
Hide file tree
Showing 110 changed files with 1,758 additions and 0 deletions.
19 changes: 19 additions & 0 deletions dist/components/BodyPortal.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import React from 'react';
export declare type BodyPortalProps = React.PropsWithChildren<{
className?: string;
role?: string;
slot?: string;
tagName?: string;
id?: string;
'data-testid'?: string;
}>;
export declare const BodyPortal: React.ForwardRefExoticComponent<{
className?: string | undefined;
role?: string | undefined;
slot?: string | undefined;
tagName?: string | undefined;
id?: string | undefined;
'data-testid'?: string | undefined;
} & {
children?: React.ReactNode;
} & React.RefAttributes<HTMLElement>>;
1 change: 1 addition & 0 deletions dist/components/BodyPortal.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
2 changes: 2 additions & 0 deletions dist/components/BodyPortalSlotsContext.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import React from 'react';
export declare const BodyPortalSlotsContext: React.Context<string[]>;
21 changes: 21 additions & 0 deletions dist/components/Button.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/// <reference types="react" />
import { ButtonVariant } from "../theme/buttons";
interface ButtonOptions {
variant?: ButtonVariant;
}
declare type ButtonBase = React.ComponentPropsWithoutRef<'button'> & ButtonOptions;
declare type LinkButtonBase = React.ComponentPropsWithoutRef<'a'> & ButtonOptions;
interface ButtonProps extends ButtonBase {
isWaiting?: never;
waitingText?: never;
}
interface WaitingButtonProps extends ButtonBase {
isWaiting: boolean;
waitingText: string;
}
export declare const Button: (props: ButtonProps | WaitingButtonProps) => import("react/jsx-runtime").JSX.Element;
export declare const LinkButton: ({ variant, ...props }: LinkButtonBase) => import("react/jsx-runtime").JSX.Element;
export declare const linkStyle: import("styled-components").FlattenSimpleInterpolation;
export declare const PlainButton: import("styled-components").StyledComponent<"button", any, {}, never>;
export declare const ButtonLink: import("styled-components").StyledComponent<"button", any, {}, never>;
export {};
1 change: 1 addition & 0 deletions dist/components/Button.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
5 changes: 5 additions & 0 deletions dist/components/Button.stories.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export declare const Primary: () => import("react/jsx-runtime").JSX.Element;
export declare const Light: () => import("react/jsx-runtime").JSX.Element;
export declare const Secondary: () => import("react/jsx-runtime").JSX.Element;
export declare const Link: () => import("react/jsx-runtime").JSX.Element;
export declare const Linkish: () => import("react/jsx-runtime").JSX.Element;
7 changes: 7 additions & 0 deletions dist/components/ButtonBar.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from "react";
import { TabsProps } from "./Tabs";
declare type ButtonBarProps = Pick<TabsProps, "size"> & {
children?: React.ReactNode;
};
export declare const ButtonBar: ({ size, children, ...restProps }: ButtonBarProps) => import("react/jsx-runtime").JSX.Element;
export {};
1 change: 1 addition & 0 deletions dist/components/ButtonBar.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
1 change: 1 addition & 0 deletions dist/components/ButtonBar.stories.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export declare const Examples: () => import("react/jsx-runtime").JSX.Element;
42 changes: 42 additions & 0 deletions dist/components/Checkbox.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
import { LabelHTMLAttributes, PropsWithChildren } from "react";
import { InputHTMLAttributes } from "react";
export declare type CheckboxVariant = keyof typeof checkboxVariants;
export declare type CheckboxSize = 1.4 | 1.6 | 1.8 | 2;
export declare const checkboxVariants: {
readonly primary: {
readonly backgroundColor: "#026AA1";
readonly color: "inherit";
readonly unCheckedBorder: "1px solid #6f6f6f";
readonly checkedBorder: "1px solid #026AA1";
readonly backgroundImage: "data:image/svg+xml,<svg height=\"125px\" width=\"125px\" version=\"1.1\" id=\"Capa_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 17.837 17.837\" xml:space=\"preserve\" fill=\"%23000000\"><g id=\"SVGRepo_bgCarrier\" stroke-width=\"0\"></g><g id=\"SVGRepo_tracerCarrier\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></g><g id=\"SVGRepo_iconCarrier\"><g><path style=\"fill:%23fff;\" d=\"M16.145,2.571c-0.272-0.273-0.718-0.273-0.99,0L6.92,10.804l-4.241-4.27 c-0.272-0.274-0.715-0.274-0.989,0L0.204,8.019c-0.272,0.271-0.272,0.717,0,0.99l6.217,6.258c0.272,0.271,0.715,0.271,0.99,0 L17.63,5.047c0.276-0.273,0.276-0.72,0-0.994L16.145,2.571z\"></path></g></g></svg>";
};
readonly light: {
readonly backgroundColor: "#ffffff";
readonly color: "inherit";
readonly unCheckedBorder: "1px solid #d5d5d5";
readonly checkedBorder: "1px solid #d5d5d5";
readonly backgroundImage: "data:image/svg+xml,<svg height=\"125px\" width=\"125px\" version=\"1.1\" id=\"Capa_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 17.837 17.837\" xml:space=\"preserve\" fill=\"%23000000\"><g id=\"SVGRepo_bgCarrier\" stroke-width=\"0\"></g><g id=\"SVGRepo_tracerCarrier\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></g><g id=\"SVGRepo_iconCarrier\"><g><path style=\"fill:%235e5e5e;\" d=\"M16.145,2.571c-0.272-0.273-0.718-0.273-0.99,0L6.92,10.804l-4.241-4.27 c-0.272-0.274-0.715-0.274-0.989,0L0.204,8.019c-0.272,0.271-0.272,0.717,0,0.99l6.217,6.258c0.272,0.271,0.715,0.271,0.99,0 L17.63,5.047c0.276-0.273,0.276-0.72,0-0.994L16.145,2.571z\"></path></g></g></svg>";
};
readonly error: {
readonly backgroundColor: "#FBE7EA";
readonly color: "#c22032";
readonly unCheckedBorder: "1px solid #e298a0";
readonly checkedBorder: "1px solid #e298a0";
readonly backgroundImage: "data:image/svg+xml,<svg height=\"125px\" width=\"125px\" version=\"1.1\" id=\"Capa_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 17.837 17.837\" xml:space=\"preserve\" fill=\"%23000000\"><g id=\"SVGRepo_bgCarrier\" stroke-width=\"0\"></g><g id=\"SVGRepo_tracerCarrier\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></g><g id=\"SVGRepo_iconCarrier\"><g><path style=\"fill:%23C22032;\" d=\"M16.145,2.571c-0.272-0.273-0.718-0.273-0.99,0L6.92,10.804l-4.241-4.27 c-0.272-0.274-0.715-0.274-0.989,0L0.204,8.019c-0.272,0.271-0.272,0.717,0,0.99l6.217,6.258c0.272,0.271,0.715,0.271,0.99,0 L17.63,5.047c0.276-0.273,0.276-0.72,0-0.994L16.145,2.571z\"></path></g></g></svg>";
};
readonly disabled: {
readonly backgroundColor: "#ffffff";
readonly color: "inherit";
readonly unCheckedBorder: "1px solid #d5d5d5";
readonly checkedBorder: "1px solid #d5d5d5";
readonly backgroundImage: "none";
};
};
declare type CheckboxProps = PropsWithChildren<Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> & {
variant?: CheckboxVariant;
size?: CheckboxSize;
bold?: boolean;
labelProps?: LabelHTMLAttributes<HTMLLabelElement>;
}>;
export declare const Checkbox: ({ children, disabled, variant, bold, size, labelProps, ...props }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
export {};
1 change: 1 addition & 0 deletions dist/components/Checkbox.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
2 changes: 2 additions & 0 deletions dist/components/Checkbox.stories.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export declare const Primary: () => import("react/jsx-runtime").JSX.Element;
export declare const Light: () => import("react/jsx-runtime").JSX.Element;
1 change: 1 addition & 0 deletions dist/components/CloseModalButton.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export declare const CloseModalButton: import("styled-components").StyledComponent<({ variant, ...props }: any) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
1 change: 1 addition & 0 deletions dist/components/CloseModalButton.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
10 changes: 10 additions & 0 deletions dist/components/DropdownMenu.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { MenuItem, MenuProps, MenuTriggerProps } from 'react-aria-components';
import { ButtonVariant } from '../theme/buttons';
interface DropdownMenuButtonProps<T> extends MenuProps<T>, Omit<MenuTriggerProps, 'children'> {
text?: string;
variant: ButtonVariant;
width?: string;
disabled?: boolean;
}
export declare const DropdownMenu: <T extends object>({ text, children, variant, width, disabled, ...props }: DropdownMenuButtonProps<T>) => import("react/jsx-runtime").JSX.Element;
export { MenuItem as DropdownMenuItem };
1 change: 1 addition & 0 deletions dist/components/DropdownMenu.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
3 changes: 3 additions & 0 deletions dist/components/DropdownMenu.stories.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export declare const Light: () => import("react/jsx-runtime").JSX.Element;
export declare const Primary: () => import("react/jsx-runtime").JSX.Element;
export declare const Secondary: () => import("react/jsx-runtime").JSX.Element;
7 changes: 7 additions & 0 deletions dist/components/Error.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from "react";
export interface ErrorPropTypes {
className?: string;
children?: React.ReactNode;
heading?: string;
}
export declare const Error: ({ heading, children, ...props }: ErrorPropTypes) => import("react/jsx-runtime").JSX.Element;
1 change: 1 addition & 0 deletions dist/components/Error.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
2 changes: 2 additions & 0 deletions dist/components/Error.stories.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export declare const Default: () => import("react/jsx-runtime").JSX.Element;
export declare const CustomText: () => import("react/jsx-runtime").JSX.Element;
11 changes: 11 additions & 0 deletions dist/components/ErrorBoundary.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/// <reference types="react" />
import * as Sentry from '@sentry/react';
import type { ErrorBoundaryProps } from '@sentry/react/types/errorboundary';
export declare const ErrorBoundary: ({ children, renderFallback, fallback, sentryDsn, sentryInit, ...props }: Sentry.ErrorBoundaryProps & {
renderFallback?: boolean | undefined;
sentryDsn?: string | undefined;
sentryInit?: Sentry.BrowserOptions | undefined;
errorFallbacks?: {
[_: string]: JSX.Element;
} | undefined;
}) => import("react/jsx-runtime").JSX.Element;
1 change: 1 addition & 0 deletions dist/components/ErrorBoundary.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
4 changes: 4 additions & 0 deletions dist/components/ErrorBoundary.stories.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export declare const InlineMessages: () => import("react/jsx-runtime").JSX.Element;
export declare const Fallback_GenericError_Default: () => import("react/jsx-runtime").JSX.Element;
export declare const Fallback_GenericError_Custom: () => import("react/jsx-runtime").JSX.Element;
export declare const Fallback_SpecialError: () => import("react/jsx-runtime").JSX.Element;
4 changes: 4 additions & 0 deletions dist/components/ErrorMessage.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export declare const ErrorMessage: ({ message, showEventId }: {
message?: string | undefined;
showEventId?: boolean | undefined;
}) => import("react/jsx-runtime").JSX.Element;
7 changes: 7 additions & 0 deletions dist/components/ErrorModal.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/// <reference types="react" />
import { ModalPropTypes } from "./Modal";
declare type ErrorModalProps = React.PropsWithChildren<Omit<ModalPropTypes, 'heading' | 'variant'> & {
heading?: string;
}>;
export declare const ErrorModal: (props: ErrorModalProps) => import("react/jsx-runtime").JSX.Element;
export {};
1 change: 1 addition & 0 deletions dist/components/ErrorModal.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
1 change: 1 addition & 0 deletions dist/components/ErrorModal.stories.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export declare const Default: () => import("react/jsx-runtime").JSX.Element;
6 changes: 6 additions & 0 deletions dist/components/Loader.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
interface Props {
large?: boolean;
delay?: number;
}
export declare const Loader: (props: Props) => import("react/jsx-runtime").JSX.Element;
export {};
1 change: 1 addition & 0 deletions dist/components/Loader.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
3 changes: 3 additions & 0 deletions dist/components/Loader.stories.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export declare const Default: () => import("react/jsx-runtime").JSX.Element;
export declare const Large: () => import("react/jsx-runtime").JSX.Element;
export declare const Delay: () => import("react/jsx-runtime").JSX.Element;
6 changes: 6 additions & 0 deletions dist/components/ManageCookies.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React from 'react';
declare type ManageCookiesLinkProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
wrapper?: (button: React.ReactElement) => React.ReactElement;
};
export declare const ManageCookiesLink: (props: ManageCookiesLinkProps) => import("react/jsx-runtime").JSX.Element | null;
export {};
1 change: 1 addition & 0 deletions dist/components/ManageCookies.node.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
1 change: 1 addition & 0 deletions dist/components/ManageCookies.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
2 changes: 2 additions & 0 deletions dist/components/ManageCookies.stories.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export declare const WithoutOsano: () => import("react/jsx-runtime").JSX.Element;
export declare const WithOsano: () => import("react/jsx-runtime").JSX.Element;
16 changes: 16 additions & 0 deletions dist/components/Modal.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import * as RAC from "react-aria-components";
import React from "react";
export declare const ModalCard: import("styled-components").StyledComponent<(props: RAC.DialogProps & React.RefAttributes<HTMLElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null, any, {}, never>;
export declare const ModalBodyHeading: import("styled-components").StyledComponent<"h3", any, {}, never>;
export declare const ModalBody: import("styled-components").StyledComponent<"div", any, {}, never>;
export declare const Mask: import("styled-components").StyledComponent<(props: RAC.ModalOverlayProps & React.RefAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
export declare const ModalWrapper: (props: RAC.ModalOverlayProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
export declare const ModalFooter: import("styled-components").StyledComponent<"div", any, {}, never>;
export interface ModalPropTypes {
onModalClose: () => void;
heading: string;
className?: string;
show?: boolean;
variant?: 'default' | 'error';
}
export declare const Modal: ({ className, heading, onModalClose, children, show, variant, ...props }: React.PropsWithChildren<ModalPropTypes> & RAC.ModalOverlayProps) => import("react/jsx-runtime").JSX.Element | null;
1 change: 1 addition & 0 deletions dist/components/Modal.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
2 changes: 2 additions & 0 deletions dist/components/Modal.stories.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export declare const Default: () => import("react/jsx-runtime").JSX.Element;
export declare const Error: () => import("react/jsx-runtime").JSX.Element;
13 changes: 13 additions & 0 deletions dist/components/NavBar.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/// <reference types="react" />
declare type Logo = React.HTMLProps<HTMLAnchorElement> & {
alt?: string;
};
declare type NavBarProps = React.PropsWithChildren<{
maxWidth?: number;
navDesktopHeight?: number;
navMobileHeight?: number;
logo?: boolean | Logo;
justifyContent?: string;
}>;
export declare const NavBar: ({ logo, maxWidth, navDesktopHeight, navMobileHeight, justifyContent, ...props }: NavBarProps) => import("react/jsx-runtime").JSX.Element;
export {};
1 change: 1 addition & 0 deletions dist/components/NavBar.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
7 changes: 7 additions & 0 deletions dist/components/NavBar.stories.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export declare const Plain: () => import("react/jsx-runtime").JSX.Element;
export declare const LogoAndChildren: () => import("react/jsx-runtime").JSX.Element;
export declare const AltTextLinkedLogo: () => import("react/jsx-runtime").JSX.Element;
export declare const AltTextNoLinkedLogo: () => import("react/jsx-runtime").JSX.Element;
export declare const OverrideJustifyContent: () => import("react/jsx-runtime").JSX.Element;
export declare const Controls_NavBarButton: () => import("react/jsx-runtime").JSX.Element;
export declare const PopoverAndMenu: () => import("react/jsx-runtime").JSX.Element;
13 changes: 13 additions & 0 deletions dist/components/NavBarButton.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/// <reference types="react" />
import { ButtonProps } from "react-aria-components";
export declare type NavBarButtonProps = Omit<ButtonProps, "aria-label"> & {
label?: string;
icon?: string | React.ReactNode;
className?: string;
"aria-label"?: string;
} & ({
label: string;
} | {
"aria-label": string;
});
export declare const NavBarButton: import("styled-components").StyledComponent<({ label, icon, className, "aria-label": ariaLabel, ...props }: NavBarButtonProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
1 change: 1 addition & 0 deletions dist/components/NavBarButton.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
3 changes: 3 additions & 0 deletions dist/components/NavBarLogo.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export declare const NavBarLogo: ({ alt }: {
alt: string;
}) => import("react/jsx-runtime").JSX.Element;
10 changes: 10 additions & 0 deletions dist/components/NavBarMenuButtons.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React from "react";
import { PopoverProps } from "react-aria-components";
import { NavBarButtonProps } from "./NavBarButton";
export declare const NavBarMenuItem: import("styled-components").StyledComponent<(<T extends object>(props: import("react-aria-components").MenuItemProps<T> & React.RefAttributes<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null), any, {}, never>;
export declare const PopoverContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
export declare type NavBarBaseButtonProps = React.PropsWithChildren<{
popoverProps?: PopoverProps;
}> & NavBarButtonProps;
export declare const NavBarPopoverButton: (props: NavBarBaseButtonProps) => import("react/jsx-runtime").JSX.Element;
export declare const NavBarMenuButton: (props: NavBarBaseButtonProps) => import("react/jsx-runtime").JSX.Element;
1 change: 1 addition & 0 deletions dist/components/NavBarMenuButtons.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
13 changes: 13 additions & 0 deletions dist/components/Overlay.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import * as RAC from "react-aria-components";
import React from "react";
export declare const OverlayMask: import("styled-components").StyledComponent<(props: RAC.ModalOverlayProps & React.RefAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
export declare const OverlayCloseButton: import("styled-components").StyledComponent<({ variant, ...props }: any) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
export declare const OverlayWrapper: import("styled-components").StyledComponent<(props: RAC.ModalOverlayProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null, any, {}, never>;
export declare const OverlayBody: import("styled-components").StyledComponent<(props: RAC.DialogProps & React.RefAttributes<HTMLElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null, any, {}, never>;
export declare const Overlay: ({ className, onClose, children, show, ...props }: {
onClose: () => void;
className?: string | undefined;
show?: boolean | undefined;
} & {
children?: React.ReactNode;
} & RAC.ModalOverlayProps) => import("react/jsx-runtime").JSX.Element | null;
1 change: 1 addition & 0 deletions dist/components/Overlay.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
1 change: 1 addition & 0 deletions dist/components/Overlay.stories.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export declare const Default: () => import("react/jsx-runtime").JSX.Element;
13 changes: 13 additions & 0 deletions dist/components/Radio.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { PropsWithChildren } from "react";
import { InputHTMLAttributes } from "react";
export declare const StyledLabel: import("styled-components").StyledComponent<"label", any, {
isDisabled?: boolean | undefined;
}, never>;
export declare const StyledInput: import("styled-components").StyledComponent<"input", any, {
isDisabled?: boolean | undefined;
}, never>;
declare type RadioProps = PropsWithChildren<Omit<InputHTMLAttributes<HTMLInputElement>, 'type'>>;
export declare const Radio: ({ children, disabled, ...props }: RadioProps & {
tooltipText?: string;
}) => import("react/jsx-runtime").JSX.Element;
export {};
1 change: 1 addition & 0 deletions dist/components/Radio.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
2 changes: 2 additions & 0 deletions dist/components/Radio.stories.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export declare const Default: () => import("react/jsx-runtime").JSX.Element;
export declare const WithTooltip: () => import("react/jsx-runtime").JSX.Element;
3 changes: 3 additions & 0 deletions dist/components/RiceLogo.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export declare const RiceLogo: ({ alt, ...props }: {
alt?: string | undefined;
}) => import("react/jsx-runtime").JSX.Element;
1 change: 1 addition & 0 deletions dist/components/RiceLogo.stories.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export declare const Default: () => import("react/jsx-runtime").JSX.Element;
1 change: 1 addition & 0 deletions dist/components/SidebarNav.spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import "@testing-library/jest-dom";
2 changes: 2 additions & 0 deletions dist/components/SidebarNav.stories.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export declare const UsingBodyPortal: () => import("react/jsx-runtime").JSX.Element;
export declare const WithoutBodyPortal: () => import("react/jsx-runtime").JSX.Element;
13 changes: 13 additions & 0 deletions dist/components/SidebarNav/hooks.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from "react";
export declare const useSidebarNavProps: ({ mobileBreakpoint, ...props }: {
isMobile?: boolean | undefined;
mobileBreakpoint?: string | undefined;
}) => {
isMobile: boolean;
navIsCollapsed: boolean;
setNavIsCollapsed: React.Dispatch<React.SetStateAction<boolean>>;
};
export declare const useNavAnimation: () => {
navAnimation: "" | "expanding" | "collapsing" | "idle";
setNavAnimation: React.Dispatch<React.SetStateAction<"" | "expanding" | "collapsing" | "idle">>;
};
Loading

0 comments on commit 039b429

Please sign in to comment.