@clicktap/ui 0.12.4 → 0.12.6
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/package.json +40 -8
- package/assets/components__Accordion-bf458c79.js +0 -1
- package/assets/components__Avatar-bf458c79.js +0 -1
- package/assets/components__Badge-58d47e35.js +0 -1
- package/assets/components__Breadcrumbs-1bd342d3.js +0 -1
- package/assets/components__Button-c2e432c0.js +0 -1
- package/assets/components__Card-bf458c79.js +0 -1
- package/assets/components__Checkbox-1bd342d3.js +0 -1
- package/assets/components__Collapsible-5fad3ae3.js +0 -1
- package/assets/components__Container-eb405456.js +0 -1
- package/assets/components__ContextMenu-c2fbde59.js +0 -1
- package/assets/components__CreditCardExpirationInput-1bd342d3.js +0 -1
- package/assets/components__CreditCardInput-b7aa7dad.js +0 -1
- package/assets/components__DateInput-1bd342d3.js +0 -1
- package/assets/components__Dialog-2edbd3f4.js +0 -1
- package/assets/components__DialogTrigger-a3536f7a.js +0 -1
- package/assets/components__Divider-4bb7a5a5.js +0 -1
- package/assets/components__Drawer-7ee16468.js +0 -1
- package/assets/components__Input-1bd342d3.js +0 -1
- package/assets/components__Link-1bd342d3.js +0 -1
- package/assets/components__Loader-bdc0430a.js +0 -1
- package/assets/components__Meter-6bd8c479.js +0 -1
- package/assets/components__Modal-1bd342d3.js +0 -1
- package/assets/components__ModalOverlay-894317ac.js +0 -1
- package/assets/components__NumberInput-1bd342d3.js +0 -1
- package/assets/components__PinInput-b7aa7dad.js +0 -1
- package/assets/components__Progressbar-6bd8c479.js +0 -1
- package/assets/components__Radio-1bd342d3.js +0 -1
- package/assets/components__Select-2af7c27f.js +0 -1
- package/assets/components__Slider-1bd342d3.js +0 -1
- package/assets/components__Switch-1bd342d3.js +0 -1
- package/assets/components__Tabs-776e5e7f.js +0 -1
- package/assets/components__TimeInput-1bd342d3.js +0 -1
- package/assets/components__ToggleButton-1bd342d3.js +0 -1
- package/assets/components__Tooltip-ab4c14a9.js +0 -1
- package/assets/hooks__useEnterExitAnimation-90b2d97c.js +0 -1
- package/assets/types__SlotsToClasses-4ed993c7.js +0 -1
- package/assets/utils__cn-1dfef8e7.js +0 -1
- package/assets/utils__defaultTheme-4ed993c7.js +0 -1
- package/components/Accordion/Accordion.d.ts +0 -3
- package/components/Accordion/index.d.ts +0 -3
- package/components/Avatar/Avatar.d.ts +0 -3
- package/components/Avatar/Avatar.types.d.ts +0 -2
- package/components/Avatar/AvatarGroup/AvatarGroup.d.ts +0 -4
- package/components/Avatar/AvatarGroup/AvatarGroup.types.d.ts +0 -4
- package/components/Avatar/index.d.ts +0 -4
- package/components/Badge/Badge.d.ts +0 -3
- package/components/Badge/Badge.types.d.ts +0 -2
- package/components/Badge/index.d.ts +0 -2
- package/components/Breadcrumbs/BreadcrumbEllipsis.d.ts +0 -3
- package/components/Breadcrumbs/BreadcrumbEllipsis.types.d.ts +0 -2
- package/components/Breadcrumbs/BreadcrumbItem.d.ts +0 -3
- package/components/Breadcrumbs/BreadcrumbItem.types.d.ts +0 -2
- package/components/Breadcrumbs/BreadcrumbLink.d.ts +0 -3
- package/components/Breadcrumbs/BreadcrumbLink.types.d.ts +0 -2
- package/components/Breadcrumbs/BreadcrumbSeparator.d.ts +0 -3
- package/components/Breadcrumbs/BreadcrumbSeparator.types.d.ts +0 -6
- package/components/Breadcrumbs/Breadcrumbs.d.ts +0 -3
- package/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -2
- package/components/Breadcrumbs/index.d.ts +0 -10
- package/components/Button/Button.d.ts +0 -7
- package/components/Button/Button.types.d.ts +0 -6
- package/components/Button/index.d.ts +0 -2
- package/components/Card/Card.d.ts +0 -3
- package/components/Card/Card.types.d.ts +0 -2
- package/components/Card/index.d.ts +0 -2
- package/components/Checkbox/Checkbox.d.ts +0 -11
- package/components/Checkbox/Checkbox.types.d.ts +0 -10
- package/components/Checkbox/index.d.ts +0 -2
- package/components/Collapsible/Collapsible.d.ts +0 -3
- package/components/Collapsible/Collapsible.types.d.ts +0 -2
- package/components/Collapsible/CollapsibleTrigger.d.ts +0 -6
- package/components/Collapsible/CollapsibleTrigger.types.d.ts +0 -12
- package/components/Collapsible/index.d.ts +0 -4
- package/components/Container/Container.d.ts +0 -5
- package/components/Container/Container.types.d.ts +0 -2
- package/components/Container/index.d.ts +0 -2
- package/components/ContextMenu/ContextMenu.d.ts +0 -11
- package/components/ContextMenu/ContextMenu.types.d.ts +0 -15
- package/components/ContextMenu/index.d.ts +0 -2
- package/components/CreditCardExpirationInput/CreditCardExpirationInput.d.ts +0 -12
- package/components/CreditCardExpirationInput/CreditCardExpirationInput.types.d.ts +0 -9
- package/components/CreditCardExpirationInput/index.d.ts +0 -2
- package/components/CreditCardInput/CreditCardInput.d.ts +0 -14
- package/components/CreditCardInput/CreditCardInput.types.d.ts +0 -11
- package/components/CreditCardInput/index.d.ts +0 -2
- package/components/DateInput/DateInput.d.ts +0 -11
- package/components/DateInput/DateInput.types.d.ts +0 -8
- package/components/DateInput/index.d.ts +0 -2
- package/components/Dialog/Dialog.d.ts +0 -10
- package/components/Dialog/Dialog.types.d.ts +0 -8
- package/components/Dialog/index.d.ts +0 -2
- package/components/DialogTrigger/DialogTrigger.d.ts +0 -10
- package/components/DialogTrigger/DialogTrigger.types.d.ts +0 -4
- package/components/DialogTrigger/index.d.ts +0 -2
- package/components/Divider/Divider.d.ts +0 -3
- package/components/Divider/Divider.types.d.ts +0 -4
- package/components/Divider/index.d.ts +0 -2
- package/components/Drawer/Drawer.d.ts +0 -12
- package/components/Drawer/Drawer.types.d.ts +0 -10
- package/components/Drawer/index.d.ts +0 -2
- package/components/Input/Input.d.ts +0 -12
- package/components/Input/Input.types.d.ts +0 -9
- package/components/Input/index.d.ts +0 -2
- package/components/Link/Link.d.ts +0 -3
- package/components/Link/Link.types.d.ts +0 -2
- package/components/Link/index.d.ts +0 -2
- package/components/Loader/CircularEasing.d.ts +0 -3
- package/components/Loader/CircularEasing.types.d.ts +0 -7
- package/components/Loader/Pulse.d.ts +0 -8
- package/components/Loader/Pulse.types.d.ts +0 -4
- package/components/Loader/index.d.ts +0 -4
- package/components/Meter/Meter.d.ts +0 -10
- package/components/Meter/Meter.types.d.ts +0 -7
- package/components/Meter/index.d.ts +0 -2
- package/components/Modal/Modal.d.ts +0 -3
- package/components/Modal/Modal.types.d.ts +0 -5
- package/components/Modal/index.d.ts +0 -2
- package/components/ModalOverlay/ModalOverlay.d.ts +0 -10
- package/components/ModalOverlay/ModalOverlay.types.d.ts +0 -14
- package/components/ModalOverlay/index.d.ts +0 -2
- package/components/NumberInput/NumberInput.d.ts +0 -15
- package/components/NumberInput/NumberInput.types.d.ts +0 -13
- package/components/NumberInput/index.d.ts +0 -2
- package/components/PinInput/PinInput.d.ts +0 -20
- package/components/PinInput/PinInput.types.d.ts +0 -17
- package/components/PinInput/index.d.ts +0 -2
- package/components/Progressbar/CircularProgressbar.d.ts +0 -3
- package/components/Progressbar/CircularProgressbar.types.d.ts +0 -9
- package/components/Progressbar/LinearProgressbar.d.ts +0 -3
- package/components/Progressbar/LinearProgressbar.types.d.ts +0 -8
- package/components/Progressbar/index.d.ts +0 -4
- package/components/Radio/Radio.d.ts +0 -10
- package/components/Radio/Radio.types.d.ts +0 -11
- package/components/Radio/index.d.ts +0 -2
- package/components/Select/Option.d.ts +0 -3
- package/components/Select/Option.types.d.ts +0 -2
- package/components/Select/Select.d.ts +0 -20
- package/components/Select/Select.types.d.ts +0 -21
- package/components/Select/index.d.ts +0 -4
- package/components/Slider/Slider.d.ts +0 -11
- package/components/Slider/Slider.types.d.ts +0 -8
- package/components/Slider/index.d.ts +0 -2
- package/components/Switch/Switch.d.ts +0 -11
- package/components/Switch/Switch.types.d.ts +0 -3
- package/components/Switch/index.d.ts +0 -2
- package/components/Tabs/Tab.d.ts +0 -15
- package/components/Tabs/Tab.types.d.ts +0 -5
- package/components/Tabs/TabList.d.ts +0 -3
- package/components/Tabs/TabList.types.d.ts +0 -10
- package/components/Tabs/TabPanel.d.ts +0 -3
- package/components/Tabs/TabPanel.types.d.ts +0 -2
- package/components/Tabs/Tabs.d.ts +0 -6
- package/components/Tabs/Tabs.types.d.ts +0 -2
- package/components/Tabs/index.d.ts +0 -8
- package/components/TimeInput/TimeInput.d.ts +0 -11
- package/components/TimeInput/TimeInput.types.d.ts +0 -8
- package/components/TimeInput/index.d.ts +0 -2
- package/components/ToggleButton/ToggleButton.d.ts +0 -3
- package/components/ToggleButton/ToggleButton.types.d.ts +0 -5
- package/components/ToggleButton/index.d.ts +0 -2
- package/components/Tooltip/Tooltip.d.ts +0 -3
- package/components/Tooltip/Tooltip.types.d.ts +0 -2
- package/components/Tooltip/index.d.ts +0 -2
- package/hooks/useEnterExitAnimation.d.ts +0 -5
- package/types/SlotsToClasses.d.ts +0 -4
- package/utils/cn.d.ts +0 -3
- package/utils/defaultTheme.d.ts +0 -501
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { BreadcrumbEllipsis } from './BreadcrumbEllipsis';
|
|
2
|
-
export { BreadcrumbItem } from './BreadcrumbItem';
|
|
3
|
-
export { BreadcrumbLink } from './BreadcrumbLink';
|
|
4
|
-
export { BreadcrumbSeparator } from './BreadcrumbSeparator';
|
|
5
|
-
export { Breadcrumbs } from './Breadcrumbs';
|
|
6
|
-
export type { BreadcrumbEllipsisProps } from './BreadcrumbEllipsis.types';
|
|
7
|
-
export type { BreadcrumbItemProps } from './BreadcrumbItem.types';
|
|
8
|
-
export type { BreadcrumbLinkProps } from './BreadcrumbLink.types';
|
|
9
|
-
export type { BreadcrumbSeparatorProps } from './BreadcrumbSeparator.types';
|
|
10
|
-
export type { BreadcrumbsProps } from './Breadcrumbs.types';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Button: import("react").ForwardRefExoticComponent<import("react-aria-components").ButtonProps & {
|
|
3
|
-
isLoading?: boolean | undefined;
|
|
4
|
-
variant?: "solid" | "outline" | "ghost" | undefined;
|
|
5
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
6
|
-
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
export default Button;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { CheckboxProps } from './Checkbox.types';
|
|
2
|
-
export declare function Checkbox({ children, slots, className, classNames, ...props }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare namespace Checkbox {
|
|
4
|
-
var defaultProps: {
|
|
5
|
-
slots: {
|
|
6
|
-
control: undefined;
|
|
7
|
-
};
|
|
8
|
-
classNames: undefined;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export default Checkbox;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { CheckboxProps as UiCheckboxProps, CheckboxRenderProps } from 'react-aria-components';
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
3
|
-
import type { SlotsToClasses } from '../../types/SlotsToClasses';
|
|
4
|
-
export interface CheckboxSlots {
|
|
5
|
-
control?: ReactNode | ((values: CheckboxRenderProps) => ReactNode);
|
|
6
|
-
}
|
|
7
|
-
export interface CheckboxProps extends UiCheckboxProps {
|
|
8
|
-
slots?: CheckboxSlots;
|
|
9
|
-
classNames?: SlotsToClasses<'control'>;
|
|
10
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { CollapsibleTriggerProps, CollapsibleTriggerState } from './CollapsibleTrigger.types';
|
|
3
|
-
/** @todo look into use hook to provide access instead of exporting directly */
|
|
4
|
-
export declare const CollapsibleTriggerStateContext: import("react").Context<CollapsibleTriggerState>;
|
|
5
|
-
export declare function CollapsibleTrigger({ children, className, ...props }: CollapsibleTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default CollapsibleTrigger;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { PropsWithChildren } from 'react';
|
|
2
|
-
export type CollapsibleTriggerState = {
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
id: string;
|
|
5
|
-
defaultOpen: boolean;
|
|
6
|
-
};
|
|
7
|
-
export type CollapsibleTriggerProps = PropsWithChildren<{
|
|
8
|
-
isOpen?: boolean;
|
|
9
|
-
defaultOpen?: boolean;
|
|
10
|
-
onOpenChange?: (isOpen: boolean) => void;
|
|
11
|
-
className?: string | undefined;
|
|
12
|
-
}>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { Collapsible } from './Collapsible';
|
|
2
|
-
export { CollapsibleTrigger, CollapsibleTriggerStateContext, } from './CollapsibleTrigger';
|
|
3
|
-
export type { CollapsibleContentProps } from './Collapsible.types';
|
|
4
|
-
export type { CollapsibleTriggerProps, CollapsibleTriggerState, } from './CollapsibleTrigger.types';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Container: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
|
|
3
|
-
children?: import("react").ReactNode;
|
|
4
|
-
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
-
export default Container;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { PopoverProps } from './ContextMenu.types';
|
|
2
|
-
export declare function ContextMenu({ children, key, onAction, setAnimation, animation, className, classNames, ...props }: PopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare namespace ContextMenu {
|
|
4
|
-
var defaultProps: {
|
|
5
|
-
key: undefined;
|
|
6
|
-
onAction: undefined;
|
|
7
|
-
classNames: undefined;
|
|
8
|
-
style: undefined;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export default ContextMenu;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { PopoverProps as AriaPopoverProps } from 'react-aria-components';
|
|
2
|
-
import type { Dispatch, Key, SetStateAction, ReactNode } from 'react';
|
|
3
|
-
import type { MotionStyle } from 'framer-motion';
|
|
4
|
-
import type { SlotsToClasses } from '../../types/SlotsToClasses';
|
|
5
|
-
type ContextMenuAnimationState = 'unmounted' | 'hidden' | 'visible';
|
|
6
|
-
export interface PopoverProps extends Omit<AriaPopoverProps, 'children' | 'style'> {
|
|
7
|
-
animation: ContextMenuAnimationState;
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
onAction?: (key: Key) => void;
|
|
10
|
-
setAnimation: Dispatch<SetStateAction<ContextMenuAnimationState>>;
|
|
11
|
-
key?: Key | null;
|
|
12
|
-
classNames?: SlotsToClasses<'menu'>;
|
|
13
|
-
style?: MotionStyle;
|
|
14
|
-
}
|
|
15
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { CreditCardExpirationInputProps } from './CreditCardExpirationInput.types';
|
|
2
|
-
export declare function CreditCardExpirationInput({ label, description, errorMessage, placeholder, value, className, classNames, ...props }: CreditCardExpirationInputProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare namespace CreditCardExpirationInput {
|
|
4
|
-
var defaultProps: {
|
|
5
|
-
label: undefined;
|
|
6
|
-
description: undefined;
|
|
7
|
-
errorMessage: undefined;
|
|
8
|
-
placeholder: undefined;
|
|
9
|
-
classNames: undefined;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export default CreditCardExpirationInput;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { TextFieldProps, ValidationResult } from 'react-aria-components';
|
|
2
|
-
import type { SlotsToClasses } from '../../types/SlotsToClasses';
|
|
3
|
-
export interface CreditCardExpirationInputProps extends TextFieldProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
errorMessage?: string | ((validation: ValidationResult) => string);
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
classNames?: SlotsToClasses<'label' | 'input' | 'description' | 'error'>;
|
|
9
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { CreditCardInputProps } from './CreditCardInput.types';
|
|
2
|
-
export declare function CreditCardInput({ label, description, errorMessage, placeholder, value, onChange, className, classNames, ...props }: CreditCardInputProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare namespace CreditCardInput {
|
|
4
|
-
var defaultProps: {
|
|
5
|
-
label: undefined;
|
|
6
|
-
description: undefined;
|
|
7
|
-
errorMessage: undefined;
|
|
8
|
-
placeholder: undefined;
|
|
9
|
-
classNames: undefined;
|
|
10
|
-
value: undefined;
|
|
11
|
-
onChange: () => void;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export default CreditCardInput;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { TextFieldProps, ValidationResult } from 'react-aria-components';
|
|
2
|
-
import type { SlotsToClasses } from '../../types/SlotsToClasses';
|
|
3
|
-
export interface CreditCardInputProps extends TextFieldProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
errorMessage?: string | ((validation: ValidationResult) => string);
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
value?: string;
|
|
9
|
-
onChange?: (value: string) => void;
|
|
10
|
-
classNames?: SlotsToClasses<'label' | 'input' | 'description' | 'error'>;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { DateInputProps } from './DateInput.types';
|
|
2
|
-
export declare function DateInput({ label, description, errorMessage, className, classNames, ...props }: DateInputProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare namespace DateInput {
|
|
4
|
-
var defaultProps: {
|
|
5
|
-
label: undefined;
|
|
6
|
-
description: undefined;
|
|
7
|
-
errorMessage: undefined;
|
|
8
|
-
classNames: undefined;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export default DateInput;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { DateFieldProps, DateValue, ValidationResult } from 'react-aria-components';
|
|
2
|
-
import type { SlotsToClasses } from '../../types/SlotsToClasses';
|
|
3
|
-
export interface DateInputProps extends DateFieldProps<DateValue> {
|
|
4
|
-
label?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
errorMessage?: string | ((validation: ValidationResult) => string);
|
|
7
|
-
classNames?: SlotsToClasses<'label' | 'input' | 'description' | 'error' | 'segment'>;
|
|
8
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { DialogProps } from './Dialog.types';
|
|
2
|
-
export declare function Dialog({ className, children, animationVariants, ...props }: DialogProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare namespace Dialog {
|
|
4
|
-
var defaultProps: {
|
|
5
|
-
key: undefined;
|
|
6
|
-
style: undefined;
|
|
7
|
-
animationVariants: undefined;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export default Dialog;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Key } from 'react';
|
|
2
|
-
import type { DialogProps as UIDialogProps } from 'react-aria-components';
|
|
3
|
-
import { MotionStyle, Variants } from 'framer-motion';
|
|
4
|
-
export type DialogProps = UIDialogProps & {
|
|
5
|
-
key?: Key;
|
|
6
|
-
style?: MotionStyle;
|
|
7
|
-
animationVariants?: Variants;
|
|
8
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import type { DialogTriggerProps } from 'react-aria-components';
|
|
3
|
-
import type { DriverAnimationState } from './DialogTrigger.types';
|
|
4
|
-
export declare const useDialogTrigger: () => {
|
|
5
|
-
animation: DriverAnimationState;
|
|
6
|
-
setAnimation: Dispatch<SetStateAction<DriverAnimationState>>;
|
|
7
|
-
onOpenChange: (isOpen: boolean) => void;
|
|
8
|
-
};
|
|
9
|
-
export declare function DialogTrigger(props: DialogTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default DialogTrigger;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { DialogTriggerProps as UIDialogTriggerProps } from 'react-aria-components';
|
|
2
|
-
/** @todo this feels like it should be renamed, maybe moved to modal directly */
|
|
3
|
-
export type DriverAnimationState = 'unmounted' | 'visible' | 'hidden';
|
|
4
|
-
export type DialogTriggerProps = UIDialogTriggerProps;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { DrawerProps } from './Drawer.types';
|
|
2
|
-
export declare function Drawer({ direction, children, className, animationVariants, ...props }: DrawerProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare namespace Drawer {
|
|
4
|
-
var defaultProps: {
|
|
5
|
-
direction: string;
|
|
6
|
-
key: undefined;
|
|
7
|
-
style: undefined;
|
|
8
|
-
animationVariants: undefined;
|
|
9
|
-
size: string;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export default Drawer;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Key } from 'react';
|
|
2
|
-
import type { DialogProps } from 'react-aria-components';
|
|
3
|
-
import type { MotionStyle, Variants } from 'framer-motion';
|
|
4
|
-
export type DrawerProps = DialogProps & {
|
|
5
|
-
direction?: 'top' | 'right' | 'bottom' | 'left';
|
|
6
|
-
key?: Key;
|
|
7
|
-
style?: MotionStyle;
|
|
8
|
-
animationVariants?: Variants;
|
|
9
|
-
size?: string;
|
|
10
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { InputProps } from './Input.types';
|
|
2
|
-
export declare function Input({ label, description, errorMessage, placeholder, className, classNames, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare namespace Input {
|
|
4
|
-
var defaultProps: {
|
|
5
|
-
label: undefined;
|
|
6
|
-
description: undefined;
|
|
7
|
-
errorMessage: undefined;
|
|
8
|
-
placeholder: undefined;
|
|
9
|
-
classNames: undefined;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export default Input;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { TextFieldProps, ValidationResult } from 'react-aria-components';
|
|
2
|
-
import type { SlotsToClasses } from '../../types/SlotsToClasses';
|
|
3
|
-
export interface InputProps extends TextFieldProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
errorMessage?: string | ((validation: ValidationResult) => string);
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
classNames?: SlotsToClasses<'label' | 'input' | 'description' | 'error'>;
|
|
9
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { CircularEasingProps } from './CircularEasing.types';
|
|
2
|
-
export declare function CircularEasing({ width, stroke, strokeLinecap, strokeWidth, className, style, ...props }: CircularEasingProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export default CircularEasing;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { MeterProps } from './Meter.types';
|
|
2
|
-
export declare function Meter({ label, showValue, value, minValue, maxValue, formatOptions, className, classNames, ...props }: MeterProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare namespace Meter {
|
|
4
|
-
var defaultProps: {
|
|
5
|
-
showValue: undefined;
|
|
6
|
-
label: undefined;
|
|
7
|
-
classNames: undefined;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export default Meter;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { MeterProps as AriaMeterProps } from 'react-aria-components';
|
|
2
|
-
import type { SlotsToClasses } from '../../types/SlotsToClasses';
|
|
3
|
-
export type MeterProps = AriaMeterProps & {
|
|
4
|
-
label?: string;
|
|
5
|
-
showValue?: boolean;
|
|
6
|
-
classNames?: SlotsToClasses<'label' | 'value' | 'labelWrapper' | 'track' | 'trackWrapepr'>;
|
|
7
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ModalOverlayProps } from './ModalOverlay.types';
|
|
2
|
-
export declare function ModalOverlay(props: ModalOverlayProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare namespace ModalOverlay {
|
|
4
|
-
var defaultProps: {
|
|
5
|
-
key: undefined;
|
|
6
|
-
style: undefined;
|
|
7
|
-
animationVariants: undefined;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export default ModalOverlay;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Key, ReactNode } from 'react';
|
|
2
|
-
import type { ModalOverlayProps as UiModalOverlayProps, ModalRenderProps } from 'react-aria-components';
|
|
3
|
-
import type { MotionStyle, Variant } from 'framer-motion';
|
|
4
|
-
export interface ModalOverlayProps extends Omit<UiModalOverlayProps, 'children' | 'style'> {
|
|
5
|
-
key?: Key;
|
|
6
|
-
style?: MotionStyle;
|
|
7
|
-
animationVariants?: {
|
|
8
|
-
visible: Variant;
|
|
9
|
-
hidden: Variant;
|
|
10
|
-
};
|
|
11
|
-
children: ReactNode | ((values: ModalRenderProps & {
|
|
12
|
-
defaultChildren: ReactNode;
|
|
13
|
-
}) => ReactNode);
|
|
14
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { NumberInputProps } from './NumberInput.types';
|
|
2
|
-
export declare function NumberInput({ label, description, errorMessage, isInvalid, isReadOnly, slots, className, classNames, ...props }: NumberInputProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare namespace NumberInput {
|
|
4
|
-
var defaultProps: {
|
|
5
|
-
label: undefined;
|
|
6
|
-
description: undefined;
|
|
7
|
-
errorMessage: undefined;
|
|
8
|
-
classNames: undefined;
|
|
9
|
-
slots: {
|
|
10
|
-
decrementIcon: import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
incrementIcon: import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export default NumberInput;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import type { NumberFieldProps, ValidationResult } from 'react-aria-components';
|
|
3
|
-
import type { SlotsToClasses } from '../../types/SlotsToClasses';
|
|
4
|
-
export interface NumberInputProps extends NumberFieldProps {
|
|
5
|
-
label?: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
errorMessage?: string | ((validation: ValidationResult) => string);
|
|
8
|
-
slots?: {
|
|
9
|
-
decrementIcon?: ReactNode;
|
|
10
|
-
incrementIcon?: ReactNode;
|
|
11
|
-
};
|
|
12
|
-
classNames?: SlotsToClasses<'label' | 'input' | 'description' | 'error' | 'incrementBtn' | 'decrementBtn' | 'group'>;
|
|
13
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { PinInputProps } from './PinInput.types';
|
|
2
|
-
/** based on https://github.com/chakra-ui/chakra-ui/blob/main/packages/components/src/pin-input/use-pin-input.ts */
|
|
3
|
-
export declare function PinInput({ description, errorMessage, isDisabled, isInvalid, isMasked, isRequired, label, length, name, onChange: controlledOnChange, value, type, validationBehavior, className, classNames, ...props }: PinInputProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export declare namespace PinInput {
|
|
5
|
-
var defaultProps: {
|
|
6
|
-
description: undefined;
|
|
7
|
-
errorMessage: undefined;
|
|
8
|
-
isMasked: boolean;
|
|
9
|
-
isRequired: boolean;
|
|
10
|
-
label: undefined;
|
|
11
|
-
classNames: undefined;
|
|
12
|
-
length: number;
|
|
13
|
-
name: string;
|
|
14
|
-
onChange: () => void;
|
|
15
|
-
value: string;
|
|
16
|
-
type: string;
|
|
17
|
-
validationBehavior: string;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export default PinInput;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { GroupProps, ValidationResult } from 'react-aria-components';
|
|
2
|
-
import type { SlotsToClasses } from '../../types/SlotsToClasses';
|
|
3
|
-
/** @todo extend certain textfield props like name, validationBehavior and isRequired */
|
|
4
|
-
export interface PinInputProps extends GroupProps {
|
|
5
|
-
description?: string;
|
|
6
|
-
errorMessage?: string | ((validation: ValidationResult) => string);
|
|
7
|
-
label?: string;
|
|
8
|
-
length?: number;
|
|
9
|
-
name?: string;
|
|
10
|
-
onChange?: (...event: any[]) => void;
|
|
11
|
-
value?: string;
|
|
12
|
-
isMasked?: boolean;
|
|
13
|
-
isRequired?: boolean;
|
|
14
|
-
type?: 'alpha' | 'alphanumeric' | 'numeric';
|
|
15
|
-
validationBehavior?: 'native' | 'aria';
|
|
16
|
-
classNames?: SlotsToClasses<'label' | 'input' | 'description' | 'error' | 'inputWrap' | 'textWrap'>;
|
|
17
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { CircularProgressbarProps } from './CircularProgressbar.types';
|
|
2
|
-
export declare function CircularProgressbar({ label, value, showValue, size, strokeWidth, className, classNames, ...props }: CircularProgressbarProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export default CircularProgressbar;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ProgressBarProps } from 'react-aria-components';
|
|
2
|
-
import type { SlotsToClasses } from '../../types/SlotsToClasses';
|
|
3
|
-
export interface CircularProgressbarProps extends ProgressBarProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
showValue?: boolean;
|
|
6
|
-
size?: number;
|
|
7
|
-
strokeWidth?: number;
|
|
8
|
-
classNames?: SlotsToClasses<'label' | 'base' | 'value'>;
|
|
9
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { LinearProgressbarProps } from './LinearProgressbar.types';
|
|
2
|
-
export declare function LinearProgressbar({ label, isIndeterminate, showValue, width, className, classNames, ...props }: LinearProgressbarProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export default LinearProgressbar;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ProgressBarProps } from 'react-aria-components';
|
|
2
|
-
import type { SlotsToClasses } from '../../types/SlotsToClasses';
|
|
3
|
-
export interface LinearProgressbarProps extends ProgressBarProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
width?: string;
|
|
6
|
-
showValue?: boolean;
|
|
7
|
-
classNames?: SlotsToClasses<'label' | 'value' | 'labelWrapper' | 'track' | 'trackWrapper'>;
|
|
8
|
-
}
|