@oliasoft-open-source/react-ui-library 3.12.0-beta-15 → 3.12.0-beta-16
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/index.d.ts +1466 -78
- package/package.json +10 -11
- package/dist/common-enum.d.ts +0 -73
- package/dist/components/accordion/accordion.d.ts +0 -5
- package/dist/components/accordion/accordion.interface.d.ts +0 -17
- package/dist/components/accordion/accordion.stories.d.ts +0 -11
- package/dist/components/accordion/chevron/chevron.d.ts +0 -6
- package/dist/components/accordion/enum.d.ts +0 -4
- package/dist/components/accordion/helpers/accordion-with-default-toggle.d.ts +0 -12
- package/dist/components/actions/actions.d.ts +0 -14
- package/dist/components/actions/actions.interface.d.ts +0 -25
- package/dist/components/actions/actions.stories.d.ts +0 -25
- package/dist/components/badge/badge.d.ts +0 -10
- package/dist/components/badge/badge.stories.d.ts +0 -7
- package/dist/components/breadcrumb/breadcrumb.d.ts +0 -7
- package/dist/components/breadcrumb/breadcrumb.stories.d.ts +0 -5
- package/dist/components/breadcrumb/enum.d.ts +0 -5
- package/dist/components/breadcrumb/link.d.ts +0 -12
- package/dist/components/button/button.d.ts +0 -31
- package/dist/components/button/button.stories.d.ts +0 -13
- package/dist/components/button/enum.d.ts +0 -5
- package/dist/components/button-group/button-group.d.ts +0 -38
- package/dist/components/button-group/button-group.stories-data.d.ts +0 -6
- package/dist/components/button-group/button-group.stories.d.ts +0 -9
- package/dist/components/card/card.d.ts +0 -10
- package/dist/components/card/card.stories.d.ts +0 -8
- package/dist/components/check-box/check-box.d.ts +0 -19
- package/dist/components/check-box/check-box.stories.d.ts +0 -6
- package/dist/components/color/color.stories-data.d.ts +0 -9
- package/dist/components/dialog/dialog.d.ts +0 -17
- package/dist/components/divider/divider.d.ts +0 -9
- package/dist/components/divider/divider.stories.d.ts +0 -7
- package/dist/components/drawer/drawer-resize-wrapper.d.ts +0 -3
- package/dist/components/drawer/drawer-tabs.d.ts +0 -3
- package/dist/components/drawer/drawer.constants.d.ts +0 -2
- package/dist/components/drawer/drawer.d.ts +0 -3
- package/dist/components/drawer/drawer.interface.d.ts +0 -55
- package/dist/components/drawer/drawer.stories.d.ts +0 -41
- package/dist/components/empty/empty.d.ts +0 -8
- package/dist/components/empty/empty.stories.d.ts +0 -5
- package/dist/components/file-input/enum.d.ts +0 -6
- package/dist/components/file-input/file-input.d.ts +0 -18
- package/dist/components/file-input/file-input.stories.d.ts +0 -8
- package/dist/components/form/field.d.ts +0 -16
- package/dist/components/form/field.stories.d.ts +0 -13
- package/dist/components/form/form.stories.d.ts +0 -27
- package/dist/components/heading/heading.d.ts +0 -19
- package/dist/components/heading/heading.stories.d.ts +0 -10
- package/dist/components/help-icon/help-icon.d.ts +0 -10
- package/dist/components/help-icon/help-icon.stories.d.ts +0 -11
- package/dist/components/icon/icon.d.ts +0 -16
- package/dist/components/icon/icon.stories.d.ts +0 -26
- package/dist/components/icon/named-icon.d.ts +0 -7
- package/dist/components/input/input.d.ts +0 -26
- package/dist/components/input/input.stories.d.ts +0 -5
- package/dist/components/input-group/input-group-addon/input-group-addon.d.ts +0 -8
- package/dist/components/input-group/input-group.d.ts +0 -7
- package/dist/components/input-group/input-group.stories.d.ts +0 -8
- package/dist/components/label/label.d.ts +0 -24
- package/dist/components/label/label.stories.d.ts +0 -10
- package/dist/components/layout/column/column.d.ts +0 -18
- package/dist/components/layout/column/styles.d.ts +0 -15
- package/dist/components/layout/column.stories.d.ts +0 -20
- package/dist/components/layout/flex/flex.d.ts +0 -11
- package/dist/components/layout/flex/flex.stories.d.ts +0 -10
- package/dist/components/layout/form-row/form-row.d.ts +0 -5
- package/dist/components/layout/grid/grid.d.ts +0 -11
- package/dist/components/layout/grid/grid.stories.d.ts +0 -9
- package/dist/components/layout/page/page.d.ts +0 -9
- package/dist/components/layout/page.stories.d.ts +0 -10
- package/dist/components/layout/placeholder.d.ts +0 -1
- package/dist/components/layout/print-header/print-header.d.ts +0 -8
- package/dist/components/layout/row/row.d.ts +0 -15
- package/dist/components/layout/spacer/spacer.d.ts +0 -7
- package/dist/components/list/list-row/item-content.d.ts +0 -3
- package/dist/components/list/list-row/label.d.ts +0 -3
- package/dist/components/list/list-row/list-heading.d.ts +0 -3
- package/dist/components/list/list-row/list-row.d.ts +0 -3
- package/dist/components/list/list-row/list-row.interface.d.ts +0 -105
- package/dist/components/list/list-row/list-subheading.d.ts +0 -3
- package/dist/components/list/list-row/meta-content.d.ts +0 -3
- package/dist/components/list/list-row/meta-count.d.ts +0 -3
- package/dist/components/list/list-row/name.d.ts +0 -4
- package/dist/components/list/list.d.ts +0 -3
- package/dist/components/list/list.interface.d.ts +0 -55
- package/dist/components/list/list.stories-data.d.ts +0 -310
- package/dist/components/list/list.stories.d.ts +0 -23
- package/dist/components/list/toggle-narrow.d.ts +0 -3
- package/dist/components/loader/loader.d.ts +0 -14
- package/dist/components/loader/loader.stories.d.ts +0 -33
- package/dist/components/menu/enum.d.ts +0 -11
- package/dist/components/menu/index.d.ts +0 -4
- package/dist/components/menu/layer/divider.d.ts +0 -2
- package/dist/components/menu/layer/heading.d.ts +0 -8
- package/dist/components/menu/layer/layer.d.ts +0 -15
- package/dist/components/menu/layer/option.d.ts +0 -19
- package/dist/components/menu/layer/path.d.ts +0 -5
- package/dist/components/menu/layer/placementOptions.d.ts +0 -3
- package/dist/components/menu/layer/section.d.ts +0 -11
- package/dist/components/menu/menu.d.ts +0 -4
- package/dist/components/menu/menu.interface.d.ts +0 -82
- package/dist/components/menu/menu.stories-data.d.ts +0 -101
- package/dist/components/menu/menu.stories.d.ts +0 -31
- package/dist/components/menu/menu.test.d.ts +0 -1
- package/dist/components/menu/trigger/button.d.ts +0 -15
- package/dist/components/menu/trigger/component.d.ts +0 -8
- package/dist/components/menu/trigger/text.d.ts +0 -11
- package/dist/components/menu/trigger/trigger.d.ts +0 -27
- package/dist/components/message/dismiss.d.ts +0 -8
- package/dist/components/message/enum.d.ts +0 -9
- package/dist/components/message/message.d.ts +0 -19
- package/dist/components/message/message.stories.d.ts +0 -11
- package/dist/components/modal/modal.d.ts +0 -8
- package/dist/components/modal/modal.stories.d.ts +0 -12
- package/dist/components/number-input/number-input.d.ts +0 -26
- package/dist/components/number-input/number-input.stories.d.ts +0 -14
- package/dist/components/option-dropdown/enum.d.ts +0 -5
- package/dist/components/option-dropdown/heading.d.ts +0 -5
- package/dist/components/option-dropdown/layer.d.ts +0 -16
- package/dist/components/option-dropdown/option-dropdown.d.ts +0 -19
- package/dist/components/option-dropdown/option-dropdown.stories.d.ts +0 -5
- package/dist/components/option-dropdown/option.d.ts +0 -10
- package/dist/components/pagination/pagination.d.ts +0 -14
- package/dist/components/pagination/pagination.interface.d.ts +0 -15
- package/dist/components/pagination/pagination.stories.d.ts +0 -8
- package/dist/components/pagination/pagination.test.d.ts +0 -1
- package/dist/components/pagination/pagination.viewdata.d.ts +0 -17
- package/dist/components/pop-confirm/content.d.ts +0 -10
- package/dist/components/pop-confirm/pop-confirm.d.ts +0 -14
- package/dist/components/pop-confirm/pop-confirm.stories.d.ts +0 -4
- package/dist/components/popover/popover.d.ts +0 -14
- package/dist/components/popover/popover.stories.d.ts +0 -7
- package/dist/components/portal/portal.d.ts +0 -6
- package/dist/components/portal/portal.stories.d.ts +0 -7
- package/dist/components/progress-bar/progress-bar.d.ts +0 -10
- package/dist/components/progress-bar/progress-bar.stories.d.ts +0 -4
- package/dist/components/radio-button/radio-button.d.ts +0 -27
- package/dist/components/radio-button/radio-button.stories.d.ts +0 -5
- package/dist/components/radio-button/radio-input.d.ts +0 -16
- package/dist/components/rich-text-input/rich-text-input.d.ts +0 -9
- package/dist/components/rich-text-input/rich-text-input.stories.d.ts +0 -10
- package/dist/components/rich-text-input/rich-text-toolbar/enum.d.ts +0 -7
- package/dist/components/rich-text-input/rich-text-toolbar/rich-text-toolbar.d.ts +0 -6
- package/dist/components/select/custom-select/custom-select.d.ts +0 -3
- package/dist/components/select/custom-select/custom-select.interface.d.ts +0 -47
- package/dist/components/select/custom-select/custom-select.reducer.d.ts +0 -6
- package/dist/components/select/custom-select/enum.d.ts +0 -11
- package/dist/components/select/custom-select/helper.d.ts +0 -3
- package/dist/components/select/custom-select/hooks/enum.d.ts +0 -20
- package/dist/components/select/custom-select/hooks/use-custom-select-logic.d.ts +0 -39
- package/dist/components/select/custom-select/layer/heading.d.ts +0 -4
- package/dist/components/select/custom-select/layer/layer.d.ts +0 -17
- package/dist/components/select/custom-select/layer/option.d.ts +0 -15
- package/dist/components/select/custom-select/layer/placementOptions.d.ts +0 -10
- package/dist/components/select/custom-select/layer/section.d.ts +0 -15
- package/dist/components/select/custom-select/reducer.interface.d.ts +0 -34
- package/dist/components/select/custom-select/trigger/input.d.ts +0 -14
- package/dist/components/select/custom-select/trigger/multi-selected-options.d.ts +0 -9
- package/dist/components/select/custom-select/trigger/trigger.d.ts +0 -34
- package/dist/components/select/native-select/native-select.d.ts +0 -29
- package/dist/components/select/select.d.ts +0 -3
- package/dist/components/select/select.input.d.ts +0 -21
- package/dist/components/select/select.interface.d.ts +0 -39
- package/dist/components/select/select.stories-data.d.ts +0 -25
- package/dist/components/select/select.stories.d.ts +0 -30
- package/dist/components/select/select.test.d.ts +0 -1
- package/dist/components/side-bar/link.d.ts +0 -17
- package/dist/components/side-bar/sections.d.ts +0 -21
- package/dist/components/side-bar/side-bar.d.ts +0 -26
- package/dist/components/side-bar/side-bar.stories.d.ts +0 -5
- package/dist/components/slider/slider-tooltip.d.ts +0 -5
- package/dist/components/slider/slider.d.ts +0 -36
- package/dist/components/slider/slider.stories.d.ts +0 -16
- package/dist/components/spinner/spinner.d.ts +0 -8
- package/dist/components/spinner/spinner.stories.d.ts +0 -4
- package/dist/components/table/cell/cell-types/action-cell.d.ts +0 -6
- package/dist/components/table/cell/cell-types/cell-help-icon.d.ts +0 -6
- package/dist/components/table/cell/cell-types/cell-library-icon.d.ts +0 -6
- package/dist/components/table/cell/cell-types/cell-types.interface.d.ts +0 -150
- package/dist/components/table/cell/cell-types/check-box-cell.d.ts +0 -8
- package/dist/components/table/cell/cell-types/icon-cell.d.ts +0 -6
- package/dist/components/table/cell/cell-types/input-cell.d.ts +0 -9
- package/dist/components/table/cell/cell-types/link-cell.d.ts +0 -8
- package/dist/components/table/cell/cell-types/number-input-cell.d.ts +0 -8
- package/dist/components/table/cell/cell-types/popover-cell.d.ts +0 -7
- package/dist/components/table/cell/cell-types/select-cell.d.ts +0 -9
- package/dist/components/table/cell/cell-types/slider-cell.d.ts +0 -7
- package/dist/components/table/cell/cell-types/sort-cell.d.ts +0 -6
- package/dist/components/table/cell/cell-types/static-cell.d.ts +0 -8
- package/dist/components/table/cell/cell-wrapper.d.ts +0 -9
- package/dist/components/table/cell/cell.d.ts +0 -13
- package/dist/components/table/cell/cell.stories.d.ts +0 -22
- package/dist/components/table/cell/input-cell-wrapper.d.ts +0 -8
- package/dist/components/table/enum.d.ts +0 -9
- package/dist/components/table/footer/footer.d.ts +0 -10
- package/dist/components/table/footer/footer.stories.d.ts +0 -3
- package/dist/components/table/helper.d.ts +0 -22
- package/dist/components/table/helper.test.d.ts +0 -1
- package/dist/components/table/row/expanded-content-row.d.ts +0 -7
- package/dist/components/table/row/row.d.ts +0 -37
- package/dist/components/table/row/row.stories.d.ts +0 -9
- package/dist/components/table/table-scroll-wrapper.d.ts +0 -13
- package/dist/components/table/table.d.ts +0 -34
- package/dist/components/table/table.stories-data.d.ts +0 -1971
- package/dist/components/table/table.stories.d.ts +0 -18
- package/dist/components/table/table.test.d.ts +0 -1
- package/dist/components/table/table.viewdata.d.ts +0 -16
- package/dist/components/table/title/title.d.ts +0 -8
- package/dist/components/table/title/title.stories.d.ts +0 -11
- package/dist/components/tabs/content.d.ts +0 -7
- package/dist/components/tabs/label.d.ts +0 -14
- package/dist/components/tabs/tabs.d.ts +0 -33
- package/dist/components/tabs/tabs.stories.d.ts +0 -11
- package/dist/components/text/text.d.ts +0 -15
- package/dist/components/text/text.stories.d.ts +0 -6
- package/dist/components/text-link/text-link.d.ts +0 -9
- package/dist/components/text-link/text-link.stories.d.ts +0 -5
- package/dist/components/textarea/textarea.d.ts +0 -22
- package/dist/components/textarea/textarea.stories.d.ts +0 -4
- package/dist/components/toaster/toaster.d.ts +0 -18
- package/dist/components/toaster/toaster.stories.d.ts +0 -16
- package/dist/components/toggle/toggle.d.ts +0 -14
- package/dist/components/toggle/toggle.stories.d.ts +0 -10
- package/dist/components/tooltip/tooltip-layer.d.ts +0 -16
- package/dist/components/tooltip/tooltip.d.ts +0 -19
- package/dist/components/tooltip/tooltip.stories.d.ts +0 -11
- package/dist/components/tooltip/tooltip.test-case.stories.d.ts +0 -4
- package/dist/components/top-bar/element/element.d.ts +0 -32
- package/dist/components/top-bar/element/enum.d.ts +0 -6
- package/dist/components/top-bar/element/link.d.ts +0 -11
- package/dist/components/top-bar/title.d.ts +0 -9
- package/dist/components/top-bar/top-bar.d.ts +0 -12
- package/dist/components/top-bar/top-bar.stories.d.ts +0 -6
- package/dist/components/top-bar/top-bar.testcase.stories.d.ts +0 -5
- package/dist/components/top-bar/warning.d.ts +0 -5
- package/dist/components/tree/tree-item.d.ts +0 -11
- package/dist/components/tree/tree-placeholder.d.ts +0 -5
- package/dist/components/tree/tree.d.ts +0 -42
- package/dist/components/tree/tree.stories-data.d.ts +0 -126
- package/dist/components/tree/tree.stories.d.ts +0 -12
- package/dist/helpers/disabled-context.d.ts +0 -2
- package/dist/helpers/text.d.ts +0 -1
- package/dist/helpers/types.d.ts +0 -3
- package/dist/hooks/index.d.ts +0 -4
- package/dist/hooks/use-focus.d.ts +0 -4
- package/dist/hooks/use-fonts-ready.d.ts +0 -1
- package/dist/hooks/use-keyboard-event.d.ts +0 -2
- package/dist/hooks/use-window-width.d.ts +0 -1
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { MutableRefObject, ReactElement, ReactNode, Ref, MouseEvent } from 'react';
|
|
2
|
-
import { DroppableStateSnapshot } from 'react-beautiful-dnd';
|
|
3
|
-
import { IAction } from '../../actions/actions.interface';
|
|
4
|
-
export interface ILabel {
|
|
5
|
-
color: string;
|
|
6
|
-
value: string;
|
|
7
|
-
}
|
|
8
|
-
export interface INameProps {
|
|
9
|
-
name: ReactNode;
|
|
10
|
-
icon?: {
|
|
11
|
-
icon: ReactNode;
|
|
12
|
-
color?: string;
|
|
13
|
-
tooltip?: {
|
|
14
|
-
text: ReactNode;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
testId?: string;
|
|
18
|
-
}
|
|
19
|
-
export interface IMetaCountProps {
|
|
20
|
-
item: {
|
|
21
|
-
metaCount?: number;
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
export interface IMetaContentItem {
|
|
25
|
-
name?: string | number | ReactNode;
|
|
26
|
-
icon?: {
|
|
27
|
-
icon: ReactNode;
|
|
28
|
-
color?: string;
|
|
29
|
-
tooltip?: {
|
|
30
|
-
text: string | ReactNode;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
details?: string | ReactNode;
|
|
34
|
-
metadata?: string | ReactNode;
|
|
35
|
-
invalid?: boolean;
|
|
36
|
-
testId?: string;
|
|
37
|
-
}
|
|
38
|
-
export interface IMetaContentProps {
|
|
39
|
-
item: IMetaContentItem;
|
|
40
|
-
}
|
|
41
|
-
export interface IListSubheadingItem extends Partial<IMetaContentItem> {
|
|
42
|
-
actions?: any;
|
|
43
|
-
disabled?: boolean;
|
|
44
|
-
expanded?: boolean;
|
|
45
|
-
onClick?: (evt: MouseEvent<HTMLDivElement>) => void;
|
|
46
|
-
title?: string;
|
|
47
|
-
testId?: string;
|
|
48
|
-
metaCount?: number;
|
|
49
|
-
}
|
|
50
|
-
export interface IListSubheadingProps {
|
|
51
|
-
item: IListSubheadingItem;
|
|
52
|
-
index?: number;
|
|
53
|
-
}
|
|
54
|
-
export interface IListItem {
|
|
55
|
-
name?: string | ReactElement;
|
|
56
|
-
cursor?: string;
|
|
57
|
-
url?: string;
|
|
58
|
-
active?: boolean;
|
|
59
|
-
disabled?: boolean;
|
|
60
|
-
onClick?: (evt: any) => void;
|
|
61
|
-
title?: string;
|
|
62
|
-
testId?: string;
|
|
63
|
-
level?: number;
|
|
64
|
-
label?: ILabel;
|
|
65
|
-
actions?: IAction[];
|
|
66
|
-
id: string | number;
|
|
67
|
-
type?: string;
|
|
68
|
-
metaCount?: number;
|
|
69
|
-
}
|
|
70
|
-
export interface IDraggableProps {
|
|
71
|
-
innerRef?: Ref<HTMLAnchorElement>;
|
|
72
|
-
draggableProps?: any;
|
|
73
|
-
dragHandleProps?: any;
|
|
74
|
-
style?: any;
|
|
75
|
-
}
|
|
76
|
-
export interface IListRowProps {
|
|
77
|
-
items: IListItem[];
|
|
78
|
-
expanding?: boolean;
|
|
79
|
-
invokeEditOnRowClick?: boolean;
|
|
80
|
-
provided?: any;
|
|
81
|
-
draggable?: boolean;
|
|
82
|
-
ref: MutableRefObject<HTMLDivElement>[];
|
|
83
|
-
onListReorder?: (args: {
|
|
84
|
-
from?: number;
|
|
85
|
-
to?: number;
|
|
86
|
-
}) => void;
|
|
87
|
-
snapshot?: DroppableStateSnapshot;
|
|
88
|
-
}
|
|
89
|
-
export interface IListHeadingProps {
|
|
90
|
-
name: string | number | ReactNode;
|
|
91
|
-
actions?: any[];
|
|
92
|
-
toggleNarrow?: boolean;
|
|
93
|
-
onToggleNarrow?: () => void;
|
|
94
|
-
stickyHeader?: boolean;
|
|
95
|
-
}
|
|
96
|
-
export interface ILabelProps {
|
|
97
|
-
label?: ILabel;
|
|
98
|
-
}
|
|
99
|
-
export interface IItemContentProps {
|
|
100
|
-
item: {
|
|
101
|
-
active?: boolean;
|
|
102
|
-
content?: ReactNode;
|
|
103
|
-
};
|
|
104
|
-
expanding?: boolean;
|
|
105
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IListProps } from './list.interface';
|
|
3
|
-
export declare const List: ({ list, bordered, expanding, narrow, toggleNarrow, onToggleNarrow, invokeEditOnRowClick, noHeader, stickyHeader, draggable, onListReorder, marginBottom, height, testId, scrollDetails, }: IListProps) => React.JSX.Element;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { IListItem } from './list-row/list-row.interface';
|
|
3
|
-
interface ISubAction {
|
|
4
|
-
label: string;
|
|
5
|
-
icon: ReactNode;
|
|
6
|
-
onClick: () => void;
|
|
7
|
-
}
|
|
8
|
-
interface IListAction {
|
|
9
|
-
label: string;
|
|
10
|
-
icon?: ReactNode;
|
|
11
|
-
onClick?: () => void;
|
|
12
|
-
primary?: boolean;
|
|
13
|
-
subActions?: ISubAction[];
|
|
14
|
-
childComponent?: ReactNode;
|
|
15
|
-
}
|
|
16
|
-
export interface IListData {
|
|
17
|
-
name?: ReactNode | string;
|
|
18
|
-
actions?: IListAction[];
|
|
19
|
-
items: IListItem[];
|
|
20
|
-
}
|
|
21
|
-
export interface IScrollDetails {
|
|
22
|
-
scrollable?: boolean;
|
|
23
|
-
hideScrollbar?: boolean;
|
|
24
|
-
triggerScrollToActiveItem?: boolean;
|
|
25
|
-
infiniteScroll?: boolean;
|
|
26
|
-
infiniteScrollTarget?: string;
|
|
27
|
-
limit?: number;
|
|
28
|
-
}
|
|
29
|
-
export interface IReorderData {
|
|
30
|
-
from?: number;
|
|
31
|
-
to?: number;
|
|
32
|
-
}
|
|
33
|
-
export interface IListProps {
|
|
34
|
-
drawer?: boolean;
|
|
35
|
-
list: IListData;
|
|
36
|
-
bordered?: boolean;
|
|
37
|
-
expanding?: boolean;
|
|
38
|
-
narrow?: boolean;
|
|
39
|
-
toggleNarrow?: boolean;
|
|
40
|
-
onToggleNarrow?: () => void;
|
|
41
|
-
invokeEditOnRowClick?: boolean;
|
|
42
|
-
noHeader?: boolean;
|
|
43
|
-
stickyHeader?: boolean;
|
|
44
|
-
draggable?: boolean;
|
|
45
|
-
onListReorder?: (args: IReorderData) => void;
|
|
46
|
-
marginBottom?: number | string;
|
|
47
|
-
height?: number | string;
|
|
48
|
-
testId?: string;
|
|
49
|
-
scrollDetails?: IScrollDetails;
|
|
50
|
-
}
|
|
51
|
-
export interface IToggleNarrowProps {
|
|
52
|
-
toggleNarrow?: boolean;
|
|
53
|
-
onClickToggleNarrow?: () => void;
|
|
54
|
-
}
|
|
55
|
-
export {};
|
|
@@ -1,310 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { IListItem } from "./list-row/list-row.interface";
|
|
3
|
-
export declare const items: IListItem[];
|
|
4
|
-
export declare const list: {
|
|
5
|
-
items: IListItem[];
|
|
6
|
-
};
|
|
7
|
-
export declare const listHeader: {
|
|
8
|
-
name: string;
|
|
9
|
-
actions: ({
|
|
10
|
-
label: string;
|
|
11
|
-
subActions: {
|
|
12
|
-
label: string;
|
|
13
|
-
icon: string;
|
|
14
|
-
onClick: () => void;
|
|
15
|
-
}[];
|
|
16
|
-
primary?: undefined;
|
|
17
|
-
icon?: undefined;
|
|
18
|
-
onClick?: undefined;
|
|
19
|
-
} | {
|
|
20
|
-
label: string;
|
|
21
|
-
primary: boolean;
|
|
22
|
-
icon: string;
|
|
23
|
-
onClick: () => void;
|
|
24
|
-
subActions?: undefined;
|
|
25
|
-
})[];
|
|
26
|
-
items: IListItem[];
|
|
27
|
-
};
|
|
28
|
-
export declare const listSubheadings: {
|
|
29
|
-
items: IListItem[];
|
|
30
|
-
name: string;
|
|
31
|
-
actions: ({
|
|
32
|
-
label: string;
|
|
33
|
-
subActions: {
|
|
34
|
-
label: string;
|
|
35
|
-
icon: string;
|
|
36
|
-
onClick: () => void;
|
|
37
|
-
}[];
|
|
38
|
-
primary?: undefined;
|
|
39
|
-
icon?: undefined;
|
|
40
|
-
onClick?: undefined;
|
|
41
|
-
} | {
|
|
42
|
-
label: string;
|
|
43
|
-
primary: boolean;
|
|
44
|
-
icon: string;
|
|
45
|
-
onClick: () => void;
|
|
46
|
-
subActions?: undefined;
|
|
47
|
-
})[];
|
|
48
|
-
};
|
|
49
|
-
export declare const listJsx: {
|
|
50
|
-
name: React.JSX.Element;
|
|
51
|
-
items: {
|
|
52
|
-
name: React.JSX.Element;
|
|
53
|
-
cursor?: string | undefined;
|
|
54
|
-
url?: string | undefined;
|
|
55
|
-
active?: boolean | undefined;
|
|
56
|
-
disabled?: boolean | undefined;
|
|
57
|
-
onClick?: ((evt: any) => void) | undefined;
|
|
58
|
-
title?: string | undefined;
|
|
59
|
-
testId?: string | undefined;
|
|
60
|
-
level?: number | undefined;
|
|
61
|
-
label?: import("./list-row/list-row.interface").ILabel | undefined;
|
|
62
|
-
actions?: import("../actions/actions.interface").IAction[] | undefined;
|
|
63
|
-
id: string | number;
|
|
64
|
-
type?: string | undefined;
|
|
65
|
-
metaCount?: number | undefined;
|
|
66
|
-
}[];
|
|
67
|
-
actions: ({
|
|
68
|
-
label: string;
|
|
69
|
-
subActions: {
|
|
70
|
-
label: string;
|
|
71
|
-
icon: string;
|
|
72
|
-
onClick: () => void;
|
|
73
|
-
}[];
|
|
74
|
-
primary?: undefined;
|
|
75
|
-
icon?: undefined;
|
|
76
|
-
onClick?: undefined;
|
|
77
|
-
} | {
|
|
78
|
-
label: string;
|
|
79
|
-
primary: boolean;
|
|
80
|
-
icon: string;
|
|
81
|
-
onClick: () => void;
|
|
82
|
-
subActions?: undefined;
|
|
83
|
-
})[];
|
|
84
|
-
};
|
|
85
|
-
export declare const listSubcomponents: {
|
|
86
|
-
items: {
|
|
87
|
-
actions: {
|
|
88
|
-
childComponent: React.JSX.Element;
|
|
89
|
-
}[];
|
|
90
|
-
name?: string | React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
91
|
-
cursor?: string | undefined;
|
|
92
|
-
url?: string | undefined;
|
|
93
|
-
active?: boolean | undefined;
|
|
94
|
-
disabled?: boolean | undefined;
|
|
95
|
-
onClick?: ((evt: any) => void) | undefined;
|
|
96
|
-
title?: string | undefined;
|
|
97
|
-
testId?: string | undefined;
|
|
98
|
-
level?: number | undefined;
|
|
99
|
-
label?: import("./list-row/list-row.interface").ILabel | undefined;
|
|
100
|
-
id: string | number;
|
|
101
|
-
type?: string | undefined;
|
|
102
|
-
metaCount?: number | undefined;
|
|
103
|
-
}[];
|
|
104
|
-
};
|
|
105
|
-
export declare const listSubmenus: {
|
|
106
|
-
items: {
|
|
107
|
-
actions: {
|
|
108
|
-
label: string;
|
|
109
|
-
subActions: {
|
|
110
|
-
label: string;
|
|
111
|
-
icon: string;
|
|
112
|
-
onClick: () => void;
|
|
113
|
-
}[];
|
|
114
|
-
}[];
|
|
115
|
-
name?: string | React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
116
|
-
cursor?: string | undefined;
|
|
117
|
-
url?: string | undefined;
|
|
118
|
-
active?: boolean | undefined;
|
|
119
|
-
disabled?: boolean | undefined;
|
|
120
|
-
onClick?: ((evt: any) => void) | undefined;
|
|
121
|
-
title?: string | undefined;
|
|
122
|
-
testId?: string | undefined;
|
|
123
|
-
level?: number | undefined;
|
|
124
|
-
label?: import("./list-row/list-row.interface").ILabel | undefined;
|
|
125
|
-
id: string | number;
|
|
126
|
-
type?: string | undefined;
|
|
127
|
-
metaCount?: number | undefined;
|
|
128
|
-
}[];
|
|
129
|
-
};
|
|
130
|
-
export declare const listBadges: {
|
|
131
|
-
items: {
|
|
132
|
-
label: {
|
|
133
|
-
value: string;
|
|
134
|
-
color: string;
|
|
135
|
-
};
|
|
136
|
-
name?: string | React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
137
|
-
cursor?: string | undefined;
|
|
138
|
-
url?: string | undefined;
|
|
139
|
-
active?: boolean | undefined;
|
|
140
|
-
disabled?: boolean | undefined;
|
|
141
|
-
onClick?: ((evt: any) => void) | undefined;
|
|
142
|
-
title?: string | undefined;
|
|
143
|
-
testId?: string | undefined;
|
|
144
|
-
level?: number | undefined;
|
|
145
|
-
actions?: import("../actions/actions.interface").IAction[] | undefined;
|
|
146
|
-
id: string | number;
|
|
147
|
-
type?: string | undefined;
|
|
148
|
-
metaCount?: number | undefined;
|
|
149
|
-
}[];
|
|
150
|
-
};
|
|
151
|
-
export declare const listSubheadingsBadges: {
|
|
152
|
-
items: {
|
|
153
|
-
label: {
|
|
154
|
-
value: string;
|
|
155
|
-
color: string;
|
|
156
|
-
};
|
|
157
|
-
name?: string | React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
158
|
-
cursor?: string | undefined;
|
|
159
|
-
url?: string | undefined;
|
|
160
|
-
active?: boolean | undefined;
|
|
161
|
-
disabled?: boolean | undefined;
|
|
162
|
-
onClick?: ((evt: any) => void) | undefined;
|
|
163
|
-
title?: string | undefined;
|
|
164
|
-
testId?: string | undefined;
|
|
165
|
-
level?: number | undefined;
|
|
166
|
-
actions?: import("../actions/actions.interface").IAction[] | undefined;
|
|
167
|
-
id: string | number;
|
|
168
|
-
type?: string | undefined;
|
|
169
|
-
metaCount?: number | undefined;
|
|
170
|
-
}[];
|
|
171
|
-
name: string;
|
|
172
|
-
actions: ({
|
|
173
|
-
label: string;
|
|
174
|
-
subActions: {
|
|
175
|
-
label: string;
|
|
176
|
-
icon: string;
|
|
177
|
-
onClick: () => void;
|
|
178
|
-
}[];
|
|
179
|
-
primary?: undefined;
|
|
180
|
-
icon?: undefined;
|
|
181
|
-
onClick?: undefined;
|
|
182
|
-
} | {
|
|
183
|
-
label: string;
|
|
184
|
-
primary: boolean;
|
|
185
|
-
icon: string;
|
|
186
|
-
onClick: () => void;
|
|
187
|
-
subActions?: undefined;
|
|
188
|
-
})[];
|
|
189
|
-
};
|
|
190
|
-
export declare const listActions: {
|
|
191
|
-
items: {
|
|
192
|
-
actions: {
|
|
193
|
-
label: string;
|
|
194
|
-
icon: string;
|
|
195
|
-
onClick: () => void;
|
|
196
|
-
}[];
|
|
197
|
-
name?: string | React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
198
|
-
cursor?: string | undefined;
|
|
199
|
-
url?: string | undefined;
|
|
200
|
-
active?: boolean | undefined;
|
|
201
|
-
disabled?: boolean | undefined;
|
|
202
|
-
onClick?: ((evt: any) => void) | undefined;
|
|
203
|
-
title?: string | undefined;
|
|
204
|
-
testId?: string | undefined;
|
|
205
|
-
level?: number | undefined;
|
|
206
|
-
label?: import("./list-row/list-row.interface").ILabel | undefined;
|
|
207
|
-
id: string | number;
|
|
208
|
-
type?: string | undefined;
|
|
209
|
-
metaCount?: number | undefined;
|
|
210
|
-
}[];
|
|
211
|
-
};
|
|
212
|
-
export declare const listDetails: {
|
|
213
|
-
items: {
|
|
214
|
-
details: string;
|
|
215
|
-
metadata: string;
|
|
216
|
-
testId: string;
|
|
217
|
-
name?: string | React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
218
|
-
cursor?: string | undefined;
|
|
219
|
-
url?: string | undefined;
|
|
220
|
-
active?: boolean | undefined;
|
|
221
|
-
disabled?: boolean | undefined;
|
|
222
|
-
onClick?: ((evt: any) => void) | undefined;
|
|
223
|
-
title?: string | undefined;
|
|
224
|
-
level?: number | undefined;
|
|
225
|
-
label?: import("./list-row/list-row.interface").ILabel | undefined;
|
|
226
|
-
actions?: import("../actions/actions.interface").IAction[] | undefined;
|
|
227
|
-
id: string | number;
|
|
228
|
-
type?: string | undefined;
|
|
229
|
-
metaCount?: number | undefined;
|
|
230
|
-
}[];
|
|
231
|
-
};
|
|
232
|
-
export declare const listExpanding: {
|
|
233
|
-
items: {
|
|
234
|
-
content: React.JSX.Element;
|
|
235
|
-
name?: string | React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
236
|
-
cursor?: string | undefined;
|
|
237
|
-
url?: string | undefined;
|
|
238
|
-
active?: boolean | undefined;
|
|
239
|
-
disabled?: boolean | undefined;
|
|
240
|
-
onClick?: ((evt: any) => void) | undefined;
|
|
241
|
-
title?: string | undefined;
|
|
242
|
-
testId?: string | undefined;
|
|
243
|
-
level?: number | undefined;
|
|
244
|
-
label?: import("./list-row/list-row.interface").ILabel | undefined;
|
|
245
|
-
actions?: import("../actions/actions.interface").IAction[] | undefined;
|
|
246
|
-
id: string | number;
|
|
247
|
-
type?: string | undefined;
|
|
248
|
-
metaCount?: number | undefined;
|
|
249
|
-
}[];
|
|
250
|
-
};
|
|
251
|
-
export declare const listNested: {
|
|
252
|
-
items: IListItem[];
|
|
253
|
-
};
|
|
254
|
-
export declare const listInvalid: {
|
|
255
|
-
items: (IListItem | {
|
|
256
|
-
id: number;
|
|
257
|
-
name: string;
|
|
258
|
-
invalid: boolean;
|
|
259
|
-
})[];
|
|
260
|
-
};
|
|
261
|
-
export declare const listIconTooltip: {
|
|
262
|
-
items: {
|
|
263
|
-
icon: {
|
|
264
|
-
icon: string;
|
|
265
|
-
color: string;
|
|
266
|
-
tooltip: {
|
|
267
|
-
text: React.JSX.Element;
|
|
268
|
-
};
|
|
269
|
-
};
|
|
270
|
-
name?: string | React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
271
|
-
cursor?: string | undefined;
|
|
272
|
-
url?: string | undefined;
|
|
273
|
-
active?: boolean | undefined;
|
|
274
|
-
disabled?: boolean | undefined;
|
|
275
|
-
onClick?: ((evt: any) => void) | undefined;
|
|
276
|
-
title?: string | undefined;
|
|
277
|
-
testId?: string | undefined;
|
|
278
|
-
level?: number | undefined;
|
|
279
|
-
label?: import("./list-row/list-row.interface").ILabel | undefined;
|
|
280
|
-
actions?: import("../actions/actions.interface").IAction[] | undefined;
|
|
281
|
-
id: string | number;
|
|
282
|
-
type?: string | undefined;
|
|
283
|
-
metaCount?: number | undefined;
|
|
284
|
-
}[];
|
|
285
|
-
};
|
|
286
|
-
export declare const listCounts: {
|
|
287
|
-
items: {
|
|
288
|
-
metaCount: number;
|
|
289
|
-
name?: string | React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
290
|
-
cursor?: string | undefined;
|
|
291
|
-
url?: string | undefined;
|
|
292
|
-
active?: boolean | undefined;
|
|
293
|
-
disabled?: boolean | undefined;
|
|
294
|
-
onClick?: ((evt: any) => void) | undefined;
|
|
295
|
-
title?: string | undefined;
|
|
296
|
-
testId?: string | undefined;
|
|
297
|
-
level?: number | undefined;
|
|
298
|
-
label?: import("./list-row/list-row.interface").ILabel | undefined;
|
|
299
|
-
actions?: import("../actions/actions.interface").IAction[] | undefined;
|
|
300
|
-
id: string | number;
|
|
301
|
-
type?: string | undefined;
|
|
302
|
-
}[];
|
|
303
|
-
};
|
|
304
|
-
export declare const listLong: {
|
|
305
|
-
name: string;
|
|
306
|
-
items: {
|
|
307
|
-
id: number;
|
|
308
|
-
name: string;
|
|
309
|
-
}[];
|
|
310
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IListProps } from './list.interface';
|
|
3
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IListProps>;
|
|
6
|
-
export declare const Actions: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IListProps>;
|
|
7
|
-
export declare const Menus: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IListProps>;
|
|
8
|
-
export declare const Details: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IListProps>;
|
|
9
|
-
export declare const Expanding: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IListProps>;
|
|
10
|
-
export declare const Header: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IListProps>;
|
|
11
|
-
export declare const Badges: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IListProps>;
|
|
12
|
-
export declare const Nested: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IListProps>;
|
|
13
|
-
export declare const InvalidItems: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IListProps>;
|
|
14
|
-
export declare const JSXTitles: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IListProps>;
|
|
15
|
-
export declare const Bordered: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IListProps>;
|
|
16
|
-
export declare const IconWithTooltip: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IListProps>;
|
|
17
|
-
export declare const Metacount: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IListProps>;
|
|
18
|
-
export declare const StickyHeader: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IListProps>;
|
|
19
|
-
export declare const Scrollable: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IListProps>;
|
|
20
|
-
export declare const InfiniteScroll: () => React.JSX.Element;
|
|
21
|
-
export declare const ScrollToActiveItem: () => React.JSX.Element;
|
|
22
|
-
export declare const HeadingsManaged: () => React.JSX.Element;
|
|
23
|
-
export declare const ManagedDragAndDrop: () => React.JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { Theme } from "../../common-enum";
|
|
3
|
-
export interface ILoaderProps {
|
|
4
|
-
fullViewPortSize?: boolean;
|
|
5
|
-
cover?: boolean;
|
|
6
|
-
width?: string | number;
|
|
7
|
-
height?: string | number;
|
|
8
|
-
text?: string;
|
|
9
|
-
details?: string | ReactNode;
|
|
10
|
-
children?: ReactNode;
|
|
11
|
-
testId?: string | null;
|
|
12
|
-
theme?: Theme;
|
|
13
|
-
}
|
|
14
|
-
export declare const Loader: ({ width, height, text, details, fullViewPortSize, cover, children, theme, testId, }: ILoaderProps) => React.JSX.Element;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ILoaderProps } from "./loader";
|
|
3
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ILoaderProps>;
|
|
6
|
-
export declare const WithProgressBar: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ILoaderProps>;
|
|
7
|
-
export declare const TintedBackground: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ILoaderProps>;
|
|
8
|
-
export declare const FullViewport: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ILoaderProps>;
|
|
9
|
-
export declare const FullViewportWithProgressBar: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ILoaderProps>;
|
|
10
|
-
export declare const WithExtraTextDetails: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ILoaderProps>;
|
|
11
|
-
export declare const WithExtraJSXDetails: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ILoaderProps>;
|
|
12
|
-
export declare const CoversCardContent: {
|
|
13
|
-
(): React.JSX.Element;
|
|
14
|
-
parameters: {
|
|
15
|
-
docs: {
|
|
16
|
-
story: {
|
|
17
|
-
inline: boolean;
|
|
18
|
-
iframeHeight: number;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export declare const ReplacesCardContent: {
|
|
24
|
-
(): React.JSX.Element;
|
|
25
|
-
parameters: {
|
|
26
|
-
docs: {
|
|
27
|
-
story: {
|
|
28
|
-
inline: boolean;
|
|
29
|
-
iframeHeight: number;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IHeadingProps {
|
|
3
|
-
label: string | number;
|
|
4
|
-
onClick?: (event: React.MouseEvent<HTMLSpanElement, MouseEvent>) => void;
|
|
5
|
-
icon?: React.ReactNode;
|
|
6
|
-
testId?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const Heading: ({ label, onClick, icon, testId, }: IHeadingProps) => React.JSX.Element;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { IMenuSection, IMenuShowAllButton } from "../menu.interface";
|
|
3
|
-
export interface IMenuLayerProps {
|
|
4
|
-
sections: IMenuSection[] | ReactNode;
|
|
5
|
-
isNested?: boolean;
|
|
6
|
-
width?: string | number;
|
|
7
|
-
closeOnOptionClick?: boolean;
|
|
8
|
-
close?: () => void;
|
|
9
|
-
tree?: any;
|
|
10
|
-
path?: any;
|
|
11
|
-
maxHeight?: string | number;
|
|
12
|
-
showAllButton?: IMenuShowAllButton;
|
|
13
|
-
testId?: string;
|
|
14
|
-
}
|
|
15
|
-
export declare const Layer: ({ sections, isNested, width, closeOnOptionClick, close, tree, path, maxHeight, showAllButton, testId, }: IMenuLayerProps) => React.JSX.Element;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IOptionProps {
|
|
3
|
-
actions?: any[];
|
|
4
|
-
label: string | number;
|
|
5
|
-
url?: string;
|
|
6
|
-
onClick?: (event: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
7
|
-
description?: string;
|
|
8
|
-
icon?: any;
|
|
9
|
-
selected?: boolean;
|
|
10
|
-
closeOnOptionClick?: boolean;
|
|
11
|
-
close?: () => void;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
inline?: boolean;
|
|
14
|
-
title?: string;
|
|
15
|
-
upload?: boolean;
|
|
16
|
-
onChange?: (files: FileList | null) => void;
|
|
17
|
-
testId?: string;
|
|
18
|
-
}
|
|
19
|
-
export declare const Option: ({ actions, label, url, onClick, description, icon, selected, closeOnOptionClick, close, disabled, inline, title, upload, onChange, testId, }: IOptionProps) => React.JSX.Element;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const parentPath: (path: string) => string;
|
|
2
|
-
export declare const childPath: (path: string, sectionIndex: number) => string;
|
|
3
|
-
export declare const closePath: (path: string) => string;
|
|
4
|
-
export declare const siblings: (tree: any, path: string) => any[];
|
|
5
|
-
export declare const registerClose: (tree: any, path: string, close: any) => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { IMenuSection } from "../menu.interface";
|
|
3
|
-
export interface ISectionProps {
|
|
4
|
-
section: IMenuSection;
|
|
5
|
-
closeOnOptionClick?: boolean;
|
|
6
|
-
close: () => void;
|
|
7
|
-
tree: any;
|
|
8
|
-
path: string;
|
|
9
|
-
maxHeight?: string | number;
|
|
10
|
-
}
|
|
11
|
-
export declare const Section: ({ section, closeOnOptionClick, close, tree, path, maxHeight, }: ISectionProps) => React.JSX.Element | null;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { IMenuProps } from "./menu.interface";
|
|
3
|
-
export declare const DropDownMenu: ({ menu, width, disabled, badgeTitle, badgeDot, loading, isNested, closeOnOptionClick, closeParent, tree, path, groupOrder, overflowContainer, maxHeight, testId, open: openProp, setOpen: setOpenProp, tooltip, error, warning, }: IMenuProps) => React.JSX.Element;
|
|
4
|
-
export declare const Menu: (props: IMenuProps) => React.JSX.Element;
|