@livechat/design-system-react-components 1.0.0-alpha.6 → 1.0.0-alpha.61
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/ActionMenu/ActionMenu.d.ts +27 -0
- package/dist/components/ActionMenu/ActionMenu.spec.d.ts +1 -0
- package/dist/components/ActionMenu/ActionMenu.stories.d.ts +6 -0
- package/dist/components/ActionMenu/ActionMenuItem.d.ts +6 -0
- package/dist/components/ActionMenu/constants.d.ts +21 -0
- package/dist/components/ActionMenu/index.d.ts +1 -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 +2 -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 +1 -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 +42 -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/{src/components → components}/Checkbox/Checkbox.d.ts +3 -3
- package/dist/components/Checkbox/Checkbox.spec.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts +12 -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 +39 -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/{src/components → components}/Form/Form.d.ts +1 -1
- 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/{src/components → components}/FormGroup/FormGroup.d.ts +1 -1
- 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.d.ts +14 -0
- package/dist/components/Icon/Icon.stories.d.ts +15 -0
- package/dist/components/Icon/index.d.ts +1 -0
- package/dist/components/Input/Input.d.ts +25 -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/{src/components → components}/Modal/Modal.d.ts +2 -0
- package/dist/components/Modal/Modal.spec.d.ts +1 -0
- package/dist/components/Modal/Modal.stories.d.ts +14 -0
- package/dist/{src/components → components}/Modal/ModalBase.d.ts +2 -1
- package/dist/components/Modal/ModalBase.spec.d.ts +1 -0
- package/dist/components/Modal/ModalCloseButton.d.ts +6 -0
- package/dist/components/Modal/ModalHeader.d.ts +9 -0
- package/dist/{src/components → components}/Modal/ModalPortal.d.ts +1 -1
- package/dist/components/Modal/StoriesComponents.d.ts +4 -0
- package/dist/{src/components → components}/Modal/index.d.ts +2 -2
- package/dist/{src/components → components}/NumericInput/NumericInput.d.ts +1 -1
- package/dist/components/NumericInput/NumericInput.spec.d.ts +1 -0
- package/dist/components/NumericInput/index.d.ts +1 -0
- package/dist/components/Picker/Picker.d.ts +80 -0
- package/dist/components/Picker/Picker.spec.d.ts +1 -0
- package/dist/components/Picker/Picker.stories.d.ts +10 -0
- package/dist/components/Picker/PickerList.d.ts +23 -0
- package/dist/components/Picker/PickerList.spec.d.ts +1 -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 +21 -0
- package/dist/components/Picker/index.d.ts +2 -0
- package/dist/components/Popover/Popover.d.ts +34 -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 +40 -0
- package/dist/components/PromoBanner/PromoBanner.spec.d.ts +1 -0
- package/dist/components/PromoBanner/PromoBanner.stories.d.ts +11 -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/{src/components → components}/Switch/Switch.d.ts +5 -8
- 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 +41 -0
- package/dist/components/Tag/Tag.spec.d.ts +1 -0
- package/dist/components/Tag/Tag.stories.d.ts +24 -0
- package/dist/{src/components → components}/TagInput/EmailTagInput.d.ts +1 -1
- 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 +40 -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 +8 -0
- package/dist/components/Tooltip/components/Interactive.d.ts +23 -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 +7 -0
- package/dist/components/Tooltip/components/UserGuide/UserGuide.d.ts +12 -0
- package/dist/components/Tooltip/components/UserGuide/UserGuideStep.d.ts +15 -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 +3 -0
- package/dist/components/Tooltip/index.d.ts +3 -0
- package/dist/components/Tooltip/types.d.ts +22 -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/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.cjs.js +18 -1
- package/dist/dsrc.es.js +3845 -1817
- package/dist/dsrc.umd.js +18 -1
- package/dist/foundations/shadow-token.d.ts +5 -0
- package/dist/foundations/spacing-token.d.ts +17 -0
- package/dist/{src/index.d.ts → index.d.ts} +17 -4
- package/dist/preview-stats.json +2266 -0
- package/dist/stories/components/ColorTokens.d.ts +2 -0
- package/dist/stories/components/IconsShowcase.d.ts +6 -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 +6 -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 +35 -21
- package/dist/src/components/Alert/Alert.d.ts +0 -19
- 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/CheckboxField.d.ts +0 -7
- package/dist/src/components/Checkbox/index.d.ts +0 -2
- 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/ModalCloseButton.d.ts +0 -3
- 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/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/{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/components → components}/Typography/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
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Placement, flip } from '@floating-ui/react-dom';
|
|
3
|
+
export interface IPopoverProps {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
/**
|
|
6
|
+
* The CSS class for popover container
|
|
7
|
+
*/
|
|
8
|
+
className?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The popover placement related to the trigger element
|
|
11
|
+
*/
|
|
12
|
+
placement?: Placement;
|
|
13
|
+
/**
|
|
14
|
+
* Set popover visibility
|
|
15
|
+
*/
|
|
16
|
+
isVisible?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Set the popover placement to keep it in view
|
|
19
|
+
*/
|
|
20
|
+
flipOptions?: Parameters<typeof flip>[0];
|
|
21
|
+
/**
|
|
22
|
+
* Set `false` if the menu is not to be closed with a esc press
|
|
23
|
+
*/
|
|
24
|
+
closeOnEsc?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Trigger element
|
|
27
|
+
*/
|
|
28
|
+
triggerRenderer: () => React.ReactNode;
|
|
29
|
+
/**
|
|
30
|
+
* Optional callback called after popover close
|
|
31
|
+
*/
|
|
32
|
+
onClose?: () => void;
|
|
33
|
+
}
|
|
34
|
+
export declare const Popover: React.FC<IPopoverProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IPopoverProps } from './Popover';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, IPopoverProps & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const Default: {
|
|
8
|
+
(args: IPopoverProps): React.ReactElement;
|
|
9
|
+
args: {
|
|
10
|
+
placement: string;
|
|
11
|
+
isVisible: boolean;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ProgressSize, ProgressStatus } from './constants';
|
|
3
|
+
export interface ProgressBarProps {
|
|
4
|
+
/**
|
|
5
|
+
* The CSS class for container
|
|
6
|
+
*/
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Specify the value of current progress bar (0-100)
|
|
10
|
+
*/
|
|
11
|
+
percent: number;
|
|
12
|
+
/**
|
|
13
|
+
* Specify the progress bar status
|
|
14
|
+
*/
|
|
15
|
+
status?: ProgressStatus;
|
|
16
|
+
/**
|
|
17
|
+
* Specify the progress bar size
|
|
18
|
+
*/
|
|
19
|
+
size?: ProgressSize;
|
|
20
|
+
}
|
|
21
|
+
export declare const ProgressBar: React.ExoticComponent<ProgressBarProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ProgressBarProps } from './ProgressBar';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, ProgressBarProps & React.RefAttributes<HTMLInputElement>>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const ProgressBar: {
|
|
6
|
+
(args: ProgressBarProps): React.ReactElement;
|
|
7
|
+
args: {
|
|
8
|
+
percent: number;
|
|
9
|
+
status: string;
|
|
10
|
+
size: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ProgressSize, ProgressStatus } from './constants';
|
|
3
3
|
export interface ProgressCircleProps {
|
|
4
|
+
/**
|
|
5
|
+
* The CSS class for container
|
|
6
|
+
*/
|
|
4
7
|
className?: string;
|
|
5
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Specify the value of current progress circle (0-100)
|
|
10
|
+
*/
|
|
11
|
+
progressValue: number;
|
|
12
|
+
/**
|
|
13
|
+
* Specify the progress circle status
|
|
14
|
+
*/
|
|
6
15
|
status?: ProgressStatus;
|
|
16
|
+
/**
|
|
17
|
+
* Specify the progress circle size
|
|
18
|
+
*/
|
|
7
19
|
size?: ProgressSize;
|
|
8
20
|
}
|
|
9
21
|
export declare const ProgressCircle: React.ExoticComponent<ProgressCircleProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ProgressCircleProps } from './ProgressCircle';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, ProgressCircleProps & React.RefAttributes<HTMLInputElement>>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const ProgressCircle: {
|
|
6
|
+
(args: ProgressCircleProps): React.ReactElement;
|
|
7
|
+
args: {
|
|
8
|
+
progressValue: number;
|
|
9
|
+
status: string;
|
|
10
|
+
size: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface PromoBannerProps {
|
|
3
|
+
/**
|
|
4
|
+
* Specify an optional className to be applied to the container node
|
|
5
|
+
*/
|
|
6
|
+
className?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Set the primary button text
|
|
9
|
+
*/
|
|
10
|
+
buttonText?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Set the header text
|
|
13
|
+
*/
|
|
14
|
+
header: string;
|
|
15
|
+
/**
|
|
16
|
+
* Set the image source to display it
|
|
17
|
+
*/
|
|
18
|
+
img?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Specify whether the banner should use a light-themed design
|
|
21
|
+
*/
|
|
22
|
+
light?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Set the link button text
|
|
25
|
+
*/
|
|
26
|
+
linkText?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Event handler for primary button press
|
|
29
|
+
*/
|
|
30
|
+
onButtonClick?: () => void;
|
|
31
|
+
/**
|
|
32
|
+
* Event handler for close button press
|
|
33
|
+
*/
|
|
34
|
+
onClose?: () => void;
|
|
35
|
+
/**
|
|
36
|
+
* Event handler for link button press
|
|
37
|
+
*/
|
|
38
|
+
onLinkClick?: () => void;
|
|
39
|
+
}
|
|
40
|
+
export declare const PromoBanner: React.FC<React.PropsWithChildren<PromoBannerProps>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { PromoBannerProps } from './PromoBanner';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PromoBannerProps & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const PromoBanner: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, PromoBannerProps>;
|
|
8
|
+
export declare const WithButtons: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, PromoBannerProps>;
|
|
9
|
+
export declare const WithImage: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, PromoBannerProps>;
|
|
10
|
+
export declare const WithClose: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, PromoBannerProps>;
|
|
11
|
+
export declare const WithLight: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, PromoBannerProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface RadioButtonProps extends React.HTMLAttributes<HTMLInputElement> {
|
|
3
|
-
description?:
|
|
3
|
+
description?: string;
|
|
4
4
|
checked?: boolean;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const RadioButton: React.
|
|
7
|
+
export declare const RadioButton: React.ForwardRefExoticComponent<RadioButtonProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { RadioButtonProps } from './RadioButton';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, RadioButtonProps & React.RefAttributes<HTMLInputElement>>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const RadioButton: {
|
|
6
|
+
({ children, ...args }: RadioButtonProps): React.ReactElement;
|
|
7
|
+
args: {
|
|
8
|
+
checked: boolean;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
description: string;
|
|
11
|
+
children: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface ISearchInputProps {
|
|
3
|
+
/**
|
|
4
|
+
* Makes search expandable after focusing the icon
|
|
5
|
+
*/
|
|
6
|
+
isCollapsable?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Specify whether the search should be disabled
|
|
9
|
+
*/
|
|
10
|
+
isDisabled?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Specify whether the search should have loader visible
|
|
13
|
+
*/
|
|
14
|
+
isLoading?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Optional text for placeholder
|
|
17
|
+
*/
|
|
18
|
+
placeholder?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Specify the search size
|
|
21
|
+
*/
|
|
22
|
+
size?: 'compact' | 'medium' | 'large';
|
|
23
|
+
/**
|
|
24
|
+
* Specify the search value
|
|
25
|
+
*/
|
|
26
|
+
value: string;
|
|
27
|
+
/**
|
|
28
|
+
* Specify an optional className to be applied to the container node
|
|
29
|
+
*/
|
|
30
|
+
className?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The event handler for onChange
|
|
33
|
+
*/
|
|
34
|
+
onChange: (value: string) => void;
|
|
35
|
+
}
|
|
36
|
+
export declare const SearchInput: React.FC<ISearchInputProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ISearchInputProps } from './Search';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, ISearchInputProps & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const Search: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ISearchInputProps>;
|
|
8
|
+
export declare const States: {
|
|
9
|
+
(args: ISearchInputProps): React.ReactElement;
|
|
10
|
+
args: {};
|
|
11
|
+
};
|
|
12
|
+
export declare const Sizes: {
|
|
13
|
+
(args: ISearchInputProps): React.ReactElement;
|
|
14
|
+
args: {};
|
|
15
|
+
};
|
|
16
|
+
export declare const CollapsableSearch: {
|
|
17
|
+
(args: ISearchInputProps): React.ReactElement;
|
|
18
|
+
args: {};
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SearchInput } from './Search';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ButtonProps } from '../Button';
|
|
3
|
+
export type ButtonSize = 'compact' | 'medium' | 'large';
|
|
4
|
+
type ButtonElement = {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
} & Pick<ButtonProps, 'disabled' | 'loading' | 'icon'>;
|
|
8
|
+
export interface SegmentedControlProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
9
|
+
/**
|
|
10
|
+
* Specify an optional className to be applied to the container node
|
|
11
|
+
*/
|
|
12
|
+
className?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Array of buttons
|
|
15
|
+
*/
|
|
16
|
+
buttons: ButtonElement[];
|
|
17
|
+
/**
|
|
18
|
+
* Set to make buttons fill the container if there is free space
|
|
19
|
+
*/
|
|
20
|
+
fullWidth?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Specify the buttons size
|
|
23
|
+
*/
|
|
24
|
+
size?: ButtonSize;
|
|
25
|
+
/**
|
|
26
|
+
* Id of initially selected button
|
|
27
|
+
*/
|
|
28
|
+
initialId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Id of current selected button
|
|
31
|
+
*/
|
|
32
|
+
currentId?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Handler for onClick on specific button
|
|
35
|
+
*/
|
|
36
|
+
onButtonClick?: (id: string, event: React.MouseEvent<HTMLElement>) => void;
|
|
37
|
+
}
|
|
38
|
+
export declare const SegmentedControl: React.FC<SegmentedControlProps>;
|
|
39
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Story } from '@storybook/react';
|
|
3
|
+
import { SegmentedControlProps } from './SegmentedControl';
|
|
4
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, SegmentedControlProps & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: Story<SegmentedControlProps>;
|
|
9
|
+
export declare const Uncontrolled: Story<SegmentedControlProps>;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export declare const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
export declare const enum SwitchStyles {
|
|
7
|
-
Enabled = "enabled",
|
|
8
|
-
Disabled = "disabled"
|
|
9
|
-
}
|
|
2
|
+
export declare const baseClass = "switch";
|
|
3
|
+
export type SwitchSize = 'compact' | 'medium' | 'large';
|
|
4
|
+
export type SwitchState = 'regular' | 'loading' | 'locked';
|
|
10
5
|
export interface SwitchProps {
|
|
6
|
+
ariaLabel?: string;
|
|
11
7
|
className?: string;
|
|
12
8
|
defaultOn?: boolean;
|
|
13
9
|
disabled?: boolean;
|
|
@@ -16,5 +12,6 @@ export interface SwitchProps {
|
|
|
16
12
|
on?: boolean;
|
|
17
13
|
onChange?(e: React.FormEvent, value: boolean): void;
|
|
18
14
|
size?: SwitchSize;
|
|
15
|
+
state?: SwitchState;
|
|
19
16
|
}
|
|
20
17
|
export declare const Switch: React.FC<SwitchProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Story } from '@storybook/react';
|
|
3
|
+
import { SwitchProps } from './Switch';
|
|
4
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, SwitchProps & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: Story<SwitchProps>;
|
|
9
|
+
export declare const States: Story;
|
|
10
|
+
export declare const Availability: Story;
|
|
11
|
+
export declare const Sizes: Story;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Size } from 'utils';
|
|
3
|
+
type HTMLProps = (React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
4
|
+
href: string;
|
|
5
|
+
}) | (React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
6
|
+
href?: never;
|
|
7
|
+
});
|
|
8
|
+
export type TabProps = HTMLProps & {
|
|
9
|
+
count?: number;
|
|
10
|
+
isSelected?: boolean;
|
|
11
|
+
asBadge?: boolean;
|
|
12
|
+
size?: Size;
|
|
13
|
+
};
|
|
14
|
+
export declare const Tab: React.FC<React.PropsWithChildren<TabProps>>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { TabProps } from './Tab';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
4
|
+
href: string;
|
|
5
|
+
} & {
|
|
6
|
+
count?: number | undefined;
|
|
7
|
+
isSelected?: boolean | undefined;
|
|
8
|
+
asBadge?: boolean | undefined;
|
|
9
|
+
size?: import("../..").Size | undefined;
|
|
10
|
+
} & {
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}> | import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
13
|
+
href?: undefined;
|
|
14
|
+
} & {
|
|
15
|
+
count?: number | undefined;
|
|
16
|
+
isSelected?: boolean | undefined;
|
|
17
|
+
asBadge?: boolean | undefined;
|
|
18
|
+
size?: import("../..").Size | undefined;
|
|
19
|
+
} & {
|
|
20
|
+
children?: React.ReactNode;
|
|
21
|
+
}>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type ITabArgs = TabProps;
|
|
24
|
+
export declare const Tab: {
|
|
25
|
+
(args: ITabArgs): React.ReactElement;
|
|
26
|
+
args: TabProps;
|
|
27
|
+
};
|
|
28
|
+
export declare const StatesAndVariants: () => JSX.Element;
|
|
29
|
+
export declare const Sizes: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, React.HTMLAttributes<HTMLDivElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type ITabArgs = {
|
|
7
|
+
items: Array<{
|
|
8
|
+
id: string;
|
|
9
|
+
title: string;
|
|
10
|
+
count: number;
|
|
11
|
+
asBadge?: boolean;
|
|
12
|
+
isDisabled?: boolean;
|
|
13
|
+
}>;
|
|
14
|
+
};
|
|
15
|
+
export declare const TabsWrapper: {
|
|
16
|
+
({ items }: ITabArgs): React.ReactElement;
|
|
17
|
+
args: ITabArgs;
|
|
18
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IconSize, IconSource } from '../Icon';
|
|
3
|
+
export interface TagProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/**
|
|
5
|
+
* Specify the tag kind
|
|
6
|
+
*/
|
|
7
|
+
kind?: 'default' | 'info' | 'warning' | 'success' | 'error' | 'purple' | 'black';
|
|
8
|
+
/**
|
|
9
|
+
* Specify the tag size
|
|
10
|
+
*/
|
|
11
|
+
size?: 'medium' | 'large';
|
|
12
|
+
/**
|
|
13
|
+
* Specify the tag icon size if used
|
|
14
|
+
*/
|
|
15
|
+
iconSize?: IconSize;
|
|
16
|
+
/**
|
|
17
|
+
* Set the tag custom color
|
|
18
|
+
*/
|
|
19
|
+
customColor?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Set to show close icon
|
|
22
|
+
*/
|
|
23
|
+
dismissible?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Outlined version of tag
|
|
26
|
+
*/
|
|
27
|
+
outline?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* The event handler for close icon click
|
|
30
|
+
*/
|
|
31
|
+
onRemove?(): void;
|
|
32
|
+
/**
|
|
33
|
+
* Pass the icon to show it
|
|
34
|
+
*/
|
|
35
|
+
icon?: IconSource;
|
|
36
|
+
/**
|
|
37
|
+
* Pass the image source to show it as avatar
|
|
38
|
+
*/
|
|
39
|
+
avatar?: string;
|
|
40
|
+
}
|
|
41
|
+
export declare const Tag: React.FC<React.PropsWithChildren<TagProps>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { TagProps } from './Tag';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, TagProps & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const Default: {
|
|
8
|
+
({ children, ...args }: TagProps): React.ReactElement;
|
|
9
|
+
args: TagProps;
|
|
10
|
+
};
|
|
11
|
+
export declare const Kinds: {
|
|
12
|
+
({ children, ...args }: TagProps): React.ReactElement;
|
|
13
|
+
args: {
|
|
14
|
+
children: string;
|
|
15
|
+
icon: any;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare const Sizes: {
|
|
19
|
+
({ children, ...args }: TagProps): React.ReactElement;
|
|
20
|
+
args: {
|
|
21
|
+
children: string;
|
|
22
|
+
icon: any;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TagInputProps } from './TagInput';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
export
|
|
3
|
+
export type EmailTagInputProps = Omit<TagInputProps, 'validator'>;
|
|
4
4
|
export declare const emailRegex: RegExp;
|
|
5
5
|
export declare const EmailTagInput: React.FC<EmailTagInputProps>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface TagInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'onChange'> {
|
|
3
|
+
/**
|
|
4
|
+
* Set the id for input
|
|
5
|
+
*/
|
|
6
|
+
id?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Set the error message
|
|
9
|
+
*/
|
|
10
|
+
error?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Array of defined tags
|
|
13
|
+
*/
|
|
14
|
+
tags?: string[];
|
|
15
|
+
/**
|
|
16
|
+
* The event handler for modify tags array
|
|
17
|
+
*/
|
|
18
|
+
onChange: (tags: string[]) => void;
|
|
19
|
+
/**
|
|
20
|
+
* Set the input placeholder
|
|
21
|
+
*/
|
|
22
|
+
placeholder?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Set the custom validation for provided items
|
|
25
|
+
*/
|
|
26
|
+
validator?: (val: string) => boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Specify the input size
|
|
29
|
+
*/
|
|
30
|
+
size?: 'medium' | 'large';
|
|
31
|
+
}
|
|
32
|
+
export declare const TagInput: React.FC<TagInputProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Story } from '@storybook/react';
|
|
3
|
+
import { TagInputProps, EmailTagInputProps } from './index';
|
|
4
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, TagInputProps & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const DefaultTagInput: Story<TagInputProps>;
|
|
9
|
+
export declare const DefaultEmailTagInput: Story<EmailTagInputProps>;
|
|
10
|
+
export declare const Sizes: () => JSX.Element;
|
|
@@ -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 {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Story } from '@storybook/react';
|
|
3
|
+
import { TextareaProps } from './Textarea';
|
|
4
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Default: Story<TextareaProps>;
|
|
7
|
+
export declare const States: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Textarea } from './Textarea';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type ToastKind = 'success' | 'warning' | 'error' | 'info';
|
|
3
|
+
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<React.PropsWithChildren<ToastProps>>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Story } from '@storybook/react';
|
|
3
|
+
import { ToastProps } from './Toast';
|
|
4
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, ToastProps & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: Story<ToastProps>;
|
|
9
|
+
export declare const Kinds: Story;
|
|
10
|
+
export declare const WithCloseIcon: Story;
|
|
11
|
+
export declare const WithCustomAction: {
|
|
12
|
+
(): JSX.Element;
|
|
13
|
+
parameters: import("@storybook/types").Parameters;
|
|
14
|
+
};
|