-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
12b828a
commit 1ca3c74
Showing
110 changed files
with
1,775 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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[]>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export declare const Examples: () => import("react/jsx-runtime").JSX.Element; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export declare const Default: () => import("react/jsx-runtime").JSX.Element; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/// <reference types="react" /> | ||
export declare const ModalCard: import("styled-components").StyledComponent<"div", 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<"div", any, {}, never>; | ||
export declare const ModalWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<{ | ||
className?: string | undefined; | ||
role?: string | undefined; | ||
slot?: string | undefined; | ||
tagName?: string | undefined; | ||
id?: string | undefined; | ||
'data-testid'?: string | undefined; | ||
} & { | ||
children?: import("react").ReactNode; | ||
} & import("react").RefAttributes<HTMLElement>>, any, {}, never>; | ||
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 }: React.PropsWithChildren<ModalPropTypes>) => import("react/jsx-runtime").JSX.Element | null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/// <reference types="react" /> | ||
export declare const OverlayMask: import("styled-components").StyledComponent<"div", 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<import("react").ForwardRefExoticComponent<{ | ||
className?: string | undefined; | ||
role?: string | undefined; | ||
slot?: string | undefined; | ||
tagName?: string | undefined; | ||
id?: string | undefined; | ||
'data-testid'?: string | undefined; | ||
} & { | ||
children?: import("react").ReactNode; | ||
} & import("react").RefAttributes<HTMLElement>>, any, {}, never>; | ||
export declare const OverlayBody: import("styled-components").StyledComponent<"div", any, {}, never>; | ||
export declare const Overlay: ({ className, onClose, children, show }: import("react").PropsWithChildren<{ | ||
onClose: () => void; | ||
className?: string | undefined; | ||
show?: boolean | undefined; | ||
}>) => import("react/jsx-runtime").JSX.Element | null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export declare const Default: () => import("react/jsx-runtime").JSX.Element; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export declare const Default: () => import("react/jsx-runtime").JSX.Element; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import "@testing-library/jest-dom"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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">>; | ||
}; |
Oops, something went wrong.