@livechat/design-system-react-components 1.0.0-alpha.9 → 1.0.0-alpha.icons.2
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/components/ActionBar/ActionBar.d.ts +25 -0
- package/dist/components/ActionBar/ActionBar.spec.d.ts +1 -0
- package/dist/components/ActionBar/ActionBar.stories.d.ts +10 -0
- package/dist/components/ActionBar/ActionBarItem.d.ts +15 -0
- package/dist/components/ActionBar/index.d.ts +2 -0
- package/dist/components/ActionMenu/ActionMenu.d.ts +38 -0
- package/dist/components/ActionMenu/ActionMenu.spec.d.ts +1 -0
- package/dist/components/ActionMenu/ActionMenu.stories.d.ts +11 -0
- package/dist/components/ActionMenu/ActionMenuItem.d.ts +16 -0
- package/dist/components/ActionMenu/constants.d.ts +21 -0
- package/dist/components/ActionMenu/index.d.ts +2 -0
- package/dist/components/ActionMenu/types.d.ts +9 -0
- package/dist/components/Alert/Alert.d.ts +32 -0
- package/dist/components/Alert/Alert.spec.d.ts +1 -0
- package/dist/components/Alert/Alert.stories.d.ts +9 -0
- package/dist/components/Avatar/Avatar.d.ts +49 -0
- package/dist/components/Avatar/Avatar.helpers.d.ts +3 -0
- package/dist/components/Avatar/Avatar.helpers.spec.d.ts +1 -0
- package/dist/components/Avatar/Avatar.spec.d.ts +1 -0
- package/dist/components/Avatar/Avatar.stories.d.ts +22 -0
- package/dist/components/Avatar/index.d.ts +3 -0
- package/dist/components/Badge/Badge.d.ts +24 -0
- package/dist/components/Badge/Badge.helpers.d.ts +1 -0
- package/dist/components/Badge/Badge.spec.d.ts +1 -0
- package/dist/components/Badge/Badge.stories.d.ts +12 -0
- package/dist/components/Button/Button.d.ts +63 -0
- package/dist/components/Button/Button.spec.d.ts +1 -0
- package/dist/components/Button/Button.stories.d.ts +28 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Card/Card.d.ts +30 -0
- package/dist/components/Card/Card.spec.d.ts +1 -0
- package/dist/components/Card/Card.stories.d.ts +11 -0
- package/dist/components/Checkbox/Checkbox.d.ts +16 -0
- package/dist/components/Checkbox/Checkbox.spec.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts +13 -0
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/DatePicker/DatePicker.d.ts +4 -0
- package/dist/components/DatePicker/DatePicker.spec.d.ts +1 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts +7 -0
- package/dist/components/DatePicker/DatePickerNavbar.d.ts +4 -0
- package/dist/components/DatePicker/DatePickerRangeCalendarsWrapper.d.ts +2 -0
- package/dist/components/DatePicker/RangeDatePicker.d.ts +16 -0
- package/dist/components/DatePicker/RangeDatePicker.spec.d.ts +1 -0
- package/dist/components/DatePicker/RangeDatePicker.stories.d.ts +4 -0
- package/dist/components/DatePicker/helpers.d.ts +16 -0
- package/dist/components/DatePicker/hooks.d.ts +6 -0
- package/dist/components/DatePicker/index.d.ts +2 -0
- package/dist/components/DatePicker/types.d.ts +100 -0
- package/dist/{src/components → components}/FieldDescription/FieldDescription.d.ts +1 -1
- package/dist/{src/components → components}/FieldError/FieldError.d.ts +1 -1
- package/dist/{src/components → components}/FieldGroup/FieldGroup.d.ts +1 -1
- package/dist/components/FieldGroup/FieldGroup.spec.d.ts +1 -0
- package/dist/components/FieldGroup/FieldGroup.stories.d.ts +10 -0
- package/dist/components/FileUploadProgress/FileUploadProgress.d.ts +42 -0
- package/dist/components/FileUploadProgress/FileUploadProgress.stories.d.ts +7 -0
- package/dist/components/FileUploadProgress/FileUploadProgressActions.d.ts +9 -0
- package/dist/components/FileUploadProgress/index.d.ts +2 -0
- package/dist/components/Form/Form.d.ts +16 -0
- package/dist/components/Form/Form.spec.d.ts +1 -0
- package/dist/components/Form/Form.stories.d.ts +8 -0
- package/dist/components/FormField/FormField.d.ts +40 -0
- package/dist/components/FormField/FormField.spec.d.ts +1 -0
- package/dist/components/FormField/FormField.stories.d.ts +9 -0
- package/dist/components/FormField/index.d.ts +1 -0
- package/dist/components/FormGroup/FormGroup.d.ts +16 -0
- package/dist/components/FormGroup/FormGroup.spec.d.ts +1 -0
- package/dist/components/FormGroup/FormGroup.stories.d.ts +10 -0
- package/dist/components/Icon/Icon.stories.d.ts +14 -0
- package/dist/components/Input/Input.d.ts +29 -0
- package/dist/components/Input/Input.spec.d.ts +1 -0
- package/dist/components/Input/Input.stories.d.ts +10 -0
- package/dist/components/Input/index.d.ts +1 -0
- package/dist/components/Link/Link.stories.d.ts +12 -0
- package/dist/{src/components → components}/Loader/Loader.d.ts +12 -2
- package/dist/components/Loader/Loader.spec.d.ts +1 -0
- package/dist/components/Loader/Loader.stories.d.ts +10 -0
- package/dist/components/Modal/Modal.d.ts +25 -0
- package/dist/components/Modal/Modal.spec.d.ts +1 -0
- package/dist/components/Modal/Modal.stories.d.ts +14 -0
- package/dist/components/Modal/StoriesComponents.d.ts +4 -0
- package/dist/components/Modal/components/ModalBase.d.ts +20 -0
- package/dist/components/Modal/components/ModalBase.spec.d.ts +1 -0
- package/dist/components/Modal/components/ModalCloseButton.d.ts +7 -0
- package/dist/components/Modal/components/ModalHeader.d.ts +32 -0
- package/dist/{src/components/Modal → components/Modal/components}/ModalPortal.d.ts +1 -1
- package/dist/components/Modal/index.d.ts +10 -0
- package/dist/{src/components → components}/NumericInput/NumericInput.d.ts +2 -4
- package/dist/components/NumericInput/NumericInput.spec.d.ts +1 -0
- package/dist/components/NumericInput/NumericInput.stories.d.ts +20 -0
- package/dist/components/NumericInput/index.d.ts +1 -0
- package/dist/components/Picker/Picker.d.ts +78 -0
- package/dist/components/Picker/Picker.spec.d.ts +1 -0
- package/dist/components/Picker/Picker.stories.d.ts +11 -0
- package/dist/components/Picker/PickerList.d.ts +14 -0
- package/dist/components/Picker/PickerList.spec.d.ts +1 -0
- package/dist/components/Picker/PickerListItem.d.ts +11 -0
- package/dist/components/Picker/Trigger.d.ts +17 -0
- package/dist/components/Picker/Trigger.spec.d.ts +1 -0
- package/dist/components/Picker/TriggerBody.d.ts +16 -0
- package/dist/components/Picker/TriggerBody.spec.d.ts +1 -0
- package/dist/components/Picker/constants.d.ts +50 -0
- package/dist/components/Picker/helpers.d.ts +2 -0
- package/dist/components/Picker/index.d.ts +3 -0
- package/dist/components/Picker/types.d.ts +16 -0
- package/dist/components/Popover/Popover.d.ts +38 -0
- package/dist/components/Popover/Popover.spec.d.ts +1 -0
- package/dist/components/Popover/Popover.stories.d.ts +13 -0
- package/dist/components/Progress/ProgressBar.d.ts +21 -0
- package/dist/components/Progress/ProgressBar.spec.d.ts +1 -0
- package/dist/components/Progress/ProgressBar.stories.d.ts +12 -0
- package/dist/{src/components → components}/Progress/ProgressCircle.d.ts +13 -1
- package/dist/components/Progress/ProgressCircle.spec.d.ts +1 -0
- package/dist/components/Progress/ProgressCircle.stories.d.ts +12 -0
- package/dist/components/Progress/constants.d.ts +4 -0
- package/dist/{src/components → components}/Progress/index.d.ts +1 -0
- package/dist/components/PromoBanner/PromoBanner.d.ts +43 -0
- package/dist/components/PromoBanner/PromoBanner.spec.d.ts +1 -0
- package/dist/components/PromoBanner/PromoBanner.stories.d.ts +11 -0
- package/dist/components/PromoBannerV2/PromoBannerV2.d.ts +33 -0
- package/dist/components/PromoBannerV2/PromoBannerV2.spec.d.ts +1 -0
- package/dist/components/PromoBannerV2/PromoBannerV2.stories.d.ts +23 -0
- package/dist/components/PromoBannerV2/constants.d.ts +1 -0
- package/dist/components/PromoBannerV2/index.d.ts +2 -0
- package/dist/{src/components → components}/RadioButton/RadioButton.d.ts +2 -2
- package/dist/components/RadioButton/RadioButton.spec.d.ts +1 -0
- package/dist/components/RadioButton/RadioButton.stories.d.ts +13 -0
- package/dist/components/Search/Search.d.ts +36 -0
- package/dist/components/Search/Search.spec.d.ts +1 -0
- package/dist/components/Search/Search.stories.d.ts +19 -0
- package/dist/components/Search/index.d.ts +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +39 -0
- package/dist/components/SegmentedControl/SegmentedControl.spec.d.ts +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.stories.d.ts +9 -0
- package/dist/components/SegmentedControl/index.d.ts +2 -0
- package/dist/components/Switch/Switch.d.ts +47 -0
- package/dist/components/Switch/Switch.spec.d.ts +1 -0
- package/dist/components/Switch/Switch.stories.d.ts +11 -0
- package/dist/components/Tab/Tab.d.ts +15 -0
- package/dist/components/Tab/Tab.spec.d.ts +1 -0
- package/dist/components/Tab/Tab.stories.d.ts +29 -0
- package/dist/components/Tab/TabsWrapper.spec.d.ts +1 -0
- package/dist/components/Tab/TabsWrapper.stories.d.ts +18 -0
- package/dist/components/Tag/Tag.d.ts +36 -0
- package/dist/components/Tag/Tag.spec.d.ts +1 -0
- package/dist/components/Tag/Tag.stories.d.ts +26 -0
- package/dist/{src/components → components}/TagInput/EmailTagInput.d.ts +2 -2
- package/dist/components/TagInput/TagInput.d.ts +32 -0
- package/dist/components/TagInput/TagInput.spec.d.ts +1 -0
- package/dist/components/TagInput/TagInput.stories.d.ts +10 -0
- package/dist/components/Textarea/Textarea.d.ts +6 -0
- package/dist/components/Textarea/Textarea.spec.d.ts +1 -0
- package/dist/components/Textarea/Textarea.stories.d.ts +7 -0
- package/dist/components/Textarea/index.d.ts +1 -0
- package/dist/components/Toast/Toast.d.ts +16 -0
- package/dist/components/Toast/Toast.spec.d.ts +1 -0
- package/dist/components/Toast/Toast.stories.d.ts +14 -0
- package/dist/{src/components → components}/Toast/ToastWrapper.d.ts +3 -10
- package/dist/components/Toast/ToastWrapper.spec.d.ts +1 -0
- package/dist/components/Toast/ToastWrapper.stories.d.ts +34 -0
- package/dist/components/Tooltip/Tooltip.d.ts +3 -0
- package/dist/components/Tooltip/Tooltip.spec.d.ts +1 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts +41 -0
- package/dist/components/Tooltip/components/FloatingComponent.d.ts +18 -0
- package/dist/components/Tooltip/components/Info.d.ts +9 -0
- package/dist/components/Tooltip/components/Interactive.d.ts +15 -0
- package/dist/components/Tooltip/components/Reports.d.ts +7 -0
- package/dist/components/Tooltip/components/Simple.d.ts +4 -0
- package/dist/components/Tooltip/components/UserGuide/SpotlightOverlay.d.ts +8 -0
- package/dist/components/Tooltip/components/UserGuide/UserGuide.d.ts +12 -0
- package/dist/components/Tooltip/components/UserGuide/UserGuideStep.d.ts +16 -0
- package/dist/components/Tooltip/components/UserGuide/index.d.ts +1 -0
- package/dist/components/Tooltip/components/UserGuide/virtualElementReference.d.ts +9 -0
- package/dist/components/Tooltip/components/index.d.ts +5 -0
- package/dist/components/Tooltip/helpers.d.ts +4 -0
- package/dist/components/Tooltip/index.d.ts +4 -0
- package/dist/components/Tooltip/types.d.ts +30 -0
- package/dist/components/Typography/Display.d.ts +10 -0
- package/dist/{src/components → components}/Typography/Heading.d.ts +2 -2
- package/dist/{src/components → components}/Typography/Text.d.ts +2 -2
- package/dist/{src/components → components}/Typography/index.d.ts +1 -0
- package/dist/components/UploadBar/UploadBar.d.ts +49 -0
- package/dist/components/UploadBar/UploadBar.stories.d.ts +7 -0
- package/dist/components/UploadBar/index.d.ts +1 -0
- package/dist/dsrc.es.js +4339 -1871
- package/dist/foundations/radius-token.d.ts +6 -0
- package/dist/foundations/shadow-token.d.ts +6 -0
- package/dist/foundations/spacing-token.d.ts +17 -0
- package/dist/{src/index.d.ts → index.d.ts} +19 -5
- package/dist/preview-stats.json +2386 -0
- package/dist/stories/components/BlockColumns.d.ts +8 -0
- package/dist/stories/components/ColorTokens.d.ts +2 -0
- package/dist/stories/components/Radius.d.ts +2 -0
- package/dist/stories/components/RadiusExamples.d.ts +2 -0
- package/dist/stories/components/Spacing.d.ts +2 -0
- package/dist/stories/components/SpacingExamples.d.ts +2 -0
- package/dist/stories/components/StoryDescriptor.d.ts +6 -0
- package/dist/stories/components/TablerIconsShowcase.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/test/setup.d.ts +0 -0
- package/dist/test/utils.d.ts +3 -0
- package/dist/themes/design-token.d.ts +228 -0
- package/dist/utils/PdfIcon.d.ts +2 -0
- package/dist/utils/constants.d.ts +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/story-parameters.d.ts +2 -0
- package/package.json +34 -21
- package/dist/dsrc.cjs.js +0 -1
- package/dist/dsrc.umd.js +0 -1
- package/dist/src/components/Alert/Alert.d.ts +0 -13
- package/dist/src/components/Badge/Badge.d.ts +0 -5
- package/dist/src/components/Button/Button.d.ts +0 -13
- package/dist/src/components/Button/index.d.ts +0 -2
- package/dist/src/components/ButtonGroup/ButtonGroup.d.ts +0 -11
- package/dist/src/components/ButtonGroup/index.d.ts +0 -1
- package/dist/src/components/Card/Card.d.ts +0 -6
- package/dist/src/components/Checkbox/Checkbox.d.ts +0 -7
- package/dist/src/components/Checkbox/CheckboxField.d.ts +0 -7
- package/dist/src/components/Checkbox/index.d.ts +0 -2
- package/dist/src/components/Form/Form.d.ts +0 -7
- package/dist/src/components/FormGroup/FormGroup.d.ts +0 -7
- package/dist/src/components/Icon/Icon.d.ts +0 -70
- package/dist/src/components/Icon/index.d.ts +0 -1
- package/dist/src/components/InputField/InputField.d.ts +0 -15
- package/dist/src/components/InputField/index.d.ts +0 -1
- package/dist/src/components/Modal/ActionModal.d.ts +0 -8
- package/dist/src/components/Modal/Modal.d.ts +0 -7
- package/dist/src/components/Modal/ModalBase.d.ts +0 -6
- package/dist/src/components/Modal/ModalCloseButton.d.ts +0 -3
- package/dist/src/components/Modal/index.d.ts +0 -10
- package/dist/src/components/NumericInput/NumericInputField.d.ts +0 -19
- package/dist/src/components/NumericInput/index.d.ts +0 -2
- package/dist/src/components/Popover/Popover.d.ts +0 -15
- package/dist/src/components/Progress/constants.d.ts +0 -12
- package/dist/src/components/PromoBanner/PromoBanner.d.ts +0 -19
- package/dist/src/components/Switch/Switch.d.ts +0 -20
- package/dist/src/components/Tab/Tab.d.ts +0 -12
- package/dist/src/components/Tag/Tag.d.ts +0 -12
- package/dist/src/components/TagInput/TagInput.d.ts +0 -12
- package/dist/src/components/TextField/TextField.d.ts +0 -13
- package/dist/src/components/TextField/index.d.ts +0 -1
- package/dist/src/components/Toast/Toast.d.ts +0 -22
- package/dist/src/themes/designTokens.d.ts +0 -126
- package/dist/src/vite-env.d.ts +0 -1
- package/dist/themes/dark.css +0 -129
- package/dist/themes/dark.css.map +0 -1
- package/dist/themes/legacy.css +0 -130
- package/dist/themes/legacy.css.map +0 -1
- package/dist/themes/light.css +0 -129
- package/dist/themes/light.css.map +0 -1
- /package/dist/{src/components → components}/Alert/index.d.ts +0 -0
- /package/dist/{src/components → components}/Badge/index.d.ts +0 -0
- /package/dist/{src/components → components}/Card/index.d.ts +0 -0
- /package/dist/{src/components → components}/FieldDescription/index.d.ts +0 -0
- /package/dist/{src/components → components}/FieldError/index.d.ts +0 -0
- /package/dist/{src/components → components}/FieldGroup/index.d.ts +0 -0
- /package/dist/{src/components → components}/Form/index.d.ts +0 -0
- /package/dist/{src/components → components}/FormGroup/index.d.ts +0 -0
- /package/dist/{src/components → components}/Link/Link.d.ts +0 -0
- /package/dist/{src/components → components}/Link/index.d.ts +0 -0
- /package/dist/{src/components → components}/Loader/index.d.ts +0 -0
- /package/dist/{src/components → components}/Popover/index.d.ts +0 -0
- /package/dist/{src/components → components}/Progress/helpers.d.ts +0 -0
- /package/dist/{src/components → components}/PromoBanner/index.d.ts +0 -0
- /package/dist/{src/components → components}/RadioButton/index.d.ts +0 -0
- /package/dist/{src/components → components}/Switch/index.d.ts +0 -0
- /package/dist/{src/components → components}/Tab/TabsWrapper.d.ts +0 -0
- /package/dist/{src/components → components}/Tab/index.d.ts +0 -0
- /package/dist/{src/components → components}/Tag/index.d.ts +0 -0
- /package/dist/{src/components → components}/TagInput/EditableTag.d.ts +0 -0
- /package/dist/{src/components → components}/TagInput/EditableTagContent.d.ts +0 -0
- /package/dist/{src/components → components}/TagInput/index.d.ts +0 -0
- /package/dist/{src/components → components}/Toast/index.d.ts +0 -0
- /package/dist/{src/utils → utils}/keyCodes.d.ts +0 -0
- /package/dist/{src/utils → utils}/noop.d.ts +0 -0
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare enum AlertType {
|
|
3
|
-
Info = "info",
|
|
4
|
-
Warning = "warning",
|
|
5
|
-
Success = "success",
|
|
6
|
-
Error = "error"
|
|
7
|
-
}
|
|
8
|
-
export interface AlertProps {
|
|
9
|
-
className?: string;
|
|
10
|
-
type?: AlertType;
|
|
11
|
-
onClose?: () => void;
|
|
12
|
-
}
|
|
13
|
-
export declare const Alert: React.FC<AlertProps>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare type ButtonSize = 'compact' | 'medium' | 'large';
|
|
3
|
-
export declare type ButtonProps = {
|
|
4
|
-
kind?: 'basic' | 'primary' | 'secondary' | 'destructive' | 'text' | 'plain' | 'plain-light';
|
|
5
|
-
size?: ButtonSize;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
loading?: boolean;
|
|
8
|
-
fullWidth?: boolean;
|
|
9
|
-
loaderLabel?: string;
|
|
10
|
-
icon?: React.ReactElement;
|
|
11
|
-
iconPosition?: 'left' | 'right';
|
|
12
|
-
} & React.ButtonHTMLAttributes<HTMLButtonElement> & React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
13
|
-
export declare const Button: React.FC<ButtonProps>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ButtonSize, ButtonProps } from '../Button';
|
|
3
|
-
export interface ButtonGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
currentIndex?: number;
|
|
5
|
-
initialIndex?: number;
|
|
6
|
-
fullWidth?: boolean;
|
|
7
|
-
size?: ButtonSize;
|
|
8
|
-
children: ReadonlyArray<React.ReactElement<React.PropsWithChildren<ButtonProps>>>;
|
|
9
|
-
onIndexChange?: (currentIndex: number, event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const ButtonGroup: React.FC<ButtonGroupProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ButtonGroup } from './ButtonGroup';
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare enum IconSizeName {
|
|
3
|
-
XSmall = "xsmall",
|
|
4
|
-
Small = "small",
|
|
5
|
-
Medium = "medium",
|
|
6
|
-
Large = "large",
|
|
7
|
-
XLarge = "xlarge"
|
|
8
|
-
}
|
|
9
|
-
export declare const IconSize: {
|
|
10
|
-
xsmall: {
|
|
11
|
-
width: number;
|
|
12
|
-
height: number;
|
|
13
|
-
};
|
|
14
|
-
small: {
|
|
15
|
-
width: number;
|
|
16
|
-
height: number;
|
|
17
|
-
};
|
|
18
|
-
medium: {
|
|
19
|
-
width: number;
|
|
20
|
-
height: number;
|
|
21
|
-
};
|
|
22
|
-
large: {
|
|
23
|
-
width: number;
|
|
24
|
-
height: number;
|
|
25
|
-
};
|
|
26
|
-
xlarge: {
|
|
27
|
-
width: number;
|
|
28
|
-
height: number;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
export declare enum IconTypeName {
|
|
32
|
-
Primary = "primary",
|
|
33
|
-
Subtle = "subtle",
|
|
34
|
-
Inverted = "inverted",
|
|
35
|
-
InvertedSubtle = "inverted_subtle",
|
|
36
|
-
Link = "link",
|
|
37
|
-
Success = "success",
|
|
38
|
-
Warning = "warning",
|
|
39
|
-
Error = "error"
|
|
40
|
-
}
|
|
41
|
-
export declare const IconColorMapper: {
|
|
42
|
-
primary: string;
|
|
43
|
-
subtle: string;
|
|
44
|
-
inverted: string;
|
|
45
|
-
inverted_subtle: string;
|
|
46
|
-
link: string;
|
|
47
|
-
success: string;
|
|
48
|
-
warning: string;
|
|
49
|
-
error: string;
|
|
50
|
-
};
|
|
51
|
-
export declare const IconColorDisabledMapper: {
|
|
52
|
-
primary: string;
|
|
53
|
-
subtle: string;
|
|
54
|
-
inverted: string;
|
|
55
|
-
inverted_subtle: string;
|
|
56
|
-
link: string;
|
|
57
|
-
success: string;
|
|
58
|
-
warning: string;
|
|
59
|
-
error: string;
|
|
60
|
-
};
|
|
61
|
-
export interface IconProps {
|
|
62
|
-
source: React.FC<React.SVGProps<SVGSVGElement>> | string;
|
|
63
|
-
size?: IconSizeName;
|
|
64
|
-
iconType?: IconTypeName;
|
|
65
|
-
disabled?: boolean;
|
|
66
|
-
className?: string;
|
|
67
|
-
customColor?: string;
|
|
68
|
-
}
|
|
69
|
-
export declare const Icon: React.FC<IconProps>;
|
|
70
|
-
export default Icon;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Icon, IconSizeName, IconTypeName } from './Icon';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface InputFieldProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
-
id: string;
|
|
4
|
-
labelText?: string;
|
|
5
|
-
labelAdornment?: React.ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
inline?: boolean;
|
|
8
|
-
error?: string;
|
|
9
|
-
description?: React.ReactNode;
|
|
10
|
-
labelRightNode?: React.ReactNode;
|
|
11
|
-
fieldClassName?: string;
|
|
12
|
-
maxLength?: number;
|
|
13
|
-
onChange: () => void;
|
|
14
|
-
}
|
|
15
|
-
export declare const InputField: React.FC<InputFieldProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { InputField } from './InputField';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ModalBaseProps } from './ModalBase';
|
|
3
|
-
export interface ActionModalProps extends ModalBaseProps {
|
|
4
|
-
icon?: React.ReactNode;
|
|
5
|
-
heading?: React.ReactNode;
|
|
6
|
-
actions?: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export declare const ActionModal: React.FC<ActionModalProps>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { ActionModal } from './ActionModal';
|
|
2
|
-
export { Modal } from './Modal';
|
|
3
|
-
export { ModalBase } from './ModalBase';
|
|
4
|
-
export { ModalCloseButton } from './ModalCloseButton';
|
|
5
|
-
export { ModalPortal } from './ModalPortal';
|
|
6
|
-
export type { ActionModalProps } from './ActionModal';
|
|
7
|
-
export type { ModalProps } from './Modal';
|
|
8
|
-
export type { ModalBaseProps } from './ModalBase';
|
|
9
|
-
export type { ModalCloseButtonProps } from './ModalCloseButton';
|
|
10
|
-
export type { ModalPortalProps } from './ModalPortal';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface Props {
|
|
3
|
-
id: string;
|
|
4
|
-
labelText?: string;
|
|
5
|
-
labelAdornment?: React.ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
inline?: boolean;
|
|
8
|
-
error?: string;
|
|
9
|
-
description?: React.ReactNode;
|
|
10
|
-
labelRightNode?: React.ReactNode;
|
|
11
|
-
fieldClassName?: string;
|
|
12
|
-
value: string;
|
|
13
|
-
max?: number;
|
|
14
|
-
min?: number;
|
|
15
|
-
onChange: (value: string) => void;
|
|
16
|
-
}
|
|
17
|
-
export declare type NumericInputFieldProps = Props & React.InputHTMLAttributes<HTMLInputElement>;
|
|
18
|
-
export declare const NumericInputField: React.FC<NumericInputFieldProps>;
|
|
19
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as PopperCore from '@popperjs/core';
|
|
3
|
-
declare type PopoverModifiers = {
|
|
4
|
-
[key: string]: Partial<PopperCore.StrictModifiers>;
|
|
5
|
-
};
|
|
6
|
-
export interface IPopoverProps {
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
className?: string;
|
|
9
|
-
modifiers?: PopoverModifiers;
|
|
10
|
-
placement?: PopperCore.Placement;
|
|
11
|
-
isVisible?: boolean;
|
|
12
|
-
triggerRenderer: () => React.ReactNode;
|
|
13
|
-
}
|
|
14
|
-
export declare const Popover: React.FC<IPopoverProps>;
|
|
15
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const enum ProgressStatus {
|
|
2
|
-
Normal = "normal",
|
|
3
|
-
Error = "error",
|
|
4
|
-
Success = "success"
|
|
5
|
-
}
|
|
6
|
-
export declare const enum ProgressSize {
|
|
7
|
-
Small = "small",
|
|
8
|
-
Medium = "medium",
|
|
9
|
-
Large = "large"
|
|
10
|
-
}
|
|
11
|
-
export declare const PROGRESS_STATUSES: ProgressStatus[];
|
|
12
|
-
export declare const PROGRESS_SIZES: ProgressSize[];
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare const enum PromoBannerSize {
|
|
3
|
-
Small = "small",
|
|
4
|
-
Medium = "medium",
|
|
5
|
-
Large = "large"
|
|
6
|
-
}
|
|
7
|
-
export interface PromoBannerProps {
|
|
8
|
-
className?: string;
|
|
9
|
-
buttonText?: string;
|
|
10
|
-
header: string;
|
|
11
|
-
img?: string;
|
|
12
|
-
light?: boolean;
|
|
13
|
-
linkText?: string;
|
|
14
|
-
size?: PromoBannerSize;
|
|
15
|
-
onButtonClick?: () => void;
|
|
16
|
-
onClose?: () => void;
|
|
17
|
-
onLinkClick?: () => void;
|
|
18
|
-
}
|
|
19
|
-
export declare const PromoBanner: React.FC<PromoBannerProps>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare const enum SwitchSize {
|
|
3
|
-
Basic = "basic",
|
|
4
|
-
Compact = "compact"
|
|
5
|
-
}
|
|
6
|
-
export declare const enum SwitchStyles {
|
|
7
|
-
Enabled = "enabled",
|
|
8
|
-
Disabled = "disabled"
|
|
9
|
-
}
|
|
10
|
-
export interface SwitchProps {
|
|
11
|
-
className?: string;
|
|
12
|
-
defaultOn?: boolean;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
innerRef?: React.LegacyRef<HTMLInputElement> | undefined;
|
|
15
|
-
name?: string;
|
|
16
|
-
on?: boolean;
|
|
17
|
-
onChange?(e: React.FormEvent, value: boolean): void;
|
|
18
|
-
size?: SwitchSize;
|
|
19
|
-
}
|
|
20
|
-
export declare const Switch: React.FC<SwitchProps>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare type HTMLProps = (React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
3
|
-
href: string;
|
|
4
|
-
}) | (React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
5
|
-
href?: never;
|
|
6
|
-
});
|
|
7
|
-
export declare type TabProps = HTMLProps & {
|
|
8
|
-
description?: React.ReactNode;
|
|
9
|
-
isSelected?: boolean;
|
|
10
|
-
};
|
|
11
|
-
export declare const Tab: React.FC<TabProps>;
|
|
12
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface TagProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
kind?: 'default' | 'info' | 'warning' | 'success' | 'error';
|
|
4
|
-
size?: 'medium' | 'large';
|
|
5
|
-
customColor?: string;
|
|
6
|
-
dismissible?: boolean;
|
|
7
|
-
outline?: boolean;
|
|
8
|
-
onRemove?(): void;
|
|
9
|
-
icon?: React.FC<React.SVGProps<SVGSVGElement>> | string;
|
|
10
|
-
avatar?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const Tag: React.FC<TagProps>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare type Tags = string[];
|
|
3
|
-
export interface TagInputProps {
|
|
4
|
-
error?: string;
|
|
5
|
-
tags?: Tags;
|
|
6
|
-
onChange: (tags: Tags) => void;
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
validator?: (val: string) => boolean;
|
|
9
|
-
size?: 'medium' | 'large';
|
|
10
|
-
}
|
|
11
|
-
export declare const TagInput: React.FC<TagInputProps>;
|
|
12
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface TextFieldProps {
|
|
3
|
-
labelText?: string;
|
|
4
|
-
labelAdornment?: React.ReactNode;
|
|
5
|
-
labelFor?: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
inline?: boolean;
|
|
8
|
-
error?: string;
|
|
9
|
-
description?: React.ReactNode;
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
labelRightNode?: React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
export declare const TextField: React.FC<TextFieldProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { TextField } from './TextField';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare const enum Variants {
|
|
3
|
-
Success = "success",
|
|
4
|
-
Warning = "warning",
|
|
5
|
-
Error = "error",
|
|
6
|
-
Info = "info",
|
|
7
|
-
Notification = "notification"
|
|
8
|
-
}
|
|
9
|
-
interface ToastAction {
|
|
10
|
-
handler: () => void;
|
|
11
|
-
label: string;
|
|
12
|
-
closeOnClick?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export interface ToastProps {
|
|
15
|
-
action?: ToastAction;
|
|
16
|
-
className?: string;
|
|
17
|
-
removable?: boolean;
|
|
18
|
-
variant?: Variants;
|
|
19
|
-
onClose?: () => void;
|
|
20
|
-
}
|
|
21
|
-
export declare const Toast: React.FC<ToastProps>;
|
|
22
|
-
export {};
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
export declare const DesignTokens: {
|
|
2
|
-
Background: string;
|
|
3
|
-
SurfaceBasicDefault: string;
|
|
4
|
-
SurfaceBasicSubtle: string;
|
|
5
|
-
SurfaceBasicHover: string;
|
|
6
|
-
SurfaceBasicActive: string;
|
|
7
|
-
SurfaceBasicDisabled: string;
|
|
8
|
-
SurfaceSecondaryDefault: string;
|
|
9
|
-
SurfaceSecondarySubtle: string;
|
|
10
|
-
SurfaceSecondaryHover: string;
|
|
11
|
-
SurfaceSecondaryDisabled: string;
|
|
12
|
-
SurfaceFeedbackInfo: string;
|
|
13
|
-
SurfaceFeedbackNegative: string;
|
|
14
|
-
SurfaceFeedbackWarning: string;
|
|
15
|
-
SurfaceFeedbackPositive: string;
|
|
16
|
-
SurfaceInvertDefault: string;
|
|
17
|
-
SurfaceInvertSubtle: string;
|
|
18
|
-
SurfaceInvertDisabled: string;
|
|
19
|
-
SurfaceOverlay: string;
|
|
20
|
-
ContentDefault: string;
|
|
21
|
-
ContentSubtle: string;
|
|
22
|
-
ContentDisabled: string;
|
|
23
|
-
ContentWhiteLocked: string;
|
|
24
|
-
ContentInvertDefault: string;
|
|
25
|
-
ContentInvertSubtle: string;
|
|
26
|
-
ContentInvertDisabled: string;
|
|
27
|
-
BorderDefault: string;
|
|
28
|
-
BorderSubtle: string;
|
|
29
|
-
BorderHover: string;
|
|
30
|
-
BorderDisabled: string;
|
|
31
|
-
BorderInvertDefault: string;
|
|
32
|
-
BorderInvertSubtle: string;
|
|
33
|
-
BorderInvertHover: string;
|
|
34
|
-
BorderInvertDisabled: string;
|
|
35
|
-
ColorActionActive: string;
|
|
36
|
-
ColorActionHover: string;
|
|
37
|
-
ColorActionDefault: string;
|
|
38
|
-
ColorActionDisabled: string;
|
|
39
|
-
ColorNegativeActive: string;
|
|
40
|
-
ColorNegativeHover: string;
|
|
41
|
-
ColorNegativeDefault: string;
|
|
42
|
-
ColorNegativeDisabled: string;
|
|
43
|
-
ColorWarningDefault: string;
|
|
44
|
-
ColorWarningHover: string;
|
|
45
|
-
ColorPositiveDefault: string;
|
|
46
|
-
ColorPositiveHover: string;
|
|
47
|
-
ColorPositiveDisabled: string;
|
|
48
|
-
ColorBot: string;
|
|
49
|
-
ColorBlack: string;
|
|
50
|
-
ColorWhite: string;
|
|
51
|
-
DecorBlue900: string;
|
|
52
|
-
DecorBlue800: string;
|
|
53
|
-
DecorBlue700: string;
|
|
54
|
-
DecorBlue600: string;
|
|
55
|
-
DecorBlue500: string;
|
|
56
|
-
DecorBlue400: string;
|
|
57
|
-
DecorBlue300: string;
|
|
58
|
-
DecorBlue200: string;
|
|
59
|
-
DecorBlue100: string;
|
|
60
|
-
DecorBlue50: string;
|
|
61
|
-
DecorOrange900: string;
|
|
62
|
-
DecorOrange800: string;
|
|
63
|
-
DecorOrange700: string;
|
|
64
|
-
DecorOrange600: string;
|
|
65
|
-
DecorOrange500: string;
|
|
66
|
-
DecorOrange400: string;
|
|
67
|
-
DecorOrange300: string;
|
|
68
|
-
DecorOrange200: string;
|
|
69
|
-
DecorOrange100: string;
|
|
70
|
-
DecorOrange50: string;
|
|
71
|
-
DecorYellow900: string;
|
|
72
|
-
DecorYellow800: string;
|
|
73
|
-
DecorYellow700: string;
|
|
74
|
-
DecorYellow600: string;
|
|
75
|
-
DecorYellow500: string;
|
|
76
|
-
DecorYellow400: string;
|
|
77
|
-
DecorYellow300: string;
|
|
78
|
-
DecorYellow200: string;
|
|
79
|
-
DecorYellow100: string;
|
|
80
|
-
DecorYellow50: string;
|
|
81
|
-
DecorGray950: string;
|
|
82
|
-
DecorGray900: string;
|
|
83
|
-
DecorGray800: string;
|
|
84
|
-
DecorGray700: string;
|
|
85
|
-
DecorGray600: string;
|
|
86
|
-
DecorGray500: string;
|
|
87
|
-
DecorGray400: string;
|
|
88
|
-
DecorGray300: string;
|
|
89
|
-
DecorGray200: string;
|
|
90
|
-
DecorGray150: string;
|
|
91
|
-
DecorGray100: string;
|
|
92
|
-
DecorGray75: string;
|
|
93
|
-
DecorGray50: string;
|
|
94
|
-
DecorGray40: string;
|
|
95
|
-
DecorGray20: string;
|
|
96
|
-
DecorGreen900: string;
|
|
97
|
-
DecorGreen800: string;
|
|
98
|
-
DecorGreen700: string;
|
|
99
|
-
DecorGreen600: string;
|
|
100
|
-
DecorGreen500: string;
|
|
101
|
-
DecorGreen400: string;
|
|
102
|
-
DecorGreen300: string;
|
|
103
|
-
DecorGreen200: string;
|
|
104
|
-
DecorGreen100: string;
|
|
105
|
-
DecorGreen50: string;
|
|
106
|
-
DecorRed900: string;
|
|
107
|
-
DecorRed800: string;
|
|
108
|
-
DecorRed700: string;
|
|
109
|
-
DecorRed600: string;
|
|
110
|
-
DecorRed500: string;
|
|
111
|
-
DecorRed400: string;
|
|
112
|
-
DecorRed300: string;
|
|
113
|
-
DecorRed200: string;
|
|
114
|
-
DecorRed100: string;
|
|
115
|
-
DecorRed50: string;
|
|
116
|
-
DecorPurple900: string;
|
|
117
|
-
DecorPurple800: string;
|
|
118
|
-
DecorPurple700: string;
|
|
119
|
-
DecorPurple600: string;
|
|
120
|
-
DecorPurple500: string;
|
|
121
|
-
DecorPurple400: string;
|
|
122
|
-
DecorPurple300: string;
|
|
123
|
-
DecorPurple200: string;
|
|
124
|
-
DecorPurple100: string;
|
|
125
|
-
DecorPurple50: string;
|
|
126
|
-
};
|
package/dist/src/vite-env.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|