@livechat/design-system-react-components 1.0.0-alpha.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.
Files changed (131) hide show
  1. package/dist/dsrc.cjs.js +15 -0
  2. package/dist/dsrc.es.js +4415 -0
  3. package/dist/dsrc.umd.js +15 -0
  4. package/dist/shadow/shadow.css +7 -0
  5. package/dist/shadow/shadow.css.map +1 -0
  6. package/dist/shadow/spacing.css +18 -0
  7. package/dist/shadow/spacing.css.map +1 -0
  8. package/dist/spacing/shadow.css +7 -0
  9. package/dist/spacing/shadow.css.map +1 -0
  10. package/dist/spacing/spacing.css +18 -0
  11. package/dist/spacing/spacing.css.map +1 -0
  12. package/dist/src/components/Alert/Alert.d.ts +9 -0
  13. package/dist/src/components/Alert/index.d.ts +1 -0
  14. package/dist/src/components/Avatar/Avatar.d.ts +19 -0
  15. package/dist/src/components/Avatar/Avatar.helpers.d.ts +2 -0
  16. package/dist/src/components/Avatar/index.d.ts +1 -0
  17. package/dist/src/components/Badge/Badge.d.ts +9 -0
  18. package/dist/src/components/Badge/Badge.helpers.d.ts +1 -0
  19. package/dist/src/components/Badge/index.d.ts +1 -0
  20. package/dist/src/components/Button/Button.d.ts +14 -0
  21. package/dist/src/components/Button/index.d.ts +2 -0
  22. package/dist/src/components/Card/Card.d.ts +12 -0
  23. package/dist/src/components/Card/index.d.ts +2 -0
  24. package/dist/src/components/Checkbox/Checkbox.d.ts +7 -0
  25. package/dist/src/components/Checkbox/index.d.ts +1 -0
  26. package/dist/src/components/DatePicker/DatePicker.d.ts +4 -0
  27. package/dist/src/components/DatePicker/DatePickerNavbar.d.ts +4 -0
  28. package/dist/src/components/DatePicker/RangeDatePicker.d.ts +16 -0
  29. package/dist/src/components/DatePicker/helpers.d.ts +39 -0
  30. package/dist/src/components/DatePicker/hooks.d.ts +6 -0
  31. package/dist/src/components/DatePicker/index.d.ts +2 -0
  32. package/dist/src/components/DatePicker/types.d.ts +100 -0
  33. package/dist/src/components/FieldDescription/FieldDescription.d.ts +3 -0
  34. package/dist/src/components/FieldDescription/index.d.ts +1 -0
  35. package/dist/src/components/FieldError/FieldError.d.ts +3 -0
  36. package/dist/src/components/FieldError/index.d.ts +1 -0
  37. package/dist/src/components/FieldGroup/FieldGroup.d.ts +8 -0
  38. package/dist/src/components/FieldGroup/index.d.ts +1 -0
  39. package/dist/src/components/FileUploadProgress/FileUploadProgress.d.ts +15 -0
  40. package/dist/src/components/FileUploadProgress/FileUploadProgressActions.d.ts +9 -0
  41. package/dist/src/components/FileUploadProgress/index.d.ts +2 -0
  42. package/dist/src/components/Form/Form.d.ts +7 -0
  43. package/dist/src/components/Form/index.d.ts +2 -0
  44. package/dist/src/components/FormField/FormField.d.ts +13 -0
  45. package/dist/src/components/FormField/index.d.ts +1 -0
  46. package/dist/src/components/FormGroup/FormGroup.d.ts +7 -0
  47. package/dist/src/components/FormGroup/index.d.ts +1 -0
  48. package/dist/src/components/Icon/Icon.d.ts +14 -0
  49. package/dist/src/components/Icon/index.d.ts +1 -0
  50. package/dist/src/components/Input/Input.d.ts +14 -0
  51. package/dist/src/components/Input/index.d.ts +1 -0
  52. package/dist/src/components/Link/Link.d.ts +14 -0
  53. package/dist/src/components/Link/index.d.ts +1 -0
  54. package/dist/src/components/Loader/Loader.d.ts +10 -0
  55. package/dist/src/components/Loader/index.d.ts +1 -0
  56. package/dist/src/components/Modal/Modal.d.ts +9 -0
  57. package/dist/src/components/Modal/ModalBase.d.ts +7 -0
  58. package/dist/src/components/Modal/ModalCloseButton.d.ts +6 -0
  59. package/dist/src/components/Modal/ModalPortal.d.ts +7 -0
  60. package/dist/src/components/Modal/index.d.ts +8 -0
  61. package/dist/src/components/NumericInput/NumericInput.d.ts +14 -0
  62. package/dist/src/components/NumericInput/index.d.ts +1 -0
  63. package/dist/src/components/Picker/Picker.d.ts +23 -0
  64. package/dist/src/components/Picker/PickerList.d.ts +23 -0
  65. package/dist/src/components/Picker/Trigger.d.ts +15 -0
  66. package/dist/src/components/Picker/TriggerBody.d.ts +16 -0
  67. package/dist/src/components/Picker/constants.d.ts +21 -0
  68. package/dist/src/components/Picker/index.d.ts +2 -0
  69. package/dist/src/components/Popover/Popover.d.ts +12 -0
  70. package/dist/src/components/Popover/index.d.ts +1 -0
  71. package/dist/src/components/Progress/ProgressBar.d.ts +9 -0
  72. package/dist/src/components/Progress/ProgressCircle.d.ts +9 -0
  73. package/dist/src/components/Progress/constants.d.ts +4 -0
  74. package/dist/src/components/Progress/helpers.d.ts +3 -0
  75. package/dist/src/components/Progress/index.d.ts +2 -0
  76. package/dist/src/components/PromoBanner/PromoBanner.d.ts +13 -0
  77. package/dist/src/components/PromoBanner/index.d.ts +1 -0
  78. package/dist/src/components/RadioButton/RadioButton.d.ts +7 -0
  79. package/dist/src/components/RadioButton/index.d.ts +1 -0
  80. package/dist/src/components/Search/Search.d.ts +12 -0
  81. package/dist/src/components/Search/index.d.ts +1 -0
  82. package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +18 -0
  83. package/dist/src/components/SegmentedControl/index.d.ts +2 -0
  84. package/dist/src/components/Switch/Switch.d.ts +17 -0
  85. package/dist/src/components/Switch/index.d.ts +1 -0
  86. package/dist/src/components/Tab/Tab.d.ts +15 -0
  87. package/dist/src/components/Tab/TabsWrapper.d.ts +3 -0
  88. package/dist/src/components/Tab/index.d.ts +2 -0
  89. package/dist/src/components/Tag/Tag.d.ts +14 -0
  90. package/dist/src/components/Tag/index.d.ts +1 -0
  91. package/dist/src/components/TagInput/EditableTag.d.ts +11 -0
  92. package/dist/src/components/TagInput/EditableTagContent.d.ts +11 -0
  93. package/dist/src/components/TagInput/EmailTagInput.d.ts +5 -0
  94. package/dist/src/components/TagInput/TagInput.d.ts +13 -0
  95. package/dist/src/components/TagInput/index.d.ts +4 -0
  96. package/dist/src/components/Textarea/Textarea.d.ts +6 -0
  97. package/dist/src/components/Textarea/index.d.ts +1 -0
  98. package/dist/src/components/Toast/Toast.d.ts +16 -0
  99. package/dist/src/components/Toast/ToastWrapper.d.ts +20 -0
  100. package/dist/src/components/Toast/index.d.ts +2 -0
  101. package/dist/src/components/Tooltip/Info.d.ts +8 -0
  102. package/dist/src/components/Tooltip/Interactive.d.ts +14 -0
  103. package/dist/src/components/Tooltip/Simple.d.ts +4 -0
  104. package/dist/src/components/Tooltip/SpotlightOverlay.d.ts +7 -0
  105. package/dist/src/components/Tooltip/Tooltip.d.ts +22 -0
  106. package/dist/src/components/Tooltip/UserGuide.d.ts +12 -0
  107. package/dist/src/components/Tooltip/helpers.d.ts +2 -0
  108. package/dist/src/components/Tooltip/index.d.ts +5 -0
  109. package/dist/src/components/Tooltip/virtualElementReference.d.ts +9 -0
  110. package/dist/src/components/Typography/Heading.d.ts +11 -0
  111. package/dist/src/components/Typography/Text.d.ts +15 -0
  112. package/dist/src/components/Typography/index.d.ts +2 -0
  113. package/dist/src/components/UploadBar/UploadBar.d.ts +16 -0
  114. package/dist/src/components/UploadBar/index.d.ts +1 -0
  115. package/dist/src/foundations/shadow-token.d.ts +5 -0
  116. package/dist/src/foundations/spacing-token.d.ts +16 -0
  117. package/dist/src/index.d.ts +41 -0
  118. package/dist/src/themes/design-token.d.ts +226 -0
  119. package/dist/src/utils/constants.d.ts +1 -0
  120. package/dist/src/utils/index.d.ts +1 -0
  121. package/dist/src/utils/keyCodes.d.ts +12 -0
  122. package/dist/src/utils/noop.d.ts +1 -0
  123. package/dist/src/vite-env.d.ts +1 -0
  124. package/dist/style.css +1 -0
  125. package/dist/themes/dark.css +236 -0
  126. package/dist/themes/dark.css.map +1 -0
  127. package/dist/themes/legacy.css +237 -0
  128. package/dist/themes/legacy.css.map +1 -0
  129. package/dist/themes/light.css +236 -0
  130. package/dist/themes/light.css.map +1 -0
  131. package/package.json +83 -0
@@ -0,0 +1 @@
1
+ export { Tag } from './Tag';
@@ -0,0 +1,11 @@
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>;
@@ -0,0 +1,11 @@
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>;
@@ -0,0 +1,5 @@
1
+ import { TagInputProps } from './TagInput';
2
+ import * as React from 'react';
3
+ export declare type EmailTagInputProps = Omit<TagInputProps, 'validator'>;
4
+ export declare const emailRegex: RegExp;
5
+ export declare const EmailTagInput: React.FC<EmailTagInputProps>;
@@ -0,0 +1,13 @@
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 {};
@@ -0,0 +1,4 @@
1
+ export { TagInput } from './TagInput';
2
+ export type { TagInputProps } from './TagInput';
3
+ export { EmailTagInput } from './EmailTagInput';
4
+ export type { EmailTagInputProps } from './EmailTagInput';
@@ -0,0 +1,6 @@
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>>;
@@ -0,0 +1 @@
1
+ export { Textarea } from './Textarea';
@@ -0,0 +1,16 @@
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 {};
@@ -0,0 +1,20 @@
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 {};
@@ -0,0 +1,2 @@
1
+ export * from './Toast';
2
+ export * from './ToastWrapper';
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ export declare const Info: React.FC<{
3
+ header: string;
4
+ text: string;
5
+ closeWithX?: boolean;
6
+ theme?: string;
7
+ handleCloseAction?: (ev: React.MouseEvent) => void;
8
+ }>;
@@ -0,0 +1,14 @@
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
+ }>;
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ export declare const Simple: React.FC<{
3
+ text: string;
4
+ }>;
@@ -0,0 +1,7 @@
1
+ declare const SpotlightOverlay: ({ gap, isVisible, slide, disablePointerEvents, }: {
2
+ gap: DOMRect | null;
3
+ isVisible: boolean;
4
+ slide: boolean;
5
+ disablePointerEvents: boolean;
6
+ }) => JSX.Element | null;
7
+ export default SpotlightOverlay;
@@ -0,0 +1,22 @@
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>;
@@ -0,0 +1,12 @@
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 {};
@@ -0,0 +1,2 @@
1
+ import { IconKind } from '../Icon';
2
+ export declare function getIconType(theme: string): IconKind;
@@ -0,0 +1,5 @@
1
+ export { Tooltip } from './Tooltip';
2
+ export { Simple } from './Simple';
3
+ export { Info } from './Info';
4
+ export { Interactive } from './Interactive';
5
+ export { UserGuide } from './UserGuide';
@@ -0,0 +1,9 @@
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
+ }
@@ -0,0 +1,11 @@
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 {};
@@ -0,0 +1,15 @@
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 {};
@@ -0,0 +1,2 @@
1
+ export { Heading } from './Heading';
2
+ export { Text } from './Text';
@@ -0,0 +1,16 @@
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>;
@@ -0,0 +1 @@
1
+ export * from './UploadBar';
@@ -0,0 +1,5 @@
1
+ export declare const ShadowToken: {
2
+ Float: string;
3
+ PopOver: string;
4
+ Modal: string;
5
+ };
@@ -0,0 +1,16 @@
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
+ };
@@ -0,0 +1,41 @@
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';
@@ -0,0 +1,226 @@
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
+ };
@@ -0,0 +1 @@
1
+ export declare type Size = 'compact' | 'medium' | 'large';
@@ -0,0 +1 @@
1
+ export type { Size } from './constants';
@@ -0,0 +1,12 @@
1
+ export declare const KeyCodes: {
2
+ esc: string;
3
+ enter: string;
4
+ backspace: string;
5
+ delete: string;
6
+ spacebar: string;
7
+ tab: string;
8
+ semicolon: string;
9
+ comma: string;
10
+ arrowUp: string;
11
+ arrowDown: string;
12
+ };
@@ -0,0 +1 @@
1
+ export default function (): void;
@@ -0,0 +1 @@
1
+ /// <reference types="vite/client" />