@livechat/design-system-react-components 1.0.0-y.0 → 1.0.0
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/dist/dsrc.cjs.js +12 -9
- package/dist/dsrc.es.js +3859 -3543
- package/dist/preview-stats.json +3856 -0
- package/dist/style.css +1 -1
- package/package.json +25 -21
- package/dist/dsrc.umd.js +0 -15
- package/dist/shadow/shadow.css +0 -7
- package/dist/shadow/shadow.css.map +0 -1
- package/dist/shadow/spacing.css +0 -18
- package/dist/shadow/spacing.css.map +0 -1
- package/dist/spacing/shadow.css +0 -7
- package/dist/spacing/shadow.css.map +0 -1
- package/dist/spacing/spacing.css +0 -18
- package/dist/spacing/spacing.css.map +0 -1
- package/dist/src/components/Alert/Alert.d.ts +0 -9
- package/dist/src/components/Alert/index.d.ts +0 -1
- package/dist/src/components/Avatar/Avatar.d.ts +0 -19
- package/dist/src/components/Avatar/Avatar.helpers.d.ts +0 -2
- package/dist/src/components/Avatar/index.d.ts +0 -1
- package/dist/src/components/Badge/Badge.d.ts +0 -9
- package/dist/src/components/Badge/Badge.helpers.d.ts +0 -1
- package/dist/src/components/Badge/index.d.ts +0 -1
- package/dist/src/components/Button/Button.d.ts +0 -14
- package/dist/src/components/Button/index.d.ts +0 -2
- package/dist/src/components/Card/Card.d.ts +0 -12
- package/dist/src/components/Card/index.d.ts +0 -2
- package/dist/src/components/Checkbox/Checkbox.d.ts +0 -7
- package/dist/src/components/Checkbox/index.d.ts +0 -1
- package/dist/src/components/DatePicker/DatePicker.d.ts +0 -4
- package/dist/src/components/DatePicker/DatePickerNavbar.d.ts +0 -4
- package/dist/src/components/DatePicker/RangeDatePicker.d.ts +0 -16
- package/dist/src/components/DatePicker/helpers.d.ts +0 -39
- package/dist/src/components/DatePicker/hooks.d.ts +0 -6
- package/dist/src/components/DatePicker/index.d.ts +0 -2
- package/dist/src/components/DatePicker/types.d.ts +0 -100
- package/dist/src/components/FieldDescription/FieldDescription.d.ts +0 -3
- package/dist/src/components/FieldDescription/index.d.ts +0 -1
- package/dist/src/components/FieldError/FieldError.d.ts +0 -3
- package/dist/src/components/FieldError/index.d.ts +0 -1
- package/dist/src/components/FieldGroup/FieldGroup.d.ts +0 -8
- package/dist/src/components/FieldGroup/index.d.ts +0 -1
- package/dist/src/components/FileUploadProgress/FileUploadProgress.d.ts +0 -15
- package/dist/src/components/FileUploadProgress/FileUploadProgressActions.d.ts +0 -9
- package/dist/src/components/FileUploadProgress/index.d.ts +0 -2
- package/dist/src/components/Form/Form.d.ts +0 -7
- package/dist/src/components/Form/index.d.ts +0 -2
- package/dist/src/components/FormField/FormField.d.ts +0 -13
- package/dist/src/components/FormField/index.d.ts +0 -1
- package/dist/src/components/FormGroup/FormGroup.d.ts +0 -7
- package/dist/src/components/FormGroup/index.d.ts +0 -1
- package/dist/src/components/Icon/Icon.d.ts +0 -14
- package/dist/src/components/Icon/index.d.ts +0 -1
- package/dist/src/components/Input/Input.d.ts +0 -14
- package/dist/src/components/Input/index.d.ts +0 -1
- package/dist/src/components/Link/Link.d.ts +0 -14
- package/dist/src/components/Link/index.d.ts +0 -1
- package/dist/src/components/Loader/Loader.d.ts +0 -10
- package/dist/src/components/Loader/index.d.ts +0 -1
- package/dist/src/components/Modal/Modal.d.ts +0 -9
- package/dist/src/components/Modal/ModalBase.d.ts +0 -7
- package/dist/src/components/Modal/ModalCloseButton.d.ts +0 -6
- package/dist/src/components/Modal/ModalPortal.d.ts +0 -7
- package/dist/src/components/Modal/index.d.ts +0 -8
- package/dist/src/components/NumericInput/NumericInput.d.ts +0 -14
- package/dist/src/components/NumericInput/index.d.ts +0 -1
- package/dist/src/components/Picker/Picker.d.ts +0 -23
- package/dist/src/components/Picker/PickerList.d.ts +0 -23
- package/dist/src/components/Picker/Trigger.d.ts +0 -15
- package/dist/src/components/Picker/TriggerBody.d.ts +0 -16
- package/dist/src/components/Picker/constants.d.ts +0 -21
- package/dist/src/components/Picker/index.d.ts +0 -2
- package/dist/src/components/Popover/Popover.d.ts +0 -12
- package/dist/src/components/Popover/index.d.ts +0 -1
- package/dist/src/components/Progress/ProgressBar.d.ts +0 -9
- package/dist/src/components/Progress/ProgressCircle.d.ts +0 -9
- package/dist/src/components/Progress/constants.d.ts +0 -4
- package/dist/src/components/Progress/helpers.d.ts +0 -3
- package/dist/src/components/Progress/index.d.ts +0 -2
- package/dist/src/components/PromoBanner/PromoBanner.d.ts +0 -13
- package/dist/src/components/PromoBanner/index.d.ts +0 -1
- package/dist/src/components/RadioButton/RadioButton.d.ts +0 -7
- package/dist/src/components/RadioButton/index.d.ts +0 -1
- package/dist/src/components/Search/Search.d.ts +0 -12
- package/dist/src/components/Search/index.d.ts +0 -1
- package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +0 -18
- package/dist/src/components/SegmentedControl/index.d.ts +0 -2
- package/dist/src/components/Switch/Switch.d.ts +0 -17
- package/dist/src/components/Switch/index.d.ts +0 -1
- package/dist/src/components/Tab/Tab.d.ts +0 -15
- package/dist/src/components/Tab/TabsWrapper.d.ts +0 -3
- package/dist/src/components/Tab/index.d.ts +0 -2
- package/dist/src/components/Tag/Tag.d.ts +0 -14
- package/dist/src/components/Tag/index.d.ts +0 -1
- package/dist/src/components/TagInput/EditableTag.d.ts +0 -11
- package/dist/src/components/TagInput/EditableTagContent.d.ts +0 -11
- package/dist/src/components/TagInput/EmailTagInput.d.ts +0 -5
- package/dist/src/components/TagInput/TagInput.d.ts +0 -13
- package/dist/src/components/TagInput/index.d.ts +0 -4
- package/dist/src/components/Textarea/Textarea.d.ts +0 -6
- package/dist/src/components/Textarea/index.d.ts +0 -1
- package/dist/src/components/Toast/Toast.d.ts +0 -16
- package/dist/src/components/Toast/ToastWrapper.d.ts +0 -20
- package/dist/src/components/Toast/index.d.ts +0 -2
- package/dist/src/components/Tooltip/Info.d.ts +0 -8
- package/dist/src/components/Tooltip/Interactive.d.ts +0 -14
- package/dist/src/components/Tooltip/Simple.d.ts +0 -4
- package/dist/src/components/Tooltip/SpotlightOverlay.d.ts +0 -7
- package/dist/src/components/Tooltip/Tooltip.d.ts +0 -22
- package/dist/src/components/Tooltip/UserGuide.d.ts +0 -12
- package/dist/src/components/Tooltip/helpers.d.ts +0 -2
- package/dist/src/components/Tooltip/index.d.ts +0 -5
- package/dist/src/components/Tooltip/virtualElementReference.d.ts +0 -9
- package/dist/src/components/Typography/Heading.d.ts +0 -11
- package/dist/src/components/Typography/Text.d.ts +0 -15
- package/dist/src/components/Typography/index.d.ts +0 -2
- package/dist/src/components/UploadBar/UploadBar.d.ts +0 -16
- package/dist/src/components/UploadBar/index.d.ts +0 -1
- package/dist/src/foundations/shadow-token.d.ts +0 -5
- package/dist/src/foundations/spacing-token.d.ts +0 -16
- package/dist/src/index.d.ts +0 -41
- package/dist/src/themes/design-token.d.ts +0 -226
- package/dist/src/utils/constants.d.ts +0 -1
- package/dist/src/utils/index.d.ts +0 -1
- package/dist/src/utils/keyCodes.d.ts +0 -12
- package/dist/src/utils/noop.d.ts +0 -1
- package/dist/src/vite-env.d.ts +0 -1
- package/dist/themes/dark.css +0 -236
- package/dist/themes/dark.css.map +0 -1
- package/dist/themes/legacy.css +0 -237
- package/dist/themes/legacy.css.map +0 -1
- package/dist/themes/light.css +0 -236
- package/dist/themes/light.css.map +0 -1
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare const baseClass = "switch";
|
|
3
|
-
export declare type SwitchSize = 'compact' | 'medium' | 'large';
|
|
4
|
-
export declare type SwitchState = 'regular' | 'loading' | 'locked';
|
|
5
|
-
export interface SwitchProps {
|
|
6
|
-
ariaLabel?: string;
|
|
7
|
-
className?: string;
|
|
8
|
-
defaultOn?: boolean;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
innerRef?: React.LegacyRef<HTMLInputElement> | undefined;
|
|
11
|
-
name?: string;
|
|
12
|
-
on?: boolean;
|
|
13
|
-
onChange?(e: React.FormEvent, value: boolean): void;
|
|
14
|
-
size?: SwitchSize;
|
|
15
|
-
state?: SwitchState;
|
|
16
|
-
}
|
|
17
|
-
export declare const Switch: React.FC<SwitchProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Switch } from './Switch';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Size } from 'utils';
|
|
3
|
-
declare type HTMLProps = (React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
4
|
-
href: string;
|
|
5
|
-
}) | (React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
6
|
-
href?: never;
|
|
7
|
-
});
|
|
8
|
-
export declare type TabProps = HTMLProps & {
|
|
9
|
-
count?: number;
|
|
10
|
-
isSelected?: boolean;
|
|
11
|
-
asBadge?: boolean;
|
|
12
|
-
size?: Size;
|
|
13
|
-
};
|
|
14
|
-
export declare const Tab: React.FC<TabProps>;
|
|
15
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IconSize, IconSource } from '../Icon';
|
|
3
|
-
export interface TagProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
kind?: 'default' | 'info' | 'warning' | 'success' | 'error';
|
|
5
|
-
size?: 'medium' | 'large';
|
|
6
|
-
iconSize?: IconSize;
|
|
7
|
-
customColor?: string;
|
|
8
|
-
dismissible?: boolean;
|
|
9
|
-
outline?: boolean;
|
|
10
|
-
onRemove?(): void;
|
|
11
|
-
icon?: IconSource;
|
|
12
|
-
avatar?: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const Tag: React.FC<TagProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Tag } from './Tag';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface EditableTagProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
inputRef: React.RefObject<HTMLInputElement>;
|
|
4
|
-
index: number;
|
|
5
|
-
update: (idx: number, value: string) => void;
|
|
6
|
-
remove: (idx: number) => void;
|
|
7
|
-
validator?: (val: string) => boolean;
|
|
8
|
-
children: string;
|
|
9
|
-
size: 'medium' | 'large';
|
|
10
|
-
}
|
|
11
|
-
export declare const EditableTag: React.FC<EditableTagProps>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface EditableTagContentProps {
|
|
3
|
-
value: string;
|
|
4
|
-
className?: string;
|
|
5
|
-
innerEditableRef: React.RefObject<HTMLDivElement>;
|
|
6
|
-
inputRef: React.RefObject<HTMLInputElement>;
|
|
7
|
-
change: (value: string) => void;
|
|
8
|
-
remove: () => void;
|
|
9
|
-
validator?: (value: string) => boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const EditableTagContent: React.FC<EditableTagContentProps>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare type Tags = string[];
|
|
3
|
-
export interface TagInputProps {
|
|
4
|
-
id?: string;
|
|
5
|
-
error?: string;
|
|
6
|
-
tags?: Tags;
|
|
7
|
-
onChange: (tags: Tags) => void;
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
validator?: (val: string) => boolean;
|
|
10
|
-
size?: 'medium' | 'large';
|
|
11
|
-
}
|
|
12
|
-
export declare const TagInput: React.FC<TagInputProps>;
|
|
13
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
3
|
-
className?: string;
|
|
4
|
-
error?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Textarea } from './Textarea';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare type ToastKind = 'success' | 'warning' | 'error' | 'info';
|
|
3
|
-
declare type ToastAction = {
|
|
4
|
-
onClick: () => void;
|
|
5
|
-
label: string;
|
|
6
|
-
closesOnClick?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export interface ToastProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
9
|
-
action?: ToastAction;
|
|
10
|
-
className?: string;
|
|
11
|
-
removable?: boolean;
|
|
12
|
-
kind?: ToastKind;
|
|
13
|
-
onClose?: () => void;
|
|
14
|
-
}
|
|
15
|
-
export declare const Toast: React.FC<ToastProps>;
|
|
16
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ToastProps, Toast } from './Toast';
|
|
3
|
-
declare type HorizontalPosition = 'left' | 'center' | 'right';
|
|
4
|
-
declare type VerticalPosition = 'top' | 'bottom';
|
|
5
|
-
export declare const ANIMATION_TIME = 200;
|
|
6
|
-
interface Toast extends ToastProps {
|
|
7
|
-
id: string;
|
|
8
|
-
content: React.ReactElement | string;
|
|
9
|
-
}
|
|
10
|
-
export interface ToastWrapperProps {
|
|
11
|
-
className?: string;
|
|
12
|
-
toasts: Toast[];
|
|
13
|
-
fixed?: boolean;
|
|
14
|
-
block?: boolean;
|
|
15
|
-
animationType?: string;
|
|
16
|
-
verticalPosition?: VerticalPosition;
|
|
17
|
-
horizontalPosition?: HorizontalPosition;
|
|
18
|
-
}
|
|
19
|
-
export declare const ToastWrapper: React.FC<ToastWrapperProps>;
|
|
20
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare const Interactive: React.FC<{
|
|
3
|
-
header: string;
|
|
4
|
-
text: string;
|
|
5
|
-
image?: {
|
|
6
|
-
src: string;
|
|
7
|
-
alt: string;
|
|
8
|
-
};
|
|
9
|
-
closeWithX?: boolean;
|
|
10
|
-
theme?: 'invert' | 'important';
|
|
11
|
-
handleClickPrimary: () => void;
|
|
12
|
-
handleClickSecondary: () => void;
|
|
13
|
-
handleCloseAction?: (ev: React.MouseEvent) => void;
|
|
14
|
-
}>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Placement, VirtualElement } from '@floating-ui/react-dom';
|
|
3
|
-
export interface ITooltipProps {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
theme?: 'invert' | 'important' | undefined;
|
|
7
|
-
placement?: Placement;
|
|
8
|
-
isVisible?: boolean;
|
|
9
|
-
withFadeAnimation?: boolean;
|
|
10
|
-
transitionDuration?: number;
|
|
11
|
-
transitionDelay?: number;
|
|
12
|
-
hoverOutDelayTimeout?: number;
|
|
13
|
-
offsetMainAxis?: number;
|
|
14
|
-
triggerOnClick?: boolean;
|
|
15
|
-
arrowOffsetY?: number;
|
|
16
|
-
arrowOffsetX?: number;
|
|
17
|
-
triggerRenderer: () => React.ReactNode;
|
|
18
|
-
referenceElement?: VirtualElement;
|
|
19
|
-
onOpen?: () => void;
|
|
20
|
-
onClose?: () => void;
|
|
21
|
-
}
|
|
22
|
-
export declare const Tooltip: React.FC<ITooltipProps>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ModalPortalProps } from '../Modal/';
|
|
3
|
-
import { ITooltipProps } from './Tooltip';
|
|
4
|
-
interface IOwnProps {
|
|
5
|
-
shouldSlide?: boolean;
|
|
6
|
-
className?: string;
|
|
7
|
-
disableSpotlightPointerEvents?: boolean;
|
|
8
|
-
}
|
|
9
|
-
interface IUserGuide extends IOwnProps, ITooltipProps, Omit<ModalPortalProps, 'children'> {
|
|
10
|
-
}
|
|
11
|
-
export declare const UserGuide: React.FC<IUserGuide>;
|
|
12
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export default class VirtualReference {
|
|
2
|
-
element: Element;
|
|
3
|
-
padding: number;
|
|
4
|
-
constructor(element: Element, padding: number);
|
|
5
|
-
addPadding(rect: DOMRect): Omit<DOMRect, 'toJSON'>;
|
|
6
|
-
getBoundingClientRect(): Omit<DOMRect, 'toJSON'>;
|
|
7
|
-
get clientWidth(): number;
|
|
8
|
-
get clientHeight(): number;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare type TSize = 'xl' | 'lg' | 'md' | 'sm' | 'xs';
|
|
3
|
-
interface IProps {
|
|
4
|
-
size?: TSize;
|
|
5
|
-
/** DOM element name that will be rendered */
|
|
6
|
-
as?: string;
|
|
7
|
-
/** Optional custom className */
|
|
8
|
-
className?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const Heading: React.FC<IProps>;
|
|
11
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare type TSize = 'md' | 'sm' | 'xs';
|
|
3
|
-
interface IProps {
|
|
4
|
-
/** DOM element name that will be rendered */
|
|
5
|
-
as?: string;
|
|
6
|
-
size?: TSize;
|
|
7
|
-
/** Optional custom className */
|
|
8
|
-
className?: string;
|
|
9
|
-
caps?: boolean;
|
|
10
|
-
bold?: boolean;
|
|
11
|
-
underline?: boolean;
|
|
12
|
-
strike?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const Text: React.FC<IProps>;
|
|
15
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ProgressStatus, ProgressSize } from '../Progress/constants';
|
|
3
|
-
export interface UploadBarProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
progressValue: number;
|
|
6
|
-
title: string;
|
|
7
|
-
isExpanded?: boolean;
|
|
8
|
-
errorMessage?: string;
|
|
9
|
-
status?: ProgressStatus;
|
|
10
|
-
icon?: React.ReactNode;
|
|
11
|
-
size?: ProgressSize;
|
|
12
|
-
mode?: 'single' | 'multiple';
|
|
13
|
-
onCloseButtonClick?: () => void;
|
|
14
|
-
onRetryButtonClick?: () => void;
|
|
15
|
-
}
|
|
16
|
-
export declare const UploadBar: React.FC<UploadBarProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './UploadBar';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare const SpacingToken: {
|
|
2
|
-
Spacing0: string;
|
|
3
|
-
Spacing05: string;
|
|
4
|
-
Spacing1: string;
|
|
5
|
-
Spacing2: string;
|
|
6
|
-
Spacing3: string;
|
|
7
|
-
Spacing4: string;
|
|
8
|
-
Spacing5: string;
|
|
9
|
-
Spacing6: string;
|
|
10
|
-
Spacing8: string;
|
|
11
|
-
Spacing12: string;
|
|
12
|
-
Spacing16: string;
|
|
13
|
-
Spacing18: string;
|
|
14
|
-
Spacing20: string;
|
|
15
|
-
Spacing24: string;
|
|
16
|
-
};
|
package/dist/src/index.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export { DesignToken } from './themes/design-token';
|
|
2
|
-
export { SpacingToken } from './foundations/spacing-token';
|
|
3
|
-
export { ShadowToken } from './foundations/shadow-token';
|
|
4
|
-
export type { Size } from './utils';
|
|
5
|
-
export * from './components/Alert';
|
|
6
|
-
export * from './components/Avatar';
|
|
7
|
-
export * from './components/Badge';
|
|
8
|
-
export * from './components/Button';
|
|
9
|
-
export * from './components/SegmentedControl';
|
|
10
|
-
export * from './components/Card';
|
|
11
|
-
export * from './components/Checkbox';
|
|
12
|
-
export * from './components/DatePicker';
|
|
13
|
-
export * from './components/FieldDescription';
|
|
14
|
-
export * from './components/FieldError';
|
|
15
|
-
export * from './components/FieldGroup';
|
|
16
|
-
export * from './components/Form';
|
|
17
|
-
export * from './components/FormField';
|
|
18
|
-
export * from './components/FormGroup';
|
|
19
|
-
export * from './components/Icon';
|
|
20
|
-
export * from './components/Input';
|
|
21
|
-
export * from './components/Link';
|
|
22
|
-
export * from './components/Loader';
|
|
23
|
-
export * from './components/Modal';
|
|
24
|
-
export * from './components/NumericInput';
|
|
25
|
-
export * from './components/Picker';
|
|
26
|
-
export * from './components/Popover';
|
|
27
|
-
export * from './components/Progress';
|
|
28
|
-
export * from './components/PromoBanner';
|
|
29
|
-
export * from './components/RadioButton';
|
|
30
|
-
export * from './components/Search';
|
|
31
|
-
export * from './components/Switch';
|
|
32
|
-
export * from './components/Tab';
|
|
33
|
-
export * from './components/Tag';
|
|
34
|
-
export * from './components/TagInput';
|
|
35
|
-
export * from './components/FormField';
|
|
36
|
-
export * from './components/Toast';
|
|
37
|
-
export * from './components/Tooltip';
|
|
38
|
-
export * from './components/Typography';
|
|
39
|
-
export * from './components/Textarea';
|
|
40
|
-
export * from './components/FileUploadProgress';
|
|
41
|
-
export * from './components/UploadBar';
|
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
export declare const DesignToken: {
|
|
2
|
-
Background: string;
|
|
3
|
-
Background01: string;
|
|
4
|
-
Background02: string;
|
|
5
|
-
Background03: string;
|
|
6
|
-
SurfaceBasicDefault: string;
|
|
7
|
-
SurfacePrimaryDefault: string;
|
|
8
|
-
SurfaceBasicSubtle: string;
|
|
9
|
-
SurfaceSecondaryDefault: string;
|
|
10
|
-
SurfaceSecondaryHover: string;
|
|
11
|
-
SurfaceSecondaryActive: string;
|
|
12
|
-
SurfaceSecondaryDisabled: string;
|
|
13
|
-
SurfaceBasicHover: string;
|
|
14
|
-
SurfacePrimaryHover: string;
|
|
15
|
-
SurfaceBasicActive: string;
|
|
16
|
-
SurfacePrimaryActive: string;
|
|
17
|
-
SurfacePrimaryActiveColored: string;
|
|
18
|
-
SurfaceBasicDisabled: string;
|
|
19
|
-
SurfacePrimaryDisabled: string;
|
|
20
|
-
SurfaceTertiaryDefault: string;
|
|
21
|
-
SurfaceSecondarySubtle: string;
|
|
22
|
-
SurfaceModerateDefault: string;
|
|
23
|
-
SurfaceModerateHover: string;
|
|
24
|
-
SurfaceModerateActive: string;
|
|
25
|
-
SurfaceTertiaryHover: string;
|
|
26
|
-
SurfaceTertiaryActive: string;
|
|
27
|
-
SurfaceTertiaryDisabled: string;
|
|
28
|
-
SurfaceFeedbackInfo: string;
|
|
29
|
-
SurfaceAccentEmphasisLowInfo: string;
|
|
30
|
-
SurfaceFeedbackNegative: string;
|
|
31
|
-
SurfaceAccentEmphasisLowNegative: string;
|
|
32
|
-
SurfaceFeedbackWarning: string;
|
|
33
|
-
SurfaceAccentEmphasisLowWarning: string;
|
|
34
|
-
SurfaceFeedbackPositive: string;
|
|
35
|
-
SurfaceAccentEmphasisLowPositive: string;
|
|
36
|
-
SurfaceAccentEmphasisLowPurple: string;
|
|
37
|
-
SurfaceAccentEmphasisMinInfo: string;
|
|
38
|
-
SurfaceAccentEmphasisMinNegative: string;
|
|
39
|
-
SurfaceAccentEmphasisMinWarning: string;
|
|
40
|
-
SurfaceAccentEmphasisMinPositive: string;
|
|
41
|
-
SurfaceAccentEmphasisMinPurple: string;
|
|
42
|
-
SurfaceInvertDefault: string;
|
|
43
|
-
SurfaceInvertPrimary: string;
|
|
44
|
-
SurfaceInvertSubtle: string;
|
|
45
|
-
SurfaceInvertSecondary: string;
|
|
46
|
-
SurfaceInvertDisabled: string;
|
|
47
|
-
SurfaceLockedDefault: string;
|
|
48
|
-
SurfaceLockedHover: string;
|
|
49
|
-
SurfaceLockedActive: string;
|
|
50
|
-
SurfaceLockedDisabled: string;
|
|
51
|
-
SurfaceLockedWhite: string;
|
|
52
|
-
SurfaceLockedBlack: string;
|
|
53
|
-
SurfaceAccentEmphasisHighInfo: string;
|
|
54
|
-
SurfaceAccentEmphasisHighNegative: string;
|
|
55
|
-
SurfaceAccentEmphasisHighWarning: string;
|
|
56
|
-
SurfaceAccentEmphasisHighPositive: string;
|
|
57
|
-
SurfaceAccentEmphasisHighPurple: string;
|
|
58
|
-
SurfaceOverlay: string;
|
|
59
|
-
SurfaceOtherOverlay: string;
|
|
60
|
-
SurfaceOtherAgent: string;
|
|
61
|
-
SurfaceOtherSkeleton: string;
|
|
62
|
-
ContentDefault: string;
|
|
63
|
-
ContentBasicPrimary: string;
|
|
64
|
-
ContentSubtle: string;
|
|
65
|
-
ContentBasicSecondary: string;
|
|
66
|
-
ContentDisabled: string;
|
|
67
|
-
ContentBasicDisabled: string;
|
|
68
|
-
ContentBasicNegative: string;
|
|
69
|
-
ContentBasicWarning: string;
|
|
70
|
-
ContentBasicPositive: string;
|
|
71
|
-
ContentBasicInfo: string;
|
|
72
|
-
ContentBasicPurple: string;
|
|
73
|
-
ContentBasicGradient01: string;
|
|
74
|
-
ContentWhiteLocked: string;
|
|
75
|
-
ContentLockedWhite: string;
|
|
76
|
-
ContentBlackLocked: string;
|
|
77
|
-
ContentLockedBlack: string;
|
|
78
|
-
ContentLockedDefault: string;
|
|
79
|
-
ContentLockedHover: string;
|
|
80
|
-
ContentLockedActive: string;
|
|
81
|
-
ContentLockedDisabled: string;
|
|
82
|
-
ContentInvertDefault: string;
|
|
83
|
-
ContentInvertPrimary: string;
|
|
84
|
-
ContentInvertSubtle: string;
|
|
85
|
-
ContentInvertSecondary: string;
|
|
86
|
-
ContentInvertDisabled: string;
|
|
87
|
-
ContentInvertGradient01: string;
|
|
88
|
-
BorderDefault: string;
|
|
89
|
-
BorderBasicPrimary: string;
|
|
90
|
-
BorderBasicSecondary: string;
|
|
91
|
-
BorderSubtle: string;
|
|
92
|
-
BorderBasicTertiary: string;
|
|
93
|
-
BorderHover: string;
|
|
94
|
-
BorderBasicHover: string;
|
|
95
|
-
BorderDisabled: string;
|
|
96
|
-
BorderBasicDisabled: string;
|
|
97
|
-
BorderBasicNegative: string;
|
|
98
|
-
BorderBasicWarning: string;
|
|
99
|
-
BorderBasicPositive: string;
|
|
100
|
-
BorderBasicInfo: string;
|
|
101
|
-
BorderBasicPurple: string;
|
|
102
|
-
BorderInvertDefault: string;
|
|
103
|
-
BorderInvertPrimary: string;
|
|
104
|
-
BorderInvertSubtle: string;
|
|
105
|
-
BorderInvertSecondary: string;
|
|
106
|
-
BorderInvertHover: string;
|
|
107
|
-
BorderInvertDisabled: string;
|
|
108
|
-
ColorActionActive: string;
|
|
109
|
-
ActionPrimaryActive: string;
|
|
110
|
-
ColorActionHover: string;
|
|
111
|
-
ActionPrimaryHover: string;
|
|
112
|
-
ColorActionDefault: string;
|
|
113
|
-
ActionPrimaryDefault: string;
|
|
114
|
-
ColorActionDefaultRgb: string;
|
|
115
|
-
ColorActionDisabled: string;
|
|
116
|
-
ActionPrimaryDisabled: string;
|
|
117
|
-
ColorNegativeActive: string;
|
|
118
|
-
ActionNegativeActive: string;
|
|
119
|
-
ColorNegativeHover: string;
|
|
120
|
-
ActionNegativeHover: string;
|
|
121
|
-
ColorNegativeDefault: string;
|
|
122
|
-
ActionNegativeDefault: string;
|
|
123
|
-
ColorNegativeDisabled: string;
|
|
124
|
-
ActionNegativeDisabled: string;
|
|
125
|
-
ColorWarningDefault: string;
|
|
126
|
-
ActionWarningDefault: string;
|
|
127
|
-
ColorWarningHover: string;
|
|
128
|
-
ActionWarningHover: string;
|
|
129
|
-
ColorPositiveDefault: string;
|
|
130
|
-
ActionPositiveDefault: string;
|
|
131
|
-
ColorPositiveHover: string;
|
|
132
|
-
ActionPositiveHover: string;
|
|
133
|
-
ColorPositiveDisabled: string;
|
|
134
|
-
ActionPositiveDisabled: string;
|
|
135
|
-
ActionNeutralDefault: string;
|
|
136
|
-
ActionNeutralHover: string;
|
|
137
|
-
ActionNeutralDisabled: string;
|
|
138
|
-
ColorBot: string;
|
|
139
|
-
SurfaceOtherBot: string;
|
|
140
|
-
ColorBlack: string;
|
|
141
|
-
ColorWhite: string;
|
|
142
|
-
DecorBlue900: string;
|
|
143
|
-
DecorBlue800: string;
|
|
144
|
-
DecorBlue700: string;
|
|
145
|
-
DecorBlue600: string;
|
|
146
|
-
DecorBlue500: string;
|
|
147
|
-
DecorBlue400: string;
|
|
148
|
-
DecorBlue300: string;
|
|
149
|
-
DecorBlue200: string;
|
|
150
|
-
DecorBlue100: string;
|
|
151
|
-
DecorBlue50: string;
|
|
152
|
-
DecorOrange900: string;
|
|
153
|
-
DecorOrange800: string;
|
|
154
|
-
DecorOrange700: string;
|
|
155
|
-
DecorOrange600: string;
|
|
156
|
-
DecorOrange500: string;
|
|
157
|
-
DecorOrange400: string;
|
|
158
|
-
DecorOrange300: string;
|
|
159
|
-
DecorOrange200: string;
|
|
160
|
-
DecorOrange100: string;
|
|
161
|
-
DecorOrange50: string;
|
|
162
|
-
DecorYellow900: string;
|
|
163
|
-
DecorYellow800: string;
|
|
164
|
-
DecorYellow700: string;
|
|
165
|
-
DecorYellow600: string;
|
|
166
|
-
DecorYellow500: string;
|
|
167
|
-
DecorYellow400: string;
|
|
168
|
-
DecorYellow300: string;
|
|
169
|
-
DecorYellow200: string;
|
|
170
|
-
DecorYellow100: string;
|
|
171
|
-
DecorYellow50: string;
|
|
172
|
-
DecorGray950: string;
|
|
173
|
-
DecorGray900: string;
|
|
174
|
-
DecorGray800: string;
|
|
175
|
-
DecorGray700: string;
|
|
176
|
-
DecorGray600: string;
|
|
177
|
-
DecorGray500: string;
|
|
178
|
-
DecorGray400: string;
|
|
179
|
-
DecorGray300: string;
|
|
180
|
-
DecorGray200: string;
|
|
181
|
-
DecorGray150: string;
|
|
182
|
-
DecorGray100: string;
|
|
183
|
-
DecorGray75: string;
|
|
184
|
-
DecorGray50: string;
|
|
185
|
-
DecorGray40: string;
|
|
186
|
-
DecorGray20: string;
|
|
187
|
-
DecorGreen900: string;
|
|
188
|
-
DecorGreen800: string;
|
|
189
|
-
DecorGreen700: string;
|
|
190
|
-
DecorGreen600: string;
|
|
191
|
-
DecorGreen500: string;
|
|
192
|
-
DecorGreen400: string;
|
|
193
|
-
DecorGreen300: string;
|
|
194
|
-
DecorGreen200: string;
|
|
195
|
-
DecorGreen100: string;
|
|
196
|
-
DecorGreen50: string;
|
|
197
|
-
DecorRed900: string;
|
|
198
|
-
DecorRed800: string;
|
|
199
|
-
DecorRed700: string;
|
|
200
|
-
DecorRed600: string;
|
|
201
|
-
DecorRed500: string;
|
|
202
|
-
DecorRed400: string;
|
|
203
|
-
DecorRed300: string;
|
|
204
|
-
DecorRed200: string;
|
|
205
|
-
DecorRed100: string;
|
|
206
|
-
DecorRed50: string;
|
|
207
|
-
DecorPurple900: string;
|
|
208
|
-
DecorPurple800: string;
|
|
209
|
-
DecorPurple700: string;
|
|
210
|
-
DecorPurple600: string;
|
|
211
|
-
DecorPurple500: string;
|
|
212
|
-
DecorPurple400: string;
|
|
213
|
-
DecorPurple300: string;
|
|
214
|
-
DecorPurple200: string;
|
|
215
|
-
DecorPurple100: string;
|
|
216
|
-
DecorPurple50: string;
|
|
217
|
-
ProductsLivechat: string;
|
|
218
|
-
ProductsHelpdesk: string;
|
|
219
|
-
ProductsChatbot: string;
|
|
220
|
-
ProductsKnowledgebase: string;
|
|
221
|
-
IllustrationsPrimary: string;
|
|
222
|
-
IllustrationsSecondary: string;
|
|
223
|
-
IllustrationsStroke: string;
|
|
224
|
-
TagSurface01: string;
|
|
225
|
-
TagContent01: string;
|
|
226
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare type Size = 'compact' | 'medium' | 'large';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { Size } from './constants';
|
package/dist/src/utils/noop.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function (): void;
|
package/dist/src/vite-env.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|