@clicktap/ui 0.12.3 → 0.12.5
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 +24 -8
- package/Accordion/Accordion.d.ts +0 -3
- package/Accordion/index.d.ts +0 -2
- package/Avatar/Avatar.d.ts +0 -3
- package/Avatar/AvatarGroup/AvatarGroup.d.ts +0 -4
- package/Avatar/AvatarGroup/types.d.ts +0 -4
- package/Avatar/types.d.ts +0 -6
- package/Badge/Badge.d.ts +0 -3
- package/Badge/types.d.ts +0 -3
- package/Breadcrumbs/BreadcrumbEllipsis.d.ts +0 -3
- package/Breadcrumbs/BreadcrumbItem.d.ts +0 -3
- package/Breadcrumbs/BreadcrumbLink.d.ts +0 -3
- package/Breadcrumbs/BreadcrumbSeparator.d.ts +0 -3
- package/Breadcrumbs/Breadcrumbs.d.ts +0 -3
- package/Breadcrumbs/types.d.ts +0 -10
- package/Button/Button.d.ts +0 -7
- package/Button/types.d.ts +0 -6
- package/Card/Card.d.ts +0 -4
- package/Checkbox/Checkbox.d.ts +0 -20
- package/Collapsible/Collapsible.d.ts +0 -3
- package/Collapsible/CollapsibleTrigger.d.ts +0 -5
- package/Collapsible/types.d.ts +0 -13
- package/Container/Container.d.ts +0 -3
- package/ContextMenu/ContextMenu.d.ts +0 -24
- package/CreditCardExpirationInput/CreditCardExpirationInput.d.ts +0 -20
- package/CreditCardInput/CreditCardInput.d.ts +0 -24
- package/DateInput/DateInput.d.ts +0 -18
- package/Dialog/Dialog.d.ts +0 -17
- package/DialogTrigger/DialogTrigger.d.ts +0 -10
- package/Divider/Divider.d.ts +0 -3
- package/Divider/types.d.ts +0 -4
- package/Drawer/Drawer.d.ts +0 -21
- package/Input/Input.d.ts +0 -21
- package/Link/Link.d.ts +0 -3
- package/Loader/CircularEasing/CircularEasing.d.ts +0 -3
- package/Loader/CircularEasing/types.d.ts +0 -7
- package/Loader/Pulse/Pulse.d.ts +0 -11
- package/Loader/index.d.ts +0 -2
- package/Meter/Meter.d.ts +0 -16
- package/Modal/Modal.d.ts +0 -7
- package/ModalOverlay/ModalOverlay.d.ts +0 -23
- package/NavigationMenu/NavigationMenu.d.ts +0 -2
- package/NumberInput/NumberInput.d.ts +0 -27
- package/PinInput/PinInput.d.ts +0 -36
- package/Progressbar/CircularProgressbar/CircularProgressbar.d.ts +0 -3
- package/Progressbar/CircularProgressbar/types.d.ts +0 -9
- package/Progressbar/LinearProgressbar/LinearProgressbar.d.ts +0 -3
- package/Progressbar/LinearProgressbar/types.d.ts +0 -8
- package/Progressbar/index.d.ts +0 -2
- package/Radio/Radio.d.ts +0 -20
- package/Select/Option.d.ts +0 -3
- package/Select/Select.d.ts +0 -40
- package/Slider/Slider.d.ts +0 -18
- package/Switch/Switch.d.ts +0 -11
- package/Tabs/Tab.d.ts +0 -15
- package/Tabs/TabList.d.ts +0 -3
- package/Tabs/TabPanel.d.ts +0 -3
- package/Tabs/Tabs.d.ts +0 -5
- package/Tabs/types.d.ts +0 -13
- package/TimeInput/TimeInput.d.ts +0 -11
- package/TimeInput/types.d.ts +0 -8
- package/ToggleButton/ToggleButton.d.ts +0 -3
- package/ToggleButton/types.d.ts +0 -5
- package/Tooltip/Tooltip.d.ts +0 -4
- package/index.d.ts +0 -48
- package/index.js +0 -1
- package/index.mjs +0 -14532
- package/types.d.ts +0 -4
- package/utils.d.ts +0 -3
package/Select/Select.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { ComboBoxRenderProps, type ComboBoxProps as AriaComboBoxProps, type ValidationResult } from 'react-aria-components';
|
|
2
|
-
import { Key, ReactNode } from 'react';
|
|
3
|
-
import type { SlotsToClasses } from '../types';
|
|
4
|
-
export type ComboBoxPopoverAnimationState = 'unmounted' | 'hidden' | 'visible';
|
|
5
|
-
type CustomSelectSlots = {
|
|
6
|
-
buttonIcon?: ReactNode | ((values: ComboBoxRenderProps) => ReactNode);
|
|
7
|
-
loadingIcon?: ReactNode;
|
|
8
|
-
};
|
|
9
|
-
export interface SelectProps<T extends object> extends Omit<AriaComboBoxProps<T>, 'children'> {
|
|
10
|
-
label?: string;
|
|
11
|
-
description?: string | null;
|
|
12
|
-
errorMessage?: string | ((validation: ValidationResult) => string);
|
|
13
|
-
placeholder?: string;
|
|
14
|
-
key?: Key | null;
|
|
15
|
-
isLoading?: boolean;
|
|
16
|
-
children: ReactNode | ((item: T) => ReactNode);
|
|
17
|
-
slots?: CustomSelectSlots;
|
|
18
|
-
popoverOffset?: number;
|
|
19
|
-
popoverPortalContainer?: Element;
|
|
20
|
-
classNames?: SlotsToClasses<'label' | 'name' | 'comboBoxContainer' | 'input' | 'loader' | 'arrowButton' | 'description' | 'errorMessage' | 'listContainer' | 'list'>;
|
|
21
|
-
}
|
|
22
|
-
export declare function Select<T extends object>({ label, description, errorMessage, children, placeholder, key, isLoading, slots, popoverPortalContainer, popoverOffset, selectedKey, className, classNames, ...props }: SelectProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export declare namespace Select {
|
|
24
|
-
var defaultProps: {
|
|
25
|
-
label: undefined;
|
|
26
|
-
description: undefined;
|
|
27
|
-
errorMessage: undefined;
|
|
28
|
-
placeholder: string;
|
|
29
|
-
key: undefined;
|
|
30
|
-
isLoading: boolean;
|
|
31
|
-
slots: {
|
|
32
|
-
loadingIcon: undefined;
|
|
33
|
-
buttonIcon: undefined;
|
|
34
|
-
};
|
|
35
|
-
popoverOffset: undefined;
|
|
36
|
-
popoverPortalContainer: undefined;
|
|
37
|
-
classNames: undefined;
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
export default Select;
|
package/Slider/Slider.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { SliderProps as AriaSliderProps } from 'react-aria-components';
|
|
2
|
-
import type { SlotsToClasses } from '../types';
|
|
3
|
-
export type SliderProps = AriaSliderProps & {
|
|
4
|
-
label?: string;
|
|
5
|
-
showOutput?: boolean;
|
|
6
|
-
thumbLabels?: string[];
|
|
7
|
-
classNames?: SlotsToClasses<'base' | 'label' | 'output' | 'outputWrapper' | 'track' | 'thumb'>;
|
|
8
|
-
};
|
|
9
|
-
export declare function Slider({ label, showOutput, thumbLabels, classNames, orientation, isDisabled, children, ...props }: SliderProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export declare namespace Slider {
|
|
11
|
-
var defaultProps: {
|
|
12
|
-
label: undefined;
|
|
13
|
-
showOutput: boolean;
|
|
14
|
-
thumbLabels: undefined;
|
|
15
|
-
classNames: undefined;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
export default Slider;
|
package/Switch/Switch.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { SwitchProps } from 'react-aria-components';
|
|
2
|
-
import type { SlotsToClasses } from '../types';
|
|
3
|
-
export declare function Switch({ children, className, classNames, ...props }: SwitchProps & {
|
|
4
|
-
classNames?: SlotsToClasses<'indicator'>;
|
|
5
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export declare namespace Switch {
|
|
7
|
-
var defaultProps: {
|
|
8
|
-
classNames: undefined;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export default Switch;
|
package/Tabs/Tab.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { TabsProps } from 'react-aria-components';
|
|
2
|
-
import { TabProps } from './types';
|
|
3
|
-
import type { SlotsToClasses } from '../types';
|
|
4
|
-
export declare function UiTab({ orientation, variant, className, children, ...props }: TabProps & {
|
|
5
|
-
orientation: TabsProps['orientation'];
|
|
6
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare function Tab({ variant, children, className, classNames, ...props }: TabProps & {
|
|
8
|
-
classNames?: SlotsToClasses<'overflow'>;
|
|
9
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export declare namespace Tab {
|
|
11
|
-
var defaultProps: {
|
|
12
|
-
classNames: undefined;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export default Tab;
|
package/Tabs/TabList.d.ts
DELETED
package/Tabs/TabPanel.d.ts
DELETED
package/Tabs/Tabs.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { TabsProps } from 'react-aria-components';
|
|
3
|
-
export declare const TabsOrientationContext: import("react").Context<import("react-aria").Orientation | undefined>;
|
|
4
|
-
export declare function Tabs({ children, className, ...props }: TabsProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export default Tabs;
|
package/Tabs/types.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import type { TabListProps as AriaTabListProps, TabProps as AriaTabProps } from 'react-aria-components';
|
|
3
|
-
export type TabItem = {
|
|
4
|
-
id: number | string;
|
|
5
|
-
title: ReactNode;
|
|
6
|
-
content: ReactNode;
|
|
7
|
-
};
|
|
8
|
-
export interface TabListProps extends AriaTabListProps<TabItem> {
|
|
9
|
-
variant?: 'solid' | 'outline' | 'underline' | 'base';
|
|
10
|
-
}
|
|
11
|
-
export interface TabProps extends AriaTabProps {
|
|
12
|
-
variant?: 'solid' | 'outline' | 'underline' | 'enclosed' | 'base';
|
|
13
|
-
}
|
package/TimeInput/TimeInput.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { TimeInputProps } from './types';
|
|
2
|
-
export declare function TimeInput({ label, description, errorMessage, className, classNames, ...props }: TimeInputProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare namespace TimeInput {
|
|
4
|
-
var defaultProps: {
|
|
5
|
-
label: undefined;
|
|
6
|
-
description: undefined;
|
|
7
|
-
errorMessage: undefined;
|
|
8
|
-
classNames: undefined;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export default TimeInput;
|
package/TimeInput/types.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { TimeFieldProps, TimeValue, ValidationResult } from 'react-aria-components';
|
|
2
|
-
import type { SlotsToClasses } from '../types';
|
|
3
|
-
export interface TimeInputProps extends TimeFieldProps<TimeValue> {
|
|
4
|
-
label?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
errorMessage?: string | ((validation: ValidationResult) => string);
|
|
7
|
-
classNames?: SlotsToClasses<'label' | 'input' | 'description' | 'error' | 'segment'>;
|
|
8
|
-
}
|
package/ToggleButton/types.d.ts
DELETED
package/Tooltip/Tooltip.d.ts
DELETED
package/index.d.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
export * from './Avatar/Avatar';
|
|
2
|
-
export * from './Avatar/AvatarGroup/AvatarGroup';
|
|
3
|
-
export * from './Accordion';
|
|
4
|
-
export * from './Badge/Badge';
|
|
5
|
-
export * from './Breadcrumbs/BreadcrumbEllipsis';
|
|
6
|
-
export * from './Breadcrumbs/BreadcrumbItem';
|
|
7
|
-
export * from './Breadcrumbs/BreadcrumbLink';
|
|
8
|
-
export * from './Breadcrumbs/BreadcrumbSeparator';
|
|
9
|
-
export * from './Breadcrumbs/Breadcrumbs';
|
|
10
|
-
export * from './Button/Button';
|
|
11
|
-
export * from './Button/types';
|
|
12
|
-
export * from './Card/Card';
|
|
13
|
-
export * from './Checkbox/Checkbox';
|
|
14
|
-
export * from './Collapsible/CollapsibleTrigger';
|
|
15
|
-
export * from './Collapsible/Collapsible';
|
|
16
|
-
export * from './Container/Container';
|
|
17
|
-
export * from './ContextMenu/ContextMenu';
|
|
18
|
-
export * from './CreditCardExpirationInput/CreditCardExpirationInput';
|
|
19
|
-
export * from './CreditCardInput/CreditCardInput';
|
|
20
|
-
export * from './DateInput/DateInput';
|
|
21
|
-
export * from './DialogTrigger/DialogTrigger';
|
|
22
|
-
export * from './Divider/Divider';
|
|
23
|
-
export * from './Divider/types';
|
|
24
|
-
export * from './Input/Input';
|
|
25
|
-
export * from './Link/Link';
|
|
26
|
-
export * from './Meter/Meter';
|
|
27
|
-
export * from './Modal/Modal';
|
|
28
|
-
export * from './ModalOverlay/ModalOverlay';
|
|
29
|
-
export * from './Dialog/Dialog';
|
|
30
|
-
export * from './Drawer/Drawer';
|
|
31
|
-
export * from './NumberInput/NumberInput';
|
|
32
|
-
export * from './PinInput/PinInput';
|
|
33
|
-
export * from './Progressbar';
|
|
34
|
-
export * from './Radio/Radio';
|
|
35
|
-
export * from './Select/Option';
|
|
36
|
-
export * from './Select/Select';
|
|
37
|
-
export * from './Slider/Slider';
|
|
38
|
-
export * from './Switch/Switch';
|
|
39
|
-
export * from './Tabs/Tab';
|
|
40
|
-
export * from './Tabs/TabList';
|
|
41
|
-
export * from './Tabs/TabPanel';
|
|
42
|
-
export * from './Tabs/Tabs';
|
|
43
|
-
export * from './TimeInput/TimeInput';
|
|
44
|
-
export * from './ToggleButton/ToggleButton';
|
|
45
|
-
export * from './Tooltip/Tooltip';
|
|
46
|
-
export * from './Loader';
|
|
47
|
-
export * from './NavigationMenu/NavigationMenu';
|
|
48
|
-
export * from './utils';
|