@clicktap/ui 0.12.2 → 0.12.4
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/assets/components__Accordion-bf458c79.js +1 -0
- package/assets/components__Avatar-bf458c79.js +1 -0
- package/assets/components__Badge-58d47e35.js +1 -0
- package/assets/components__Breadcrumbs-1bd342d3.js +1 -0
- package/assets/components__Button-c2e432c0.js +1 -0
- package/assets/components__Card-bf458c79.js +1 -0
- package/assets/components__Checkbox-1bd342d3.js +1 -0
- package/assets/components__Collapsible-5fad3ae3.js +1 -0
- package/assets/components__Container-eb405456.js +1 -0
- package/assets/components__ContextMenu-c2fbde59.js +1 -0
- package/assets/components__CreditCardExpirationInput-1bd342d3.js +1 -0
- package/assets/components__CreditCardInput-b7aa7dad.js +1 -0
- package/assets/components__DateInput-1bd342d3.js +1 -0
- package/assets/components__Dialog-2edbd3f4.js +1 -0
- package/assets/components__DialogTrigger-a3536f7a.js +1 -0
- package/assets/components__Divider-4bb7a5a5.js +1 -0
- package/assets/components__Drawer-7ee16468.js +1 -0
- package/assets/components__Input-1bd342d3.js +1 -0
- package/assets/components__Link-1bd342d3.js +1 -0
- package/assets/components__Loader-bdc0430a.js +1 -0
- package/assets/components__Meter-6bd8c479.js +1 -0
- package/assets/components__Modal-1bd342d3.js +1 -0
- package/assets/components__ModalOverlay-894317ac.js +1 -0
- package/assets/components__NumberInput-1bd342d3.js +1 -0
- package/assets/components__PinInput-b7aa7dad.js +1 -0
- package/assets/components__Progressbar-6bd8c479.js +1 -0
- package/assets/components__Radio-1bd342d3.js +1 -0
- package/assets/components__Select-2af7c27f.js +1 -0
- package/assets/components__Slider-1bd342d3.js +1 -0
- package/assets/components__Switch-1bd342d3.js +1 -0
- package/assets/components__Tabs-776e5e7f.js +1 -0
- package/assets/components__TimeInput-1bd342d3.js +1 -0
- package/assets/components__ToggleButton-1bd342d3.js +1 -0
- package/assets/components__Tooltip-ab4c14a9.js +1 -0
- package/assets/hooks__useEnterExitAnimation-90b2d97c.js +1 -0
- package/assets/types__SlotsToClasses-4ed993c7.js +1 -0
- package/assets/utils__cn-1dfef8e7.js +1 -0
- package/assets/utils__defaultTheme-4ed993c7.js +1 -0
- package/{Accordion → components/Accordion}/Accordion.d.ts +1 -1
- package/components/Accordion/index.d.ts +3 -0
- package/{Avatar → components/Avatar}/Avatar.d.ts +1 -1
- package/components/Avatar/Avatar.types.d.ts +2 -0
- package/{Avatar → components/Avatar}/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/{Avatar/AvatarGroup/types.d.ts → components/Avatar/AvatarGroup/AvatarGroup.types.d.ts} +1 -1
- package/components/Avatar/index.d.ts +4 -0
- package/{Badge → components/Badge}/Badge.d.ts +1 -1
- package/components/Badge/Badge.types.d.ts +2 -0
- package/components/Badge/index.d.ts +2 -0
- package/components/Breadcrumbs/BreadcrumbEllipsis.d.ts +3 -0
- package/components/Breadcrumbs/BreadcrumbEllipsis.types.d.ts +2 -0
- package/components/Breadcrumbs/BreadcrumbItem.d.ts +3 -0
- package/components/Breadcrumbs/BreadcrumbItem.types.d.ts +2 -0
- package/components/Breadcrumbs/BreadcrumbLink.d.ts +3 -0
- package/components/Breadcrumbs/BreadcrumbLink.types.d.ts +2 -0
- package/components/Breadcrumbs/BreadcrumbSeparator.d.ts +3 -0
- package/components/Breadcrumbs/BreadcrumbSeparator.types.d.ts +6 -0
- package/{Breadcrumbs → components/Breadcrumbs}/Breadcrumbs.d.ts +1 -1
- package/components/Breadcrumbs/Breadcrumbs.types.d.ts +2 -0
- package/components/Breadcrumbs/index.d.ts +10 -0
- package/{Button/types.d.ts → components/Button/Button.types.d.ts} +1 -1
- package/components/Button/index.d.ts +2 -0
- package/components/Card/Card.d.ts +3 -0
- package/components/Card/Card.types.d.ts +2 -0
- package/components/Card/index.d.ts +2 -0
- package/components/Checkbox/Checkbox.d.ts +11 -0
- package/components/Checkbox/Checkbox.types.d.ts +10 -0
- package/components/Checkbox/index.d.ts +2 -0
- package/{Collapsible → components/Collapsible}/Collapsible.d.ts +1 -1
- package/components/Collapsible/Collapsible.types.d.ts +2 -0
- package/{Collapsible → components/Collapsible}/CollapsibleTrigger.d.ts +2 -1
- package/{Collapsible/types.d.ts → components/Collapsible/CollapsibleTrigger.types.d.ts} +1 -2
- package/components/Collapsible/index.d.ts +4 -0
- package/components/Container/Container.d.ts +5 -0
- package/components/Container/Container.types.d.ts +2 -0
- package/components/Container/index.d.ts +2 -0
- package/components/ContextMenu/ContextMenu.d.ts +11 -0
- package/components/ContextMenu/ContextMenu.types.d.ts +15 -0
- package/components/ContextMenu/index.d.ts +2 -0
- package/{CreditCardExpirationInput → components/CreditCardExpirationInput}/CreditCardExpirationInput.d.ts +1 -9
- package/components/CreditCardExpirationInput/CreditCardExpirationInput.types.d.ts +9 -0
- package/components/CreditCardExpirationInput/index.d.ts +2 -0
- package/{CreditCardInput → components/CreditCardInput}/CreditCardInput.d.ts +1 -11
- package/components/CreditCardInput/CreditCardInput.types.d.ts +11 -0
- package/components/CreditCardInput/index.d.ts +2 -0
- package/components/DateInput/DateInput.d.ts +11 -0
- package/components/DateInput/DateInput.types.d.ts +8 -0
- package/components/DateInput/index.d.ts +2 -0
- package/components/Dialog/Dialog.d.ts +10 -0
- package/components/Dialog/Dialog.types.d.ts +8 -0
- package/components/Dialog/index.d.ts +2 -0
- package/components/DialogTrigger/DialogTrigger.d.ts +10 -0
- package/components/DialogTrigger/DialogTrigger.types.d.ts +4 -0
- package/components/DialogTrigger/index.d.ts +2 -0
- package/{Divider → components/Divider}/Divider.d.ts +1 -1
- package/components/Divider/index.d.ts +2 -0
- package/components/Drawer/Drawer.d.ts +12 -0
- package/components/Drawer/Drawer.types.d.ts +10 -0
- package/components/Drawer/index.d.ts +2 -0
- package/components/Input/Input.d.ts +12 -0
- package/components/Input/Input.types.d.ts +9 -0
- package/components/Input/index.d.ts +2 -0
- package/{Link → components/Link}/Link.d.ts +1 -1
- package/components/Link/Link.types.d.ts +2 -0
- package/components/Link/index.d.ts +2 -0
- package/{Loader/CircularEasing → components/Loader}/CircularEasing.d.ts +1 -1
- package/{Loader/CircularEasing/types.d.ts → components/Loader/CircularEasing.types.d.ts} +1 -1
- package/{Loader/Pulse → components/Loader}/Pulse.d.ts +1 -4
- package/components/Loader/Pulse.types.d.ts +4 -0
- package/components/Loader/index.d.ts +4 -0
- package/{Meter → components/Meter}/Meter.d.ts +1 -7
- package/components/Meter/Meter.types.d.ts +7 -0
- package/components/Meter/index.d.ts +2 -0
- package/components/Modal/Modal.d.ts +3 -0
- package/components/Modal/Modal.types.d.ts +5 -0
- package/components/Modal/index.d.ts +2 -0
- package/components/ModalOverlay/ModalOverlay.d.ts +10 -0
- package/components/ModalOverlay/ModalOverlay.types.d.ts +14 -0
- package/components/ModalOverlay/index.d.ts +2 -0
- package/{NumberInput → components/NumberInput}/NumberInput.d.ts +1 -13
- package/components/NumberInput/NumberInput.types.d.ts +13 -0
- package/components/NumberInput/index.d.ts +2 -0
- package/{PinInput → components/PinInput}/PinInput.d.ts +1 -17
- package/components/PinInput/PinInput.types.d.ts +17 -0
- package/components/PinInput/index.d.ts +2 -0
- package/{Progressbar/CircularProgressbar → components/Progressbar}/CircularProgressbar.d.ts +1 -1
- package/{Progressbar/CircularProgressbar/types.d.ts → components/Progressbar/CircularProgressbar.types.d.ts} +1 -1
- package/{Progressbar/LinearProgressbar → components/Progressbar}/LinearProgressbar.d.ts +1 -1
- package/{Progressbar/LinearProgressbar/types.d.ts → components/Progressbar/LinearProgressbar.types.d.ts} +1 -1
- package/components/Progressbar/index.d.ts +4 -0
- package/components/Radio/Radio.d.ts +10 -0
- package/components/Radio/Radio.types.d.ts +11 -0
- package/components/Radio/index.d.ts +2 -0
- package/components/Select/Option.d.ts +3 -0
- package/components/Select/Option.types.d.ts +2 -0
- package/components/Select/Select.d.ts +20 -0
- package/components/Select/Select.types.d.ts +21 -0
- package/components/Select/index.d.ts +4 -0
- package/{Slider → components/Slider}/Slider.d.ts +1 -8
- package/components/Slider/Slider.types.d.ts +8 -0
- package/components/Slider/index.d.ts +2 -0
- package/{Switch → components/Switch}/Switch.d.ts +2 -2
- package/components/Switch/Switch.types.d.ts +3 -0
- package/components/Switch/index.d.ts +2 -0
- package/{Tabs → components/Tabs}/Tab.d.ts +4 -4
- package/components/Tabs/Tab.types.d.ts +5 -0
- package/{Tabs → components/Tabs}/TabList.d.ts +1 -1
- package/components/Tabs/TabList.types.d.ts +10 -0
- package/{Tabs → components/Tabs}/TabPanel.d.ts +1 -1
- package/components/Tabs/TabPanel.types.d.ts +2 -0
- package/{Tabs → components/Tabs}/Tabs.d.ts +2 -1
- package/components/Tabs/Tabs.types.d.ts +2 -0
- package/components/Tabs/index.d.ts +8 -0
- package/{TimeInput → components/TimeInput}/TimeInput.d.ts +1 -1
- package/{TimeInput/types.d.ts → components/TimeInput/TimeInput.types.d.ts} +1 -1
- package/components/TimeInput/index.d.ts +2 -0
- package/{ToggleButton → components/ToggleButton}/ToggleButton.d.ts +1 -1
- package/components/ToggleButton/index.d.ts +2 -0
- package/components/Tooltip/Tooltip.d.ts +3 -0
- package/components/Tooltip/Tooltip.types.d.ts +2 -0
- package/components/Tooltip/index.d.ts +2 -0
- package/hooks/useEnterExitAnimation.d.ts +5 -0
- package/package.json +2 -1
- package/{types.d.ts → types/SlotsToClasses.d.ts} +1 -1
- package/{utils.d.ts → utils/cn.d.ts} +1 -1
- package/utils/defaultTheme.d.ts +501 -0
- package/Accordion/index.d.ts +0 -2
- package/Avatar/types.d.ts +0 -6
- 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/types.d.ts +0 -10
- package/Card/Card.d.ts +0 -4
- package/Checkbox/Checkbox.d.ts +0 -20
- package/Container/Container.d.ts +0 -3
- package/ContextMenu/ContextMenu.d.ts +0 -24
- package/DateInput/DateInput.d.ts +0 -18
- package/Dialog/Dialog.d.ts +0 -3
- package/Drawer/Drawer.d.ts +0 -11
- package/Input/Input.d.ts +0 -21
- package/Loader/index.d.ts +0 -2
- package/Modal/Modal.d.ts +0 -7
- package/ModalOverlay/ModalOverlay.d.ts +0 -3
- package/NavigationMenu/NavigationMenu.d.ts +0 -2
- 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/Tabs/types.d.ts +0 -13
- package/Tooltip/Tooltip.d.ts +0 -4
- package/index.d.ts +0 -47
- package/index.js +0 -39
- package/index.mjs +0 -15759
- package/style.css +0 -1
- /package/{Button → components/Button}/Button.d.ts +0 -0
- /package/{Divider/types.d.ts → components/Divider/Divider.types.d.ts} +0 -0
- /package/{ToggleButton/types.d.ts → components/ToggleButton/ToggleButton.types.d.ts} +0 -0
package/Radio/Radio.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { RadioRenderProps, RadioProps as UiRadioProps } from 'react-aria-components';
|
|
3
|
-
import type { SlotsToClasses } from '../types';
|
|
4
|
-
interface RadioSlots {
|
|
5
|
-
control?: ReactNode | ((values: RadioRenderProps) => ReactNode);
|
|
6
|
-
}
|
|
7
|
-
export interface RadioProps extends UiRadioProps {
|
|
8
|
-
children?: ReactNode | ((values: RadioRenderProps) => ReactNode);
|
|
9
|
-
slots?: RadioSlots;
|
|
10
|
-
classNames?: SlotsToClasses<'control'>;
|
|
11
|
-
}
|
|
12
|
-
export declare function Radio({ children, slots, className, classNames, ...props }: RadioProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export declare namespace Radio {
|
|
14
|
-
var defaultProps: {
|
|
15
|
-
children: undefined;
|
|
16
|
-
slots: undefined;
|
|
17
|
-
classNames: undefined;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export default Radio;
|
package/Select/Option.d.ts
DELETED
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/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/Tooltip/Tooltip.d.ts
DELETED
package/index.d.ts
DELETED
|
@@ -1,47 +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 './Divider/Divider';
|
|
22
|
-
export * from './Divider/types';
|
|
23
|
-
export * from './Input/Input';
|
|
24
|
-
export * from './Link/Link';
|
|
25
|
-
export * from './Meter/Meter';
|
|
26
|
-
export * from './Modal/Modal';
|
|
27
|
-
export * from './ModalOverlay/ModalOverlay';
|
|
28
|
-
export * from './Dialog/Dialog';
|
|
29
|
-
export * from './Drawer/Drawer';
|
|
30
|
-
export * from './NumberInput/NumberInput';
|
|
31
|
-
export * from './PinInput/PinInput';
|
|
32
|
-
export * from './Progressbar';
|
|
33
|
-
export * from './Radio/Radio';
|
|
34
|
-
export * from './Select/Option';
|
|
35
|
-
export * from './Select/Select';
|
|
36
|
-
export * from './Slider/Slider';
|
|
37
|
-
export * from './Switch/Switch';
|
|
38
|
-
export * from './Tabs/Tab';
|
|
39
|
-
export * from './Tabs/TabList';
|
|
40
|
-
export * from './Tabs/TabPanel';
|
|
41
|
-
export * from './Tabs/Tabs';
|
|
42
|
-
export * from './TimeInput/TimeInput';
|
|
43
|
-
export * from './ToggleButton/ToggleButton';
|
|
44
|
-
export * from './Tooltip/Tooltip';
|
|
45
|
-
export * from './Loader';
|
|
46
|
-
export * from './NavigationMenu/NavigationMenu';
|
|
47
|
-
export * from './utils';
|