@digital-ai/dot-components 2.18.1 → 2.18.3
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/index.esm.js +10 -6
- package/index.umd.js +10 -6
- package/lib/components/index.d.ts +1 -1
- package/package.json +16 -1
- package/CHANGE_LOG.md +0 -2333
- package/fonts/Lato-Bold.woff +0 -0
- package/fonts/Lato-Regular.woff +0 -0
- package/lib/Typography.stories.d.ts +0 -4
- package/lib/components/accordion/Accordion.stories.d.ts +0 -8
- package/lib/components/action-toolbar/ActionToolbar.stories.d.ts +0 -5
- package/lib/components/alert-banner/AlertBanner.stories.d.ts +0 -5
- package/lib/components/app-switcher/AppSwitcher.stories.d.ts +0 -5
- package/lib/components/app-toolbar/AppToolbar.stories.d.ts +0 -8
- package/lib/components/app-toolbar/AppToolbar.stories.data.d.ts +0 -7
- package/lib/components/app-toolbar/AppToolbar.stories.styles.d.ts +0 -2
- package/lib/components/auto-complete/AutoComplete.stories.d.ts +0 -25
- package/lib/components/auto-complete/AutoComplete.stories.styles.d.ts +0 -10
- package/lib/components/auto-complete/Autocomplete.stories.data.d.ts +0 -41
- package/lib/components/avatar/Avatar.stories.d.ts +0 -9
- package/lib/components/avatar-group/AvatarGroup.stories.d.ts +0 -5
- package/lib/components/avatar-group/AvatarGroup.stories.data.d.ts +0 -2
- package/lib/components/badge/Badge.stories.d.ts +0 -8
- package/lib/components/breadcrumbs/Breadcrumbs.stories.d.ts +0 -5
- package/lib/components/button/Button.stories.d.ts +0 -12
- package/lib/components/button/Button.stories.styles.d.ts +0 -2
- package/lib/components/button/CopyButton.stories.d.ts +0 -5
- package/lib/components/button/IconButton.stories.d.ts +0 -11
- package/lib/components/button-toggle/ButtonToggle.stories.d.ts +0 -11
- package/lib/components/button-toggle/ButtonToggle.stories.data.d.ts +0 -2
- package/lib/components/card/Card.stories.d.ts +0 -6
- package/lib/components/checkbox/Checkbox.stories.d.ts +0 -9
- package/lib/components/checkbox/CheckboxGroup.stories.d.ts +0 -6
- package/lib/components/chip/Chip.stories.d.ts +0 -8
- package/lib/components/click-away-listener/ClickAwayListener.stories.d.ts +0 -5
- package/lib/components/confirmation-dialog/ConfirmationDialog.stories.d.ts +0 -6
- package/lib/components/css-grid/CssGrid.stories.d.ts +0 -7
- package/lib/components/date-picker/DatePicker.stories.d.ts +0 -27
- package/lib/components/date-picker/DatePicker.stories.styles.d.ts +0 -8
- package/lib/components/dialog/Dialog.stories.d.ts +0 -5
- package/lib/components/divider/Divider.stories.d.ts +0 -6
- package/lib/components/divider/Divider.stories.styles.d.ts +0 -2
- package/lib/components/draggable-list/DraggableList.stories.d.ts +0 -10
- package/lib/components/draggable-list/DraggableList.stories.data.d.ts +0 -18
- package/lib/components/draggable-list/DraggableList.stories.styles.d.ts +0 -6
- package/lib/components/drawer/Drawer.stories.d.ts +0 -9
- package/lib/components/dynamic-form/DynamicForm.stories.d.ts +0 -5
- package/lib/components/dynamic-form/DynamicForm.stories.data.d.ts +0 -2
- package/lib/components/dynamic-form/DynamicForm.stories.styles.d.ts +0 -1
- package/lib/components/empty-state/EmptyState.stories.d.ts +0 -5
- package/lib/components/file-upload/FileUpload.stories.d.ts +0 -9
- package/lib/components/file-upload/FileUpload.stories.data.d.ts +0 -6
- package/lib/components/file-upload/FileUpload.stories.styles.d.ts +0 -2
- package/lib/components/form/Form.stories.d.ts +0 -5
- package/lib/components/form-group/FormGroup.stories.d.ts +0 -5
- package/lib/components/icon/Icon.stories.d.ts +0 -5
- package/lib/components/inline-edit/InlineEdit.stories.d.ts +0 -16
- package/lib/components/inline-edit/InlineEdit.stories.styles.d.ts +0 -2
- package/lib/components/input-form-fields/Input.stories.data.d.ts +0 -12
- package/lib/components/input-form-fields/InputSelect.stories.d.ts +0 -10
- package/lib/components/input-form-fields/InputText.stories.d.ts +0 -17
- package/lib/components/linear-progress/LinearProgress.stories.d.ts +0 -13
- package/lib/components/link/Link.stories.d.ts +0 -6
- package/lib/components/list/List.stories.d.ts +0 -6
- package/lib/components/list/List.stories.data.d.ts +0 -4
- package/lib/components/menu/Menu.stories.d.ts +0 -9
- package/lib/components/menu/Menu.stories.data.d.ts +0 -27
- package/lib/components/menu/Menu.stories.styles.d.ts +0 -6
- package/lib/components/navigation-rail/NavigationRail.stories.d.ts +0 -7
- package/lib/components/navigation-rail/NavigationRail.stories.data.d.ts +0 -9
- package/lib/components/navigation-rail/NavigationRail.stories.styles.d.ts +0 -4
- package/lib/components/pill/Pill.stories.d.ts +0 -5
- package/lib/components/popper/Popper.stories.d.ts +0 -6
- package/lib/components/popper/Popper.stories.data.d.ts +0 -5
- package/lib/components/popper/Popper.stories.styles.d.ts +0 -4
- package/lib/components/progress/Progress.stories.d.ts +0 -9
- package/lib/components/progress-button/ProgressButton.stories.d.ts +0 -5
- package/lib/components/radio/RadioButton.stories.d.ts +0 -5
- package/lib/components/radio/RadioGroup.stories.d.ts +0 -7
- package/lib/components/sidebar/Sidebar.stories.d.ts +0 -8
- package/lib/components/sidebar/Sidebar.stories.data.d.ts +0 -102
- package/lib/components/skeleton/Skeleton.stories.d.ts +0 -5
- package/lib/components/snackbar/Snackbar.stories.d.ts +0 -6
- package/lib/components/split-button/SplitButton.stories.d.ts +0 -9
- package/lib/components/stepper/Stepper.stories.d.ts +0 -10
- package/lib/components/stepper/Stepper.stories.data.d.ts +0 -86
- package/lib/components/switch/Switch.stories.d.ts +0 -12
- package/lib/components/table/Table.stories.d.ts +0 -13
- package/lib/components/table/Table.stories.data.d.ts +0 -165
- package/lib/components/table/TablePagination.stories.d.ts +0 -7
- package/lib/components/tabs/Tabs.stories.d.ts +0 -6
- package/lib/components/time-picker/TimePicker.stories.d.ts +0 -24
- package/lib/components/time-picker/TimePicker.stories.styles.d.ts +0 -10
- package/lib/components/tooltip/Tooltip.stories.d.ts +0 -5
- package/lib/components/truncate-with-tooltip/TruncateWithTooltip.stories.d.ts +0 -8
- package/lib/components/typography/Typography.stories.d.ts +0 -7
- package/lib/testing-utils/index.d.ts +0 -61
- package/lib/testing-utils/intersection-observer-mock.d.ts +0 -1
- package/lib/testing-utils/resize-observer-mock.d.ts +0 -1
- package/lib/testing-utils/scroll-into-view-mock.d.ts +0 -3
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { MenuItemProps } from '../menu/Menu';
|
|
2
|
-
export declare const defaultMenuItems: ({
|
|
3
|
-
children: JSX.Element;
|
|
4
|
-
classes: string;
|
|
5
|
-
key: string;
|
|
6
|
-
} | {
|
|
7
|
-
children: string;
|
|
8
|
-
key: string;
|
|
9
|
-
classes?: undefined;
|
|
10
|
-
})[];
|
|
11
|
-
export declare const multiLevelMenuItems: MenuItemProps[];
|
|
12
|
-
export declare const buttonMenuItems: {
|
|
13
|
-
children: string;
|
|
14
|
-
key: string;
|
|
15
|
-
}[];
|
|
16
|
-
export declare const tableMenuItems: ({
|
|
17
|
-
children: string;
|
|
18
|
-
key: string;
|
|
19
|
-
} | {
|
|
20
|
-
children: JSX.Element;
|
|
21
|
-
key: string;
|
|
22
|
-
})[];
|
|
23
|
-
export declare const customHeightMenuItems: MenuItemProps[];
|
|
24
|
-
export interface MenuTableArgs {
|
|
25
|
-
onIconButtonClick: (event: MouseEvent<HTMLButtonElement>, menuId: string) => void;
|
|
26
|
-
}
|
|
27
|
-
export declare const MenuTable: ({ onIconButtonClick }: MenuTableArgs) => JSX.Element;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const rootClassName = "dot-menu-wrapper";
|
|
2
|
-
export declare const multiLevelClassName = "dot-multi-level-menu";
|
|
3
|
-
export declare const menuTableClassName = "dot-menu-table";
|
|
4
|
-
export declare const StyledMenuWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
-
export declare const StyledMultiLevelMenu: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
-
export declare const StyledMenuTable: import("styled-components").StyledComponent<"table", any, {}, never>;
|
|
@@ -1,7 +0,0 @@
|
|
|
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>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { RailItem } from './NavigationRail';
|
|
2
|
-
export interface BadgeCount {
|
|
3
|
-
activity: number;
|
|
4
|
-
conditions: number;
|
|
5
|
-
properties: number;
|
|
6
|
-
scheduling: number;
|
|
7
|
-
}
|
|
8
|
-
export declare const mockRailItems: Array<RailItem>;
|
|
9
|
-
export declare const getBadgeRailItems: ({ activity, conditions, properties, scheduling, }: BadgeCount) => RailItem[];
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const programmaticNavigationClassName = "dot-programmatic-navigation-story";
|
|
2
|
-
export declare const withBadgesClassName = "dot-with-badges-story";
|
|
3
|
-
export declare const StyledWithProgrammaticNavigation: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
export declare const StyledWithBadges: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,5 +0,0 @@
|
|
|
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>;
|
|
@@ -1,6 +0,0 @@
|
|
|
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, modifiers, onClickAway, open, placement, }: PopperProps) => JSX.Element>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: Story<PopperProps>;
|
|
6
|
-
export declare const WithButtonAnchor: Story<PopperProps>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const defaultStoryClassName = "dot-popper-default";
|
|
2
|
-
export declare const flagTaskClassName = "dot-flag-task";
|
|
3
|
-
export declare const StyledPopperStory: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
export declare const StyledFlagTask: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ComponentMeta } 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: any;
|
|
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;
|
|
@@ -1,5 +0,0 @@
|
|
|
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, startIcon, tooltip, type, }: ProgressButtonProps) => JSX.Element>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: Story<ProgressButtonProps>;
|
|
@@ -1,5 +0,0 @@
|
|
|
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>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ComponentMeta } from '@storybook/react';
|
|
2
|
-
import { RadioGroupProps } from './RadioGroup';
|
|
3
|
-
declare const _default: ComponentMeta<({ ariaLabel, ariaRole, 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: any;
|
|
6
|
-
export declare const WithHelperText: any;
|
|
7
|
-
export declare const WithRowAndHelperText: any;
|
|
@@ -1,8 +0,0 @@
|
|
|
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;
|
|
6
|
-
export declare const WithReactRouter: Story;
|
|
7
|
-
export declare const WithTooltipsWhenCollapsed: Story;
|
|
8
|
-
export declare const WithBackItem: Story;
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { MouseEvent } from 'react';
|
|
2
|
-
import { ListItemProps } from '../list/utils/models';
|
|
3
|
-
export declare const childElement: JSX.Element;
|
|
4
|
-
export declare const childSearchElement: JSX.Element;
|
|
5
|
-
export declare const getNavigationItems: (isSelected: (key: number) => boolean, handleClick: (key: number) => void) => ({
|
|
6
|
-
startIcon: JSX.Element;
|
|
7
|
-
onClick: import("@storybook/addon-actions").HandlerFunction;
|
|
8
|
-
items: ({
|
|
9
|
-
text: string;
|
|
10
|
-
divider: boolean;
|
|
11
|
-
onClick?: undefined;
|
|
12
|
-
selected?: undefined;
|
|
13
|
-
href?: undefined;
|
|
14
|
-
child?: undefined;
|
|
15
|
-
} | {
|
|
16
|
-
onClick: (_event: MouseEvent) => void;
|
|
17
|
-
selected: boolean;
|
|
18
|
-
text: string;
|
|
19
|
-
divider?: undefined;
|
|
20
|
-
href?: undefined;
|
|
21
|
-
child?: undefined;
|
|
22
|
-
} | {
|
|
23
|
-
href: string;
|
|
24
|
-
text: string;
|
|
25
|
-
divider?: undefined;
|
|
26
|
-
onClick?: undefined;
|
|
27
|
-
selected?: undefined;
|
|
28
|
-
child?: undefined;
|
|
29
|
-
} | {
|
|
30
|
-
child: JSX.Element;
|
|
31
|
-
onClick: (event: MouseEvent) => void;
|
|
32
|
-
text?: undefined;
|
|
33
|
-
divider?: undefined;
|
|
34
|
-
selected?: undefined;
|
|
35
|
-
href?: undefined;
|
|
36
|
-
})[];
|
|
37
|
-
text: string;
|
|
38
|
-
endIconId?: undefined;
|
|
39
|
-
selected?: undefined;
|
|
40
|
-
divider?: undefined;
|
|
41
|
-
} | {
|
|
42
|
-
items: ({
|
|
43
|
-
text: string;
|
|
44
|
-
divider: boolean;
|
|
45
|
-
startIcon?: undefined;
|
|
46
|
-
onClick?: undefined;
|
|
47
|
-
selected?: undefined;
|
|
48
|
-
} | {
|
|
49
|
-
startIcon: JSX.Element;
|
|
50
|
-
onClick: (_event: MouseEvent) => void;
|
|
51
|
-
selected: boolean;
|
|
52
|
-
text: string;
|
|
53
|
-
divider?: undefined;
|
|
54
|
-
})[];
|
|
55
|
-
startIcon: JSX.Element;
|
|
56
|
-
text: string;
|
|
57
|
-
onClick?: undefined;
|
|
58
|
-
endIconId?: undefined;
|
|
59
|
-
selected?: undefined;
|
|
60
|
-
divider?: undefined;
|
|
61
|
-
} | {
|
|
62
|
-
endIconId: string;
|
|
63
|
-
startIcon: JSX.Element;
|
|
64
|
-
onClick: (_event: MouseEvent) => void;
|
|
65
|
-
selected: boolean;
|
|
66
|
-
text: string;
|
|
67
|
-
items?: undefined;
|
|
68
|
-
divider?: undefined;
|
|
69
|
-
} | {
|
|
70
|
-
text: string;
|
|
71
|
-
divider: boolean;
|
|
72
|
-
startIcon?: undefined;
|
|
73
|
-
onClick?: undefined;
|
|
74
|
-
items?: undefined;
|
|
75
|
-
endIconId?: undefined;
|
|
76
|
-
selected?: undefined;
|
|
77
|
-
} | {
|
|
78
|
-
startIcon: JSX.Element;
|
|
79
|
-
onClick: (_event: MouseEvent) => void;
|
|
80
|
-
selected: boolean;
|
|
81
|
-
text: string;
|
|
82
|
-
items?: undefined;
|
|
83
|
-
endIconId?: undefined;
|
|
84
|
-
divider?: undefined;
|
|
85
|
-
} | {
|
|
86
|
-
divider: boolean;
|
|
87
|
-
startIcon?: undefined;
|
|
88
|
-
onClick?: undefined;
|
|
89
|
-
items?: undefined;
|
|
90
|
-
text?: undefined;
|
|
91
|
-
endIconId?: undefined;
|
|
92
|
-
selected?: undefined;
|
|
93
|
-
})[];
|
|
94
|
-
export declare const routerNavigationItems: Array<ListItemProps>;
|
|
95
|
-
interface SidebarPageTitleProps {
|
|
96
|
-
description?: string;
|
|
97
|
-
iconId: string;
|
|
98
|
-
title: string;
|
|
99
|
-
}
|
|
100
|
-
export declare const SidebarPageTitle: ({ description, title, iconId, }: SidebarPageTitleProps) => JSX.Element;
|
|
101
|
-
export declare const SidebarStoryRoutes: () => JSX.Element;
|
|
102
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
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>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { 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: any;
|
|
6
|
-
export declare const WithBottomCenterAnchor: any;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { 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: any;
|
|
6
|
-
export declare const WithSelectedKey: any;
|
|
7
|
-
export declare const WithMainOptionDisabled: any;
|
|
8
|
-
export declare const WithMenuOptionDisabled: any;
|
|
9
|
-
export declare const WithMenuButtonDisabled: any;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ComponentMeta } from '@storybook/react';
|
|
2
|
-
import { StepperProps } from './Stepper';
|
|
3
|
-
declare const _default: ComponentMeta<({ activeStep, ariaLabel, className, "data-testid": dataTestId, finalContent, initialContent, nextButtonText, nextStepDisabled, offset, onBack, onCancel, onSubmit, orientation, disableUncompletedStepNav, steps, stepsPosition, submitButtonText, }: StepperProps) => JSX.Element>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: any;
|
|
6
|
-
export declare const WithStepDescription: any;
|
|
7
|
-
export declare const WithHorizontalOrientation: any;
|
|
8
|
-
export declare const WithErrorStep: any;
|
|
9
|
-
export declare const WithInitialAndFinalContent: any;
|
|
10
|
-
export declare const WithStepperListOnRightSide: any;
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
export declare const demoSteps: ({
|
|
2
|
-
content: string;
|
|
3
|
-
completed: boolean;
|
|
4
|
-
iconId: string;
|
|
5
|
-
id: number;
|
|
6
|
-
label: string;
|
|
7
|
-
halfWidthContent?: undefined;
|
|
8
|
-
inProgress?: undefined;
|
|
9
|
-
} | {
|
|
10
|
-
content: JSX.Element;
|
|
11
|
-
halfWidthContent: boolean;
|
|
12
|
-
id: number;
|
|
13
|
-
inProgress: boolean;
|
|
14
|
-
label: string;
|
|
15
|
-
completed?: undefined;
|
|
16
|
-
iconId?: undefined;
|
|
17
|
-
} | {
|
|
18
|
-
content: JSX.Element;
|
|
19
|
-
id: number;
|
|
20
|
-
label: string;
|
|
21
|
-
completed?: undefined;
|
|
22
|
-
iconId?: undefined;
|
|
23
|
-
halfWidthContent?: undefined;
|
|
24
|
-
inProgress?: undefined;
|
|
25
|
-
})[];
|
|
26
|
-
export declare const demoStepsUncompleted: {
|
|
27
|
-
content: string;
|
|
28
|
-
completed: boolean;
|
|
29
|
-
id: number;
|
|
30
|
-
label: string;
|
|
31
|
-
}[];
|
|
32
|
-
export declare const withErrorStep: ({
|
|
33
|
-
content: string;
|
|
34
|
-
completed: boolean;
|
|
35
|
-
iconId: string;
|
|
36
|
-
id: number;
|
|
37
|
-
label: string;
|
|
38
|
-
halfWidthContent?: undefined;
|
|
39
|
-
inProgress?: undefined;
|
|
40
|
-
} | {
|
|
41
|
-
content: JSX.Element;
|
|
42
|
-
halfWidthContent: boolean;
|
|
43
|
-
id: number;
|
|
44
|
-
inProgress: boolean;
|
|
45
|
-
label: string;
|
|
46
|
-
completed?: undefined;
|
|
47
|
-
iconId?: undefined;
|
|
48
|
-
} | {
|
|
49
|
-
content: JSX.Element;
|
|
50
|
-
id: number;
|
|
51
|
-
label: string;
|
|
52
|
-
completed?: undefined;
|
|
53
|
-
iconId?: undefined;
|
|
54
|
-
halfWidthContent?: undefined;
|
|
55
|
-
inProgress?: undefined;
|
|
56
|
-
} | {
|
|
57
|
-
content: string;
|
|
58
|
-
error: boolean;
|
|
59
|
-
id: number;
|
|
60
|
-
label: string;
|
|
61
|
-
})[];
|
|
62
|
-
export declare const withStepDescription: ({
|
|
63
|
-
content: string;
|
|
64
|
-
description: string;
|
|
65
|
-
completed: boolean;
|
|
66
|
-
iconId: string;
|
|
67
|
-
id: number;
|
|
68
|
-
label: string;
|
|
69
|
-
disabled?: undefined;
|
|
70
|
-
} | {
|
|
71
|
-
content: JSX.Element;
|
|
72
|
-
description: string;
|
|
73
|
-
id: number;
|
|
74
|
-
label: string;
|
|
75
|
-
completed?: undefined;
|
|
76
|
-
iconId?: undefined;
|
|
77
|
-
disabled?: undefined;
|
|
78
|
-
} | {
|
|
79
|
-
content: JSX.Element;
|
|
80
|
-
description: JSX.Element;
|
|
81
|
-
disabled: boolean;
|
|
82
|
-
id: number;
|
|
83
|
-
label: string;
|
|
84
|
-
completed?: undefined;
|
|
85
|
-
iconId?: undefined;
|
|
86
|
-
})[];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { 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: any;
|
|
6
|
-
export declare const WithSecondaryColor: any;
|
|
7
|
-
export declare const WithSmallSize: any;
|
|
8
|
-
export declare const WithDisabledState: any;
|
|
9
|
-
export declare const WithStartLabelPlacement: any;
|
|
10
|
-
export declare const WithBottomLabelPlacement: any;
|
|
11
|
-
export declare const WithTopLabelPlacement: any;
|
|
12
|
-
export declare const WithoutLabel: any;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
-
import { TableProps } from './Table';
|
|
3
|
-
declare const _default: ComponentMeta<({ actionsMenuPlacement, ariaLabel, bodyTypography, className, collapsibleTableOptions, columns, count, data, "data-testid": dataTestId, emptyMessage, footerTypography, headerTypography, labelRowsPerPage, loading, maxHeight, multiSelect, order, orderBy, onRowClick, onUpdateData, page, rowsPerPage, rowsPerPageOptions, stickyHeader, sortable, toolbar, }: TableProps) => JSX.Element>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: Story;
|
|
6
|
-
export declare const LocallyPaginatedTable: Story;
|
|
7
|
-
export declare const RemotelyPaginatedTable: Story;
|
|
8
|
-
export declare const WithActionMenu: Story;
|
|
9
|
-
export declare const WithCheckboxSelection: Story;
|
|
10
|
-
export declare const EmptyTable: Story;
|
|
11
|
-
export declare const WithCustomPaginationOptions: Story;
|
|
12
|
-
export declare const WithCollapsibleTable: Story;
|
|
13
|
-
export declare const WithCollapsibleTableAsyncLoad: Story;
|
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
import { TextAlignment } from './TableCell';
|
|
2
|
-
import { TableProps } from './Table';
|
|
3
|
-
export declare const actionMenuColumns: ({
|
|
4
|
-
id: string;
|
|
5
|
-
label: string;
|
|
6
|
-
width: string;
|
|
7
|
-
truncate: boolean;
|
|
8
|
-
sortable?: undefined;
|
|
9
|
-
} | {
|
|
10
|
-
id: string;
|
|
11
|
-
label: string;
|
|
12
|
-
width: string;
|
|
13
|
-
truncate?: undefined;
|
|
14
|
-
sortable?: undefined;
|
|
15
|
-
} | {
|
|
16
|
-
id: string;
|
|
17
|
-
label: string;
|
|
18
|
-
sortable: boolean;
|
|
19
|
-
width?: undefined;
|
|
20
|
-
truncate?: undefined;
|
|
21
|
-
})[];
|
|
22
|
-
export declare const dataWithActionMenu: {
|
|
23
|
-
id: string;
|
|
24
|
-
rowData: {
|
|
25
|
-
title: string;
|
|
26
|
-
hometown: string;
|
|
27
|
-
action: {
|
|
28
|
-
children: JSX.Element;
|
|
29
|
-
iconId: string;
|
|
30
|
-
key: string;
|
|
31
|
-
}[];
|
|
32
|
-
};
|
|
33
|
-
}[];
|
|
34
|
-
export declare const defaultColumns: ({
|
|
35
|
-
id: string;
|
|
36
|
-
label: string;
|
|
37
|
-
width: string;
|
|
38
|
-
truncate: boolean;
|
|
39
|
-
align?: undefined;
|
|
40
|
-
sortable?: undefined;
|
|
41
|
-
} | {
|
|
42
|
-
id: string;
|
|
43
|
-
label: string;
|
|
44
|
-
width: string;
|
|
45
|
-
truncate?: undefined;
|
|
46
|
-
align?: undefined;
|
|
47
|
-
sortable?: undefined;
|
|
48
|
-
} | {
|
|
49
|
-
id: string;
|
|
50
|
-
label: string;
|
|
51
|
-
align: TextAlignment;
|
|
52
|
-
width: string;
|
|
53
|
-
truncate?: undefined;
|
|
54
|
-
sortable?: undefined;
|
|
55
|
-
} | {
|
|
56
|
-
id: string;
|
|
57
|
-
label: string;
|
|
58
|
-
sortable: boolean;
|
|
59
|
-
align: TextAlignment;
|
|
60
|
-
width: string;
|
|
61
|
-
truncate: boolean;
|
|
62
|
-
})[];
|
|
63
|
-
export declare const defaultData: ({
|
|
64
|
-
id: string;
|
|
65
|
-
className: string;
|
|
66
|
-
selected: boolean;
|
|
67
|
-
rowData: {
|
|
68
|
-
title: string;
|
|
69
|
-
hometown: string;
|
|
70
|
-
fans: number;
|
|
71
|
-
delete: JSX.Element;
|
|
72
|
-
className: string;
|
|
73
|
-
};
|
|
74
|
-
} | {
|
|
75
|
-
id: string;
|
|
76
|
-
rowData: {
|
|
77
|
-
title: string;
|
|
78
|
-
hometown: string;
|
|
79
|
-
fans: number;
|
|
80
|
-
delete: JSX.Element;
|
|
81
|
-
className?: undefined;
|
|
82
|
-
};
|
|
83
|
-
className?: undefined;
|
|
84
|
-
selected?: undefined;
|
|
85
|
-
})[];
|
|
86
|
-
export declare const paginatedColumns: ({
|
|
87
|
-
id: string;
|
|
88
|
-
label: string;
|
|
89
|
-
width: string;
|
|
90
|
-
truncate: boolean;
|
|
91
|
-
align?: undefined;
|
|
92
|
-
} | {
|
|
93
|
-
id: string;
|
|
94
|
-
label: string;
|
|
95
|
-
width: string;
|
|
96
|
-
align: TextAlignment;
|
|
97
|
-
truncate?: undefined;
|
|
98
|
-
})[];
|
|
99
|
-
export declare const paginatedData: {
|
|
100
|
-
id: string;
|
|
101
|
-
rowData: {
|
|
102
|
-
name: string;
|
|
103
|
-
hit: string;
|
|
104
|
-
};
|
|
105
|
-
}[];
|
|
106
|
-
export declare const collapsibleTableData: ({
|
|
107
|
-
id: string;
|
|
108
|
-
className: string;
|
|
109
|
-
selected: boolean;
|
|
110
|
-
rowData: {
|
|
111
|
-
title: string;
|
|
112
|
-
hometown: string;
|
|
113
|
-
fans: number;
|
|
114
|
-
delete: JSX.Element;
|
|
115
|
-
className: string;
|
|
116
|
-
nestedTable: {
|
|
117
|
-
series: string;
|
|
118
|
-
releaseYear: string;
|
|
119
|
-
}[];
|
|
120
|
-
};
|
|
121
|
-
} | {
|
|
122
|
-
id: string;
|
|
123
|
-
rowData: {
|
|
124
|
-
title: string;
|
|
125
|
-
hometown: string;
|
|
126
|
-
fans: number;
|
|
127
|
-
delete: JSX.Element;
|
|
128
|
-
className?: undefined;
|
|
129
|
-
nestedTable?: undefined;
|
|
130
|
-
};
|
|
131
|
-
className?: undefined;
|
|
132
|
-
selected?: undefined;
|
|
133
|
-
})[];
|
|
134
|
-
export declare const carMockDataColumns: ({
|
|
135
|
-
id: string;
|
|
136
|
-
label: string;
|
|
137
|
-
width: string;
|
|
138
|
-
truncate: boolean;
|
|
139
|
-
align?: undefined;
|
|
140
|
-
} | {
|
|
141
|
-
id: string;
|
|
142
|
-
label: string;
|
|
143
|
-
width: string;
|
|
144
|
-
align: TextAlignment;
|
|
145
|
-
truncate?: undefined;
|
|
146
|
-
})[];
|
|
147
|
-
export declare const carMockData: {
|
|
148
|
-
id: string;
|
|
149
|
-
rowData: {
|
|
150
|
-
carMake: string;
|
|
151
|
-
vin: string;
|
|
152
|
-
};
|
|
153
|
-
}[];
|
|
154
|
-
export declare const carMockNestedTableColumns: {
|
|
155
|
-
id: string;
|
|
156
|
-
label: string;
|
|
157
|
-
}[];
|
|
158
|
-
export declare const carMockNestedTableData: {
|
|
159
|
-
id: string;
|
|
160
|
-
rowData: {
|
|
161
|
-
type: string;
|
|
162
|
-
model: string;
|
|
163
|
-
}[];
|
|
164
|
-
}[];
|
|
165
|
-
export declare const MultiSelectTable: (props: TableProps) => JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ComponentMeta, Story } from '@storybook/react';
|
|
2
|
-
import { TablePaginationProps } from './TablePagination';
|
|
3
|
-
declare const _default: ComponentMeta<({ ariaLabel, className, count, "data-testid": dataTestId, labelRowsPerPage, onPageChange, onRowsPerPageChange, page, rowsPerPage, rowsPerPageOptions, typography, }: TablePaginationProps) => JSX.Element>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: Story<TablePaginationProps>;
|
|
6
|
-
export declare const WithCustomRowsPerPageOptions: any;
|
|
7
|
-
export declare const WithCustomRowsPerPageLabel: any;
|
|
@@ -1,6 +0,0 @@
|
|
|
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>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ComponentMeta, Story } from '@storybook/react';
|
|
2
|
-
import { TimePickerProps } from './';
|
|
3
|
-
declare const _default: ComponentMeta<({ ampm, ariaLabel, autoFocus, className, "data-testid": dataTestId, defaultValue, disableOpenPicker, disableClickAwayListener, disabled, error, format, fullWidth, helperText, hideActionButtons, inputId, inputName, label, onAccept, onBlur, onCancel, onChange, onClose, onKeyDown, onOpen, onPopperTimeChange, open, persistentLabel, readOnly, required, value, }: TimePickerProps) => JSX.Element>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: TimePickerProps;
|
|
6
|
-
export declare const WithAutoFocus: any;
|
|
7
|
-
export declare const WithDisableOpenPicker: any;
|
|
8
|
-
export declare const WithDisabledOption: any;
|
|
9
|
-
export declare const WithError: any;
|
|
10
|
-
export declare const WithCustomTimeFormat: any;
|
|
11
|
-
export declare const WithFullWidth: any;
|
|
12
|
-
export declare const WithPersistentLabel: any;
|
|
13
|
-
export declare const With12HourFormat: any;
|
|
14
|
-
export declare const WithReadOnly: any;
|
|
15
|
-
export declare const WithHelperText: any;
|
|
16
|
-
export declare const WithRequiredOption: any;
|
|
17
|
-
export declare const WithOpenedTimePopper: any;
|
|
18
|
-
export declare const WithConsoleWarning: any;
|
|
19
|
-
export declare const WithDefaultValue: any;
|
|
20
|
-
export declare const WithControlledMode: Story<TimePickerProps>;
|
|
21
|
-
export declare const WithHourFormatPicker: Story<TimePickerProps>;
|
|
22
|
-
export declare const WithOutsideTimeSetter: Story<TimePickerProps>;
|
|
23
|
-
export declare const WithChangeOnBlur: Story<TimePickerProps>;
|
|
24
|
-
export declare const WithConditionalRendering: Story<TimePickerProps>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const timePickerWithControlledModeClassName = "dot-time-picker-with-controlled-mode";
|
|
2
|
-
export declare const timePickerWithHourFormatPickerClassName = "dot-time-picker-with-hour-format-picker";
|
|
3
|
-
export declare const timePickerWithOutsideTimeSetterClassName = "dot-time-picker-with-outside-time-setter";
|
|
4
|
-
export declare const timePickerWithBlurClassName = "dot-time-picker-with-blur";
|
|
5
|
-
export declare const timePickerWithConditionalRenderingClassName = "dot-date-picker-with-conditional-rendering";
|
|
6
|
-
export declare const StyledTimePickerWithControlledMode: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
-
export declare const StyledTimePickerWithHourFormatPicker: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
-
export declare const StyledTimePickerWithOutsideTimeSetter: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
|
-
export declare const StyledTimePickerWithChangeOnBlur: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
|
-
export declare const StyledTimePickerWithConditionalRendering: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Story, ComponentMeta } from '@storybook/react';
|
|
2
|
-
import { TooltipProps } from './Tooltip';
|
|
3
|
-
declare const _default: ComponentMeta<({ ariaLabel, ariaRole, arrow, children, className, "data-testid": dataTestId, leaveDelay, onClose, open, placement, title, }: TooltipProps) => JSX.Element>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: Story<TooltipProps>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ComponentMeta } from '@storybook/react';
|
|
2
|
-
import { TruncateWithTooltipProps } from './';
|
|
3
|
-
declare const _default: ComponentMeta<({ ariaLabel, arrow, charactersLimit, className, "data-testid": dataTestId, label, width, }: TruncateWithTooltipProps) => JSX.Element>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: any;
|
|
6
|
-
export declare const WithAutoTruncate: any;
|
|
7
|
-
export declare const WithWidthAsNumber: any;
|
|
8
|
-
export declare const WithWidthAsString: any;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ComponentMeta } from '@storybook/react';
|
|
2
|
-
import { TypographyProps } from './Typography';
|
|
3
|
-
declare const _default: ComponentMeta<({ ariaLabel, ariaLevel, ariaRole, className, "data-testid": dataTestId, children, component, noMarginBottom, noWrap, variant, }: TypographyProps) => JSX.Element>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: any;
|
|
6
|
-
export declare const WithVariants: (args: TypographyProps) => JSX.Element;
|
|
7
|
-
export declare const WithWrappingOptions: (args: TypographyProps) => JSX.Element;
|