@maxio-com/react-ui-components 9.8.0 → 9.8.1
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.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/typings/index.d.ts +0 -792
package/typings/index.d.ts
DELETED
|
@@ -1,792 +0,0 @@
|
|
|
1
|
-
import React$1, { ReactNode, HTMLAttributes, LiHTMLAttributes, AnchorHTMLAttributes, RefObject, FC, ElementType, InputHTMLAttributes } from 'react';
|
|
2
|
-
import { RowData, Row, Table, ExpandedState, RowSelectionState, SortingState, TableOptions } from '@tanstack/react-table';
|
|
3
|
-
export { createColumnHelper } from '@tanstack/react-table';
|
|
4
|
-
import * as _floating_ui_react_dom_interactions from '@floating-ui/react-dom-interactions';
|
|
5
|
-
import { MotionProps } from 'framer-motion';
|
|
6
|
-
import { PopoverProps as PopoverProps$1, ListBoxProps as ListBoxProps$1, ListBoxItemProps as ListBoxItemProps$1, ListBoxSectionProps as ListBoxSectionProps$1, HeaderProps } from 'react-aria-components';
|
|
7
|
-
export { DialogTrigger, Pressable } from 'react-aria-components';
|
|
8
|
-
import { ToastState, ToastQueue as ToastQueue$1 } from '@react-stately/toast';
|
|
9
|
-
import { AriaCheckboxGroupProps, AriaRadioGroupProps, AriaToggleButtonProps } from 'react-aria';
|
|
10
|
-
|
|
11
|
-
declare const ICONS: readonly ["address-card", "arrow-down", "arrow-down-left", "arrow-down-left-long", "arrow-down-long", "arrow-down-right", "arrow-down-right-long", "arrow-down-up", "arrow-left", "arrow-left-long", "arrow-left-right", "arrow-right", "arrow-right-long", "arrow-turn-down-right", "arrow-up", "arrow-up-left", "arrow-up-left-long", "arrow-up-long", "arrow-up-right", "arrow-up-right-long", "bank", "bar-chart", "briefcase", "building", "business-intelligence", "calendar", "caret-down", "caret-left", "caret-right", "caret-up", "chat", "check", "check-box", "check-box-checked", "check-box-checked-fill", "check-box-indeterminate-fill", "check-circle", "check-circle-fill", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "chevron-up-down", "circle", "circle-half-stroke-small", "circle-small-dash", "circle-small-fill", "circle-small-stroke", "clipboard", "cog", "copy-file", "credit-card", "cross", "cross-circle", "cross-circle-fill", "dashboard", "diamond-small-fill", "document", "document-blank", "dollar", "dot-circle-fill", "dot-fill", "error", "error-fill", "error-small-fill", "graph", "home", "info-circle", "info-circle-fill", "line-vertical", "list", "login", "logout", "megaphone", "menu", "menu-chevron-left", "menu-chevron-right", "notification", "notification-unread", "pen", "plus", "plus-circle", "plus-circle-fill", "question-circle", "question-circle-fill", "recently-viewed", "search", "square-small-fill", "trash", "triangle-small-fill", "user", "warning-circle", "warning-circle-fill", "dropbox", "hubspot", "sage", "oracle", "quotapath", "avalara", "pipedrive", "quickbooks", "salesforce", "xero"];
|
|
12
|
-
|
|
13
|
-
type IconVariant = (typeof ICONS)[number] | string;
|
|
14
|
-
type IconProps = {
|
|
15
|
-
className?: string;
|
|
16
|
-
size?: 'xs' | 'md' | 'lg';
|
|
17
|
-
variant: IconVariant;
|
|
18
|
-
color?: string;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
declare const Icon: ({ variant, color, className, size }: IconProps) => React$1.JSX.Element;
|
|
22
|
-
//# sourceMappingURL=Icon.d.ts.map
|
|
23
|
-
|
|
24
|
-
interface DividerListItem {
|
|
25
|
-
id: string | number;
|
|
26
|
-
type: 'divider';
|
|
27
|
-
}
|
|
28
|
-
interface ListItem {
|
|
29
|
-
type?: 'default';
|
|
30
|
-
id: string | number;
|
|
31
|
-
label: string;
|
|
32
|
-
description?: string;
|
|
33
|
-
leadingIconName?: IconVariant;
|
|
34
|
-
leadingIconClassName?: string;
|
|
35
|
-
trailingIconName?: IconVariant;
|
|
36
|
-
link: React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
37
|
-
}
|
|
38
|
-
interface ActionItemProps extends React.HTMLAttributes<HTMLAnchorElement | HTMLDivElement> {
|
|
39
|
-
item: ActionListItem;
|
|
40
|
-
isSelected: boolean;
|
|
41
|
-
truncateLabel?: boolean;
|
|
42
|
-
small?: boolean;
|
|
43
|
-
}
|
|
44
|
-
type ActionListItem = ListItem | DividerListItem;
|
|
45
|
-
interface ActionListProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
46
|
-
items: ActionListItem[];
|
|
47
|
-
isShadowed?: boolean;
|
|
48
|
-
itemProps?: Omit<ActionItemProps, 'item' | 'isSelected'>;
|
|
49
|
-
truncateLabels?: boolean;
|
|
50
|
-
small?: boolean;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
declare const ActionList: ({ items, isShadowed, itemProps, className, truncateLabels, small, ...props }: ActionListProps) => React$1.JSX.Element | null;
|
|
54
|
-
//# sourceMappingURL=ActionList.d.ts.map
|
|
55
|
-
|
|
56
|
-
type Sentiment$3 = 'info' | 'success' | 'warning' | 'danger';
|
|
57
|
-
type AlertProps = {
|
|
58
|
-
title?: string;
|
|
59
|
-
children?: string;
|
|
60
|
-
onDismiss?: () => void;
|
|
61
|
-
linkText?: string;
|
|
62
|
-
linkExternal?: boolean;
|
|
63
|
-
href?: string;
|
|
64
|
-
sentiment?: Sentiment$3;
|
|
65
|
-
className?: string;
|
|
66
|
-
display?: 'inline' | 'block';
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
declare const Alert: ({ children, title, linkText, linkExternal, href, display, sentiment, onDismiss, className, }: AlertProps) => React$1.JSX.Element | null;
|
|
70
|
-
//# sourceMappingURL=Alert.d.ts.map
|
|
71
|
-
|
|
72
|
-
interface MenuProps {
|
|
73
|
-
children: ReactNode | (({ isOpen, onClose, }: {
|
|
74
|
-
isOpen: boolean;
|
|
75
|
-
onClose: () => void;
|
|
76
|
-
}) => ReactNode);
|
|
77
|
-
}
|
|
78
|
-
declare const Menu: ({ children }: MenuProps) => React$1.JSX.Element;
|
|
79
|
-
|
|
80
|
-
interface MenuListProps {
|
|
81
|
-
items: ActionListItem[];
|
|
82
|
-
alignItemsEnd?: boolean;
|
|
83
|
-
}
|
|
84
|
-
declare const MenuList: ({ items, alignItemsEnd }: MenuListProps) => React$1.JSX.Element;
|
|
85
|
-
//# sourceMappingURL=MenuList.d.ts.map
|
|
86
|
-
|
|
87
|
-
type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'danger' | 'skeleton';
|
|
88
|
-
type ButtonSize$1 = 'sm' | 'md' | 'lg' | 'xl';
|
|
89
|
-
interface CommonButtonProps {
|
|
90
|
-
variant?: ButtonVariant;
|
|
91
|
-
size?: ButtonSize$1;
|
|
92
|
-
fullWidth?: boolean;
|
|
93
|
-
leadingElement?: React.ReactNode;
|
|
94
|
-
trailingElement?: React.ReactNode;
|
|
95
|
-
icon?: React.ReactNode;
|
|
96
|
-
}
|
|
97
|
-
interface InternalButtonProps extends CommonButtonProps, Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'value'> {
|
|
98
|
-
disabled?: boolean;
|
|
99
|
-
loading?: boolean;
|
|
100
|
-
href?: never;
|
|
101
|
-
value?: string;
|
|
102
|
-
}
|
|
103
|
-
interface InternalLinkProps extends CommonButtonProps, React.HTMLAttributes<HTMLAnchorElement> {
|
|
104
|
-
href?: string;
|
|
105
|
-
}
|
|
106
|
-
type ButtonProps = InternalButtonProps | InternalLinkProps;
|
|
107
|
-
|
|
108
|
-
type MenuButtonProps = Omit<ButtonProps, 'onClick' | 'children' | 'disabled' | 'loading' | 'icon'> & {
|
|
109
|
-
children?: React.ReactNode;
|
|
110
|
-
iconName?: IconVariant | null;
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
declare const MenuButton: ({ children, iconName, "aria-label": ariaLabel, size, variant, }: MenuButtonProps) => React$1.JSX.Element;
|
|
114
|
-
//# sourceMappingURL=MenuButton.d.ts.map
|
|
115
|
-
|
|
116
|
-
type AvatarProps = {
|
|
117
|
-
className?: string;
|
|
118
|
-
src: string;
|
|
119
|
-
alt?: string;
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
declare const Avatar: ({ className, src, alt }: AvatarProps) => React$1.JSX.Element;
|
|
123
|
-
//# sourceMappingURL=Avatar.d.ts.map
|
|
124
|
-
|
|
125
|
-
type Sentiment$2 = 'info' | 'success' | 'warning' | 'danger';
|
|
126
|
-
type BannerProps = {
|
|
127
|
-
title?: string;
|
|
128
|
-
children: string;
|
|
129
|
-
onDismiss?: () => void;
|
|
130
|
-
linkText?: string;
|
|
131
|
-
linkExternal?: boolean;
|
|
132
|
-
href?: string;
|
|
133
|
-
sentiment?: Sentiment$2;
|
|
134
|
-
className?: string;
|
|
135
|
-
display?: 'inline' | 'block';
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
declare const Banner: ({ children, title, linkText, linkExternal, href, display, sentiment, onDismiss, className, }: BannerProps) => React$1.JSX.Element | null;
|
|
139
|
-
//# sourceMappingURL=Banner.d.ts.map
|
|
140
|
-
|
|
141
|
-
type BreadcrumbsProps = HTMLAttributes<HTMLElement>;
|
|
142
|
-
type BreadcrumbsItemProps = {
|
|
143
|
-
href?: string;
|
|
144
|
-
} & LiHTMLAttributes<HTMLLIElement>;
|
|
145
|
-
|
|
146
|
-
declare const Breadcrumbs: React$1.FC<BreadcrumbsProps>;
|
|
147
|
-
//# sourceMappingURL=Breadcrumbs.d.ts.map
|
|
148
|
-
|
|
149
|
-
declare const BreadcrumbsItem: React$1.FC<BreadcrumbsItemProps>;
|
|
150
|
-
//# sourceMappingURL=BreadcrumbsItem.d.ts.map
|
|
151
|
-
|
|
152
|
-
declare const Button: (props: ButtonProps) => React$1.JSX.Element;
|
|
153
|
-
//# sourceMappingURL=Button.d.ts.map
|
|
154
|
-
|
|
155
|
-
type ButtonSize = 'sm' | 'md' | 'lg';
|
|
156
|
-
type IconButtonProps = (Omit<InternalButtonProps, 'fullWidth' | 'children'> | Omit<InternalLinkProps, 'fullWidth' | 'children'>) & {
|
|
157
|
-
'aria-label': string;
|
|
158
|
-
size?: ButtonSize;
|
|
159
|
-
};
|
|
160
|
-
|
|
161
|
-
declare const IconButton: ({ "aria-label": ariaLabel, className, ...props }: IconButtonProps) => React$1.JSX.Element;
|
|
162
|
-
//# sourceMappingURL=IconButton.d.ts.map
|
|
163
|
-
|
|
164
|
-
type TableSize = 'sm' | 'md' | 'lg';
|
|
165
|
-
type ColumnAlign = 'left' | 'right';
|
|
166
|
-
type RequiredTableOptions<TData extends RowData> = Pick<TableOptions<TData>, 'data' | 'columns'>;
|
|
167
|
-
type OptionalTableOptions<TData extends RowData> = Partial<Omit<TableOptions<TData>, 'getCoreRowModel' | 'enableExpanding'>>;
|
|
168
|
-
type DataTableProps<TData extends RowData = unknown> = {
|
|
169
|
-
size?: TableSize;
|
|
170
|
-
pattern?: boolean;
|
|
171
|
-
align?: ColumnAlign;
|
|
172
|
-
enableExpanding?: boolean | 'rowsOnly';
|
|
173
|
-
SubRowComponent?: (row: Row<TData>) => React.ReactNode;
|
|
174
|
-
isLoading?: boolean;
|
|
175
|
-
actions?: (row: Row<TData>, table: Table<TData>) => React.ReactNode;
|
|
176
|
-
onExpand?: (expanded: ExpandedState) => void;
|
|
177
|
-
onSelect?: (selected: RowSelectionState) => void;
|
|
178
|
-
onSort?: (selected: SortingState) => void;
|
|
179
|
-
} & RequiredTableOptions<TData> & OptionalTableOptions<TData>;
|
|
180
|
-
declare module '@tanstack/react-table' {
|
|
181
|
-
interface ColumnMeta<TData extends RowData, TValue> {
|
|
182
|
-
align?: ColumnAlign;
|
|
183
|
-
width?: string;
|
|
184
|
-
controls?: boolean;
|
|
185
|
-
actions?: boolean;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
declare const DataTable: <TData extends RowData>({ pattern, size, SubRowComponent, onExpand, onSelect, onSort, enableSorting, enableRowSelection, enableExpanding, columns: originalColumns, actions, ...props }: DataTableProps<TData>) => React$1.JSX.Element;
|
|
190
|
-
//# sourceMappingURL=DataTable.d.ts.map
|
|
191
|
-
|
|
192
|
-
type Variant = 'primary' | 'secondary' | 'tertiary' | 'high-contrast' | 'inverse';
|
|
193
|
-
type Size = 'xs' | 'sm' | 'md' | 'lg';
|
|
194
|
-
interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
195
|
-
className?: string;
|
|
196
|
-
children: ReactNode;
|
|
197
|
-
size?: Size;
|
|
198
|
-
disabled?: boolean;
|
|
199
|
-
icon?: IconVariant;
|
|
200
|
-
external?: boolean;
|
|
201
|
-
variant?: Variant;
|
|
202
|
-
underline?: boolean;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
declare const Link: React$1.FC<LinkProps>;
|
|
206
|
-
//# sourceMappingURL=Link.d.ts.map
|
|
207
|
-
|
|
208
|
-
type LoadingSpinnerSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
209
|
-
type LoadingSpinnerProps = {
|
|
210
|
-
size?: LoadingSpinnerSize;
|
|
211
|
-
white?: boolean;
|
|
212
|
-
className?: string;
|
|
213
|
-
};
|
|
214
|
-
|
|
215
|
-
declare const LoadingSpinner: ({ size, white, className, }: LoadingSpinnerProps) => React$1.JSX.Element;
|
|
216
|
-
//# sourceMappingURL=LoadingSpinner.d.ts.map
|
|
217
|
-
|
|
218
|
-
type Alignment = 'start' | 'end';
|
|
219
|
-
type Side = 'top' | 'right' | 'bottom' | 'left';
|
|
220
|
-
type AlignedPlacement = `${Side}-${Alignment}`;
|
|
221
|
-
type Placement = Side | AlignedPlacement;
|
|
222
|
-
type Interactions = 'click' | 'hover' | 'focus' | 'dismiss';
|
|
223
|
-
type OverlayAriaRole = 'tooltip' | 'dialog' | 'alertdialog' | 'menu' | 'listbox' | 'grid' | 'tree';
|
|
224
|
-
|
|
225
|
-
type OverlayTriggerSettings = {
|
|
226
|
-
placement?: Placement;
|
|
227
|
-
isInitiallyActive?: boolean;
|
|
228
|
-
interactions?: Interactions[];
|
|
229
|
-
floatingElementOffset?: number;
|
|
230
|
-
role: OverlayAriaRole;
|
|
231
|
-
isActive?: boolean;
|
|
232
|
-
onOverlayUpdate: (isActive: boolean) => void;
|
|
233
|
-
autoHideMs?: number;
|
|
234
|
-
};
|
|
235
|
-
declare const useOverlayTrigger: ({ placement, isActive, interactions, floatingElementOffset, onOverlayUpdate, autoHideMs, }: OverlayTriggerSettings) => {
|
|
236
|
-
isActive: boolean;
|
|
237
|
-
refs: {
|
|
238
|
-
floating: (node: HTMLElement | null) => void;
|
|
239
|
-
reference: (node: _floating_ui_react_dom_interactions.ReferenceType | null) => void;
|
|
240
|
-
};
|
|
241
|
-
floatingElementCSSPosition: {
|
|
242
|
-
position: _floating_ui_react_dom_interactions.Strategy;
|
|
243
|
-
top: number;
|
|
244
|
-
left: number;
|
|
245
|
-
};
|
|
246
|
-
getReferenceProps: (userProps?: React.HTMLProps<Element> | undefined) => Record<string, unknown>;
|
|
247
|
-
getFloatingProps: (userProps?: React.HTMLProps<HTMLElement> | undefined) => Record<string, unknown>;
|
|
248
|
-
};
|
|
249
|
-
|
|
250
|
-
declare function useHover<T extends HTMLElement = HTMLElement>(ref: RefObject<T | null>, mouseLeaveDelay?: number): boolean;
|
|
251
|
-
|
|
252
|
-
declare function useWindowSize(debounce?: number): {
|
|
253
|
-
windowWitdh: number;
|
|
254
|
-
windowHeight: number;
|
|
255
|
-
};
|
|
256
|
-
|
|
257
|
-
type OverlayTriggerProps = {
|
|
258
|
-
children: React$1.ReactNode;
|
|
259
|
-
placement?: Placement;
|
|
260
|
-
usePortal?: boolean;
|
|
261
|
-
interactions?: Interactions[];
|
|
262
|
-
renderOverlay: () => React$1.ReactNode;
|
|
263
|
-
role?: OverlayAriaRole;
|
|
264
|
-
floatingElementOffset?: number;
|
|
265
|
-
isActive?: boolean;
|
|
266
|
-
onOverlayUpdate: (isActive: boolean) => void;
|
|
267
|
-
motionSettings?: MotionProps;
|
|
268
|
-
autoHideMs?: number;
|
|
269
|
-
className?: string;
|
|
270
|
-
};
|
|
271
|
-
declare const OverlayTrigger: FC<OverlayTriggerProps>;
|
|
272
|
-
|
|
273
|
-
type PageInfo = {
|
|
274
|
-
currentPage: number;
|
|
275
|
-
itemsPerPage: number;
|
|
276
|
-
};
|
|
277
|
-
type PaginationProps = {
|
|
278
|
-
totalItems?: number;
|
|
279
|
-
currentPage?: number;
|
|
280
|
-
itemsPerPage?: number;
|
|
281
|
-
pageSizeOptions: number[];
|
|
282
|
-
size?: 'sm' | 'md' | 'lg';
|
|
283
|
-
onChange?: (pageInfo: PageInfo) => void;
|
|
284
|
-
manualPageInput?: boolean;
|
|
285
|
-
};
|
|
286
|
-
|
|
287
|
-
declare const Pagination: ({ size, onChange, totalItems, itemsPerPage: itemsPerPageProp, currentPage: currentPageProp, pageSizeOptions, manualPageInput, }: PaginationProps) => React$1.JSX.Element;
|
|
288
|
-
//# sourceMappingURL=Pagination.d.ts.map
|
|
289
|
-
|
|
290
|
-
interface PopoverProps extends Omit<PopoverProps$1, 'children'> {
|
|
291
|
-
children: ReactNode;
|
|
292
|
-
hideArrow?: boolean;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
declare const Popover: ({ className, hideArrow, children, ...props }: PopoverProps) => React$1.JSX.Element;
|
|
296
|
-
//# sourceMappingURL=Popover.d.ts.map
|
|
297
|
-
|
|
298
|
-
interface ProgressBarProps {
|
|
299
|
-
label: string;
|
|
300
|
-
helperText?: string;
|
|
301
|
-
size?: 'md' | 'lg';
|
|
302
|
-
status?: 'success' | 'error';
|
|
303
|
-
variant?: 'default' | 'inline' | 'indent';
|
|
304
|
-
value?: number;
|
|
305
|
-
maxValue?: number;
|
|
306
|
-
}
|
|
307
|
-
declare const ProgressBar: ({ label, helperText, size, variant, status, value, maxValue, }: ProgressBarProps) => React$1.JSX.Element;
|
|
308
|
-
|
|
309
|
-
interface SingleSection {
|
|
310
|
-
href?: string;
|
|
311
|
-
icon: IconVariant | null;
|
|
312
|
-
name: string;
|
|
313
|
-
key: string;
|
|
314
|
-
isCurrent?: boolean;
|
|
315
|
-
type?: 'regular';
|
|
316
|
-
}
|
|
317
|
-
interface SingleSectionWithItems extends SingleSection {
|
|
318
|
-
isOpen?: boolean;
|
|
319
|
-
items?: SingleSection[];
|
|
320
|
-
}
|
|
321
|
-
type SectionComponent = React.FC<{
|
|
322
|
-
section: SingleSectionWithItems;
|
|
323
|
-
}>;
|
|
324
|
-
interface Section extends SingleSectionWithItems {
|
|
325
|
-
Component?: SectionComponent;
|
|
326
|
-
}
|
|
327
|
-
interface SectionHeading {
|
|
328
|
-
title: string;
|
|
329
|
-
type?: 'heading';
|
|
330
|
-
}
|
|
331
|
-
type SectionGroup = (Section | SectionHeading)[];
|
|
332
|
-
interface SideNavProviderProps {
|
|
333
|
-
children: ReactNode;
|
|
334
|
-
withIcons?: boolean;
|
|
335
|
-
shouldToggleSidebar?: boolean;
|
|
336
|
-
sections: SectionGroup[];
|
|
337
|
-
collapseBreakpoint?: number;
|
|
338
|
-
topDropdownItems: SideNavTopDropdown;
|
|
339
|
-
isOpen?: boolean;
|
|
340
|
-
onChange?: (isOpen: boolean) => void;
|
|
341
|
-
}
|
|
342
|
-
interface SideNavTopDropdown {
|
|
343
|
-
mainItem: SideNavTopDropdownItem;
|
|
344
|
-
otherItems: SideNavTopDropdownItem[];
|
|
345
|
-
actions: SideNavTopDropdownItem[];
|
|
346
|
-
}
|
|
347
|
-
interface SideNavTopDropdownItem extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
348
|
-
id: string;
|
|
349
|
-
title: string;
|
|
350
|
-
icon: IconVariant;
|
|
351
|
-
iconClass?: string;
|
|
352
|
-
url: string;
|
|
353
|
-
rel?: string;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
type SideNavWrapperProps = Omit<SideNavProviderProps, 'children'>;
|
|
357
|
-
declare const SideNavWrapper: ({ withIcons, shouldToggleSidebar, topDropdownItems, sections, collapseBreakpoint, isOpen, onChange, }: SideNavWrapperProps) => React$1.JSX.Element;
|
|
358
|
-
|
|
359
|
-
type CommonTabProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
360
|
-
disabled?: boolean;
|
|
361
|
-
value?: number;
|
|
362
|
-
isCurrent?: boolean;
|
|
363
|
-
};
|
|
364
|
-
type IconTab = {
|
|
365
|
-
type: 'icon';
|
|
366
|
-
icon: ReactNode;
|
|
367
|
-
};
|
|
368
|
-
type DefaultTab = {
|
|
369
|
-
type?: 'default';
|
|
370
|
-
children: ReactNode;
|
|
371
|
-
rightIcon?: ReactNode;
|
|
372
|
-
};
|
|
373
|
-
type TabProps = CommonTabProps & (DefaultTab | IconTab);
|
|
374
|
-
|
|
375
|
-
declare const Tab: ({ disabled, value, isCurrent, ...props }: TabProps) => React$1.JSX.Element;
|
|
376
|
-
//# sourceMappingURL=Tab.d.ts.map
|
|
377
|
-
|
|
378
|
-
type TabsVariant = 'line' | 'contained';
|
|
379
|
-
interface TabsContext {
|
|
380
|
-
variant: TabsVariant;
|
|
381
|
-
withDivider: boolean;
|
|
382
|
-
onChange: (idx: number | ((prevIdx: number) => number)) => void;
|
|
383
|
-
currentIndex: number;
|
|
384
|
-
}
|
|
385
|
-
type TabsProviderProps = Omit<Partial<TabsContext>, 'currentIndex'> & {
|
|
386
|
-
children: ReactNode;
|
|
387
|
-
defaultIndex?: number;
|
|
388
|
-
index?: number;
|
|
389
|
-
};
|
|
390
|
-
|
|
391
|
-
type TabsProps = TabsProviderProps;
|
|
392
|
-
declare const Tabs: ({ children, variant, withDivider, defaultIndex, index, onChange, }: TabsProps) => React$1.JSX.Element;
|
|
393
|
-
//# sourceMappingURL=Tabs.d.ts.map
|
|
394
|
-
|
|
395
|
-
interface TabPanelProps extends React$1.HtmlHTMLAttributes<HTMLDivElement> {
|
|
396
|
-
children: ReactNode;
|
|
397
|
-
value?: number;
|
|
398
|
-
}
|
|
399
|
-
declare const TabPanel: ({ children, value, ...props }: TabPanelProps) => React$1.JSX.Element;
|
|
400
|
-
|
|
401
|
-
interface TabPanelsProps {
|
|
402
|
-
children: React$1.ReactNode;
|
|
403
|
-
}
|
|
404
|
-
declare const TabPanels: ({ children }: TabPanelsProps) => React$1.JSX.Element;
|
|
405
|
-
//# sourceMappingURL=TabPanels.d.ts.map
|
|
406
|
-
|
|
407
|
-
interface TabListProps extends React$1.HtmlHTMLAttributes<HTMLDivElement> {
|
|
408
|
-
ariaLabel: string;
|
|
409
|
-
children: ReactNode;
|
|
410
|
-
}
|
|
411
|
-
declare const TabList: ({ children, className, ariaLabel, ...props }: TabListProps) => React$1.JSX.Element;
|
|
412
|
-
//# sourceMappingURL=TabList.d.ts.map
|
|
413
|
-
|
|
414
|
-
type TagSize = 'sm';
|
|
415
|
-
type TagKind = 'primary' | 'secondary' | 'tertiary';
|
|
416
|
-
type TagSentiment = 'info' | 'success' | 'warning' | 'danger' | 'highlight';
|
|
417
|
-
type TagProps = {
|
|
418
|
-
children: React.ReactNode;
|
|
419
|
-
leadingIcon?: IconVariant;
|
|
420
|
-
trailingIcon?: IconVariant;
|
|
421
|
-
size?: TagSize;
|
|
422
|
-
sentiment?: TagSentiment;
|
|
423
|
-
kind?: TagKind;
|
|
424
|
-
};
|
|
425
|
-
|
|
426
|
-
declare const Tag: ({ children, size, sentiment, kind, leadingIcon, trailingIcon, }: TagProps) => React$1.JSX.Element;
|
|
427
|
-
//# sourceMappingURL=Tag.d.ts.map
|
|
428
|
-
|
|
429
|
-
type CardVariant = 'primary' | 'secondary';
|
|
430
|
-
type CardProps = {
|
|
431
|
-
variant?: CardVariant;
|
|
432
|
-
} & React.HTMLAttributes<HTMLDivElement>;
|
|
433
|
-
|
|
434
|
-
declare const CardHeader: {
|
|
435
|
-
({ children, className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
436
|
-
displayName: string;
|
|
437
|
-
};
|
|
438
|
-
declare const CardBody: {
|
|
439
|
-
({ children, className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
440
|
-
displayName: string;
|
|
441
|
-
};
|
|
442
|
-
declare const CardFooter: {
|
|
443
|
-
({ children, className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
444
|
-
displayName: string;
|
|
445
|
-
};
|
|
446
|
-
declare const CardRoot: {
|
|
447
|
-
({ children, className, variant, ...props }: CardProps): React$1.JSX.Element;
|
|
448
|
-
displayName: string;
|
|
449
|
-
};
|
|
450
|
-
type CardComponent = typeof CardRoot & {
|
|
451
|
-
Header: typeof CardHeader;
|
|
452
|
-
Body: typeof CardBody;
|
|
453
|
-
Footer: typeof CardFooter;
|
|
454
|
-
};
|
|
455
|
-
declare const Card: CardComponent;
|
|
456
|
-
//# sourceMappingURL=Card.d.ts.map
|
|
457
|
-
|
|
458
|
-
type TileProps = {
|
|
459
|
-
disabled?: boolean;
|
|
460
|
-
href?: string;
|
|
461
|
-
target?: 'string';
|
|
462
|
-
onClick?: () => void;
|
|
463
|
-
} & React$1.HTMLAttributes<HTMLDivElement>;
|
|
464
|
-
declare const Tile: ({ children, className, href, onClick, target, disabled, }: TileProps) => React$1.JSX.Element;
|
|
465
|
-
//# sourceMappingURL=Tile.d.ts.map
|
|
466
|
-
|
|
467
|
-
type LogoProps = {
|
|
468
|
-
className?: string;
|
|
469
|
-
variant?: 'lockup' | 'mark';
|
|
470
|
-
alt?: string;
|
|
471
|
-
size?: 'sm' | 'md';
|
|
472
|
-
};
|
|
473
|
-
|
|
474
|
-
declare const Logo: (props: LogoProps) => React$1.JSX.Element;
|
|
475
|
-
//# sourceMappingURL=Logo.d.ts.map
|
|
476
|
-
|
|
477
|
-
type Sentiment$1 = 'info' | 'success' | 'warning' | 'danger';
|
|
478
|
-
interface ToastContent extends Omit<LinkProps, 'children'> {
|
|
479
|
-
title?: string;
|
|
480
|
-
message?: string | ReactNode;
|
|
481
|
-
link?: {
|
|
482
|
-
text: string;
|
|
483
|
-
href: string;
|
|
484
|
-
};
|
|
485
|
-
sentiment?: Sentiment$1;
|
|
486
|
-
closable?: boolean;
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
type ToastProviderProps = {
|
|
490
|
-
children: (state: ToastState<ToastContent>) => any;
|
|
491
|
-
className?: string;
|
|
492
|
-
maxVisibleToasts?: number;
|
|
493
|
-
};
|
|
494
|
-
|
|
495
|
-
declare const ToastProvider: ({ children, ...props }: ToastProviderProps) => React$1.JSX.Element;
|
|
496
|
-
//# sourceMappingURL=ToastProvider.d.ts.map
|
|
497
|
-
|
|
498
|
-
type GlobalToastProviderProps = {
|
|
499
|
-
children: React.ReactNode;
|
|
500
|
-
className?: string;
|
|
501
|
-
toastQueue: ToastQueue;
|
|
502
|
-
};
|
|
503
|
-
interface ToastContextValue {
|
|
504
|
-
addToast: (toast: Omit<ToastContent, 'id'>) => string;
|
|
505
|
-
removeToast: (id: string) => void;
|
|
506
|
-
removeAllToasts: () => void;
|
|
507
|
-
state: ToastState<ToastContent>;
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
declare const GlobalToastProvider: ({ children, toastQueue, ...props }: GlobalToastProviderProps) => React$1.JSX.Element;
|
|
511
|
-
declare const useToast: () => ToastContextValue;
|
|
512
|
-
declare class ToastQueue extends ToastQueue$1<ToastContent> {
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
type ToggleProps = {
|
|
516
|
-
checked?: boolean;
|
|
517
|
-
defaultChecked?: boolean;
|
|
518
|
-
onChange?: (value: boolean, event?: React$1.ChangeEvent<HTMLInputElement> | React$1.KeyboardEvent<HTMLInputElement>) => void;
|
|
519
|
-
disabled?: boolean;
|
|
520
|
-
name?: string;
|
|
521
|
-
valueDescription?: string;
|
|
522
|
-
valueDescriptionPosition?: 'left' | 'right';
|
|
523
|
-
className?: string;
|
|
524
|
-
id?: string;
|
|
525
|
-
'aria-label'?: string;
|
|
526
|
-
};
|
|
527
|
-
declare const Toggle: ({ defaultChecked, checked, onChange, disabled, valueDescription, valueDescriptionPosition, className, name, id, ...props }: ToggleProps) => React$1.JSX.Element;
|
|
528
|
-
|
|
529
|
-
type ArrowPosition = 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right' | 'left' | 'left-top' | 'left-bottom' | 'right' | 'right-top' | 'right-bottom';
|
|
530
|
-
|
|
531
|
-
type TooltipProps = {
|
|
532
|
-
children: React$1.ReactNode;
|
|
533
|
-
size?: 'regular' | 'small';
|
|
534
|
-
arrowPosition?: ArrowPosition;
|
|
535
|
-
maxWidth?: number | 'none';
|
|
536
|
-
};
|
|
537
|
-
declare const Tooltip: FC<TooltipProps>;
|
|
538
|
-
|
|
539
|
-
type TooltipTriggerProps = {
|
|
540
|
-
children: React$1.ReactNode;
|
|
541
|
-
isVisible?: boolean;
|
|
542
|
-
onVisibilityUpdate?: (isVisible: boolean) => void;
|
|
543
|
-
renderContent: () => React$1.ReactNode;
|
|
544
|
-
floatingElementOffset?: number;
|
|
545
|
-
} & Pick<OverlayTriggerProps, 'placement' | 'interactions' | 'usePortal' | 'autoHideMs' | 'className'> & Pick<TooltipProps, 'size' | 'maxWidth'>;
|
|
546
|
-
declare const TooltipTrigger: FC<TooltipTriggerProps>;
|
|
547
|
-
|
|
548
|
-
type TopBarProps = {
|
|
549
|
-
actions: React$1.ReactNode;
|
|
550
|
-
children?: React$1.ReactNode;
|
|
551
|
-
sideNavIsClosed?: boolean;
|
|
552
|
-
openSideNav?: () => void;
|
|
553
|
-
};
|
|
554
|
-
|
|
555
|
-
declare const TopBar: ({ children, actions, sideNavIsClosed, openSideNav, }: TopBarProps) => React$1.JSX.Element;
|
|
556
|
-
|
|
557
|
-
type BaseTypographyProps = {
|
|
558
|
-
className?: string;
|
|
559
|
-
children: ReactNode;
|
|
560
|
-
};
|
|
561
|
-
|
|
562
|
-
type BodyProps = BaseTypographyProps & {
|
|
563
|
-
as?: ElementType;
|
|
564
|
-
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
565
|
-
compact?: boolean;
|
|
566
|
-
};
|
|
567
|
-
declare const Body: ({ as, children, compact, size, className, ...rest }: BodyProps) => React$1.JSX.Element;
|
|
568
|
-
|
|
569
|
-
type HeadingProps = BaseTypographyProps & {
|
|
570
|
-
size?: 'sm' | 'md' | 'lg';
|
|
571
|
-
};
|
|
572
|
-
declare const Heading: ({ children, size, className, ...rest }: HeadingProps) => React$1.JSX.Element;
|
|
573
|
-
|
|
574
|
-
type DisplayProps = BaseTypographyProps & {
|
|
575
|
-
as?: ElementType;
|
|
576
|
-
size?: 'sm' | 'md' | 'lg';
|
|
577
|
-
};
|
|
578
|
-
declare const Display: ({ as, children, size, className, ...rest }: DisplayProps) => React$1.JSX.Element;
|
|
579
|
-
|
|
580
|
-
type CodeProps = BaseTypographyProps & {
|
|
581
|
-
as?: ElementType;
|
|
582
|
-
};
|
|
583
|
-
declare const Code: ({ as, children, className, ...rest }: CodeProps) => React$1.JSX.Element;
|
|
584
|
-
|
|
585
|
-
type LabelProps = BaseTypographyProps & {
|
|
586
|
-
as?: ElementType;
|
|
587
|
-
size?: 'xs' | 'sm';
|
|
588
|
-
};
|
|
589
|
-
declare const Label: ({ as, children, size, className, ...rest }: LabelProps) => React$1.JSX.Element;
|
|
590
|
-
|
|
591
|
-
interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange'> {
|
|
592
|
-
indeterminate?: boolean;
|
|
593
|
-
error?: boolean;
|
|
594
|
-
label?: string;
|
|
595
|
-
value?: string;
|
|
596
|
-
disabled?: boolean;
|
|
597
|
-
onChange?: (selected: boolean) => void;
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
declare const Checkbox: ({ label, error, className, indeterminate, value, disabled, readOnly, defaultChecked, checked, ...props }: CheckboxProps) => React$1.JSX.Element;
|
|
601
|
-
//# sourceMappingURL=Checkbox.d.ts.map
|
|
602
|
-
|
|
603
|
-
interface CheckboxGroupProps extends Pick<AriaCheckboxGroupProps, 'aria-describedby' | 'aria-details' | 'aria-errormessage' | 'aria-label' | 'aria-labelledby' | 'onBlur' | 'onFocus' | 'onChange' | 'onFocusChange' | 'value' | 'defaultValue' | 'label'> {
|
|
604
|
-
children: ReactNode;
|
|
605
|
-
className?: string;
|
|
606
|
-
disabled?: boolean;
|
|
607
|
-
errorMessage?: string;
|
|
608
|
-
helperText?: string;
|
|
609
|
-
name: string;
|
|
610
|
-
}
|
|
611
|
-
declare const CheckboxGroup: ({ helperText, className, errorMessage, children, disabled, label, defaultValue, name, ...props }: CheckboxGroupProps) => React$1.JSX.Element;
|
|
612
|
-
|
|
613
|
-
interface RadioProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
|
|
614
|
-
label: string;
|
|
615
|
-
indent?: boolean;
|
|
616
|
-
disabled?: boolean;
|
|
617
|
-
invalid?: boolean;
|
|
618
|
-
}
|
|
619
|
-
declare const Radio: ({ indent, disabled, invalid, label, ...props }: RadioProps) => React$1.JSX.Element;
|
|
620
|
-
//# sourceMappingURL=Radio.d.ts.map
|
|
621
|
-
|
|
622
|
-
type RadioGroupProps = Pick<AriaRadioGroupProps, 'aria-describedby' | 'aria-details' | 'aria-errormessage' | 'aria-label' | 'aria-labelledby' | 'onBlur' | 'onFocus' | 'onChange' | 'onFocusChange' | 'value' | 'defaultValue'> & {
|
|
623
|
-
label?: string;
|
|
624
|
-
name: string;
|
|
625
|
-
errorMessage?: string;
|
|
626
|
-
helperText?: string;
|
|
627
|
-
children: React$1.ReactNode;
|
|
628
|
-
disabled?: boolean;
|
|
629
|
-
invalid?: boolean;
|
|
630
|
-
defaultValue?: string;
|
|
631
|
-
};
|
|
632
|
-
declare const RadioGroup: ({ children, label, errorMessage, helperText, disabled, invalid, name, defaultValue, ...props }: RadioGroupProps) => React$1.JSX.Element;
|
|
633
|
-
//# sourceMappingURL=RadioGroup.d.ts.map
|
|
634
|
-
|
|
635
|
-
interface TextInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'autoCapitalize' | 'onChange'> {
|
|
636
|
-
label?: string;
|
|
637
|
-
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
638
|
-
fullWidth?: boolean;
|
|
639
|
-
disabled?: boolean;
|
|
640
|
-
invalid?: boolean;
|
|
641
|
-
readOnly?: boolean;
|
|
642
|
-
helperText?: string;
|
|
643
|
-
errorMessage?: string;
|
|
644
|
-
leadingElement?: ReactNode;
|
|
645
|
-
trailingElement?: ReactNode;
|
|
646
|
-
onChange: (value: string) => void;
|
|
647
|
-
showErrorMessage?: boolean;
|
|
648
|
-
}
|
|
649
|
-
declare const TextInput: React$1.ForwardRefExoticComponent<TextInputProps & React$1.RefAttributes<unknown>>;
|
|
650
|
-
//# sourceMappingURL=TextInput.d.ts.map
|
|
651
|
-
|
|
652
|
-
type Option = {
|
|
653
|
-
value: string;
|
|
654
|
-
label: string;
|
|
655
|
-
disabled?: boolean;
|
|
656
|
-
};
|
|
657
|
-
interface SelectProps extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, 'size'> {
|
|
658
|
-
label?: string;
|
|
659
|
-
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
660
|
-
disabled?: boolean;
|
|
661
|
-
inline?: boolean;
|
|
662
|
-
helperText?: string;
|
|
663
|
-
errorMessage?: string;
|
|
664
|
-
options: Option[];
|
|
665
|
-
fullWidth?: boolean;
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
declare const Select: ({ options, label, size, inline, disabled, helperText, errorMessage, fullWidth, ...props }: SelectProps) => React$1.JSX.Element;
|
|
669
|
-
//# sourceMappingURL=Select.d.ts.map
|
|
670
|
-
|
|
671
|
-
type FormErrorMessageProps = React$1.HtmlHTMLAttributes<HTMLDivElement>;
|
|
672
|
-
declare const FormErrorMessage: ({ children, className, ...props }: FormErrorMessageProps) => React$1.JSX.Element;
|
|
673
|
-
//# sourceMappingURL=FormErrorMessage.d.ts.map
|
|
674
|
-
|
|
675
|
-
declare const FormHelperText: ({ children, className, ...props }: React$1.HtmlHTMLAttributes<HTMLDivElement>) => React$1.JSX.Element;
|
|
676
|
-
//# sourceMappingURL=FormHelperText.d.ts.map
|
|
677
|
-
|
|
678
|
-
type ChipProps = AriaToggleButtonProps & {
|
|
679
|
-
label: string;
|
|
680
|
-
title?: string;
|
|
681
|
-
onDismiss?: () => void;
|
|
682
|
-
dismissLabel?: string;
|
|
683
|
-
leadingIcon?: IconVariant;
|
|
684
|
-
trailingIcon?: IconVariant;
|
|
685
|
-
};
|
|
686
|
-
|
|
687
|
-
declare const Chip: ({ label, onDismiss, dismissLabel, leadingIcon, trailingIcon, title, ...props }: ChipProps) => React$1.JSX.Element;
|
|
688
|
-
//# sourceMappingURL=Chip.d.ts.map
|
|
689
|
-
|
|
690
|
-
type FlexBasisValue = 'auto' | '1/2' | '1/3' | '2/3' | '1/4' | '2/4' | '3/4' | '1/5' | '2/5' | '3/5' | '4/5' | '1/6' | '2/6' | '3/6' | '4/6' | '5/6' | '1/12' | '2/12' | '3/12' | '4/12' | '5/12' | '6/12' | '7/12' | '8/12' | '9/12' | '10/12' | '11/12' | 'full';
|
|
691
|
-
type GapValue = 0 | 'px' | 0.5 | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96;
|
|
692
|
-
type FlexProps = {
|
|
693
|
-
children?: React.ReactNode;
|
|
694
|
-
flexDirection?: 'row' | 'row-reverse' | 'col' | 'col-reverse';
|
|
695
|
-
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
696
|
-
alignItems?: 'start' | 'end' | 'center' | 'baseline' | 'stretch';
|
|
697
|
-
justifyContent?: 'normal' | 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly' | 'stretch';
|
|
698
|
-
basis?: FlexBasisValue;
|
|
699
|
-
flex?: 'initial' | 'none' | 'auto' | 1;
|
|
700
|
-
grow?: boolean;
|
|
701
|
-
shrink?: boolean;
|
|
702
|
-
gap?: GapValue;
|
|
703
|
-
gapX?: GapValue;
|
|
704
|
-
gapY?: GapValue;
|
|
705
|
-
className?: string;
|
|
706
|
-
} & React.HTMLAttributes<HTMLDivElement>;
|
|
707
|
-
|
|
708
|
-
declare const Flex: ({ basis, flex, flexDirection, wrap, grow, shrink, gap, gapX, gapY, className, children, alignItems, justifyContent, ...props }: FlexProps) => React$1.JSX.Element;
|
|
709
|
-
//# sourceMappingURL=Flex.d.ts.map
|
|
710
|
-
|
|
711
|
-
type TemplateColRowValues = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 'none' | 'subgrid';
|
|
712
|
-
type GridColVariant = TemplateColRowValues;
|
|
713
|
-
type GridRowVariant = TemplateColRowValues;
|
|
714
|
-
type AutoColRowVariant = 'auto' | 'min' | 'max' | 'fr';
|
|
715
|
-
type GridColRowStartEndSizes = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13;
|
|
716
|
-
type GridColumnRowVariant = 'auto' | 'full' | GridColRowStartEndSizes;
|
|
717
|
-
type GridColumnRowStartEndVariant = 'auto' | GridColRowStartEndSizes;
|
|
718
|
-
type GapSize = 0 | 'px' | 0.5 | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96;
|
|
719
|
-
type GapVariant = GapSize;
|
|
720
|
-
type BaseContentValues = 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly' | 'stretch';
|
|
721
|
-
type JustifyContentVariant = BaseContentValues | 'normal';
|
|
722
|
-
type BaseItemsValues = 'start' | 'end' | 'center' | 'stretch';
|
|
723
|
-
type AlignItemsVariant = BaseItemsValues | 'baseline';
|
|
724
|
-
type GridProps = {
|
|
725
|
-
children: ReactNode;
|
|
726
|
-
inline?: boolean;
|
|
727
|
-
templateColumns?: GridColVariant;
|
|
728
|
-
templateRows?: GridRowVariant;
|
|
729
|
-
column?: GridColumnRowVariant;
|
|
730
|
-
columnStart?: GridColumnRowStartEndVariant;
|
|
731
|
-
columnEnd?: GridColumnRowStartEndVariant;
|
|
732
|
-
row?: GridColumnRowVariant;
|
|
733
|
-
rowStart?: GridColumnRowStartEndVariant;
|
|
734
|
-
rowEnd?: GridColumnRowStartEndVariant;
|
|
735
|
-
autoColumns?: AutoColRowVariant;
|
|
736
|
-
autoRows?: AutoColRowVariant;
|
|
737
|
-
gap?: GapVariant;
|
|
738
|
-
gapX?: GapVariant;
|
|
739
|
-
gapY?: GapVariant;
|
|
740
|
-
justifyContent?: JustifyContentVariant;
|
|
741
|
-
alignItems?: AlignItemsVariant;
|
|
742
|
-
} & React.HTMLAttributes<HTMLDivElement>;
|
|
743
|
-
//# sourceMappingURL=types.d.ts.map
|
|
744
|
-
|
|
745
|
-
declare const Grid: ({ children, templateColumns, templateRows, autoColumns, autoRows, inline, column, columnStart, columnEnd, row, rowStart, rowEnd, gap, gapX, gapY, className, justifyContent, alignItems, ...props }: GridProps) => React$1.JSX.Element;
|
|
746
|
-
//# sourceMappingURL=Grid.d.ts.map
|
|
747
|
-
|
|
748
|
-
type ListBoxProps<T extends object = object> = ListBoxProps$1<T>;
|
|
749
|
-
type ListBoxItemProps = ListBoxItemProps$1;
|
|
750
|
-
type ListBoxSectionProps<T extends object = object> = ListBoxSectionProps$1<T>;
|
|
751
|
-
type ListBoxHeaderProps = HeaderProps;
|
|
752
|
-
|
|
753
|
-
declare const ListBoxRoot: {
|
|
754
|
-
({ className, ...props }: ListBoxProps): React$1.JSX.Element;
|
|
755
|
-
displayName: string;
|
|
756
|
-
};
|
|
757
|
-
declare const ListBoxItem: {
|
|
758
|
-
({ className, ...props }: ListBoxItemProps): React$1.JSX.Element;
|
|
759
|
-
displayName: string;
|
|
760
|
-
};
|
|
761
|
-
declare const ListBoxSection: {
|
|
762
|
-
({ className, ...props }: ListBoxSectionProps): React$1.JSX.Element;
|
|
763
|
-
displayName: string;
|
|
764
|
-
};
|
|
765
|
-
declare const ListBoxHeader: {
|
|
766
|
-
({ className, ...props }: ListBoxHeaderProps): React$1.JSX.Element;
|
|
767
|
-
displayName: string;
|
|
768
|
-
};
|
|
769
|
-
type ListBoxComponent = typeof ListBoxRoot & {
|
|
770
|
-
Item: typeof ListBoxItem;
|
|
771
|
-
Section: typeof ListBoxSection;
|
|
772
|
-
Header: typeof ListBoxHeader;
|
|
773
|
-
};
|
|
774
|
-
declare const ListBox: ListBoxComponent;
|
|
775
|
-
|
|
776
|
-
type Sentiment = 'success' | 'danger';
|
|
777
|
-
type AuthLayoutProps = {
|
|
778
|
-
children: React.ReactNode;
|
|
779
|
-
heading: string;
|
|
780
|
-
description?: string | React.ReactNode;
|
|
781
|
-
sentiment?: Sentiment;
|
|
782
|
-
leadingElement?: React.ReactNode;
|
|
783
|
-
alert?: AlertProps;
|
|
784
|
-
footer?: React.ReactNode;
|
|
785
|
-
topAddon?: React.ReactNode;
|
|
786
|
-
};
|
|
787
|
-
|
|
788
|
-
declare const AuthLayout: ({ children, heading, description, sentiment, leadingElement, alert, topAddon, footer, }: AuthLayoutProps) => React$1.JSX.Element;
|
|
789
|
-
//# sourceMappingURL=AuthLayout.d.ts.map
|
|
790
|
-
|
|
791
|
-
export { ActionList, Alert, AuthLayout, Avatar, Banner, Body, Breadcrumbs, BreadcrumbsItem, Button, Card, Checkbox, CheckboxGroup, Chip, Code, DataTable, Display, Flex, FormErrorMessage, FormHelperText, GlobalToastProvider, Grid, Heading, Icon, IconButton, Label, Link, ListBox, LoadingSpinner, Logo, Menu, MenuButton, MenuList, OverlayTrigger, Pagination, Popover, ProgressBar, Radio, RadioGroup, Select, SideNavWrapper as SideNav, Tab, TabList, TabPanel, TabPanels, Tabs, Tag, TextInput, Tile, ToastProvider, ToastQueue, Toggle, Tooltip, TooltipTrigger, TopBar, useHover, useOverlayTrigger, useToast, useWindowSize };
|
|
792
|
-
export type { Interactions, OverlayAriaRole, Placement, PopoverProps };
|