@digital-ai/dot-components 2.5.0 → 2.5.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/CHANGE_LOG.md +26 -3
- package/README.md +15 -0
- package/index.esm.js +1602 -1502
- package/index.umd.js +1728 -1627
- package/lib/Typography.stories.d.ts +4 -0
- package/lib/components/accordion/Accordion.stories.d.ts +8 -0
- package/lib/components/action-toolbar/ActionToolbar.stories.d.ts +5 -0
- package/lib/components/alert-banner/AlertBanner.stories.d.ts +5 -0
- package/lib/components/app-switcher/AppSwitcher.d.ts +2 -1
- package/lib/components/app-switcher/utils/helpers.d.ts +15 -5
- package/lib/components/app-toolbar/AppToolbar.stories.d.ts +8 -0
- package/lib/components/auto-complete/AutoComplete.stories.d.ts +22 -0
- package/lib/components/avatar/Avatar.stories.d.ts +7 -0
- package/lib/components/avatar-group/AvatarGroup.stories.d.ts +5 -0
- package/lib/components/badge/Badge.stories.d.ts +8 -0
- package/lib/components/breadcrumbs/Breadcrumbs.stories.d.ts +5 -0
- package/lib/components/button/Button.stories.d.ts +11 -0
- package/lib/components/button/CopyButton.stories.d.ts +5 -0
- package/lib/components/button/IconButton.stories.d.ts +10 -0
- package/lib/components/button-toggle/ButtonToggle.stories.d.ts +11 -0
- package/lib/components/card/Card.stories.d.ts +6 -0
- package/lib/components/checkbox/Checkbox.stories.d.ts +9 -0
- package/lib/components/checkbox/CheckboxGroup.stories.d.ts +6 -0
- package/lib/components/chip/Chip.stories.d.ts +8 -0
- package/lib/components/confirmation-dialog/ConfirmationDialog.stories.d.ts +6 -0
- package/lib/components/css-grid/CssGrid.stories.d.ts +7 -0
- package/lib/components/dialog/Dialog.stories.d.ts +5 -0
- package/lib/components/divider/Divider.stories.d.ts +6 -0
- package/lib/components/draggable-list/DraggableList.stories.d.ts +10 -0
- package/lib/components/drawer/Drawer.stories.d.ts +9 -0
- package/lib/components/dynamic-form/DynamicForm.stories.d.ts +5 -0
- package/lib/components/dynamic-form/utils/helpers.d.ts +1 -1
- package/lib/components/empty-state/EmptyState.stories.d.ts +5 -0
- package/lib/components/file-upload/FileUpload.stories.d.ts +8 -0
- package/lib/components/form/Form.stories.d.ts +5 -0
- package/lib/components/form-group/FormGroup.stories.d.ts +5 -0
- package/lib/components/icon/Icon.stories.d.ts +5 -0
- package/lib/components/inline-edit/InlineEdit.stories.d.ts +15 -0
- package/lib/components/input-form-fields/InputSelect.stories.d.ts +10 -0
- package/lib/components/input-form-fields/InputText.stories.d.ts +14 -0
- package/lib/components/linear-progress/LinearProgress.stories.d.ts +13 -0
- package/lib/components/link/Link.d.ts +4 -2
- package/lib/components/link/Link.stories.d.ts +6 -0
- package/lib/components/list/List.stories.d.ts +6 -0
- package/lib/components/menu/Menu.stories.d.ts +9 -0
- package/lib/components/navigation-rail/NavigationRail.stories.d.ts +7 -0
- package/lib/components/pill/Pill.stories.d.ts +5 -0
- package/lib/components/popper/Popper.stories.d.ts +6 -0
- package/lib/components/progress/Progress.stories.d.ts +9 -0
- package/lib/components/progress-button/ProgressButton.stories.d.ts +5 -0
- package/lib/components/radio/RadioButton.stories.d.ts +5 -0
- package/lib/components/radio/RadioGroup.stories.d.ts +7 -0
- package/lib/components/sidebar/Sidebar.stories.d.ts +8 -0
- package/lib/components/skeleton/Skeleton.stories.d.ts +5 -0
- package/lib/components/snackbar/Snackbar.stories.d.ts +6 -0
- package/lib/components/split-button/SplitButton.stories.d.ts +9 -0
- package/lib/components/switch/Switch.stories.d.ts +12 -0
- package/lib/components/table/Table.stories.d.ts +10 -0
- package/lib/components/table/TablePagination.stories.d.ts +5 -0
- package/lib/components/tabs/Tabs.stories.d.ts +6 -0
- package/lib/components/tooltip/Tooltip.stories.d.ts +5 -0
- package/lib/components/truncate-with-tooltip/TruncateWithTooltip.stories.d.ts +8 -0
- package/lib/components/typography/Typography.stories.d.ts +7 -0
- package/package.json +3 -3
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
declare const _default: ComponentMeta<({ ariaLabel, className, "data-testid": dataTestId, children, component, noMarginBottom, noWrap, variant, }: import("./components/typography/Typography").TypographyProps) => JSX.Element>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { AccordionProps } from './Accordion';
|
|
3
|
+
declare const _default: ComponentMeta<({ actions, ariaLabel, children, className, "data-testid": dataTestId, disabled, expanded, hasElevation, onChange, square, startIcon, summary, noWrap, }: AccordionProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<AccordionProps>;
|
|
6
|
+
export declare const WithExpanded: Story<AccordionProps>;
|
|
7
|
+
export declare const WithStartIcons: Story<AccordionProps>;
|
|
8
|
+
export declare const WithNoWrap: Story<AccordionProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { DotActionBarProps } from './ActionToolbar';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, children, className, "data-testid": dataTestId, variant, }: DotActionBarProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<DotActionBarProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { AlertBannerProps } from './AlertBanner';
|
|
3
|
+
declare const _default: ComponentMeta<({ action, ariaLabel, children, className, "data-testid": dataTestId, onClose, roundedCorners, severity, textVariant, }: AlertBannerProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<AlertBannerProps>;
|
|
@@ -7,6 +7,7 @@ interface ActiveAppInfo {
|
|
|
7
7
|
}
|
|
8
8
|
interface CommonAppSwitcherProps extends CommonProps {
|
|
9
9
|
activeApp: ActiveAppInfo;
|
|
10
|
+
maxRecentInstances?: number;
|
|
10
11
|
noAppTypeLabel?: string;
|
|
11
12
|
onClose?: (event: MouseEvent | KeyboardEvent) => void;
|
|
12
13
|
searchInstancesThreshold?: number;
|
|
@@ -19,7 +20,7 @@ interface AppSwitcherViewProps extends CommonAppSwitcherProps {
|
|
|
19
20
|
platformConsoleUrl?: string;
|
|
20
21
|
selectedAppType: string;
|
|
21
22
|
}
|
|
22
|
-
export declare const DotAppSwitcherView: ({ activeApp, apps, className, noAppTypeLabel, platformConsoleUrl, onClose, open, searchInstancesThreshold, selectedAppType, yOffset, zIndex, }: AppSwitcherViewProps) => JSX.Element;
|
|
23
|
+
export declare const DotAppSwitcherView: ({ activeApp, apps, className, maxRecentInstances, noAppTypeLabel, platformConsoleUrl, onClose, open, searchInstancesThreshold, selectedAppType, yOffset, zIndex, }: AppSwitcherViewProps) => JSX.Element;
|
|
23
24
|
interface AppSwitcherProps extends CommonAppSwitcherProps {
|
|
24
25
|
accountId?: string;
|
|
25
26
|
includePlatformConsole?: boolean;
|
|
@@ -1,16 +1,26 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
1
|
+
import { PointerEvent, ReactElement } from 'react';
|
|
2
2
|
import { MenuItemProps } from '../../menu/Menu';
|
|
3
|
+
import { ApplicationModel } from '../../core-api/openapi';
|
|
4
|
+
export declare type RecentAppInstance = {
|
|
5
|
+
application: Partial<ApplicationModel>;
|
|
6
|
+
lastAccess: number;
|
|
7
|
+
};
|
|
3
8
|
export declare const getLogoForAppType: (appType: string) => string;
|
|
4
9
|
export declare const daiAppsHeaderMenuItem: (count?: number) => {
|
|
5
10
|
children: JSX.Element;
|
|
6
11
|
key: string;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
divider: boolean;
|
|
9
|
-
height: number;
|
|
10
12
|
};
|
|
11
|
-
export declare const
|
|
13
|
+
export declare const sectionHeaderMenuItem: (title: string, count: number, showEmpty?: boolean) => {
|
|
14
|
+
children: JSX.Element;
|
|
15
|
+
key: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const createMenuItem: (url: string, title: string, subtitle: string, onClick: (event: PointerEvent<Element>) => void) => ReactElement;
|
|
12
18
|
export declare const createTopLevelMenuItem: (url: string, logo: string, title: string, openNewTab?: boolean) => ReactElement;
|
|
13
19
|
export declare const createAppTypeLabel: (appTypeName: string, logo: string, appProps: MenuItemProps[]) => JSX.Element;
|
|
14
20
|
export declare const getInstanceStateText: (application: {
|
|
15
21
|
instance_state?: number;
|
|
16
22
|
}) => "Production instance" | "Non-production instance";
|
|
23
|
+
export declare const sortRecentAppInstancesFn: (a: RecentAppInstance, b: RecentAppInstance) => number;
|
|
24
|
+
export declare const sortAppInstancesFn: (a: Partial<ApplicationModel>, b: Partial<ApplicationModel>) => number;
|
|
25
|
+
export declare const RECENT_INSTANCES_KEY = "dot-app-switcher-recent-app-instances";
|
|
26
|
+
export declare const recentAppInstancesSetter: (latestInstance: Partial<ApplicationModel>, maxRecentItems: number) => (orig: RecentAppInstance[]) => RecentAppInstance[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentMeta, Story } from '@storybook/react';
|
|
2
|
+
import { AppToolbarProps } from './AppToolbar';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, appLogo, appLogoHref, appLogoSmall, avatar, borderColor, children, className, closeMenuOnItemClick, customLogo, "data-testid": dataTestId, dense, mainMenu, mainMenuItems, mainMenuWidth, menuCloseOnClickAway, navItems, onClickAway, primaryLogoHref, }: AppToolbarProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<AppToolbarProps>;
|
|
6
|
+
export declare const WithoutMenu: Story<AppToolbarProps>;
|
|
7
|
+
export declare const WithCustomMenu: Story<AppToolbarProps>;
|
|
8
|
+
export declare const WithCustomMenuClose: Story<AppToolbarProps>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ComponentMeta, Story } from '@storybook/react';
|
|
2
|
+
import { AutoCompleteOption, AutoCompleteProps } from './AutoComplete';
|
|
3
|
+
import { AutoCompleteWithRenderOption } from './Autocomplete.stories.data';
|
|
4
|
+
declare const _default: ComponentMeta<(<T extends AutoCompleteOption>({ ListboxComponent, actionItem, ariaLabel, autoFocus, className, "data-testid": dataTestId, defaultValue, dense, disabled, disablePortal, endAdornmentTooltip, error, filterSelectedOptions, freesolo, group, helperText, inputId, inputRef, label, loading, maxHeight, multiple, onBlur, onChange, onClose, onInputChange, onOpen, open, options, persistentLabel, placeholder, readOnly, renderOption, renderTags, required, size, value, warning, }: AutoCompleteProps<T>) => JSX.Element)>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Default: any;
|
|
7
|
+
export declare const WithActionItem: any;
|
|
8
|
+
export declare const WithCustomActionItem: Story<AutoCompleteProps>;
|
|
9
|
+
export declare const WithAsyncLoad: Story<AutoCompleteProps>;
|
|
10
|
+
declare type AutoCompleteWithRenderOptionProps = AutoCompleteProps<AutoCompleteWithRenderOption>;
|
|
11
|
+
export declare const WithRenderOption: Story<AutoCompleteWithRenderOptionProps>;
|
|
12
|
+
export declare const WithChipError: Story<AutoCompleteProps>;
|
|
13
|
+
export declare const WithoutChips: Story<AutoCompleteWithRenderOptionProps>;
|
|
14
|
+
export declare const WithNullAsValue: Story<AutoCompleteProps>;
|
|
15
|
+
export declare const WithMaxHeight: any;
|
|
16
|
+
export declare const WithCustomBlur: Story<AutoCompleteProps>;
|
|
17
|
+
export declare const WithReadOnly: any;
|
|
18
|
+
export declare const WithWarning: any;
|
|
19
|
+
export declare const WithError: any;
|
|
20
|
+
export declare const WithLabel: any;
|
|
21
|
+
export declare const WithPersistentLabel: any;
|
|
22
|
+
export declare const WithFixedVirtualList: Story<AutoCompleteProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { AvatarProps } from './Avatar';
|
|
3
|
+
declare const _default: ComponentMeta<({ alt, ariaLabel, className, component, color, "data-testid": dataTestId, iconId, imageSrc, onClick, size, tabIndex, text, type, tooltip, variant, style, }: AvatarProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<AvatarProps>;
|
|
6
|
+
export declare const AvatarButton: Story<AvatarProps>;
|
|
7
|
+
export declare const WithTooltip: Story<AvatarProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { AvatarGroupProps } from './AvatarGroup';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, avatars, className, "data-testid": dataTestId, max, spacing, }: AvatarGroupProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<AvatarGroupProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { BadgeProps } from './Badge';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, badgeColor, badgeContent, children, className, "data-testid": dataTestId, invisible, max, overlap, variant, }: BadgeProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<BadgeProps>;
|
|
6
|
+
export declare const WithNotification: Story<BadgeProps>;
|
|
7
|
+
export declare const WithNotificationNumber: Story<BadgeProps>;
|
|
8
|
+
export declare const WithMaxNumber: Story<BadgeProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { BreadcrumbProps } from './Breadcrumbs';
|
|
3
|
+
declare const _default: ComponentMeta<({ className, "data-testid": dataTestId, expansionMenu, items, maxItems, }: BreadcrumbProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<BreadcrumbProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentMeta } from '@storybook/react';
|
|
3
|
+
import { ButtonProps } from './Button';
|
|
4
|
+
declare const _default: ComponentMeta<import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Default: any;
|
|
7
|
+
export declare const WithStartIcon: any;
|
|
8
|
+
export declare const WithEndIcon: any;
|
|
9
|
+
export declare const WithDestructiveType: any;
|
|
10
|
+
export declare const WithOutlinedType: any;
|
|
11
|
+
export declare const WithTextType: any;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { CopyButtonProps } from './CopyButton';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, copiedTooltip, copyTooltip, "data-testid": dataTestId, value, }: CopyButtonProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { IconButtonProps } from './IconButton';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, className, color, "data-testid": dataTestId, disabled, disableRipple, iconId, iconSize, onClick, tooltip, size, }: IconButtonProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: any;
|
|
6
|
+
export declare const WithPrimaryColor: any;
|
|
7
|
+
export declare const WithSecondaryColor: any;
|
|
8
|
+
export declare const WithSmallSize: any;
|
|
9
|
+
export declare const WithDisabledState: any;
|
|
10
|
+
export declare const WithDisabledRipple: any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComponentMeta, Story } from '@storybook/react';
|
|
2
|
+
import { ButtonToggleProps } from './';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, buttonOptions, className, color, "data-testid": dataTestId, disableFocusRipple, disableRipple, exclusive, onChange, orientation, size, value, }: ButtonToggleProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<ButtonToggleProps>;
|
|
6
|
+
export declare const WithTooltip: Story<ButtonToggleProps>;
|
|
7
|
+
export declare const WithDifferentValueTypes: Story<ButtonToggleProps>;
|
|
8
|
+
export declare const WithExclusivity: Story<ButtonToggleProps>;
|
|
9
|
+
export declare const WithSmallSize: Story<ButtonToggleProps>;
|
|
10
|
+
export declare const WithLargeSize: Story<ButtonToggleProps>;
|
|
11
|
+
export declare const WithPrimaryColor: Story<ButtonToggleProps>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { CardProps } from './Card';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, children, className, "data-testid": dataTestId, }: CardProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<CardProps>;
|
|
6
|
+
export declare const ComplexCardWithMedia: Story<CardProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ComponentMeta, Story } from '@storybook/react';
|
|
2
|
+
import { CheckboxProps, DotCheckbox } from './Checkbox';
|
|
3
|
+
declare const _default: ComponentMeta<typeof DotCheckbox>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<CheckboxProps>;
|
|
6
|
+
export declare const WithSmallSize: Story<CheckboxProps>;
|
|
7
|
+
export declare const WithStartLabelPlacement: Story<CheckboxProps>;
|
|
8
|
+
export declare const WithBottomLabelPlacement: Story<CheckboxProps>;
|
|
9
|
+
export declare const WithIndeterminateOption: Story<CheckboxProps>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { DotCheckboxGroup, CheckboxGroupProps } from './CheckboxGroup';
|
|
3
|
+
declare const _default: ComponentMeta<typeof DotCheckboxGroup>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<CheckboxGroupProps>;
|
|
6
|
+
export declare const WithHelperText: any;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { ChipProps } from './Chip';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, avatar, charactersLimit, children, className, "data-testid": dataTestId, disabled, error, isClickable, isDeletable, onClick, onDelete, size, startIcon, }: ChipProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<ChipProps>;
|
|
6
|
+
export declare const ChipWithAvatar: Story<ChipProps>;
|
|
7
|
+
export declare const ChipWithIcon: Story<ChipProps>;
|
|
8
|
+
export declare const ChipWithLongText: Story<ChipProps>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { ConfirmationDialogProps } from './ConfirmationDialog';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, cancelButtonProps, className, "data-testid": dataTestId, message, onCancel, onSubmit, submitButtonProps, open, title, }: ConfirmationDialogProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: any;
|
|
6
|
+
export declare const WithCustomTitleAndMessage: any;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { CssGridProps } from './CssGrid';
|
|
3
|
+
declare const _default: ComponentMeta<(props: CssGridProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<CssGridProps>;
|
|
6
|
+
export declare const DebugCssGrid: Story<CssGridProps>;
|
|
7
|
+
export declare const CssGridCell: Story<CssGridProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { DialogProps } from './Dialog';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, cancelButtonProps, cancelButtonVisible, className, "data-testid": dataTestId, children, closeIconVisible, closeOnClickAway, hasPrimaryAction, onCancel, onSubmit, open, submitButtonProps, title, }: DialogProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<DialogProps>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ComponentMeta, Story } from '@storybook/react';
|
|
2
|
+
import { DividerProps } from './Divider';
|
|
3
|
+
declare const _default: ComponentMeta<({ absolute, ariaLabel, className, "data-testid": dataTestId, flexItem, light, orientation, variant, }: DividerProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<DividerProps>;
|
|
6
|
+
export declare const WithVerticalOrientation: (args: any) => JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { DraggableListProps } from './';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, className, "data-testid": dataTestId, disableDrag, draggableHandle, items, onChange, rowHeight, width, }: DraggableListProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: any;
|
|
6
|
+
export declare const WithCustomWidth: any;
|
|
7
|
+
export declare const WithAvatar: any;
|
|
8
|
+
export declare const WithIcons: any;
|
|
9
|
+
export declare const WithDisabledDrag: any;
|
|
10
|
+
export declare const WithDraggableHandle: any;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { DrawerProps } from './Drawer';
|
|
3
|
+
declare const _default: ComponentMeta<({ anchor, ariaLabel, className, children, "data-testid": dataTestId, drawerBodyProps, drawerFooterProps, drawerHeaderProps, height, ModalProps, onClose, open, PaperProps, variant, width, }: DrawerProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<DrawerProps>;
|
|
6
|
+
export declare const WithHeader: Story<DrawerProps>;
|
|
7
|
+
export declare const WithBodyOnly: Story<DrawerProps>;
|
|
8
|
+
export declare const WithFooter: Story<DrawerProps>;
|
|
9
|
+
export declare const WithHeaderBodyFooter: Story<DrawerProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentMeta, Story } from '@storybook/react';
|
|
2
|
+
import { DynamicFormProps } from './DynamicForm';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, className, "data-testid": dataTestId, config, disabled: isFormDisabled, liveValidation, onChange, onSubmit, }: DynamicFormProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<DynamicFormProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ControlCondition, DisabledControlCondition, DynamicFormConfig, DynamicFormOutputData, DynamicFormState, DynamicFormStateData } from '../models';
|
|
2
|
-
export declare const getControlValue: <T
|
|
2
|
+
export declare const getControlValue: <T>(controlName: string, data: DynamicFormStateData) => T;
|
|
3
3
|
export declare const getOutputFormData: (formState: DynamicFormState) => DynamicFormOutputData;
|
|
4
4
|
export declare const checkIfHiddenControl: (hidden: ControlCondition, formValues: DynamicFormOutputData) => boolean;
|
|
5
5
|
export declare const checkIfDisabledControl: (disabled: DisabledControlCondition, formValues: DynamicFormOutputData, isFormValid: boolean) => boolean;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { EmptyStateProps } from './EmptyState';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, buttonProps, className, "data-testid": dataTestId, imageAltText, imageSrc, subtitle, title, }: EmptyStateProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<EmptyStateProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentMeta, Story } from '@storybook/react';
|
|
2
|
+
import { FileUploadProps } from './';
|
|
3
|
+
declare const _default: ComponentMeta<({ accept, ariaLabel, buttonOnly, className, "data-testid": dataTestId, disabled, hideFilesList, maxFiles, maxSize, onChange, onDragEnter, onFileClick, }: FileUploadProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<FileUploadProps>;
|
|
6
|
+
export declare const WithSingleFileLimit: Story<FileUploadProps>;
|
|
7
|
+
export declare const WithCustomFileUploadList: Story<FileUploadProps>;
|
|
8
|
+
export declare const WithUploadErrors: Story<FileUploadProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { FormProps } from './Form';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, children, className, "data-testid": dataTestId, onSubmit, }: FormProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<FormProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { IconProps } from './Icon';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, className, "data-testid": dataTestId, fontSize, iconId, tooltip, }: IconProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<IconProps>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ComponentMeta, Story } from '@storybook/react';
|
|
2
|
+
import { InlineEditProps } from './InlineEdit';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, bindings, charactersLimit, className, "data-testid": dataTestId, fullWidth, hideActionButtons, name, onChange, onEditStateChange, readOnly, selectTextOnEdit, tabIndex, tooltip, typography, value, }: InlineEditProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<InlineEditProps>;
|
|
6
|
+
export declare const WithCharactersLimit: any;
|
|
7
|
+
export declare const WithMultipleLines: any;
|
|
8
|
+
export declare const WithReadOnlyMode: any;
|
|
9
|
+
export declare const WithoutActionButtons: any;
|
|
10
|
+
export declare const WithTooltip: any;
|
|
11
|
+
export declare const WithSaveError: Story<InlineEditProps>;
|
|
12
|
+
export declare const WithCustomTypography: Story<InlineEditProps>;
|
|
13
|
+
export declare const WithSingleBinding: any;
|
|
14
|
+
export declare const WithMultipleBindings: Story<InlineEditProps>;
|
|
15
|
+
export declare const WithSelectOnEdit: any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { InputSelectProps } from './InputSelect';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, autoFocus, className, "data-testid": dataTestId, defaultValue, disabled, endIcon, error, fullWidth, helperText, id, inputRef, label, name, onBlur, onChange, onFocus, onKeyDown, options, persistentLabel, readOnly, required, shrink, size, startIcon, success, value, warning, }: InputSelectProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<InputSelectProps>;
|
|
6
|
+
export declare const WithPersistentLabel: Story<InputSelectProps>;
|
|
7
|
+
export declare const WithError: Story<InputSelectProps>;
|
|
8
|
+
export declare const WithSuccess: Story<InputSelectProps>;
|
|
9
|
+
export declare const WithWarning: Story<InputSelectProps>;
|
|
10
|
+
export declare const WithReadOnly: Story<InputSelectProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ComponentMeta, Story } from '@storybook/react';
|
|
2
|
+
import { InputTextProps } from './InputText';
|
|
3
|
+
declare const _default: ComponentMeta<({ autoComplete, autoFocus, className, defaultValue, "data-testid": dataTestId, disabled, error, endAdornmentTooltip, fullWidth, hasDebounce, helperText, endIcon, id, inputRef, label, maxRows, minRows, multiline, name, onBlur, onChange, onFocus, onKeyDown, onMouseUp, persistentLabel, placeholder, readOnly, required, shrink, startIcon, size, success, type, value, warning, }: InputTextProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<InputTextProps>;
|
|
6
|
+
export declare const WithPersistentLabel: Story<InputTextProps>;
|
|
7
|
+
export declare const WithHelperText: Story<InputTextProps>;
|
|
8
|
+
export declare const WithError: Story<InputTextProps>;
|
|
9
|
+
export declare const WithSuccess: Story<InputTextProps>;
|
|
10
|
+
export declare const WithWarning: Story<InputTextProps>;
|
|
11
|
+
export declare const WithErrorTooltip: Story<InputTextProps>;
|
|
12
|
+
export declare const WithWarningTooltip: Story<InputTextProps>;
|
|
13
|
+
export declare const WithReadOnly: Story<InputTextProps>;
|
|
14
|
+
export declare const WithMultiline: Story<InputTextProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentMeta, Story } from '@storybook/react';
|
|
2
|
+
import { LinearProgressProps } from './LinearProgress';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, color, className, "data-testid": dataTestId, value, valueBuffer, variant, }: LinearProgressProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<LinearProgressProps>;
|
|
6
|
+
export declare const WithDeterminateVariant: any;
|
|
7
|
+
export declare const WithBufferVariant: any;
|
|
8
|
+
export declare const WithQueryVariant: any;
|
|
9
|
+
export declare const WithPrimaryColor: any;
|
|
10
|
+
export declare const WithSecondaryColor: any;
|
|
11
|
+
export declare const WithErrorColor: any;
|
|
12
|
+
export declare const WithWarningColor: any;
|
|
13
|
+
export declare const WithPurpleColor: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KeyboardEvent, MouseEvent, ReactNode } from 'react';
|
|
1
|
+
import { KeyboardEvent, MouseEvent, PointerEvent, ReactNode } from 'react';
|
|
2
2
|
import { CommonProps } from '../CommonProps';
|
|
3
3
|
export declare type LinkColor = 'initial' | 'inherit' | 'primary' | 'secondary' | 'textPrimary' | 'textSecondary' | 'error';
|
|
4
4
|
export declare type LinkUnderline = 'always' | 'hover' | 'none';
|
|
@@ -15,6 +15,8 @@ export interface LinkProps extends CommonProps {
|
|
|
15
15
|
/** mouse enter event callback */
|
|
16
16
|
onMouseEnter?: (event: MouseEvent<Element>) => void;
|
|
17
17
|
/** specifies the relationship between the current document and the linked document */
|
|
18
|
+
/** event callback, for handling a middle-click or other non-'onClick' behavior */
|
|
19
|
+
onPointerDown?: (event: PointerEvent<Element>) => void;
|
|
18
20
|
rel?: string;
|
|
19
21
|
/** tab order for the link */
|
|
20
22
|
tabIndex?: number;
|
|
@@ -25,4 +27,4 @@ export interface LinkProps extends CommonProps {
|
|
|
25
27
|
/** underline the link */
|
|
26
28
|
underline?: LinkUnderline;
|
|
27
29
|
}
|
|
28
|
-
export declare const DotLink: ({ ariaLabel, children, className, color, "data-testid": dataTestId, href, onClick, onMouseEnter, rel, tabIndex, target, tooltip, underline, }: LinkProps) => JSX.Element;
|
|
30
|
+
export declare const DotLink: ({ ariaLabel, children, className, color, "data-testid": dataTestId, href, onClick, onMouseEnter, onPointerDown, rel, tabIndex, target, tooltip, underline, }: LinkProps) => JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { LinkProps } from './Link';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, children, className, color, "data-testid": dataTestId, href, onClick, onMouseEnter, onPointerDown, rel, tabIndex, target, tooltip, underline, }: LinkProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<LinkProps>;
|
|
6
|
+
export declare const LinkInParagraph: Story<LinkProps>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { ListProps } from './utils/models';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, children, className, component, "data-testid": dataTestId, dense, disablePadding, items, menuPlacement, nestedDrawerLeftSpacing, nestedListType, width, }: ListProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<ListProps>;
|
|
6
|
+
export declare const WithoutIcons: Story<ListProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ComponentMeta, Story } from '@storybook/react';
|
|
2
|
+
import { MenuProps } from './Menu';
|
|
3
|
+
declare const _default: ComponentMeta<({ anchorEl, ariaLabel, className, "data-testid": dataTestId, dense, disablePortal, id, loading, maxVisibleItems, menuItemHeight, menuItems, menuPlacement, onLeave, onSelect, open, selectedKey, }: MenuProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<MenuProps>;
|
|
6
|
+
export declare const ButtonMenu: Story<MenuProps>;
|
|
7
|
+
export declare const TableMenu: Story<MenuProps>;
|
|
8
|
+
export declare const WithCustomHeight: Story<MenuProps>;
|
|
9
|
+
export declare const WithMultiLevelMenu: Story<MenuProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentMeta, Story } from '@storybook/react';
|
|
2
|
+
import { NavigationRailProps } from './NavigationRail';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, className, "data-testid": dataTestId, onChange, railItemPosition, railItems, selectedIndex, }: NavigationRailProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<NavigationRailProps>;
|
|
6
|
+
export declare const WithProgrammaticNavigation: Story<NavigationRailProps>;
|
|
7
|
+
export declare const WithBadges: Story<NavigationRailProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { PillProps } from './Pill';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, backgroundcolor, bordercolor, className, "data-testid": dataTestId, icon, label, labelcolor, size, status, variant, }: PillProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<PillProps>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ComponentMeta, Story } from '@storybook/react';
|
|
2
|
+
import { PopperProps } from './Popper';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, anchorEl, children, className, "data-testid": dataTestId, disablePortal, onClickAway, open, placement, }: PopperProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<PopperProps>;
|
|
6
|
+
export declare const WithButtonAnchor: Story<PopperProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ComponentMeta, Story } from '@storybook/react';
|
|
2
|
+
import { ProgressProps } from './Progress';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, color, className, "data-testid": dataTestId, size, thickness, tooltip, value, variant, }: ProgressProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<ProgressProps>;
|
|
6
|
+
export declare const WithPrimaryColor: any;
|
|
7
|
+
export declare const WithCustomSizeAndThickness: any;
|
|
8
|
+
export declare const WithDeterminateVariant: any;
|
|
9
|
+
export declare const WithPercentageSimulation: (args: ProgressProps) => JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentMeta, Story } from '@storybook/react';
|
|
2
|
+
import { ProgressButtonProps } from './ProgressButton';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, children, className, "data-testid": dataTestId, disabled, disableRipple, fullWidth, isLoading, isSubmit, onClick, size, tooltip, type, }: ProgressButtonProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<ProgressButtonProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { DotRadioButton, RadioButtonProps } from './RadioButton';
|
|
3
|
+
declare const _default: ComponentMeta<typeof DotRadioButton>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<RadioButtonProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { RadioGroupProps } from './RadioGroup';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, className, "data-testid": dataTestId, defaultValue, disableGroup, endIcon, error, helperText, groupLabel, name, labelPlacement, onChange, value, options, startIcon, required, row, size, }: RadioGroupProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<RadioGroupProps>;
|
|
6
|
+
export declare const WithHelperText: any;
|
|
7
|
+
export declare const WithRowAndHelperText: any;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentMeta, Story } from '@storybook/react';
|
|
2
|
+
import { SidebarProps } from './Sidebar';
|
|
3
|
+
declare const _default: ComponentMeta<({ appLogo, appLogoSmall, ariaLabel, backItem, brandDesc, children, className, collapsable, "data-testid": dataTestId, displayAppLogo, displayBrand, goBack, navItems, nestedListType, onCollapseChange, open, title, titleAvatarProps, width, }: SidebarProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<SidebarProps>;
|
|
6
|
+
export declare const WithReactRouter: Story<SidebarProps>;
|
|
7
|
+
export declare const WithTooltipsWhenCollapsed: Story<SidebarProps>;
|
|
8
|
+
export declare const WithBackItem: Story<SidebarProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { SkeletonProps } from './Skeleton';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, children, className, "data-testid": dataTestId, height, width, variant, }: SkeletonProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<SkeletonProps>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { SnackbarProps } from './';
|
|
3
|
+
declare const _default: ComponentMeta<({ action, anchorOrigin, ariaLabel, children, className, "data-testid": dataTestId, onClose, open, severity, width, }: SnackbarProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<SnackbarProps>;
|
|
6
|
+
export declare const WithBottomCenterAnchor: Story<SnackbarProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { SplitButtonProps } from './SplitButton';
|
|
3
|
+
declare const _default: ComponentMeta<({ autoFocus, ariaLabel, className, "data-testid": dataTestId, defaultMainOptionKey, disabled, disablePortal, disableRipple, fullWidth, isSubmit, onOptionClick, options, size, tooltip, type, }: SplitButtonProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<SplitButtonProps>;
|
|
6
|
+
export declare const WithSelectedKey: Story<SplitButtonProps>;
|
|
7
|
+
export declare const WithMainOptionDisabled: Story<SplitButtonProps>;
|
|
8
|
+
export declare const WithMenuOptionDisabled: Story<SplitButtonProps>;
|
|
9
|
+
export declare const WithMenuButtonDisabled: Story<SplitButtonProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { SwitchProps } from './';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, checked, className, color, "data-testid": dataTestId, disabled, id, inputRef, label, labelPlacement, onChange, size, }: SwitchProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<SwitchProps>;
|
|
6
|
+
export declare const WithSecondaryColor: Story<SwitchProps>;
|
|
7
|
+
export declare const WithDisabledState: Story<SwitchProps>;
|
|
8
|
+
export declare const WithSmallSize: Story<SwitchProps>;
|
|
9
|
+
export declare const WithStartLabelPlacement: Story<SwitchProps>;
|
|
10
|
+
export declare const WithBottomLabelPlacement: Story<SwitchProps>;
|
|
11
|
+
export declare const WithTopLabelPlacement: Story<SwitchProps>;
|
|
12
|
+
export declare const WithoutLabel: Story<SwitchProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { TableProps } from './Table';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, bodyTypography, className, columns, count, data, "data-testid": dataTestId, emptyMessage, footerTypography, headerTypography, loading, maxHeight, multiSelect, order, orderBy, onRowClick, onUpdateData, page, rowsPerPage, stickyHeader, sortable, toolbar, }: TableProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<TableProps>;
|
|
6
|
+
export declare const LocallyPaginatedTable: Story<TableProps>;
|
|
7
|
+
export declare const RemotelyPaginatedTable: Story<TableProps>;
|
|
8
|
+
export declare const WithActionMenu: Story<TableProps>;
|
|
9
|
+
export declare const WithCheckboxSelection: Story<TableProps>;
|
|
10
|
+
export declare const EmptyTable: Story<TableProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentMeta, Story } from '@storybook/react';
|
|
2
|
+
import { TablePaginationProps } from './TablePagination';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, className, count, "data-testid": dataTestId, onPageChange, onRowsPerPageChange, page, rowsPerPage, typography, }: TablePaginationProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<TablePaginationProps>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { TabsProps } from './Tabs';
|
|
3
|
+
declare const _default: ComponentMeta<({ centered, className, color, "data-testid": dataTestId, initialValue, onChange, scrollButtons, tabs, variant, }: TabsProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<TabsProps>;
|
|
6
|
+
export declare const TabsInActionBar: Story<TabsProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { TooltipProps } from './Tooltip';
|
|
3
|
+
declare const _default: ComponentMeta<({ ariaLabel, children, className, "data-testid": dataTestId, leaveDelay, onClose, open, placement, title, }: TooltipProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: Story<TooltipProps>;
|