@idea-fragments/react-components-zendesk 0.1.73 → 0.1.74

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.
@@ -0,0 +1,97 @@
1
+ import React, { FC, PropsWithChildren, ComponentType, Ref } from 'react';
2
+ import { Nullable } from 'global';
3
+ import { ValueOf } from 'utils/types';
4
+ import * as styled_components from 'styled-components';
5
+ import { FlattenSimpleInterpolation } from 'styled-components';
6
+ import * as react_jsx_runtime from 'react/jsx-runtime';
7
+
8
+ declare const Breadcrumbs: FC<PropsWithChildren<{}>>;
9
+
10
+ type PromiseFunc<T = any, Rtn = any> = (...o: T[]) => Promise<Rtn>;
11
+
12
+ declare const ALIGNMENTS: {
13
+ readonly start: "flex-start";
14
+ readonly center: "center";
15
+ readonly end: "flex-end";
16
+ };
17
+ type Alignment = ValueOf<typeof ALIGNMENTS>;
18
+
19
+ type ColorProps = {
20
+ accent?: boolean;
21
+ color?: string;
22
+ danger?: boolean;
23
+ neutral?: boolean;
24
+ primary?: boolean;
25
+ secondary?: boolean;
26
+ success?: boolean;
27
+ warning?: boolean;
28
+ };
29
+ type ContainerProps = {
30
+ _css?: CSS;
31
+ color?: string;
32
+ compact?: boolean;
33
+ fluid?: boolean;
34
+ className?: any;
35
+ };
36
+ type CSS<T = any> = FlattenSimpleInterpolation | string | T;
37
+ type CSSProp<T = any> = {
38
+ _css?: CSS<T>;
39
+ className?: string;
40
+ };
41
+
42
+ declare const BUTTON_SIZES: {
43
+ readonly SMALL: "small";
44
+ readonly LARGE: "large";
45
+ };
46
+ type ButtonSize = (typeof BUTTON_SIZES)[keyof typeof BUTTON_SIZES];
47
+ type AutoLoadable = {
48
+ autoLoadable: true;
49
+ onClick: PromiseFunc;
50
+ };
51
+ type ButtonBaseProps = PropsWithChildren<{
52
+ alignItems?: string;
53
+ alignSelf?: Alignment;
54
+ autoLoadable?: boolean;
55
+ disabled?: boolean;
56
+ flat?: boolean;
57
+ groupKey?: string;
58
+ icon?: Nullable<string | ComponentType>;
59
+ iconPosition?: "left" | "right";
60
+ iconSize?: string;
61
+ inline?: boolean;
62
+ innerAs?: string;
63
+ innerRef?: Ref<HTMLButtonElement>;
64
+ loading?: boolean;
65
+ pill?: boolean;
66
+ primary?: boolean;
67
+ size?: ButtonSize;
68
+ wrapInlineText?: boolean;
69
+ onClick: () => void;
70
+ }> & CSSProp & ColorProps & ContainerProps;
71
+ type ControlledLoadable = {
72
+ loading?: boolean;
73
+ onClick: () => void;
74
+ };
75
+ type ButtonProps = (ButtonBaseProps & ControlledLoadable) | (ButtonBaseProps & AutoLoadable);
76
+
77
+ type ButtonLinkProps = {
78
+ to?: any;
79
+ href?: string;
80
+ external?: boolean;
81
+ LinkComponent?: string | ComponentType<{
82
+ className: string;
83
+ to: any;
84
+ } & any>;
85
+ onClick?: ButtonProps["onClick"];
86
+ } & Omit<ButtonProps, "onClick"> & ColorProps & ContainerProps;
87
+ declare const ButtonLink: React.ForwardRefExoticComponent<{
88
+ to?: any;
89
+ href?: string | undefined;
90
+ external?: boolean | undefined;
91
+ LinkComponent?: string | React.ComponentType<any> | undefined;
92
+ onClick?: ((() => void) & (() => void)) | ((() => void) & PromiseFunc<any, any>) | undefined;
93
+ } & Omit<ButtonProps, "onClick"> & ColorProps & ContainerProps & React.RefAttributes<any>>;
94
+
95
+ declare const InlineButtonLink: styled_components.StyledComponent<(props: any) => react_jsx_runtime.JSX.Element, styled_components.DefaultTheme, {}, never>;
96
+
97
+ export { Breadcrumbs, ButtonLink, ButtonLinkProps, InlineButtonLink };
@@ -0,0 +1,73 @@
1
+ import React, { FC, ReactNode } from 'react';
2
+ import { ValueOf } from 'utils/types';
3
+ import * as styled_components from 'styled-components';
4
+ import * as prop_types from 'prop-types';
5
+ import * as _zendeskgarden_react_notifications from '@zendeskgarden/react-notifications';
6
+
7
+ declare const INFO_PANEL_TYPES: {
8
+ readonly INFO: 0;
9
+ readonly SUCCESS: 1;
10
+ readonly WARNING: 2;
11
+ readonly DANGER: 3;
12
+ };
13
+ type InfoPanelType = ValueOf<typeof INFO_PANEL_TYPES>;
14
+ type Props$2 = {
15
+ children: ReactNode;
16
+ className?: string;
17
+ iconVerticalAlignment?: "center";
18
+ type: InfoPanelType;
19
+ };
20
+ declare let InfoPanel: FC<Props$2>;
21
+
22
+ type UserFeedbackProps = {
23
+ danger?: boolean;
24
+ info?: boolean;
25
+ success?: boolean;
26
+ warning?: boolean;
27
+ };
28
+
29
+ type Props$1 = {
30
+ body: ReactNode;
31
+ notDismissible?: boolean;
32
+ title?: string;
33
+ onClose?: () => void;
34
+ } & UserFeedbackProps;
35
+ type NotificationProps$1 = Props$1;
36
+ declare const Notification: FC<Props$1>;
37
+ declare const ToastProvider: styled_components.StyledComponent<{
38
+ ({ limit, zIndex, placementProps, children }: React.PropsWithChildren<_zendeskgarden_react_notifications.IToastProviderProps>): JSX.Element;
39
+ displayName: string;
40
+ defaultProps: {
41
+ limit: number;
42
+ };
43
+ propTypes: {
44
+ limit: prop_types.Requireable<number>;
45
+ zIndex: prop_types.Requireable<number>;
46
+ placementProps: prop_types.Requireable<object>;
47
+ };
48
+ }, styled_components.DefaultTheme, {
49
+ zIndex: 1000;
50
+ }, "zIndex">;
51
+
52
+ type NotificationProps = Omit<NotificationProps$1, "body"> & {
53
+ body?: ReactNode;
54
+ };
55
+ type Return = {
56
+ notify: (props: NotificationProps) => void;
57
+ };
58
+ declare const useToastNotifier: () => Return;
59
+
60
+ type Props = {
61
+ body: ReactNode;
62
+ notDismissible?: boolean;
63
+ noActionButton?: boolean;
64
+ showTitle?: boolean;
65
+ title?: string;
66
+ buttonText?: string;
67
+ onActionButtonClick?: () => void;
68
+ onClose?: () => void;
69
+ } & UserFeedbackProps;
70
+ type GlobalAlertProps = Props;
71
+ declare const GlobalAlert: FC<Props>;
72
+
73
+ export { GlobalAlert, GlobalAlertProps, INFO_PANEL_TYPES, InfoPanel, Notification, NotificationProps$1 as NotificationProps, ToastProvider, useToastNotifier };
@@ -0,0 +1,313 @@
1
+ import * as _zendeskgarden_react_theming from '@zendeskgarden/react-theming';
2
+ import * as styled_components from 'styled-components';
3
+ import { ThemedStyledProps, FlattenSimpleInterpolation } from 'styled-components';
4
+ import { Nullable } from 'global';
5
+ import { ValueOf } from 'utils/types';
6
+ import { PropsWithChildren, FC } from 'react';
7
+
8
+ type StyledProps<Props = {}> = ThemedStyledProps<Props, Theme>;
9
+
10
+ type FullSpectrumColors = {
11
+ 100: string;
12
+ 200: string;
13
+ 300: string;
14
+ 400: string;
15
+ 500: string;
16
+ 600: string;
17
+ 700: string;
18
+ 800: string;
19
+ };
20
+ type PartialSpectrumColors = {
21
+ 400: string;
22
+ M400: string;
23
+ 600: string;
24
+ M600: string;
25
+ };
26
+ type ContainerStyles = {
27
+ background?: string;
28
+ borderRadius?: string;
29
+ height?: string;
30
+ margin?: string;
31
+ padding?: string;
32
+ shadow?: string;
33
+ zIndex?: number;
34
+ };
35
+ type Styles = {
36
+ appBar: Required<Pick<ContainerStyles, "background" | "height" | "shadow" | "zIndex">> & {
37
+ screenPosition: "top" | "bottom";
38
+ };
39
+ border: {
40
+ color: string;
41
+ };
42
+ buttons: {
43
+ textTransform: Nullable<string>;
44
+ };
45
+ chat: {
46
+ message: {
47
+ currentUser: {
48
+ icon: {
49
+ background: string;
50
+ };
51
+ text: {
52
+ background: string;
53
+ };
54
+ };
55
+ other: {
56
+ icon: {
57
+ background: string;
58
+ };
59
+ text: {
60
+ background: string;
61
+ };
62
+ };
63
+ };
64
+ };
65
+ colorAccent: string;
66
+ colorDanger: string;
67
+ colorPrimary: string;
68
+ colorPrimaryDark: string;
69
+ colorSuccess: string;
70
+ colorTertiary: string;
71
+ colorWarning: string;
72
+ colors: {
73
+ black: string;
74
+ white: string;
75
+ product: {};
76
+ grey: FullSpectrumColors;
77
+ blue: FullSpectrumColors;
78
+ red: FullSpectrumColors;
79
+ yellow: FullSpectrumColors;
80
+ green: FullSpectrumColors;
81
+ kale: FullSpectrumColors;
82
+ fuschia: PartialSpectrumColors;
83
+ pink: PartialSpectrumColors;
84
+ crimson: PartialSpectrumColors;
85
+ orange: PartialSpectrumColors;
86
+ lemon: PartialSpectrumColors;
87
+ lime: PartialSpectrumColors;
88
+ mint: PartialSpectrumColors;
89
+ teal: PartialSpectrumColors;
90
+ azure: PartialSpectrumColors;
91
+ royal: PartialSpectrumColors;
92
+ purple: PartialSpectrumColors;
93
+ };
94
+ container: {
95
+ horizontalPadding: string;
96
+ };
97
+ drawer: {
98
+ width: string;
99
+ };
100
+ font: {
101
+ size: string;
102
+ };
103
+ footer: {
104
+ background: string;
105
+ };
106
+ infoPanel: {
107
+ background: string;
108
+ };
109
+ modal: {
110
+ backdrop: {
111
+ background: string;
112
+ };
113
+ };
114
+ nav: {
115
+ linkColor: string;
116
+ };
117
+ notifications: {
118
+ zIndex: number;
119
+ };
120
+ overlayBackground: string;
121
+ pageBackground: string;
122
+ scrollbar: {
123
+ thumbColor: string;
124
+ trackColor: string;
125
+ };
126
+ scrollbarColor: string;
127
+ section: ContainerStyles & {
128
+ body: {
129
+ padding: string;
130
+ };
131
+ header: {
132
+ padding: string;
133
+ };
134
+ };
135
+ sidebar: {
136
+ actionButton: {
137
+ borderRadius: string;
138
+ color: string;
139
+ };
140
+ background: string;
141
+ boxShadow: string;
142
+ padding: string;
143
+ width: string;
144
+ zIndex: number;
145
+ };
146
+ table: {
147
+ borderColor: string;
148
+ borderSize: string;
149
+ filterButtonIcon: Nullable<string>;
150
+ };
151
+ textColorDark: string;
152
+ textColorLight: string;
153
+ textColorOverPrimaryBg: string;
154
+ textColorPrimary: string;
155
+ textColorSecondary: string;
156
+ tooltip: {
157
+ darkBackground: string;
158
+ };
159
+ getTextColorForBackground: (p: StyledProps<{
160
+ color: string;
161
+ }>) => string;
162
+ };
163
+ type Theme = {
164
+ isDark: boolean;
165
+ styles: Styles;
166
+ };
167
+
168
+ declare const hasGoodContrast: (a: string, b: string) => boolean;
169
+ declare const fade: (c: string, amount?: number) => string;
170
+ declare const light: (c: string, amount?: number) => string;
171
+ declare const lighter: (c: string) => string;
172
+ declare const lightness: (c: string, amount?: number) => string;
173
+ declare const lightnessDelta: (c: string, delta: number) => string;
174
+ declare const veryLight: (c: string) => string;
175
+ declare const dark: (c: string, amount?: number) => string;
176
+ declare const darker: (c: string) => string;
177
+ declare const veryDark: (c: string) => string;
178
+ declare const desaturate: (c: string) => string;
179
+ declare const saturate: (c: string) => string;
180
+
181
+ declare const SPACINGS: Readonly<{
182
+ XS: ".5rem";
183
+ SM: "1rem";
184
+ MD: "1.5rem";
185
+ LG: "2rem";
186
+ XL: "2.5rem";
187
+ XXL: "3rem";
188
+ XXXL: "4rem";
189
+ XXXXL: "5rem";
190
+ }>;
191
+ declare const SPACE_DIRECTIONS: Readonly<{
192
+ DOWN: "down";
193
+ RIGHT: "right";
194
+ }>;
195
+
196
+ declare const FONT_TAGS: {
197
+ readonly DIV: "div";
198
+ readonly LABEL: "label";
199
+ readonly H1: "h1";
200
+ readonly H2: "h2";
201
+ readonly H3: "h3";
202
+ readonly H4: "h4";
203
+ readonly H5: "h5";
204
+ readonly H6: "h6";
205
+ readonly P: "p";
206
+ readonly SPAN: "span";
207
+ };
208
+ declare const FONT_SIZES: {
209
+ readonly XXS: ".8rem";
210
+ readonly XS: ".9rem";
211
+ readonly SM: "1rem";
212
+ readonly MD: "1.3rem";
213
+ readonly LG: "1.7rem";
214
+ readonly XL: "2.3rem";
215
+ readonly XXL: "3.3rem";
216
+ readonly XXXL: "4rem";
217
+ readonly XXXXL: "5rem";
218
+ readonly XXXXXL: "6rem";
219
+ };
220
+ declare const FONT_SIZES_EM: Readonly<{
221
+ XXS: string;
222
+ XS: string;
223
+ SM: string;
224
+ MD: string;
225
+ LG: string;
226
+ XL: string;
227
+ XXL: string;
228
+ XXXL: string;
229
+ XXXXL: string;
230
+ XXXXXL: string;
231
+ }>;
232
+ declare const FONT_WEIGHTS: {
233
+ readonly THIN: "100";
234
+ readonly LIGHT: "300";
235
+ readonly REGULAR: "400";
236
+ readonly MEDIUM: "500";
237
+ readonly BOLD: "700";
238
+ readonly BLACK: "800";
239
+ };
240
+ type FontSize = ValueOf<typeof FONT_SIZES>;
241
+ type FontWeight = ValueOf<typeof FONT_WEIGHTS>;
242
+ type FontTag = ValueOf<typeof FONT_TAGS>;
243
+ type TextAlignment = "center" | "left" | "right";
244
+ type CommonTextProps = {
245
+ align?: TextAlignment;
246
+ as?: FontTag;
247
+ hasSubText?: boolean;
248
+ size?: FontSize;
249
+ weight?: FontWeight;
250
+ };
251
+
252
+ type ColorProps = {
253
+ accent?: boolean;
254
+ color?: string;
255
+ danger?: boolean;
256
+ neutral?: boolean;
257
+ primary?: boolean;
258
+ secondary?: boolean;
259
+ success?: boolean;
260
+ warning?: boolean;
261
+ };
262
+ type ContainerProps = {
263
+ _css?: CSS;
264
+ color?: string;
265
+ compact?: boolean;
266
+ fluid?: boolean;
267
+ className?: any;
268
+ };
269
+ type CSS<T = any> = FlattenSimpleInterpolation | string | T;
270
+ type CSSProp<T = any> = {
271
+ _css?: CSS<T>;
272
+ className?: string;
273
+ };
274
+
275
+ declare const backgroundPrimaryWithText: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
276
+ declare const textColorForBackground: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<{
277
+ color?: string | undefined;
278
+ }, styled_components.DefaultTheme>>;
279
+ declare const textColorPrimary: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
280
+ declare const textWithColor: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<{
281
+ color: string;
282
+ inline?: boolean | undefined;
283
+ }, styled_components.DefaultTheme>>;
284
+
285
+ declare const PHONE_SIZE = 560;
286
+ declare const TABLET_SIZE = 840;
287
+ type MediaQuery = (styles: CSS) => CSS;
288
+ type MediaQueriesI = {
289
+ forPhones: MediaQuery;
290
+ forTablets: MediaQuery;
291
+ forTabletsAndUp: MediaQuery;
292
+ forLargeTabletsAndUp: MediaQuery;
293
+ forSmallComputersAndUp: MediaQuery;
294
+ forLargeComputers: MediaQuery;
295
+ };
296
+ declare const mediaQueries: (wideLayout?: boolean) => MediaQueriesI;
297
+ declare const rem: (px: number) => string;
298
+ declare const unit: (px: number) => string;
299
+ declare const remSize: (e?: HTMLElement) => number;
300
+
301
+ type Props = PropsWithChildren<{
302
+ theme: object;
303
+ }>;
304
+ declare const ThemeProvider: FC<Props>;
305
+
306
+ declare const THEMES: {
307
+ light: Theme;
308
+ light2: Theme;
309
+ dark: Theme;
310
+ __ZENDESK_DEFAULT_THEME__: _zendeskgarden_react_theming.IGardenTheme;
311
+ };
312
+
313
+ export { CSS, CSSProp, ColorProps, CommonTextProps, ContainerProps, ContainerStyles, FONT_SIZES, FONT_SIZES_EM, FONT_TAGS, FONT_WEIGHTS, FontSize, FontTag, FontWeight, MediaQueriesI, MediaQuery, PHONE_SIZE, Props, SPACE_DIRECTIONS, SPACINGS, StyledProps, Styles, TABLET_SIZE, THEMES, TextAlignment, Theme, ThemeProvider, backgroundPrimaryWithText, dark, darker, desaturate, fade, hasGoodContrast, light, lighter, lightness, lightnessDelta, mediaQueries, rem, remSize, saturate, textColorForBackground, textColorPrimary, textWithColor, unit, veryDark, veryLight };
@@ -0,0 +1,179 @@
1
+ /// <reference types="trusted-types" />
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
+ import { Nullable } from 'global';
4
+ import { PropsWithChildren, ComponentType, Ref, ReactNode } from 'react';
5
+ import { ValueOf } from 'utils/types';
6
+ import { FlattenSimpleInterpolation } from 'styled-components';
7
+ import { IItemProps } from '@zendeskgarden/react-dropdowns/dist/typings/types';
8
+
9
+ declare const ALIGNMENTS: {
10
+ readonly start: "flex-start";
11
+ readonly center: "center";
12
+ readonly end: "flex-end";
13
+ };
14
+ type Alignment = ValueOf<typeof ALIGNMENTS>;
15
+
16
+ type ColorProps = {
17
+ accent?: boolean;
18
+ color?: string;
19
+ danger?: boolean;
20
+ neutral?: boolean;
21
+ primary?: boolean;
22
+ secondary?: boolean;
23
+ success?: boolean;
24
+ warning?: boolean;
25
+ };
26
+ type ContainerProps = {
27
+ _css?: CSS;
28
+ color?: string;
29
+ compact?: boolean;
30
+ fluid?: boolean;
31
+ className?: any;
32
+ };
33
+ type CSS<T = any> = FlattenSimpleInterpolation | string | T;
34
+ type CSSProp<T = any> = {
35
+ _css?: CSS<T>;
36
+ className?: string;
37
+ };
38
+
39
+ type PromiseFunc<T = any, Rtn = any> = (...o: T[]) => Promise<Rtn>;
40
+
41
+ declare const BUTTON_SIZES: {
42
+ readonly SMALL: "small";
43
+ readonly LARGE: "large";
44
+ };
45
+ type ButtonSize = (typeof BUTTON_SIZES)[keyof typeof BUTTON_SIZES];
46
+ type AutoLoadable = {
47
+ autoLoadable: true;
48
+ onClick: PromiseFunc;
49
+ };
50
+ type ButtonBaseProps = PropsWithChildren<{
51
+ alignItems?: string;
52
+ alignSelf?: Alignment;
53
+ autoLoadable?: boolean;
54
+ disabled?: boolean;
55
+ flat?: boolean;
56
+ groupKey?: string;
57
+ icon?: Nullable<string | ComponentType>;
58
+ iconPosition?: "left" | "right";
59
+ iconSize?: string;
60
+ inline?: boolean;
61
+ innerAs?: string;
62
+ innerRef?: Ref<HTMLButtonElement>;
63
+ loading?: boolean;
64
+ pill?: boolean;
65
+ primary?: boolean;
66
+ size?: ButtonSize;
67
+ wrapInlineText?: boolean;
68
+ onClick: () => void;
69
+ }> & CSSProp & ColorProps & ContainerProps;
70
+ type ControlledLoadable = {
71
+ loading?: boolean;
72
+ onClick: () => void;
73
+ };
74
+ type ButtonProps = (ButtonBaseProps & ControlledLoadable) | (ButtonBaseProps & AutoLoadable);
75
+
76
+ type ItemProps = Omit<IItemProps, "onClick"> & {
77
+ danger?: boolean;
78
+ disabled?: boolean;
79
+ } & CSSProp;
80
+
81
+ type TableAction = {
82
+ buttonProps?: Partial<ButtonProps>;
83
+ Component?: ComponentType<PropsWithChildren<Record<string, any>>>;
84
+ componentProps?: Record<string, any>;
85
+ label: string;
86
+ notCompactable?: boolean;
87
+ onClick: () => void;
88
+ dropdownItemProps?: Partial<ItemProps>;
89
+ };
90
+ type ItemKey = number | string;
91
+ type ItemContainerStyles = string;
92
+ type ItemAction = {
93
+ action: () => void;
94
+ label: string;
95
+ };
96
+ type ItemFilterOptions = {
97
+ fieldName: string;
98
+ label: string;
99
+ } & ({
100
+ options: {
101
+ label: string;
102
+ value: string;
103
+ }[];
104
+ type: "multi-select" | "select" | "searchable-select";
105
+ } | {
106
+ options?: undefined;
107
+ type: "text";
108
+ });
109
+ type FilterState = Record<string, string | string[] | undefined>;
110
+ type Item = {
111
+ [key: string]: ReactNode;
112
+ } & {
113
+ actions?: Array<ItemAction>;
114
+ checkDisabled?: boolean;
115
+ clickDisabled?: boolean;
116
+ containerStyles?: ItemContainerStyles;
117
+ key: ItemKey;
118
+ };
119
+ type SortConfig = {
120
+ fieldName: string;
121
+ label: string;
122
+ };
123
+ type ColumnConfig = {
124
+ collapsible: boolean;
125
+ css?: CSS;
126
+ filter?: ItemFilterOptions;
127
+ flexible?: boolean;
128
+ important: boolean;
129
+ name: string;
130
+ sort?: SortConfig;
131
+ width?: string;
132
+ };
133
+ type PaginationData = {
134
+ page: number;
135
+ pageSize: number;
136
+ totalCount: number;
137
+ };
138
+ type SortDirection = "asc" | "desc" | undefined;
139
+ type SortState = Record<string, SortDirection>;
140
+ type DesktopTableV2Props = {
141
+ showStickyShadow?: boolean;
142
+ showStickyBorder?: boolean;
143
+ };
144
+ type TableProps = {
145
+ actions?: TableAction[];
146
+ checkable?: boolean;
147
+ checkedItems?: Set<ItemKey>;
148
+ columnConfigs: Array<ColumnConfig>;
149
+ desktopTableProps?: DesktopTableV2Props;
150
+ emptyState?: ReactNode;
151
+ filterState?: FilterState;
152
+ helpText?: ReactNode;
153
+ items: Array<Item>;
154
+ maxHeight?: string;
155
+ mobileListview?: boolean;
156
+ mobileListviewNodes?: ReactNode[];
157
+ onColumnSort?: (s: SortState) => void;
158
+ onFiltersChange?: (changes: FilterState) => void;
159
+ onItemChecked?: (key: ItemKey, isChecked: boolean) => void;
160
+ onItemClick?: (key: ItemKey) => void;
161
+ onItemHoverEnd?: (key: ItemKey) => void;
162
+ onItemHoverStart?: (key: ItemKey) => void;
163
+ onItemsChecked?: (rows: Set<ItemKey>) => void;
164
+ sortState?: SortState;
165
+ title?: string;
166
+ useDropdownFilters?: boolean;
167
+ useLegacyDesktopTable?: boolean;
168
+ useLegacyMobileTable?: boolean;
169
+ };
170
+ type Props = TableProps & {
171
+ className?: string;
172
+ pagination?: PaginationData;
173
+ onPageChange?: (p: number) => void;
174
+ onPageSizeChange?: (size: number) => void;
175
+ };
176
+ type FinalizedTableProps = Props;
177
+ declare let Table: ({ actions, className, desktopTableProps, onItemsChecked, onPageChange, onPageSizeChange, pagination, useLegacyDesktopTable, useLegacyMobileTable, ...props }: Props) => react_jsx_runtime.JSX.Element;
178
+
179
+ export { ColumnConfig, DesktopTableV2Props, FilterState, FinalizedTableProps, Item, ItemAction, ItemContainerStyles, ItemFilterOptions, ItemKey, PaginationData, SortConfig, SortDirection, SortState, Table, TableAction, TableProps };